~ubuntu-branches/ubuntu/quantal/gtkmm3.0/quantal

« back to all changes in this revision

Viewing changes to docs/reference/html/classGtk_1_1FontChooser.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-03-01 23:42:36 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120301234236-12w6m0hkomhi7h53
Tags: 3.3.16-0ubuntu1
* New upstream version
* debian/control.in: updated the glib requirement

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 <tbody>
15
15
 <tr style="height: 56px;">
16
16
  <td style="padding-left: 0.5em;">
17
 
   <div id="projectname">gtkmm&#160;<span id="projectnumber">3.3.14</span></div>
 
17
   <div id="projectname">gtkmm&#160;<span id="projectnumber">3.3.16</span></div>
18
18
  </td>
19
19
 </tr>
20
20
 </tbody>
73
73
<tr><td class="memItemLeft" align="right" valign="top">const GtkFontChooser*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#aec8bb59f698846f0f41742b96dc2df14">gobj</a> () const </td></tr>
74
74
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aec8bb59f698846f0f41742b96dc2df14"></a><br/></td></tr>
75
75
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a64362a3f656863f6942078ae7f468a68">get_font_family</a> ()</td></tr>
 
76
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> representing the selected font family. <a href="#a64362a3f656863f6942078ae7f468a68"></a><br/></td></tr>
76
77
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <br class="typebreak"/>
77
78
<a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a4a4f6226ba15f2f045098cd6efbe6518">get_font_family</a> () const </td></tr>
 
79
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> representing the selected font family. <a href="#a4a4f6226ba15f2f045098cd6efbe6518"></a><br/></td></tr>
78
80
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a991504864d434bd410fb99aa0dd6127f">get_font_face</a> ()</td></tr>
 
81
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" 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"></a><br/></td></tr>
79
82
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <br class="typebreak"/>
80
83
<a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFace.html">Pango::FontFace</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a8290fc43b12ba461f46e6464755b742d">get_font_face</a> () const </td></tr>
 
84
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" 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"></a><br/></td></tr>
81
85
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#af18d91692a0fc4c8eaa27694aac04c7d">get_font_size</a> () const </td></tr>
 
86
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The selected font size. <a href="#af18d91692a0fc4c8eaa27694aac04c7d"></a><br/></td></tr>
82
87
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a7d72c92508a7880d0b68fc6bebb35b5c">get_font_desc</a> () const </td></tr>
 
88
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the currently-selected font. <a href="#a7d72c92508a7880d0b68fc6bebb35b5c"></a><br/></td></tr>
83
89
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a98b062d4948f505ba4f7778bad7d6884">set_font_desc</a> (const <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a>&amp; font_desc)</td></tr>
 
90
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the currently-selected font from <em>font_desc</em>. <a href="#a98b062d4948f505ba4f7778bad7d6884"></a><br/></td></tr>
84
91
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a27f5de411b689a171ca9796ed6352e65">get_font</a> () const </td></tr>
 
92
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the currently-selected font name. <a href="#a27f5de411b689a171ca9796ed6352e65"></a><br/></td></tr>
85
93
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#ad7e75f7b133e9c981d25a21cb4418b8e">set_font</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; font)</td></tr>
 
94
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the currently-selected font. <a href="#ad7e75f7b133e9c981d25a21cb4418b8e"></a><br/></td></tr>
86
95
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a2373686645c05ffc9bfccc73833c3681">get_preview_text</a> () const </td></tr>
 
96
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the text displayed in the preview area. <a href="#a2373686645c05ffc9bfccc73833c3681"></a><br/></td></tr>
87
97
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#ab05b39f7160453dff2e905875d3753d4">set_preview_text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; fontname)</td></tr>
 
98
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the text displayed in the preview area. <a href="#ab05b39f7160453dff2e905875d3753d4"></a><br/></td></tr>
88
99
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a0e6e1a7e14ff17196912b554a3431454">get_show_preview_entry</a> () const </td></tr>
 
100
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the preview entry is shown or not. <a href="#a0e6e1a7e14ff17196912b554a3431454"></a><br/></td></tr>
89
101
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</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>
 
102
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Shows or hides the editable preview entry. <a href="#aed67ddac067b35f98484c6de4aab6bf8"></a><br/></td></tr>
90
103
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
91
104
Static Public Member Functions</h2></td></tr>
92
105
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FontChooser.html#a0656ed5bb2b8fb8f707a92adac5db5e4">add_interface</a> (GType gtype_implementer)</td></tr>
102
115
<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>
103
116
<p>To set the font which is initially selected, use set_font_name().</p>
104
117
<p>To get the selected font use get_font_name().</p>
105
 
<p>To change the text which is shown in the preview area, use <a class="el" href="classGtk_1_1FontChooser.html#ab05b39f7160453dff2e905875d3753d4">set_preview_text()</a>.</p>
106
 
<dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000009">Since gtkmm 3.2:</a></b></dt><dd></dd></dl>
 
118
<p>To change the text which is shown in the preview area, use <a class="el" href="classGtk_1_1FontChooser.html#ab05b39f7160453dff2e905875d3753d4" title="Sets the text displayed in the preview area.">set_preview_text()</a>.</p>
 
119
<dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000012">Since gtkmm 3.2:</a></b></dt><dd></dd></dl>
107
120
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
108
121
<a class="anchor" id="a1d66a16b9ef581e30bdc1ad9f0935bba"></a><!-- doxytag: member="Gtk::FontChooser::~FontChooser" ref="a1d66a16b9ef581e30bdc1ad9f0935bba" args="()" -->
109
122
<div class="memitem">
153
166
</div>
154
167
<div class="memdoc">
155
168
 
 
169
<p>Gets the currently-selected font name. </p>
 
170
<p>Note that this can be a different string than what you set with <a class="el" href="classGtk_1_1FontChooser.html#ad7e75f7b133e9c981d25a21cb4418b8e" 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>
 
171
<p>Use pango_font_description_equal() if you want to compare two font descriptions.</p>
 
172
<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>
 
173
<dl class="return"><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>
 
174
 
156
175
</div>
157
176
</div>
158
177
<a class="anchor" id="a7d72c92508a7880d0b68fc6bebb35b5c"></a><!-- doxytag: member="Gtk::FontChooser::get_font_desc" ref="a7d72c92508a7880d0b68fc6bebb35b5c" args="() const " -->
169
188
</div>
170
189
<div class="memdoc">
171
190
 
 
191
<p>Gets the currently-selected font. </p>
 
192
<p>Note that this can be a different string than what you set with <a class="el" href="classGtk_1_1FontChooser.html#ad7e75f7b133e9c981d25a21cb4418b8e" 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>
 
193
<p>Use pango_font_description_equal() if you want to compare two font descriptions.</p>
 
194
<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>
 
195
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" 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>
 
196
 
172
197
</div>
173
198
</div>
174
199
<a class="anchor" id="a991504864d434bd410fb99aa0dd6127f"></a><!-- doxytag: member="Gtk::FontChooser::get_font_face" ref="a991504864d434bd410fb99aa0dd6127f" args="()" -->
185
210
</div>
186
211
<div class="memdoc">
187
212
 
 
213
<p>Gets the <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" 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>
 
214
<p>If the selected font is not installed, returns <code>0</code>.</p>
 
215
<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>
 
216
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" 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>
 
217
 
188
218
</div>
189
219
</div>
190
220
<a class="anchor" id="a8290fc43b12ba461f46e6464755b742d"></a><!-- doxytag: member="Gtk::FontChooser::get_font_face" ref="a8290fc43b12ba461f46e6464755b742d" args="() const " -->
201
231
</div>
202
232
<div class="memdoc">
203
233
 
 
234
<p>Gets the <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" 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>
 
235
<p>If the selected font is not installed, returns <code>0</code>.</p>
 
236
<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>
 
237
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" 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>
 
238
 
204
239
</div>
205
240
</div>
206
241
<a class="anchor" id="a64362a3f656863f6942078ae7f468a68"></a><!-- doxytag: member="Gtk::FontChooser::get_font_family" ref="a64362a3f656863f6942078ae7f468a68" args="()" -->
217
252
</div>
218
253
<div class="memdoc">
219
254
 
 
255
<p>Gets the <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> representing the selected font family. </p>
 
256
<p>Font families are a collection of font faces.</p>
 
257
<p>If the selected font is not installed, returns <code>0</code>.</p>
 
258
<dl class="since_3_2"><dt><b><a class="el" href="since_3_2.html#_since_3_2000013">Since gtkmm 3.2:</a></b></dt><dd></dd></dl>
 
259
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" 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>
 
260
 
220
261
</div>
221
262
</div>
222
263
<a class="anchor" id="a4a4f6226ba15f2f045098cd6efbe6518"></a><!-- doxytag: member="Gtk::FontChooser::get_font_family" ref="a4a4f6226ba15f2f045098cd6efbe6518" args="() const " -->
233
274
</div>
234
275
<div class="memdoc">
235
276
 
 
277
<p>Gets the <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontFamily.html">Pango::FontFamily</a> representing the selected font family. </p>
 
278
<p>Font families are a collection of font faces.</p>
 
279
<p>If the selected font is not installed, returns <code>0</code>.</p>
 
280
<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>
 
281
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" 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>
 
282
 
236
283
</div>
237
284
</div>
238
285
<a class="anchor" id="af18d91692a0fc4c8eaa27694aac04c7d"></a><!-- doxytag: member="Gtk::FontChooser::get_font_size" ref="af18d91692a0fc4c8eaa27694aac04c7d" args="() const " -->
249
296
</div>
250
297
<div class="memdoc">
251
298
 
 
299
<p>The selected font size. </p>
 
300
<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>
 
301
<dl class="return"><dt><b>Returns:</b></dt><dd>A n integer representing the selected font size, or -1 if no font size is selected. </dd></dl>
 
302
 
252
303
</div>
253
304
</div>
254
305
<a class="anchor" id="a2373686645c05ffc9bfccc73833c3681"></a><!-- doxytag: member="Gtk::FontChooser::get_preview_text" ref="a2373686645c05ffc9bfccc73833c3681" args="() const " -->
265
316
</div>
266
317
<div class="memdoc">
267
318
 
 
319
<p>Gets the text displayed in the preview area. </p>
 
320
<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>
 
321
<dl class="return"><dt><b>Returns:</b></dt><dd>The text displayed in the preview area. </dd></dl>
 
322
 
268
323
</div>
269
324
</div>
270
325
<a class="anchor" id="a0e6e1a7e14ff17196912b554a3431454"></a><!-- doxytag: member="Gtk::FontChooser::get_show_preview_entry" ref="a0e6e1a7e14ff17196912b554a3431454" args="() const " -->
281
336
</div>
282
337
<div class="memdoc">
283
338
 
 
339
<p>Returns whether the preview entry is shown or not. </p>
 
340
<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>
 
341
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the preview entry is shown or <code>false</code> if it is hidden. </dd></dl>
 
342
 
284
343
</div>
285
344
</div>
286
345
<a class="anchor" id="a9cc5f92a16eb752cb3ffa4961fce39e6"></a><!-- doxytag: member="Gtk::FontChooser::gobj" ref="a9cc5f92a16eb752cb3ffa4961fce39e6" args="()" -->
342
401
</div>
343
402
<div class="memdoc">
344
403
 
 
404
<p>Sets the currently-selected font. </p>
 
405
<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>
 
406
<dl><dt><b>Parameters:</b></dt><dd>
 
407
  <table class="params">
 
408
    <tr><td class="paramname">fontname</td><td>A font name like "Helvetica 12" or "Times Bold 18". </td></tr>
 
409
  </table>
 
410
  </dd>
 
411
</dl>
 
412
 
345
413
</div>
346
414
</div>
347
415
<a class="anchor" id="a98b062d4948f505ba4f7778bad7d6884"></a><!-- doxytag: member="Gtk::FontChooser::set_font_desc" ref="a98b062d4948f505ba4f7778bad7d6884" args="(const Pango::FontDescription &amp;font_desc)" -->
359
427
</div>
360
428
<div class="memdoc">
361
429
 
 
430
<p>Sets the currently-selected font from <em>font_desc</em>. </p>
 
431
<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>
 
432
<dl><dt><b>Parameters:</b></dt><dd>
 
433
  <table class="params">
 
434
    <tr><td class="paramname">font_desc</td><td>A <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1FontDescription.html">Pango::FontDescription</a>. </td></tr>
 
435
  </table>
 
436
  </dd>
 
437
</dl>
 
438
 
362
439
</div>
363
440
</div>
364
441
<a class="anchor" id="ab05b39f7160453dff2e905875d3753d4"></a><!-- doxytag: member="Gtk::FontChooser::set_preview_text" ref="ab05b39f7160453dff2e905875d3753d4" args="(const Glib::ustring &amp;fontname)" -->
376
453
</div>
377
454
<div class="memdoc">
378
455
 
 
456
<p>Sets the text displayed in the preview area. </p>
 
457
<p>The <em>text</em> is used to show how the selected font looks.</p>
 
458
<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>
 
459
<dl><dt><b>Parameters:</b></dt><dd>
 
460
  <table class="params">
 
461
    <tr><td class="paramname">text</td><td>The text to display in the preview area. </td></tr>
 
462
  </table>
 
463
  </dd>
 
464
</dl>
 
465
 
379
466
</div>
380
467
</div>
381
468
<a class="anchor" id="aed67ddac067b35f98484c6de4aab6bf8"></a><!-- doxytag: member="Gtk::FontChooser::set_show_preview_entry" ref="aed67ddac067b35f98484c6de4aab6bf8" args="(bool show_preview_entry=true)" -->
393
480
</div>
394
481
<div class="memdoc">
395
482
 
 
483
<p>Shows or hides the editable preview entry. </p>
 
484
<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>
 
485
<dl><dt><b>Parameters:</b></dt><dd>
 
486
  <table class="params">
 
487
    <tr><td class="paramname">show_preview_entry</td><td>Whether to show the editable preview entry or not. </td></tr>
 
488
  </table>
 
489
  </dd>
 
490
</dl>
 
491
 
396
492
</div>
397
493
</div>
398
494
<hr/><h2>Friends And Related Function Documentation</h2>
437
533
<li>gtkmm/fontchooser.h</li>
438
534
</ul>
439
535
</div>
440
 
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 7 2012 10:44:07 for gtkmm by&#160;
 
536
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 28 2012 10:01:54 for gtkmm by&#160;
441
537
<a href="http://www.doxygen.org/index.html">
442
538
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
443
539
</body>