<!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::Orientable 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_1Orientable.html">Orientable</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gtk::Orientable Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gtk::Orientable" --><!-- doxytag: inherits="Glib::Interface" --> <p>This interface is implemented by all widgets that can be oriented horizontally or vertically. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gtk::Orientable:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1Orientable__inherit__graph.png" border="0" usemap="#Gtk_1_1Orientable_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1Orientable_inherit__map" id="Gtk_1_1Orientable_inherit__map"> <area shape="rect" id="node9" href="classGtk_1_1ToolPalette.html" title="A ToolPalette allows you to add ToolItems to a palette-like container with various categories and dra..." alt="" coords="8,315,128,344"/><area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="13,160,123,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Gtk::Orientable:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1Orientable__coll__graph.png" border="0" usemap="#Gtk_1_1Orientable_coll__map" alt="Collaboration graph"/></div> <map name="Gtk_1_1Orientable_coll__map" id="Gtk_1_1Orientable_coll__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="13,160,123,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGtk_1_1Orientable-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_1Orientable.html#a40e3ba88fc7a3dba6a0596c7a8b6941b">~Orientable</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkOrientable* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Orientable.html#aff3a192c3b691efa1f4227b8e161843d">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aff3a192c3b691efa1f4227b8e161843d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GtkOrientable* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Orientable.html#affca54ff29e09edd51a6ce57dd93a9df">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#affca54ff29e09edd51a6ce57dd93a9df"></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_1Orientable.html#ad6ab22a97e3811deda0dbc1b16571162">set_orientation</a> (<a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a> orientation)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the orientation of the <em>orientable</em>. <a href="#ad6ab22a97e3811deda0dbc1b16571162"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Orientable.html#abac8cc298a1791471540f150b7ffac2e">get_orientation</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the orientation of the <em>orientable</em>. <a href="#abac8cc298a1791471540f150b7ffac2e"></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>< <a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Orientable.html#afbb6a6f628d0d12749c6fdc44438dadb">property_orientation</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The orientation of the orientable. <a href="#afbb6a6f628d0d12749c6fdc44438dadb"></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"/> < <a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Orientable.html#a37aaf900c481e32b335b804a1b86e38a">property_orientation</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The orientation of the orientable. <a href="#a37aaf900c481e32b335b804a1b86e38a"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Orientable.html#a8d719ce4ff64f64600625afef8c6f288">add_interface</a> (GType gtype_implementer)</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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Orientable.html">Gtk::Orientable</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Orientable.html#a5da33d954352cfdb3a3455cdc51cb79b">wrap</a> (GtkOrientable* 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="#a5da33d954352cfdb3a3455cdc51cb79b"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>This interface is implemented by all widgets that can be oriented horizontally or vertically. </p> <p>Historically, such widgets have been realized as subclasses of a common base class (e.g GtkBox/GtkHBox/GtkVBox and GtkScale/GtkHScale/GtkVScale). GtkOrientable is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to 'flip'.</p> <dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000078">Since gtkmm 2.16:</a></b></dt><dd></dd></dl> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a40e3ba88fc7a3dba6a0596c7a8b6941b"></a><!-- doxytag: member="Gtk::Orientable::~Orientable" ref="a40e3ba88fc7a3dba6a0596c7a8b6941b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::Orientable::~Orientable </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a8d719ce4ff64f64600625afef8c6f288"></a><!-- doxytag: member="Gtk::Orientable::add_interface" ref="a8d719ce4ff64f64600625afef8c6f288" args="(GType gtype_implementer)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void Gtk::Orientable::add_interface </td> <td>(</td> <td class="paramtype">GType </td> <td class="paramname"><em>gtype_implementer</em></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="abac8cc298a1791471540f150b7ffac2e"></a><!-- doxytag: member="Gtk::Orientable::get_orientation" ref="abac8cc298a1791471540f150b7ffac2e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a> Gtk::Orientable::get_orientation </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the orientation of the <em>orientable</em>. </p> <dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000080">Since gtkmm 2.16:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The orientation of the <em>orientable</em>. </dd></dl> </div> </div> <a class="anchor" id="aff3a192c3b691efa1f4227b8e161843d"></a><!-- doxytag: member="Gtk::Orientable::gobj" ref="aff3a192c3b691efa1f4227b8e161843d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkOrientable* Gtk::Orientable::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 GObject. </p> <p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html#a969e9396f75132a9577428f4fa932d42">Glib::Interface</a>.</p> <p>Reimplemented in <a class="el" href="classGtk_1_1ToolPalette.html#a91e81467b7ae18f9f13e2cf80bd437b7">Gtk::ToolPalette</a>.</p> </div> </div> <a class="anchor" id="affca54ff29e09edd51a6ce57dd93a9df"></a><!-- doxytag: member="Gtk::Orientable::gobj" ref="affca54ff29e09edd51a6ce57dd93a9df" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkOrientable* Gtk::Orientable::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 GObject. </p> <p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html#a70a443071a69d3372c2cdd7128a91ed1">Glib::Interface</a>.</p> <p>Reimplemented in <a class="el" href="classGtk_1_1ToolPalette.html#a2dcd227b3f91f500d6493e56039a91ba">Gtk::ToolPalette</a>.</p> </div> </div> <a class="anchor" id="afbb6a6f628d0d12749c6fdc44438dadb"></a><!-- doxytag: member="Gtk::Orientable::property_orientation" ref="afbb6a6f628d0d12749c6fdc44438dadb" 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><<a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a>> Gtk::Orientable::property_orientation </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The orientation of the orientable. </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="a37aaf900c481e32b335b804a1b86e38a"></a><!-- doxytag: member="Gtk::Orientable::property_orientation" ref="a37aaf900c481e32b335b804a1b86e38a" 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><<a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a>> Gtk::Orientable::property_orientation </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The orientation of the orientable. </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="ad6ab22a97e3811deda0dbc1b16571162"></a><!-- doxytag: member="Gtk::Orientable::set_orientation" ref="ad6ab22a97e3811deda0dbc1b16571162" args="(Orientation orientation)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::Orientable::set_orientation </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a> </td> <td class="paramname"><em>orientation</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the orientation of the <em>orientable</em>. </p> <dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000079">Since gtkmm 2.16:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">orientation</td><td>The orientable's new orientation. </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a5da33d954352cfdb3a3455cdc51cb79b"></a><!-- doxytag: member="Gtk::Orientable::wrap" ref="a5da33d954352cfdb3a3455cdc51cb79b" args="(GtkOrientable *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Orientable.html">Gtk::Orientable</a> > wrap </td> <td>(</td> <td class="paramtype">GtkOrientable * </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/orientable.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>