Sophie

Sophie

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

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::AspectFrame 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_1AspectFrame.html">AspectFrame</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::AspectFrame Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>,&#160;<a class="el" href="group__Containers.html">Container Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::AspectFrame" --><!-- doxytag: inherits="Gtk::Frame" -->
<p>A frame that constrains its child to a particular aspect ratio. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1Frame.html">Gtk::Frame</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::AspectFrame:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1AspectFrame__coll__graph.png" border="0" usemap="#Gtk_1_1AspectFrame_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1AspectFrame_coll__map" id="Gtk_1_1AspectFrame_coll__map">
<area shape="rect" href="classGtk_1_1Frame.html" title="A Gtk::Bin with a decorative frame and optional label." alt="" coords="71,547,156,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_1AspectFrame-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_1AspectFrame.html#a7471a234f9ec5440aeda4dcc389a8464">~AspectFrame</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkAspectFrame*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AspectFrame.html#a094c8844ef320a9736eba7f3a9d0bd66">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a094c8844ef320a9736eba7f3a9d0bd66"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkAspectFrame*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AspectFrame.html#a9054d57c75b29e8f5991173fd012a860">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a9054d57c75b29e8f5991173fd012a860"></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_1AspectFrame.html#afa911e38f96cfd325d4a4a417a89b72a">AspectFrame</a> (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>(), <a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a> xalign=Gtk::ALIGN_CENTER, <a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a> yalign=Gtk::ALIGN_CENTER, float ratio=1.0, bool obey_child=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor to create a new <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a> object. <a href="#afa911e38f96cfd325d4a4a417a89b72a"></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_1AspectFrame.html#a6a87059865ecceb1330759b79e617f93">AspectFrame</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label, float xalign, float yalign, float ratio=1.0, bool obey_child=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor to create a new <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a> object. <a href="#a6a87059865ecceb1330759b79e617f93"></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_1AspectFrame.html#ad689dee3c8a0febb2340cc4eda5fe922">set</a> (float xalign, float yalign, float ratio, bool obey_child=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the properties of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. <a href="#ad689dee3c8a0febb2340cc4eda5fe922"></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_1AspectFrame.html#adaa0dc2928953b34880998f4c92dd457">set</a> (<a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a> xalign, <a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a> yalign, float ratio, bool obey_child=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the properties of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. <a href="#adaa0dc2928953b34880998f4c92dd457"></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; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AspectFrame.html#a358351f24f15a0200da6a2d1a81da749">property_xalign</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">X alignment of the child. <a href="#a358351f24f15a0200da6a2d1a81da749"></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; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AspectFrame.html#a841e6b59bf8edd94bca9830d2ccb6323">property_xalign</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">X alignment of the child. <a href="#a841e6b59bf8edd94bca9830d2ccb6323"></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; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AspectFrame.html#a6a5c2c56a384fb1b316cda429665790d">property_yalign</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Y alignment of the child. <a href="#a6a5c2c56a384fb1b316cda429665790d"></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; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AspectFrame.html#aeaf1166e3736b2421a6836bd83e24e0e">property_yalign</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Y alignment of the child. <a href="#aeaf1166e3736b2421a6836bd83e24e0e"></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; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AspectFrame.html#a59e3584eb18c8e801b162cff744df3a2">property_ratio</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Aspect ratio if obey_child is FALSE. <a href="#a59e3584eb18c8e801b162cff744df3a2"></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; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AspectFrame.html#a6ba6054d9e5a041eb5488b5fb328b841">property_ratio</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Aspect ratio if obey_child is FALSE. <a href="#a6ba6054d9e5a041eb5488b5fb328b841"></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_1AspectFrame.html#a211ae43eb92a7102d0fc7185885847a6">property_obey_child</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Force aspect ratio to match that of the frame's child. <a href="#a211ae43eb92a7102d0fc7185885847a6"></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_1AspectFrame.html#afa217ef4b9903cb63bb327306c6ca9b9">property_obey_child</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Force aspect ratio to match that of the frame's child. <a href="#afa217ef4b9903cb63bb327306c6ca9b9"></a><br/></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_1AspectFrame.html">Gtk::AspectFrame</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AspectFrame.html#ab19eaa639f8f64ce540bee038e121fdc">wrap</a> (GtkAspectFrame* 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="#ab19eaa639f8f64ce540bee038e121fdc"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A frame that constrains its child to a particular aspect ratio. </p>
<p>The <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">Gtk::AspectFrame</a> is useful when you want pack a widget so that it can resize but always retains the same aspect ratio. For instance, one might be drawing a small preview of a larger image. Because it derives from <a class="el" href="classGtk_1_1Frame.html" title="A Gtk::Bin with a decorative frame and optional label.">Gtk::Frame</a>, it can draw a label and a frame around the child. The frame will be "shrink-wrapped" to the size of the child. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7471a234f9ec5440aeda4dcc389a8464"></a><!-- doxytag: member="Gtk::AspectFrame::~AspectFrame" ref="a7471a234f9ec5440aeda4dcc389a8464" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::AspectFrame::~AspectFrame </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="afa911e38f96cfd325d4a4a417a89b72a"></a><!-- doxytag: member="Gtk::AspectFrame::AspectFrame" ref="afa911e38f96cfd325d4a4a417a89b72a" args="(const Glib::ustring &amp;label=Glib::ustring(), AlignmentEnum xalign=Gtk::ALIGN_CENTER, AlignmentEnum yalign=Gtk::ALIGN_CENTER, float ratio=1.0, bool obey_child=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::AspectFrame::AspectFrame </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>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a>&#160;</td>
          <td class="paramname"> <em>xalign</em> = <code>Gtk::ALIGN_CENTER</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a>&#160;</td>
          <td class="paramname"> <em>yalign</em> = <code>Gtk::ALIGN_CENTER</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>ratio</em> = <code>1.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>obey_child</em> = <code>false</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>Constructor to create a new <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a> 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>label</em>&#160;</td><td><a class="el" href="classGtk_1_1Label.html" title="A widget that displays a small to medium amount of text.">Label</a> text. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xalign</em>&#160;</td><td>Horizontal alignment of the child within the allocation of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. For possible values, see <a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac" title="Methods are overriden so you can use these simple enums, or floats for more precision...">Gtk::AlignmentEnum</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yalign</em>&#160;</td><td>Vertical alignment of the child within the allocation of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. For possible values, see <a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac" title="Methods are overriden so you can use these simple enums, or floats for more precision...">Gtk::AlignmentEnum</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ratio</em>&#160;</td><td>The desired aspect ratio. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>obey_child</em>&#160;</td><td>If <code>true</code>, <em>ratio</em> is ignored and the aspect ratio is taken from the requisition of the child. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6a87059865ecceb1330759b79e617f93"></a><!-- doxytag: member="Gtk::AspectFrame::AspectFrame" ref="a6a87059865ecceb1330759b79e617f93" args="(const Glib::ustring &amp;label, float xalign, float yalign, float ratio=1.0, bool obey_child=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::AspectFrame::AspectFrame </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>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>xalign</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>yalign</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>ratio</em> = <code>1.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>obey_child</em> = <code>false</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>Constructor to create a new <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a> 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>label</em>&#160;</td><td><a class="el" href="classGtk_1_1Label.html" title="A widget that displays a small to medium amount of text.">Label</a> text. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xalign</em>&#160;</td><td>Horizontal alignment of the child within the allocation of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. This ranges from 0.0 (left aligned) to 1.0 (right aligned). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yalign</em>&#160;</td><td>Vertical alignment of the child within the allocation of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. This ranges from 0.0 (top aligned) to 1.0 (bottom aligned). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ratio</em>&#160;</td><td>The desired aspect ratio. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>obey_child</em>&#160;</td><td>If <code>true</code>, <em>ratio</em> is ignored and the aspect ratio is taken from the requisition of the child. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9054d57c75b29e8f5991173fd012a860"></a><!-- doxytag: member="Gtk::AspectFrame::gobj" ref="a9054d57c75b29e8f5991173fd012a860" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkAspectFrame* Gtk::AspectFrame::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_1Frame.html#aff08b316db383455d499a952974212e6">Gtk::Frame</a>.</p>

</div>
</div>
<a class="anchor" id="a094c8844ef320a9736eba7f3a9d0bd66"></a><!-- doxytag: member="Gtk::AspectFrame::gobj" ref="a094c8844ef320a9736eba7f3a9d0bd66" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkAspectFrame* Gtk::AspectFrame::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_1Frame.html#a5f7db796218fe2e89e453071b464f6d4">Gtk::Frame</a>.</p>

</div>
</div>
<a class="anchor" id="afa217ef4b9903cb63bb327306c6ca9b9"></a><!-- doxytag: member="Gtk::AspectFrame::property_obey_child" ref="afa217ef4b9903cb63bb327306c6ca9b9" 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::AspectFrame::property_obey_child </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Force aspect ratio to match that of the frame's child. </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="a211ae43eb92a7102d0fc7185885847a6"></a><!-- doxytag: member="Gtk::AspectFrame::property_obey_child" ref="a211ae43eb92a7102d0fc7185885847a6" 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::AspectFrame::property_obey_child </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Force aspect ratio to match that of the frame's child. </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="a6ba6054d9e5a041eb5488b5fb328b841"></a><!-- doxytag: member="Gtk::AspectFrame::property_ratio" ref="a6ba6054d9e5a041eb5488b5fb328b841" 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;float&gt; Gtk::AspectFrame::property_ratio </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Aspect ratio if obey_child is FALSE. </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="a59e3584eb18c8e801b162cff744df3a2"></a><!-- doxytag: member="Gtk::AspectFrame::property_ratio" ref="a59e3584eb18c8e801b162cff744df3a2" 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;float&gt; Gtk::AspectFrame::property_ratio </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Aspect ratio if obey_child is FALSE. </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="a841e6b59bf8edd94bca9830d2ccb6323"></a><!-- doxytag: member="Gtk::AspectFrame::property_xalign" ref="a841e6b59bf8edd94bca9830d2ccb6323" 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;float&gt; Gtk::AspectFrame::property_xalign </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>X alignment of the child. </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="a358351f24f15a0200da6a2d1a81da749"></a><!-- doxytag: member="Gtk::AspectFrame::property_xalign" ref="a358351f24f15a0200da6a2d1a81da749" 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;float&gt; Gtk::AspectFrame::property_xalign </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>X alignment of the child. </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="aeaf1166e3736b2421a6836bd83e24e0e"></a><!-- doxytag: member="Gtk::AspectFrame::property_yalign" ref="aeaf1166e3736b2421a6836bd83e24e0e" 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;float&gt; Gtk::AspectFrame::property_yalign </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Y alignment of the child. </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="a6a5c2c56a384fb1b316cda429665790d"></a><!-- doxytag: member="Gtk::AspectFrame::property_yalign" ref="a6a5c2c56a384fb1b316cda429665790d" 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;float&gt; Gtk::AspectFrame::property_yalign </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Y alignment of the child. </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="adaa0dc2928953b34880998f4c92dd457"></a><!-- doxytag: member="Gtk::AspectFrame::set" ref="adaa0dc2928953b34880998f4c92dd457" args="(AlignmentEnum xalign, AlignmentEnum yalign, float ratio, bool obey_child=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::AspectFrame::set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a>&#160;</td>
          <td class="paramname"> <em>xalign</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a>&#160;</td>
          <td class="paramname"> <em>yalign</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>ratio</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>obey_child</em> = <code>true</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the properties of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>xalign</em>&#160;</td><td>Horizontal alignment of the child within the allocation of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. For possible values, see <a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac" title="Methods are overriden so you can use these simple enums, or floats for more precision...">Gtk::AlignmentEnum</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yalign</em>&#160;</td><td>Vertical alignment of the child within the allocation of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. For possible values, see <a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac" title="Methods are overriden so you can use these simple enums, or floats for more precision...">Gtk::AlignmentEnum</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ratio</em>&#160;</td><td>The desired aspect ratio. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>obey_child</em>&#160;</td><td>If <code>true</code>, <em>ratio</em> is ignored and the aspect ratio is taken from the requisition of the child. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad689dee3c8a0febb2340cc4eda5fe922"></a><!-- doxytag: member="Gtk::AspectFrame::set" ref="ad689dee3c8a0febb2340cc4eda5fe922" args="(float xalign, float yalign, float ratio, bool obey_child=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::AspectFrame::set </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>xalign</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>yalign</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"> <em>ratio</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>obey_child</em> = <code>true</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the properties of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>xalign</em>&#160;</td><td>Horizontal alignment of the child within the allocation of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. This ranges from 0.0 (left aligned) to 1.0 (right aligned). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>yalign</em>&#160;</td><td>Vertical alignment of the child within the allocation of this <a class="el" href="classGtk_1_1AspectFrame.html" title="A frame that constrains its child to a particular aspect ratio.">AspectFrame</a>. This ranges from 0.0 (top aligned) to 1.0 (bottom aligned). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ratio</em>&#160;</td><td>The desired aspect ratio. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>obey_child</em>&#160;</td><td>If <code>true</code>, <em>ratio</em> is ignored and the aspect ratio is taken from the requisition of the child. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ab19eaa639f8f64ce540bee038e121fdc"></a><!-- doxytag: member="Gtk::AspectFrame::wrap" ref="ab19eaa639f8f64ce540bee038e121fdc" args="(GtkAspectFrame *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1AspectFrame.html">Gtk::AspectFrame</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkAspectFrame *&#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/aspectframe.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:46 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>