man GButton.toolbar () - Create bars of buttons and other widgets

NAME

GButton.toolbar - Create bars of buttons and other widgets

Class

Class GButton.toolbar

Documentation

class toolbar : Gtk.toolbar Gtk.obj -> object end

Create bars of buttons and other widgets

Parameters:

""

Gtk.toolbar Gtk.obj

val obj : Gtk.toolbar Gtk.obj

method connect : GButton.toolbar_signals

method insert_button : ?text:string -> ?tooltip:string -> ?tooltip_private:string -> ?icon:GObj.widget -> ?pos:int -> ?callback:(unit -> unit) -> unit -> GButton.button

method insert_radio_button : ?text:string -> ?tooltip:string -> ?tooltip_private:string -> ?icon:GObj.widget -> ?pos:int -> ?callback:(unit -> unit) -> unit -> GButton.radio_button

method insert_space : ?pos:int -> unit -> unit

method insert_toggle_button : ?text:string -> ?tooltip:string -> ?tooltip_private:string -> ?icon:GObj.widget -> ?pos:int -> ?callback:(unit -> unit) -> unit -> GButton.toggle_button

method insert_widget : ?tooltip:string -> ?tooltip_private:string -> ?pos:int -> GObj.widget -> unit

method orientation : Gtk.Tags.orientation

method set_orientation : Gtk.Tags.orientation -> unit

method style : Gtk.Tags.toolbar_style

method set_style : Gtk.Tags.toolbar_style -> unit

method unset_style : unit -> unit

method icon_size : Gtk.Tags.icon_size

method set_icon_size : Gtk.Tags.icon_size -> unit

method unset_icon_size : unit -> unit

method get_tooltips : bool

method set_tooltips : bool -> unit

=== Extended API, available in GTK 2.4 ===

method show_arrow : bool

Since GTK 2.4

method set_show_arrow : bool -> unit

Since GTK 2.4

method relief_style : Gtk.Tags.relief_style

Since GTK 2.4

method get_drop_index : int -> int -> int

Since GTK 2.4

method set_drop_highlight_item : 'a. ((#GButton.tool_item_o as 'a) * int) option -> unit

Since GTK 2.4

method get_item_index : 'b. (#GButton.tool_item_o as 'b) -> int

Since GTK 2.4

method get_n_items : int

Since GTK 2.4

method get_nth_item : int -> [ `toolitem ] Gtk.obj

Since GTK 2.4

method insert : 'c. ?pos:int -> (#GButton.tool_item_o as 'c) -> unit

Since GTK 2.4