public override void Initialize(IPadWindow container) { base.Initialize(container); toolbarProvider.Attach(container.GetToolbar(Gtk.PositionType.Top)); grid.SetToolbarProvider(toolbarProvider); this.container = container; DesignerSupport.Service.SetPad(this); }
protected override void Initialize(IPadWindow container) { base.Initialize(container); toolbarProvider.Attach(container.GetToolbar(DockPositionType.Top)); propertyGrid.SetToolbarProvider(toolbarProvider); //native cocoa needs content shown to initialize stuff if (isNative) { container.PadContentShown += Window_PadContentShown; } this.container = container; DesignerSupport.Service.SetPad(this); }
public override void Initialize (IPadWindow container) { base.Initialize (container); toolbarProvider = new DockToolbarProvider (); toolbarProvider.Attach (container.GetToolbar (Gtk.PositionType.Top)); grid.SetToolbarProvider (toolbarProvider); this.container = container; }