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>GladeEditor</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="dockables.html" title="Part III. Dockable Glade UI Widgets">
9
<link rel="prev" href="dockables.html" title="Part III. Dockable Glade UI Widgets">
10
<link rel="next" href="GladeEditorProperty.html" title="GladeEditorProperty">
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="dockables.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
23
<td><a accesskey="u" href="dockables.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="GladeEditorProperty.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="#GladeEditor.synopsis" class="shortcut">Top</a>
31
<a href="#GladeEditor.description" class="shortcut">Description</a>
33
<a href="#GladeEditor.object-hierarchy" class="shortcut">Object Hierarchy</a>
35
<a href="#GladeEditor.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
37
<a href="#GladeEditor.properties" class="shortcut">Properties</a>
39
<a href="#GladeEditor.signals" class="shortcut">Signals</a>
42
<div class="refentry" lang="en">
43
<a name="GladeEditor"></a><div class="titlepage"></div>
44
<div class="refnamediv"><table width="100%"><tr>
46
<h2><span class="refentrytitle"><a name="GladeEditor.top_of_page"></a>GladeEditor</span></h2>
47
<p>GladeEditor — A Widget to edit a <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>.</p>
49
<td valign="top" align="right"></td>
51
<div class="refsynopsisdiv">
52
<a name="GladeEditor.synopsis"></a><h2>Synopsis</h2>
53
<pre class="synopsis">
54
#define <a class="link" href="GladeEditor.html#GLADE-EDITOR-TABLE:CAPS" title="GLADE_EDITOR_TABLE()">GLADE_EDITOR_TABLE</a> (obj)
55
#define <a class="link" href="GladeEditor.html#GLADE-IS-EDITOR-TABLE:CAPS" title="GLADE_IS_EDITOR_TABLE()">GLADE_IS_EDITOR_TABLE</a> (obj)
56
<a class="link" href="GladeEditor.html#GladeEditorTable" title="GladeEditorTable">GladeEditorTable</a>;
57
<a class="link" href="GladeEditor.html#GladeEditor-struct" title="GladeEditor">GladeEditor</a>;
58
<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> * <a class="link" href="GladeEditor.html#glade-editor-new" title="glade_editor_new ()">glade_editor_new</a> (void);
59
void <a class="link" href="GladeEditor.html#glade-editor-load-widget" title="glade_editor_load_widget ()">glade_editor_load_widget</a> (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *editor,
60
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *widget);
61
void <a class="link" href="GladeEditor.html#glade-editor-refresh" title="glade_editor_refresh ()">glade_editor_refresh</a> (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *editor);
62
gboolean <a class="link" href="GladeEditor.html#glade-editor-query-dialog" title="glade_editor_query_dialog ()">glade_editor_query_dialog</a> (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *editor,
63
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *widget);
64
void <a class="link" href="GladeEditor.html#glade-editor-show-info" title="glade_editor_show_info ()">glade_editor_show_info</a> (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *editor);
65
void <a class="link" href="GladeEditor.html#glade-editor-hide-info" title="glade_editor_hide_info ()">glade_editor_hide_info</a> (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *editor);
68
<div class="refsect1" lang="en">
69
<a name="GladeEditor.object-hierarchy"></a><h2>Object Hierarchy</h2>
70
<pre class="synopsis">
72
+----GInitiallyUnowned
81
<div class="refsect1" lang="en">
82
<a name="GladeEditor.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
84
GladeEditor implements
85
AtkImplementorIface, GtkBuildable and GtkOrientable.</p>
87
<div class="refsect1" lang="en">
88
<a name="GladeEditor.properties"></a><h2>Properties</h2>
89
<pre class="synopsis">
90
"<a class="link" href="GladeEditor.html#GladeEditor--show-info" title='The "show-info" property'>show-info</a>" gboolean : Read
91
"<a class="link" href="GladeEditor.html#GladeEditor--widget" title='The "widget" property'>widget</a>" <a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a>* : Read / Write
94
<div class="refsect1" lang="en">
95
<a name="GladeEditor.signals"></a><h2>Signals</h2>
96
<pre class="synopsis">
97
"<a class="link" href="GladeEditor.html#GladeEditor-gtk-doc-search" title='The "gtk-doc-search" signal'>gtk-doc-search</a>" : Run Last
100
<div class="refsect1" lang="en">
101
<a name="GladeEditor.description"></a><h2>Description</h2>
103
This is the Glade Notebook containing all the controls needed to configure a <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>.</p>
105
<div class="refsect1" lang="en">
106
<a name="GladeEditor.details"></a><h2>Details</h2>
107
<div class="refsect2" lang="en">
108
<a name="GLADE-EDITOR-TABLE:CAPS"></a><h3>GLADE_EDITOR_TABLE()</h3>
109
<pre class="programlisting">#define GLADE_EDITOR_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_EDITOR_TABLE, GladeEditorTable))
113
<div class="refsect2" lang="en">
114
<a name="GLADE-IS-EDITOR-TABLE:CAPS"></a><h3>GLADE_IS_EDITOR_TABLE()</h3>
115
<pre class="programlisting">#define GLADE_IS_EDITOR_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_EDITOR_TABLE))
119
<div class="refsect2" lang="en">
120
<a name="GladeEditorTable"></a><h3>GladeEditorTable</h3>
121
<pre class="programlisting">typedef struct {
124
GladeWidgetAdaptor *adaptor; /* The GladeWidgetAdaptor this
125
* table was created for.
128
GladeWidget *loaded_widget; /* A pointer to the currently loaded GladeWidget
131
GtkSizeGroup *group; /* Group of editing widgets in the right hand column */
133
GtkWidget *name_label; /* A pointer to the "Name:" label (for show/hide) */
134
GtkWidget *name_entry; /* A pointer to the gtk_entry that holds
135
* the name of the widget. This is the
136
* first item _pack'ed to the table_widget.
137
* We have a pointer here because it is an
138
* entry which will not be created from a
139
* GladeProperty but rather from code.
142
GList *properties; /* A list of GladeEditorPropery items.
143
* For each row in the gtk_table, there is a
144
* corrsponding GladeEditorProperty struct.
147
GladeEditorPageType type; /* Is this table to be used in the common tab, ?
148
* the general tab, a packing tab or the query popup ?
151
gboolean loading; /* Avoid recursion while loading values into widgets
159
<div class="refsect2" lang="en">
160
<a name="GladeEditor-struct"></a><h3>GladeEditor</h3>
161
<pre class="programlisting">typedef struct _GladeEditor GladeEditor;</pre>
164
<div class="refsect2" lang="en">
165
<a name="glade-editor-new"></a><h3>glade_editor_new ()</h3>
166
<pre class="programlisting"><a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> * glade_editor_new (void);</pre>
169
<div class="variablelist"><table border="0">
170
<col align="left" valign="top">
172
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
173
<td> a new <a class="link" href="GladeEditor.html" title="GladeEditor"><span class="type">GladeEditor</span></a>
179
<div class="refsect2" lang="en">
180
<a name="glade-editor-load-widget"></a><h3>glade_editor_load_widget ()</h3>
181
<pre class="programlisting">void glade_editor_load_widget (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *editor,
182
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *widget);</pre>
184
Load <em class="parameter"><code>widget</code></em> into <em class="parameter"><code>editor</code></em>. If <em class="parameter"><code>widget</code></em> is <code class="literal">NULL</code>, clear the editor.</p>
185
<div class="variablelist"><table border="0">
186
<col align="left" valign="top">
189
<td><p><span class="term"><em class="parameter"><code>editor</code></em> :</span></p></td>
190
<td> a <a class="link" href="GladeEditor.html" title="GladeEditor"><span class="type">GladeEditor</span></a>
194
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
195
<td> a <a class="link" href="GladeWidget.html" title="GladeWidget"><span class="type">GladeWidget</span></a>
202
<div class="refsect2" lang="en">
203
<a name="glade-editor-refresh"></a><h3>glade_editor_refresh ()</h3>
204
<pre class="programlisting">void glade_editor_refresh (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *editor);</pre>
206
Synchronize <em class="parameter"><code>editor</code></em> with the currently loaded widget.</p>
207
<div class="variablelist"><table border="0">
208
<col align="left" valign="top">
210
<td><p><span class="term"><em class="parameter"><code>editor</code></em> :</span></p></td>
211
<td> a <a class="link" href="GladeEditor.html" title="GladeEditor"><span class="type">GladeEditor</span></a>
217
<div class="refsect2" lang="en">
218
<a name="glade-editor-query-dialog"></a><h3>glade_editor_query_dialog ()</h3>
219
<pre class="programlisting">gboolean glade_editor_query_dialog (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *editor,
220
<a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a> *widget);</pre>
223
<div class="refsect2" lang="en">
224
<a name="glade-editor-show-info"></a><h3>glade_editor_show_info ()</h3>
225
<pre class="programlisting">void glade_editor_show_info (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *editor);</pre>
228
<div class="refsect2" lang="en">
229
<a name="glade-editor-hide-info"></a><h3>glade_editor_hide_info ()</h3>
230
<pre class="programlisting">void glade_editor_hide_info (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *editor);</pre>
233
<div class="refsect1" lang="en">
234
<a name="GladeEditor.property-details"></a><h2>Property Details</h2>
235
<div class="refsect2" lang="en">
236
<a name="GladeEditor--show-info"></a><h3>The <code class="literal">"show-info"</code> property</h3>
237
<pre class="programlisting"> "show-info" gboolean : Read</pre>
238
<p>Whether to show an informational button for the loaded widget.</p>
239
<p>Default value: FALSE</p>
242
<div class="refsect2" lang="en">
243
<a name="GladeEditor--widget"></a><h3>The <code class="literal">"widget"</code> property</h3>
244
<pre class="programlisting"> "widget" <a class="link" href="GladeWidget.html" title="GladeWidget">GladeWidget</a>* : Read / Write</pre>
245
<p>The currently loaded widget in this editor.</p>
248
<div class="refsect1" lang="en">
249
<a name="GladeEditor.signal-details"></a><h2>Signal Details</h2>
250
<div class="refsect2" lang="en">
251
<a name="GladeEditor-gtk-doc-search"></a><h3>The <code class="literal">"gtk-doc-search"</code> signal</h3>
252
<pre class="programlisting">void user_function (<a class="link" href="GladeEditor.html" title="GladeEditor">GladeEditor</a> *gladeeditor,
256
gpointer user_data) : Run Last</pre>
258
Emitted when the editor requests that a doc-search be performed.</p>
259
<div class="variablelist"><table border="0">
260
<col align="left" valign="top">
263
<td><p><span class="term"><em class="parameter"><code>gladeeditor</code></em> :</span></p></td>
264
<td> the <a class="link" href="GladeEditor.html" title="GladeEditor"><span class="type">GladeEditor</span></a> which received the signal.
268
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
269
<td> the (<span class="type">gchar</span> *) book to search or <code class="literal">NULL</code>
273
<td><p><span class="term"><em class="parameter"><code>arg2</code></em> :</span></p></td>
274
<td> the (<span class="type">gchar</span> *) page to search or <code class="literal">NULL</code>
278
<td><p><span class="term"><em class="parameter"><code>arg3</code></em> :</span></p></td>
279
<td> the (<span class="type">gchar</span> *) search string or <code class="literal">NULL</code>
283
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
284
<td>user data set when the signal handler was connected.</td>
293
Generated by GTK-Doc V1.12</div>