<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="Start" href="index.html"> <link rel="previous" href="GButton.toolbar_signals.html"> <link rel="next" href="GButton.tool_item_skel.html"> <link rel="Up" href="GButton.html"> <title>LablGTK : GButton.toolbar</title> </head> <body> <div class="navbar"><a href="GButton.toolbar_signals.html">Previous</a> <a href="GButton.html">Up</a> <a href="GButton.tool_item_skel.html">Next</a> </div> <center><h1>Class <a href="type_GButton.toolbar.html">GButton.toolbar</a></h1></center> <br> <pre><span class="keyword">class</span> <a name="TYPEtoolbar"></a>toolbar : <code class="type"><a href="Gtk.html#TYPEtoolbar">Gtk.toolbar</a> <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> </code><code class="code">object</code> <a href="GButton.toolbar.html">..</a> <code class="code">end</code></pre>Create bars of buttons and other widgets<br> <small>GTK documentation: <a href="file:///usr/share/gtk-doc/html/gtk/GtkToolbar.html">GtkToolbar</a></small><br><b>Inherits</b><ul> <li><a href="GContainer.container.html"><code class="code">GContainer.container</code></a></li> </ul> <hr width="100%"> <pre><span class="keyword">val</span> <a name="ATTobj"></a>obj : <code class="type"><a href="Gtk.html#TYPEtoolbar">Gtk.toolbar</a> <a href="Gtk.html#TYPEobj">Gtk.obj</a></code></pre><pre><span class="keyword">method</span> <a name="METHODconnect"></a>connect : <code class="type"><a href="GButton.toolbar_signals.html">toolbar_signals</a></code></pre><pre><span class="keyword">method</span> <a name="METHODinsert_button"></a>insert_button : <code class="type">?text:string -><br> ?tooltip:string -><br> ?tooltip_private:string -><br> ?icon:<a href="GObj.widget.html">GObj.widget</a> -><br> ?pos:int -> ?callback:(unit -> unit) -> unit -> <a href="GButton.button.html">button</a></code></pre><pre><span class="keyword">method</span> <a name="METHODinsert_radio_button"></a>insert_radio_button : <code class="type">?text:string -><br> ?tooltip:string -><br> ?tooltip_private:string -><br> ?icon:<a href="GObj.widget.html">GObj.widget</a> -><br> ?pos:int -> ?callback:(unit -> unit) -> unit -> <a href="GButton.radio_button.html">radio_button</a></code></pre><pre><span class="keyword">method</span> <a name="METHODinsert_space"></a>insert_space : <code class="type">?pos:int -> unit -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODinsert_toggle_button"></a>insert_toggle_button : <code class="type">?text:string -><br> ?tooltip:string -><br> ?tooltip_private:string -><br> ?icon:<a href="GObj.widget.html">GObj.widget</a> -><br> ?pos:int -> ?callback:(unit -> unit) -> unit -> <a href="GButton.toggle_button.html">toggle_button</a></code></pre><pre><span class="keyword">method</span> <a name="METHODinsert_widget"></a>insert_widget : <code class="type">?tooltip:string -> ?tooltip_private:string -> ?pos:int -> <a href="GObj.widget.html">GObj.widget</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODorientation"></a>orientation : <code class="type"><a href="Gtk.Tags.html#TYPEorientation">Gtk.Tags.orientation</a></code></pre><pre><span class="keyword">method</span> <a name="METHODset_orientation"></a>set_orientation : <code class="type"><a href="Gtk.Tags.html#TYPEorientation">Gtk.Tags.orientation</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODstyle"></a>style : <code class="type"><a href="Gtk.Tags.html#TYPEtoolbar_style">Gtk.Tags.toolbar_style</a></code></pre><pre><span class="keyword">method</span> <a name="METHODset_style"></a>set_style : <code class="type"><a href="Gtk.Tags.html#TYPEtoolbar_style">Gtk.Tags.toolbar_style</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODunset_style"></a>unset_style : <code class="type">unit -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODicon_size"></a>icon_size : <code class="type"><a href="Gtk.Tags.html#TYPEicon_size">Gtk.Tags.icon_size</a></code></pre><pre><span class="keyword">method</span> <a name="METHODset_icon_size"></a>set_icon_size : <code class="type"><a href="Gtk.Tags.html#TYPEicon_size">Gtk.Tags.icon_size</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODunset_icon_size"></a>unset_icon_size : <code class="type">unit -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODget_tooltips"></a>get_tooltips : <code class="type">bool</code></pre><pre><span class="keyword">method</span> <a name="METHODset_tooltips"></a>set_tooltips : <code class="type">bool -> unit</code></pre><a name="2_ExtendedAPIavailableinGTK24"></a> <h2>Extended API, available in GTK 2.4</h2><pre><span class="keyword">method</span> <a name="METHODshow_arrow"></a>show_arrow : <code class="type">bool</code></pre><div class="info"> <b>Since</b> GTK 2.4<br> </div> <pre><span class="keyword">method</span> <a name="METHODset_show_arrow"></a>set_show_arrow : <code class="type">bool -> unit</code></pre><div class="info"> <b>Since</b> GTK 2.4<br> </div> <pre><span class="keyword">method</span> <a name="METHODrelief_style"></a>relief_style : <code class="type"><a href="Gtk.Tags.html#TYPErelief_style">Gtk.Tags.relief_style</a></code></pre><div class="info"> <b>Since</b> GTK 2.4<br> </div> <pre><span class="keyword">method</span> <a name="METHODget_drop_index"></a>get_drop_index : <code class="type">int -> int -> int</code></pre><div class="info"> <b>Since</b> GTK 2.4<br> </div> <pre><span class="keyword">method</span> <a name="METHODset_drop_highlight_item"></a>set_drop_highlight_item : <code class="type">'a. ((#<a href="GButton.tool_item_o.html">tool_item_o</a> as 'a) * int) option -> unit</code></pre><div class="info"> <b>Since</b> GTK 2.4<br> </div> <pre><span class="keyword">method</span> <a name="METHODget_item_index"></a>get_item_index : <code class="type">'b. (#<a href="GButton.tool_item_o.html">tool_item_o</a> as 'b) -> int</code></pre><div class="info"> <b>Since</b> GTK 2.4<br> </div> <pre><span class="keyword">method</span> <a name="METHODget_n_items"></a>get_n_items : <code class="type">int</code></pre><div class="info"> <b>Since</b> GTK 2.4<br> </div> <pre><span class="keyword">method</span> <a name="METHODget_nth_item"></a>get_nth_item : <code class="type">int -> [ `toolitem ] <a href="Gtk.html#TYPEobj">Gtk.obj</a></code></pre><div class="info"> <b>Since</b> GTK 2.4<br> </div> <pre><span class="keyword">method</span> <a name="METHODinsert"></a>insert : <code class="type">'c. ?pos:int -> (#<a href="GButton.tool_item_o.html">tool_item_o</a> as 'c) -> unit</code></pre><div class="info"> <b>Since</b> GTK 2.4<br> </div> <div class="param_info"><code class="code">pos</code> : default value is <code class="code">-1</code> i.e. end of the toolbar</div> </body></html>