public override void CreateControl(ToolBarHandler handler) { Gtk.Toolbar tb = handler.Control; Control = new Gtk.SeparatorToolItem(); Control.Expand = expand; tb.Insert(Control, -1); if (tb.Visible) { Control.ShowAll(); } }
public override void CreateControl(ToolBarHandler handler) { Gtk.Toolbar tb = handler.Control; Control = new Gtk.ToolButton(Image, this.Text); Control.Clicked += button_Clicked; Control.IsImportant = true; Control.Sensitive = this.Enabled; //Control.TooltipText = this.ToolTip; //control.CanFocus = false; tb.Insert(Control, -1); if (tb.Visible) { Control.ShowAll(); } }
public override void CreateControl(ToolBarHandler handler, int index) { Gtk.Toolbar tb = handler.Control; Control = new Gtk.ToolButton(GtkImage, Text); Control.IsImportant = true; Control.Sensitive = Enabled; //Control.TooltipText = this.ToolTip; //control.CanFocus = false; tb.Insert(Control, index); if (tb.Visible) { Control.ShowAll(); } Control.Clicked += Connector.HandleClicked; }
public override void CreateControl(ToolBarHandler handler, int index) { Gtk.Toolbar tb = handler.Control; Control = new Gtk.ToggleToolButton(); Control.Active = ischecked; Control.Label = Text; //Control.TooltipText = this.ToolTip; Control.IconWidget = GtkImage; Control.Sensitive = Enabled; Control.CanFocus = false; Control.IsImportant = true; tb.Insert(Control, index); if (tb.Visible) { Control.ShowAll(); } }
public abstract void CreateControl(ToolBarHandler handler);
public override void CreateControl(ToolBarHandler handler) { Control = new Gtk.SeparatorToolItem(); Control.Expand = expand; }
public abstract void CreateControl(ToolBarHandler handler, int index);