示例#1
0
 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);
 }
示例#2
0
        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);
        }
示例#3
0
		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;
		}