~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/GimpFontSelectButton.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
5
<title>GimpFontSelectButton</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
 
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
 
8
<link rel="up" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
 
9
<link rel="prev" href="GimpBrushSelectButton.html" title="GimpBrushSelectButton">
 
10
<link rel="next" href="GimpGradientSelectButton.html" title="GimpGradientSelectButton">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
 
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
 
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
 
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
 
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
 
18
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
 
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
 
20
<link rel="index" href="libgimp-index.html" title="Index">
 
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
 
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
 
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
 
24
</head>
 
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
27
<tr valign="middle">
 
28
<td><a accesskey="p" href="GimpBrushSelectButton.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
29
<td><a accesskey="u" href="libgimp-selectors.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
30
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
 
32
<td><a accesskey="n" href="GimpGradientSelectButton.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
33
</tr>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2558121" class="shortcut">Top</a>
 
35
                  &#160;|&#160;
 
36
                  <a href="#id2693880" class="shortcut">Description</a>
 
37
                  &#160;|&#160;
 
38
                  <a href="#id2638959" class="shortcut">Object Hierarchy</a>
 
39
                  &#160;|&#160;
 
40
                  <a href="#id2693796" class="shortcut">Implemented Interfaces</a>
 
41
                  &#160;|&#160;
 
42
                  <a href="#id2693816" class="shortcut">Properties</a>
 
43
                  &#160;|&#160;
 
44
                  <a href="#id2693857" class="shortcut">Signals</a></nobr></td></tr>
 
45
</table>
 
46
<div class="refentry" lang="en">
 
47
<a name="GimpFontSelectButton"></a><div class="titlepage"></div>
 
48
<div class="refnamediv"><table width="100%"><tr>
 
49
<td valign="top">
 
50
<h2>
 
51
<a name="id2558121"></a><span class="refentrytitle">GimpFontSelectButton</span>
 
52
</h2>
 
53
<p>GimpFontSelectButton</p>
 
54
</td>
 
55
<td valign="top" align="right"></td>
 
56
</tr></table></div>
 
57
<div class="refsynopsisdiv">
 
58
<h2>Synopsis</h2>
 
59
<pre class="synopsis">
 
60
 
 
61
 
 
62
 
 
63
                    <a href="GimpFontSelectButton.html#GimpFontSelectButton-struct">GimpFontSelectButton</a>;
 
64
GtkWidget*          <a href="GimpFontSelectButton.html#gimp-font-select-button-new">gimp_font_select_button_new</a>         (const gchar *title,
 
65
                                                         const gchar *font_name);
 
66
const gchar*        <a href="GimpFontSelectButton.html#gimp-font-select-button-get-font">gimp_font_select_button_get_font</a>    (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button);
 
67
void                <a href="GimpFontSelectButton.html#gimp-font-select-button-set-font">gimp_font_select_button_set_font</a>    (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button,
 
68
                                                         const gchar *font_name);
 
69
 
 
70
</pre>
 
71
</div>
 
72
<div class="refsect1" lang="en">
 
73
<a name="id2638959"></a><h2>Object Hierarchy</h2>
 
74
<pre class="synopsis">
 
75
 
 
76
  GObject
 
77
   +----GInitiallyUnowned
 
78
         +----GtkObject
 
79
               +----GtkWidget
 
80
                     +----GtkContainer
 
81
                           +----GtkBox
 
82
                                 +----GtkHBox
 
83
                                       +----<a href="GimpSelectButton.html" title="GimpSelectButton">GimpSelectButton</a>
 
84
                                             +----GimpFontSelectButton
 
85
</pre>
 
86
</div>
 
87
<div class="refsect1" lang="en">
 
88
<a name="id2693796"></a><h2>Implemented Interfaces</h2>
 
89
<p>
 
90
GimpFontSelectButton implements
 
91
 AtkImplementorIface.</p>
 
92
</div>
 
93
<div class="refsect1" lang="en">
 
94
<a name="id2693816"></a><h2>Properties</h2>
 
95
<pre class="synopsis">
 
96
 
 
97
  "<a href="GimpFontSelectButton.html#GimpFontSelectButton--font-name">font-name</a>"                gchararray            : Read / Write
 
98
  "<a href="GimpFontSelectButton.html#GimpFontSelectButton--title">title</a>"                    gchararray            : Read / Write / Construct Only
 
99
</pre>
 
100
</div>
 
101
<div class="refsect1" lang="en">
 
102
<a name="id2693857"></a><h2>Signals</h2>
 
103
<pre class="synopsis">
 
104
 
 
105
  "<a href="GimpFontSelectButton.html#GimpFontSelectButton-font-set">font-set</a>"                                       : Run First
 
106
</pre>
 
107
</div>
 
108
<div class="refsect1" lang="en">
 
109
<a name="id2693880"></a><h2>Description</h2>
 
110
<p>
 
111
 
 
112
</p>
 
113
</div>
 
114
<div class="refsect1" lang="en">
 
115
<a name="id2671280"></a><h2>Details</h2>
 
116
<div class="refsect2" lang="en">
 
117
<a name="id2671290"></a><h3>
 
118
<a name="GimpFontSelectButton-struct"></a>GimpFontSelectButton</h3>
 
119
<a class="indexterm" name="id2671301"></a><pre class="programlisting">typedef struct _GimpFontSelectButton GimpFontSelectButton;</pre>
 
120
<p>
 
121
 
 
122
</p>
 
123
</div>
 
124
<hr>
 
125
<div class="refsect2" lang="en">
 
126
<a name="id2671317"></a><h3>
 
127
<a name="gimp-font-select-button-new"></a>gimp_font_select_button_new ()</h3>
 
128
<a class="indexterm" name="id2671330"></a><pre class="programlisting">GtkWidget*          gimp_font_select_button_new         (const gchar *title,
 
129
                                                         const gchar *font_name);</pre>
 
130
<p>
 
131
Creates a new <span class="type">GtkWidget</span> that completely controls the selection of
 
132
a font.  This widget is suitable for placement in a table in a
 
133
plug-in dialog.</p>
 
134
<p>
 
135
 
 
136
</p>
 
137
<div class="variablelist"><table border="0">
 
138
<col align="left" valign="top">
 
139
<tbody>
 
140
<tr>
 
141
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
 
142
<td>     Title of the dialog to use or <code class="literal">NULL</code> to use the default title.
 
143
</td>
 
144
</tr>
 
145
<tr>
 
146
<td><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
 
147
<td> Initial font name.
 
148
</td>
 
149
</tr>
 
150
<tr>
 
151
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
152
<td> A <span class="type">GtkWidget</span> that you can use in your UI.
 
153
 
 
154
</td>
 
155
</tr>
 
156
</tbody>
 
157
</table></div>
 
158
<p class="since">Since  GIMP 2.4
 
159
</p>
 
160
</div>
 
161
<hr>
 
162
<div class="refsect2" lang="en">
 
163
<a name="id2702757"></a><h3>
 
164
<a name="gimp-font-select-button-get-font"></a>gimp_font_select_button_get_font ()</h3>
 
165
<a class="indexterm" name="id2702770"></a><pre class="programlisting">const gchar*        gimp_font_select_button_get_font    (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button);</pre>
 
166
<p>
 
167
Retrieves the name of currently selected font.</p>
 
168
<p>
 
169
 
 
170
</p>
 
171
<div class="variablelist"><table border="0">
 
172
<col align="left" valign="top">
 
173
<tbody>
 
174
<tr>
 
175
<td><span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></td>
 
176
<td> A <a href="GimpFontSelectButton.html" title="GimpFontSelectButton"><span class="type">GimpFontSelectButton</span></a>
 
177
</td>
 
178
</tr>
 
179
<tr>
 
180
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
181
<td> an internal copy of the font name which must not be freed.
 
182
 
 
183
</td>
 
184
</tr>
 
185
</tbody>
 
186
</table></div>
 
187
<p class="since">Since  GIMP 2.4
 
188
</p>
 
189
</div>
 
190
<hr>
 
191
<div class="refsect2" lang="en">
 
192
<a name="id2702845"></a><h3>
 
193
<a name="gimp-font-select-button-set-font"></a>gimp_font_select_button_set_font ()</h3>
 
194
<a class="indexterm" name="id2702858"></a><pre class="programlisting">void                gimp_font_select_button_set_font    (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *button,
 
195
                                                         const gchar *font_name);</pre>
 
196
<p>
 
197
Sets the current font for the font select button.</p>
 
198
<p>
 
199
 
 
200
</p>
 
201
<div class="variablelist"><table border="0">
 
202
<col align="left" valign="top">
 
203
<tbody>
 
204
<tr>
 
205
<td><span class="term"><em class="parameter"><code>button</code></em>&#160;:</span></td>
 
206
<td> A <a href="GimpFontSelectButton.html" title="GimpFontSelectButton"><span class="type">GimpFontSelectButton</span></a>
 
207
</td>
 
208
</tr>
 
209
<tr>
 
210
<td><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
 
211
<td> Font name to set; <code class="literal">NULL</code> means no change.
 
212
</td>
 
213
</tr>
 
214
</tbody>
 
215
</table></div>
 
216
<p class="since">Since  GIMP 2.4
 
217
</p>
 
218
</div>
 
219
</div>
 
220
<div class="refsect1" lang="en">
 
221
<a name="id2702952"></a><h2>Property Details</h2>
 
222
<div class="refsect2" lang="en">
 
223
<a name="id2702962"></a><h3>
 
224
<a name="GimpFontSelectButton--font-name"></a>The "<code class="literal">font-name</code>" property</h3>
 
225
<a class="indexterm" name="id2702976"></a><pre class="programlisting">  "font-name"                gchararray            : Read / Write</pre>
 
226
<p>
 
227
The name of the currently selected font.</p>
 
228
<p>
 
229
 
 
230
</p>
 
231
<p>Default value: "Sans"</p>
 
232
<p>Since  GIMP 2.4
 
233
</p>
 
234
</div>
 
235
<hr>
 
236
<div class="refsect2" lang="en">
 
237
<a name="id2691536"></a><h3>
 
238
<a name="GimpFontSelectButton--title"></a>The "<code class="literal">title</code>" property</h3>
 
239
<a class="indexterm" name="id2691549"></a><pre class="programlisting">  "title"                    gchararray            : Read / Write / Construct Only</pre>
 
240
<p>
 
241
The title to be used for the font selection popup dialog.</p>
 
242
<p>
 
243
 
 
244
</p>
 
245
<p>Default value: "Font Selection"</p>
 
246
<p>Since  GIMP 2.4
 
247
</p>
 
248
</div>
 
249
</div>
 
250
<div class="refsect1" lang="en">
 
251
<a name="id2691586"></a><h2>Signal Details</h2>
 
252
<div class="refsect2" lang="en">
 
253
<a name="id2691596"></a><h3>
 
254
<a name="GimpFontSelectButton-font-set"></a>The "font-set" signal</h3>
 
255
<a class="indexterm" name="id2691606"></a><pre class="programlisting">void                user_function                      (<a href="GimpFontSelectButton.html" title="GimpFontSelectButton">GimpFontSelectButton</a> *widget,
 
256
                                                        gchar                *font_name,
 
257
                                                        gboolean              dialog_closing,
 
258
                                                        gpointer              user_data)           : Run First</pre>
 
259
<p>
 
260
The ::font-set signal is emitted when the user selects a font.</p>
 
261
<p>
 
262
 
 
263
</p>
 
264
<div class="variablelist"><table border="0">
 
265
<col align="left" valign="top">
 
266
<tbody>
 
267
<tr>
 
268
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
 
269
<td> the object which received the signal.
 
270
</td>
 
271
</tr>
 
272
<tr>
 
273
<td><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
 
274
<td> the name of the currently selected font.
 
275
</td>
 
276
</tr>
 
277
<tr>
 
278
<td><span class="term"><em class="parameter"><code>dialog_closing</code></em>&#160;:</span></td>
 
279
<td> whether the dialog was closed or not.
 
280
</td>
 
281
</tr>
 
282
<tr>
 
283
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
284
<td>user data set when the signal handler was connected.</td>
 
285
</tr>
 
286
</tbody>
 
287
</table></div>
 
288
<p>Since  GIMP 2.4
 
289
</p>
 
290
</div>
 
291
</div>
 
292
</div>
 
293
</body>
 
294
</html>