Inheritance: Gtk.Toolbar, IMenuItemContainer
Esempio n. 1
0
 internal ActionToolItem(Widget wrapper, ActionToolbar parent, ActionTreeNode node, uint itemSpacing)
     : base(node, parent, itemSpacing)
 {
     this.parentToolbar = parent;
     this.wrapper = wrapper;
     CreateControls ();
 }
Esempio n. 2
0
		public static Gtk.Toolbar CreateInstance ()
		{
			ActionToolbar t = new ActionToolbar ();
			// Looks like the default size and style are set when adding the toolbar to the window,
			// so we have to explicitly get the defaults to make sure the toolbar is properly initialized 
			GetDefaults ();
			t.IconSize = defaultSize;
			t.ToolbarStyle = defaultStyle;
			return t;
		}
		internal ActionToolItem (Widget wrapper, ActionToolbar parent, ActionTreeNode node)
		: this (wrapper, parent, node, 0)
		{
		}
Esempio n. 4
0
 internal ActionToolItem(Widget wrapper, ActionToolbar parent, ActionTreeNode node, uint itemSpacing) : base(node, parent, itemSpacing)
 {
     this.parentToolbar = parent;
     this.wrapper       = wrapper;
     CreateControls();
 }
Esempio n. 5
0
 internal ActionToolItem(Widget wrapper, ActionToolbar parent, ActionTreeNode node)
     : this(wrapper, parent, node, 0)
 {
 }
		public static Gtk.Toolbar CreateInstance ()
		{
			ActionToolbar t = new ActionToolbar ();
			return t;
		}