Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    GET Header Icon

    Hi how can i get the setHeaderIcon of a window.

    thanks

    #2
    Through JSNI, return the headerIcon attribute:
    Code:
    public class MyWindow extends Window {
      public native String getHeaderIcon() /*-{
        var self = this.@com.smartgwt.client.widgets.BaseWidget::getOrCreateJsObj()();
        return self.headerIcon.src;
      }-*/;
    }
    Last edited by svjard; 6 Aug 2010, 12:26.

    Comment

    Working...
    X