<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>gtkmm 2.4: Gtk::FontSelection 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="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1FontSelection.html">FontSelection</a></div> <h1>Gtk::FontSelection Class Reference<br> <small> [<a class="el" href="group__Widgets.html">Widgets</a>]</small> </h1><!-- doxytag: class="Gtk::FontSelection" --><!-- doxytag: inherits="Gtk::VBox" -->Inheritance diagram for Gtk::FontSelection:<p><center><img src="classGtk_1_1FontSelection__inherit__graph.png" border="0" usemap="#Gtk_1_1FontSelection__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1FontSelection__inherit__map"> <area href="classGtk_1_1VBox.html" shape="rect" coords="76,548,159,575" alt=""> <area href="classGtk_1_1Box.html" shape="rect" coords="80,471,155,498" alt=""> <area href="classGtk_1_1Container.html" shape="rect" coords="61,394,173,420" alt=""> <area href="classGtk_1_1Widget.html" shape="rect" coords="71,316,164,343" alt=""> <area href="classGtk_1_1Object.html" shape="rect" coords="5,239,96,266" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="7,162,100,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="53,84,179,111" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="128,162,237,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="60,7,172,34" alt=""> <area href="classAtk_1_1Implementor.html" shape="rect" coords="120,239,251,266" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1FontSelection-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A widget for selecting fonts. <p> The <a class="el" href="classGtk_1_1FontSelection.html">Gtk::FontSelection</a> widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the <a class="el" href="classGtk_1_1FontSelectionDialog.html">Gtk::FontSelectionDialog</a> widget to provide a dialog box for selecting fonts. <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="classGtk_1_1FontSelection.html#ba7402d803631b14449d895a228c645d">FontSelection</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#2e31545598d37f309dea64fe6b1c5520">get_filter_button</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#5eaf3a8153d9de00aef74ad1df05973a">get_filter_button</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#d586b3bbc5262a1896892605b36887d1">get_font_entry</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#2ea43a275d570e895f880ee2467c1725">get_font_entry</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#210af55e59052f84550b61cb43c7233b">get_font_name</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the currently-selected font name. <a href="#210af55e59052f84550b61cb43c7233b"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#0cda4badcf7435f501c338b80f98f098">get_font_style_entry</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#19e28b7bae0e9e0160c3ac967f8adab5">get_font_style_entry</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1RadioButton.html">RadioButton</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#ff0e350b02d21e4d3b8818ffc13e1d50">get_pixels_button</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1RadioButton.html">RadioButton</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#54d5be93a73f065b877cd93a023efff0">get_pixels_button</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1RadioButton.html">RadioButton</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#635beb32d37ab8d778b1fce83f611823">get_points_button</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1RadioButton.html">RadioButton</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#b4452a551f395c940d48bc33f96060db">get_points_button</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#9cfc0f9c3d7da087a13a21f7a7a1610a">get_preview_entry</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#6fd691a0e1081c68ec930ae98fb95e3e">get_preview_entry</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#776ba2c85989ba994a045aa9b49ba8c2">get_preview_text</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#ca50f2dedcece25a74f21ed97ebb21b1">get_size_entry</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#d2adc2700339ab1e8c775d729592c993">get_size_entry</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkFontSelection* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#3b0c5af5c4190129499dc1edf87a8a35">gobj</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#3b0c5af5c4190129499dc1edf87a8a35"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GtkFontSelection* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#03554fdbf28e7fdbfa1aeaff4fe68879">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#03554fdbf28e7fdbfa1aeaff4fe68879"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#9fa0a199dbade9ffad113076bc10ad10">property_font_name</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The X string that represents this font. <a href="#9fa0a199dbade9ffad113076bc10ad10"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#cedcda36784874454ef785d517cd44c2">property_font_name</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The X string that represents this font. <a href="#cedcda36784874454ef785d517cd44c2"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#ba4a6958668124ed4bfd8c8bf1e2b1a1">property_preview_text</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The text to display in order to demonstrate the selected font. <a href="#ba4a6958668124ed4bfd8c8bf1e2b1a1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#aaa7eac6a423cbf25c0df61e6fb8bf70">property_preview_text</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The text to display in order to demonstrate the selected font. <a href="#aaa7eac6a423cbf25c0df61e6fb8bf70"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#adc6fb252b1a091ad77ed81bc94479e5">set_font_name</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& fontname)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the currently-selected font. <a href="#adc6fb252b1a091ad77ed81bc94479e5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#9a4a5d06f2faf649be9219d0c065b4be">set_preview_text</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& fontname)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#3e985fac20b19408934790853353ee8f">~FontSelection</a> ()</td></tr> <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1FontSelection.html">Gtk::FontSelection</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontSelection.html#ab3b732a9ae8467ad4e200dc188b0327">wrap</a> (GtkFontSelection* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ab3b732a9ae8467ad4e200dc188b0327"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="3e985fac20b19408934790853353ee8f"></a><!-- doxytag: member="Gtk::FontSelection::~FontSelection" ref="3e985fac20b19408934790853353ee8f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::FontSelection::~FontSelection </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="ba7402d803631b14449d895a228c645d"></a><!-- doxytag: member="Gtk::FontSelection::FontSelection" ref="ba7402d803631b14449d895a228c645d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::FontSelection::FontSelection </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="2e31545598d37f309dea64fe6b1c5520"></a><!-- doxytag: member="Gtk::FontSelection::get_filter_button" ref="2e31545598d37f309dea64fe6b1c5520" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Button.html">Button</a>* Gtk::FontSelection::get_filter_button </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="5eaf3a8153d9de00aef74ad1df05973a"></a><!-- doxytag: member="Gtk::FontSelection::get_filter_button" ref="5eaf3a8153d9de00aef74ad1df05973a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Button.html">Button</a>* Gtk::FontSelection::get_filter_button </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="d586b3bbc5262a1896892605b36887d1"></a><!-- doxytag: member="Gtk::FontSelection::get_font_entry" ref="d586b3bbc5262a1896892605b36887d1" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::FontSelection::get_font_entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="2ea43a275d570e895f880ee2467c1725"></a><!-- doxytag: member="Gtk::FontSelection::get_font_entry" ref="2ea43a275d570e895f880ee2467c1725" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::FontSelection::get_font_entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="210af55e59052f84550b61cb43c7233b"></a><!-- doxytag: member="Gtk::FontSelection::get_font_name" ref="210af55e59052f84550b61cb43c7233b" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::FontSelection::get_font_name </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the currently-selected font name. <p> Note that this can be a different string than what you set with <a class="el" href="classGtk_1_1FontSelection.html#adc6fb252b1a091ad77ed81bc94479e5">set_font_name()</a>, as the font selection widget may normalize font names and thus return a string with a different structure. For example, "Helvetica Italic Bold 12" could be normalized to "Helvetica Bold Italic 12". Use pango_font_description_equal() if you want to compare two font descriptions. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A string with the name of the current font, or #<code>0</code> if no font is selected. You must free this string with Glib::free(). </dd></dl> </div> </div><p> <a class="anchor" name="0cda4badcf7435f501c338b80f98f098"></a><!-- doxytag: member="Gtk::FontSelection::get_font_style_entry" ref="0cda4badcf7435f501c338b80f98f098" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::FontSelection::get_font_style_entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="19e28b7bae0e9e0160c3ac967f8adab5"></a><!-- doxytag: member="Gtk::FontSelection::get_font_style_entry" ref="19e28b7bae0e9e0160c3ac967f8adab5" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::FontSelection::get_font_style_entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="ff0e350b02d21e4d3b8818ffc13e1d50"></a><!-- doxytag: member="Gtk::FontSelection::get_pixels_button" ref="ff0e350b02d21e4d3b8818ffc13e1d50" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1RadioButton.html">RadioButton</a>* Gtk::FontSelection::get_pixels_button </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="54d5be93a73f065b877cd93a023efff0"></a><!-- doxytag: member="Gtk::FontSelection::get_pixels_button" ref="54d5be93a73f065b877cd93a023efff0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1RadioButton.html">RadioButton</a>* Gtk::FontSelection::get_pixels_button </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="635beb32d37ab8d778b1fce83f611823"></a><!-- doxytag: member="Gtk::FontSelection::get_points_button" ref="635beb32d37ab8d778b1fce83f611823" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1RadioButton.html">RadioButton</a>* Gtk::FontSelection::get_points_button </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="b4452a551f395c940d48bc33f96060db"></a><!-- doxytag: member="Gtk::FontSelection::get_points_button" ref="b4452a551f395c940d48bc33f96060db" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1RadioButton.html">RadioButton</a>* Gtk::FontSelection::get_points_button </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="9cfc0f9c3d7da087a13a21f7a7a1610a"></a><!-- doxytag: member="Gtk::FontSelection::get_preview_entry" ref="9cfc0f9c3d7da087a13a21f7a7a1610a" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::FontSelection::get_preview_entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="6fd691a0e1081c68ec930ae98fb95e3e"></a><!-- doxytag: member="Gtk::FontSelection::get_preview_entry" ref="6fd691a0e1081c68ec930ae98fb95e3e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::FontSelection::get_preview_entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="776ba2c85989ba994a045aa9b49ba8c2"></a><!-- doxytag: member="Gtk::FontSelection::get_preview_text" ref="776ba2c85989ba994a045aa9b49ba8c2" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::FontSelection::get_preview_text </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="ca50f2dedcece25a74f21ed97ebb21b1"></a><!-- doxytag: member="Gtk::FontSelection::get_size_entry" ref="ca50f2dedcece25a74f21ed97ebb21b1" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::FontSelection::get_size_entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="d2adc2700339ab1e8c775d729592c993"></a><!-- doxytag: member="Gtk::FontSelection::get_size_entry" ref="d2adc2700339ab1e8c775d729592c993" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::FontSelection::get_size_entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="3b0c5af5c4190129499dc1edf87a8a35"></a><!-- doxytag: member="Gtk::FontSelection::gobj" ref="3b0c5af5c4190129499dc1edf87a8a35" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkFontSelection* Gtk::FontSelection::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 GtkObject. <p> <p> Reimplemented from <a class="el" href="classGtk_1_1VBox.html#6fae1554da5bffdfefbb6dad85d05afb">Gtk::VBox</a>. </div> </div><p> <a class="anchor" name="03554fdbf28e7fdbfa1aeaff4fe68879"></a><!-- doxytag: member="Gtk::FontSelection::gobj" ref="03554fdbf28e7fdbfa1aeaff4fe68879" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkFontSelection* Gtk::FontSelection::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 GtkObject. <p> <p> Reimplemented from <a class="el" href="classGtk_1_1VBox.html#4e6ed5a59c876487524d4c0af1162f31">Gtk::VBox</a>. </div> </div><p> <a class="anchor" name="9fa0a199dbade9ffad113076bc10ad10"></a><!-- doxytag: member="Gtk::FontSelection::property_font_name" ref="9fa0a199dbade9ffad113076bc10ad10" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::FontSelection::property_font_name </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> The X string that represents this font. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="cedcda36784874454ef785d517cd44c2"></a><!-- doxytag: member="Gtk::FontSelection::property_font_name" ref="cedcda36784874454ef785d517cd44c2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::FontSelection::property_font_name </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> The X string that represents this font. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="ba4a6958668124ed4bfd8c8bf1e2b1a1"></a><!-- doxytag: member="Gtk::FontSelection::property_preview_text" ref="ba4a6958668124ed4bfd8c8bf1e2b1a1" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::FontSelection::property_preview_text </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> The text to display in order to demonstrate the selected font. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="aaa7eac6a423cbf25c0df61e6fb8bf70"></a><!-- doxytag: member="Gtk::FontSelection::property_preview_text" ref="aaa7eac6a423cbf25c0df61e6fb8bf70" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::FontSelection::property_preview_text </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> The text to display in order to demonstrate the selected font. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="adc6fb252b1a091ad77ed81bc94479e5"></a><!-- doxytag: member="Gtk::FontSelection::set_font_name" ref="adc6fb252b1a091ad77ed81bc94479e5" args="(const Glib::ustring &fontname)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::FontSelection::set_font_name </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>fontname</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the currently-selected font. <p> Note that the <em>fontsel</em> needs to know the screen in which it will appear for this to work; this can be guaranteed by simply making sure that the <em>fontsel</em> is inserted in a toplevel window before you call this function. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>fontname</em> </td><td>A font name like "Helvetica 12" or "Times Bold 18". </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>#<code>true</code> if the font could be set successfully; #<code>false</code> if no such font exists or if the <em>fontsel</em> doesn't belong to a particular screen yet. </dd></dl> </div> </div><p> <a class="anchor" name="9a4a5d06f2faf649be9219d0c065b4be"></a><!-- doxytag: member="Gtk::FontSelection::set_preview_text" ref="9a4a5d06f2faf649be9219d0c065b4be" args="(const Glib::ustring &fontname)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FontSelection::set_preview_text </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>fontname</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="ab3b732a9ae8467ad4e200dc188b0327"></a><!-- doxytag: member="Gtk::FontSelection::wrap" ref="ab3b732a9ae8467ad4e200dc188b0327" args="(GtkFontSelection *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1FontSelection.html">Gtk::FontSelection</a>* wrap </td> <td>(</td> <td class="paramtype">GtkFontSelection * </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> A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="fontselection_8h.html">fontselection.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>