4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>BonoboUIComponent</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
7
7
<link rel="start" href="index.html" title="LibBonoboUI API Reference Manual">
8
8
<link rel="up" href="bonobo-ui.html" title="Bonobo UI">
9
9
<link rel="prev" href="libbonoboui-bonobo-window.html" title="bonobo-window">
25
25
<th width="100%" align="center">LibBonoboUI API Reference Manual</th>
26
26
<td><a accesskey="n" href="libbonoboui-bonobo-ui-container.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2550711" class="shortcut">Top</a>
30
<a href="#id2552296" class="shortcut">Description</a>
32
<a href="#id2552150" class="shortcut">Object Hierarchy</a>
34
<a href="#id2552182" class="shortcut">Signals</a></nobr></td></tr>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3005090" class="shortcut">Top</a>
30
<a href="#id3006677" class="shortcut">Description</a>
32
<a href="#id3006531" class="shortcut">Object Hierarchy</a>
34
<a href="#id3006563" class="shortcut">Signals</a></nobr></td></tr>
36
36
<div class="refentry" lang="en">
37
37
<a name="libbonoboui-bonobo-ui-component"></a><div class="titlepage"></div>
38
38
<div class="refnamediv"><table width="100%"><tr>
41
<a name="id2550711"></a><span class="refentrytitle">BonoboUIComponent</span>
41
<a name="id3005090"></a><span class="refentrytitle">BonoboUIComponent</span>
43
43
<p>BonoboUIComponent — A UI interface that handles UI merging for a component</p>
57
57
Bonobo_UIComponent_EventType type,
60
href="../glib/glib-Basic-Types.html#gpointer"
61
>gpointer</a> user_data);
60
62
void (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIVerbFn">*BonoboUIVerbFn</a>) (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
64
href="../glib/glib-Basic-Types.html#gpointer"
65
>gpointer</a> user_data,
62
66
const char *cname);
63
67
<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponentClass">BonoboUIComponentClass</a>;
64
68
<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a>* <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-construct">bonobo_ui_component_construct</a>
82
86
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-add-verb">bonobo_ui_component_add_verb</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
84
88
<a href="libbonoboui-bonobo-ui-component.html#BonoboUIVerbFn">BonoboUIVerbFn</a> fn,
90
href="../glib/glib-Basic-Types.html#gpointer"
91
>gpointer</a> user_data);
86
92
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-add-verb-full">bonobo_ui_component_add_verb_full</a>
87
93
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
96
href="../gobject/gobject-Closures.html#GClosure"
97
>GClosure</a> *closure);
90
98
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-remove-verb">bonobo_ui_component_remove_verb</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
91
99
const char *cname);
92
100
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-remove-verb-by-closure">bonobo_ui_component_remove_verb_by_closure</a>
93
101
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
103
href="../gobject/gobject-Closures.html#GClosure"
104
>GClosure</a> *closure);
95
105
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-add-listener">bonobo_ui_component_add_listener</a>
96
106
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
98
108
<a href="libbonoboui-bonobo-ui-component.html#BonoboUIListenerFn">BonoboUIListenerFn</a> fn,
110
href="../glib/glib-Basic-Types.html#gpointer"
111
>gpointer</a> user_data);
100
112
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-add-listener-full">bonobo_ui_component_add_listener_full</a>
101
113
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
116
href="../gobject/gobject-Closures.html#GClosure"
117
>GClosure</a> *closure);
104
118
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-remove-listener">bonobo_ui_component_remove_listener</a>
105
119
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
106
120
const char *cname);
107
121
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-remove-listener-by-closure">bonobo_ui_component_remove_listener_by_closure</a>
108
122
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
124
href="../gobject/gobject-Closures.html#GClosure"
125
>GClosure</a> *closure);
110
126
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-set">bonobo_ui_component_set</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
111
127
const char *path,
123
139
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-rm">bonobo_ui_component_rm</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
124
140
const char *path,
125
141
CORBA_Environment *ev);
126
gboolean <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-path-exists">bonobo_ui_component_path_exists</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
143
href="../glib/glib-Basic-Types.html#gboolean"
144
>gboolean</a> <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-path-exists">bonobo_ui_component_path_exists</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
127
145
const char *path,
128
146
CORBA_Environment *ev);
129
147
CORBA_char* <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-get">bonobo_ui_component_get</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
130
148
const char *path,
150
href="../glib/glib-Basic-Types.html#gboolean"
151
>gboolean</a> recurse,
132
152
CORBA_Environment *opt_ev);
133
153
<a href="libbonoboui-bonobo-ui-node.html#BonoboUINode">BonoboUINode</a>* <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-get-tree">bonobo_ui_component_get_tree</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
134
154
const char *path,
156
href="../glib/glib-Basic-Types.html#gboolean"
157
>gboolean</a> recurse,
136
158
CORBA_Environment *opt_ev);
137
159
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-object-set">bonobo_ui_component_object_set</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
138
160
const char *path,
144
166
CORBA_Environment *opt_ev);
145
167
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-widget-set">bonobo_ui_component_widget_set</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
146
168
const char *path,
170
href="../gtk/GtkWidget.html"
171
>GtkWidget</a> *widget,
148
172
CORBA_Environment *opt_ev);
149
173
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-freeze">bonobo_ui_component_freeze</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
150
174
CORBA_Environment *opt_ev);
155
179
const char *prop,
156
180
const char *value,
157
181
CORBA_Environment *opt_ev);
158
gchar* <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-get-prop">bonobo_ui_component_get_prop</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
183
href="../glib/glib-Basic-Types.html#gchar"
184
>gchar</a>* <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-get-prop">bonobo_ui_component_get_prop</a> (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
159
185
const char *path,
160
186
const char *prop,
161
187
CORBA_Environment *opt_ev);
174
200
void <a href="libbonoboui-bonobo-ui-component.html#bonobo-ui-component-add-verb-list-with-data">bonobo_ui_component_add_verb_list_with_data</a>
175
201
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
176
202
const <a href="libbonoboui-bonobo-ui-component.html#BonoboUIVerb">BonoboUIVerb</a> *list,
204
href="../glib/glib-Basic-Types.html#gpointer"
205
>gpointer</a> user_data);
181
209
<div class="refsect1" lang="en">
182
<a name="id2552150"></a><h2>Object Hierarchy</h2>
210
<a name="id3006531"></a><h2>Object Hierarchy</h2>
183
211
<pre class="synopsis">
214
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
217
href="../libbonobo/libbonobo-bonobo-object.html#BonoboObject"
187
219
+----BonoboUIComponent
190
222
<div class="refsect1" lang="en">
191
<a name="id2552182"></a><h2>Signals</h2>
223
<a name="id3006563"></a><h2>Signals</h2>
192
224
<pre class="synopsis">
194
226
"<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent-exec-verb">exec-verb</a>" void user_function (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *bonobouicomponent,
196
gpointer user_data) : Run first
228
href="../glib/glib-Basic-Types.html#gchar"
231
href="../glib/glib-Basic-Types.html#gpointer"
232
>gpointer</a> user_data) : Run first
197
233
"<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent-ui-event">ui-event</a>" void user_function (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *bonobouicomponent,
201
gpointer user_data) : Run first
235
href="../glib/glib-Basic-Types.html#gchar"
238
href="../glib/glib-Basic-Types.html#gint"
241
href="../glib/glib-Basic-Types.html#gchar"
244
href="../glib/glib-Basic-Types.html#gpointer"
245
>gpointer</a> user_data) : Run first
204
248
<div class="refsect1" lang="en">
205
<a name="id2552296"></a><h2>Description</h2>
249
<a name="id3006677"></a><h2>Description</h2>
207
251
The BonoboUIComponent is the client side portion of the UI merging scheme.
208
252
It should be implemented by any component that wishes to merge menus / UI.
219
263
construction time and can be accessed thus:
221
265
<div class="example">
222
<a name="id2552333"></a><p class="title"><b>Example 1. Using the UI Component associated with a control</b></p>
223
<pre class="programlisting">
266
<a name="id3006713"></a><p class="title"><b>Example 4. Using the UI Component associated with a control</b></p>
267
<div class="example-contents"><pre class="programlisting">
225
269
* For the format of the XML see bonobo/doc/xml-ui.txt
226
270
* For a standard template to base your UI on see bonobo/doc/std-ui.xml
289
333
return BONOBO_OBJECT (control);
337
<p><br class="example-break">
294
338
This sets up the UI, associates a 'FileFoo' verb with a callback, and
295
339
on control activation merges the UI elements into a standard path
296
340
in the file menu.
310
354
is extremely important. Here is a better activate function:
312
356
<div class="example">
313
<a name="id2550584"></a><p class="title"><b>Example 2. A better way to create your UI</b></p>
314
<pre class="programlisting">
357
<a name="id3004963"></a><p class="title"><b>Example 5. A better way to create your UI</b></p>
358
<div class="example-contents"><pre class="programlisting">
316
360
control_activate_cb (BonoboControl *object,
332
376
else /* De-activate */
333
377
bonobo_ui_component_unset_container (ui_component);
381
<p><br class="example-break">
338
382
In this example "GNOME_MyApp.ui" is the correctly namespaced UI
339
383
xml filename, ( see doc/NAMESPACE to register your name ), and
340
384
"my-app" is the gnome application name, from which a path to your
344
388
<div class="refsect1" lang="en">
345
<a name="id2550612"></a><h2>Details</h2>
389
<a name="id3004991"></a><h2>Details</h2>
346
390
<div class="refsect2" lang="en">
347
<a name="id2550623"></a><h3>
391
<a name="id3005002"></a><h3>
348
392
<a name="BonoboUIComponent-struct"></a>BonoboUIComponent</h3>
349
<a class="indexterm" name="id2550636"></a><pre class="programlisting">typedef struct _BonoboUIComponent BonoboUIComponent;</pre>
393
<a class="indexterm" name="id3005015"></a><pre class="programlisting">typedef struct _BonoboUIComponent BonoboUIComponent;</pre>
355
399
<div class="refsect2" lang="en">
356
<a name="id2550652"></a><h3>
400
<a name="id3005031"></a><h3>
357
401
<a name="BonoboUIComponentPrivate"></a>BonoboUIComponentPrivate</h3>
358
<a class="indexterm" name="id2550664"></a><pre class="programlisting">typedef struct _BonoboUIComponentPrivate BonoboUIComponentPrivate;</pre>
402
<a class="indexterm" name="id3005043"></a><pre class="programlisting">typedef struct _BonoboUIComponentPrivate BonoboUIComponentPrivate;</pre>
364
408
<div class="refsect2" lang="en">
365
<a name="id2550680"></a><h3>
409
<a name="id3005059"></a><h3>
366
410
<a name="BonoboUIListenerFn"></a>BonoboUIListenerFn ()</h3>
367
<a class="indexterm" name="id2550693"></a><pre class="programlisting">void (*BonoboUIListenerFn) (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
411
<a class="indexterm" name="id3005072"></a><pre class="programlisting">void (*BonoboUIListenerFn) (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
368
412
const char *path,
369
413
Bonobo_UIComponent_EventType type,
370
414
const char *state,
371
gpointer user_data);</pre>
416
href="../glib/glib-Basic-Types.html#gpointer"
417
>gpointer</a> user_data);</pre>
376
422
<col align="left" valign="top">
380
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
386
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
392
<span class="term"><em class="parameter"><code>type</code></em> :</span></td>
398
<span class="term"><em class="parameter"><code>state</code></em> :</span></td>
404
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
425
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
430
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
435
<td><span class="term"><em class="parameter"><code>type</code></em> :</span></td>
440
<td><span class="term"><em class="parameter"><code>state</code></em> :</span></td>
445
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
414
455
<div class="refsect2" lang="en">
415
<a name="id2552809"></a><h3>
456
<a name="id3007189"></a><h3>
416
457
<a name="BonoboUIVerbFn"></a>BonoboUIVerbFn ()</h3>
417
<a class="indexterm" name="id2552821"></a><pre class="programlisting">void (*BonoboUIVerbFn) (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
458
<a class="indexterm" name="id3007202"></a><pre class="programlisting">void (*BonoboUIVerbFn) (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
460
href="../glib/glib-Basic-Types.html#gpointer"
461
>gpointer</a> user_data,
419
462
const char *cname);</pre>
424
467
<col align="left" valign="top">
428
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
434
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
440
<span class="term"><em class="parameter"><code>cname</code></em> :</span></td>
470
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
475
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
480
<td><span class="term"><em class="parameter"><code>cname</code></em> :</span></td>
450
490
<div class="refsect2" lang="en">
451
<a name="id2552910"></a><h3>
491
<a name="id3007290"></a><h3>
452
492
<a name="BonoboUIComponentClass"></a>BonoboUIComponentClass</h3>
453
<a class="indexterm" name="id2552923"></a><pre class="programlisting">typedef struct {
493
<a class="indexterm" name="id3007303"></a><pre class="programlisting">typedef struct {
454
494
BonoboObjectClass parent_class;
456
496
POA_Bonobo_UIComponent__epv epv;
510
550
<div class="refsect2" lang="en">
511
<a name="id2552961"></a><h3>
551
<a name="id3007342"></a><h3>
512
552
<a name="bonobo-ui-component-construct"></a>bonobo_ui_component_construct ()</h3>
513
<a class="indexterm" name="id2552975"></a><pre class="programlisting"><a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a>* bonobo_ui_component_construct
553
<a class="indexterm" name="id3007355"></a><pre class="programlisting"><a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a>* bonobo_ui_component_construct
514
554
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
515
555
const char *name);</pre>
522
562
<col align="left" valign="top">
526
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
565
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
532
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
570
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
533
571
<td> the name of the UI component
538
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
575
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
539
576
<td> a constructed UI component or NULL on error
546
583
<div class="refsect2" lang="en">
547
<a name="id2553064"></a><h3>
584
<a name="id3007444"></a><h3>
548
585
<a name="bonobo-ui-component-new"></a>bonobo_ui_component_new ()</h3>
549
<a class="indexterm" name="id2553077"></a><pre class="programlisting"><a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a>* bonobo_ui_component_new (const char *name);</pre>
586
<a class="indexterm" name="id3007458"></a><pre class="programlisting"><a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a>* bonobo_ui_component_new (const char *name);</pre>
551
588
Create a new UI component with the specified name</p>
556
593
<col align="left" valign="top">
560
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
596
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
561
597
<td> the name of the UI component
566
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
601
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
567
602
<td> a new UI component
574
609
<div class="refsect2" lang="en">
575
<a name="id2553139"></a><h3>
610
<a name="id3007520"></a><h3>
576
611
<a name="bonobo-ui-component-new-default"></a>bonobo_ui_component_new_default ()</h3>
577
<a class="indexterm" name="id2553152"></a><pre class="programlisting"><a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a>* bonobo_ui_component_new_default
612
<a class="indexterm" name="id3007533"></a><pre class="programlisting"><a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a>* bonobo_ui_component_new_default
580
615
Create a UI component with a unique default name
585
620
<div class="variablelist"><table border="0">
586
621
<col align="left" valign="top">
589
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
623
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
590
624
<td> a new UI component
596
630
<div class="refsect2" lang="en">
597
<a name="id2553195"></a><h3>
631
<a name="id3007575"></a><h3>
598
632
<a name="bonobo-ui-component-set-name"></a>bonobo_ui_component_set_name ()</h3>
599
<a class="indexterm" name="id2553208"></a><pre class="programlisting">void bonobo_ui_component_set_name (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
633
<a class="indexterm" name="id3007589"></a><pre class="programlisting">void bonobo_ui_component_set_name (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
600
634
const char *name);</pre>
602
636
Set the <em class="parameter"><code>name</code></em> of the UI <em class="parameter"><code>component</code></em></p>
607
641
<col align="left" valign="top">
611
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
644
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
612
645
<td> the UI component
617
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
649
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
618
650
<td> the new name
625
657
<div class="refsect2" lang="en">
626
<a name="id2553291"></a><h3>
658
<a name="id3007671"></a><h3>
627
659
<a name="bonobo-ui-component-get-name"></a>bonobo_ui_component_get_name ()</h3>
628
<a class="indexterm" name="id2553305"></a><pre class="programlisting">const char* bonobo_ui_component_get_name (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component);</pre>
660
<a class="indexterm" name="id3007685"></a><pre class="programlisting">const char* bonobo_ui_component_get_name (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component);</pre>
635
667
<col align="left" valign="top">
639
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
670
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
640
671
<td> the UI component
645
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
675
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
646
676
<td> the name of the UI <em class="parameter"><code>component</code></em>
653
683
<div class="refsect2" lang="en">
654
<a name="id2553372"></a><h3>
684
<a name="id3007753"></a><h3>
655
685
<a name="bonobo-ui-component-set-container"></a>bonobo_ui_component_set_container ()</h3>
656
<a class="indexterm" name="id2553386"></a><pre class="programlisting">void bonobo_ui_component_set_container
686
<a class="indexterm" name="id3007767"></a><pre class="programlisting">void bonobo_ui_component_set_container
657
687
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
658
688
Bonobo_UIContainer container,
659
689
CORBA_Environment *opt_ev);</pre>
667
697
<col align="left" valign="top">
671
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
700
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
672
701
<td> the component
677
<span class="term"><em class="parameter"><code>container</code></em> :</span></td>
705
<td><span class="term"><em class="parameter"><code>container</code></em> :</span></td>
678
706
<td> a remote container object.
683
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
710
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
693
720
<div class="refsect2" lang="en">
694
<a name="id2553493"></a><h3>
721
<a name="id3007874"></a><h3>
695
722
<a name="bonobo-ui-component-unset-container"></a>bonobo_ui_component_unset_container ()</h3>
696
<a class="indexterm" name="id2553507"></a><pre class="programlisting">void bonobo_ui_component_unset_container
723
<a class="indexterm" name="id3007888"></a><pre class="programlisting">void bonobo_ui_component_unset_container
697
724
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
698
725
CORBA_Environment *opt_ev);</pre>
706
733
<col align="left" valign="top">
710
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
736
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
711
737
<td> the component
716
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
741
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
726
751
<div class="refsect2" lang="en">
727
<a name="id2553594"></a><h3>
752
<a name="id3007975"></a><h3>
728
753
<a name="bonobo-ui-component-get-container"></a>bonobo_ui_component_get_container ()</h3>
729
<a class="indexterm" name="id2553608"></a><pre class="programlisting">Bonobo_UIContainer bonobo_ui_component_get_container
754
<a class="indexterm" name="id3007989"></a><pre class="programlisting">Bonobo_UIContainer bonobo_ui_component_get_container
730
755
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component);</pre>
737
762
<col align="left" valign="top">
741
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
765
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
742
766
<td> the component.
747
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
770
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
748
771
<td> the associated remote container
755
778
<div class="refsect2" lang="en">
756
<a name="id2553670"></a><h3>
779
<a name="id3008050"></a><h3>
757
780
<a name="bonobo-ui-component-add-verb"></a>bonobo_ui_component_add_verb ()</h3>
758
<a class="indexterm" name="id2553683"></a><pre class="programlisting">void bonobo_ui_component_add_verb (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
781
<a class="indexterm" name="id3008063"></a><pre class="programlisting">void bonobo_ui_component_add_verb (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
759
782
const char *cname,
760
783
<a href="libbonoboui-bonobo-ui-component.html#BonoboUIVerbFn">BonoboUIVerbFn</a> fn,
761
gpointer user_data);</pre>
785
href="../glib/glib-Basic-Types.html#gpointer"
786
>gpointer</a> user_data);</pre>
763
788
Add a verb to the UI component, that can be invoked by
764
789
the container.</p>
769
794
<col align="left" valign="top">
773
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
797
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
774
798
<td> the component to add it to
779
<span class="term"><em class="parameter"><code>cname</code></em> :</span></td>
802
<td><span class="term"><em class="parameter"><code>cname</code></em> :</span></td>
780
803
<td> the programmatic name of the verb
785
<span class="term"><em class="parameter"><code>fn</code></em> :</span></td>
807
<td><span class="term"><em class="parameter"><code>fn</code></em> :</span></td>
786
808
<td> the callback function for invoking it
791
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
812
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
792
813
<td> the associated user data for the callback
799
820
<div class="refsect2" lang="en">
800
<a name="id2553801"></a><h3>
821
<a name="id3008181"></a><h3>
801
822
<a name="bonobo-ui-component-add-verb-full"></a>bonobo_ui_component_add_verb_full ()</h3>
802
<a class="indexterm" name="id2553815"></a><pre class="programlisting">void bonobo_ui_component_add_verb_full
823
<a class="indexterm" name="id3008196"></a><pre class="programlisting">void bonobo_ui_component_add_verb_full
803
824
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
804
825
const char *cname,
805
GClosure *closure);</pre>
827
href="../gobject/gobject-Closures.html#GClosure"
828
>GClosure</a> *closure);</pre>
807
830
Add a verb to the UI component, that can be invoked by
808
831
the container.</p>
813
836
<col align="left" valign="top">
817
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
839
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
818
840
<td> the component to add it to
823
<span class="term"><em class="parameter"><code>cname</code></em> :</span></td>
844
<td><span class="term"><em class="parameter"><code>cname</code></em> :</span></td>
824
845
<td> the programmatic name of the verb
829
<span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
849
<td><span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
839
859
<div class="refsect2" lang="en">
840
<a name="id2553910"></a><h3>
860
<a name="id3008291"></a><h3>
841
861
<a name="bonobo-ui-component-remove-verb"></a>bonobo_ui_component_remove_verb ()</h3>
842
<a class="indexterm" name="id2553924"></a><pre class="programlisting">void bonobo_ui_component_remove_verb (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
862
<a class="indexterm" name="id3008304"></a><pre class="programlisting">void bonobo_ui_component_remove_verb (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
843
863
const char *cname);</pre>
845
865
Remove a verb by it's unique name</p>
850
870
<col align="left" valign="top">
854
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
873
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
855
874
<td> the component to add it to
860
<span class="term"><em class="parameter"><code>cname</code></em> :</span></td>
878
<td><span class="term"><em class="parameter"><code>cname</code></em> :</span></td>
861
879
<td> the programmatic name of the verb
868
886
<div class="refsect2" lang="en">
869
<a name="id2553997"></a><h3>
887
<a name="id3008378"></a><h3>
870
888
<a name="bonobo-ui-component-remove-verb-by-closure"></a>bonobo_ui_component_remove_verb_by_closure ()</h3>
871
<a class="indexterm" name="id2554012"></a><pre class="programlisting">void bonobo_ui_component_remove_verb_by_closure
889
<a class="indexterm" name="id3008393"></a><pre class="programlisting">void bonobo_ui_component_remove_verb_by_closure
872
890
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
873
GClosure *closure);</pre>
892
href="../gobject/gobject-Closures.html#GClosure"
893
>GClosure</a> *closure);</pre>
875
895
remove any verb handled by <em class="parameter"><code>fn</code></em>.</p>
880
900
<col align="left" valign="top">
884
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
903
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
885
904
<td> the component to add it to
890
<span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
908
<td><span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
900
918
<div class="refsect2" lang="en">
901
<a name="id2554090"></a><h3>
919
<a name="id3008471"></a><h3>
902
920
<a name="bonobo-ui-component-add-listener"></a>bonobo_ui_component_add_listener ()</h3>
903
<a class="indexterm" name="id2554103"></a><pre class="programlisting">void bonobo_ui_component_add_listener
921
<a class="indexterm" name="id3008484"></a><pre class="programlisting">void bonobo_ui_component_add_listener
904
922
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
906
924
<a href="libbonoboui-bonobo-ui-component.html#BonoboUIListenerFn">BonoboUIListenerFn</a> fn,
907
gpointer user_data);</pre>
926
href="../glib/glib-Basic-Types.html#gpointer"
927
>gpointer</a> user_data);</pre>
909
929
Add a listener for stateful events.</p>
914
934
<col align="left" valign="top">
918
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
937
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
919
938
<td> the component to add it to
924
<span class="term"><em class="parameter"><code>id</code></em> :</span></td>
942
<td><span class="term"><em class="parameter"><code>id</code></em> :</span></td>
925
943
<td> the programmatic name of the id
930
<span class="term"><em class="parameter"><code>fn</code></em> :</span></td>
947
<td><span class="term"><em class="parameter"><code>fn</code></em> :</span></td>
931
948
<td> the callback function for invoking it
936
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
952
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
937
953
<td> the associated user data for the callback
944
960
<div class="refsect2" lang="en">
945
<a name="id2554221"></a><h3>
961
<a name="id3008602"></a><h3>
946
962
<a name="bonobo-ui-component-add-listener-full"></a>bonobo_ui_component_add_listener_full ()</h3>
947
<a class="indexterm" name="id2554235"></a><pre class="programlisting">void bonobo_ui_component_add_listener_full
963
<a class="indexterm" name="id3008615"></a><pre class="programlisting">void bonobo_ui_component_add_listener_full
948
964
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
950
GClosure *closure);</pre>
967
href="../gobject/gobject-Closures.html#GClosure"
968
>GClosure</a> *closure);</pre>
952
970
Add a listener for stateful events.</p>
957
975
<col align="left" valign="top">
961
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
978
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
962
979
<td> the component to add it to
967
<span class="term"><em class="parameter"><code>id</code></em> :</span></td>
983
<td><span class="term"><em class="parameter"><code>id</code></em> :</span></td>
968
984
<td> the programmatic name of the id
973
<span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
988
<td><span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
983
998
<div class="refsect2" lang="en">
984
<a name="id2554330"></a><h3>
999
<a name="id3008710"></a><h3>
985
1000
<a name="bonobo-ui-component-remove-listener"></a>bonobo_ui_component_remove_listener ()</h3>
986
<a class="indexterm" name="id2554344"></a><pre class="programlisting">void bonobo_ui_component_remove_listener
1001
<a class="indexterm" name="id3008724"></a><pre class="programlisting">void bonobo_ui_component_remove_listener
987
1002
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
988
1003
const char *cname);</pre>
995
1010
<col align="left" valign="top">
999
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1013
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1000
1014
<td> the component to add it to
1005
<span class="term"><em class="parameter"><code>cname</code></em> :</span></td>
1018
<td><span class="term"><em class="parameter"><code>cname</code></em> :</span></td>
1006
1019
<td> the programmatic name of the id
1013
1026
<div class="refsect2" lang="en">
1014
<a name="id2554417"></a><h3>
1027
<a name="id3008797"></a><h3>
1015
1028
<a name="bonobo-ui-component-remove-listener-by-closure"></a>bonobo_ui_component_remove_listener_by_closure ()</h3>
1016
<a class="indexterm" name="id2554431"></a><pre class="programlisting">void bonobo_ui_component_remove_listener_by_closure
1029
<a class="indexterm" name="id3008811"></a><pre class="programlisting">void bonobo_ui_component_remove_listener_by_closure
1017
1030
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1018
GClosure *closure);</pre>
1032
href="../gobject/gobject-Closures.html#GClosure"
1033
>GClosure</a> *closure);</pre>
1023
1038
<col align="left" valign="top">
1027
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1041
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1033
<span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
1046
<td><span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
1043
1056
<div class="refsect2" lang="en">
1044
<a name="id2554500"></a><h3>
1057
<a name="id3008880"></a><h3>
1045
1058
<a name="bonobo-ui-component-set"></a>bonobo_ui_component_set ()</h3>
1046
<a class="indexterm" name="id2554513"></a><pre class="programlisting">void bonobo_ui_component_set (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1059
<a class="indexterm" name="id3008893"></a><pre class="programlisting">void bonobo_ui_component_set (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1047
1060
const char *path,
1048
1061
const char *xml,
1049
1062
CORBA_Environment *opt_ev);</pre>
1062
1075
<col align="left" valign="top">
1066
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1078
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1067
1079
<td> the component
1072
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1083
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1073
1084
<td> the path to set
1078
<span class="term"><em class="parameter"><code>xml</code></em> :</span></td>
1088
<td><span class="term"><em class="parameter"><code>xml</code></em> :</span></td>
1079
1089
<td> the xml to set
1084
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1093
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1085
1094
<td> the (optional) CORBA exception environment
1092
1101
<div class="refsect2" lang="en">
1093
<a name="id2554670"></a><h3>
1102
<a name="id3009050"></a><h3>
1094
1103
<a name="bonobo-ui-component-set-translate"></a>bonobo_ui_component_set_translate ()</h3>
1095
<a class="indexterm" name="id2554684"></a><pre class="programlisting">void bonobo_ui_component_set_translate
1104
<a class="indexterm" name="id3009064"></a><pre class="programlisting">void bonobo_ui_component_set_translate
1096
1105
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1097
1106
const char *path,
1098
1107
const char *xml,
1108
1117
<col align="left" valign="top">
1112
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1120
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1113
1121
<td> the component
1118
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1125
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1119
1126
<td> the path to set
1124
<span class="term"><em class="parameter"><code>xml</code></em> :</span></td>
1130
<td><span class="term"><em class="parameter"><code>xml</code></em> :</span></td>
1125
1131
<td> the non translated xml to set
1130
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1135
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1131
1136
<td> the (optional) CORBA exception environment
1138
1143
<div class="refsect2" lang="en">
1139
<a name="id2554811"></a><h3>
1144
<a name="id3009191"></a><h3>
1140
1145
<a name="bonobo-ui-component-set-tree"></a>bonobo_ui_component_set_tree ()</h3>
1141
<a class="indexterm" name="id2554824"></a><pre class="programlisting">void bonobo_ui_component_set_tree (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1146
<a class="indexterm" name="id3009204"></a><pre class="programlisting">void bonobo_ui_component_set_tree (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1142
1147
const char *path,
1143
1148
<a href="libbonoboui-bonobo-ui-node.html#BonoboUINode">BonoboUINode</a> *node,
1144
1149
CORBA_Environment *ev);</pre>
1152
1157
<col align="left" valign="top">
1156
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1160
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1157
1161
<td> the component
1162
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1165
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1163
1166
<td> the path to set
1168
<span class="term"><em class="parameter"><code>node</code></em> :</span></td>
1170
<td><span class="term"><em class="parameter"><code>node</code></em> :</span></td>
1169
1171
<td> the <a href="libbonoboui-bonobo-ui-node.html#BonoboUINode"><span class="type">BonoboUINode</span></a> representation of an xml tree to set
1174
<span class="term"><em class="parameter"><code>ev</code></em> :</span></td>
1175
<td><span class="term"><em class="parameter"><code>ev</code></em> :</span></td>
1175
1176
<td> the (optional) CORBA exception environment
1182
1183
<div class="refsect2" lang="en">
1183
<a name="id2554975"></a><h3>
1184
<a name="id3009355"></a><h3>
1184
1185
<a name="bonobo-ui-component-rm"></a>bonobo_ui_component_rm ()</h3>
1185
<a class="indexterm" name="id2554987"></a><pre class="programlisting">void bonobo_ui_component_rm (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1186
<a class="indexterm" name="id3009368"></a><pre class="programlisting">void bonobo_ui_component_rm (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1186
1187
const char *path,
1187
1188
CORBA_Environment *ev);</pre>
1196
1197
<col align="left" valign="top">
1200
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1200
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1201
1201
<td> the component
1206
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1205
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1207
1206
<td> the path to set
1212
<span class="term"><em class="parameter"><code>ev</code></em> :</span></td>
1210
<td><span class="term"><em class="parameter"><code>ev</code></em> :</span></td>
1213
1211
<td> the (optional) CORBA exception environment
1220
1218
<div class="refsect2" lang="en">
1221
<a name="id2555103"></a><h3>
1219
<a name="id3009483"></a><h3>
1222
1220
<a name="bonobo-ui-component-path-exists"></a>bonobo_ui_component_path_exists ()</h3>
1223
<a class="indexterm" name="id2555117"></a><pre class="programlisting">gboolean bonobo_ui_component_path_exists (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1221
<a class="indexterm" name="id3009497"></a><pre class="programlisting"><a
1222
href="../glib/glib-Basic-Types.html#gboolean"
1223
>gboolean</a> bonobo_ui_component_path_exists (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1224
1224
const char *path,
1225
1225
CORBA_Environment *ev);</pre>
1232
1232
<col align="left" valign="top">
1236
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1235
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1237
1236
<td> the component
1242
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1240
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1243
1241
<td> the path to set the property on
1248
<span class="term"><em class="parameter"><code>ev</code></em> :</span></td>
1245
<td><span class="term"><em class="parameter"><code>ev</code></em> :</span></td>
1249
1246
<td> the (optional) CORBA exception environment
1254
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1250
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1255
1251
<td> TRUE if the path exists in the container.
1262
1258
<div class="refsect2" lang="en">
1263
<a name="id2555222"></a><h3>
1259
<a name="id3009602"></a><h3>
1264
1260
<a name="bonobo-ui-component-get"></a>bonobo_ui_component_get ()</h3>
1265
<a class="indexterm" name="id2555235"></a><pre class="programlisting">CORBA_char* bonobo_ui_component_get (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1261
<a class="indexterm" name="id3009616"></a><pre class="programlisting">CORBA_char* bonobo_ui_component_get (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1266
1262
const char *path,
1264
href="../glib/glib-Basic-Types.html#gboolean"
1265
>gboolean</a> recurse,
1268
1266
CORBA_Environment *opt_ev);</pre>
1270
1268
This routine fetches a chunk of the XML tree in the
1278
1276
<col align="left" valign="top">
1282
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1279
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1283
1280
<td> the component
1288
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1284
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1289
1285
<td> the path to get
1294
<span class="term"><em class="parameter"><code>recurse</code></em> :</span></td>
1289
<td><span class="term"><em class="parameter"><code>recurse</code></em> :</span></td>
1295
1290
<td> whether to get child nodes of <em class="parameter"><code>path</code></em>
1300
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1294
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1301
1295
<td> the (optional) CORBA exception environment
1306
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1299
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1307
1300
<td> an XML string (CORBA allocated)
1314
1307
<div class="refsect2" lang="en">
1315
<a name="id2555402"></a><h3>
1308
<a name="id3009783"></a><h3>
1316
1309
<a name="bonobo-ui-component-get-tree"></a>bonobo_ui_component_get_tree ()</h3>
1317
<a class="indexterm" name="id2555416"></a><pre class="programlisting"><a href="libbonoboui-bonobo-ui-node.html#BonoboUINode">BonoboUINode</a>* bonobo_ui_component_get_tree (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1310
<a class="indexterm" name="id3009796"></a><pre class="programlisting"><a href="libbonoboui-bonobo-ui-node.html#BonoboUINode">BonoboUINode</a>* bonobo_ui_component_get_tree (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1318
1311
const char *path,
1313
href="../glib/glib-Basic-Types.html#gboolean"
1314
>gboolean</a> recurse,
1320
1315
CORBA_Environment *opt_ev);</pre>
1322
1317
This routine fetches a chunk of the XML tree in the
1330
1325
<col align="left" valign="top">
1334
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1328
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1335
1329
<td> the component
1340
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1333
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1341
1334
<td> the path to get
1346
<span class="term"><em class="parameter"><code>recurse</code></em> :</span></td>
1338
<td><span class="term"><em class="parameter"><code>recurse</code></em> :</span></td>
1347
1339
<td> whether to get child nodes of <em class="parameter"><code>path</code></em>
1352
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1343
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1353
1344
<td> the (optional) CORBA exception environment
1358
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1348
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1359
1349
<td> an <a href="libbonoboui-bonobo-ui-node.html#BonoboUINode"><span class="type">BonoboUINode</span></a> XML representation
1366
1356
<div class="refsect2" lang="en">
1367
<a name="id2555591"></a><h3>
1357
<a name="id3009972"></a><h3>
1368
1358
<a name="bonobo-ui-component-object-set"></a>bonobo_ui_component_object_set ()</h3>
1369
<a class="indexterm" name="id2555605"></a><pre class="programlisting">void bonobo_ui_component_object_set (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1359
<a class="indexterm" name="id3009986"></a><pre class="programlisting">void bonobo_ui_component_object_set (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1370
1360
const char *path,
1371
1361
Bonobo_Unknown control,
1372
1362
CORBA_Environment *opt_ev);</pre>
1382
1372
<col align="left" valign="top">
1386
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1375
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1387
1376
<td> the component
1392
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1380
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1393
1381
<td> the path to set
1398
<span class="term"><em class="parameter"><code>control</code></em> :</span></td>
1385
<td><span class="term"><em class="parameter"><code>control</code></em> :</span></td>
1399
1386
<td> a CORBA object reference
1404
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1390
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1405
1391
<td> the (optional) CORBA exception environment
1412
1398
<div class="refsect2" lang="en">
1413
<a name="id2555750"></a><h3>
1399
<a name="id3010131"></a><h3>
1414
1400
<a name="bonobo-ui-component-object-get"></a>bonobo_ui_component_object_get ()</h3>
1415
<a class="indexterm" name="id2555764"></a><pre class="programlisting">Bonobo_Unknown bonobo_ui_component_object_get
1401
<a class="indexterm" name="id3010144"></a><pre class="programlisting">Bonobo_Unknown bonobo_ui_component_object_get
1416
1402
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1417
1403
const char *path,
1418
1404
CORBA_Environment *opt_ev);</pre>
1427
1413
<col align="left" valign="top">
1431
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1416
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1432
1417
<td> the component
1437
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1421
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1438
1422
<td> the path to set
1443
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1426
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1449
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1431
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1450
1432
<td> the associated remote CORBA object.
1457
1439
<div class="refsect2" lang="en">
1458
<a name="id2555896"></a><h3>
1440
<a name="id3010277"></a><h3>
1459
1441
<a name="bonobo-ui-component-widget-set"></a>bonobo_ui_component_widget_set ()</h3>
1460
<a class="indexterm" name="id2555910"></a><pre class="programlisting">void bonobo_ui_component_widget_set (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1442
<a class="indexterm" name="id3010290"></a><pre class="programlisting">void bonobo_ui_component_widget_set (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1461
1443
const char *path,
1445
href="../gtk/GtkWidget.html"
1446
>GtkWidget</a> *widget,
1463
1447
CORBA_Environment *opt_ev);</pre>
1468
1452
<col align="left" valign="top">
1472
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1478
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1484
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
1490
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1455
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1460
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1465
<td><span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
1470
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1500
1480
<div class="refsect2" lang="en">
1501
<a name="id2556020"></a><h3>
1481
<a name="id3010401"></a><h3>
1502
1482
<a name="bonobo-ui-component-freeze"></a>bonobo_ui_component_freeze ()</h3>
1503
<a class="indexterm" name="id2556034"></a><pre class="programlisting">void bonobo_ui_component_freeze (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1483
<a class="indexterm" name="id3010415"></a><pre class="programlisting">void bonobo_ui_component_freeze (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1504
1484
CORBA_Environment *opt_ev);</pre>
1506
1486
This increments the freeze count on the associated
1518
1498
<col align="left" valign="top">
1522
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1501
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1523
1502
<td> the component
1528
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1506
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1538
1516
<div class="refsect2" lang="en">
1539
<a name="id2556122"></a><h3>
1517
<a name="id3010502"></a><h3>
1540
1518
<a name="bonobo-ui-component-thaw"></a>bonobo_ui_component_thaw ()</h3>
1541
<a class="indexterm" name="id2556135"></a><pre class="programlisting">void bonobo_ui_component_thaw (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1519
<a class="indexterm" name="id3010515"></a><pre class="programlisting">void bonobo_ui_component_thaw (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1542
1520
CORBA_Environment *opt_ev);</pre>
1544
1522
This decrements the freeze count on the remote associated
1556
1534
<col align="left" valign="top">
1560
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1537
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1561
1538
<td> the component
1566
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1542
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1576
1552
<div class="refsect2" lang="en">
1577
<a name="id2556223"></a><h3>
1553
<a name="id3010603"></a><h3>
1578
1554
<a name="bonobo-ui-component-set-prop"></a>bonobo_ui_component_set_prop ()</h3>
1579
<a class="indexterm" name="id2556236"></a><pre class="programlisting">void bonobo_ui_component_set_prop (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1555
<a class="indexterm" name="id3010617"></a><pre class="programlisting">void bonobo_ui_component_set_prop (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1580
1556
const char *path,
1581
1557
const char *prop,
1582
1558
const char *value,
1593
1569
<col align="left" valign="top">
1597
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1572
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1598
1573
<td> the component
1603
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1577
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1604
1578
<td> the path to set the property on
1609
<span class="term"><em class="parameter"><code>prop</code></em> :</span></td>
1582
<td><span class="term"><em class="parameter"><code>prop</code></em> :</span></td>
1610
1583
<td> the property name
1615
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1587
<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td>
1616
1588
<td> the property value
1621
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1592
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1622
1593
<td> the (optional) CORBA exception environment
1629
1600
<div class="refsect2" lang="en">
1630
<a name="id2556384"></a><h3>
1601
<a name="id3010765"></a><h3>
1631
1602
<a name="bonobo-ui-component-get-prop"></a>bonobo_ui_component_get_prop ()</h3>
1632
<a class="indexterm" name="id2556397"></a><pre class="programlisting">gchar* bonobo_ui_component_get_prop (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1603
<a class="indexterm" name="id3010778"></a><pre class="programlisting"><a
1604
href="../glib/glib-Basic-Types.html#gchar"
1605
>gchar</a>* bonobo_ui_component_get_prop (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1633
1606
const char *path,
1634
1607
const char *prop,
1635
1608
CORBA_Environment *opt_ev);</pre>
1644
1617
<col align="left" valign="top">
1648
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1620
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1649
1621
<td> the component
1654
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1625
<td><span class="term"><em class="parameter"><code>path</code></em> :</span></td>
1655
1626
<td> the path to set the property on
1660
<span class="term"><em class="parameter"><code>prop</code></em> :</span></td>
1630
<td><span class="term"><em class="parameter"><code>prop</code></em> :</span></td>
1661
1631
<td> the property name
1666
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1635
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1667
1636
<td> the (optional) CORBA exception environment
1672
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1640
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
1673
1641
<td> the xml property value or NULL - free with g_free.
1680
1648
<div class="refsect2" lang="en">
1681
<a name="id2556546"></a><h3>
1649
<a name="id3010926"></a><h3>
1682
1650
<a name="bonobo-ui-component-set-status"></a>bonobo_ui_component_set_status ()</h3>
1683
<a class="indexterm" name="id2556559"></a><pre class="programlisting">void bonobo_ui_component_set_status (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1651
<a class="indexterm" name="id3010939"></a><pre class="programlisting">void bonobo_ui_component_set_status (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1684
1652
const char *text,
1685
1653
CORBA_Environment *opt_ev);</pre>
1695
1663
<col align="left" valign="top">
1699
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1666
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1700
1667
<td> the component
1705
<span class="term"><em class="parameter"><code>text</code></em> :</span></td>
1671
<td><span class="term"><em class="parameter"><code>text</code></em> :</span></td>
1706
1672
<td> the new status text
1711
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1676
<td><span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
1721
1686
<div class="refsect2" lang="en">
1722
<a name="id2556675"></a><h3>
1687
<a name="id3011056"></a><h3>
1723
1688
<a name="BonoboUIVerb"></a>BonoboUIVerb</h3>
1724
<a class="indexterm" name="id2556687"></a><pre class="programlisting">typedef struct {
1689
<a class="indexterm" name="id3011068"></a><pre class="programlisting">typedef struct {
1725
1690
const char *cname;
1726
1691
BonoboUIVerbFn cb;
1727
1692
gpointer user_data;
1736
1701
<div class="refsect2" lang="en">
1737
<a name="id2556704"></a><h3>
1702
<a name="id3011085"></a><h3>
1738
1703
<a name="BONOBO-UI-VERB:CAPS"></a>BONOBO_UI_VERB()</h3>
1739
<a class="indexterm" name="id2556717"></a><pre class="programlisting">#define BONOBO_UI_VERB(name,cb) { (name), (cb), NULL }
1704
<a class="indexterm" name="id3011097"></a><pre class="programlisting">#define BONOBO_UI_VERB(name,cb) { (name), (cb), NULL }
1742
1707
This declares and fills a BonoboUIVerb structure suitable for
1747
1712
<col align="left" valign="top">
1751
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1715
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1752
1716
<td>the verb name
1757
<span class="term"><em class="parameter"><code>cb</code></em> :</span></td>
1720
<td><span class="term"><em class="parameter"><code>cb</code></em> :</span></td>
1758
1721
<td>the callback function.
1767
1730
<div class="refsect2" lang="en">
1768
<a name="id2556768"></a><h3>
1731
<a name="id3011148"></a><h3>
1769
1732
<a name="BONOBO-UI-VERB-DATA:CAPS"></a>BONOBO_UI_VERB_DATA()</h3>
1770
<a class="indexterm" name="id2556781"></a><pre class="programlisting">#define BONOBO_UI_VERB_DATA(name,cb,data) { (name), (cb), (data) }
1733
<a class="indexterm" name="id3011161"></a><pre class="programlisting">#define BONOBO_UI_VERB_DATA(name,cb,data) { (name), (cb), (data) }
1773
1736
This declares and fills a BonoboUIVerb structure suitable for
1778
1741
<col align="left" valign="top">
1782
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1744
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1783
1745
<td>the verb name
1788
<span class="term"><em class="parameter"><code>cb</code></em> :</span></td>
1749
<td><span class="term"><em class="parameter"><code>cb</code></em> :</span></td>
1789
1750
<td>the callback function
1794
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
1754
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
1795
1755
<td>some associated user_data
1804
1764
<div class="refsect2" lang="en">
1805
<a name="id2556846"></a><h3>
1765
<a name="id3011226"></a><h3>
1806
1766
<a name="BONOBO-UI-UNSAFE-VERB:CAPS"></a>BONOBO_UI_UNSAFE_VERB()</h3>
1807
<a class="indexterm" name="id2556859"></a><pre class="programlisting">#define BONOBO_UI_UNSAFE_VERB(name,cb) { (name), ((BonoboUIVerbFn)(cb)), NULL }
1767
<a class="indexterm" name="id3011239"></a><pre class="programlisting">#define BONOBO_UI_UNSAFE_VERB(name,cb) { (name), ((BonoboUIVerbFn)(cb)), NULL }
1810
1770
As BONOBO_UI_VERB, but unsafely casts <em class="parameter"><code>cb</code></em> to the correct type
1813
1773
<col align="left" valign="top">
1817
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1776
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1818
1777
<td>the verb name
1823
<span class="term"><em class="parameter"><code>cb</code></em> :</span></td>
1781
<td><span class="term"><em class="parameter"><code>cb</code></em> :</span></td>
1824
1782
<td>the callback function.
1833
1791
<div class="refsect2" lang="en">
1834
<a name="id2556914"></a><h3>
1792
<a name="id3011295"></a><h3>
1835
1793
<a name="BONOBO-UI-UNSAFE-VERB-DATA:CAPS"></a>BONOBO_UI_UNSAFE_VERB_DATA()</h3>
1836
<a class="indexterm" name="id2556927"></a><pre class="programlisting">#define BONOBO_UI_UNSAFE_VERB_DATA(name,cb,data) { (name), ((BonoboUIVerbFn)(cb)), (data) }
1794
<a class="indexterm" name="id3011308"></a><pre class="programlisting">#define BONOBO_UI_UNSAFE_VERB_DATA(name,cb,data) { (name), ((BonoboUIVerbFn)(cb)), (data) }
1839
1797
As BONOBO_UI_VERB_DATA, but unsafely casts <em class="parameter"><code>cb</code></em> to the correct type
1842
1800
<col align="left" valign="top">
1846
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1803
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
1847
1804
<td>the verb name
1852
<span class="term"><em class="parameter"><code>cb</code></em> :</span></td>
1808
<td><span class="term"><em class="parameter"><code>cb</code></em> :</span></td>
1853
1809
<td>the callback function
1858
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
1813
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
1859
1814
<td>some associated user_data
1868
1823
<div class="refsect2" lang="en">
1869
<a name="id2556997"></a><h3>
1824
<a name="id3011378"></a><h3>
1870
1825
<a name="BONOBO-UI-VERB-END:CAPS"></a>BONOBO_UI_VERB_END</h3>
1871
<a class="indexterm" name="id2557011"></a><pre class="programlisting">#define BONOBO_UI_VERB_END { NULL, NULL, NULL }
1826
<a class="indexterm" name="id3011391"></a><pre class="programlisting">#define BONOBO_UI_VERB_END { NULL, NULL, NULL }
1874
1829
The terminator BonoboUIVerb structure for a list of BonoboUIVerbs.
1878
1833
<div class="refsect2" lang="en">
1879
<a name="id2557028"></a><h3>
1834
<a name="id3011409"></a><h3>
1880
1835
<a name="bonobo-ui-component-add-verb-list"></a>bonobo_ui_component_add_verb_list ()</h3>
1881
<a class="indexterm" name="id2557042"></a><pre class="programlisting">void bonobo_ui_component_add_verb_list
1836
<a class="indexterm" name="id3011422"></a><pre class="programlisting">void bonobo_ui_component_add_verb_list
1882
1837
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1883
1838
const <a href="libbonoboui-bonobo-ui-component.html#BonoboUIVerb">BonoboUIVerb</a> *list);</pre>
1891
1846
<col align="left" valign="top">
1895
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1849
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1896
1850
<td> the component
1901
<span class="term"><em class="parameter"><code>list</code></em> :</span></td>
1854
<td><span class="term"><em class="parameter"><code>list</code></em> :</span></td>
1902
1855
<td> the list of verbs.
1909
1862
<div class="refsect2" lang="en">
1910
<a name="id2557124"></a><h3>
1863
<a name="id3011504"></a><h3>
1911
1864
<a name="bonobo-ui-component-add-verb-list-with-data"></a>bonobo_ui_component_add_verb_list_with_data ()</h3>
1912
<a class="indexterm" name="id2557139"></a><pre class="programlisting">void bonobo_ui_component_add_verb_list_with_data
1865
<a class="indexterm" name="id3011519"></a><pre class="programlisting">void bonobo_ui_component_add_verb_list_with_data
1913
1866
(<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *component,
1914
1867
const <a href="libbonoboui-bonobo-ui-component.html#BonoboUIVerb">BonoboUIVerb</a> *list,
1915
gpointer user_data);</pre>
1869
href="../glib/glib-Basic-Types.html#gpointer"
1870
>gpointer</a> user_data);</pre>
1917
1872
This is a helper function to save registering verbs individualy
1918
1873
it allows registration of a great batch of verbs at one time
1924
1879
<col align="left" valign="top">
1928
<span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1882
<td><span class="term"><em class="parameter"><code>component</code></em> :</span></td>
1929
1883
<td> the component
1934
<span class="term"><em class="parameter"><code>list</code></em> :</span></td>
1887
<td><span class="term"><em class="parameter"><code>list</code></em> :</span></td>
1935
1888
<td> the list of verbs
1940
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
1892
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
1941
1893
<td> the user data passed to the verb callbacks
1948
1900
<div class="refsect1" lang="en">
1949
<a name="id2557253"></a><h2>Signal Details</h2>
1901
<a name="id3011634"></a><h2>Signal Details</h2>
1950
1902
<div class="refsect2" lang="en">
1951
<a name="id2557264"></a><h3>
1903
<a name="id3011644"></a><h3>
1952
1904
<a name="BonoboUIComponent-exec-verb"></a>The "exec-verb" signal</h3>
1953
<a class="indexterm" name="id2557274"></a><pre class="programlisting">void user_function (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *bonobouicomponent,
1955
gpointer user_data) : Run first</pre>
1905
<a class="indexterm" name="id3011654"></a><pre class="programlisting">void user_function (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *bonobouicomponent,
1907
href="../glib/glib-Basic-Types.html#gchar"
1910
href="../glib/glib-Basic-Types.html#gpointer"
1911
>gpointer</a> user_data) : Run first</pre>
1960
1916
<col align="left" valign="top">
1964
<span class="term"><em class="parameter"><code>bonobouicomponent</code></em> :</span></td>
1919
<td><span class="term"><em class="parameter"><code>bonobouicomponent</code></em> :</span></td>
1965
1920
<td>the object which received the signal.
1970
<span class="term"><em class="parameter"><code>arg1</code></em> :</span></td>
1924
<td><span class="term"><em class="parameter"><code>arg1</code></em> :</span></td>
1977
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
1930
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
1978
1931
<td>user data set when the signal handler was connected.</td>
1984
1937
<div class="refsect2" lang="en">
1985
<a name="id2557364"></a><h3>
1938
<a name="id3011745"></a><h3>
1986
1939
<a name="BonoboUIComponent-ui-event"></a>The "ui-event" signal</h3>
1987
<a class="indexterm" name="id2557374"></a><pre class="programlisting">void user_function (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *bonobouicomponent,
1991
gpointer user_data) : Run first</pre>
1940
<a class="indexterm" name="id3011755"></a><pre class="programlisting">void user_function (<a href="libbonoboui-bonobo-ui-component.html#BonoboUIComponent">BonoboUIComponent</a> *bonobouicomponent,
1942
href="../glib/glib-Basic-Types.html#gchar"
1945
href="../glib/glib-Basic-Types.html#gint"
1948
href="../glib/glib-Basic-Types.html#gchar"
1951
href="../glib/glib-Basic-Types.html#gpointer"
1952
>gpointer</a> user_data) : Run first</pre>
1996
1957
<col align="left" valign="top">
2000
<span class="term"><em class="parameter"><code>bonobouicomponent</code></em> :</span></td>
1960
<td><span class="term"><em class="parameter"><code>bonobouicomponent</code></em> :</span></td>
2001
1961
<td>the object which received the signal.
2006
<span class="term"><em class="parameter"><code>arg1</code></em> :</span></td>
2012
<span class="term"><em class="parameter"><code>arg2</code></em> :</span></td>
2018
<span class="term"><em class="parameter"><code>arg3</code></em> :</span></td>
1965
<td><span class="term"><em class="parameter"><code>arg1</code></em> :</span></td>
1970
<td><span class="term"><em class="parameter"><code>arg2</code></em> :</span></td>
1975
<td><span class="term"><em class="parameter"><code>arg3</code></em> :</span></td>
2025
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
1981
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
2026
1982
<td>user data set when the signal handler was connected.</td>
2032
1988
<div class="refsect1" lang="en">
2033
<a name="id2557509"></a><h2>See Also</h2>
1989
<a name="id3011890"></a><h2>See Also</h2>
2035
<a href="libbonoboui-bonobo-ui-container.html#BonoboUIContainer"><span class="type">BonoboUIContainer</span></a>, <a href="libbonoboui-bonobo-ui-util.html" title="bonobo-ui-util"><a name="id2565107"></a><span class="refentrytitle">bonobo-ui-util</span>(3)</a>, <a href="libbonoboui-bonobo-control.html#BonoboControl"><span class="type">BonoboControl</span></a>
1991
<a href="libbonoboui-bonobo-ui-container.html#BonoboUIContainer"><span class="type">BonoboUIContainer</span></a>, <a href="libbonoboui-bonobo-ui-util.html" title="bonobo-ui-util"><a name="id3019486"></a><span class="refentrytitle">bonobo-ui-util</span>(3)</a>, <a href="libbonoboui-bonobo-control.html#BonoboControl"><span class="type">BonoboControl</span></a>