Sophie

Sophie

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

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::Scale 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_1Scale.html">Scale</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::Scale Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::Scale" --><!-- doxytag: inherits="Gtk::Range" -->
<p>Abstract base clase for <a class="el" href="classGtk_1_1HScale.html" title="A horizontal slider for selecting values.">Gtk::HScale</a> and <a class="el" href="classGtk_1_1VScale.html" title="A vertical slider for selecting values.">Gtk::VScale</a>. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1Range.html">Gtk::Range</a>.</p>

<p>Inherited by <a class="el" href="classGtk_1_1HScale.html">Gtk::HScale</a>, and <a class="el" href="classGtk_1_1VScale.html">Gtk::VScale</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Scale:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Scale__coll__graph.png" border="0" usemap="#Gtk_1_1Scale_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Scale_coll__map" id="Gtk_1_1Scale_coll__map">
<area shape="rect" href="classGtk_1_1Range.html" title="Base class for widgets which visualize an adjustment." alt="" coords="69,392,157,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_1Scale-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_1Scale.html#a4991feb9012f28ac5d42219bc955d1af">~Scale</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkScale*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#afc7d5fb5223af20c105c473dff2cb5bf">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#afc7d5fb5223af20c105c473dff2cb5bf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkScale*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a07df5a12a5e4a27aff06cbe9e66e3d86">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a07df5a12a5e4a27aff06cbe9e66e3d86"></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_1Scale.html#a7cd895f5c2f298f12a67db035f99bb47">set_digits</a> (int digits)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of decimal digits. <a href="#a7cd895f5c2f298f12a67db035f99bb47"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a922de69e479a00b87bd4539eb027a431">get_digits</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of decimal digits. <a href="#a922de69e479a00b87bd4539eb027a431"></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_1Scale.html#a28473a3dead4c2a29bfe1399234266e2">set_draw_value</a> (bool draw_value=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether the current value is displayed as a string next to the slider. <a href="#a28473a3dead4c2a29bfe1399234266e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a198d0e8c858f4a2c6e357c97fc5f5330">get_draw_value</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get whether the current value is displayed as a string next to the slider. <a href="#a198d0e8c858f4a2c6e357c97fc5f5330"></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_1Scale.html#aaefd87ceaf890e6d0d8f01df27a51dd9">set_value_pos</a> (<a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a> pos)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the position in which the value is displayed. <a href="#aaefd87ceaf890e6d0d8f01df27a51dd9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a8ffee09d212456320b69cd6352da138f">get_value_pos</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the position in which the value is displayed. <a href="#a8ffee09d212456320b69cd6352da138f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#adcba211aa3877294cb9fef98cb35d8b9">get_layout</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> used to display the scale. <a href="#adcba211aa3877294cb9fef98cb35d8b9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a9ef33e3dc9cb54e9bd01d0fa14a8649e">get_layout</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> used to display the scale. <a href="#a9ef33e3dc9cb54e9bd01d0fa14a8649e"></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_1Scale.html#aa76b390c21e6710910ea5c592ac0bbf2">get_layout_offsets</a> (int&amp; x, int&amp; y) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the coordinates where the scale will draw the <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> representing the text in the scale. <a href="#aa76b390c21e6710910ea5c592ac0bbf2"></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_1Scale.html#a283af7d7d0ddb8fb3077b8082786d8d0">add_mark</a> (double <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>, <a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a> position, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; markup)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a mark at <em>value</em>. <a href="#a283af7d7d0ddb8fb3077b8082786d8d0"></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_1Scale.html#a9e3e8d0d052a6b9851a89de31cc13003">clear_marks</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes any marks that have been added with <a class="el" href="classGtk_1_1Scale.html#a283af7d7d0ddb8fb3077b8082786d8d0" title="Adds a mark at value.">add_mark()</a>. <a href="#a9e3e8d0d052a6b9851a89de31cc13003"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>, double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a9c6c9c22c77387c820ba07fe5e107ad1">signal_format_value</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines how the value is formatted. <a href="#a9c6c9c22c77387c820ba07fe5e107ad1"></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; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a6edf67b7e8841e5850571bb11f35bf53">property_digits</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of displayed decimal digits. <a href="#a6edf67b7e8841e5850571bb11f35bf53"></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>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a27cb3dc18728831b00cc84a3c5c4b7e8">property_digits</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of decimal places that are displayed in the value. <a href="#a27cb3dc18728831b00cc84a3c5c4b7e8"></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_1Scale.html#a9a082fce199f4152e7b5f7f7427bee70">property_draw_value</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether to draw the value as a string next to slider. <a href="#a9a082fce199f4152e7b5f7f7427bee70"></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_1Scale.html#ab953014f91040fc360b289f030f28c71">property_draw_value</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the current value is displayed as a string next to the slider. <a href="#ab953014f91040fc360b289f030f28c71"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; <a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a5ec19185d27dce13e77aa35b6fe98ac7">property_value_pos</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The position in which the value is displayed. <a href="#a5ec19185d27dce13e77aa35b6fe98ac7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a2047ef5faefdade27bbe34fd6ae44f7c">property_value_pos</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The position in which the current value is displayed. <a href="#a2047ef5faefdade27bbe34fd6ae44f7c"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a4a3077296b964a1140af324b0747601e">on_format_value</a> (double <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a3b4c0f4d069a0309e21a60f497bf546e">Scale</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a1a8610694ad2ff3e2123951af8a7ad55">draw_value_vfunc</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#a222499c514f33d1d4b83d09edfdebc9c">calc_digits_</a> (double step) const </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_1Scale.html">Gtk::Scale</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Scale.html#af4cd737ce65264070c74e7002858d9a5">wrap</a> (GtkScale* 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="#af4cd737ce65264070c74e7002858d9a5"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Abstract base clase for <a class="el" href="classGtk_1_1HScale.html" title="A horizontal slider for selecting values.">Gtk::HScale</a> and <a class="el" href="classGtk_1_1VScale.html" title="A vertical slider for selecting values.">Gtk::VScale</a>. </p>
<p>A <a class="el" href="classGtk_1_1Scale.html" title="Abstract base clase for Gtk::HScale and Gtk::VScale.">Gtk::Scale</a> is a slider control used to select a numeric value. To use it, you'll probably want to investigate the methods on its base class, <a class="el" href="classGtk_1_1Range.html" title="Base class for widgets which visualize an adjustment.">Gtk::Range</a>, in addition to the methods for <a class="el" href="classGtk_1_1Scale.html" title="Abstract base clase for Gtk::HScale and Gtk::VScale.">Gtk::Scale</a> itself. To set the value of a scale, you would normally use <a class="el" href="classGtk_1_1Range.html#a0dcdcc6742cb03a080ff24e376e3645a" title="Sets the current value of the range; if the value is outside the minimum or maximum...">set_value()</a>. To detect changes to the value, you would normally use <a class="el" href="classGtk_1_1Range.html#adabf4bf83e0798f22093406b96e873ce">signal_value_changed()</a>.</p>
<p>The <a class="el" href="classGtk_1_1Scale.html" title="Abstract base clase for Gtk::HScale and Gtk::VScale.">Gtk::Scale</a> widget is an abstract class, used only for deriving the subclasses <a class="el" href="classGtk_1_1HScale.html" title="A horizontal slider for selecting values.">Gtk::HScale</a> and <a class="el" href="classGtk_1_1VScale.html" title="A vertical slider for selecting values.">Gtk::VScale</a>, so you should instantiate them instead. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4991feb9012f28ac5d42219bc955d1af"></a><!-- doxytag: member="Gtk::Scale::~Scale" ref="a4991feb9012f28ac5d42219bc955d1af" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Scale::~Scale </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="a3b4c0f4d069a0309e21a60f497bf546e"></a><!-- doxytag: member="Gtk::Scale::Scale" ref="a3b4c0f4d069a0309e21a60f497bf546e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Scale::Scale </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a283af7d7d0ddb8fb3077b8082786d8d0"></a><!-- doxytag: member="Gtk::Scale::add_mark" ref="a283af7d7d0ddb8fb3077b8082786d8d0" args="(double value, PositionType position, const Glib::ustring &amp;markup)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Scale::add_mark </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a>&#160;</td>
          <td class="paramname"> <em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>markup</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a mark at <em>value</em>. </p>
<p>A mark is indicated visually by drawing a tick mark next to the scale, and GTK+ makes it easy for the user to position the scale exactly at the marks value.</p>
<p>If <em>markup</em> is not <code>0</code>, text is shown next to the tick mark.</p>
<p>To remove marks from a scale, use <a class="el" href="classGtk_1_1Scale.html#a9e3e8d0d052a6b9851a89de31cc13003" title="Removes any marks that have been added with add_mark().">clear_marks()</a>.</p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000088">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&#160;</td><td>The value at which the mark is placed, must be between the lower and upper limits of the scales' adjustment. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>position</em>&#160;</td><td>Where to draw the mark. For a horizontal scale, <a class="el" href="group__gtkmmEnums.html#gga3568edcd04af4a2cbd1eb0195513fe6bac7f6d3ac5b810ed4e353af1460170be5">Gtk::POS_TOP</a> is drawn above the scale, anything else below. For a vertical scale, <a class="el" href="group__gtkmmEnums.html#gga3568edcd04af4a2cbd1eb0195513fe6baf146b67127d1d76710eb4885db9e8ca2">Gtk::POS_LEFT</a> is drawn to the left of the scale, anything else to the right. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>markup</em>&#160;</td><td>Text to be shown at the mark, using &lt;link linkend="PangoMarkupFormat"&gt;<a class="elRef" href="../../../pangomm-1.4/reference/html/namespacePango.html">Pango</a> markup&lt;/link&gt;, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a222499c514f33d1d4b83d09edfdebc9c"></a><!-- doxytag: member="Gtk::Scale::calc_digits_" ref="a222499c514f33d1d4b83d09edfdebc9c" args="(double step) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Gtk::Scale::calc_digits_ </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>step</em></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9e3e8d0d052a6b9851a89de31cc13003"></a><!-- doxytag: member="Gtk::Scale::clear_marks" ref="a9e3e8d0d052a6b9851a89de31cc13003" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Scale::clear_marks </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes any marks that have been added with <a class="el" href="classGtk_1_1Scale.html#a283af7d7d0ddb8fb3077b8082786d8d0" title="Adds a mark at value.">add_mark()</a>. </p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000089">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a1a8610694ad2ff3e2123951af8a7ad55"></a><!-- doxytag: member="Gtk::Scale::draw_value_vfunc" ref="a1a8610694ad2ff3e2123951af8a7ad55" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Scale::draw_value_vfunc </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a922de69e479a00b87bd4539eb027a431"></a><!-- doxytag: member="Gtk::Scale::get_digits" ref="a922de69e479a00b87bd4539eb027a431" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::Scale::get_digits </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the number of decimal digits. </p>

</div>
</div>
<a class="anchor" id="a198d0e8c858f4a2c6e357c97fc5f5330"></a><!-- doxytag: member="Gtk::Scale::get_draw_value" ref="a198d0e8c858f4a2c6e357c97fc5f5330" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Scale::get_draw_value </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get whether the current value is displayed as a string next to the slider. </p>

</div>
</div>
<a class="anchor" id="a9ef33e3dc9cb54e9bd01d0fa14a8649e"></a><!-- doxytag: member="Gtk::Scale::get_layout" ref="a9ef33e3dc9cb54e9bd01d0fa14a8649e" 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_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a>&gt; Gtk::Scale::get_layout </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> used to display the scale. </p>
<p>The returned object is owned by the scale so does not need to be freed by the caller.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000227">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> for this scale, or <code>0</code> if the <a class="el" href="classGtk_1_1Scale.html" title="Abstract base clase for Gtk::HScale and Gtk::VScale.">Gtk::Scale</a>:draw-value property is <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="adcba211aa3877294cb9fef98cb35d8b9"></a><!-- doxytag: member="Gtk::Scale::get_layout" ref="adcba211aa3877294cb9fef98cb35d8b9" 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_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a>&gt; Gtk::Scale::get_layout </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> used to display the scale. </p>
<p>The returned object is owned by the scale so does not need to be freed by the caller.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000226">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> for this scale, or <code>0</code> if the <a class="el" href="classGtk_1_1Scale.html" title="Abstract base clase for Gtk::HScale and Gtk::VScale.">Gtk::Scale</a>:draw-value property is <code>false</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="aa76b390c21e6710910ea5c592ac0bbf2"></a><!-- doxytag: member="Gtk::Scale::get_layout_offsets" ref="aa76b390c21e6710910ea5c592ac0bbf2" args="(int &amp;x, int &amp;y) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Scale::get_layout_offsets </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"> <em>y</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtains the coordinates where the scale will draw the <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> representing the text in the scale. </p>
<p>Remember when using the <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> function you need to convert to and from pixels using PANGO_PIXELS() or <a class="elRef" href="../../../pangomm-1.4/reference/html/namespacePango.html#a20d9629a369a6a5ab40ed9c01f879730">Pango::SCALE</a>.</p>
<p>If the <a class="el" href="classGtk_1_1Scale.html" title="Abstract base clase for Gtk::HScale and Gtk::VScale.">Gtk::Scale</a>:draw-value property is <code>false</code>, the return values are undefined.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000228">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>Location to store X offset of layout, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>Location to store Y offset of layout, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8ffee09d212456320b69cd6352da138f"></a><!-- doxytag: member="Gtk::Scale::get_value_pos" ref="a8ffee09d212456320b69cd6352da138f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a> Gtk::Scale::get_value_pos </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the position in which the value is displayed. </p>

</div>
</div>
<a class="anchor" id="a07df5a12a5e4a27aff06cbe9e66e3d86"></a><!-- doxytag: member="Gtk::Scale::gobj" ref="a07df5a12a5e4a27aff06cbe9e66e3d86" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkScale* Gtk::Scale::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_1Range.html#ad575889c11d88b292188506b361321e5">Gtk::Range</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1VScale.html#ac6e6ee0b573d46e6d0510ce5d6a3fe59">Gtk::VScale</a>, and <a class="el" href="classGtk_1_1HScale.html#a52e921b7a37716ff8d6f33993a3cb1f6">Gtk::HScale</a>.</p>

</div>
</div>
<a class="anchor" id="afc7d5fb5223af20c105c473dff2cb5bf"></a><!-- doxytag: member="Gtk::Scale::gobj" ref="afc7d5fb5223af20c105c473dff2cb5bf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkScale* Gtk::Scale::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_1Range.html#ad1794114e1e316ce6640cef1dc70720b">Gtk::Range</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1VScale.html#a902a9a6fa87f96142c06b272e8b84513">Gtk::VScale</a>, and <a class="el" href="classGtk_1_1HScale.html#af8619097cce3380c90770b0f70fb032e">Gtk::HScale</a>.</p>

</div>
</div>
<a class="anchor" id="a4a3077296b964a1140af324b0747601e"></a><!-- doxytag: member="Gtk::Scale::on_format_value" ref="a4a3077296b964a1140af324b0747601e" args="(double value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::Scale::on_format_value </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>The number of decimal places that are displayed in the value. </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="a6edf67b7e8841e5850571bb11f35bf53"></a><!-- doxytag: member="Gtk::Scale::property_digits" ref="a6edf67b7e8841e5850571bb11f35bf53" 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;int&gt; Gtk::Scale::property_digits </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Number of displayed decimal digits. </p>
<p>The number of decimal places that are displayed in the value.</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="ab953014f91040fc360b289f030f28c71"></a><!-- doxytag: member="Gtk::Scale::property_draw_value" ref="ab953014f91040fc360b289f030f28c71" 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::Scale::property_draw_value </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether the current value is displayed as a string next to the slider. </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="a9a082fce199f4152e7b5f7f7427bee70"></a><!-- doxytag: member="Gtk::Scale::property_draw_value" ref="a9a082fce199f4152e7b5f7f7427bee70" 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::Scale::property_draw_value </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether to draw the value as a string next to slider. </p>
<p>Whether the current value is displayed as a string next to the slider.</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="a2047ef5faefdade27bbe34fd6ae44f7c"></a><!-- doxytag: member="Gtk::Scale::property_value_pos" ref="a2047ef5faefdade27bbe34fd6ae44f7c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a>&gt; Gtk::Scale::property_value_pos </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The position in which the current value is displayed. </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="a5ec19185d27dce13e77aa35b6fe98ac7"></a><!-- doxytag: member="Gtk::Scale::property_value_pos" ref="a5ec19185d27dce13e77aa35b6fe98ac7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a>&gt; Gtk::Scale::property_value_pos </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The position in which the value is displayed. </p>
<p>The position in which the current value is displayed.</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="a7cd895f5c2f298f12a67db035f99bb47"></a><!-- doxytag: member="Gtk::Scale::set_digits" ref="a7cd895f5c2f298f12a67db035f99bb47" args="(int digits)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Scale::set_digits </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>digits</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the number of decimal digits. </p>
<p>This also causes the adjustment to be rounded off so the retrieved value matches the value the user sees. Setting digits to 1 gives for example 1.0, 2 gives 1.00, etc. </p>

</div>
</div>
<a class="anchor" id="a28473a3dead4c2a29bfe1399234266e2"></a><!-- doxytag: member="Gtk::Scale::set_draw_value" ref="a28473a3dead4c2a29bfe1399234266e2" args="(bool draw_value=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Scale::set_draw_value </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>draw_value</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set whether the current value is displayed as a string next to the slider. </p>

</div>
</div>
<a class="anchor" id="aaefd87ceaf890e6d0d8f01df27a51dd9"></a><!-- doxytag: member="Gtk::Scale::set_value_pos" ref="aaefd87ceaf890e6d0d8f01df27a51dd9" args="(PositionType pos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Scale::set_value_pos </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga3568edcd04af4a2cbd1eb0195513fe6b">PositionType</a>&#160;</td>
          <td class="paramname"> <em>pos</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the position in which the value is displayed. </p>

</div>
</div>
<a class="anchor" id="a9c6c9c22c77387c820ba07fe5e107ad1"></a><!-- doxytag: member="Gtk::Scale::signal_format_value" ref="a9c6c9c22c77387c820ba07fe5e107ad1" 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_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>,double &gt; Gtk::Scale::signal_format_value </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines how the value is formatted. </p>
<p>This can be used to connect a custom function for determining how the value is formatted. The function (or function object) is given a the value as a double and should return the representation of it as a <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>.</p>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> on_my_format_value(double value)</code> </dd></dl>

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