File: GnomeMDIGenericChild.html

package info (click to toggle)
libgnomeui 2.24.5-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 12,428 kB
  • sloc: ansic: 37,044; sh: 11,082; makefile: 409; xml: 18
file content (491 lines) | stat: -rw-r--r-- 37,376 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeMDIGenericChild</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="deprecated.html" title="Deprecated Modules">
<link rel="prev" href="libgnomeui-gnome-mdi-child.html" title="GnomeMDIChild">
<link rel="next" href="libgnomeui-gnome-mdi-session.html" title="gnome-mdi-session">
<meta name="generator" content="GTK-Doc V1.16 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libgnomeui-gnome-mdi-child.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="deprecated.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME UI Library Reference Manual</th>
<td><a accesskey="n" href="libgnomeui-gnome-mdi-session.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GnomeMDIGenericChild.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GnomeMDIGenericChild.description" class="shortcut">Description</a>
                   | 
                  <a href="#GnomeMDIGenericChild.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry">
<a name="GnomeMDIGenericChild"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GnomeMDIGenericChild.top_of_page"></a>GnomeMDIGenericChild</span></h2>
<p>GnomeMDIGenericChild</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GnomeMDIGenericChild.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgnomeui/libgnomeui.h&gt;

struct              <a class="link" href="GnomeMDIGenericChild.html#GnomeMDIGenericChild-struct" title="struct GnomeMDIGenericChild">GnomeMDIGenericChild</a>;
<a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="returnvalue">GnomeMDIGenericChild</span></a> * <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-new" title="gnome_mdi_generic_child_new ()">gnome_mdi_generic_child_new</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> *name</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-view-creator" title="gnome_mdi_generic_child_set_view_creator ()">gnome_mdi_generic_child_set_view_creator</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildViewCreator" title="GnomeMDIChildViewCreator ()"><span class="type">GnomeMDIChildViewCreator</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-view-creator-full" title="gnome_mdi_generic_child_set_view_creator_full ()">gnome_mdi_generic_child_set_view_creator_full</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildViewCreator" title="GnomeMDIChildViewCreator ()"><span class="type">GnomeMDIChildViewCreator</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-menu-creator" title="gnome_mdi_generic_child_set_menu_creator ()">gnome_mdi_generic_child_set_menu_creator</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildMenuCreator" title="GnomeMDIChildMenuCreator ()"><span class="type">GnomeMDIChildMenuCreator</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-menu-creator-full" title="gnome_mdi_generic_child_set_menu_creator_full ()">gnome_mdi_generic_child_set_menu_creator_full</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildMenuCreator" title="GnomeMDIChildMenuCreator ()"><span class="type">GnomeMDIChildMenuCreator</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-config-func" title="gnome_mdi_generic_child_set_config_func ()">gnome_mdi_generic_child_set_config_func</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildConfigFunc" title="GnomeMDIChildConfigFunc ()"><span class="type">GnomeMDIChildConfigFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-config-func-full" title="gnome_mdi_generic_child_set_config_func_full ()">gnome_mdi_generic_child_set_config_func_full</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildConfigFunc" title="GnomeMDIChildConfigFunc ()"><span class="type">GnomeMDIChildConfigFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-label-func" title="gnome_mdi_generic_child_set_label_func ()">gnome_mdi_generic_child_set_label_func</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildLabelFunc" title="GnomeMDIChildLabelFunc ()"><span class="type">GnomeMDIChildLabelFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-label-func-full" title="gnome_mdi_generic_child_set_label_func_full ()">gnome_mdi_generic_child_set_label_func_full</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildLabelFunc" title="GnomeMDIChildLabelFunc ()"><span class="type">GnomeMDIChildLabelFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GnomeMDIGenericChild.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
               +----<a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChild">GnomeMDIChild</a>
                     +----GnomeMDIGenericChild
</pre>
</div>
<div class="refsect1">
<a name="GnomeMDIGenericChild.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="GnomeMDIGenericChild.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeMDIGenericChild-struct"></a><h3>struct GnomeMDIGenericChild</h3>
<pre class="programlisting">struct GnomeMDIGenericChild;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeMDIGenericChild</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-generic-child-new"></a><h3>gnome_mdi_generic_child_new ()</h3>
<pre class="programlisting"><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="returnvalue">GnomeMDIGenericChild</span></a> * gnome_mdi_generic_child_new      (<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> *name</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_generic_child_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new mdi child, which has the ability to set view creators, etc
on an instance basis (rather than on a class basis like &amp;GnomeMDIChild).
</p>
<p>
After creation, you will need to set, at a minimum, the view creator
function.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the name of this MDI child.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly created &amp;GnomeMDIGenericChild object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-generic-child-set-view-creator"></a><h3>gnome_mdi_generic_child_set_view_creator ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_mdi_generic_child_set_view_creator
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildViewCreator" title="GnomeMDIChildViewCreator ()"><span class="type">GnomeMDIChildViewCreator</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_generic_child_set_view_creator</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This function sets the function that is used to create new views for this
particular mdi child object.  The function should return a newly created
widget (the view).
</p>
<p>
A &amp;GnomeMDIGenericChild must have a view creator.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the mdi child object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>a function used to create views</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>optional user data.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-generic-child-set-view-creator-full"></a><h3>gnome_mdi_generic_child_set_view_creator_full ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_mdi_generic_child_set_view_creator_full
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildViewCreator" title="GnomeMDIChildViewCreator ()"><span class="type">GnomeMDIChildViewCreator</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_generic_child_set_view_creator_full</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Similar to <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-view-creator" title="gnome_mdi_generic_child_set_view_creator ()"><code class="function">gnome_mdi_generic_child_set_view_creator()</code></a>, except that it gives
more control to the programmer.  If <em class="parameter"><code>marshal</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then it will
be called instead of <em class="parameter"><code>func</code></em>.
</p>
<p>
The &amp;GtkArg array passed to <em class="parameter"><code>marshal</code></em> will be of length 2.  The first
element will be <em class="parameter"><code>child</code></em>, and the second is the return value (a pointer to
a &amp;GtkWidget).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the mdi child object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>a function to create views (not used if <em class="parameter"><code>marshal</code></em> != <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
<td>a callback marshaller</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>optional user data</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
<td>a function used to free the user data.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-generic-child-set-menu-creator"></a><h3>gnome_mdi_generic_child_set_menu_creator ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_mdi_generic_child_set_menu_creator
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildMenuCreator" title="GnomeMDIChildMenuCreator ()"><span class="type">GnomeMDIChildMenuCreator</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_generic_child_set_menu_creator</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the function used to create child specific menus.  The function
should return a &amp;GList of the menus created.
</p>
<p>
A &amp;GnomeMDIGenericChild doesn't require a menu creator.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the mdi child object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>a function to create a list of child specific menus</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>optional user data</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-generic-child-set-menu-creator-full"></a><h3>gnome_mdi_generic_child_set_menu_creator_full ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_mdi_generic_child_set_menu_creator_full
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildMenuCreator" title="GnomeMDIChildMenuCreator ()"><span class="type">GnomeMDIChildMenuCreator</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_generic_child_set_menu_creator_full</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This function is similar to <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-menu-creator" title="gnome_mdi_generic_child_set_menu_creator ()"><code class="function">gnome_mdi_generic_child_set_menu_creator()</code></a>,
but gives extra flexibility to the programmer, in the form of a a
destroy notify for the user data, and a callback marshaller.
</p>
<p>
The &amp;GtkArg array passed to <em class="parameter"><code>marshal</code></em> is of length 3.  The first element
will be <em class="parameter"><code>child</code></em>, the second will be a view of <em class="parameter"><code>child</code></em>, and the third is the
return value (a pointer to the returned GList).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the mdi child object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>a menu creator function (not used if <em class="parameter"><code>marshal</code></em> != <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
<td>a callback marshaller</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>optional user data</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
<td>a destroy notify for the data</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-generic-child-set-config-func"></a><h3>gnome_mdi_generic_child_set_config_func ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_mdi_generic_child_set_config_func
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildConfigFunc" title="GnomeMDIChildConfigFunc ()"><span class="type">GnomeMDIChildConfigFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_generic_child_set_config_func</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the function used to get the config key used for session saves.
</p>
<p>
A &amp;GnomeMDIGenericChild doesn't require a config func.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the mdi child object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>a function to set the config key for session saves</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>optional user data</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-generic-child-set-config-func-full"></a><h3>gnome_mdi_generic_child_set_config_func_full ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_mdi_generic_child_set_config_func_full
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildConfigFunc" title="GnomeMDIChildConfigFunc ()"><span class="type">GnomeMDIChildConfigFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_generic_child_set_config_func_full</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
A function similar to <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-config-func" title="gnome_mdi_generic_child_set_config_func ()"><code class="function">gnome_mdi_generic_child_set_config_func()</code></a>, except
it gives more control to the programmer.
</p>
<p>
The &amp;GtkArg array passed to <em class="parameter"><code>marshal</code></em> is of length 2.  The first element is
<em class="parameter"><code>child</code></em>, and the second is the return value (a pointer to a string).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the mdi child object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>a function (not used if <em class="parameter"><code>marshal</code></em> != <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
<td>a callback marshaller</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>optional user data</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
<td>a destroy notify for the user data</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-generic-child-set-label-func"></a><h3>gnome_mdi_generic_child_set_label_func ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_mdi_generic_child_set_label_func
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildLabelFunc" title="GnomeMDIChildLabelFunc ()"><span class="type">GnomeMDIChildLabelFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_generic_child_set_label_func</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the function used to set (or modify) the label for <em class="parameter"><code>child</code></em>.  The
first argument to <em class="parameter"><code>func</code></em> is <em class="parameter"><code>child</code></em>.  If a label exists, it will be passed
to <em class="parameter"><code>func</code></em> as the second argument, otherwise, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is passed.  The
function should return the modified label.
</p>
<p>
A &amp;GnomeMDIGenericChild doesn't require a label function.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>a mdi child object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>a function</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>optional user data</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-mdi-generic-child-set-label-func-full"></a><h3>gnome_mdi_generic_child_set_label_func_full ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_mdi_generic_child_set_label_func_full
                                                        (<em class="parameter"><code><a class="link" href="GnomeMDIGenericChild.html" title="GnomeMDIGenericChild"><span class="type">GnomeMDIGenericChild</span></a> *child</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-mdi-child.html#GnomeMDIChildLabelFunc" title="GnomeMDIChildLabelFunc ()"><span class="type">GnomeMDIChildLabelFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_mdi_generic_child_set_label_func_full</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Similar to <a class="link" href="GnomeMDIGenericChild.html#gnome-mdi-generic-child-set-label-func" title="gnome_mdi_generic_child_set_label_func ()"><code class="function">gnome_mdi_generic_child_set_label_func()</code></a>, except it gives more
flexibility to the programmer.
</p>
<p>
The &amp;GtkArg array passed to <em class="parameter"><code>marshal</code></em> is of length 3.  The first argument
is <em class="parameter"><code>child</code></em>, the second is the old widget (or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>), and the third is the
return value (a pointer to a &amp;GtkWidget).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the mdi child object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>a function (not used if <em class="parameter"><code>marshal</code></em> != <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
<td>a callback marshaller</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>optional user data</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
<td>a destroy notify for the data</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.16</div>
</body>
</html>