~ubuntu-branches/ubuntu/precise/gedit/precise

« back to all changes in this revision

Viewing changes to docs/reference/html/gedit-gedit-panel.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-04-14 16:41:13 UTC
  • mfrom: (1.1.78 upstream)
  • Revision ID: james.westby@ubuntu.com-20100414164113-0xgl3u73pcs0ngbc
Tags: 2.30.0git20100413-0ubuntu1
* Updating to git snaptshot since 2.30.1 will be after lucid
* debian/patches/90_autoconf.patch:
  - new version update

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>GeditPanel</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
7
<link rel="home" href="index.html" title="gedit Reference Manual">
 
8
<link rel="up" href="ch01.html" title="gedit">
 
9
<link rel="prev" href="gedit-gedit-notebook.html" title="GeditNotebook">
 
10
<link rel="next" href="GeditPlugin.html" title="GeditPlugin">
 
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
</head>
 
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="gedit-gedit-notebook.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
20
<th width="100%" align="center">gedit Reference Manual</th>
 
21
<td><a accesskey="n" href="GeditPlugin.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#gedit-gedit-panel.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#gedit-gedit-panel.description" class="shortcut">Description</a>
 
27
                   | 
 
28
                  <a href="#gedit-gedit-panel.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
29
                   | 
 
30
                  <a href="#gedit-gedit-panel.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
31
                   | 
 
32
                  <a href="#gedit-gedit-panel.properties" class="shortcut">Properties</a>
 
33
                   | 
 
34
                  <a href="#gedit-gedit-panel.signals" class="shortcut">Signals</a>
 
35
</td></tr>
 
36
</table>
 
37
<div class="refentry" title="GeditPanel">
 
38
<a name="gedit-gedit-panel"></a><div class="titlepage"></div>
 
39
<div class="refnamediv"><table width="100%"><tr>
 
40
<td valign="top">
 
41
<h2><span class="refentrytitle"><a name="gedit-gedit-panel.top_of_page"></a>GeditPanel</span></h2>
 
42
<p>GeditPanel</p>
 
43
</td>
 
44
<td valign="top" align="right"></td>
 
45
</tr></table></div>
 
46
<div class="refsynopsisdiv" title="Synopsis">
 
47
<a name="gedit-gedit-panel.synopsis"></a><h2>Synopsis</h2>
 
48
<a name="GeditPanel"></a><pre class="synopsis">                    <a class="link" href="gedit-gedit-panel.html#GeditPanelPrivate" title="GeditPanelPrivate">GeditPanelPrivate</a>;
 
49
                    <a class="link" href="gedit-gedit-panel.html#GeditPanel-struct" title="GeditPanel">GeditPanel</a>;
 
50
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="gedit-gedit-panel.html#gedit-panel-new" title="gedit_panel_new ()">gedit_panel_new</a>                     (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);
 
51
<span class="returnvalue">void</span>                <a class="link" href="gedit-gedit-panel.html#gedit-panel-add-item" title="gedit_panel_add_item ()">gedit_panel_add_item</a>                (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>,
 
52
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *item</code></em>,
 
53
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
54
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *image</code></em>);
 
55
<span class="returnvalue">void</span>                <a class="link" href="gedit-gedit-panel.html#gedit-panel-add-item-with-stock-icon" title="gedit_panel_add_item_with_stock_icon ()">gedit_panel_add_item_with_stock_icon</a>
 
56
                                                        (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>,
 
57
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *item</code></em>,
 
58
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
59
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);
 
60
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gedit-gedit-panel.html#gedit-panel-remove-item" title="gedit_panel_remove_item ()">gedit_panel_remove_item</a>             (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>,
 
61
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *item</code></em>);
 
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gedit-gedit-panel.html#gedit-panel-activate-item" title="gedit_panel_activate_item ()">gedit_panel_activate_item</a>           (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>,
 
63
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *item</code></em>);
 
64
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gedit-gedit-panel.html#gedit-panel-item-is-active" title="gedit_panel_item_is_active ()">gedit_panel_item_is_active</a>          (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>,
 
65
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *item</code></em>);
 
66
<a href="http://library.gnome.org/devel/gtk/unstable/gtk-Standard-Enumerations.html#GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      <a class="link" href="gedit-gedit-panel.html#gedit-panel-get-orientation" title="gedit_panel_get_orientation ()">gedit_panel_get_orientation</a>         (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>);
 
67
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gedit-gedit-panel.html#gedit-panel-get-n-items" title="gedit_panel_get_n_items ()">gedit_panel_get_n_items</a>             (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>);
 
68
</pre>
 
69
</div>
 
70
<div class="refsect1" title="Object Hierarchy">
 
71
<a name="gedit-gedit-panel.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
72
<pre class="synopsis">
 
73
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
74
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
75
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
 
76
               +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
 
77
                     +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
 
78
                           +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBox.html">GtkBox</a>
 
79
                                 +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkVBox.html">GtkVBox</a>
 
80
                                       +----GeditPanel
 
81
</pre>
 
82
</div>
 
83
<div class="refsect1" title="Implemented Interfaces">
 
84
<a name="gedit-gedit-panel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
 
85
<p>
 
86
GeditPanel implements
 
87
 AtkImplementorIface,  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a> and  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Orientable.html#GtkOrientable">GtkOrientable</a>.</p>
 
88
</div>
 
89
<div class="refsect1" title="Properties">
 
90
<a name="gedit-gedit-panel.properties"></a><h2>Properties</h2>
 
91
<pre class="synopsis">
 
92
  "<a class="link" href="gedit-gedit-panel.html#GeditPanel--orientation" title='The "orientation" property'>orientation</a>"              <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a>        : Read / Write / Construct Only
 
93
</pre>
 
94
</div>
 
95
<div class="refsect1" title="Signals">
 
96
<a name="gedit-gedit-panel.signals"></a><h2>Signals</h2>
 
97
<pre class="synopsis">
 
98
  "<a class="link" href="gedit-gedit-panel.html#GeditPanel-close" title='The "close" signal'>close</a>"                                          : Run Last / Action
 
99
  "<a class="link" href="gedit-gedit-panel.html#GeditPanel-focus-document" title='The "focus-document" signal'>focus-document</a>"                                 : Run Last / Action
 
100
  "<a class="link" href="gedit-gedit-panel.html#GeditPanel-item-added" title='The "item-added" signal'>item-added</a>"                                     : Run First
 
101
  "<a class="link" href="gedit-gedit-panel.html#GeditPanel-item-removed" title='The "item-removed" signal'>item-removed</a>"                                   : Run First
 
102
</pre>
 
103
</div>
 
104
<div class="refsect1" title="Description">
 
105
<a name="gedit-gedit-panel.description"></a><h2>Description</h2>
 
106
</div>
 
107
<div class="refsect1" title="Details">
 
108
<a name="gedit-gedit-panel.details"></a><h2>Details</h2>
 
109
<div class="refsect2" title="GeditPanelPrivate">
 
110
<a name="GeditPanelPrivate"></a><h3>GeditPanelPrivate</h3>
 
111
<pre class="programlisting">typedef struct _GeditPanelPrivate GeditPanelPrivate;</pre>
 
112
</div>
 
113
<hr>
 
114
<div class="refsect2" title="GeditPanel">
 
115
<a name="GeditPanel-struct"></a><h3>GeditPanel</h3>
 
116
<pre class="programlisting">typedef struct _GeditPanel GeditPanel;</pre>
 
117
</div>
 
118
<hr>
 
119
<div class="refsect2" title="gedit_panel_new ()">
 
120
<a name="gedit-panel-new"></a><h3>gedit_panel_new ()</h3>
 
121
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gedit_panel_new                     (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);</pre>
 
122
<p>
 
123
Creates a new <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> with the given <em class="parameter"><code>orientation</code></em>. You shouldn't create
 
124
a new panel use <a class="link" href="gedit-gedit-window.html#gedit-window-get-side-panel" title="gedit_window_get_side_panel ()"><code class="function">gedit_window_get_side_panel()</code></a> or <a class="link" href="gedit-gedit-window.html#gedit-window-get-bottom-panel" title="gedit_window_get_bottom_panel ()"><code class="function">gedit_window_get_bottom_panel()</code></a>
 
125
instead.
 
126
</p>
 
127
<div class="variablelist"><table border="0">
 
128
<col align="left" valign="top">
 
129
<tbody>
 
130
<tr>
 
131
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
 
132
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a>
 
133
</td>
 
134
</tr>
 
135
<tr>
 
136
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
137
<td> a new <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> object.
 
138
</td>
 
139
</tr>
 
140
</tbody>
 
141
</table></div>
 
142
</div>
 
143
<hr>
 
144
<div class="refsect2" title="gedit_panel_add_item ()">
 
145
<a name="gedit-panel-add-item"></a><h3>gedit_panel_add_item ()</h3>
 
146
<pre class="programlisting"><span class="returnvalue">void</span>                gedit_panel_add_item                (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>,
 
147
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *item</code></em>,
 
148
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
149
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *image</code></em>);</pre>
 
150
<p>
 
151
Adds a new item to the <em class="parameter"><code>panel</code></em>.
 
152
</p>
 
153
<div class="variablelist"><table border="0">
 
154
<col align="left" valign="top">
 
155
<tbody>
 
156
<tr>
 
157
<td><p><span class="term"><em class="parameter"><code>panel</code></em> :</span></p></td>
 
158
<td>a <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a>
 
159
</td>
 
160
</tr>
 
161
<tr>
 
162
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
 
163
<td>the <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> to add to the <em class="parameter"><code>panel</code></em>
 
164
</td>
 
165
</tr>
 
166
<tr>
 
167
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
 
168
<td>the name to be shown in the <em class="parameter"><code>panel</code></em>
 
169
</td>
 
170
</tr>
 
171
<tr>
 
172
<td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
 
173
<td>the image to be shown in the <em class="parameter"><code>panel</code></em>
 
174
</td>
 
175
</tr>
 
176
</tbody>
 
177
</table></div>
 
178
</div>
 
179
<hr>
 
180
<div class="refsect2" title="gedit_panel_add_item_with_stock_icon ()">
 
181
<a name="gedit-panel-add-item-with-stock-icon"></a><h3>gedit_panel_add_item_with_stock_icon ()</h3>
 
182
<pre class="programlisting"><span class="returnvalue">void</span>                gedit_panel_add_item_with_stock_icon
 
183
                                                        (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>,
 
184
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *item</code></em>,
 
185
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
186
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
 
187
<p>
 
188
Same as <a class="link" href="gedit-gedit-panel.html#gedit-panel-add-item" title="gedit_panel_add_item ()"><code class="function">gedit_panel_add_item()</code></a> but using an image from stock.
 
189
</p>
 
190
<div class="variablelist"><table border="0">
 
191
<col align="left" valign="top">
 
192
<tbody>
 
193
<tr>
 
194
<td><p><span class="term"><em class="parameter"><code>panel</code></em> :</span></p></td>
 
195
<td>a <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a>
 
196
</td>
 
197
</tr>
 
198
<tr>
 
199
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
 
200
<td>the <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> to add to the <em class="parameter"><code>panel</code></em>
 
201
</td>
 
202
</tr>
 
203
<tr>
 
204
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
 
205
<td>the name to be shown in the <em class="parameter"><code>panel</code></em>
 
206
</td>
 
207
</tr>
 
208
<tr>
 
209
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
 
210
<td>a stock id
 
211
</td>
 
212
</tr>
 
213
</tbody>
 
214
</table></div>
 
215
</div>
 
216
<hr>
 
217
<div class="refsect2" title="gedit_panel_remove_item ()">
 
218
<a name="gedit-panel-remove-item"></a><h3>gedit_panel_remove_item ()</h3>
 
219
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gedit_panel_remove_item             (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>,
 
220
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *item</code></em>);</pre>
 
221
<p>
 
222
Removes the widget <em class="parameter"><code>item</code></em> from the panel if it is in the <em class="parameter"><code>panel</code></em> and returns
 
223
TRUE if there was not any problem.
 
224
</p>
 
225
<div class="variablelist"><table border="0">
 
226
<col align="left" valign="top">
 
227
<tbody>
 
228
<tr>
 
229
<td><p><span class="term"><em class="parameter"><code>panel</code></em> :</span></p></td>
 
230
<td>a <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a>
 
231
</td>
 
232
</tr>
 
233
<tr>
 
234
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
 
235
<td>the item to be removed from the panel
 
236
</td>
 
237
</tr>
 
238
<tr>
 
239
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
240
<td> TRUE if it was well removed.
 
241
</td>
 
242
</tr>
 
243
</tbody>
 
244
</table></div>
 
245
</div>
 
246
<hr>
 
247
<div class="refsect2" title="gedit_panel_activate_item ()">
 
248
<a name="gedit-panel-activate-item"></a><h3>gedit_panel_activate_item ()</h3>
 
249
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gedit_panel_activate_item           (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>,
 
250
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *item</code></em>);</pre>
 
251
<p>
 
252
Switches to the page that contains <em class="parameter"><code>item</code></em>.
 
253
</p>
 
254
<div class="variablelist"><table border="0">
 
255
<col align="left" valign="top">
 
256
<tbody>
 
257
<tr>
 
258
<td><p><span class="term"><em class="parameter"><code>panel</code></em> :</span></p></td>
 
259
<td>a <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a>
 
260
</td>
 
261
</tr>
 
262
<tr>
 
263
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
 
264
<td>the item to be activated
 
265
</td>
 
266
</tr>
 
267
<tr>
 
268
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
269
<td> TRUE if it was activated
 
270
</td>
 
271
</tr>
 
272
</tbody>
 
273
</table></div>
 
274
</div>
 
275
<hr>
 
276
<div class="refsect2" title="gedit_panel_item_is_active ()">
 
277
<a name="gedit-panel-item-is-active"></a><h3>gedit_panel_item_is_active ()</h3>
 
278
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gedit_panel_item_is_active          (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>,
 
279
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *item</code></em>);</pre>
 
280
<p>
 
281
Wheter <em class="parameter"><code>item</code></em> is the one current active in <em class="parameter"><code>panel</code></em>
 
282
</p>
 
283
<div class="variablelist"><table border="0">
 
284
<col align="left" valign="top">
 
285
<tbody>
 
286
<tr>
 
287
<td><p><span class="term"><em class="parameter"><code>panel</code></em> :</span></p></td>
 
288
<td>a <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a>
 
289
</td>
 
290
</tr>
 
291
<tr>
 
292
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
 
293
<td>a widget contained in <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a>
 
294
</td>
 
295
</tr>
 
296
<tr>
 
297
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
298
<td> TRUE if the widget is active
 
299
</td>
 
300
</tr>
 
301
</tbody>
 
302
</table></div>
 
303
</div>
 
304
<hr>
 
305
<div class="refsect2" title="gedit_panel_get_orientation ()">
 
306
<a name="gedit-panel-get-orientation"></a><h3>gedit_panel_get_orientation ()</h3>
 
307
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Standard-Enumerations.html#GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      gedit_panel_get_orientation         (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>);</pre>
 
308
<p>
 
309
Gets the orientation of the <em class="parameter"><code>panel</code></em>.
 
310
</p>
 
311
<div class="variablelist"><table border="0">
 
312
<col align="left" valign="top">
 
313
<tbody>
 
314
<tr>
 
315
<td><p><span class="term"><em class="parameter"><code>panel</code></em> :</span></p></td>
 
316
<td>a <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a>
 
317
</td>
 
318
</tr>
 
319
<tr>
 
320
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
321
<td> the <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> of <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a>
 
322
</td>
 
323
</tr>
 
324
</tbody>
 
325
</table></div>
 
326
</div>
 
327
<hr>
 
328
<div class="refsect2" title="gedit_panel_get_n_items ()">
 
329
<a name="gedit-panel-get-n-items"></a><h3>gedit_panel_get_n_items ()</h3>
 
330
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gedit_panel_get_n_items             (<em class="parameter"><code><a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *panel</code></em>);</pre>
 
331
<p>
 
332
Gets the number of items in a <em class="parameter"><code>panel</code></em>.
 
333
</p>
 
334
<div class="variablelist"><table border="0">
 
335
<col align="left" valign="top">
 
336
<tbody>
 
337
<tr>
 
338
<td><p><span class="term"><em class="parameter"><code>panel</code></em> :</span></p></td>
 
339
<td>a <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a>
 
340
</td>
 
341
</tr>
 
342
<tr>
 
343
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
344
<td> the number of items contained in <a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a>
 
345
</td>
 
346
</tr>
 
347
</tbody>
 
348
</table></div>
 
349
</div>
 
350
</div>
 
351
<div class="refsect1" title="Property Details">
 
352
<a name="gedit-gedit-panel.property-details"></a><h2>Property Details</h2>
 
353
<div class="refsect2" title='The "orientation" property'>
 
354
<a name="GeditPanel--orientation"></a><h3>The <code class="literal">"orientation"</code> property</h3>
 
355
<pre class="programlisting">  "orientation"              <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a>        : Read / Write / Construct Only</pre>
 
356
<p>The panel's orientation.</p>
 
357
<p>Default value: GTK_ORIENTATION_VERTICAL</p>
 
358
</div>
 
359
</div>
 
360
<div class="refsect1" title="Signal Details">
 
361
<a name="gedit-gedit-panel.signal-details"></a><h2>Signal Details</h2>
 
362
<div class="refsect2" title='The "close" signal'>
 
363
<a name="GeditPanel-close"></a><h3>The <code class="literal">"close"</code> signal</h3>
 
364
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *geditpanel,
 
365
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>    user_data)       : Run Last / Action</pre>
 
366
</div>
 
367
<hr>
 
368
<div class="refsect2" title='The "focus-document" signal'>
 
369
<a name="GeditPanel-focus-document"></a><h3>The <code class="literal">"focus-document"</code> signal</h3>
 
370
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *geditpanel,
 
371
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>    user_data)       : Run Last / Action</pre>
 
372
</div>
 
373
<hr>
 
374
<div class="refsect2" title='The "item-added" signal'>
 
375
<a name="GeditPanel-item-added"></a><h3>The <code class="literal">"item-added"</code> signal</h3>
 
376
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *geditpanel,
 
377
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a>  *widget,
 
378
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>    user_data)       : Run First</pre>
 
379
</div>
 
380
<hr>
 
381
<div class="refsect2" title='The "item-removed" signal'>
 
382
<a name="GeditPanel-item-removed"></a><h3>The <code class="literal">"item-removed"</code> signal</h3>
 
383
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="gedit-gedit-panel.html#GeditPanel"><span class="type">GeditPanel</span></a> *geditpanel,
 
384
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a>  *widget,
 
385
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>    user_data)       : Run First</pre>
 
386
</div>
 
387
</div>
 
388
</div>
 
389
<div class="footer">
 
390
<hr>
 
391
          Generated by GTK-Doc V1.14</div>
 
392
</body>
 
393
</html>
 
 
b'\\ No newline at end of file'