Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 9411cff4bc6d4e61b29ae81cd24665af > files > 653

gtkmm2.4-doc-2.12.7-1mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>gtkmm 2.4: Gtk::Ruler Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>
<!-- begin main content -->
<div id="content">
<!-- Generated by Doxygen 1.5.1 -->
<div class="nav">
<a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1Ruler.html">Ruler</a></div>
<h1>Gtk::Ruler Class Reference<br>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::Ruler" --><!-- doxytag: inherits="Gtk::Widget" -->Inheritance diagram for Gtk::Ruler:<p><center><img src="classGtk_1_1Ruler__inherit__graph.png" border="0" usemap="#Gtk_1_1Ruler__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1Ruler__inherit__map">
<area href="classGtk_1_1HRuler.html" shape="rect" coords="13,471,107,497" alt="">
<area href="classGtk_1_1VRuler.html" shape="rect" coords="131,471,221,497" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="71,316,164,343" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="5,239,96,265" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="7,161,100,188" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="53,84,179,111" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="128,161,237,188" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="60,7,172,33" alt="">
<area href="classAtk_1_1Implementor.html" shape="rect" coords="120,239,251,265" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1Ruler-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Base class for horizontal or vertical rulers. 
<p>
NOTE this widget is considered too specialized/little-used for GTK+, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK+ distribution. Rulers are used to show the mouse pointer's location in a window. The ruler can either be horizontal or vertical. Within the ruler a small triangle indicates the location of the mouse relative to the horixontal or vertical ruler.<p>
This is an abstract base for <a class="el" href="classGtk_1_1HRuler.html">Gtk::HRuler</a> and <a class="el" href="classGtk_1_1VRuler.html">Gtk::VRuler</a>. Users should only instantiate those types. 
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#787106dfe66b404e62c3060a34f919b3">draw_pos</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">draw a position indicator on the ruler  <a href="#787106dfe66b404e62c3060a34f919b3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#8afa1706af6e5d00f271d3cc1260bdd9">draw_pos_vfunc</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#48ae4c80ff3f32e6dd8ee780a728a345">draw_ticks</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">draw tick marks on the ruler  <a href="#48ae4c80ff3f32e6dd8ee780a728a345"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#bcf51627a775eaf6d4d617396ba0c695">draw_ticks_vfunc</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#g22dc1ec34acb004dd747bec08b35645b">MetricType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#f58d6e9b70486b32aa2482146b54a6e9">get_metric</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the units used for a <a class="el" href="classGtk_1_1Ruler.html">Gtk::Ruler</a>.  <a href="#f58d6e9b70486b32aa2482146b54a6e9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#g22dc1ec34acb004dd747bec08b35645b">MetricType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#1e04bb252fd11e1cf51c9878c6e513ee">get_metric</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#a2507798293c573295a28e0e4be09010">get_range</a> (double&amp; lower, double&amp; upper, double&amp; position, double&amp; max_size)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves values indicating the range and current position of a <a class="el" href="classGtk_1_1Ruler.html">Gtk::Ruler</a>.  <a href="#a2507798293c573295a28e0e4be09010"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#f39d783b7cd218d78886ba392986a3af">get_range_lower</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#164a1ff1918cad153f555c781da73bba">get_range_upper</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkRuler*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#2567307685db1291fb7f22d3d3087478">gobj</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GtkObject.  <a href="#2567307685db1291fb7f22d3d3087478"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkRuler*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#d8a837a3f262b4b654d29707d5184042">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GtkObject.  <a href="#d8a837a3f262b4b654d29707d5184042"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<br>
 double &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#48713e3ab0bf1b6ef7362fd3370a4860">property_lower</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lower limit of ruler.  <a href="#48713e3ab0bf1b6ef7362fd3370a4860"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#a42355084a1abef5fe4c9c94b3f377b6">property_lower</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lower limit of ruler.  <a href="#a42355084a1abef5fe4c9c94b3f377b6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<br>
 double &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#93a06f778dcdd819169b48695ed7fa56">property_max_size</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum size of the ruler.  <a href="#93a06f778dcdd819169b48695ed7fa56"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#225a29d7d7453e7c446d93d4b321553d">property_max_size</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum size of the ruler.  <a href="#225a29d7d7453e7c446d93d4b321553d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<br>
 double &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#4bd49ab92278920f0fb916cd001933d7">property_position</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Position of mark on the ruler.  <a href="#4bd49ab92278920f0fb916cd001933d7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#7ef7111f462befbc8dc651ab492ac7aa">property_position</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Position of mark on the ruler.  <a href="#7ef7111f462befbc8dc651ab492ac7aa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<br>
 double &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#0879fe6dbfcb67d8b364b0ae14e35f03">property_upper</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Upper limit of ruler.  <a href="#0879fe6dbfcb67d8b364b0ae14e35f03"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#465828cdefb780ceff461fb41a36b4d2">property_upper</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Upper limit of ruler.  <a href="#465828cdefb780ceff461fb41a36b4d2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#632a58dfe2fc52f8763f4c8524f97cbd">set_metric</a> (<a class="el" href="group__gtkmmEnums.html#g22dc1ec34acb004dd747bec08b35645b">MetricType</a> metric=PIXELS)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the desired metric of the ruler.  <a href="#632a58dfe2fc52f8763f4c8524f97cbd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#ae0d333e26bb4171230ebeb18d666220">set_range</a> (double lower, double upper, double position, double max_size)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">sets the range of the ruler.  <a href="#ae0d333e26bb4171230ebeb18d666220"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#41190beee5e285d580d7b018d8ba24ed">~Ruler</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#33ca40fb8f3817780521ae2d3c037b94">Ruler</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Ruler.html">Gtk::Ruler</a>*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Ruler.html#7bb855061d75c8e5f04c95802f6932a9">wrap</a> (GtkRuler* object, bool take_copy=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#7bb855061d75c8e5f04c95802f6932a9"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="41190beee5e285d580d7b018d8ba24ed"></a><!-- doxytag: member="Gtk::Ruler::~Ruler" ref="41190beee5e285d580d7b018d8ba24ed" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Ruler::~Ruler           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="33ca40fb8f3817780521ae2d3c037b94"></a><!-- doxytag: member="Gtk::Ruler::Ruler" ref="33ca40fb8f3817780521ae2d3c037b94" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Ruler::Ruler           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="787106dfe66b404e62c3060a34f919b3"></a><!-- doxytag: member="Gtk::Ruler::draw_pos" ref="787106dfe66b404e62c3060a34f919b3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Ruler::draw_pos           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
draw a position indicator on the ruler 
<p>

</div>
</div><p>
<a class="anchor" name="8afa1706af6e5d00f271d3cc1260bdd9"></a><!-- doxytag: member="Gtk::Ruler::draw_pos_vfunc" ref="8afa1706af6e5d00f271d3cc1260bdd9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Ruler::draw_pos_vfunc           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="48ae4c80ff3f32e6dd8ee780a728a345"></a><!-- doxytag: member="Gtk::Ruler::draw_ticks" ref="48ae4c80ff3f32e6dd8ee780a728a345" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Ruler::draw_ticks           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
draw tick marks on the ruler 
<p>

</div>
</div><p>
<a class="anchor" name="bcf51627a775eaf6d4d617396ba0c695"></a><!-- doxytag: member="Gtk::Ruler::draw_ticks_vfunc" ref="bcf51627a775eaf6d4d617396ba0c695" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Ruler::draw_ticks_vfunc           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="f58d6e9b70486b32aa2482146b54a6e9"></a><!-- doxytag: member="Gtk::Ruler::get_metric" ref="f58d6e9b70486b32aa2482146b54a6e9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#g22dc1ec34acb004dd747bec08b35645b">MetricType</a> Gtk::Ruler::get_metric           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the units used for a <a class="el" href="classGtk_1_1Ruler.html">Gtk::Ruler</a>. 
<p>
See <a class="el" href="classGtk_1_1Ruler.html#632a58dfe2fc52f8763f4c8524f97cbd">set_metric()</a>. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The units currently used for <em>ruler</em>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="1e04bb252fd11e1cf51c9878c6e513ee"></a><!-- doxytag: member="Gtk::Ruler::get_metric" ref="1e04bb252fd11e1cf51c9878c6e513ee" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#g22dc1ec34acb004dd747bec08b35645b">MetricType</a> Gtk::Ruler::get_metric           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="a2507798293c573295a28e0e4be09010"></a><!-- doxytag: member="Gtk::Ruler::get_range" ref="a2507798293c573295a28e0e4be09010" args="(double &amp;lower, double &amp;upper, double &amp;position, double &amp;max_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Ruler::get_range           </td>
          <td>(</td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>upper</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>max_size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieves values indicating the range and current position of a <a class="el" href="classGtk_1_1Ruler.html">Gtk::Ruler</a>. 
<p>
See <a class="el" href="classGtk_1_1Ruler.html#ae0d333e26bb4171230ebeb18d666220">set_range()</a>. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lower</em>&nbsp;</td><td>Location to store lower limit of the ruler, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>upper</em>&nbsp;</td><td>Location to store upper limit of the ruler, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>position</em>&nbsp;</td><td>Location to store the current position of the mark on the ruler, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>max_size</em>&nbsp;</td><td>Location to store the maximum size of the ruler used when calculating the space to leave for the text, or <code>0</code>. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="f39d783b7cd218d78886ba392986a3af"></a><!-- doxytag: member="Gtk::Ruler::get_range_lower" ref="f39d783b7cd218d78886ba392986a3af" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gtk::Ruler::get_range_lower           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="164a1ff1918cad153f555c781da73bba"></a><!-- doxytag: member="Gtk::Ruler::get_range_upper" ref="164a1ff1918cad153f555c781da73bba" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gtk::Ruler::get_range_upper           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="2567307685db1291fb7f22d3d3087478"></a><!-- doxytag: member="Gtk::Ruler::gobj" ref="2567307685db1291fb7f22d3d3087478" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkRuler* Gtk::Ruler::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> 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_1Widget.html#750f8231e3858beb9fbd5b44b15ee108">Gtk::Widget</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1VRuler.html#139707b2742afdc5a1ad017fc5454026">Gtk::VRuler</a>, and <a class="el" href="classGtk_1_1HRuler.html#4e7cfdc7df4049e66ef098e1808f5ca6">Gtk::HRuler</a>.
</div>
</div><p>
<a class="anchor" name="d8a837a3f262b4b654d29707d5184042"></a><!-- doxytag: member="Gtk::Ruler::gobj" ref="d8a837a3f262b4b654d29707d5184042" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkRuler* Gtk::Ruler::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><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_1Widget.html#6667a82920375b2ebde07bc1ffdc3641">Gtk::Widget</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1VRuler.html#cb6631190b8716f9aaa12d691cd5ffb9">Gtk::VRuler</a>, and <a class="el" href="classGtk_1_1HRuler.html#a9ed13c23b0e1d9d65a1ccd635137a52">Gtk::HRuler</a>.
</div>
</div><p>
<a class="anchor" name="48713e3ab0bf1b6ef7362fd3370a4860"></a><!-- doxytag: member="Gtk::Ruler::property_lower" ref="48713e3ab0bf1b6ef7362fd3370a4860" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;double&gt; Gtk::Ruler::property_lower           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Lower limit of ruler. 
<p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="a42355084a1abef5fe4c9c94b3f377b6"></a><!-- doxytag: member="Gtk::Ruler::property_lower" ref="a42355084a1abef5fe4c9c94b3f377b6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt; Gtk::Ruler::property_lower           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Lower limit of ruler. 
<p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="93a06f778dcdd819169b48695ed7fa56"></a><!-- doxytag: member="Gtk::Ruler::property_max_size" ref="93a06f778dcdd819169b48695ed7fa56" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;double&gt; Gtk::Ruler::property_max_size           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Maximum size of the ruler. 
<p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="225a29d7d7453e7c446d93d4b321553d"></a><!-- doxytag: member="Gtk::Ruler::property_max_size" ref="225a29d7d7453e7c446d93d4b321553d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt; Gtk::Ruler::property_max_size           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Maximum size of the ruler. 
<p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="4bd49ab92278920f0fb916cd001933d7"></a><!-- doxytag: member="Gtk::Ruler::property_position" ref="4bd49ab92278920f0fb916cd001933d7" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;double&gt; Gtk::Ruler::property_position           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Position of mark on the ruler. 
<p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="7ef7111f462befbc8dc651ab492ac7aa"></a><!-- doxytag: member="Gtk::Ruler::property_position" ref="7ef7111f462befbc8dc651ab492ac7aa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt; Gtk::Ruler::property_position           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Position of mark on the ruler. 
<p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="0879fe6dbfcb67d8b364b0ae14e35f03"></a><!-- doxytag: member="Gtk::Ruler::property_upper" ref="0879fe6dbfcb67d8b364b0ae14e35f03" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;double&gt; Gtk::Ruler::property_upper           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Upper limit of ruler. 
<p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="465828cdefb780ceff461fb41a36b4d2"></a><!-- doxytag: member="Gtk::Ruler::property_upper" ref="465828cdefb780ceff461fb41a36b4d2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt; Gtk::Ruler::property_upper           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Upper limit of ruler. 
<p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="632a58dfe2fc52f8763f4c8524f97cbd"></a><!-- doxytag: member="Gtk::Ruler::set_metric" ref="632a58dfe2fc52f8763f4c8524f97cbd" args="(MetricType metric=PIXELS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Ruler::set_metric           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#g22dc1ec34acb004dd747bec08b35645b">MetricType</a>&nbsp;</td>
          <td class="paramname"> <em>metric</em> = <code>PIXELS</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the desired metric of the ruler. 
<p>
The possible choices are: <ul>
<li>
<a class="el" href="group__gtkmmEnums.html#gg22dc1ec34acb004dd747bec08b35645bc089e72893404dbac06b1b8277e5473d">Gtk::PIXELS</a> </li>
<li>
<a class="el" href="group__gtkmmEnums.html#gg22dc1ec34acb004dd747bec08b35645b7342539132c465d1d8ec4de493c73c89">Gtk::INCHES</a> </li>
<li>
<a class="el" href="group__gtkmmEnums.html#gg22dc1ec34acb004dd747bec08b35645b500d37856dab279f66b26bea2dc286cd">Gtk::CENTIMETERS</a> </li>
</ul>
The default metric is <a class="el" href="group__gtkmmEnums.html#gg22dc1ec34acb004dd747bec08b35645bc089e72893404dbac06b1b8277e5473d">Gtk::PIXELS</a>. 
</div>
</div><p>
<a class="anchor" name="ae0d333e26bb4171230ebeb18d666220"></a><!-- doxytag: member="Gtk::Ruler::set_range" ref="ae0d333e26bb4171230ebeb18d666220" args="(double lower, double upper, double position, double max_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Ruler::set_range           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>upper</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>max_size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
sets the range of the ruler. 
<p>
<em>upper</em> and <em>lower</em> arguments denote the extents of the <a class="el" href="classGtk_1_1Ruler.html">Ruler</a>. <em>max_size</em> is the largest number displayed by the ruler. <em>position</em> gives the initial value of the ruler. Rulers do not have sane defaults so this function should always be called. 
</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="7bb855061d75c8e5f04c95802f6932a9"></a><!-- doxytag: member="Gtk::Ruler::wrap" ref="7bb855061d75c8e5f04c95802f6932a9" args="(GtkRuler *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Ruler.html">Gtk::Ruler</a>* wrap           </td>
          <td>(</td>
          <td class="paramtype">GtkRuler *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&nbsp;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ruler_8h.html">ruler.h</a></ul>
</div>
<!-- end main content -->

<hr><address><small>
Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>