Class GButton.toolbar


class toolbar : Gtk.toolbar Gtk.obj -> object .. end
Create bars of buttons and other widgets
GTK documentation: GtkToolbar
Inherits
val obj : Gtk.toolbar Gtk.obj
method connect : toolbar_signals
method insert_button : ?text:string ->
?tooltip:string ->
?tooltip_private:string ->
?icon:GObj.widget ->
?pos:int -> ?callback:(unit -> unit) -> unit -> button
method insert_radio_button : ?text:string ->
?tooltip:string ->
?tooltip_private:string ->
?icon:GObj.widget ->
?pos:int -> ?callback:(unit -> unit) -> unit -> 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 -> 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. ((#tool_item_o as 'a) * int) option -> unit
Since GTK 2.4
method get_item_index : 'b. (#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 -> (#tool_item_o as 'c) -> unit
Since GTK 2.4
pos : default value is -1 i.e. end of the toolbar