<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.7"/> <title>gtkmm: Gtk::FontChooser Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm  <span id="projectnumber">3.14.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.7 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a></li><li class="navelem"><a class="el" href="classGtk_1_1FontChooser.html">FontChooser</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> | <a href="classGtk_1_1FontChooser-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gtk::FontChooser Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>An interface implemented by widgets displaying fonts. <a href="classGtk_1_1FontChooser.html#details">More...</a></p> <p><code>#include <gtkmm/fontchooser.h></code></p> <div class="dynheader"> Inheritance diagram for Gtk::FontChooser:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1FontChooser__inherit__graph.png" border="0" usemap="#Gtk_1_1FontChooser_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1FontChooser_inherit__map" id="Gtk_1_1FontChooser_inherit__map"> <area shape="rect" id="node5" href="classGtk_1_1FontChooserDialog.html" title="A dialog box for selecting fonts. " alt="" coords="5,304,179,331"/><area shape="rect" id="node6" href="classGtk_1_1FontChooserWidget.html" title="A dialog box for selecting fonts. " alt="" coords="203,304,379,331"/><area shape="rect" id="node2" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="135,155,245,181"/><area shape="rect" id="node3" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="127,80,253,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="133,5,248,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:a1d866e4ded5c6c3bb052de2629090637"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< bool, <br class="typebreak" /> const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <br class="typebreak" /> <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> > &, const <br class="typebreak" /> <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <br class="typebreak" /> <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> >& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a1d866e4ded5c6c3bb052de2629090637">SlotFontFilter</a></td></tr> <tr class="memdesc:a1d866e4ded5c6c3bb052de2629090637"><td class="mdescLeft"> </td><td class="mdescRight">Font filter callback. <a href="#a1d866e4ded5c6c3bb052de2629090637">More...</a><br /></td></tr> <tr class="separator:a1d866e4ded5c6c3bb052de2629090637"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a1d66a16b9ef581e30bdc1ad9f0935bba"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a1d66a16b9ef581e30bdc1ad9f0935bba">~FontChooser</a> ()</td></tr> <tr class="separator:a1d66a16b9ef581e30bdc1ad9f0935bba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9cc5f92a16eb752cb3ffa4961fce39e6"><td class="memItemLeft" align="right" valign="top">GtkFontChooser* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a9cc5f92a16eb752cb3ffa4961fce39e6">gobj</a> ()</td></tr> <tr class="memdesc:a9cc5f92a16eb752cb3ffa4961fce39e6"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a9cc5f92a16eb752cb3ffa4961fce39e6">More...</a><br /></td></tr> <tr class="separator:a9cc5f92a16eb752cb3ffa4961fce39e6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aec8bb59f698846f0f41742b96dc2df14"><td class="memItemLeft" align="right" valign="top">const GtkFontChooser* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#aec8bb59f698846f0f41742b96dc2df14">gobj</a> () const </td></tr> <tr class="memdesc:aec8bb59f698846f0f41742b96dc2df14"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aec8bb59f698846f0f41742b96dc2df14">More...</a><br /></td></tr> <tr class="separator:aec8bb59f698846f0f41742b96dc2df14"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a64362a3f656863f6942078ae7f468a68"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a64362a3f656863f6942078ae7f468a68">get_font_family</a> ()</td></tr> <tr class="memdesc:a64362a3f656863f6942078ae7f468a68"><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> representing the selected font family. <a href="#a64362a3f656863f6942078ae7f468a68">More...</a><br /></td></tr> <tr class="separator:a64362a3f656863f6942078ae7f468a68"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4a4f6226ba15f2f045098cd6efbe6518"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <br class="typebreak" /> <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a4a4f6226ba15f2f045098cd6efbe6518">get_font_family</a> () const </td></tr> <tr class="memdesc:a4a4f6226ba15f2f045098cd6efbe6518"><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> representing the selected font family. <a href="#a4a4f6226ba15f2f045098cd6efbe6518">More...</a><br /></td></tr> <tr class="separator:a4a4f6226ba15f2f045098cd6efbe6518"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a991504864d434bd410fb99aa0dd6127f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a991504864d434bd410fb99aa0dd6127f">get_font_face</a> ()</td></tr> <tr class="memdesc:a991504864d434bd410fb99aa0dd6127f"><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> representing the selected font group details (i.e. family, slant, weight, width, etc). <a href="#a991504864d434bd410fb99aa0dd6127f">More...</a><br /></td></tr> <tr class="separator:a991504864d434bd410fb99aa0dd6127f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8290fc43b12ba461f46e6464755b742d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <br class="typebreak" /> <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a8290fc43b12ba461f46e6464755b742d">get_font_face</a> () const </td></tr> <tr class="memdesc:a8290fc43b12ba461f46e6464755b742d"><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> representing the selected font group details (i.e. family, slant, weight, width, etc). <a href="#a8290fc43b12ba461f46e6464755b742d">More...</a><br /></td></tr> <tr class="separator:a8290fc43b12ba461f46e6464755b742d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af18d91692a0fc4c8eaa27694aac04c7d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#af18d91692a0fc4c8eaa27694aac04c7d">get_font_size</a> () const </td></tr> <tr class="memdesc:af18d91692a0fc4c8eaa27694aac04c7d"><td class="mdescLeft"> </td><td class="mdescRight">The selected font size. <a href="#af18d91692a0fc4c8eaa27694aac04c7d">More...</a><br /></td></tr> <tr class="separator:af18d91692a0fc4c8eaa27694aac04c7d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7d72c92508a7880d0b68fc6bebb35b5c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a7d72c92508a7880d0b68fc6bebb35b5c">get_font_desc</a> () const </td></tr> <tr class="memdesc:a7d72c92508a7880d0b68fc6bebb35b5c"><td class="mdescLeft"> </td><td class="mdescRight">Gets the currently-selected font. <a href="#a7d72c92508a7880d0b68fc6bebb35b5c">More...</a><br /></td></tr> <tr class="separator:a7d72c92508a7880d0b68fc6bebb35b5c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a98b062d4948f505ba4f7778bad7d6884"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a98b062d4948f505ba4f7778bad7d6884">set_font_desc</a> (const <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a>& font_desc)</td></tr> <tr class="memdesc:a98b062d4948f505ba4f7778bad7d6884"><td class="mdescLeft"> </td><td class="mdescRight">Sets the currently-selected font from <em>font_desc</em>. <a href="#a98b062d4948f505ba4f7778bad7d6884">More...</a><br /></td></tr> <tr class="separator:a98b062d4948f505ba4f7778bad7d6884"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a27f5de411b689a171ca9796ed6352e65"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a27f5de411b689a171ca9796ed6352e65">get_font</a> () const </td></tr> <tr class="memdesc:a27f5de411b689a171ca9796ed6352e65"><td class="mdescLeft"> </td><td class="mdescRight">Gets the currently-selected font name. <a href="#a27f5de411b689a171ca9796ed6352e65">More...</a><br /></td></tr> <tr class="separator:a27f5de411b689a171ca9796ed6352e65"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ada0c489c1d5db96e1206a1ea7949c347"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#ada0c489c1d5db96e1206a1ea7949c347">set_font</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& fontname)</td></tr> <tr class="memdesc:ada0c489c1d5db96e1206a1ea7949c347"><td class="mdescLeft"> </td><td class="mdescRight">Sets the currently-selected font. <a href="#ada0c489c1d5db96e1206a1ea7949c347">More...</a><br /></td></tr> <tr class="separator:ada0c489c1d5db96e1206a1ea7949c347"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2373686645c05ffc9bfccc73833c3681"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a2373686645c05ffc9bfccc73833c3681">get_preview_text</a> () const </td></tr> <tr class="memdesc:a2373686645c05ffc9bfccc73833c3681"><td class="mdescLeft"> </td><td class="mdescRight">Gets the text displayed in the preview area. <a href="#a2373686645c05ffc9bfccc73833c3681">More...</a><br /></td></tr> <tr class="separator:a2373686645c05ffc9bfccc73833c3681"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1dbd58bbd3e4c227b4dba0343154f799"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a1dbd58bbd3e4c227b4dba0343154f799">set_preview_text</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr> <tr class="memdesc:a1dbd58bbd3e4c227b4dba0343154f799"><td class="mdescLeft"> </td><td class="mdescRight">Sets the text displayed in the preview area. <a href="#a1dbd58bbd3e4c227b4dba0343154f799">More...</a><br /></td></tr> <tr class="separator:a1dbd58bbd3e4c227b4dba0343154f799"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0e6e1a7e14ff17196912b554a3431454"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a0e6e1a7e14ff17196912b554a3431454">get_show_preview_entry</a> () const </td></tr> <tr class="memdesc:a0e6e1a7e14ff17196912b554a3431454"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the preview entry is shown or not. <a href="#a0e6e1a7e14ff17196912b554a3431454">More...</a><br /></td></tr> <tr class="separator:a0e6e1a7e14ff17196912b554a3431454"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aed67ddac067b35f98484c6de4aab6bf8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#aed67ddac067b35f98484c6de4aab6bf8">set_show_preview_entry</a> (bool show_preview_entry=true)</td></tr> <tr class="memdesc:aed67ddac067b35f98484c6de4aab6bf8"><td class="mdescLeft"> </td><td class="mdescRight">Shows or hides the editable preview entry. <a href="#aed67ddac067b35f98484c6de4aab6bf8">More...</a><br /></td></tr> <tr class="separator:aed67ddac067b35f98484c6de4aab6bf8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa488584641a100e69623c12f7a088643"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#aa488584641a100e69623c12f7a088643">set_filter_func</a> (const <a class="el" href="classGtk_1_1FontChooser.html#a1d866e4ded5c6c3bb052de2629090637">SlotFontFilter</a>& slot)</td></tr> <tr class="memdesc:aa488584641a100e69623c12f7a088643"><td class="mdescLeft"> </td><td class="mdescRight">Adds a filter function that decides which fonts to display in the font chooser. <a href="#aa488584641a100e69623c12f7a088643">More...</a><br /></td></tr> <tr class="separator:aa488584641a100e69623c12f7a088643"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7b4e26bc6d38e3614c0836c1d56d8e48"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void, <br class="typebreak" /> const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a7b4e26bc6d38e3614c0836c1d56d8e48">signal_font_activated</a> ()</td></tr> <tr class="separator:a7b4e26bc6d38e3614c0836c1d56d8e48"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a474bc7fb3f5a9253d7211c6ece954302"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a474bc7fb3f5a9253d7211c6ece954302">property_font</a> ()</td></tr> <tr class="memdesc:a474bc7fb3f5a9253d7211c6ece954302"><td class="mdescLeft"> </td><td class="mdescRight">Font description as a string, e.g. <a href="#a474bc7fb3f5a9253d7211c6ece954302">More...</a><br /></td></tr> <tr class="separator:a474bc7fb3f5a9253d7211c6ece954302"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a678c2245e48f35486d3d29d9fe9ab8d2"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a678c2245e48f35486d3d29d9fe9ab8d2">property_font</a> () const </td></tr> <tr class="memdesc:a678c2245e48f35486d3d29d9fe9ab8d2"><td class="mdescLeft"> </td><td class="mdescRight">Font description as a string, e.g. <a href="#a678c2245e48f35486d3d29d9fe9ab8d2">More...</a><br /></td></tr> <tr class="separator:a678c2245e48f35486d3d29d9fe9ab8d2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8492ae219109f29ba6a5f7abb115f1f6"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a8492ae219109f29ba6a5f7abb115f1f6">property_font_desc</a> ()</td></tr> <tr class="memdesc:a8492ae219109f29ba6a5f7abb115f1f6"><td class="mdescLeft"> </td><td class="mdescRight">Font description as a PangoFontDescription struct. <a href="#a8492ae219109f29ba6a5f7abb115f1f6">More...</a><br /></td></tr> <tr class="separator:a8492ae219109f29ba6a5f7abb115f1f6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf3c40d079c12572aa8cd298d5ae49be"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#acf3c40d079c12572aa8cd298d5ae49be">property_font_desc</a> () const </td></tr> <tr class="memdesc:acf3c40d079c12572aa8cd298d5ae49be"><td class="mdescLeft"> </td><td class="mdescRight">Font description as a PangoFontDescription struct. <a href="#acf3c40d079c12572aa8cd298d5ae49be">More...</a><br /></td></tr> <tr class="separator:acf3c40d079c12572aa8cd298d5ae49be"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa0a8064352e161ac8d388322a5d10995"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#aa0a8064352e161ac8d388322a5d10995">property_preview_text</a> ()</td></tr> <tr class="memdesc:aa0a8064352e161ac8d388322a5d10995"><td class="mdescLeft"> </td><td class="mdescRight">The text to display in order to demonstrate the selected font. <a href="#aa0a8064352e161ac8d388322a5d10995">More...</a><br /></td></tr> <tr class="separator:aa0a8064352e161ac8d388322a5d10995"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a09e4901545357a6a99b45502b4a8d7be"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a09e4901545357a6a99b45502b4a8d7be">property_preview_text</a> () const </td></tr> <tr class="memdesc:a09e4901545357a6a99b45502b4a8d7be"><td class="mdescLeft"> </td><td class="mdescRight">The text to display in order to demonstrate the selected font. <a href="#a09e4901545357a6a99b45502b4a8d7be">More...</a><br /></td></tr> <tr class="separator:a09e4901545357a6a99b45502b4a8d7be"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1d027dd9274e56180ef953bf9af4722c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a1d027dd9274e56180ef953bf9af4722c">property_show_preview_entry</a> ()</td></tr> <tr class="memdesc:a1d027dd9274e56180ef953bf9af4722c"><td class="mdescLeft"> </td><td class="mdescRight">Whether the preview text entry is shown or not. <a href="#a1d027dd9274e56180ef953bf9af4722c">More...</a><br /></td></tr> <tr class="separator:a1d027dd9274e56180ef953bf9af4722c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4315fb0b9556e8e95c222ac118edd137"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a4315fb0b9556e8e95c222ac118edd137">property_show_preview_entry</a> () const </td></tr> <tr class="memdesc:a4315fb0b9556e8e95c222ac118edd137"><td class="mdescLeft"> </td><td class="mdescRight">Whether the preview text entry is shown or not. <a href="#a4315fb0b9556e8e95c222ac118edd137">More...</a><br /></td></tr> <tr class="separator:a4315fb0b9556e8e95c222ac118edd137"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a0656ed5bb2b8fb8f707a92adac5db5e4"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a0656ed5bb2b8fb8f707a92adac5db5e4">add_interface</a> (GType gtype_implementer)</td></tr> <tr class="separator:a0656ed5bb2b8fb8f707a92adac5db5e4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaaf938698c499a71f05ed0bbe018acaf"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#aaaf938698c499a71f05ed0bbe018acaf">get_type</a> ()</td></tr> <tr class="memdesc:aaaf938698c499a71f05ed0bbe018acaf"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#aaaf938698c499a71f05ed0bbe018acaf">More...</a><br /></td></tr> <tr class="separator:aaaf938698c499a71f05ed0bbe018acaf"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:a4fca6404b7b466bdc555ed2222fdb842"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a4fca6404b7b466bdc555ed2222fdb842">FontChooser</a> ()</td></tr> <tr class="memdesc:a4fca6404b7b466bdc555ed2222fdb842"><td class="mdescLeft"> </td><td class="mdescRight">You should derive from this class to use it. <a href="#a4fca6404b7b466bdc555ed2222fdb842">More...</a><br /></td></tr> <tr class="separator:a4fca6404b7b466bdc555ed2222fdb842"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr class="memitem:a70702ac78bf73669022957a4f2837037"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1FontChooser.html">Gtk::FontChooser</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a70702ac78bf73669022957a4f2837037">wrap</a> (GtkFontChooser* object, bool take_copy=false)</td></tr> <tr class="memdesc:a70702ac78bf73669022957a4f2837037"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a70702ac78bf73669022957a4f2837037">More...</a><br /></td></tr> <tr class="separator:a70702ac78bf73669022957a4f2837037"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>An interface implemented by widgets displaying fonts. </p> <p><a class="el" href="classGtk_1_1FontChooser.html" title="An interface implemented by widgets displaying fonts. ">FontChooser</a> widgets list the available fonts, styles and sizes, allowing the user to select a font.</p> <p>To set the font which is initially selected, use set_font_name().</p> <p>To get the selected font use get_font_name().</p> <p>To change the text which is shown in the preview area, use <a class="el" href="classGtk_1_1FontChooser.html#a1dbd58bbd3e4c227b4dba0343154f799" title="Sets the text displayed in the preview area. ">set_preview_text()</a>.</p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000014">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a class="anchor" id="a1d866e4ded5c6c3bb052de2629090637"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a><bool, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a>>&, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a>>&> <a class="el" href="classGtk_1_1FontChooser.html#a1d866e4ded5c6c3bb052de2629090637">Gtk::FontChooser::SlotFontFilter</a></td> </tr> </table> </div><div class="memdoc"> <p>Font filter callback. </p> <p>For instance, </p><div class="fragment"><div class="line"><span class="keywordtype">bool</span> on_font_fitler(<span class="keyword">const</span> <a class="codeRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr<const Pango::FontFamily></a>& font_family, <span class="keyword">const</span> <a class="codeRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr<const Pango::FontFace></a>& font_face);</div> </div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">font_family</td><td>A <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/namespacePango.html">Pango</a> FontFamily. </td></tr> <tr><td class="paramname">font_face</td><td>A Font Face belonging to the <em>font_family</em>. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the font should be displayed.</dd></dl> <p>This is used for deciding what fonts should be shown in a <a class="el" href="classGtk_1_1FontChooser.html" title="An interface implemented by widgets displaying fonts. ">FontChooser</a>. See <a class="el" href="classGtk_1_1FontChooser.html#aa488584641a100e69623c12f7a088643" title="Adds a filter function that decides which fonts to display in the font chooser. ">set_filter_func()</a>.</p> <dl class="since_3_4"><dt><b><a class="el" href="since_3_4.html#_since_3_4000054">Since gtkmm 3.4:</a></b></dt><dd></dd></dl> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a4fca6404b7b466bdc555ed2222fdb842"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gtk::FontChooser::FontChooser </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>You should derive from this class to use it. </p> </div> </div> <a class="anchor" id="a1d66a16b9ef581e30bdc1ad9f0935bba"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Gtk::FontChooser::~FontChooser </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a0656ed5bb2b8fb8f707a92adac5db5e4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static void Gtk::FontChooser::add_interface </td> <td>(</td> <td class="paramtype">GType </td> <td class="paramname"><em>gtype_implementer</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a27f5de411b689a171ca9796ed6352e65"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::FontChooser::get_font </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the currently-selected font name. </p> <p>Note that this can be a different string than what you set with <a class="el" href="classGtk_1_1FontChooser.html#ada0c489c1d5db96e1206a1ea7949c347" title="Sets the currently-selected font. ">set_font()</a>, as the font chooser 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”.</p> <p>Use pango_font_description_equal() if you want to compare two font descriptions.</p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000022">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</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> <a class="anchor" id="a7d72c92508a7880d0b68fc6bebb35b5c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a> Gtk::FontChooser::get_font_desc </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the currently-selected font. </p> <p>Note that this can be a different string than what you set with <a class="el" href="classGtk_1_1FontChooser.html#ada0c489c1d5db96e1206a1ea7949c347" title="Sets the currently-selected font. ">set_font()</a>, as the font chooser 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”.</p> <p>Use pango_font_description_equal() if you want to compare two font descriptions.</p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000020">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a> for the current font, or <code>0</code> if no font is selected. </dd></dl> </div> </div> <a class="anchor" id="a991504864d434bd410fb99aa0dd6127f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a>> Gtk::FontChooser::get_font_face </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Gets the <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> representing the selected font group details (i.e. family, slant, weight, width, etc). </p> <p>If the selected font is not installed, returns <code>0</code>.</p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000017">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> representing the selected font group details, or <code>0</code>. The returned object is owned by <em>fontchooser</em> and must not be modified or freed. </dd></dl> </div> </div> <a class="anchor" id="a8290fc43b12ba461f46e6464755b742d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a>> Gtk::FontChooser::get_font_face </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> representing the selected font group details (i.e. family, slant, weight, width, etc). </p> <p>If the selected font is not installed, returns <code>0</code>.</p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000018">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> representing the selected font group details, or <code>0</code>. The returned object is owned by <em>fontchooser</em> and must not be modified or freed. </dd></dl> </div> </div> <a class="anchor" id="a64362a3f656863f6942078ae7f468a68"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a>> Gtk::FontChooser::get_font_family </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Gets the <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> representing the selected font family. </p> <p>Font families are a collection of font faces.</p> <p>If the selected font is not installed, returns <code>0</code>.</p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000015">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> representing the selected font family, or <code>0</code>. The returned object is owned by <em>fontchooser</em> and must not be modified or freed. </dd></dl> </div> </div> <a class="anchor" id="a4a4f6226ba15f2f045098cd6efbe6518"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a>> Gtk::FontChooser::get_font_family </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> representing the selected font family. </p> <p>Font families are a collection of font faces.</p> <p>If the selected font is not installed, returns <code>0</code>.</p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000016">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> representing the selected font family, or <code>0</code>. The returned object is owned by <em>fontchooser</em> and must not be modified or freed. </dd></dl> </div> </div> <a class="anchor" id="af18d91692a0fc4c8eaa27694aac04c7d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gtk::FontChooser::get_font_size </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>The selected font size. </p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000019">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A n integer representing the selected font size, or -1 if no font size is selected. </dd></dl> </div> </div> <a class="anchor" id="a2373686645c05ffc9bfccc73833c3681"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::FontChooser::get_preview_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the text displayed in the preview area. </p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000024">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The text displayed in the preview area. </dd></dl> </div> </div> <a class="anchor" id="a0e6e1a7e14ff17196912b554a3431454"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::FontChooser::get_show_preview_entry </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether the preview entry is shown or not. </p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000026">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if the preview entry is shown or <code>false</code> if it is hidden. </dd></dl> </div> </div> <a class="anchor" id="aaaf938698c499a71f05ed0bbe018acaf"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static GType Gtk::FontChooser::get_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the GType for this class, for use with the underlying GObject type system. </p> </div> </div> <a class="anchor" id="a9cc5f92a16eb752cb3ffa4961fce39e6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GtkFontChooser* Gtk::FontChooser::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="aec8bb59f698846f0f41742b96dc2df14"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GtkFontChooser* Gtk::FontChooser::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="a474bc7fb3f5a9253d7211c6ece954302"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > Gtk::FontChooser::property_font </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Font description as a string, e.g. </p> <p>'Sans Italic 12'.</p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a678c2245e48f35486d3d29d9fe9ab8d2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > Gtk::FontChooser::property_font </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Font description as a string, e.g. </p> <p>'Sans Italic 12'.</p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a8492ae219109f29ba6a5f7abb115f1f6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a> > Gtk::FontChooser::property_font_desc </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Font description as a PangoFontDescription struct. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="acf3c40d079c12572aa8cd298d5ae49be"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a> > Gtk::FontChooser::property_font_desc </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Font description as a PangoFontDescription struct. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="aa0a8064352e161ac8d388322a5d10995"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > Gtk::FontChooser::property_preview_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>The text to display in order to demonstrate the selected font. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a09e4901545357a6a99b45502b4a8d7be"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > Gtk::FontChooser::property_preview_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>The text to display in order to demonstrate the selected font. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a1d027dd9274e56180ef953bf9af4722c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > Gtk::FontChooser::property_show_preview_entry </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Whether the preview text entry is shown or not. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a4315fb0b9556e8e95c222ac118edd137"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< bool > Gtk::FontChooser::property_show_preview_entry </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Whether the preview text entry is shown or not. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="aa488584641a100e69623c12f7a088643"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FontChooser::set_filter_func </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1FontChooser.html#a1d866e4ded5c6c3bb052de2629090637">SlotFontFilter</a>& </td> <td class="paramname"><em>slot</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Adds a filter function that decides which fonts to display in the font chooser. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">slot</td><td>A callback, to be called for each font.</td></tr> </table> </dd> </dl> <dl class="since_3_4"><dt><b><a class="el" href="since_3_4.html#_since_3_4000055">Since gtkmm 3.4:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="ada0c489c1d5db96e1206a1ea7949c347"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FontChooser::set_font </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>fontname</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the currently-selected font. </p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000023">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">fontname</td><td>A font name like “Helvetica 12” or “Times Bold 18”. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a98b062d4948f505ba4f7778bad7d6884"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FontChooser::set_font_desc </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a> & </td> <td class="paramname"><em>font_desc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the currently-selected font from <em>font_desc</em>. </p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000021">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">font_desc</td><td>A <a class="elRef" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a>. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a1dbd58bbd3e4c227b4dba0343154f799"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FontChooser::set_preview_text </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the text displayed in the preview area. </p> <p>The <em>text</em> is used to show how the selected font looks.</p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000025">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The text to display in the preview area. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="aed67ddac067b35f98484c6de4aab6bf8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FontChooser::set_show_preview_entry </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>show_preview_entry</em> = <code>true</code></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Shows or hides the editable preview entry. </p> <dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000027">Since gtkmm 3.2:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">show_preview_entry</td><td>Whether to show the editable preview entry or not. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a7b4e26bc6d38e3614c0836c1d56d8e48"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void,const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& > Gtk::FontChooser::signal_font_activated </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_font_activated(const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& fontname)</code></dd></dl> <p>Emitted when a font is activated. This usually happens when the user double clicks an item, or an item is selected and the user presses one of the keys Space, Shift+Space, Return or Enter.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">fontname</td><td>The font name. </td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a class="anchor" id="a70702ac78bf73669022957a4f2837037"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1FontChooser.html">Gtk::FontChooser</a> > wrap </td> <td>(</td> <td class="paramtype">GtkFontChooser * </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> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</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="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Sep 23 2014 12:59:20 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.7 </small></address> </body> </html>