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

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimpfontselect.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:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimpfontselect</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
8
<link rel="up" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
9
9
<link rel="prev" href="libgimp-gimpbrushselect.html" title="gimpbrushselect">
10
10
<link rel="next" href="libgimp-gimpgradientselect.html" title="gimpgradientselect">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
14
 
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
 
13
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
 
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
 
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
18
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
20
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">
21
24
</head>
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
28
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
29
32
<td><a accesskey="n" href="libgimp-gimpgradientselect.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
33
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2537230" class="shortcut">Top</a>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2565532" class="shortcut">Top</a>
32
35
                  &#160;|&#160;
33
 
                  <a href="#id2637766" class="shortcut">Description</a></nobr></td></tr>
 
36
                  <a href="#id2704250" class="shortcut">Description</a></nobr></td></tr>
34
37
</table>
35
38
<div class="refentry" lang="en">
36
39
<a name="libgimp-gimpfontselect"></a><div class="titlepage"></div>
37
40
<div class="refnamediv"><table width="100%"><tr>
38
41
<td valign="top">
39
42
<h2>
40
 
<a name="id2537230"></a><span class="refentrytitle">gimpfontselect</span>
 
43
<a name="id2565532"></a><span class="refentrytitle">gimpfontselect</span>
41
44
</h2>
42
45
<p>gimpfontselect &#8212; Functions providing a font selection dialog.</p>
43
46
</td>
49
52
 
50
53
 
51
54
 
52
 
void        (<a href="libgimp-gimpfontselect.html#GimpRunFontCallback">*GimpRunFontCallback</a>)          (const gchar *font_name,
53
 
                                             gboolean dialog_closing,
54
 
                                             gpointer user_data);
55
 
const gchar* <a href="libgimp-gimpfontselect.html#gimp-font-select-new">gimp_font_select_new</a>           (const gchar *title,
56
 
                                             const gchar *font_name,
57
 
                                             <a href="libgimp-gimpfontselect.html#GimpRunFontCallback">GimpRunFontCallback</a> callback,
58
 
                                             gpointer data);
59
 
void        <a href="libgimp-gimpfontselect.html#gimp-font-select-destroy">gimp_font_select_destroy</a>        (const gchar *font_callback);
60
 
gboolean    <a href="libgimp-gimpfontselect.html#gimp-fonts-popup">gimp_fonts_popup</a>                (const gchar *font_callback,
61
 
                                             const gchar *popup_title,
62
 
                                             const gchar *initial_font);
63
 
gboolean    <a href="libgimp-gimpfontselect.html#gimp-fonts-close-popup">gimp_fonts_close_popup</a>          (const gchar *font_callback);
64
 
gboolean    <a href="libgimp-gimpfontselect.html#gimp-fonts-set-popup">gimp_fonts_set_popup</a>            (const gchar *font_callback,
65
 
                                             const gchar *font_name);
 
55
void                (<a href="libgimp-gimpfontselect.html#GimpRunFontCallback">*GimpRunFontCallback</a>)              (const gchar *font_name,
 
56
                                                         gboolean dialog_closing,
 
57
                                                         gpointer user_data);
 
58
const gchar*        <a href="libgimp-gimpfontselect.html#gimp-font-select-new">gimp_font_select_new</a>                (const gchar *title,
 
59
                                                         const gchar *font_name,
 
60
                                                         <a href="libgimp-gimpfontselect.html#GimpRunFontCallback">GimpRunFontCallback</a> callback,
 
61
                                                         gpointer data);
 
62
void                <a href="libgimp-gimpfontselect.html#gimp-font-select-destroy">gimp_font_select_destroy</a>            (const gchar *font_callback);
 
63
gboolean            <a href="libgimp-gimpfontselect.html#gimp-fonts-popup">gimp_fonts_popup</a>                    (const gchar *font_callback,
 
64
                                                         const gchar *popup_title,
 
65
                                                         const gchar *initial_font);
 
66
gboolean            <a href="libgimp-gimpfontselect.html#gimp-fonts-close-popup">gimp_fonts_close_popup</a>              (const gchar *font_callback);
 
67
gboolean            <a href="libgimp-gimpfontselect.html#gimp-fonts-set-popup">gimp_fonts_set_popup</a>                (const gchar *font_callback,
 
68
                                                         const gchar *font_name);
66
69
</pre>
67
70
</div>
68
71
<div class="refsect1" lang="en">
69
 
<a name="id2637766"></a><h2>Description</h2>
 
72
<a name="id2704250"></a><h2>Description</h2>
70
73
<p>
71
74
Functions providing a font selection dialog.
72
75
</p>
73
76
</div>
74
77
<div class="refsect1" lang="en">
75
 
<a name="id2637782"></a><h2>Details</h2>
 
78
<a name="id2704267"></a><h2>Details</h2>
76
79
<div class="refsect2" lang="en">
77
 
<a name="id2637793"></a><h3>
 
80
<a name="id2704277"></a><h3>
78
81
<a name="GimpRunFontCallback"></a>GimpRunFontCallback ()</h3>
79
 
<a class="indexterm" name="id2649156"></a><pre class="programlisting">void        (*GimpRunFontCallback)          (const gchar *font_name,
80
 
                                             gboolean dialog_closing,
81
 
                                             gpointer user_data);</pre>
 
82
<a class="indexterm" name="id2704288"></a><pre class="programlisting">void                (*GimpRunFontCallback)              (const gchar *font_name,
 
83
                                                         gboolean dialog_closing,
 
84
                                                         gpointer user_data);</pre>
82
85
<p>
83
86
 
84
87
</p>
86
89
<col align="left" valign="top">
87
90
<tbody>
88
91
<tr>
89
 
<td>
90
 
<span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
91
 
<td>
92
 
</td>
93
 
</tr>
94
 
<tr>
95
 
<td>
96
 
<span class="term"><em class="parameter"><code>dialog_closing</code></em>&#160;:</span></td>
97
 
<td>
98
 
</td>
99
 
</tr>
100
 
<tr>
101
 
<td>
102
 
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
92
<td><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
 
93
<td>
 
94
</td>
 
95
</tr>
 
96
<tr>
 
97
<td><span class="term"><em class="parameter"><code>dialog_closing</code></em>&#160;:</span></td>
 
98
<td>
 
99
</td>
 
100
</tr>
 
101
<tr>
 
102
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
103
103
<td>
104
104
 
105
105
 
110
110
</div>
111
111
<hr>
112
112
<div class="refsect2" lang="en">
113
 
<a name="id2649242"></a><h3>
 
113
<a name="id2708262"></a><h3>
114
114
<a name="gimp-font-select-new"></a>gimp_font_select_new ()</h3>
115
 
<a class="indexterm" name="id2649254"></a><pre class="programlisting">const gchar* gimp_font_select_new           (const gchar *title,
116
 
                                             const gchar *font_name,
117
 
                                             <a href="libgimp-gimpfontselect.html#GimpRunFontCallback">GimpRunFontCallback</a> callback,
118
 
                                             gpointer data);</pre>
 
115
<a class="indexterm" name="id2708273"></a><pre class="programlisting">const gchar*        gimp_font_select_new                (const gchar *title,
 
116
                                                         const gchar *font_name,
 
117
                                                         <a href="libgimp-gimpfontselect.html#GimpRunFontCallback">GimpRunFontCallback</a> callback,
 
118
                                                         gpointer data);</pre>
119
119
<p>
120
120
 
121
121
</p>
123
123
<col align="left" valign="top">
124
124
<tbody>
125
125
<tr>
126
 
<td>
127
 
<span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
128
 
<td>
129
 
</td>
130
 
</tr>
131
 
<tr>
132
 
<td>
133
 
<span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
134
 
<td>
135
 
</td>
136
 
</tr>
137
 
<tr>
138
 
<td>
139
 
<span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
140
 
<td>
141
 
</td>
142
 
</tr>
143
 
<tr>
144
 
<td>
145
 
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
146
 
<td>
147
 
</td>
148
 
</tr>
149
 
<tr>
150
 
<td>
151
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
126
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
 
127
<td>
 
128
</td>
 
129
</tr>
 
130
<tr>
 
131
<td><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
 
132
<td>
 
133
</td>
 
134
</tr>
 
135
<tr>
 
136
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
 
137
<td>
 
138
</td>
 
139
</tr>
 
140
<tr>
 
141
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
142
<td>
 
143
</td>
 
144
</tr>
 
145
<tr>
 
146
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
152
147
<td>
153
148
 
154
149
 
159
154
</div>
160
155
<hr>
161
156
<div class="refsect2" lang="en">
162
 
<a name="id2649373"></a><h3>
 
157
<a name="id2708394"></a><h3>
163
158
<a name="gimp-font-select-destroy"></a>gimp_font_select_destroy ()</h3>
164
 
<a class="indexterm" name="id2649384"></a><pre class="programlisting">void        gimp_font_select_destroy        (const gchar *font_callback);</pre>
 
159
<a class="indexterm" name="id2708405"></a><pre class="programlisting">void                gimp_font_select_destroy            (const gchar *font_callback);</pre>
165
160
<p>
166
161
 
167
162
</p>
168
163
<div class="variablelist"><table border="0">
169
164
<col align="left" valign="top">
170
165
<tbody><tr>
171
 
<td>
172
 
<span class="term"><em class="parameter"><code>font_callback</code></em>&#160;:</span></td>
 
166
<td><span class="term"><em class="parameter"><code>font_callback</code></em>&#160;:</span></td>
173
167
<td>
174
168
 
175
169
 
179
173
</div>
180
174
<hr>
181
175
<div class="refsect2" lang="en">
182
 
<a name="id2640380"></a><h3>
 
176
<a name="id2708450"></a><h3>
183
177
<a name="gimp-fonts-popup"></a>gimp_fonts_popup ()</h3>
184
 
<a class="indexterm" name="id2640392"></a><pre class="programlisting">gboolean    gimp_fonts_popup                (const gchar *font_callback,
185
 
                                             const gchar *popup_title,
186
 
                                             const gchar *initial_font);</pre>
 
178
<a class="indexterm" name="id2708461"></a><pre class="programlisting">gboolean            gimp_fonts_popup                    (const gchar *font_callback,
 
179
                                                         const gchar *popup_title,
 
180
                                                         const gchar *initial_font);</pre>
187
181
<p>
188
182
Invokes the Gimp font selection.
189
183
</p>
190
184
<p>
191
 
This procedure popups the font selection dialog.</p>
 
185
This procedure opens the font selection dialog.</p>
192
186
<p>
193
187
 
194
188
</p>
196
190
<col align="left" valign="top">
197
191
<tbody>
198
192
<tr>
199
 
<td>
200
 
<span class="term"><em class="parameter"><code>font_callback</code></em>&#160;:</span></td>
 
193
<td><span class="term"><em class="parameter"><code>font_callback</code></em>&#160;:</span></td>
201
194
<td> The callback PDB proc to call when font selection is made.
202
195
</td>
203
196
</tr>
204
197
<tr>
205
 
<td>
206
 
<span class="term"><em class="parameter"><code>popup_title</code></em>&#160;:</span></td>
207
 
<td> Title to give the font popup window.
 
198
<td><span class="term"><em class="parameter"><code>popup_title</code></em>&#160;:</span></td>
 
199
<td> Title of the font selection dialog.
208
200
</td>
209
201
</tr>
210
202
<tr>
211
 
<td>
212
 
<span class="term"><em class="parameter"><code>initial_font</code></em>&#160;:</span></td>
 
203
<td><span class="term"><em class="parameter"><code>initial_font</code></em>&#160;:</span></td>
213
204
<td> The name of the font to set as the first selected.
214
205
</td>
215
206
</tr>
216
207
<tr>
217
 
<td>
218
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
208
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
219
209
<td> TRUE on success.
220
210
</td>
221
211
</tr>
224
214
</div>
225
215
<hr>
226
216
<div class="refsect2" lang="en">
227
 
<a name="id2640497"></a><h3>
 
217
<a name="id2706393"></a><h3>
228
218
<a name="gimp-fonts-close-popup"></a>gimp_fonts_close_popup ()</h3>
229
 
<a class="indexterm" name="id2640509"></a><pre class="programlisting">gboolean    gimp_fonts_close_popup          (const gchar *font_callback);</pre>
 
219
<a class="indexterm" name="id2706404"></a><pre class="programlisting">gboolean            gimp_fonts_close_popup              (const gchar *font_callback);</pre>
230
220
<p>
231
 
Popdown the Gimp font selection.
 
221
Close the font selection dialog.
232
222
</p>
233
223
<p>
234
224
This procedure closes an opened font selection dialog.</p>
239
229
<col align="left" valign="top">
240
230
<tbody>
241
231
<tr>
242
 
<td>
243
 
<span class="term"><em class="parameter"><code>font_callback</code></em>&#160;:</span></td>
244
 
<td> The name of the callback registered for this popup.
 
232
<td><span class="term"><em class="parameter"><code>font_callback</code></em>&#160;:</span></td>
 
233
<td> The name of the callback registered for this pop-up.
245
234
</td>
246
235
</tr>
247
236
<tr>
248
 
<td>
249
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
237
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
250
238
<td> TRUE on success.
251
239
</td>
252
240
</tr>
255
243
</div>
256
244
<hr>
257
245
<div class="refsect2" lang="en">
258
 
<a name="id2640572"></a><h3>
 
246
<a name="id2706468"></a><h3>
259
247
<a name="gimp-fonts-set-popup"></a>gimp_fonts_set_popup ()</h3>
260
 
<a class="indexterm" name="id2640583"></a><pre class="programlisting">gboolean    gimp_fonts_set_popup            (const gchar *font_callback,
261
 
                                             const gchar *font_name);</pre>
 
248
<a class="indexterm" name="id2706479"></a><pre class="programlisting">gboolean            gimp_fonts_set_popup                (const gchar *font_callback,
 
249
                                                         const gchar *font_name);</pre>
262
250
<p>
263
 
Sets the current font selection in a popup.
 
251
Sets the current font in a font selection dialog.
264
252
</p>
265
253
<p>
266
 
Sets the current font selection in a popup.</p>
 
254
Sets the current font in a font selection dialog.</p>
267
255
<p>
268
256
 
269
257
</p>
271
259
<col align="left" valign="top">
272
260
<tbody>
273
261
<tr>
274
 
<td>
275
 
<span class="term"><em class="parameter"><code>font_callback</code></em>&#160;:</span></td>
276
 
<td> The name of the callback registered for this popup.
 
262
<td><span class="term"><em class="parameter"><code>font_callback</code></em>&#160;:</span></td>
 
263
<td> The name of the callback registered for this pop-up.
277
264
</td>
278
265
</tr>
279
266
<tr>
280
 
<td>
281
 
<span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
 
267
<td><span class="term"><em class="parameter"><code>font_name</code></em>&#160;:</span></td>
282
268
<td> The name of the font to set as selected.
283
269
</td>
284
270
</tr>
285
271
<tr>
286
 
<td>
287
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
272
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
288
273
<td> TRUE on success.
289
274
</td>
290
275
</tr>