Sophie

Sophie

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

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: Pango::AttrFloat 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="namespacePango.html">Pango</a>::<a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a></div>
<h1>Pango::AttrFloat Class Reference</h1><!-- doxytag: class="Pango::AttrFloat" --><!-- doxytag: inherits="Pango::Attribute" -->Inheritance diagram for Pango::AttrFloat:<p><center><img src="classPango_1_1AttrFloat__inherit__graph.png" border="0" usemap="#Pango_1_1AttrFloat__inherit__map" alt="Inheritance graph"></center>
<map name="Pango_1_1AttrFloat__inherit__map">
<area href="classPango_1_1Attribute.html" shape="rect" coords="5,6,131,33" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classPango_1_1AttrFloat-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A <a class="el" href="classPango_1_1AttrFloat.html">Pango::AttrFloat</a> is used to represent an attribute with a float or double value. 
<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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#c82cf882b4f291a091442a415ed2ac2f">AttrFloat</a> (PangoAttrFloat* castitem, bool take_copy=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#cc1a02a20e4875d4ab9188d6814bdb4f">AttrFloat</a> (const <a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>&amp; src)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#357d5020a10925cec1c928f254d72878">get_value</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the floating point value of the attribute.  <a href="#357d5020a10925cec1c928f254d72878"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const PangoAttrFloat*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#2356c777af064c2b8e153a1eb2fe835e">gobj</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#2356c777af064c2b8e153a1eb2fe835e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PangoAttrFloat*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#3eba8a4245d677b2a8885c1b2e269f2f">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#3eba8a4245d677b2a8885c1b2e269f2f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#37f442ebce44db31e1daebab9a377829">operator=</a> (const <a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>&amp; src)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#64dcd58ea79d83e59ed6ad9688656ca4">set_value</a> (const double&amp; value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the floating point value of the attribute.  <a href="#64dcd58ea79d83e59ed6ad9688656ca4"></a><br></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="classPango_1_1AttrFloat.html#eadf75d34411dff3dcfd77968f40c1e3">AttrFloat</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="classPango_1_1AttrFloat.html">Pango::AttrFloat</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFloat.html#cb15795539d788da02e8f7af45056f14">wrap</a> (PangoAttrFloat* object, bool take_copy=false)</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="eadf75d34411dff3dcfd77968f40c1e3"></a><!-- doxytag: member="Pango::AttrFloat::AttrFloat" ref="eadf75d34411dff3dcfd77968f40c1e3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::AttrFloat::AttrFloat           </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>
<a class="anchor" name="cc1a02a20e4875d4ab9188d6814bdb4f"></a><!-- doxytag: member="Pango::AttrFloat::AttrFloat" ref="cc1a02a20e4875d4ab9188d6814bdb4f" args="(const AttrFloat &amp;src)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::AttrFloat::AttrFloat           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>src</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="c82cf882b4f291a091442a415ed2ac2f"></a><!-- doxytag: member="Pango::AttrFloat::AttrFloat" ref="c82cf882b4f291a091442a415ed2ac2f" args="(PangoAttrFloat *castitem, bool take_copy=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::AttrFloat::AttrFloat           </td>
          <td>(</td>
          <td class="paramtype">PangoAttrFloat *&nbsp;</td>
          <td class="paramname"> <em>castitem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_copy</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="357d5020a10925cec1c928f254d72878"></a><!-- doxytag: member="Pango::AttrFloat::get_value" ref="357d5020a10925cec1c928f254d72878" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Pango::AttrFloat::get_value           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the floating point value of the attribute. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The floating point value of the attribute. </dd></dl>

</div>
</div><p>
<a class="anchor" name="2356c777af064c2b8e153a1eb2fe835e"></a><!-- doxytag: member="Pango::AttrFloat::gobj" ref="2356c777af064c2b8e153a1eb2fe835e" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const PangoAttrFloat* Pango::AttrFloat::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 GObject. 
<p>

<p>
Reimplemented from <a class="el" href="classPango_1_1Attribute.html#4b30cfd416a8eb35b62d3bc464fa174c">Pango::Attribute</a>.
</div>
</div><p>
<a class="anchor" name="3eba8a4245d677b2a8885c1b2e269f2f"></a><!-- doxytag: member="Pango::AttrFloat::gobj" ref="3eba8a4245d677b2a8885c1b2e269f2f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoAttrFloat* Pango::AttrFloat::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 GObject. 
<p>

<p>
Reimplemented from <a class="el" href="classPango_1_1Attribute.html#51654a81e9171adde1403e58d06997a3">Pango::Attribute</a>.
</div>
</div><p>
<a class="anchor" name="37f442ebce44db31e1daebab9a377829"></a><!-- doxytag: member="Pango::AttrFloat::operator=" ref="37f442ebce44db31e1daebab9a377829" args="(const AttrFloat &amp;src)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>&amp; Pango::AttrFloat::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1AttrFloat.html">AttrFloat</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>src</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="64dcd58ea79d83e59ed6ad9688656ca4"></a><!-- doxytag: member="Pango::AttrFloat::set_value" ref="64dcd58ea79d83e59ed6ad9688656ca4" args="(const double &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::AttrFloat::set_value           </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the floating point value of the attribute. 
<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>value</em>&nbsp;</td><td>The new floating point value for the attribute. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="cb15795539d788da02e8f7af45056f14"></a><!-- doxytag: member="Pango::AttrFloat::wrap" ref="cb15795539d788da02e8f7af45056f14" args="(PangoAttrFloat *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1AttrFloat.html">Pango::AttrFloat</a> wrap           </td>
          <td>(</td>
          <td class="paramtype">PangoAttrFloat *&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>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="attributes_8h.html">attributes.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>