<!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::Statusbar 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.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm <span id="projectnumber">2.24.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li> <li class="navelem"><a class="el" href="classGtk_1_1Statusbar.html">Statusbar</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gtk::Statusbar Class Reference<div class="ingroups"><a class="el" href="group__Widgets.html">Widgets</a></div></h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gtk::Statusbar" --><!-- doxytag: inherits="Gtk::HBox" --> <p>Text status indicator This widget is used to display status information. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gtk::Statusbar:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1Statusbar__inherit__graph.png" border="0" usemap="#Gtk_1_1Statusbar_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1Statusbar_inherit__map" id="Gtk_1_1Statusbar_inherit__map"> <area shape="rect" id="node2" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row." alt="" coords="93,547,179,576"/><area shape="rect" id="node4" href="classGtk_1_1Box.html" title="A base class for box containers." alt="" coords="99,469,173,499"/><area shape="rect" id="node6" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="79,392,193,421"/><area shape="rect" id="node8" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="89,315,183,344"/><area shape="rect" id="node10" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme..." alt="" coords="21,237,115,267"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node16" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/><area shape="rect" id="node18" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="139,237,272,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Gtk::Statusbar:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1Statusbar__coll__graph.png" border="0" usemap="#Gtk_1_1Statusbar_coll__map" alt="Collaboration graph"/></div> <map name="Gtk_1_1Statusbar_coll__map" id="Gtk_1_1Statusbar_coll__map"> <area shape="rect" id="node2" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row." alt="" coords="93,547,179,576"/><area shape="rect" id="node4" href="classGtk_1_1Box.html" title="A base class for box containers." alt="" coords="99,469,173,499"/><area shape="rect" id="node6" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="79,392,193,421"/><area shape="rect" id="node8" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="89,315,183,344"/><area shape="rect" id="node10" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme..." alt="" coords="21,237,115,267"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node16" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/><area shape="rect" id="node18" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="139,237,272,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGtk_1_1Statusbar-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a21af9404042affd53f68da35d09a7320">~Statusbar</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkStatusbar* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#ad33396939cbee540766e74ea6003a1db">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#ad33396939cbee540766e74ea6003a1db"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GtkStatusbar* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#ad184cb208df418091ccece5e6be2eabe">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#ad184cb208df418091ccece5e6be2eabe"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a53fd19badce858dee44bfd17a9a88822">Statusbar</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a3c53ebf11ed09e65898e5a806a49ce35">get_context_id</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& context_description)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a new context identifier, given a description of the actual context. <a href="#a3c53ebf11ed09e65898e5a806a49ce35"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a74854d6fefa48ff8e07d4ded53b0702f">push</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text, guint context_id=0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Pushes a new message onto a statusbar's stack. <a href="#a74854d6fefa48ff8e07d4ded53b0702f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#ad2ee39dcb2e1c146f315b3d8d436b523">pop</a> (guint context_id=0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes the first message in the Gtk::StatusBar's stack with the given context id. <a href="#ad2ee39dcb2e1c146f315b3d8d436b523"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#aed78ebcebfe28e5dfdda9552940f5b42">remove_message</a> (guint message_id, guint context_id=0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Forces the removal of a message from a statusbar's stack. <a href="#aed78ebcebfe28e5dfdda9552940f5b42"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#acde367d9775682d7ca24e1387af8d20f">remove_all_messages</a> (guint context_id=0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Forces the removal of all messages from a statusbar's stack with the exact <em>context_id</em>. <a href="#acde367d9775682d7ca24e1387af8d20f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a6a63e3ed3299563e817beec10a2bf2b0">set_has_resize_grip</a> (bool setting=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the statusbar has a resize grip. <a href="#a6a63e3ed3299563e817beec10a2bf2b0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#ab21f8428448810ceb29db8e058ee2721">get_has_resize_grip</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the statusbar has a resize grip. <a href="#ab21f8428448810ceb29db8e058ee2721"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a110c9494341408d1edf720f7ec105935">get_message_area</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the box containing the label widget. <a href="#a110c9494341408d1edf720f7ec105935"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a1475e9241981d24fd8c1f803b19a28c1">get_message_area</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the box containing the label widget. <a href="#a1475e9241981d24fd8c1f803b19a28c1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>< void, <br class="typebreak"/> guint, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a47a62f6e6515dc58ae7109dea02e8206">signal_text_pushed</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>< void, <br class="typebreak"/> guint, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#ab93fd6b93a754a9656b62175b4172dc0">signal_text_popped</a> ()</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>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a6f281b080753445b93c6d56652dd97d4">property_has_resize_grip</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the statusbar has a grip for resizing the toplevel. <a href="#a6f281b080753445b93c6d56652dd97d4"></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"/> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a8ca8fd8f74e576d9a43c421dfbdb8abb">property_has_resize_grip</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the statusbar has a grip for resizing the toplevel. <a href="#a8ca8fd8f74e576d9a43c421dfbdb8abb"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#afe9706e804e1bed1a468de46b5f3fe62">on_text_pushed</a> (guint context_id, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a8489960e37dbf107c198d738f5b6c282">on_text_popped</a> (guint context_id, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Statusbar.html">Gtk::Statusbar</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Statusbar.html#a6a1323ea614dccf0fa4bc20c79485acd">wrap</a> (GtkStatusbar* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </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="#a6a1323ea614dccf0fa4bc20c79485acd"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Text status indicator This widget is used to display status information. </p> <p>Messages are pushed and poped onto a message stack. When text is pushed it replaces the old contents. The old text is restored when popped.</p> <p>It derives from <a class="el" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row.">Gtk::HBox</a> so that additional information can be added easily.</p> <p>The <a class="el" href="classGtk_1_1Statusbar.html" title="Text status indicator This widget is used to display status information.">Statusbar</a> widget looks like this: </p> <div align="center"> <img src="statusbar1.png" alt="statusbar1.png"/> </div> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a21af9404042affd53f68da35d09a7320"></a><!-- doxytag: member="Gtk::Statusbar::~Statusbar" ref="a21af9404042affd53f68da35d09a7320" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::Statusbar::~Statusbar </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a53fd19badce858dee44bfd17a9a88822"></a><!-- doxytag: member="Gtk::Statusbar::Statusbar" ref="a53fd19badce858dee44bfd17a9a88822" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Statusbar::Statusbar </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a3c53ebf11ed09e65898e5a806a49ce35"></a><!-- doxytag: member="Gtk::Statusbar::get_context_id" ref="a3c53ebf11ed09e65898e5a806a49ce35" args="(const Glib::ustring &context_description)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint Gtk::Statusbar::get_context_id </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>context_description</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a new context identifier, given a description of the actual context. </p> <p>Note that the description is <em>not</em> shown in the UI. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">context_description</td><td>Textual description of what context the new message is being used in. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>An integer id. </dd></dl> </div> </div> <a class="anchor" id="ab21f8428448810ceb29db8e058ee2721"></a><!-- doxytag: member="Gtk::Statusbar::get_has_resize_grip" ref="ab21f8428448810ceb29db8e058ee2721" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Statusbar::get_has_resize_grip </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns whether the statusbar has a resize grip. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the statusbar has a resize grip. </dd></dl> </div> </div> <a class="anchor" id="a110c9494341408d1edf720f7ec105935"></a><!-- doxytag: member="Gtk::Statusbar::get_message_area" ref="a110c9494341408d1edf720f7ec105935" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* Gtk::Statusbar::get_message_area </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the box containing the label widget. </p> <dl class="since_2_20"><dt><b><a class="el" href="since_2_20.html#_since_2_20000028">Since gtkmm 2.20:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>. </dd></dl> </div> </div> <a class="anchor" id="a1475e9241981d24fd8c1f803b19a28c1"></a><!-- doxytag: member="Gtk::Statusbar::get_message_area" ref="a1475e9241981d24fd8c1f803b19a28c1" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* Gtk::Statusbar::get_message_area </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the box containing the label widget. </p> <dl class="since_2_20"><dt><b><a class="el" href="since_2_20.html#_since_2_20000029">Since gtkmm 2.20:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>. </dd></dl> </div> </div> <a class="anchor" id="ad33396939cbee540766e74ea6003a1db"></a><!-- doxytag: member="Gtk::Statusbar::gobj" ref="ad33396939cbee540766e74ea6003a1db" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkStatusbar* Gtk::Statusbar::gobj </td> <td>(</td> <td class="paramname"></td><td>)</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_1HBox.html#a276c36213ef878a34ab3a16a6f2dc94b">Gtk::HBox</a>.</p> </div> </div> <a class="anchor" id="ad184cb208df418091ccece5e6be2eabe"></a><!-- doxytag: member="Gtk::Statusbar::gobj" ref="ad184cb208df418091ccece5e6be2eabe" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkStatusbar* Gtk::Statusbar::gobj </td> <td>(</td> <td class="paramname"></td><td>)</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_1HBox.html#a200e7083acf10d6075633a5bb2eef9d0">Gtk::HBox</a>.</p> </div> </div> <a class="anchor" id="a8489960e37dbf107c198d738f5b6c282"></a><!-- doxytag: member="Gtk::Statusbar::on_text_popped" ref="a8489960e37dbf107c198d738f5b6c282" args="(guint context_id, const Glib::ustring &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Statusbar::on_text_popped </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>context_id</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> & </td> <td class="paramname"><em>text</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="afe9706e804e1bed1a468de46b5f3fe62"></a><!-- doxytag: member="Gtk::Statusbar::on_text_pushed" ref="afe9706e804e1bed1a468de46b5f3fe62" args="(guint context_id, const Glib::ustring &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Statusbar::on_text_pushed </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>context_id</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> & </td> <td class="paramname"><em>text</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ad2ee39dcb2e1c146f315b3d8d436b523"></a><!-- doxytag: member="Gtk::Statusbar::pop" ref="ad2ee39dcb2e1c146f315b3d8d436b523" args="(guint context_id=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::Statusbar::pop </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>context_id</em> = <code>0</code></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Removes the first message in the Gtk::StatusBar's stack with the given context id. </p> <p>Note that this may not change the displayed message, if the message at the top of the stack has a different context id. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">context_id</td><td>A context identifier. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a6f281b080753445b93c6d56652dd97d4"></a><!-- doxytag: member="Gtk::Statusbar::property_has_resize_grip" ref="a6f281b080753445b93c6d56652dd97d4" 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><bool> Gtk::Statusbar::property_has_resize_grip </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Whether the statusbar has a grip for resizing the toplevel. </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="a8ca8fd8f74e576d9a43c421dfbdb8abb"></a><!-- doxytag: member="Gtk::Statusbar::property_has_resize_grip" ref="a8ca8fd8f74e576d9a43c421dfbdb8abb" 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><bool> Gtk::Statusbar::property_has_resize_grip </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Whether the statusbar has a grip for resizing the toplevel. </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="a74854d6fefa48ff8e07d4ded53b0702f"></a><!-- doxytag: member="Gtk::Statusbar::push" ref="a74854d6fefa48ff8e07d4ded53b0702f" args="(const Glib::ustring &text, guint context_id=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint Gtk::Statusbar::push </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>context_id</em> = <code>0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Pushes a new message onto a statusbar's stack. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The message to add to the statusbar. </td></tr> <tr><td class="paramname">context_id</td><td>The message's context id, as returned by <a class="el" href="classGtk_1_1Statusbar.html#a3c53ebf11ed09e65898e5a806a49ce35" title="Returns a new context identifier, given a description of the actual context.">get_context_id()</a> </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="acde367d9775682d7ca24e1387af8d20f"></a><!-- doxytag: member="Gtk::Statusbar::remove_all_messages" ref="acde367d9775682d7ca24e1387af8d20f" args="(guint context_id=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::Statusbar::remove_all_messages </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>context_id</em> = <code>0</code></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Forces the removal of all messages from a statusbar's stack with the exact <em>context_id</em>. </p> <dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000066">Since gtkmm 2.22:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">context_id</td><td>A context identifier. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="aed78ebcebfe28e5dfdda9552940f5b42"></a><!-- doxytag: member="Gtk::Statusbar::remove_message" ref="aed78ebcebfe28e5dfdda9552940f5b42" args="(guint message_id, guint context_id=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::Statusbar::remove_message </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>message_id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>context_id</em> = <code>0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Forces the removal of a message from a statusbar's stack. </p> <p>The exact context_id and message_id must be specified. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">message_id</td><td>A message identifier, as returned by <a class="el" href="classGtk_1_1Statusbar.html#a74854d6fefa48ff8e07d4ded53b0702f" title="Pushes a new message onto a statusbar's stack.">push()</a>. </td></tr> <tr><td class="paramname">context_id</td><td>A context identifier. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a6a63e3ed3299563e817beec10a2bf2b0"></a><!-- doxytag: member="Gtk::Statusbar::set_has_resize_grip" ref="a6a63e3ed3299563e817beec10a2bf2b0" args="(bool setting=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::Statusbar::set_has_resize_grip </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>setting</em> = <code>true</code></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets whether the statusbar has a resize grip. </p> <p><code>true</code> by default. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">setting</td><td><code>true</code> to have a resize grip. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ab93fd6b93a754a9656b62175b4172dc0"></a><!-- doxytag: member="Gtk::Statusbar::signal_text_popped" ref="ab93fd6b93a754a9656b62175b4172dc0" 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_1SignalProxy2.html">Glib::SignalProxy2</a>< void,guint,const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& > Gtk::Statusbar::signal_text_popped </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_text_popped(guint context_id, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text)</code> </dd></dl> </div> </div> <a class="anchor" id="a47a62f6e6515dc58ae7109dea02e8206"></a><!-- doxytag: member="Gtk::Statusbar::signal_text_pushed" ref="a47a62f6e6515dc58ae7109dea02e8206" 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_1SignalProxy2.html">Glib::SignalProxy2</a>< void,guint,const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& > Gtk::Statusbar::signal_text_pushed </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_text_pushed(guint context_id, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text)</code> </dd></dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a6a1323ea614dccf0fa4bc20c79485acd"></a><!-- doxytag: member="Gtk::Statusbar::wrap" ref="a6a1323ea614dccf0fa4bc20c79485acd" args="(GtkStatusbar *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Statusbar.html">Gtk::Statusbar</a>* wrap </td> <td>(</td> <td class="paramtype">GtkStatusbar * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <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 class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</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/statusbar.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>