Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > e0521f28751d07a87e3a3d6c7d15a1ac > files > 1213

libgtkmm2.0_1-devel-2.2.1-2mdk.ppc.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>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%"/>

<!-- Generated by Doxygen 1.3-rc1 -->
<h1>Gtk::Ruler Class Reference<br>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1>Base class for horizontal or vertical rulers. 
<a href="#_details">More...</a>
<p>
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="7,364,87,382" alt="">
<area href="classGtk_1_1VRuler.html" shape="rect" coords="111,364,191,382" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="60,225,137,244" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="60,156,137,174" alt="">
<area href="classGlib_1_1Object.html" shape="rect" coords="59,86,139,105" alt="">
<area href="classGlib_1_1ObjectBase.html" shape="rect" coords="44,17,153,36" 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><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a0">~Ruler</a> ()</td></tr>
<tr><td nowrap align=right valign=top>GtkRuler*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a1">gobj</a> ()</td></tr>
<tr><td nowrap align=right valign=top>const GtkRuler*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a2">gobj</a> () const</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="group__gtkmmEnums.html#a74">MetricType</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a3">get_metric</a> () const</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a4">set_metric</a> (<a class="el" href="group__gtkmmEnums.html#a74">MetricType</a> metric=PIXELS)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the desired metric of the ruler.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="group__gtkmmEnums.html#a74">MetricType</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a5">get_metric</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the units used for a Gtk::Ruler.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a6">get_range_lower</a> () const</td></tr>
<tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a7">get_range_upper</a> () const</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a8">set_range</a> (double lower, double upper, double position, double max_size)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>sets the range of the ruler.</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a9">get_range</a> (double&amp; lower, double&amp; upper, double&amp; position, double&amp; max_size)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves values indicating the range and current position of a Gtk::Ruler.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a10">draw_ticks</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>draw tick marks on the ruler</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a11">draw_pos</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>draw a position indicator on the ruler</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a12">property_lower</a> ()</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a13">property_upper</a> ()</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a14">property_position</a> ()</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#a15">property_max_size</a> ()</td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#b0">draw_ticks_vfunc</a> ()</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#b1">draw_pos_vfunc</a> ()</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#b2">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 nowrap align=right valign=top>Gtk::Ruler*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Ruler.html#k0">wrap</a> (GtkRuler* object, bool take_copy=false)</td></tr>
</table>
<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>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gtk::Ruler::~Ruler"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual Gtk::Ruler::~Ruler </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="b2" doxytag="Gtk::Ruler::Ruler"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Gtk::Ruler::Ruler </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a11" doxytag="Gtk::Ruler::draw_pos"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Ruler::draw_pos </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
draw a position indicator on the ruler
<p>
    </td>
  </tr>
</table>
<a name="b1" doxytag="Gtk::Ruler::draw_pos_vfunc"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Gtk::Ruler::draw_pos_vfunc </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a10" doxytag="Gtk::Ruler::draw_ticks"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Ruler::draw_ticks </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
draw tick marks on the ruler
<p>
    </td>
  </tr>
</table>
<a name="b0" doxytag="Gtk::Ruler::draw_ticks_vfunc"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Gtk::Ruler::draw_ticks_vfunc </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a5" doxytag="Gtk::Ruler::get_metric"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="group__gtkmmEnums.html#a74">MetricType</a> Gtk::Ruler::get_metric </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the units used for a Gtk::Ruler.
<p>
See <a class="el" href="classGtk_1_1Ruler.html#a4">set_metric()</a>. <dl compact><dt><b>Returns:</b></dt><dd>The units currently used for <em>ruler</em> . </dd></dl>
    </td>
  </tr>
</table>
<a name="a3" doxytag="Gtk::Ruler::get_metric"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="group__gtkmmEnums.html#a74">MetricType</a> Gtk::Ruler::get_metric </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a9" doxytag="Gtk::Ruler::get_range"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Ruler::get_range </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">double&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>lower</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>upper</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>position</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max_size</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves values indicating the range and current position of a Gtk::Ruler.
<p>
See <a class="el" href="classGtk_1_1Ruler.html#a8">set_range()</a>. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><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><em>upper</em>&nbsp;</td><td>Location to store upper limit of the ruler, or <code>0</code>. </td></tr>
    <tr><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><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>
    </td>
  </tr>
</table>
<a name="a6" doxytag="Gtk::Ruler::get_range_lower"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> double Gtk::Ruler::get_range_lower </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a7" doxytag="Gtk::Ruler::get_range_upper"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> double Gtk::Ruler::get_range_upper </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a2" doxytag="Gtk::Ruler::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const GtkRuler* Gtk::Ruler::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGtk_1_1Widget.html#a2">Gtk::Widget</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1VRuler.html#a2">Gtk::VRuler</a>, and <a class="el" href="classGtk_1_1HRuler.html#a2">Gtk::HRuler</a>.    </td>
  </tr>
</table>
<a name="a1" doxytag="Gtk::Ruler::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GtkRuler* Gtk::Ruler::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGtk_1_1Widget.html#a1">Gtk::Widget</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1VRuler.html#a1">Gtk::VRuler</a>, and <a class="el" href="classGtk_1_1HRuler.html#a1">Gtk::HRuler</a>.    </td>
  </tr>
</table>
<a name="a12" doxytag="Gtk::Ruler::property_lower"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt; Gtk::Ruler::property_lower </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a15" doxytag="Gtk::Ruler::property_max_size"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt; Gtk::Ruler::property_max_size </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a14" doxytag="Gtk::Ruler::property_position"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt; Gtk::Ruler::property_position </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a13" doxytag="Gtk::Ruler::property_upper"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;double&gt; Gtk::Ruler::property_upper </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a4" doxytag="Gtk::Ruler::set_metric"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Ruler::set_metric </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="group__gtkmmEnums.html#a74">MetricType</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>metric</em> = PIXELS          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the desired metric of the ruler.
<p>
The possible choices are: <ul>
<li>
<a class="el" href="group__gtkmmEnums.html#a74a97">Gtk::PIXELS</a> </li>
<li>
<a class="el" href="group__gtkmmEnums.html#a74a98">Gtk::INCHES</a> </li>
<li>
<a class="el" href="group__gtkmmEnums.html#a74a99">Gtk::CENTIMETERS</a> </li>
</ul>
The default metric is <a class="el" href="group__gtkmmEnums.html#a74a97">Gtk::PIXELS</a>.     </td>
  </tr>
</table>
<a name="a8" doxytag="Gtk::Ruler::set_range"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Ruler::set_range </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>lower</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>upper</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>position</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max_size</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<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.     </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="k0" doxytag="Gtk::Ruler::wrap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Gtk::Ruler* wrap </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">GtkRuler*&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>object</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>take_copy</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [related]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<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>
<hr><address><small>
Generated for gtkmm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.3-rc1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>