<!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::AttrFontDesc 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> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </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_1AttrFontDesc.html">AttrFontDesc</a></div> <h1>Pango::AttrFontDesc Class Reference</h1><!-- doxytag: class="Pango::AttrFontDesc" --><!-- doxytag: inherits="Pango::Attribute" -->Inheritance diagram for Pango::AttrFontDesc:<p><center><img src="classPango_1_1AttrFontDesc__inherit__graph.png" border="0" usemap="#Pango_1_1AttrFontDesc__inherit__map" alt="Inheritance graph"></center> <map name="Pango_1_1AttrFontDesc__inherit__map"> <area href="classPango_1_1Attribute.html" shape="rect" coords="19,6,144,33" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classPango_1_1AttrFontDesc-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A <a class="el" href="classPango_1_1AttrFontDesc.html">Pango::AttrFontDesc</a> is used to represent an attribute that sets all aspects of the font description at once. <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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFontDesc.html#5be860bc6b787bffc90ba75060f6c61a">AttrFontDesc</a> (PangoAttrFontDesc* castitem, bool take_copy=true)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFontDesc.html#357a0fdff5348affc46121fd2e6c8705">AttrFontDesc</a> (const <a class="el" href="classPango_1_1AttrFontDesc.html">AttrFontDesc</a>& src)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFontDesc.html#6496bebfc3d22625346164f16a721377">get_desc</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the font description which is the value of the attribute. <a href="#6496bebfc3d22625346164f16a721377"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const PangoAttrFontDesc* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFontDesc.html#a2a4ec0685fab57407a41d31de54b762">gobj</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2a4ec0685fab57407a41d31de54b762"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">PangoAttrFontDesc* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFontDesc.html#8279652a238b05e79ff9079156827717">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#8279652a238b05e79ff9079156827717"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPango_1_1AttrFontDesc.html">AttrFontDesc</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFontDesc.html#4ad7ed830021a997583b2ffca2caed1d">operator=</a> (const <a class="el" href="classPango_1_1AttrFontDesc.html">AttrFontDesc</a>& src)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFontDesc.html#a804d7575a0a2fb944f38c0259898189">set_desc</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& desc)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the font description which is the value of the attribute. <a href="#a804d7575a0a2fb944f38c0259898189"></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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFontDesc.html#277b70caa25a7bf86b20846b96fa12bd">AttrFontDesc</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_1AttrFontDesc.html">Pango::AttrFontDesc</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrFontDesc.html#4a4f348d04c4fd36ff444f2163dc7949">wrap</a> (PangoAttrFontDesc* object, bool take_copy=false)</td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="277b70caa25a7bf86b20846b96fa12bd"></a><!-- doxytag: member="Pango::AttrFontDesc::AttrFontDesc" ref="277b70caa25a7bf86b20846b96fa12bd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Pango::AttrFontDesc::AttrFontDesc </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="357a0fdff5348affc46121fd2e6c8705"></a><!-- doxytag: member="Pango::AttrFontDesc::AttrFontDesc" ref="357a0fdff5348affc46121fd2e6c8705" args="(const AttrFontDesc &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Pango::AttrFontDesc::AttrFontDesc </td> <td>(</td> <td class="paramtype">const <a class="el" href="classPango_1_1AttrFontDesc.html">AttrFontDesc</a>& </td> <td class="paramname"> <em>src</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="5be860bc6b787bffc90ba75060f6c61a"></a><!-- doxytag: member="Pango::AttrFontDesc::AttrFontDesc" ref="5be860bc6b787bffc90ba75060f6c61a" args="(PangoAttrFontDesc *castitem, bool take_copy=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Pango::AttrFontDesc::AttrFontDesc </td> <td>(</td> <td class="paramtype">PangoAttrFontDesc * </td> <td class="paramname"> <em>castitem</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>true</code></td><td> </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="6496bebfc3d22625346164f16a721377"></a><!-- doxytag: member="Pango::AttrFontDesc::get_desc" ref="6496bebfc3d22625346164f16a721377" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a> Pango::AttrFontDesc::get_desc </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the font description which is the value of the attribute. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The font description of the attribute. </dd></dl> </div> </div><p> <a class="anchor" name="a2a4ec0685fab57407a41d31de54b762"></a><!-- doxytag: member="Pango::AttrFontDesc::gobj" ref="a2a4ec0685fab57407a41d31de54b762" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const PangoAttrFontDesc* Pango::AttrFontDesc::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </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="8279652a238b05e79ff9079156827717"></a><!-- doxytag: member="Pango::AttrFontDesc::gobj" ref="8279652a238b05e79ff9079156827717" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">PangoAttrFontDesc* Pango::AttrFontDesc::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </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="4ad7ed830021a997583b2ffca2caed1d"></a><!-- doxytag: member="Pango::AttrFontDesc::operator=" ref="4ad7ed830021a997583b2ffca2caed1d" args="(const AttrFontDesc &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classPango_1_1AttrFontDesc.html">AttrFontDesc</a>& Pango::AttrFontDesc::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classPango_1_1AttrFontDesc.html">AttrFontDesc</a>& </td> <td class="paramname"> <em>src</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="a804d7575a0a2fb944f38c0259898189"></a><!-- doxytag: member="Pango::AttrFontDesc::set_desc" ref="a804d7575a0a2fb944f38c0259898189" args="(const FontDescription &desc)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Pango::AttrFontDesc::set_desc </td> <td>(</td> <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& </td> <td class="paramname"> <em>desc</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the font description which is the 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>desc</em> </td><td>The new font description for the attribute. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="4a4f348d04c4fd36ff444f2163dc7949"></a><!-- doxytag: member="Pango::AttrFontDesc::wrap" ref="4a4f348d04c4fd36ff444f2163dc7949" args="(PangoAttrFontDesc *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classPango_1_1AttrFontDesc.html">Pango::AttrFontDesc</a> wrap </td> <td>(</td> <td class="paramtype">PangoAttrFontDesc * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </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 © 1997-2001</small></address> </body> </html>