~ubuntu-branches/ubuntu/lucid/gedit/lucid-proposed

« back to all changes in this revision

Viewing changes to docs/reference/html/GeditNotebook.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-18 00:37:05 UTC
  • mfrom: (1.1.76 upstream)
  • Revision ID: james.westby@ubuntu.com-20100318003705-typ8fgrsezmc334h
Tags: 2.29.9-0ubuntu1
* New upstream version:
  - Fix a file corruption bug in the new file saving code 
  - Misc bugfixes
* debian/patches/80_not_using_localmodlibs.patch:
  - dropped, the change is in the new version

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>GeditNotebook</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="GeditMessage.html" title="GeditMessage">
10
 
<link rel="next" href="GeditPanel.html" title="GeditPanel">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
 
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="chapter" href="ch01.html" title="gedit">
14
 
</head>
15
 
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
16
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
 
<tr valign="middle">
18
 
<td><a accesskey="p" href="GeditMessage.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
19
 
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
20
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
21
 
<th width="100%" align="center">gedit Reference Manual</th>
22
 
<td><a accesskey="n" href="GeditPanel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
 
</tr>
24
 
<tr><td colspan="5" class="shortcuts">
25
 
<a href="#GeditNotebook.synopsis" class="shortcut">Top</a>
26
 
                 | 
27
 
                <a href="#GeditNotebook.description" class="shortcut">Description</a>
28
 
                 | 
29
 
                <a href="#GeditNotebook.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
 
                 | 
31
 
                <a href="#GeditNotebook.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32
 
                 | 
33
 
                <a href="#GeditNotebook.signals" class="shortcut">Signals</a>
34
 
</td></tr>
35
 
</table>
36
 
<div class="refentry" title="GeditNotebook">
37
 
<a name="GeditNotebook"></a><div class="titlepage"></div>
38
 
<div class="refnamediv"><table width="100%"><tr>
39
 
<td valign="top">
40
 
<h2><span class="refentrytitle"><a name="GeditNotebook.top_of_page"></a>GeditNotebook</span></h2>
41
 
<p>GeditNotebook</p>
42
 
</td>
43
 
<td valign="top" align="right"></td>
44
 
</tr></table></div>
45
 
<div class="refsynopsisdiv" title="Synopsis">
46
 
<a name="GeditNotebook.synopsis"></a><h2>Synopsis</h2>
47
 
<pre class="synopsis">
48
 
                    <a class="link" href="GeditNotebook.html#GeditNotebookPrivate" title="GeditNotebookPrivate">GeditNotebookPrivate</a>;
49
 
                    <a class="link" href="GeditNotebook.html#GeditNotebook-struct" title="GeditNotebook">GeditNotebook</a>;
50
 
<a
51
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
52
 
>GtkWidget</a> *         <a class="link" href="GeditNotebook.html#gedit-notebook-new" title="gedit_notebook_new ()">gedit_notebook_new</a>                  (void);
53
 
void                <a class="link" href="GeditNotebook.html#gedit-notebook-add-tab" title="gedit_notebook_add_tab ()">gedit_notebook_add_tab</a>              (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb,
54
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a> *tab,
55
 
                                                         <a
56
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
57
 
>gint</a> position,
58
 
                                                         <a
59
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
60
 
>gboolean</a> jump_to);
61
 
void                <a class="link" href="GeditNotebook.html#gedit-notebook-remove-tab" title="gedit_notebook_remove_tab ()">gedit_notebook_remove_tab</a>           (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb,
62
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a> *tab);
63
 
void                <a class="link" href="GeditNotebook.html#gedit-notebook-remove-all-tabs" title="gedit_notebook_remove_all_tabs ()">gedit_notebook_remove_all_tabs</a>      (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb);
64
 
void                <a class="link" href="GeditNotebook.html#gedit-notebook-reorder-tab" title="gedit_notebook_reorder_tab ()">gedit_notebook_reorder_tab</a>          (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *src,
65
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a> *tab,
66
 
                                                         <a
67
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
68
 
>gint</a> dest_position);
69
 
void                <a class="link" href="GeditNotebook.html#gedit-notebook-move-tab" title="gedit_notebook_move_tab ()">gedit_notebook_move_tab</a>             (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *src,
70
 
                                                         <a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *dest,
71
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a> *tab,
72
 
                                                         <a
73
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
74
 
>gint</a> dest_position);
75
 
void                <a class="link" href="GeditNotebook.html#gedit-notebook-set-always-show-tabs" title="gedit_notebook_set_always_show_tabs ()">gedit_notebook_set_always_show_tabs</a> (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb,
76
 
                                                         <a
77
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
78
 
>gboolean</a> show_tabs);
79
 
void                <a class="link" href="GeditNotebook.html#gedit-notebook-set-close-buttons-sensitive" title="gedit_notebook_set_close_buttons_sensitive ()">gedit_notebook_set_close_buttons_sensitive</a>
80
 
                                                        (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb,
81
 
                                                         <a
82
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
83
 
>gboolean</a> sensitive);
84
 
<a
85
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
86
 
>gboolean</a>            <a class="link" href="GeditNotebook.html#gedit-notebook-get-close-buttons-sensitive" title="gedit_notebook_get_close_buttons_sensitive ()">gedit_notebook_get_close_buttons_sensitive</a>
87
 
                                                        (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb);
88
 
void                <a class="link" href="GeditNotebook.html#gedit-notebook-set-tab-drag-and-drop-enabled" title="gedit_notebook_set_tab_drag_and_drop_enabled ()">gedit_notebook_set_tab_drag_and_drop_enabled</a>
89
 
                                                        (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb,
90
 
                                                         <a
91
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
92
 
>gboolean</a> enable);
93
 
<a
94
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
95
 
>gboolean</a>            <a class="link" href="GeditNotebook.html#gedit-notebook-get-tab-drag-and-drop-enabled" title="gedit_notebook_get_tab_drag_and_drop_enabled ()">gedit_notebook_get_tab_drag_and_drop_enabled</a>
96
 
                                                        (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb);
97
 
</pre>
98
 
</div>
99
 
<div class="refsect1" title="Object Hierarchy">
100
 
<a name="GeditNotebook.object-hierarchy"></a><h2>Object Hierarchy</h2>
101
 
<pre class="synopsis">
102
 
  <a
103
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
104
 
>GObject</a>
105
 
   +----<a
106
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
107
 
>GInitiallyUnowned</a>
108
 
         +----<a
109
 
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
110
 
>GtkObject</a>
111
 
               +----<a
112
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
113
 
>GtkWidget</a>
114
 
                     +----<a
115
 
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
116
 
>GtkContainer</a>
117
 
                           +----<a
118
 
href="http://library.gnome.org/devel/gtk/unstable/GtkNotebook.html"
119
 
>GtkNotebook</a>
120
 
                                 +----GeditNotebook
121
 
</pre>
122
 
</div>
123
 
<div class="refsect1" title="Implemented Interfaces">
124
 
<a name="GeditNotebook.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
125
 
<p>
126
 
GeditNotebook implements
127
 
 AtkImplementorIface and  <a
128
 
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
129
 
>GtkBuildable</a>.</p>
130
 
</div>
131
 
<div class="refsect1" title="Signals">
132
 
<a name="GeditNotebook.signals"></a><h2>Signals</h2>
133
 
<pre class="synopsis">
134
 
  "<a class="link" href="GeditNotebook.html#GeditNotebook-tab-added" title='The "tab-added" signal'>tab-added</a>"                                      : Run First
135
 
  "<a class="link" href="GeditNotebook.html#GeditNotebook-tab-close-request" title='The "tab-close-request" signal'>tab-close-request</a>"                              : Run Last
136
 
  "<a class="link" href="GeditNotebook.html#GeditNotebook-tab-detached" title='The "tab-detached" signal'>tab-detached</a>"                                   : Run First
137
 
  "<a class="link" href="GeditNotebook.html#GeditNotebook-tab-removed" title='The "tab-removed" signal'>tab-removed</a>"                                    : Run First
138
 
  "<a class="link" href="GeditNotebook.html#GeditNotebook-tabs-reordered" title='The "tabs-reordered" signal'>tabs-reordered</a>"                                 : Run First
139
 
</pre>
140
 
</div>
141
 
<div class="refsect1" title="Description">
142
 
<a name="GeditNotebook.description"></a><h2>Description</h2>
143
 
<p>
144
 
</p>
145
 
</div>
146
 
<div class="refsect1" title="Details">
147
 
<a name="GeditNotebook.details"></a><h2>Details</h2>
148
 
<div class="refsect2" title="GeditNotebookPrivate">
149
 
<a name="GeditNotebookPrivate"></a><h3>GeditNotebookPrivate</h3>
150
 
<pre class="programlisting">typedef struct _GeditNotebookPrivate GeditNotebookPrivate;</pre>
151
 
<p>
152
 
</p>
153
 
</div>
154
 
<hr>
155
 
<div class="refsect2" title="GeditNotebook">
156
 
<a name="GeditNotebook-struct"></a><h3>GeditNotebook</h3>
157
 
<pre class="programlisting">typedef struct _GeditNotebook GeditNotebook;</pre>
158
 
<p>
159
 
</p>
160
 
</div>
161
 
<hr>
162
 
<div class="refsect2" title="gedit_notebook_new ()">
163
 
<a name="gedit-notebook-new"></a><h3>gedit_notebook_new ()</h3>
164
 
<pre class="programlisting"><a
165
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
166
 
>GtkWidget</a> *         gedit_notebook_new                  (void);</pre>
167
 
<p>
168
 
Creates a new <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a> object.</p>
169
 
<p>
170
 
</p>
171
 
<div class="variablelist"><table border="0">
172
 
<col align="left" valign="top">
173
 
<tbody><tr>
174
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
175
 
<td> a new <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
176
 
</td>
177
 
</tr></tbody>
178
 
</table></div>
179
 
</div>
180
 
<hr>
181
 
<div class="refsect2" title="gedit_notebook_add_tab ()">
182
 
<a name="gedit-notebook-add-tab"></a><h3>gedit_notebook_add_tab ()</h3>
183
 
<pre class="programlisting">void                gedit_notebook_add_tab              (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb,
184
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a> *tab,
185
 
                                                         <a
186
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
187
 
>gint</a> position,
188
 
                                                         <a
189
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
190
 
>gboolean</a> jump_to);</pre>
191
 
<p>
192
 
Adds the specified <em class="parameter"><code>tab</code></em> to the <em class="parameter"><code>nb</code></em>.</p>
193
 
<p>
194
 
</p>
195
 
<div class="variablelist"><table border="0">
196
 
<col align="left" valign="top">
197
 
<tbody>
198
 
<tr>
199
 
<td><p><span class="term"><em class="parameter"><code>nb</code></em> :</span></p></td>
200
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
201
 
</td>
202
 
</tr>
203
 
<tr>
204
 
<td><p><span class="term"><em class="parameter"><code>tab</code></em> :</span></p></td>
205
 
<td> a <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>
206
 
</td>
207
 
</tr>
208
 
<tr>
209
 
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
210
 
<td> the position where the <em class="parameter"><code>tab</code></em> should be added
211
 
</td>
212
 
</tr>
213
 
<tr>
214
 
<td><p><span class="term"><em class="parameter"><code>jump_to</code></em> :</span></p></td>
215
 
<td> <code class="literal">TRUE</code> to set the <em class="parameter"><code>tab</code></em> as active
216
 
</td>
217
 
</tr>
218
 
</tbody>
219
 
</table></div>
220
 
</div>
221
 
<hr>
222
 
<div class="refsect2" title="gedit_notebook_remove_tab ()">
223
 
<a name="gedit-notebook-remove-tab"></a><h3>gedit_notebook_remove_tab ()</h3>
224
 
<pre class="programlisting">void                gedit_notebook_remove_tab           (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb,
225
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a> *tab);</pre>
226
 
<p>
227
 
Removes <em class="parameter"><code>tab</code></em> from <em class="parameter"><code>nb</code></em>.</p>
228
 
<p>
229
 
</p>
230
 
<div class="variablelist"><table border="0">
231
 
<col align="left" valign="top">
232
 
<tbody>
233
 
<tr>
234
 
<td><p><span class="term"><em class="parameter"><code>nb</code></em> :</span></p></td>
235
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
236
 
</td>
237
 
</tr>
238
 
<tr>
239
 
<td><p><span class="term"><em class="parameter"><code>tab</code></em> :</span></p></td>
240
 
<td> a <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>
241
 
</td>
242
 
</tr>
243
 
</tbody>
244
 
</table></div>
245
 
</div>
246
 
<hr>
247
 
<div class="refsect2" title="gedit_notebook_remove_all_tabs ()">
248
 
<a name="gedit-notebook-remove-all-tabs"></a><h3>gedit_notebook_remove_all_tabs ()</h3>
249
 
<pre class="programlisting">void                gedit_notebook_remove_all_tabs      (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb);</pre>
250
 
<p>
251
 
Removes all <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> from <em class="parameter"><code>nb</code></em>.</p>
252
 
<p>
253
 
</p>
254
 
<div class="variablelist"><table border="0">
255
 
<col align="left" valign="top">
256
 
<tbody><tr>
257
 
<td><p><span class="term"><em class="parameter"><code>nb</code></em> :</span></p></td>
258
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
259
 
</td>
260
 
</tr></tbody>
261
 
</table></div>
262
 
</div>
263
 
<hr>
264
 
<div class="refsect2" title="gedit_notebook_reorder_tab ()">
265
 
<a name="gedit-notebook-reorder-tab"></a><h3>gedit_notebook_reorder_tab ()</h3>
266
 
<pre class="programlisting">void                gedit_notebook_reorder_tab          (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *src,
267
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a> *tab,
268
 
                                                         <a
269
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
270
 
>gint</a> dest_position);</pre>
271
 
<p>
272
 
Reorders the page containing <em class="parameter"><code>tab</code></em>, so that it appears in <em class="parameter"><code>dest_position</code></em> position.
273
 
If dest_position is greater than or equal to the number of tabs 
274
 
of the destination notebook or negative, tab will be moved to the 
275
 
end of the tabs.</p>
276
 
<p>
277
 
</p>
278
 
<div class="variablelist"><table border="0">
279
 
<col align="left" valign="top">
280
 
<tbody>
281
 
<tr>
282
 
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
283
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
284
 
</td>
285
 
</tr>
286
 
<tr>
287
 
<td><p><span class="term"><em class="parameter"><code>tab</code></em> :</span></p></td>
288
 
<td> a <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>
289
 
</td>
290
 
</tr>
291
 
<tr>
292
 
<td><p><span class="term"><em class="parameter"><code>dest_position</code></em> :</span></p></td>
293
 
<td> the position for <em class="parameter"><code>tab</code></em>
294
 
</td>
295
 
</tr>
296
 
</tbody>
297
 
</table></div>
298
 
</div>
299
 
<hr>
300
 
<div class="refsect2" title="gedit_notebook_move_tab ()">
301
 
<a name="gedit-notebook-move-tab"></a><h3>gedit_notebook_move_tab ()</h3>
302
 
<pre class="programlisting">void                gedit_notebook_move_tab             (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *src,
303
 
                                                         <a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *dest,
304
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a> *tab,
305
 
                                                         <a
306
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
307
 
>gint</a> dest_position);</pre>
308
 
<p>
309
 
Moves <em class="parameter"><code>tab</code></em> from <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest</code></em>.
310
 
If dest_position is greater than or equal to the number of tabs 
311
 
of the destination nootebook or negative, tab will be moved to the 
312
 
end of the tabs.</p>
313
 
<p>
314
 
</p>
315
 
<div class="variablelist"><table border="0">
316
 
<col align="left" valign="top">
317
 
<tbody>
318
 
<tr>
319
 
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
320
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
321
 
</td>
322
 
</tr>
323
 
<tr>
324
 
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
325
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
326
 
</td>
327
 
</tr>
328
 
<tr>
329
 
<td><p><span class="term"><em class="parameter"><code>tab</code></em> :</span></p></td>
330
 
<td> a <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>
331
 
</td>
332
 
</tr>
333
 
<tr>
334
 
<td><p><span class="term"><em class="parameter"><code>dest_position</code></em> :</span></p></td>
335
 
<td> the position for <em class="parameter"><code>tab</code></em>
336
 
</td>
337
 
</tr>
338
 
</tbody>
339
 
</table></div>
340
 
</div>
341
 
<hr>
342
 
<div class="refsect2" title="gedit_notebook_set_always_show_tabs ()">
343
 
<a name="gedit-notebook-set-always-show-tabs"></a><h3>gedit_notebook_set_always_show_tabs ()</h3>
344
 
<pre class="programlisting">void                gedit_notebook_set_always_show_tabs (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb,
345
 
                                                         <a
346
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
347
 
>gboolean</a> show_tabs);</pre>
348
 
<p>
349
 
Sets the visibility of the tabs in the <em class="parameter"><code>nb</code></em>.</p>
350
 
<p>
351
 
</p>
352
 
<div class="variablelist"><table border="0">
353
 
<col align="left" valign="top">
354
 
<tbody>
355
 
<tr>
356
 
<td><p><span class="term"><em class="parameter"><code>nb</code></em> :</span></p></td>
357
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
358
 
</td>
359
 
</tr>
360
 
<tr>
361
 
<td><p><span class="term"><em class="parameter"><code>show_tabs</code></em> :</span></p></td>
362
 
<td> <code class="literal">TRUE</code> to always show the tabs
363
 
</td>
364
 
</tr>
365
 
</tbody>
366
 
</table></div>
367
 
</div>
368
 
<hr>
369
 
<div class="refsect2" title="gedit_notebook_set_close_buttons_sensitive ()">
370
 
<a name="gedit-notebook-set-close-buttons-sensitive"></a><h3>gedit_notebook_set_close_buttons_sensitive ()</h3>
371
 
<pre class="programlisting">void                gedit_notebook_set_close_buttons_sensitive
372
 
                                                        (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb,
373
 
                                                         <a
374
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
375
 
>gboolean</a> sensitive);</pre>
376
 
<p>
377
 
Sets whether the close buttons in the tabs of <em class="parameter"><code>nb</code></em> are sensitive.</p>
378
 
<p>
379
 
</p>
380
 
<div class="variablelist"><table border="0">
381
 
<col align="left" valign="top">
382
 
<tbody>
383
 
<tr>
384
 
<td><p><span class="term"><em class="parameter"><code>nb</code></em> :</span></p></td>
385
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
386
 
</td>
387
 
</tr>
388
 
<tr>
389
 
<td><p><span class="term"><em class="parameter"><code>sensitive</code></em> :</span></p></td>
390
 
<td> <code class="literal">TRUE</code> to make the buttons sensitive
391
 
</td>
392
 
</tr>
393
 
</tbody>
394
 
</table></div>
395
 
</div>
396
 
<hr>
397
 
<div class="refsect2" title="gedit_notebook_get_close_buttons_sensitive ()">
398
 
<a name="gedit-notebook-get-close-buttons-sensitive"></a><h3>gedit_notebook_get_close_buttons_sensitive ()</h3>
399
 
<pre class="programlisting"><a
400
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
401
 
>gboolean</a>            gedit_notebook_get_close_buttons_sensitive
402
 
                                                        (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb);</pre>
403
 
<p>
404
 
Whether the close buttons are sensitive.</p>
405
 
<p>
406
 
</p>
407
 
<div class="variablelist"><table border="0">
408
 
<col align="left" valign="top">
409
 
<tbody>
410
 
<tr>
411
 
<td><p><span class="term"><em class="parameter"><code>nb</code></em> :</span></p></td>
412
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
413
 
</td>
414
 
</tr>
415
 
<tr>
416
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
417
 
<td> <code class="literal">TRUE</code> if the close buttons are sensitive
418
 
</td>
419
 
</tr>
420
 
</tbody>
421
 
</table></div>
422
 
</div>
423
 
<hr>
424
 
<div class="refsect2" title="gedit_notebook_set_tab_drag_and_drop_enabled ()">
425
 
<a name="gedit-notebook-set-tab-drag-and-drop-enabled"></a><h3>gedit_notebook_set_tab_drag_and_drop_enabled ()</h3>
426
 
<pre class="programlisting">void                gedit_notebook_set_tab_drag_and_drop_enabled
427
 
                                                        (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb,
428
 
                                                         <a
429
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
430
 
>gboolean</a> enable);</pre>
431
 
<p>
432
 
Sets whether drag and drop of tabs in the <em class="parameter"><code>nb</code></em> is enabled.</p>
433
 
<p>
434
 
</p>
435
 
<div class="variablelist"><table border="0">
436
 
<col align="left" valign="top">
437
 
<tbody>
438
 
<tr>
439
 
<td><p><span class="term"><em class="parameter"><code>nb</code></em> :</span></p></td>
440
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
441
 
</td>
442
 
</tr>
443
 
<tr>
444
 
<td><p><span class="term"><em class="parameter"><code>enable</code></em> :</span></p></td>
445
 
<td> <code class="literal">TRUE</code> to enable the drag and drop
446
 
</td>
447
 
</tr>
448
 
</tbody>
449
 
</table></div>
450
 
</div>
451
 
<hr>
452
 
<div class="refsect2" title="gedit_notebook_get_tab_drag_and_drop_enabled ()">
453
 
<a name="gedit-notebook-get-tab-drag-and-drop-enabled"></a><h3>gedit_notebook_get_tab_drag_and_drop_enabled ()</h3>
454
 
<pre class="programlisting"><a
455
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
456
 
>gboolean</a>            gedit_notebook_get_tab_drag_and_drop_enabled
457
 
                                                        (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *nb);</pre>
458
 
<p>
459
 
Whether the drag and drop is enabled in the <em class="parameter"><code>nb</code></em>.</p>
460
 
<p>
461
 
</p>
462
 
<div class="variablelist"><table border="0">
463
 
<col align="left" valign="top">
464
 
<tbody>
465
 
<tr>
466
 
<td><p><span class="term"><em class="parameter"><code>nb</code></em> :</span></p></td>
467
 
<td> a <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>
468
 
</td>
469
 
</tr>
470
 
<tr>
471
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
472
 
<td> <code class="literal">TRUE</code> if the drag and drop is enabled.
473
 
</td>
474
 
</tr>
475
 
</tbody>
476
 
</table></div>
477
 
</div>
478
 
</div>
479
 
<div class="refsect1" title="Signal Details">
480
 
<a name="GeditNotebook.signal-details"></a><h2>Signal Details</h2>
481
 
<div class="refsect2" title='The "tab-added" signal'>
482
 
<a name="GeditNotebook-tab-added"></a><h3>The <code class="literal">"tab-added"</code> signal</h3>
483
 
<pre class="programlisting">void                user_function                      (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *geditnotebook,
484
 
                                                        <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a>      *arg1,
485
 
                                                        <a
486
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
487
 
>gpointer</a>       user_data)          : Run First</pre>
488
 
<p>
489
 
</p>
490
 
<div class="variablelist"><table border="0">
491
 
<col align="left" valign="top">
492
 
<tbody>
493
 
<tr>
494
 
<td><p><span class="term"><em class="parameter"><code>geditnotebook</code></em> :</span></p></td>
495
 
<td>the object which received the signal.
496
 
</td>
497
 
</tr>
498
 
<tr>
499
 
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
500
 
<td>
501
 
</td>
502
 
</tr>
503
 
<tr>
504
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
505
 
<td>user data set when the signal handler was connected.</td>
506
 
</tr>
507
 
</tbody>
508
 
</table></div>
509
 
</div>
510
 
<hr>
511
 
<div class="refsect2" title='The "tab-close-request" signal'>
512
 
<a name="GeditNotebook-tab-close-request"></a><h3>The <code class="literal">"tab-close-request"</code> signal</h3>
513
 
<pre class="programlisting">void                user_function                      (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *geditnotebook,
514
 
                                                        <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a>      *arg1,
515
 
                                                        <a
516
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
517
 
>gpointer</a>       user_data)          : Run Last</pre>
518
 
<p>
519
 
</p>
520
 
<div class="variablelist"><table border="0">
521
 
<col align="left" valign="top">
522
 
<tbody>
523
 
<tr>
524
 
<td><p><span class="term"><em class="parameter"><code>geditnotebook</code></em> :</span></p></td>
525
 
<td>the object which received the signal.
526
 
</td>
527
 
</tr>
528
 
<tr>
529
 
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
530
 
<td>
531
 
</td>
532
 
</tr>
533
 
<tr>
534
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
535
 
<td>user data set when the signal handler was connected.</td>
536
 
</tr>
537
 
</tbody>
538
 
</table></div>
539
 
</div>
540
 
<hr>
541
 
<div class="refsect2" title='The "tab-detached" signal'>
542
 
<a name="GeditNotebook-tab-detached"></a><h3>The <code class="literal">"tab-detached"</code> signal</h3>
543
 
<pre class="programlisting">void                user_function                      (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *geditnotebook,
544
 
                                                        <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a>      *arg1,
545
 
                                                        <a
546
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
547
 
>gpointer</a>       user_data)          : Run First</pre>
548
 
<p>
549
 
</p>
550
 
<div class="variablelist"><table border="0">
551
 
<col align="left" valign="top">
552
 
<tbody>
553
 
<tr>
554
 
<td><p><span class="term"><em class="parameter"><code>geditnotebook</code></em> :</span></p></td>
555
 
<td>the object which received the signal.
556
 
</td>
557
 
</tr>
558
 
<tr>
559
 
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
560
 
<td>
561
 
</td>
562
 
</tr>
563
 
<tr>
564
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
565
 
<td>user data set when the signal handler was connected.</td>
566
 
</tr>
567
 
</tbody>
568
 
</table></div>
569
 
</div>
570
 
<hr>
571
 
<div class="refsect2" title='The "tab-removed" signal'>
572
 
<a name="GeditNotebook-tab-removed"></a><h3>The <code class="literal">"tab-removed"</code> signal</h3>
573
 
<pre class="programlisting">void                user_function                      (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *geditnotebook,
574
 
                                                        <a class="link" href="GeditTab.html" title="GeditTab">GeditTab</a>      *arg1,
575
 
                                                        <a
576
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
577
 
>gpointer</a>       user_data)          : Run First</pre>
578
 
<p>
579
 
</p>
580
 
<div class="variablelist"><table border="0">
581
 
<col align="left" valign="top">
582
 
<tbody>
583
 
<tr>
584
 
<td><p><span class="term"><em class="parameter"><code>geditnotebook</code></em> :</span></p></td>
585
 
<td>the object which received the signal.
586
 
</td>
587
 
</tr>
588
 
<tr>
589
 
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
590
 
<td>
591
 
</td>
592
 
</tr>
593
 
<tr>
594
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
595
 
<td>user data set when the signal handler was connected.</td>
596
 
</tr>
597
 
</tbody>
598
 
</table></div>
599
 
</div>
600
 
<hr>
601
 
<div class="refsect2" title='The "tabs-reordered" signal'>
602
 
<a name="GeditNotebook-tabs-reordered"></a><h3>The <code class="literal">"tabs-reordered"</code> signal</h3>
603
 
<pre class="programlisting">void                user_function                      (<a class="link" href="GeditNotebook.html" title="GeditNotebook">GeditNotebook</a> *geditnotebook,
604
 
                                                        <a
605
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
606
 
>gpointer</a>       user_data)          : Run First</pre>
607
 
<p>
608
 
</p>
609
 
<div class="variablelist"><table border="0">
610
 
<col align="left" valign="top">
611
 
<tbody>
612
 
<tr>
613
 
<td><p><span class="term"><em class="parameter"><code>geditnotebook</code></em> :</span></p></td>
614
 
<td>the object which received the signal.
615
 
</td>
616
 
</tr>
617
 
<tr>
618
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
619
 
<td>user data set when the signal handler was connected.</td>
620
 
</tr>
621
 
</tbody>
622
 
</table></div>
623
 
</div>
624
 
</div>
625
 
</div>
626
 
<div class="footer">
627
 
<hr>
628
 
          Generated by GTK-Doc V1.11</div>
629
 
</body>
630
 
</html>