~ubuntu-branches/ubuntu/natty/glade-3/natty

« back to all changes in this revision

Viewing changes to doc/html/GladeEditor.html

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-03-30 22:03:10 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100330220310-57dok6smk2l2fbgo
Tags: 3.7.0-0ubuntu1
* New upstream release:
  - Fixed loading state of assigned GtkTreeModels of GtkCellRendererCombo
    objects (bug 566928).
  - Fixed crasher while copying internal widgets (bug 595156)
  - Support silent build when using automake >= 1.11 (Javier Jardón)
  - Proper ordering of GtkAdjustment properties in glade files (bug 578484)
  - Refactoring work for GSEAL (Javier Jardón)
  - Avoid collapsing commands when a project is freshly saved (this fixes
    a false "unmodified" state after changing the same property before and
    after project save) (Marco Diego Aurélio Mesquita)
  - Allow litteral strings as column type definitions in GtkTreeStores
    (closes bug 597059).
  - Updated Glade GTK+ catalog info to include deprecations, new
    properties and signals since 2.18 and 2.20
  - and some translatable strings (brought to you also in part by Johannes
    H. Jensen for some translatable strings and Javier Jardón for some
    deprecations), some new objects this consequently adds:
    + GtkEntryBuffer
    + GtkSpinner
    + GtkCellRendererSpinner
  - Fixed crasher editing some data types in the liststore data editor
    (bug 608011).
  - Enhanced the GtkEntry editor to allow the user to chose between the
    "text" and the "buffer" exclusively.
* debian/control.in:
  - bump libgtk2.0-dev dep
* remove debian/patches/02_spinbutton-adjustment.patch: upstreamed
* remove debian/patches/03_fix-vbox-orientation.patch: taken upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html>
3
 
<head>
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">
18
 
</head>
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">
21
 
<tr valign="middle">
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>
27
 
</tr>
28
 
<tr><td colspan="5" class="shortcuts">
29
 
<a href="#GladeEditor.synopsis" class="shortcut">Top</a>
30
 
                   | 
31
 
                  <a href="#GladeEditor.description" class="shortcut">Description</a>
32
 
                   | 
33
 
                  <a href="#GladeEditor.object-hierarchy" class="shortcut">Object Hierarchy</a>
34
 
                   | 
35
 
                  <a href="#GladeEditor.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
36
 
                   | 
37
 
                  <a href="#GladeEditor.properties" class="shortcut">Properties</a>
38
 
                   | 
39
 
                  <a href="#GladeEditor.signals" class="shortcut">Signals</a>
40
 
</td></tr>
41
 
</table>
42
 
<div class="refentry" lang="en">
43
 
<a name="GladeEditor"></a><div class="titlepage"></div>
44
 
<div class="refnamediv"><table width="100%"><tr>
45
 
<td valign="top">
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>
48
 
</td>
49
 
<td valign="top" align="right"></td>
50
 
</tr></table></div>
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);
66
 
</pre>
67
 
</div>
68
 
<div class="refsect1" lang="en">
69
 
<a name="GladeEditor.object-hierarchy"></a><h2>Object Hierarchy</h2>
70
 
<pre class="synopsis">
71
 
  GObject
72
 
   +----GInitiallyUnowned
73
 
         +----GtkObject
74
 
               +----GtkWidget
75
 
                     +----GtkContainer
76
 
                           +----GtkBox
77
 
                                 +----GtkVBox
78
 
                                       +----GladeEditor
79
 
</pre>
80
 
</div>
81
 
<div class="refsect1" lang="en">
82
 
<a name="GladeEditor.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
83
 
<p>
84
 
GladeEditor implements
85
 
 AtkImplementorIface,  GtkBuildable and  GtkOrientable.</p>
86
 
</div>
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
92
 
</pre>
93
 
</div>
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
98
 
</pre>
99
 
</div>
100
 
<div class="refsect1" lang="en">
101
 
<a name="GladeEditor.description"></a><h2>Description</h2>
102
 
<p>
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>
104
 
</div>
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))
110
 
</pre>
111
 
</div>
112
 
<hr>
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))
116
 
</pre>
117
 
</div>
118
 
<hr>
119
 
<div class="refsect2" lang="en">
120
 
<a name="GladeEditorTable"></a><h3>GladeEditorTable</h3>
121
 
<pre class="programlisting">typedef struct {
122
 
        GtkTable  parent;
123
 
 
124
 
        GladeWidgetAdaptor *adaptor; /* The GladeWidgetAdaptor this
125
 
                                      * table was created for.
126
 
                                      */
127
 
 
128
 
        GladeWidget *loaded_widget; /* A pointer to the currently loaded GladeWidget
129
 
                                     */
130
 
 
131
 
        GtkSizeGroup *group; /* Group of editing widgets in the right hand column */
132
 
        
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.
140
 
                                */
141
 
 
142
 
        GList *properties; /* A list of GladeEditorPropery items.
143
 
                            * For each row in the gtk_table, there is a
144
 
                            * corrsponding GladeEditorProperty struct.
145
 
                            */
146
 
 
147
 
        GladeEditorPageType type; /* Is this table to be used in the common tab, ?
148
 
                                   * the general tab, a packing tab or the query popup ?
149
 
                                   */
150
 
 
151
 
        gboolean  loading; /* Avoid recursion while loading values into widgets
152
 
                            */
153
 
 
154
 
        gint rows;
155
 
} GladeEditorTable;
156
 
</pre>
157
 
</div>
158
 
<hr>
159
 
<div class="refsect2" lang="en">
160
 
<a name="GladeEditor-struct"></a><h3>GladeEditor</h3>
161
 
<pre class="programlisting">typedef struct _GladeEditor GladeEditor;</pre>
162
 
</div>
163
 
<hr>
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>
167
 
<p>
168
 
</p>
169
 
<div class="variablelist"><table border="0">
170
 
<col align="left" valign="top">
171
 
<tbody><tr>
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>
174
 
</td>
175
 
</tr></tbody>
176
 
</table></div>
177
 
</div>
178
 
<hr>
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>
183
 
<p>
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">
187
 
<tbody>
188
 
<tr>
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>
191
 
</td>
192
 
</tr>
193
 
<tr>
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>
196
 
</td>
197
 
</tr>
198
 
</tbody>
199
 
</table></div>
200
 
</div>
201
 
<hr>
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>
205
 
<p>
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">
209
 
<tbody><tr>
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>
212
 
</td>
213
 
</tr></tbody>
214
 
</table></div>
215
 
</div>
216
 
<hr>
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>
221
 
</div>
222
 
<hr>
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>
226
 
</div>
227
 
<hr>
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>
231
 
</div>
232
 
</div>
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>
240
 
</div>
241
 
<hr>
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>
246
 
</div>
247
 
</div>
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,
253
 
                                                        gchar       *arg1,
254
 
                                                        gchar       *arg2,
255
 
                                                        gchar       *arg3,
256
 
                                                        gpointer     user_data)        : Run Last</pre>
257
 
<p>
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">
261
 
<tbody>
262
 
<tr>
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.
265
 
</td>
266
 
</tr>
267
 
<tr>
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>
270
 
</td>
271
 
</tr>
272
 
<tr>
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>
275
 
</td>
276
 
</tr>
277
 
<tr>
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>
280
 
</td>
281
 
</tr>
282
 
<tr>
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>
285
 
</tr>
286
 
</tbody>
287
 
</table></div>
288
 
</div>
289
 
</div>
290
 
</div>
291
 
<div class="footer">
292
 
<hr>
293
 
          Generated by GTK-Doc V1.12</div>
294
 
</body>
295
 
</html>