<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.UI.Gtk.MenuComboToolbar.Toolbar</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[ window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html");}; //]]> </script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">gtk-0.12.0: Binding to the Gtk+ graphical user interface library.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr></table><p class="caption">Graphics.UI.Gtk.MenuComboToolbar.Toolbar</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Detail </a></li><li><a href="#g:2">Class Hierarchy </a></li><li><a href="#g:3">Types </a></li><li><a href="#g:4">Constructors </a></li><li><a href="#g:5">Methods </a></li><li><a href="#g:6">Attributes </a></li><li><a href="#g:7">Child Attributes </a></li><li><a href="#g:8">Signals </a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Create bars of buttons and other widgets </p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:Toolbar">Toolbar</a> </li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Abstract-Container.html#t:ContainerClass">ContainerClass</a> o => <a href="#t:ToolbarClass">ToolbarClass</a> o </li><li class="src short"><a href="#v:castToToolbar">castToToolbar</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></li><li class="src short"><a href="#v:gTypeToolbar">gTypeToolbar</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toToolbar">toToolbar</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> o => o -> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Orientation">Orientation</a> <ul class="subs"><li>= <a href="#v:OrientationHorizontal">OrientationHorizontal</a> </li><li>| <a href="#v:OrientationVertical">OrientationVertical</a> </li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:ToolbarStyle">ToolbarStyle</a> <ul class="subs"><li>= <a href="#v:ToolbarIcons">ToolbarIcons</a> </li><li>| <a href="#v:ToolbarText">ToolbarText</a> </li><li>| <a href="#v:ToolbarBoth">ToolbarBoth</a> </li><li>| <a href="#v:ToolbarBothHoriz">ToolbarBothHoriz</a> </li></ul></li><li class="src short"><a href="#v:toolbarNew">toolbarNew</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></li><li class="src short"><a href="#v:toolbarInsertNewButton">toolbarInsertNewButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-UI-Gtk-General-StockItems.html#t:StockId">StockId</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></li><li class="src short"><a href="#v:toolbarAppendNewButton">toolbarAppendNewButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></li><li class="src short"><a href="#v:toolbarPrependNewButton">toolbarPrependNewButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></li><li class="src short"><a href="#v:toolbarInsertNewToggleButton">toolbarInsertNewToggleButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-UI-Gtk-General-StockItems.html#t:StockId">StockId</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a></li><li class="src short"><a href="#v:toolbarAppendNewToggleButton">toolbarAppendNewToggleButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a></li><li class="src short"><a href="#v:toolbarPrependNewToggleButton">toolbarPrependNewToggleButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a></li><li class="src short"><a href="#v:toolbarInsertNewRadioButton">toolbarInsertNewRadioButton</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButtonClass">RadioButtonClass</a> rb) => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-UI-Gtk-General-StockItems.html#t:StockId">StockId</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> rb -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a></li><li class="src short"><a href="#v:toolbarAppendNewRadioButton">toolbarAppendNewRadioButton</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButtonClass">RadioButtonClass</a> rb) => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> rb -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a></li><li class="src short"><a href="#v:toolbarPrependNewRadioButton">toolbarPrependNewRadioButton</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButtonClass">RadioButtonClass</a> rb) => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> rb -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a></li><li class="src short"><a href="#v:toolbarInsertNewWidget">toolbarInsertNewWidget</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> w) => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> w -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarAppendNewWidget">toolbarAppendNewWidget</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> w) => self -> w -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarPrependNewWidget">toolbarPrependNewWidget</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> w) => self -> w -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarSetOrientation">toolbarSetOrientation</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarGetOrientation">toolbarGetOrientation</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a></li><li class="src short"><a href="#v:toolbarSetStyle">toolbarSetStyle</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarGetStyle">toolbarGetStyle</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a></li><li class="src short"><a href="#v:toolbarUnsetStyle">toolbarUnsetStyle</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarSetTooltips">toolbarSetTooltips</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarGetTooltips">toolbarGetTooltips</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:IconSize">IconSize</a> <ul class="subs"><li>= <a href="#v:IconSizeInvalid">IconSizeInvalid</a> </li><li>| <a href="#v:IconSizeMenu">IconSizeMenu</a> </li><li>| <a href="#v:IconSizeSmallToolbar">IconSizeSmallToolbar</a> </li><li>| <a href="#v:IconSizeLargeToolbar">IconSizeLargeToolbar</a> </li><li>| <a href="#v:IconSizeButton">IconSizeButton</a> </li><li>| <a href="#v:IconSizeDnd">IconSizeDnd</a> </li><li>| <a href="#v:IconSizeDialog">IconSizeDialog</a> </li><li>| <a href="#v:IconSizeUser">IconSizeUser</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> </li></ul></li><li class="src short"><a href="#v:toolbarSetIconSize">toolbarSetIconSize</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:IconSize">IconSize</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarGetIconSize">toolbarGetIconSize</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:IconSize">IconSize</a></li><li class="src short"><a href="#v:toolbarInsert">toolbarInsert</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItemClass">ToolItemClass</a> item) => self -> item -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarGetItemIndex">toolbarGetItemIndex</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItemClass">ToolItemClass</a> item) => self -> item -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:toolbarGetNItems">toolbarGetNItems</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:toolbarGetNthItem">toolbarGetNthItem</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItem">ToolItem</a>)</li><li class="src short"><a href="#v:toolbarGetDropIndex">toolbarGetDropIndex</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:toolbarSetDropHighlightItem">toolbarSetDropHighlightItem</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItemClass">ToolItemClass</a> toolItem) => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> toolItem -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarSetShowArrow">toolbarSetShowArrow</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toolbarGetShowArrow">toolbarGetShowArrow</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:ReliefStyle">ReliefStyle</a> <ul class="subs"><li>= <a href="#v:ReliefNormal">ReliefNormal</a> </li><li>| <a href="#v:ReliefHalf">ReliefHalf</a> </li><li>| <a href="#v:ReliefNone">ReliefNone</a> </li></ul></li><li class="src short"><a href="#v:toolbarGetReliefStyle">toolbarGetReliefStyle</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ReliefStyle">ReliefStyle</a></li><li class="src short"><a href="#v:toolbarOrientation">toolbarOrientation</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a></li><li class="src short"><a href="#v:toolbarShowArrow">toolbarShowArrow</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:toolbarTooltips">toolbarTooltips</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:toolbarStyle">toolbarStyle</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a></li><li class="src short"><a href="#v:toolbarChildExpand">toolbarChildExpand</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> child) => child -> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:toolbarChildHomogeneous">toolbarChildHomogeneous</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> child) => child -> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:onOrientationChanged">onOrientationChanged</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:afterOrientationChanged">afterOrientationChanged</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:onStyleChanged">onStyleChanged</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:afterStyleChanged">afterStyleChanged</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:onPopupContextMenu">onPopupContextMenu</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:afterPopupContextMenu">afterPopupContextMenu</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li></ul></div><div id="interface"><h1 id="g:1">Detail </h1><div class="doc"><p>This widget underwent a signficant overhaul in gtk 2.4 and the recommended api changed substantially. The old interface is still supported but it is not recommended. </p><ul><li> The following information applies to the new interface only. </li></ul><p>A toolbar is created with a call to <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarNew">toolbarNew</a></code>. </p><p>A toolbar can contain instances of a subclass of <code><a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItem">ToolItem</a></code>. To add a <code><a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItem">ToolItem</a></code> to the a toolbar, use <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsert">toolbarInsert</a></code>. To remove an item from the toolbar use <code>containerRemove</code>. To add a button to the toolbar, add an instance of <code><a href="Graphics-UI-Gtk-MenuComboToolbar-ToolButton.html#t:ToolButton">ToolButton</a></code>. </p><p>Toolbar items can be visually grouped by adding instances of <code><a href="Graphics-UI-Gtk-MenuComboToolbar-SeparatorToolItem.html#t:SeparatorToolItem">SeparatorToolItem</a></code> to the toolbar. If a <code><a href="Graphics-UI-Gtk-MenuComboToolbar-SeparatorToolItem.html#t:SeparatorToolItem">SeparatorToolItem</a></code> has the "expand" property set to <code>True</code> and the "draw" property set to <code>False</code> the effect is to force all following items to the end of the toolbar. </p><p>Creating a context menu for the toolbar can be done using <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:onPopupContextMenu">onPopupContextMenu</a></code>. </p></div><div class="doc"><ul><li> The following information applies to the old interface only. </li></ul><p><code><a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></code>s, <code><a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a></code>s and <code><a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a></code>s can be added by refering to stock images. Their size can be changed by calling <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarSetIconSize">toolbarSetIconSize</a></code>. In contrast, normal widget cannot be added. Due to the bad interface of <a href="Toolbar.html">Toolbar</a> mnemonics of <code><a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a></code>s and <code><a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a></code>s are not honored. </p><p>All the append, insert and prepend functions use an internal function to do the actual work. In fact the interface is pretty skrewed up: To insert icons by using stock items is definitely the best practice as all other images cannot react to <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarSetIconSize">toolbarSetIconSize</a></code> and other theming actions. On the other hand <code>toolbarInsertStock</code> always generates simple <code><a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></code>s but is the only function that is able to insert <code>Mnemonic</code>s on the label. Our solution is to use <code><a href="Graphics-UI-Gtk-General-StockItems.html#t:StockItem">StockItem</a></code>s to specify all <code>Images</code> of the <code>Buttons</code>. If the user inserts <code><a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a></code>s or <code><a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a></code>s, the stock image lookup is done manually. A mnemonic in the labels is sadly not honored this way. </p></div><h1 id="g:2">Class Hierarchy </h1><div class="doc"><pre> | <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObject">GObject</a></code> | +----<code><a href="Graphics-UI-Gtk-Abstract-Object.html#t:Object">Object</a></code> | +----<code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Widget">Widget</a></code> | +----<code><a href="Graphics-UI-Gtk-Abstract-Container.html#t:Container">Container</a></code> | +----Toolbar </pre></div><h1 id="g:3">Types </h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Toolbar" class="def">Toolbar</a> <a href="src/Graphics-UI-Gtk-Types.html#Toolbar" class="link">Source</a></p><div class="subs instances"><p id="control.i:Toolbar" class="caption collapser" onclick="toggleSection('i:Toolbar')">Instances</p><div id="section.i:Toolbar" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Abstract-Container.html#t:ContainerClass">ContainerClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Abstract-Object.html#t:ObjectClass">ObjectClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Abstract-Container.html#t:ContainerClass">ContainerClass</a> o => <a name="t:ToolbarClass" class="def">ToolbarClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#ToolbarClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:ToolbarClass" class="caption collapser" onclick="toggleSection('i:ToolbarClass')">Instances</p><div id="section.i:ToolbarClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToToolbar" class="def">castToToolbar</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a><a href="src/Graphics-UI-Gtk-Types.html#castToToolbar" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypeToolbar" class="def">gTypeToolbar</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypeToolbar" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toToolbar" class="def">toToolbar</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> o => o -> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a><a href="src/Graphics-UI-Gtk-Types.html#toToolbar" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Orientation" class="def">Orientation</a> <a href="src/Graphics-UI-Gtk-General-Enums.html#Orientation" class="link">Source</a></p><div class="doc"><p>Orientation is good </p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OrientationHorizontal" class="def">OrientationHorizontal</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:OrientationVertical" class="def">OrientationVertical</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Orientation" class="caption collapser" onclick="toggleSection('i:Orientation')">Instances</p><div id="section.i:Orientation" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:ToolbarStyle" class="def">ToolbarStyle</a> <a href="src/Graphics-UI-Gtk-General-Enums.html#ToolbarStyle" class="link">Source</a></p><div class="doc"><p>Where to place the toolbar? </p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ToolbarIcons" class="def">ToolbarIcons</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:ToolbarText" class="def">ToolbarText</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:ToolbarBoth" class="def">ToolbarBoth</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:ToolbarBothHoriz" class="def">ToolbarBothHoriz</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:ToolbarStyle" class="caption collapser" onclick="toggleSection('i:ToolbarStyle')">Instances</p><div id="section.i:ToolbarStyle" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a></td><td class="doc empty"> </td></tr></table></div></div></div><h1 id="g:4">Constructors </h1><div class="top"><p class="src"><a name="v:toolbarNew" class="def">toolbarNew</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarNew" class="link">Source</a></p><div class="doc"><p>Creates a new toolbar. </p></div></div><h1 id="g:5">Methods </h1><div class="top"><p class="src"><a name="v:toolbarInsertNewButton" class="def">toolbarInsertNewButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-UI-Gtk-General-StockItems.html#t:StockId">StockId</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarInsertNewButton" class="link">Source</a></p><div class="doc"><p>Insert a new <code><a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></code> into the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>The new <code><a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></code> is created at position <code>pos</code>, counting from 0. </p><p>The icon and label for the button is referenced by <code>stockId</code> which must be a valid entry in the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>s Style or the default <code><a href="Graphics-UI-Gtk-General-IconFactory.html#t:IconFactory">IconFactory</a></code>. </p><p>If you whish to have <code><a href="Graphics-UI-Gtk-Misc-Tooltips.html#t:Tooltips">Tooltips</a></code> added to this button you can specify <code>Just (tipText, tipPrivate)</code> , otherwise specify <code>Nothing</code>. </p><p>The newly created <code><a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></code> is returned. Use this button to add an action function with <code>"connectToClicked"</code>. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarAppendNewButton" class="def">toolbarAppendNewButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarAppendNewButton" class="link">Source</a></p><div class="doc"><p>Append a new <code><a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></code> to the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsertNewButton">toolbarInsertNewButton</a></code> for details. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarPrependNewButton" class="def">toolbarPrependNewButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarPrependNewButton" class="link">Source</a></p><div class="doc"><p>Prepend a new <code><a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></code> to the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsertNewButton">toolbarInsertNewButton</a></code> for details. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarInsertNewToggleButton" class="def">toolbarInsertNewToggleButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-UI-Gtk-General-StockItems.html#t:StockId">StockId</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarInsertNewToggleButton" class="link">Source</a></p><div class="doc"><p>Insert a new <code><a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a></code> into the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsertNewButton">toolbarInsertNewButton</a></code> for details. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarAppendNewToggleButton" class="def">toolbarAppendNewToggleButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarAppendNewToggleButton" class="link">Source</a></p><div class="doc"><p>Append a new <code><a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a></code> to the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsertNewButton">toolbarInsertNewButton</a></code> for details. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarPrependNewToggleButton" class="def">toolbarPrependNewToggleButton</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarPrependNewToggleButton" class="link">Source</a></p><div class="doc"><p>Prepend a new <code><a href="Graphics-UI-Gtk-Buttons-ToggleButton.html#t:ToggleButton">ToggleButton</a></code> to the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsertNewButton">toolbarInsertNewButton</a></code> for details. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarInsertNewRadioButton" class="def">toolbarInsertNewRadioButton</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButtonClass">RadioButtonClass</a> rb) => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-UI-Gtk-General-StockItems.html#t:StockId">StockId</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> rb -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarInsertNewRadioButton" class="link">Source</a></p><div class="doc"><p>Insert a new <code><a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a></code> into the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsertNewButton">toolbarInsertNewButton</a></code> for details. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul><p>The <code>parent</code> argument must be set to another <code><a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a></code> in the group. If <code>Nothing</code> is given, a new group is generated (which is the desired behavious for the first button of a group). </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarAppendNewRadioButton" class="def">toolbarAppendNewRadioButton</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButtonClass">RadioButtonClass</a> rb) => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> rb -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarAppendNewRadioButton" class="link">Source</a></p><div class="doc"><p>Append a new <code><a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a></code> to the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsertNewButton">toolbarInsertNewButton</a></code> for details. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarPrependNewRadioButton" class="def">toolbarPrependNewRadioButton</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButtonClass">RadioButtonClass</a> rb) => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> rb -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarPrependNewRadioButton" class="link">Source</a></p><div class="doc"><p>Prepend a new <code><a href="Graphics-UI-Gtk-Buttons-RadioButton.html#t:RadioButton">RadioButton</a></code> to the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsertNewButton">toolbarInsertNewButton</a></code> for details. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarInsertNewWidget" class="def">toolbarInsertNewWidget</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> w) => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> w -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarInsertNewWidget" class="link">Source</a></p><div class="doc"><p>Insert an arbitrary widget to the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>The <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Widget">Widget</a></code> should not be a button. Adding <code><a href="Graphics-UI-Gtk-Buttons-Button.html#t:Button">Button</a></code>s with the <code>toolbarInsertButton</code>,... functions with stock objects is much better as it takes care of theme handling. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarAppendNewWidget" class="def">toolbarAppendNewWidget</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> w) => self -> w -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarAppendNewWidget" class="link">Source</a></p><div class="doc"><p>Append a new <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Widget">Widget</a></code> to the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsertNewButton">toolbarInsertNewButton</a></code> for details. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarPrependNewWidget" class="def">toolbarPrependNewWidget</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> w) => self -> w -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarPrependNewWidget" class="link">Source</a></p><div class="doc"><p>Prepend a new <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Widget">Widget</a></code> to the <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Toolbar">Toolbar</a></code>. </p><p>See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarInsertNewButton">toolbarInsertNewButton</a></code> for details. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarSetOrientation" class="def">toolbarSetOrientation</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarSetOrientation" class="link">Source</a></p><div class="doc"><p>Sets whether a toolbar should appear horizontally or vertically. </p></div></div><div class="top"><p class="src"><a name="v:toolbarGetOrientation" class="def">toolbarGetOrientation</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarGetOrientation" class="link">Source</a></p><div class="doc"><p>Retrieves the current orientation of the toolbar. See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarSetOrientation">toolbarSetOrientation</a></code>. </p></div></div><div class="top"><p class="src"><a name="v:toolbarSetStyle" class="def">toolbarSetStyle</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarSetStyle" class="link">Source</a></p><div class="doc"><p>Alters the view of the toolbar to display either icons only, text only, or both. </p></div></div><div class="top"><p class="src"><a name="v:toolbarGetStyle" class="def">toolbarGetStyle</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarGetStyle" class="link">Source</a></p><div class="doc"><p>Retrieves whether the toolbar has text, icons, or both. See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarSetStyle">toolbarSetStyle</a></code>. </p></div></div><div class="top"><p class="src"><a name="v:toolbarUnsetStyle" class="def">toolbarUnsetStyle</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarUnsetStyle" class="link">Source</a></p><div class="doc"><p>Unsets a toolbar style set with <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarSetStyle">toolbarSetStyle</a></code>, so that user preferences will be used to determine the toolbar style. </p></div></div><div class="top"><p class="src"><a name="v:toolbarSetTooltips" class="def">toolbarSetTooltips</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarSetTooltips" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>enable</code> - set to <code>False</code> to disable the tooltips, or <code>True</code> to enable them. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets if the tooltips of a toolbar should be active or not. </p></div></div><div class="top"><p class="src"><a name="v:toolbarGetTooltips" class="def">toolbarGetTooltips</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarGetTooltips" class="link">Source</a></p><div class="doc"><p>Retrieves whether tooltips are enabled. See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarSetTooltips">toolbarSetTooltips</a></code>. </p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:IconSize" class="def">IconSize</a> <a href="src/Graphics-UI-Gtk-General-Structs.html#IconSize" class="link">Source</a></p><div class="doc"><p>The size of an icon in pixels. </p><ul><li> This enumeration contains one case that is not exported and which is used when new sizes are registered using <code>Graphics.UI.Gtk.General.IconFactory.iconSizeRegister</code>. </li><li> Applying <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#v:show">show</a></code> to this type will reveal the name of the size that is registered with Gtk+. </li></ul></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:IconSizeInvalid" class="def">IconSizeInvalid</a></td><td class="doc"><p>Don't scale but use any of the available sizes. </p></td></tr><tr><td class="src"><a name="v:IconSizeMenu" class="def">IconSizeMenu</a></td><td class="doc"><p>Icon size to use in next to menu items in drop-down menus. </p></td></tr><tr><td class="src"><a name="v:IconSizeSmallToolbar" class="def">IconSizeSmallToolbar</a></td><td class="doc"><p>Icon size for small toolbars. </p></td></tr><tr><td class="src"><a name="v:IconSizeLargeToolbar" class="def">IconSizeLargeToolbar</a></td><td class="doc"><p>Icon size for larger toolbars. </p></td></tr><tr><td class="src"><a name="v:IconSizeButton" class="def">IconSizeButton</a></td><td class="doc"><p>Icon size for icons in buttons, next to the label. </p></td></tr><tr><td class="src"><a name="v:IconSizeDnd" class="def">IconSizeDnd</a></td><td class="doc"><p>Icon size for icons in drag-and-drop. </p></td></tr><tr><td class="src"><a name="v:IconSizeDialog" class="def">IconSizeDialog</a></td><td class="doc"><p>Icon size for icons next to dialog text. </p></td></tr><tr><td class="src"><a name="v:IconSizeUser" class="def">IconSizeUser</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:IconSize" class="caption collapser" onclick="toggleSection('i:IconSize')">Instances</p><div id="section.i:IconSize" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:IconSize">IconSize</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:IconSize">IconSize</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:IconSize">IconSize</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:toolbarSetIconSize" class="def">toolbarSetIconSize</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:IconSize">IconSize</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarSetIconSize" class="link">Source</a></p><div class="doc"><p>This function sets the size of stock icons in the toolbar. You can call it both before you add the icons and after they've been added. The size you set will override user preferences for the default icon size. </p><p>It might be sensible to restrict oneself to <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:IconSizeSmallToolbar">IconSizeSmallToolbar</a></code> and <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:IconSizeLargeToolbar">IconSizeLargeToolbar</a></code>. </p><ul><li> Warning: this function is deprecated and should not be used in newly-written code. </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarGetIconSize" class="def">toolbarGetIconSize</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:IconSize">IconSize</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarGetIconSize" class="link">Source</a></p><div class="doc"><p>Retrieves the icon size for the toolbar. See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarSetIconSize">toolbarSetIconSize</a></code>. </p></div></div><div class="top"><p class="src"><a name="v:toolbarInsert" class="def">toolbarInsert</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarInsert" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItemClass">ToolItemClass</a> item)</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> item</td><td class="doc"><p><code>item</code> - a <code><a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItem">ToolItem</a></code> </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>pos</code> - the position of the new item </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Insert a <code><a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItem">ToolItem</a></code> into the toolbar at position <code>pos</code>. If <code>pos</code> is 0 the item is prepended to the start of the toolbar. If <code>pos</code> is negative, the item is appended to the end of the toolbar. </p><ul><li> Available since Gtk version 2.4 </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarGetItemIndex" class="def">toolbarGetItemIndex</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarGetItemIndex" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItemClass">ToolItemClass</a> item)</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> item</td><td class="doc"><p><code>item</code> - a <code><a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItem">ToolItem</a></code> that is a child of <code>toolbar</code> </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>returns the position of item on the toolbar. </p></td></tr></table></div><div class="doc"><p>Returns the position of <code>item</code> on the toolbar, starting from 0. It is an error if <code>item</code> is not a child of the toolbar. </p><ul><li> Available since Gtk version 2.4 </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarGetNItems" class="def">toolbarGetNItems</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarGetNItems" class="link">Source</a></p><div class="doc"><p>Returns the number of items on the toolbar. </p><ul><li> Available since Gtk version 2.4 </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarGetNthItem" class="def">toolbarGetNthItem</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarGetNthItem" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>n</code> - A position on the toolbar </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItem">ToolItem</a>)</td><td class="doc"><p>returns The <code>n</code>'th <code><a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItem">ToolItem</a></code> on the toolbar, or <code>Nothing</code> if there isn't an <code>n</code>'th item. </p></td></tr></table></div><div class="doc"><p>Returns the <code>n</code>'th item on toolbar, or <code>Nothing</code> if the toolbar does not contain an <code>n</code>'th item. </p><ul><li> Available since Gtk+ version 2.4 </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarGetDropIndex" class="def">toolbarGetDropIndex</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarGetDropIndex" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a>)</td><td class="doc"><p><code>(x, y)</code> - coordinate of a point on the toolbar. Note that <code>(x, y)</code> are in toolbar coordinates, not window coordinates. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>returns The position corresponding to the point <code>(x, y)</code> on the toolbar. </p></td></tr></table></div><div class="doc"><p>Returns the position corresponding to the indicated point on toolbar. This is useful when dragging items to the toolbar: this function returns the position a new item should be inserted. </p><ul><li> Available since Gtk version 2.4 </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarSetDropHighlightItem" class="def">toolbarSetDropHighlightItem</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarSetDropHighlightItem" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItemClass">ToolItemClass</a> toolItem)</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> toolItem</td><td class="doc"><p><code>toolItem</code> - a <code><a href="Graphics-UI-Gtk-MenuComboToolbar-ToolItem.html#t:ToolItem">ToolItem</a></code>, or <code>Nothing</code> to turn of highlighting </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>index</code> - a position on the toolbar </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Highlights the toolbar to give an idea of what it would look like if <code>item</code> was added to toolbar at the position indicated by <code>index</code>. If <code>item</code> is <code>Nothing</code>, highlighting is turned off (and the index is ignored). </p><p>The <code>toolItem</code> passed to this function must not be part of any widget hierarchy. When an item is set as a drop highlight item it can not added to any widget hierarchy or used as highlight item for another toolbar. </p><ul><li> Available since Gtk version 2.4 </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarSetShowArrow" class="def">toolbarSetShowArrow</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarSetShowArrow" class="link">Source</a></p><div class="doc"><p>Sets whether to show an overflow menu when the toolbar doesn't have room for all items on it. If <code>True</code>, items that there are not room are available through an overflow menu. </p><ul><li> Available since Gtk version 2.4 </li></ul></div></div><div class="top"><p class="src"><a name="v:toolbarGetShowArrow" class="def">toolbarGetShowArrow</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarGetShowArrow" class="link">Source</a></p><div class="doc"><p>Returns whether the toolbar has an overflow menu. See <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:toolbarSetShowArrow">toolbarSetShowArrow</a></code>. </p><ul><li> Available since Gtk+ version 2.4 </li></ul></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:ReliefStyle" class="def">ReliefStyle</a> <a href="src/Graphics-UI-Gtk-General-Enums.html#ReliefStyle" class="link">Source</a></p><div class="doc"><p>I don't have a clue. </p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ReliefNormal" class="def">ReliefNormal</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:ReliefHalf" class="def">ReliefHalf</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:ReliefNone" class="def">ReliefNone</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:ReliefStyle" class="caption collapser" onclick="toggleSection('i:ReliefStyle')">Instances</p><div id="section.i:ReliefStyle" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ReliefStyle">ReliefStyle</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ReliefStyle">ReliefStyle</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ReliefStyle">ReliefStyle</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:toolbarGetReliefStyle" class="def">toolbarGetReliefStyle</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ReliefStyle">ReliefStyle</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarGetReliefStyle" class="link">Source</a></p><div class="doc"><p>Returns the relief style of buttons on the toolbar. See <code>buttonSetRelief</code>. </p><ul><li> Available since Gtk+ version 2.4 </li></ul></div></div><h1 id="g:6">Attributes </h1><div class="top"><p class="src"><a name="v:toolbarOrientation" class="def">toolbarOrientation</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarOrientation" class="link">Source</a></p><div class="doc"><p>The orientation of the toolbar. </p><p>Default value: <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:OrientationHorizontal">OrientationHorizontal</a></code> </p></div></div><div class="top"><p class="src"><a name="v:toolbarShowArrow" class="def">toolbarShowArrow</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarShowArrow" class="link">Source</a></p><div class="doc"><p>If an arrow should be shown if the toolbar doesn't fit. </p><p>Default value: <code>True</code> </p></div></div><div class="top"><p class="src"><a name="v:toolbarTooltips" class="def">toolbarTooltips</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarTooltips" class="link">Source</a></p><div class="doc"><p>If the tooltips of the toolbar should be active or not. </p><p>Default value: <code>True</code> </p></div></div><div class="top"><p class="src"><a name="v:toolbarStyle" class="def">toolbarStyle</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarStyle" class="link">Source</a></p><div class="doc"><p>How to draw the toolbar. </p><p>Default value: <code><a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#v:ToolbarIcons">ToolbarIcons</a></code> </p></div></div><h1 id="g:7">Child Attributes </h1><div class="top"><p class="src"><a name="v:toolbarChildExpand" class="def">toolbarChildExpand</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> child) => child -> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarChildExpand" class="link">Source</a></p><div class="doc"><p>Whether the item should receive extra space when the toolbar grows. </p><p>Default value: <code>True</code> </p></div></div><div class="top"><p class="src"><a name="v:toolbarChildHomogeneous" class="def">toolbarChildHomogeneous</a> :: (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> child) => child -> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#toolbarChildHomogeneous" class="link">Source</a></p><div class="doc"><p>Whether the item should be the same size as other homogeneous items. </p><p>Default value: <code>True</code> </p></div></div><h1 id="g:8">Signals </h1><div class="top"><p class="src"><a name="v:onOrientationChanged" class="def">onOrientationChanged</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#onOrientationChanged" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:afterOrientationChanged" class="def">afterOrientationChanged</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:Orientation">Orientation</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#afterOrientationChanged" class="link">Source</a></p><div class="doc"><p>Emitted when the orientation of the toolbar changes. </p></div></div><div class="top"><p class="src"><a name="v:onStyleChanged" class="def">onStyleChanged</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#onStyleChanged" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:afterStyleChanged" class="def">afterStyleChanged</a> :: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self => self -> (<a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarStyle">ToolbarStyle</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#afterStyleChanged" class="link">Source</a></p><div class="doc"><p>Emitted when the style of the toolbar changes. </p></div></div><div class="top"><p class="src"><a name="v:onPopupContextMenu" class="def">onPopupContextMenu</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#onPopupContextMenu" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>)</td><td class="doc"><p><code>(x y button -> ...)</code> - The handler should return True if the signal was handled, False if not. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:afterPopupContextMenu" class="def">afterPopupContextMenu</a><a href="src/Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#afterPopupContextMenu" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-MenuComboToolbar-Toolbar.html#t:ToolbarClass">ToolbarClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>)</td><td class="doc"><p><code>(x y button -> ...)</code> - The handler should return True if the signal was handled, False if not. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Emitted when the user right-clicks the toolbar or uses the keybinding to display a popup menu. </p><p>Application developers should handle this signal if they want to display a context menu on the toolbar. The context-menu should appear at the coordinates given by <code>x</code> and <code>y</code>. The mouse button number is given by the <code>button</code> parameter. If the menu was popped up using the keybaord, <code>button</code> is -1. </p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>