1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>GladeCommand</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="Glade User Interface Designer Reference Manual">
8
<link rel="up" href="core.html" title="Part II. Glade Core">
9
<link rel="prev" href="GladeWidgetAction.html" title="GladeWidgetAction">
10
<link rel="next" href="GladeClipboard.html" title="GladeClipboard">
11
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="catalog.html" title="Part I. Adding your custom widgets">
14
<link rel="part" href="core.html" title="Part II. Glade Core">
15
<link rel="part" href="dockables.html" title="Part III. Dockable Glade UI Widgets">
16
<link rel="part" href="misc.html" title="Part IV. Miscellaneous utilities">
17
<link rel="index" href="ix01.html" title="Index">
19
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
20
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
22
<td><a accesskey="p" href="GladeWidgetAction.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
23
<td><a accesskey="u" href="core.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
24
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
25
<th width="100%" align="center">Glade User Interface Designer Reference Manual</th>
26
<td><a accesskey="n" href="GladeClipboard.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
28
<tr><td colspan="5" class="shortcuts">
29
<a href="#GladeCommand.synopsis" class="shortcut">Top</a>
31
<a href="#GladeCommand.description" class="shortcut">Description</a>
33
<a href="#GladeCommand.object-hierarchy" class="shortcut">Object Hierarchy</a>
36
<div class="refentry" lang="en">
37
<a name="GladeCommand"></a><div class="titlepage"></div>
38
<div class="refnamediv"><table width="100%"><tr>
40
<h2><span class="refentrytitle"><a name="GladeCommand.top_of_page"></a>GladeCommand</span></h2>
41
<p>GladeCommand — An event filter to implement the Undo/Redo stack.</p>
43
<td valign="top" align="right"></td>
45
<div class="refsynopsisdiv">
46
<a name="GladeCommand.synopsis"></a><h2>Synopsis</h2>
47
<pre class="synopsis">
48
<a class="link" href="GladeCommand.html#GCSetPropData" title="GCSetPropData">GCSetPropData</a>;
49
<a class="link" href="GladeCommand.html#GladeCommand-struct" title="GladeCommand">GladeCommand</a>;
50
void <a class="link" href="GladeCommand.html#glade-command-push-group" title="glade_command_push_group ()">glade_command_push_group</a> (const gchar *fmt,
52
void <a class="link" href="GladeCommand.html#glade-command-pop-group" title="glade_command_pop_group ()">glade_command_pop_group</a> (void);
53
gboolean <a class="link" href="GladeCommand.html#glade-command-execute" title="glade_command_execute ()">glade_command_execute</a> (<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *command);
54
gboolean <a class="link" href="GladeCommand.html#glade-command-undo" title="glade_command_undo ()">glade_command_undo</a> (<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *command);
55
gboolean <a class="link" href="GladeCommand.html#glade-command-unifies" title="glade_command_unifies ()">glade_command_unifies</a> (<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *command,
56
<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *other);
57
void <a class="link" href="GladeCommand.html#glade-command-collapse" title="glade_command_collapse ()">glade_command_collapse</a> (<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *command,
58
<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *other);
59
void <a class="link" href="GladeCommand.html#glade-command-set-property" title="glade_command_set_property ()">glade_command_set_property</a> (<a class="link" href="gladeui-glade-property.html#GladeProperty">GladeProperty</a> *property,
61
void <a class="link" href="GladeCommand.html#glade-command-set-property-value" title="glade_command_set_property_value ()">glade_command_set_property_value</a> (<a class="link" href="gladeui-glade-property.html#GladeProperty">GladeProperty</a> *property,
63
void <a class="link" href="GladeCommand.html#glade-command-set-properties" title="glade_command_set_properties ()">glade_command_set_properties</a> (<a class="link" href="gladeui-glade-property.html#GladeProperty">GladeProperty</a> *property,
64
const GValue *old_value,
65
const GValue *new_value,
67
void <a class="link" href="GladeCommand.html#glade-command-set-properties-list" title="glade_command_set_properties_list ()">glade_command_set_properties_list</a> (<a class="link" href="GladeProject.html" title="GladeProject">GladeProject</a> *project,
69
void <a class="link" href="GladeCommand.html#glade-command-set-name" title="glade_command_set_name ()">glade_command_set_name</a> (<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *glade_widget,
71
void <a class="link" href="GladeCommand.html#glade-command-delete" title="glade_command_delete ()">glade_command_delete</a> (GList *widgets);
72
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> * <a class="link" href="GladeCommand.html#glade-command-create" title="glade_command_create ()">glade_command_create</a> (<a class="link" href="gladeui-GladeWidgetAdaptor.html#GladeWidgetAdaptor" title="GladeWidgetAdaptor">GladeWidgetAdaptor</a> *adaptor,
73
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *parent,
74
<a class="link" href="GladePlaceholder.html" title="GladePlaceholder">GladePlaceholder</a> *placeholder,
75
<a class="link" href="GladeProject.html" title="GladeProject">GladeProject</a> *project);
76
void <a class="link" href="GladeCommand.html#glade-command-cut" title="glade_command_cut ()">glade_command_cut</a> (GList *widgets);
77
void <a class="link" href="GladeCommand.html#glade-command-copy" title="glade_command_copy ()">glade_command_copy</a> (GList *widgets);
78
void <a class="link" href="GladeCommand.html#glade-command-paste" title="glade_command_paste ()">glade_command_paste</a> (GList *widgets,
79
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *parent,
80
<a class="link" href="GladePlaceholder.html" title="GladePlaceholder">GladePlaceholder</a> *placeholder);
81
void <a class="link" href="GladeCommand.html#glade-command-dnd" title="glade_command_dnd ()">glade_command_dnd</a> (GList *widgets,
82
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *parent,
83
<a class="link" href="GladePlaceholder.html" title="GladePlaceholder">GladePlaceholder</a> *placeholder);
84
void <a class="link" href="GladeCommand.html#glade-command-add-signal" title="glade_command_add_signal ()">glade_command_add_signal</a> (<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *glade_widget,
85
const GladeSignal *signal);
86
void <a class="link" href="GladeCommand.html#glade-command-remove-signal" title="glade_command_remove_signal ()">glade_command_remove_signal</a> (<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *glade_widget,
87
const GladeSignal *signal);
88
void <a class="link" href="GladeCommand.html#glade-command-change-signal" title="glade_command_change_signal ()">glade_command_change_signal</a> (<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *glade_widget,
89
const GladeSignal *old_signal,
90
const GladeSignal *new_signal);
91
void <a class="link" href="GladeCommand.html#glade-command-set-i18n" title="glade_command_set_i18n ()">glade_command_set_i18n</a> (<a class="link" href="gladeui-glade-property.html#GladeProperty">GladeProperty</a> *property,
92
gboolean translatable,
95
const gchar *comment);
98
<div class="refsect1" lang="en">
99
<a name="GladeCommand.object-hierarchy"></a><h2>Object Hierarchy</h2>
100
<pre class="synopsis">
105
<div class="refsect1" lang="en">
106
<a name="GladeCommand.description"></a><h2>Description</h2>
108
The Glade Command api allows us to view user actions as items and execute
109
and undo those items; each <a class="link" href="GladeProject.html" title="GladeProject"><span class="type">GladeProject</span></a> has its own Undo/Redo stack.</p>
111
<div class="refsect1" lang="en">
112
<a name="GladeCommand.details"></a><h2>Details</h2>
113
<div class="refsect2" lang="en">
114
<a name="GCSetPropData"></a><h3>GCSetPropData</h3>
115
<pre class="programlisting">typedef struct {
116
GladeProperty *property;
122
<span class="type">GladeProperties</span> can be set in a list as one command,
123
for Undo purposes; we store the list of <a class="link" href="GladeCommand.html#GCSetPropData" title="GCSetPropData"><span class="type">GCSetPropData</span></a> with
124
their old and new <span class="type">GValue</span>.</p>
125
<div class="variablelist"><table border="0">
126
<col align="left" valign="top">
129
<td><p><span class="term"><a class="link" href="gladeui-glade-property.html#GladeProperty">GladeProperty</a> *<em class="structfield"><code>property</code></em>;</span></p></td>
130
<td> A <a class="link" href="gladeui-glade-property.html#GladeProperty"><span class="type">GladeProperty</span></a> to set
134
<td><p><span class="term">GValue *<em class="structfield"><code>new_value</code></em>;</span></p></td>
135
<td> The new <span class="type">GValue</span> to assign to <em class="parameter"><code>property</code></em>
139
<td><p><span class="term">GValue *<em class="structfield"><code>old_value</code></em>;</span></p></td>
140
<td> The old <span class="type">GValue</span> of <em class="parameter"><code>property</code></em>
147
<div class="refsect2" lang="en">
148
<a name="GladeCommand-struct"></a><h3>GladeCommand</h3>
149
<pre class="programlisting">typedef struct _GladeCommand GladeCommand;</pre>
152
<div class="refsect2" lang="en">
153
<a name="glade-command-push-group"></a><h3>glade_command_push_group ()</h3>
154
<pre class="programlisting">void glade_command_push_group (const gchar *fmt,
157
Marks the begining of a group.</p>
158
<div class="variablelist"><table border="0">
159
<col align="left" valign="top">
162
<td><p><span class="term"><em class="parameter"><code>fmt</code></em> :</span></p></td>
163
<td> The collective desctiption of the command group.
164
only the description of the first group on the
165
stack is used when embedding groups.
169
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
170
<td> args to the format string.
177
<div class="refsect2" lang="en">
178
<a name="glade-command-pop-group"></a><h3>glade_command_pop_group ()</h3>
179
<pre class="programlisting">void glade_command_pop_group (void);</pre>
181
Mark the end of a command group.</p>
184
<div class="refsect2" lang="en">
185
<a name="glade-command-execute"></a><h3>glade_command_execute ()</h3>
186
<pre class="programlisting">gboolean glade_command_execute (<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *command);</pre>
188
Executes <em class="parameter"><code>command</code></em></p>
189
<div class="variablelist"><table border="0">
190
<col align="left" valign="top">
193
<td><p><span class="term"><em class="parameter"><code>command</code></em> :</span></p></td>
194
<td> A <a class="link" href="GladeCommand.html" title="GladeCommand"><span class="type">GladeCommand</span></a>
198
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
199
<td> whether the command was successfully executed
206
<div class="refsect2" lang="en">
207
<a name="glade-command-undo"></a><h3>glade_command_undo ()</h3>
208
<pre class="programlisting">gboolean glade_command_undo (<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *command);</pre>
210
Undo the effects of <em class="parameter"><code>command</code></em></p>
211
<div class="variablelist"><table border="0">
212
<col align="left" valign="top">
215
<td><p><span class="term"><em class="parameter"><code>command</code></em> :</span></p></td>
216
<td> A <a class="link" href="GladeCommand.html" title="GladeCommand"><span class="type">GladeCommand</span></a>
220
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
221
<td> whether the command was successfully reversed
228
<div class="refsect2" lang="en">
229
<a name="glade-command-unifies"></a><h3>glade_command_unifies ()</h3>
230
<pre class="programlisting">gboolean glade_command_unifies (<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *command,
231
<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *other);</pre>
233
Checks whether <em class="parameter"><code>command</code></em> and <em class="parameter"><code>other</code></em> can be unified
234
to make one single command.</p>
235
<div class="variablelist"><table border="0">
236
<col align="left" valign="top">
239
<td><p><span class="term"><em class="parameter"><code>command</code></em> :</span></p></td>
240
<td> A <a class="link" href="GladeCommand.html" title="GladeCommand"><span class="type">GladeCommand</span></a>
244
<td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td>
245
<td> another <a class="link" href="GladeCommand.html" title="GladeCommand"><span class="type">GladeCommand</span></a>
249
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
250
<td> whether they can be unified.
257
<div class="refsect2" lang="en">
258
<a name="glade-command-collapse"></a><h3>glade_command_collapse ()</h3>
259
<pre class="programlisting">void glade_command_collapse (<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *command,
260
<a class="link" href="GladeCommand.html" title="GladeCommand">GladeCommand</a> *other);</pre>
262
Merges <em class="parameter"><code>other</code></em> into <em class="parameter"><code>command</code></em>, so that <em class="parameter"><code>command</code></em> now
263
covers both commands and <em class="parameter"><code>other</code></em> can be dispensed with.</p>
264
<div class="variablelist"><table border="0">
265
<col align="left" valign="top">
268
<td><p><span class="term"><em class="parameter"><code>command</code></em> :</span></p></td>
269
<td> A <a class="link" href="GladeCommand.html" title="GladeCommand"><span class="type">GladeCommand</span></a>
273
<td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td>
274
<td> another <a class="link" href="GladeCommand.html" title="GladeCommand"><span class="type">GladeCommand</span></a>
281
<div class="refsect2" lang="en">
282
<a name="glade-command-set-property"></a><h3>glade_command_set_property ()</h3>
283
<pre class="programlisting">void glade_command_set_property (<a class="link" href="gladeui-glade-property.html#GladeProperty">GladeProperty</a> *property,
287
<div class="refsect2" lang="en">
288
<a name="glade-command-set-property-value"></a><h3>glade_command_set_property_value ()</h3>
289
<pre class="programlisting">void glade_command_set_property_value (<a class="link" href="gladeui-glade-property.html#GladeProperty">GladeProperty</a> *property,
290
const GValue *value);</pre>
293
<div class="refsect2" lang="en">
294
<a name="glade-command-set-properties"></a><h3>glade_command_set_properties ()</h3>
295
<pre class="programlisting">void glade_command_set_properties (<a class="link" href="gladeui-glade-property.html#GladeProperty">GladeProperty</a> *property,
296
const GValue *old_value,
297
const GValue *new_value,
301
<div class="refsect2" lang="en">
302
<a name="glade-command-set-properties-list"></a><h3>glade_command_set_properties_list ()</h3>
303
<pre class="programlisting">void glade_command_set_properties_list (<a class="link" href="GladeProject.html" title="GladeProject">GladeProject</a> *project,
307
<div class="refsect2" lang="en">
308
<a name="glade-command-set-name"></a><h3>glade_command_set_name ()</h3>
309
<pre class="programlisting">void glade_command_set_name (<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *glade_widget,
310
const gchar *name);</pre>
313
<div class="refsect2" lang="en">
314
<a name="glade-command-delete"></a><h3>glade_command_delete ()</h3>
315
<pre class="programlisting">void glade_command_delete (GList *widgets);</pre>
317
Performs a delete command on the list of widgets.</p>
318
<div class="variablelist"><table border="0">
319
<col align="left" valign="top">
321
<td><p><span class="term"><em class="parameter"><code>widgets</code></em> :</span></p></td>
322
<td> a <span class="type">GList</span> of <span class="type">GladeWidgets</span>
328
<div class="refsect2" lang="en">
329
<a name="glade-command-create"></a><h3>glade_command_create ()</h3>
330
<pre class="programlisting"><a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> * glade_command_create (<a class="link" href="gladeui-GladeWidgetAdaptor.html#GladeWidgetAdaptor" title="GladeWidgetAdaptor">GladeWidgetAdaptor</a> *adaptor,
331
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *parent,
332
<a class="link" href="GladePlaceholder.html" title="GladePlaceholder">GladePlaceholder</a> *placeholder,
333
<a class="link" href="GladeProject.html" title="GladeProject">GladeProject</a> *project);</pre>
335
Creates a new widget using <em class="parameter"><code>adaptor</code></em> and put in place of the <em class="parameter"><code>placeholder</code></em>
336
in the <em class="parameter"><code>project</code></em></p>
337
<div class="variablelist"><table border="0">
338
<col align="left" valign="top">
341
<td><p><span class="term"><em class="parameter"><code>adaptor</code></em> :</span></p></td>
342
<td> A <a class="link" href="gladeui-GladeWidgetAdaptor.html#GladeWidgetAdaptor" title="GladeWidgetAdaptor"><span class="type">GladeWidgetAdaptor</span></a>
346
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
347
<td> the parent <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a> to add the new widget to.
351
<td><p><span class="term"><em class="parameter"><code>placeholder</code></em> :</span></p></td>
352
<td> the placeholder which will be substituted by the widget
356
<td><p><span class="term"><em class="parameter"><code>project</code></em> :</span></p></td>
357
<td> the project his widget belongs to.
361
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
362
<td> the newly created widget.
369
<div class="refsect2" lang="en">
370
<a name="glade-command-cut"></a><h3>glade_command_cut ()</h3>
371
<pre class="programlisting">void glade_command_cut (GList *widgets);</pre>
373
Removes the list of widgets and adds them to the clipboard.</p>
374
<div class="variablelist"><table border="0">
375
<col align="left" valign="top">
377
<td><p><span class="term"><em class="parameter"><code>widgets</code></em> :</span></p></td>
378
<td> a <span class="type">GList</span> of <span class="type">GladeWidgets</span>
384
<div class="refsect2" lang="en">
385
<a name="glade-command-copy"></a><h3>glade_command_copy ()</h3>
386
<pre class="programlisting">void glade_command_copy (GList *widgets);</pre>
388
Copies the list of widgets and adds them to the clipboard.</p>
389
<div class="variablelist"><table border="0">
390
<col align="left" valign="top">
392
<td><p><span class="term"><em class="parameter"><code>widgets</code></em> :</span></p></td>
393
<td> a <span class="type">GList</span> of <span class="type">GladeWidgets</span>
399
<div class="refsect2" lang="en">
400
<a name="glade-command-paste"></a><h3>glade_command_paste ()</h3>
401
<pre class="programlisting">void glade_command_paste (GList *widgets,
402
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *parent,
403
<a class="link" href="GladePlaceholder.html" title="GladePlaceholder">GladePlaceholder</a> *placeholder);</pre>
405
Performs a paste command on all widgets in <em class="parameter"><code>widgets</code></em> to <em class="parameter"><code>parent</code></em>, possibly
406
replacing <em class="parameter"><code>placeholder</code></em> (note toplevels dont need a parent; the active project
407
will be used when pasting toplevel objects).</p>
408
<div class="variablelist"><table border="0">
409
<col align="left" valign="top">
412
<td><p><span class="term"><em class="parameter"><code>widgets</code></em> :</span></p></td>
413
<td> a <span class="type">GList</span> of <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>
417
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
418
<td> a <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>
422
<td><p><span class="term"><em class="parameter"><code>placeholder</code></em> :</span></p></td>
423
<td> a <a class="link" href="GladePlaceholder.html" title="GladePlaceholder"><span class="type">GladePlaceholder</span></a>
430
<div class="refsect2" lang="en">
431
<a name="glade-command-dnd"></a><h3>glade_command_dnd ()</h3>
432
<pre class="programlisting">void glade_command_dnd (GList *widgets,
433
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *parent,
434
<a class="link" href="GladePlaceholder.html" title="GladePlaceholder">GladePlaceholder</a> *placeholder);</pre>
436
Performs a drag-n-drop command, i.e. removes the list of widgets and adds them
437
to the new parent, possibly replacing <em class="parameter"><code>placeholder</code></em> (note toplevels dont need a
438
parent; the active project will be used when pasting toplevel objects).</p>
439
<div class="variablelist"><table border="0">
440
<col align="left" valign="top">
443
<td><p><span class="term"><em class="parameter"><code>widgets</code></em> :</span></p></td>
444
<td> a <span class="type">GList</span> of <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>
448
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
449
<td> a <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>
453
<td><p><span class="term"><em class="parameter"><code>placeholder</code></em> :</span></p></td>
454
<td> a <a class="link" href="GladePlaceholder.html" title="GladePlaceholder"><span class="type">GladePlaceholder</span></a>
461
<div class="refsect2" lang="en">
462
<a name="glade-command-add-signal"></a><h3>glade_command_add_signal ()</h3>
463
<pre class="programlisting">void glade_command_add_signal (<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *glade_widget,
464
const GladeSignal *signal);</pre>
467
<div class="variablelist"><table border="0">
468
<col align="left" valign="top">
471
<td><p><span class="term"><em class="parameter"><code>glade_widget</code></em> :</span></p></td>
472
<td> a <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>
476
<td><p><span class="term"><em class="parameter"><code>signal</code></em> :</span></p></td>
477
<td> a <span class="type">GladeSignal</span>
484
<div class="refsect2" lang="en">
485
<a name="glade-command-remove-signal"></a><h3>glade_command_remove_signal ()</h3>
486
<pre class="programlisting">void glade_command_remove_signal (<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *glade_widget,
487
const GladeSignal *signal);</pre>
490
<div class="variablelist"><table border="0">
491
<col align="left" valign="top">
494
<td><p><span class="term"><em class="parameter"><code>glade_widget</code></em> :</span></p></td>
495
<td> a <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>
499
<td><p><span class="term"><em class="parameter"><code>signal</code></em> :</span></p></td>
500
<td> a <span class="type">GladeSignal</span>
507
<div class="refsect2" lang="en">
508
<a name="glade-command-change-signal"></a><h3>glade_command_change_signal ()</h3>
509
<pre class="programlisting">void glade_command_change_signal (<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *glade_widget,
510
const GladeSignal *old_signal,
511
const GladeSignal *new_signal);</pre>
514
<div class="variablelist"><table border="0">
515
<col align="left" valign="top">
518
<td><p><span class="term"><em class="parameter"><code>glade_widget</code></em> :</span></p></td>
519
<td> a <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>
523
<td><p><span class="term"><em class="parameter"><code>old_signal</code></em> :</span></p></td>
524
<td> a <span class="type">GladeSignal</span>
528
<td><p><span class="term"><em class="parameter"><code>new_signal</code></em> :</span></p></td>
529
<td> a <span class="type">GladeSignal</span>
536
<div class="refsect2" lang="en">
537
<a name="glade-command-set-i18n"></a><h3>glade_command_set_i18n ()</h3>
538
<pre class="programlisting">void glade_command_set_i18n (<a class="link" href="gladeui-glade-property.html#GladeProperty">GladeProperty</a> *property,
539
gboolean translatable,
540
gboolean has_context,
541
const gchar *context,
542
const gchar *comment);</pre>
544
Sets the i18n data on the property.</p>
545
<div class="variablelist"><table border="0">
546
<col align="left" valign="top">
549
<td><p><span class="term"><em class="parameter"><code>property</code></em> :</span></p></td>
550
<td> a <a class="link" href="gladeui-glade-property.html#GladeProperty"><span class="type">GladeProperty</span></a>
554
<td><p><span class="term"><em class="parameter"><code>translatable</code></em> :</span></p></td>
555
<td> a <span class="type">gboolean</span>
559
<td><p><span class="term"><em class="parameter"><code>has_context</code></em> :</span></p></td>
560
<td> a <span class="type">gboolean</span>
564
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
565
<td> a <span class="type">const</span> gchar *
569
<td><p><span class="term"><em class="parameter"><code>comment</code></em> :</span></p></td>
570
<td> a <span class="type">const</span> gchar *
580
Generated by GTK-Doc V1.12</div>