public override void Dispose () { if (disposed) return; disposed = true; combo.Destroy (); combo = null; RootWidget = null; Clear (); base.Dispose (); }
public override void Dispose() { if (disposed) { return; } disposed = true; combo.Destroy(); combo = null; RootWidget = null; Clear(); base.Dispose(); }
public WidgetActionBar(WidgetDesignerFrontend frontend, Stetic.Wrapper.Widget rootWidget) { this.frontend = frontend; editors = new Hashtable(); wrappers = new Hashtable(); sensitives = new Hashtable(); invisibles = new Hashtable(); toggles = new ArrayList(); IconSize = IconSize.Menu; Orientation = Orientation.Horizontal; ToolbarStyle = ToolbarStyle.BothHoriz; combo = new WidgetTreeCombo(); comboItem = new ToolItem(); comboItem.Add(combo); comboItem.ShowAll(); Insert(comboItem, -1); ShowAll(); RootWidget = rootWidget; }
public WidgetActionBar (WidgetDesignerFrontend frontend, Stetic.Wrapper.Widget rootWidget) { this.frontend = frontend; editors = new Hashtable (); wrappers = new Hashtable (); sensitives = new Hashtable (); invisibles = new Hashtable (); toggles = new ArrayList (); IconSize = IconSize.Menu; Orientation = Orientation.Horizontal; ToolbarStyle = ToolbarStyle.BothHoriz; combo = new WidgetTreeCombo (); comboItem = new ToolItem (); comboItem.Add (combo); comboItem.ShowAll (); Insert (comboItem, -1); ShowAll (); RootWidget = rootWidget; }