~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkFontButton.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-06-11 12:19:30 UTC
  • mfrom: (1.11.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 175.
  • Revision ID: james.westby@ubuntu.com-20100611121930-n4pklvkoqdsg12vm
Tags: 2.21.2-1
* New upstream development release:
  + debian/rules,
    debian/libgtk2.0-0.symbols:
    - Update for new API symbols.
  + debian/patches/070_mandatory-relibtoolize.patch:
    - Regenerated for the new version.
  + debian/control.in:
    - Update GLib (build-) dependency to >= 2.25.8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 
51
51
                    <a class="link" href="GtkFontButton.html#GtkFontButton-struct" title="GtkFontButton">GtkFontButton</a>;
52
52
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkFontButton.html#gtk-font-button-new" title="gtk_font_button_new ()">gtk_font_button_new</a>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
53
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkFontButton.html#gtk-font-button-new-with-font" title="gtk_font_button_new_with_font ()">gtk_font_button_new_with_font</a>       (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *fontname</code></em>);
54
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFontButton.html#gtk-font-button-set-font-name" title="gtk_font_button_set_font_name ()">gtk_font_button_set_font_name</a>       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
55
 
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *fontname</code></em>);
56
 
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>*        <a class="link" href="GtkFontButton.html#gtk-font-button-get-font-name" title="gtk_font_button_get_font_name ()">gtk_font_button_get_font_name</a>       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
 
53
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkFontButton.html#gtk-font-button-new-with-font" title="gtk_font_button_new_with_font ()">gtk_font_button_new_with_font</a>       (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *fontname</code></em>);
 
54
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFontButton.html#gtk-font-button-set-font-name" title="gtk_font_button_set_font_name ()">gtk_font_button_set_font_name</a>       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
 
55
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *fontname</code></em>);
 
56
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>*        <a class="link" href="GtkFontButton.html#gtk-font-button-get-font-name" title="gtk_font_button_get_font_name ()">gtk_font_button_get_font_name</a>       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
57
57
<span class="returnvalue">void</span>                <a class="link" href="GtkFontButton.html#gtk-font-button-set-show-style" title="gtk_font_button_set_show_style ()">gtk_font_button_set_show_style</a>      (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
58
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_style</code></em>);
59
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFontButton.html#gtk-font-button-get-show-style" title="gtk_font_button_get_show_style ()">gtk_font_button_get_show_style</a>      (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
 
58
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_style</code></em>);
 
59
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFontButton.html#gtk-font-button-get-show-style" title="gtk_font_button_get_show_style ()">gtk_font_button_get_show_style</a>      (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
60
60
<span class="returnvalue">void</span>                <a class="link" href="GtkFontButton.html#gtk-font-button-set-show-size" title="gtk_font_button_set_show_size ()">gtk_font_button_set_show_size</a>       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
61
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_size</code></em>);
62
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFontButton.html#gtk-font-button-get-show-size" title="gtk_font_button_get_show_size ()">gtk_font_button_get_show_size</a>       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
 
61
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_size</code></em>);
 
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFontButton.html#gtk-font-button-get-show-size" title="gtk_font_button_get_show_size ()">gtk_font_button_get_show_size</a>       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
63
63
<span class="returnvalue">void</span>                <a class="link" href="GtkFontButton.html#gtk-font-button-set-use-font" title="gtk_font_button_set_use_font ()">gtk_font_button_set_use_font</a>        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
64
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_font</code></em>);
65
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFontButton.html#gtk-font-button-get-use-font" title="gtk_font_button_get_use_font ()">gtk_font_button_get_use_font</a>        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
 
64
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_font</code></em>);
 
65
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFontButton.html#gtk-font-button-get-use-font" title="gtk_font_button_get_use_font ()">gtk_font_button_get_use_font</a>        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
66
66
<span class="returnvalue">void</span>                <a class="link" href="GtkFontButton.html#gtk-font-button-set-use-size" title="gtk_font_button_set_use_size ()">gtk_font_button_set_use_size</a>        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
67
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_size</code></em>);
68
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFontButton.html#gtk-font-button-get-use-size" title="gtk_font_button_get_use_size ()">gtk_font_button_get_use_size</a>        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
 
67
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_size</code></em>);
 
68
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFontButton.html#gtk-font-button-get-use-size" title="gtk_font_button_get_use_size ()">gtk_font_button_get_use_size</a>        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
69
69
<span class="returnvalue">void</span>                <a class="link" href="GtkFontButton.html#gtk-font-button-set-title" title="gtk_font_button_set_title ()">gtk_font_button_set_title</a>           (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
70
 
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
71
 
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GtkFontButton.html#gtk-font-button-get-title" title="gtk_font_button_get_title ()">gtk_font_button_get_title</a>           (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
 
70
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
 
71
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GtkFontButton.html#gtk-font-button-get-title" title="gtk_font_button_get_title ()">gtk_font_button_get_title</a>           (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);
72
72
</pre>
73
73
</div>
74
74
<div class="refsect1" title="Object Hierarchy">
75
75
<a name="GtkFontButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
76
76
<pre class="synopsis">
77
 
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
78
 
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
77
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
78
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
79
79
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
80
80
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
81
81
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
93
93
<div class="refsect1" title="Properties">
94
94
<a name="GtkFontButton.properties"></a><h2>Properties</h2>
95
95
<pre class="synopsis">
96
 
  "<a class="link" href="GtkFontButton.html#GtkFontButton--font-name" title='The "font-name" property'>font-name</a>"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
97
 
  "<a class="link" href="GtkFontButton.html#GtkFontButton--show-size" title='The "show-size" property'>show-size</a>"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
98
 
  "<a class="link" href="GtkFontButton.html#GtkFontButton--show-style" title='The "show-style" property'>show-style</a>"               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
99
 
  "<a class="link" href="GtkFontButton.html#GtkFontButton--title" title='The "title" property'>title</a>"                    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
100
 
  "<a class="link" href="GtkFontButton.html#GtkFontButton--use-font" title='The "use-font" property'>use-font</a>"                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
101
 
  "<a class="link" href="GtkFontButton.html#GtkFontButton--use-size" title='The "use-size" property'>use-size</a>"                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
96
  "<a class="link" href="GtkFontButton.html#GtkFontButton--font-name" title='The "font-name" property'>font-name</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
 
97
  "<a class="link" href="GtkFontButton.html#GtkFontButton--show-size" title='The "show-size" property'>show-size</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
98
  "<a class="link" href="GtkFontButton.html#GtkFontButton--show-style" title='The "show-style" property'>show-style</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
99
  "<a class="link" href="GtkFontButton.html#GtkFontButton--title" title='The "title" property'>title</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
 
100
  "<a class="link" href="GtkFontButton.html#GtkFontButton--use-font" title='The "use-font" property'>use-font</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
101
  "<a class="link" href="GtkFontButton.html#GtkFontButton--use-size" title='The "use-size" property'>use-size</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
102
102
</pre>
103
103
</div>
104
104
<div class="refsect1" title="Signals">
145
145
<hr>
146
146
<div class="refsect2" title="gtk_font_button_new_with_font ()">
147
147
<a name="gtk-font-button-new-with-font"></a><h3>gtk_font_button_new_with_font ()</h3>
148
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_font_button_new_with_font       (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *fontname</code></em>);</pre>
 
148
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_font_button_new_with_font       (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *fontname</code></em>);</pre>
149
149
<p>
150
150
Creates a new font picker widget.
151
151
</p>
170
170
<hr>
171
171
<div class="refsect2" title="gtk_font_button_set_font_name ()">
172
172
<a name="gtk-font-button-set-font-name"></a><h3>gtk_font_button_set_font_name ()</h3>
173
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_font_button_set_font_name       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
174
 
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *fontname</code></em>);</pre>
 
173
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_font_button_set_font_name       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
 
174
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *fontname</code></em>);</pre>
175
175
<p>
176
176
Sets or updates the currently-displayed font in font picker dialog.
177
177
</p>
191
191
<tr>
192
192
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
193
193
<td> Return value of <a class="link" href="GtkFontSelectionDialog.html#gtk-font-selection-dialog-set-font-name" title="gtk_font_selection_dialog_set_font_name ()"><code class="function">gtk_font_selection_dialog_set_font_name()</code></a> if the
194
 
font selection dialog exists, otherwise <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
194
font selection dialog exists, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
195
195
 
196
196
</td>
197
197
</tr>
202
202
<hr>
203
203
<div class="refsect2" title="gtk_font_button_get_font_name ()">
204
204
<a name="gtk-font-button-get-font-name"></a><h3>gtk_font_button_get_font_name ()</h3>
205
 
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>*        gtk_font_button_get_font_name       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
 
205
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>*        gtk_font_button_get_font_name       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
206
206
<p>
207
207
Retrieves the name of the currently selected font. This name includes
208
208
style and size information as well. If you want to render something
233
233
<div class="refsect2" title="gtk_font_button_set_show_style ()">
234
234
<a name="gtk-font-button-set-show-style"></a><h3>gtk_font_button_set_show_style ()</h3>
235
235
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_font_button_set_show_style      (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
236
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_style</code></em>);</pre>
 
236
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_style</code></em>);</pre>
237
237
<p>
238
 
If <em class="parameter"><code>show_style</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the font style will be displayed along with name of the selected font.
 
238
If <em class="parameter"><code>show_style</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the font style will be displayed along with name of the selected font.
239
239
</p>
240
240
<div class="variablelist"><table border="0">
241
241
<col align="left" valign="top">
248
248
<tr>
249
249
<td><p><span class="term"><em class="parameter"><code>show_style</code></em> :</span></p></td>
250
250
<td>
251
 
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if font style should be displayed in label.
 
251
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if font style should be displayed in label.
252
252
</td>
253
253
</tr>
254
254
</tbody>
258
258
<hr>
259
259
<div class="refsect2" title="gtk_font_button_get_show_style ()">
260
260
<a name="gtk-font-button-get-show-style"></a><h3>gtk_font_button_get_show_style ()</h3>
261
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_font_button_get_show_style      (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
 
261
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_font_button_get_show_style      (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
262
262
<p>
263
263
Returns whether the name of the font style will be shown in the label.
264
264
</p>
284
284
<div class="refsect2" title="gtk_font_button_set_show_size ()">
285
285
<a name="gtk-font-button-set-show-size"></a><h3>gtk_font_button_set_show_size ()</h3>
286
286
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_font_button_set_show_size       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
287
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_size</code></em>);</pre>
 
287
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_size</code></em>);</pre>
288
288
<p>
289
 
If <em class="parameter"><code>show_size</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the font size will be displayed along with the name of the selected font.
 
289
If <em class="parameter"><code>show_size</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the font size will be displayed along with the name of the selected font.
290
290
</p>
291
291
<div class="variablelist"><table border="0">
292
292
<col align="left" valign="top">
299
299
<tr>
300
300
<td><p><span class="term"><em class="parameter"><code>show_size</code></em> :</span></p></td>
301
301
<td>
302
 
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if font size should be displayed in dialog.
 
302
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if font size should be displayed in dialog.
303
303
</td>
304
304
</tr>
305
305
</tbody>
309
309
<hr>
310
310
<div class="refsect2" title="gtk_font_button_get_show_size ()">
311
311
<a name="gtk-font-button-get-show-size"></a><h3>gtk_font_button_get_show_size ()</h3>
312
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_font_button_get_show_size       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
 
312
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_font_button_get_show_size       (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
313
313
<p>
314
314
Returns whether the font size will be shown in the label.
315
315
</p>
335
335
<div class="refsect2" title="gtk_font_button_set_use_font ()">
336
336
<a name="gtk-font-button-set-use-font"></a><h3>gtk_font_button_set_use_font ()</h3>
337
337
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_font_button_set_use_font        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
338
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_font</code></em>);</pre>
 
338
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_font</code></em>);</pre>
339
339
<p>
340
 
If <em class="parameter"><code>use_font</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the font name will be written using the selected font.
 
340
If <em class="parameter"><code>use_font</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the font name will be written using the selected font.
341
341
</p>
342
342
<div class="variablelist"><table border="0">
343
343
<col align="left" valign="top">
349
349
</tr>
350
350
<tr>
351
351
<td><p><span class="term"><em class="parameter"><code>use_font</code></em> :</span></p></td>
352
 
<td>If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, font name will be written using font chosen.
 
352
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, font name will be written using font chosen.
353
353
</td>
354
354
</tr>
355
355
</tbody>
359
359
<hr>
360
360
<div class="refsect2" title="gtk_font_button_get_use_font ()">
361
361
<a name="gtk-font-button-get-use-font"></a><h3>gtk_font_button_get_use_font ()</h3>
362
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_font_button_get_use_font        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
 
362
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_font_button_get_use_font        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
363
363
<p>
364
364
Returns whether the selected font is used in the label.
365
365
</p>
385
385
<div class="refsect2" title="gtk_font_button_set_use_size ()">
386
386
<a name="gtk-font-button-set-use-size"></a><h3>gtk_font_button_set_use_size ()</h3>
387
387
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_font_button_set_use_size        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
388
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_size</code></em>);</pre>
 
388
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_size</code></em>);</pre>
389
389
<p>
390
 
If <em class="parameter"><code>use_size</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the font name will be written using the selected size.
 
390
If <em class="parameter"><code>use_size</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the font name will be written using the selected size.
391
391
</p>
392
392
<div class="variablelist"><table border="0">
393
393
<col align="left" valign="top">
399
399
</tr>
400
400
<tr>
401
401
<td><p><span class="term"><em class="parameter"><code>use_size</code></em> :</span></p></td>
402
 
<td>If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, font name will be written using the selected size.
 
402
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, font name will be written using the selected size.
403
403
</td>
404
404
</tr>
405
405
</tbody>
409
409
<hr>
410
410
<div class="refsect2" title="gtk_font_button_get_use_size ()">
411
411
<a name="gtk-font-button-get-use-size"></a><h3>gtk_font_button_get_use_size ()</h3>
412
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_font_button_get_use_size        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
 
412
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_font_button_get_use_size        (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
413
413
<p>
414
414
Returns whether the selected size is used in the label.
415
415
</p>
435
435
<div class="refsect2" title="gtk_font_button_set_title ()">
436
436
<a name="gtk-font-button-set-title"></a><h3>gtk_font_button_set_title ()</h3>
437
437
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_font_button_set_title           (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>,
438
 
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
 
438
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
439
439
<p>
440
440
Sets the title for the font selection dialog.
441
441
</p>
459
459
<hr>
460
460
<div class="refsect2" title="gtk_font_button_get_title ()">
461
461
<a name="gtk-font-button-get-title"></a><h3>gtk_font_button_get_title ()</h3>
462
 
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_font_button_get_title           (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
 
462
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_font_button_get_title           (<em class="parameter"><code><a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *font_button</code></em>);</pre>
463
463
<p>
464
464
Retrieves the title of the font selection dialog.
465
465
</p>
486
486
<a name="GtkFontButton.property-details"></a><h2>Property Details</h2>
487
487
<div class="refsect2" title='The "font-name" property'>
488
488
<a name="GtkFontButton--font-name"></a><h3>The <code class="literal">"font-name"</code> property</h3>
489
 
<pre class="programlisting">  "font-name"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
489
<pre class="programlisting">  "font-name"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
490
490
<p>
491
491
The name of the currently selected font.
492
492
</p>
496
496
<hr>
497
497
<div class="refsect2" title='The "show-size" property'>
498
498
<a name="GtkFontButton--show-size"></a><h3>The <code class="literal">"show-size"</code> property</h3>
499
 
<pre class="programlisting">  "show-size"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
499
<pre class="programlisting">  "show-size"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
500
500
<p>
501
 
If this property is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the selected font size will be shown
 
501
If this property is set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the selected font size will be shown
502
502
in the label. For a more WYSIWYG way to show the selected size, see the 
503
503
::use-size property.
504
504
</p>
508
508
<hr>
509
509
<div class="refsect2" title='The "show-style" property'>
510
510
<a name="GtkFontButton--show-style"></a><h3>The <code class="literal">"show-style"</code> property</h3>
511
 
<pre class="programlisting">  "show-style"               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
511
<pre class="programlisting">  "show-style"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
512
512
<p>
513
 
If this property is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the name of the selected font style 
 
513
If this property is set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the name of the selected font style 
514
514
will be shown in the label. For a more WYSIWYG way to show the selected 
515
515
style, see the ::use-font property.
516
516
</p>
520
520
<hr>
521
521
<div class="refsect2" title='The "title" property'>
522
522
<a name="GtkFontButton--title"></a><h3>The <code class="literal">"title"</code> property</h3>
523
 
<pre class="programlisting">  "title"                    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
523
<pre class="programlisting">  "title"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
524
524
<p>
525
525
The title of the font selection dialog.
526
526
</p>
530
530
<hr>
531
531
<div class="refsect2" title='The "use-font" property'>
532
532
<a name="GtkFontButton--use-font"></a><h3>The <code class="literal">"use-font"</code> property</h3>
533
 
<pre class="programlisting">  "use-font"                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
533
<pre class="programlisting">  "use-font"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
534
534
<p>
535
 
If this property is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the label will be drawn 
 
535
If this property is set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the label will be drawn 
536
536
in the selected font.
537
537
</p>
538
538
<p>Default value: FALSE</p>
541
541
<hr>
542
542
<div class="refsect2" title='The "use-size" property'>
543
543
<a name="GtkFontButton--use-size"></a><h3>The <code class="literal">"use-size"</code> property</h3>
544
 
<pre class="programlisting">  "use-size"                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
544
<pre class="programlisting">  "use-size"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
545
545
<p>
546
 
If this property is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the label will be drawn 
 
546
If this property is set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the label will be drawn 
547
547
with the selected font size.
548
548
</p>
549
549
<p>Default value: FALSE</p>
555
555
<div class="refsect2" title='The "font-set" signal'>
556
556
<a name="GtkFontButton-font-set"></a><h3>The <code class="literal">"font-set"</code> signal</h3>
557
557
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkFontButton.html" title="GtkFontButton"><span class="type">GtkFontButton</span></a> *widget,
558
 
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)      : Run First</pre>
 
558
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)      : Run First</pre>
559
559
<p>
560
560
The ::font-set signal is emitted when the user selects a font.
561
561
When handling this signal, use <a class="link" href="GtkFontButton.html#gtk-font-button-get-font-name" title="gtk_font_button_get_font_name ()"><code class="function">gtk_font_button_get_font_name()</code></a>