---
name: "GButton.toolbar"
section: "3o"
platform: "linux"
package: "liblablgtk2-ocaml-doc"
version: "2.4.0v0.2tv-8"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/GButton.toolbar"
---

# GButton.toolbar(3o)

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
