Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 733

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.rpm

<!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/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::ToolButton Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1ToolButton.html">ToolButton</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::ToolButton Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::ToolButton" --><!-- doxytag: inherits="Gtk::ToolItem" -->
<p>A <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a> subclass that displays buttons. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a>.</p>

<p>Inherited by <a class="el" href="classGtk_1_1MenuToolButton.html">Gtk::MenuToolButton</a>, and <a class="el" href="classGtk_1_1ToggleToolButton.html">Gtk::ToggleToolButton</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::ToolButton:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1ToolButton__coll__graph.png" border="0" usemap="#Gtk_1_1ToolButton_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1ToolButton_coll__map" id="Gtk_1_1ToolButton_coll__map">
<area shape="rect" href="classGtk_1_1ToolItem.html" title="Gtk::ToolItem" alt="" coords="64,547,163,576"/><area shape="rect" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="79,469,148,499"/><area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="61,392,165,421"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="68,315,159,344"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such..." alt="" coords="5,237,93,267"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,160,96,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,83,171,112"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,160,227,189"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,5,164,35"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,237,237,267"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1ToolButton-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#afe18f223ac09d1fb209af5b988f4232d">~ToolButton</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkToolButton*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a451fe61a9536f6eb5e55e70ba79eaeea">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a451fe61a9536f6eb5e55e70ba79eaeea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkToolButton*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a4a54eeeeeff0a72d2d3b1cc6db6e7350">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a4a54eeeeeff0a72d2d3b1cc6db6e7350"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ac8fb76bfd4b8e3bed4776919426be413">ToolButton</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a>. <a href="#ac8fb76bfd4b8e3bed4776919426be413"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a29d91617340b3443377b3fc370b66c36">ToolButton</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp; stock_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> from a <a class="el" href="classGtk_1_1StockID.html" title="See also Gtk::BuiltinStockID.">StockID</a>. <a href="#a29d91617340b3443377b3fc370b66c36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a9038380ec0968afa70bbd524530306cb">ToolButton</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> with a label. <a href="#a9038380ec0968afa70bbd524530306cb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#af1ccb8b60b863d457eabc9906b6d7088">ToolButton</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; icon_widget, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> with an image. <a href="#af1ccb8b60b863d457eabc9906b6d7088"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a9efe83b5048f641fdd35921e72ccb2f5">set_label</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>label</em> as the label used for the tool button. <a href="#a9efe83b5048f641fdd35921e72ccb2f5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#aeb79cc4191f6a5b4ea834be51364246f">get_label</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the label used by the tool button, or <code>0</code> if the tool button doesn't have a label. <a href="#aeb79cc4191f6a5b4ea834be51364246f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a149c499f50a89eb0554af47e7fe9a97d">set_use_underline</a> (bool use_underline=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. <a href="#a149c499f50a89eb0554af47e7fe9a97d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a2d99a8bf8876840fe4047aa81ca735d5">get_use_underline</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether underscores in the label property are used as mnemonics on menu items on the overflow menu. <a href="#a2d99a8bf8876840fe4047aa81ca735d5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a3b236df95154efee1396035b623fa28e">set_stock_id</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp; stock_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the name of the stock item. <a href="#a3b236df95154efee1396035b623fa28e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ad7577160d891c56b1469d79c8af765e5">get_stock_id</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the stock item. <a href="#ad7577160d891c56b1469d79c8af765e5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a3c3b6b2fd0a64f9cf219bab69f12d4f9">set_icon_name</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; icon_name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the icon for the tool button from a named themed icon. <a href="#a3c3b6b2fd0a64f9cf219bab69f12d4f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#afc2a23990123a89c12d2268a9975a13f">get_icon_name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the themed icon for the tool button, see <a class="el" href="classGtk_1_1ToolButton.html#a3c3b6b2fd0a64f9cf219bab69f12d4f9" title="Sets the icon for the tool button from a named themed icon.">set_icon_name()</a>. <a href="#afc2a23990123a89c12d2268a9975a13f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ab809b19b75cee54a2fc4b904f9a591e1">set_icon_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; icon_widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>icon</em> as the widget used as icon on <em>button</em>. <a href="#ab809b19b75cee54a2fc4b904f9a591e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ae3750678c98bab7a24eaa3c5928aea6a">get_icon_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the widget used as icon widget on <em>button</em>. <a href="#ae3750678c98bab7a24eaa3c5928aea6a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a1cb89d34809c740a57f26c5b54881b9f">get_icon_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the widget used as icon widget on <em>button</em>. <a href="#a1cb89d34809c740a57f26c5b54881b9f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#aaadad39193ddfe3f23524ae889c8b9ad">set_label_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; label_widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>label_widget</em> as the widget that will be used as the label for <em>button</em>. <a href="#aaadad39193ddfe3f23524ae889c8b9ad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a9f23282892f0030fb5751c81a454a185">get_label_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the widget used as label on <em>button</em>. <a href="#a9f23282892f0030fb5751c81a454a185"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ad7de10f30377391e0f680bc51dabca7b">get_label_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the widget used as label on <em>button</em>. <a href="#ad7de10f30377391e0f680bc51dabca7b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ae915a27bf5f180e8998b7063565a8cac">signal_clicked</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is emitted when the tool button is clicked with the mouse or activated with the keyboard. <a href="#ae915a27bf5f180e8998b7063565a8cac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a79074bc5fd26254b29aec0c1db3c94c0">property_label</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Text to show in the item. <a href="#a79074bc5fd26254b29aec0c1db3c94c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a533fb1a269ed4edaeff0bc51daf7b90a">property_label</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Text to show in the item. <a href="#a533fb1a269ed4edaeff0bc51daf7b90a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#abf128e10685694a77eddae41fdb70cdd">property_use_underline</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set. <a href="#abf128e10685694a77eddae41fdb70cdd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ab69d0b602054b327af1af710d316ac36">property_use_underline</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set. <a href="#ab69d0b602054b327af1af710d316ac36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a2b7c0f2cc33d11c2f7b2826c947e5ab8">property_label_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> to use as the item label. <a href="#a2b7c0f2cc33d11c2f7b2826c947e5ab8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a119dffab286a978e8f1d96ada9750c0b">property_label_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> to use as the item label. <a href="#a119dffab286a978e8f1d96ada9750c0b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#ab861ed50a3a364e96966cf3db60c8adb">property_stock_id</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The stock icon displayed on the item. <a href="#ab861ed50a3a364e96966cf3db60c8adb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a123caabea9980427cce3f9fb3414a941">property_stock_id</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The stock icon displayed on the item. <a href="#a123caabea9980427cce3f9fb3414a941"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#af145e00d59e9e10a6f8f037de23e435f">property_icon_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Icon widget to display in the item. <a href="#af145e00d59e9e10a6f8f037de23e435f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a1437368e64967f500a19c6e81f4eaad0">property_icon_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Icon widget to display in the item. <a href="#a1437368e64967f500a19c6e81f4eaad0"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a1a56d0f2dd67d8651b03d7c9d3b1c40b">on_clicked</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1ToolButton.html">Gtk::ToolButton</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToolButton.html#a5b2cedbe514fc9cefa5d8e325c1b2287">wrap</a> (GtkToolButton* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a5b2cedbe514fc9cefa5d8e325c1b2287"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a> subclass that displays buttons. </p>
<p>A <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> is are <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a> containing a button. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afe18f223ac09d1fb209af5b988f4232d"></a><!-- doxytag: member="Gtk::ToolButton::~ToolButton" ref="afe18f223ac09d1fb209af5b988f4232d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::ToolButton::~ToolButton </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac8fb76bfd4b8e3bed4776919426be413"></a><!-- doxytag: member="Gtk::ToolButton::ToolButton" ref="ac8fb76bfd4b8e3bed4776919426be413" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToolButton::ToolButton </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a>. </p>

</div>
</div>
<a class="anchor" id="a29d91617340b3443377b3fc370b66c36"></a><!-- doxytag: member="Gtk::ToolButton::ToolButton" ref="a29d91617340b3443377b3fc370b66c36" args="(const Gtk::StockID &amp;stock_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToolButton::ToolButton </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp;&#160;</td>
          <td class="paramname"> <em>stock_id</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> from a <a class="el" href="classGtk_1_1StockID.html" title="See also Gtk::BuiltinStockID.">StockID</a>. </p>
<p>The <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> will be created according to the <em>stock_id</em> properties.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stock_id</em>&#160;</td><td>The <a class="el" href="classGtk_1_1StockID.html" title="See also Gtk::BuiltinStockID.">StockID</a> which determines the look of the <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9038380ec0968afa70bbd524530306cb"></a><!-- doxytag: member="Gtk::ToolButton::ToolButton" ref="a9038380ec0968afa70bbd524530306cb" args="(const Glib::ustring &amp;label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToolButton::ToolButton </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>label</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> with a label. </p>
<p>The <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> will have the label <em>label</em>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The string used to display the label for this <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af1ccb8b60b863d457eabc9906b6d7088"></a><!-- doxytag: member="Gtk::ToolButton::ToolButton" ref="af1ccb8b60b863d457eabc9906b6d7088" args="(Widget &amp;icon_widget, const Glib::ustring &amp;label=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToolButton::ToolButton </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>icon_widget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>label</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> with an image. </p>
<p>The <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a> will have the label <em>label</em> and an image widget <em>icon_widget</em>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>icon_widget</em>&#160;</td><td>The widget placed as the ToolButton's icon. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The string used to display the label for this <a class="el" href="classGtk_1_1ToolButton.html" title="A Gtk::ToolItem subclass that displays buttons.">ToolButton</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="afc2a23990123a89c12d2268a9975a13f"></a><!-- doxytag: member="Gtk::ToolButton::get_icon_name" ref="afc2a23990123a89c12d2268a9975a13f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::ToolButton::get_icon_name </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the name of the themed icon for the tool button, see <a class="el" href="classGtk_1_1ToolButton.html#a3c3b6b2fd0a64f9cf219bab69f12d4f9" title="Sets the icon for the tool button from a named themed icon.">set_icon_name()</a>. </p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000045">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The icon name or <code>0</code> if the tool button has no themed icon. </dd></dl>

</div>
</div>
<a class="anchor" id="a1cb89d34809c740a57f26c5b54881b9f"></a><!-- doxytag: member="Gtk::ToolButton::get_icon_widget" ref="a1cb89d34809c740a57f26c5b54881b9f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::ToolButton::get_icon_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the widget used as icon widget on <em>button</em>. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#ab809b19b75cee54a2fc4b904f9a591e1" title="Sets icon as the widget used as icon on button.">set_icon_widget()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000267">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The widget used as icon on <em>button</em>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="ae3750678c98bab7a24eaa3c5928aea6a"></a><!-- doxytag: member="Gtk::ToolButton::get_icon_widget" ref="ae3750678c98bab7a24eaa3c5928aea6a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::ToolButton::get_icon_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the widget used as icon widget on <em>button</em>. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#ab809b19b75cee54a2fc4b904f9a591e1" title="Sets icon as the widget used as icon on button.">set_icon_widget()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000266">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The widget used as icon on <em>button</em>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="aeb79cc4191f6a5b4ea834be51364246f"></a><!-- doxytag: member="Gtk::ToolButton::get_label" ref="aeb79cc4191f6a5b4ea834be51364246f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::ToolButton::get_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the label used by the tool button, or <code>0</code> if the tool button doesn't have a label. </p>
<p>or uses a the label from a stock item. The returned string is owned by GTK+, and must not be modified or freed.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000260">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The label, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="ad7de10f30377391e0f680bc51dabca7b"></a><!-- doxytag: member="Gtk::ToolButton::get_label_widget" ref="ad7de10f30377391e0f680bc51dabca7b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::ToolButton::get_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the widget used as label on <em>button</em>. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#aaadad39193ddfe3f23524ae889c8b9ad" title="Sets label_widget as the widget that will be used as the label for button.">set_label_widget()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000270">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The widget used as label on <em>button</em>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a9f23282892f0030fb5751c81a454a185"></a><!-- doxytag: member="Gtk::ToolButton::get_label_widget" ref="a9f23282892f0030fb5751c81a454a185" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::ToolButton::get_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the widget used as label on <em>button</em>. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#aaadad39193ddfe3f23524ae889c8b9ad" title="Sets label_widget as the widget that will be used as the label for button.">set_label_widget()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000269">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The widget used as label on <em>button</em>, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="ad7577160d891c56b1469d79c8af765e5"></a><!-- doxytag: member="Gtk::ToolButton::get_stock_id" ref="ad7577160d891c56b1469d79c8af765e5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::ToolButton::get_stock_id </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the name of the stock item. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#a3b236df95154efee1396035b623fa28e" title="Sets the name of the stock item.">set_stock_id()</a>. The returned string is owned by GTK+ and must not be freed or modifed.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000264">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The name of the stock item for <em>button</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a2d99a8bf8876840fe4047aa81ca735d5"></a><!-- doxytag: member="Gtk::ToolButton::get_use_underline" ref="a2d99a8bf8876840fe4047aa81ca735d5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::ToolButton::get_use_underline </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether underscores in the label property are used as mnemonics on menu items on the overflow menu. </p>
<p>See <a class="el" href="classGtk_1_1ToolButton.html#a149c499f50a89eb0554af47e7fe9a97d" title="If set, an underline in the label property indicates that the next character should...">set_use_underline()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000262">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if underscores in the label property are used as mnemonics on menu items on the overflow menu. </dd></dl>

</div>
</div>
<a class="anchor" id="a4a54eeeeeff0a72d2d3b1cc6db6e7350"></a><!-- doxytag: member="Gtk::ToolButton::gobj" ref="a4a54eeeeeff0a72d2d3b1cc6db6e7350" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkToolButton* Gtk::ToolButton::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1ToolItem.html#a956e41fdb82ef7abc0651f26c57274dd">Gtk::ToolItem</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1MenuToolButton.html#a8f6c8dc97c8977b75b37a8160bbb8a55">Gtk::MenuToolButton</a>, <a class="el" href="classGtk_1_1RadioToolButton.html#aa0b9bd1858a09e71d8405fc188b0e4dc">Gtk::RadioToolButton</a>, and <a class="el" href="classGtk_1_1ToggleToolButton.html#a54b7be9878cfa076d1060beffd018e51">Gtk::ToggleToolButton</a>.</p>

</div>
</div>
<a class="anchor" id="a451fe61a9536f6eb5e55e70ba79eaeea"></a><!-- doxytag: member="Gtk::ToolButton::gobj" ref="a451fe61a9536f6eb5e55e70ba79eaeea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkToolButton* Gtk::ToolButton::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1ToolItem.html#a14a91aa75fdf0d7377288f407f80ef79">Gtk::ToolItem</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1MenuToolButton.html#a6d5506c273ce86a54862ba3b70758b47">Gtk::MenuToolButton</a>, <a class="el" href="classGtk_1_1RadioToolButton.html#a7508ede2d8cda64545c0c1511db8333d">Gtk::RadioToolButton</a>, and <a class="el" href="classGtk_1_1ToggleToolButton.html#a9826ae502d32b3f6ef07972172bc1296">Gtk::ToggleToolButton</a>.</p>

</div>
</div>
<a class="anchor" id="a1a56d0f2dd67d8651b03d7c9d3b1c40b"></a><!-- doxytag: member="Gtk::ToolButton::on_clicked" ref="a1a56d0f2dd67d8651b03d7c9d3b1c40b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::ToolButton::on_clicked </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1437368e64967f500a19c6e81f4eaad0"></a><!-- doxytag: member="Gtk::ToolButton::property_icon_widget" ref="a1437368e64967f500a19c6e81f4eaad0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>&gt; Gtk::ToolButton::property_icon_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Icon widget to display in the item. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="af145e00d59e9e10a6f8f037de23e435f"></a><!-- doxytag: member="Gtk::ToolButton::property_icon_widget" ref="af145e00d59e9e10a6f8f037de23e435f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>&gt; Gtk::ToolButton::property_icon_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Icon widget to display in the item. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a533fb1a269ed4edaeff0bc51daf7b90a"></a><!-- doxytag: member="Gtk::ToolButton::property_label" ref="a533fb1a269ed4edaeff0bc51daf7b90a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::ToolButton::property_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Text to show in the item. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a79074bc5fd26254b29aec0c1db3c94c0"></a><!-- doxytag: member="Gtk::ToolButton::property_label" ref="a79074bc5fd26254b29aec0c1db3c94c0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::ToolButton::property_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Text to show in the item. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a119dffab286a978e8f1d96ada9750c0b"></a><!-- doxytag: member="Gtk::ToolButton::property_label_widget" ref="a119dffab286a978e8f1d96ada9750c0b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>*&gt; Gtk::ToolButton::property_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> to use as the item label. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a2b7c0f2cc33d11c2f7b2826c947e5ab8"></a><!-- doxytag: member="Gtk::ToolButton::property_label_widget" ref="a2b7c0f2cc33d11c2f7b2826c947e5ab8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>*&gt; Gtk::ToolButton::property_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> to use as the item label. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a123caabea9980427cce3f9fb3414a941"></a><!-- doxytag: member="Gtk::ToolButton::property_stock_id" ref="a123caabea9980427cce3f9fb3414a941" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::ToolButton::property_stock_id </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The stock icon displayed on the item. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ab861ed50a3a364e96966cf3db60c8adb"></a><!-- doxytag: member="Gtk::ToolButton::property_stock_id" ref="ab861ed50a3a364e96966cf3db60c8adb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::ToolButton::property_stock_id </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The stock icon displayed on the item. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ab69d0b602054b327af1af710d316ac36"></a><!-- doxytag: member="Gtk::ToolButton::property_use_underline" ref="ab69d0b602054b327af1af710d316ac36" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gtk::ToolButton::property_use_underline </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If set. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="abf128e10685694a77eddae41fdb70cdd"></a><!-- doxytag: member="Gtk::ToolButton::property_use_underline" ref="abf128e10685694a77eddae41fdb70cdd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt; Gtk::ToolButton::property_use_underline </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If set. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a3c3b6b2fd0a64f9cf219bab69f12d4f9"></a><!-- doxytag: member="Gtk::ToolButton::set_icon_name" ref="a3c3b6b2fd0a64f9cf219bab69f12d4f9" args="(const Glib::ustring &amp;icon_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_icon_name </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>icon_name</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the icon for the tool button from a named themed icon. </p>
<p>See the docs for <a class="el" href="classGtk_1_1IconTheme.html">Gtk::IconTheme</a> for more details. The "icon_name" property only has an effect if not overridden by non-<code>0</code> "label", "icon_widget" and "stock_id" properties.</p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000044">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>icon_name</em>&#160;</td><td>The name of the themed icon. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab809b19b75cee54a2fc4b904f9a591e1"></a><!-- doxytag: member="Gtk::ToolButton::set_icon_widget" ref="ab809b19b75cee54a2fc4b904f9a591e1" args="(Widget &amp;icon_widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_icon_widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>icon_widget</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>icon</em> as the widget used as icon on <em>button</em>. </p>
<p>If <em>icon_widget</em> is <code>0</code> the icon is determined by the "stock_id" property. If the "stock_id" property is also <code>0</code>, <em>button</em> will not have an icon.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000265">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>icon_widget</em>&#160;</td><td>The widget used as icon, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9efe83b5048f641fdd35921e72ccb2f5"></a><!-- doxytag: member="Gtk::ToolButton::set_label" ref="a9efe83b5048f641fdd35921e72ccb2f5" args="(const Glib::ustring &amp;label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_label </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>label</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>label</em> as the label used for the tool button. </p>
<p>The "label" property only has an effect if not overridden by a non-<code>0</code> "label_widget" property. If both the "label_widget" and "label" properties are <code>0</code>, the label is determined by the "stock_id" property. If the "stock_id" property is also <code>0</code>, <em>button</em> will not have a label.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000259">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>A string that will be used as label, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaadad39193ddfe3f23524ae889c8b9ad"></a><!-- doxytag: member="Gtk::ToolButton::set_label_widget" ref="aaadad39193ddfe3f23524ae889c8b9ad" args="(Widget &amp;label_widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_label_widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>label_widget</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>label_widget</em> as the widget that will be used as the label for <em>button</em>. </p>
<p>If <em>label_widget</em> is <code>0</code> the "label" property is used as label. If "label" is also <code>0</code>, the label in the stock item determined by the "stock_id" property is used as label. If "stock_id" is also <code>0</code>, <em>button</em> does not have a label.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000268">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>label_widget</em>&#160;</td><td>The widget used as label, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3b236df95154efee1396035b623fa28e"></a><!-- doxytag: member="Gtk::ToolButton::set_stock_id" ref="a3b236df95154efee1396035b623fa28e" args="(const Gtk::StockID &amp;stock_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_stock_id </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp;&#160;</td>
          <td class="paramname"> <em>stock_id</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the name of the stock item. </p>
<p>See the ToolButton::ToolButton(const Gtk::StockID&amp; stock_id, IconSize size) constructor. The stock_id property only has an effect if not overridden by "label" and "icon_widget" properties.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000263">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stock_id</em>&#160;</td><td>A name of a stock item, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a149c499f50a89eb0554af47e7fe9a97d"></a><!-- doxytag: member="Gtk::ToolButton::set_use_underline" ref="a149c499f50a89eb0554af47e7fe9a97d" args="(bool use_underline=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToolButton::set_use_underline </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>use_underline</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. </p>
<p>For example, if the label property is "_Open" and <em>use_underline</em> is <code>true</code>, the label on the tool button will be "Open" and the item on the overflow menu will have an underlined 'O'.</p>
<p>Labels shown on tool buttons never have mnemonics on them; this property only affects the menu item on the overflow menu.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000261">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>use_underline</em>&#160;</td><td>Whether the button label has the form "_Open". </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae915a27bf5f180e8998b7063565a8cac"></a><!-- doxytag: member="Gtk::ToolButton::signal_clicked" ref="ae915a27bf5f180e8998b7063565a8cac" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::ToolButton::signal_clicked </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This signal is emitted when the tool button is clicked with the mouse or activated with the keyboard. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000066">Deprecated:</a></b></dt><dd>This is an "action" key-binding signal that you should rarely need to use.</dd></dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_clicked()</code> </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a5b2cedbe514fc9cefa5d8e325c1b2287"></a><!-- doxytag: member="Gtk::ToolButton::wrap" ref="a5b2cedbe514fc9cefa5d8e325c1b2287" args="(GtkToolButton *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1ToolButton.html">Gtk::ToolButton</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkToolButton *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/toolbutton.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:04 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>