Sophie

Sophie

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

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::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.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_1Orientable.html">Orientable</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::Orientable Class Reference</h1><!-- 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>

<p>Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html">Glib::Interface</a>.</p>

<p>Inherited by <a class="el" href="classGtk_1_1ToolPalette.html">Gtk::ToolPalette</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Orientable:</div>
<div class="dynsection">
<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" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="13,160,117,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,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 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_1Orientable.html#a40e3ba88fc7a3dba6a0596c7a8b6941b">~Orientable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkOrientable*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Orientable.html#aff3a192c3b691efa1f4227b8e161843d">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</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*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Orientable.html#affca54ff29e09edd51a6ce57dd93a9df">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</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&#160;</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">&#160;</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>&#160;</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">&#160;</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>&lt; <a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Orientable.html#afbb6a6f628d0d12749c6fdc44438dadb">property_orientation</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</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"/>
&lt; <a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a> &gt;&#160;</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">&#160;</td><td class="mdescRight">The orientation of the orientable. <a href="#a37aaf900c481e32b335b804a1b86e38a"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</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>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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Orientable.html">Gtk::Orientable</a> &gt;&#160;</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">&#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="#a5da33d954352cfdb3a3455cdc51cb79b"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<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>
<hr/><h2>Constructor &amp; 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>&#160;)&#160;</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&#160;</td>
          <td class="paramname"> <em>gtype_implementer</em></td>
          <td>&#160;)&#160;</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>&#160;)&#160;</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="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>&#160;)&#160;</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="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>&#160;)&#160;</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="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>&lt;<a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a>&gt; Gtk::Orientable::property_orientation </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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="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>&lt;<a class="el" href="group__gtkmmEnums.html#ga84179a467b0ed4f61b4e325eb09b0b1c">Orientation</a>&gt; Gtk::Orientable::property_orientation </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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="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>&#160;</td>
          <td class="paramname"> <em>orientation</em></td>
          <td>&#160;)&#160;</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 border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>orientation</em>&#160;</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>&lt; <a class="el" href="classGtk_1_1Orientable.html">Gtk::Orientable</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkOrientable *&#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/orientable.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:56 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>