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

« back to all changes in this revision

Viewing changes to docs/reference/html/GeditWindow.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>GeditWindow</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="GeditView.html" title="GeditView">
10
 
<link rel="next" href="gedit-gedit-convert.html" title="gedit-convert">
11
 
<meta name="generator" content="GTK-Doc V1.13 (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="GeditView.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="gedit-gedit-convert.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="#GeditWindow.synopsis" class="shortcut">Top</a>
26
 
                   | 
27
 
                  <a href="#GeditWindow.description" class="shortcut">Description</a>
28
 
                   | 
29
 
                  <a href="#GeditWindow.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
 
                   | 
31
 
                  <a href="#GeditWindow.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32
 
                   | 
33
 
                  <a href="#GeditWindow.properties" class="shortcut">Properties</a>
34
 
                   | 
35
 
                  <a href="#GeditWindow.signals" class="shortcut">Signals</a>
36
 
</td></tr>
37
 
</table>
38
 
<div class="refentry" title="GeditWindow">
39
 
<a name="GeditWindow"></a><div class="titlepage"></div>
40
 
<div class="refnamediv"><table width="100%"><tr>
41
 
<td valign="top">
42
 
<h2><span class="refentrytitle"><a name="GeditWindow.top_of_page"></a>GeditWindow</span></h2>
43
 
<p>GeditWindow</p>
44
 
</td>
45
 
<td valign="top" align="right"></td>
46
 
</tr></table></div>
47
 
<div class="refsynopsisdiv" title="Synopsis">
48
 
<a name="GeditWindow.synopsis"></a><h2>Synopsis</h2>
49
 
<pre class="synopsis">enum                <a class="link" href="GeditWindow.html#GeditWindowState" title="enum GeditWindowState">GeditWindowState</a>;
50
 
                    <a class="link" href="GeditWindow.html#GeditWindowPrivate" title="GeditWindowPrivate">GeditWindowPrivate</a>;
51
 
                    <a class="link" href="GeditWindow.html#GeditWindow-struct" title="GeditWindow">GeditWindow</a>;
52
 
<a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *          <a class="link" href="GeditWindow.html#gedit-window-create-tab" title="gedit_window_create_tab ()">gedit_window_create_tab</a>             (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
53
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> jump_to);
54
 
<a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *          <a class="link" href="GeditWindow.html#gedit-window-create-tab-from-uri" title="gedit_window_create_tab_from_uri ()">gedit_window_create_tab_from_uri</a>    (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
55
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *uri,
56
 
                                                         const <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding"><span class="returnvalue">GeditEncoding</span></a> *encoding,
57
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> line_pos,
58
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> create,
59
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> jump_to);
60
 
<span class="returnvalue">void</span>                <a class="link" href="GeditWindow.html#gedit-window-close-tab" title="gedit_window_close_tab ()">gedit_window_close_tab</a>              (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
61
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *tab);
62
 
<span class="returnvalue">void</span>                <a class="link" href="GeditWindow.html#gedit-window-close-all-tabs" title="gedit_window_close_all_tabs ()">gedit_window_close_all_tabs</a>         (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
63
 
<span class="returnvalue">void</span>                <a class="link" href="GeditWindow.html#gedit-window-close-tabs" title="gedit_window_close_tabs ()">gedit_window_close_tabs</a>             (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
64
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *tabs);
65
 
<a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *          <a class="link" href="GeditWindow.html#gedit-window-get-active-tab" title="gedit_window_get_active_tab ()">gedit_window_get_active_tab</a>         (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
66
 
<span class="returnvalue">void</span>                <a class="link" href="GeditWindow.html#gedit-window-set-active-tab" title="gedit_window_set_active_tab ()">gedit_window_set_active_tab</a>         (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
67
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *tab);
68
 
<a class="link" href="GeditView.html" title="GeditView"><span class="returnvalue">GeditView</span></a> *         <a class="link" href="GeditWindow.html#gedit-window-get-active-view" title="gedit_window_get_active_view ()">gedit_window_get_active_view</a>        (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
69
 
<a class="link" href="GeditDocument.html" title="GeditDocument"><span class="returnvalue">GeditDocument</span></a> *     <a class="link" href="GeditWindow.html#gedit-window-get-active-document" title="gedit_window_get_active_document ()">gedit_window_get_active_document</a>    (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
70
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="GeditWindow.html#gedit-window-get-documents" title="gedit_window_get_documents ()">gedit_window_get_documents</a>          (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
71
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="GeditWindow.html#gedit-window-get-unsaved-documents" title="gedit_window_get_unsaved_documents ()">gedit_window_get_unsaved_documents</a>  (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
72
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="GeditWindow.html#gedit-window-get-views" title="gedit_window_get_views ()">gedit_window_get_views</a>              (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
73
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWindowGroup.html"><span class="returnvalue">GtkWindowGroup</span></a> *    <a class="link" href="GeditWindow.html#gedit-window-get-group" title="gedit_window_get_group ()">gedit_window_get_group</a>              (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
74
 
<a class="link" href="GeditPanel.html" title="GeditPanel"><span class="returnvalue">GeditPanel</span></a> *        <a class="link" href="GeditWindow.html#gedit-window-get-side-panel" title="gedit_window_get_side_panel ()">gedit_window_get_side_panel</a>         (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
75
 
<a class="link" href="GeditPanel.html" title="GeditPanel"><span class="returnvalue">GeditPanel</span></a> *        <a class="link" href="GeditWindow.html#gedit-window-get-bottom-panel" title="gedit_window_get_bottom_panel ()">gedit_window_get_bottom_panel</a>       (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
76
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GeditWindow.html#gedit-window-get-statusbar" title="gedit_window_get_statusbar ()">gedit_window_get_statusbar</a>          (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
77
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html"><span class="returnvalue">GtkUIManager</span></a> *      <a class="link" href="GeditWindow.html#gedit-window-get-ui-manager" title="gedit_window_get_ui_manager ()">gedit_window_get_ui_manager</a>         (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
78
 
<a class="link" href="GeditWindow.html#GeditWindowState" title="enum GeditWindowState"><span class="returnvalue">GeditWindowState</span></a>    <a class="link" href="GeditWindow.html#gedit-window-get-state" title="gedit_window_get_state ()">gedit_window_get_state</a>              (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
79
 
<a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *          <a class="link" href="GeditWindow.html#gedit-window-get-tab-from-location" title="gedit_window_get_tab_from_location ()">gedit_window_get_tab_from_location</a>  (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
80
 
                                                         <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> *location);
81
 
<a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *          <a class="link" href="GeditWindow.html#gedit-window-get-tab-from-uri" title="gedit_window_get_tab_from_uri ()">gedit_window_get_tab_from_uri</a>       (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
82
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *uri);
83
 
<a class="link" href="GeditMessageBus.html" title="GeditMessageBus"><span class="returnvalue">GeditMessageBus</span></a> *   <a class="link" href="GeditWindow.html#gedit-window-get-message-bus" title="gedit_window_get_message_bus ()">gedit_window_get_message_bus</a>        (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);
84
 
</pre>
85
 
</div>
86
 
<div class="refsect1" title="Object Hierarchy">
87
 
<a name="GeditWindow.object-hierarchy"></a><h2>Object Hierarchy</h2>
88
 
<pre class="synopsis">
89
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
90
 
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
91
 
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
92
 
               +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
93
 
                     +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
94
 
                           +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html">GtkBin</a>
95
 
                                 +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html">GtkWindow</a>
96
 
                                       +----GeditWindow
97
 
</pre>
98
 
</div>
99
 
<div class="refsect1" title="Implemented Interfaces">
100
 
<a name="GeditWindow.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
101
 
<p>
102
 
GeditWindow implements
103
 
 AtkImplementorIface and  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
104
 
</div>
105
 
<div class="refsect1" title="Properties">
106
 
<a name="GeditWindow.properties"></a><h2>Properties</h2>
107
 
<pre class="synopsis">
108
 
  "<a class="link" href="GeditWindow.html#GeditWindow--state" title='The "state" property'>state</a>"                    <a class="link" href="GeditWindow.html#GeditWindowState" title="enum GeditWindowState"><span class="type">GeditWindowState</span></a>      : Read
109
 
</pre>
110
 
</div>
111
 
<div class="refsect1" title="Signals">
112
 
<a name="GeditWindow.signals"></a><h2>Signals</h2>
113
 
<pre class="synopsis">
114
 
  "<a class="link" href="GeditWindow.html#GeditWindow-active-tab-changed" title='The "active-tab-changed" signal'>active-tab-changed</a>"                             : Run First
115
 
  "<a class="link" href="GeditWindow.html#GeditWindow-active-tab-state-changed" title='The "active-tab-state-changed" signal'>active-tab-state-changed</a>"                       : Run First
116
 
  "<a class="link" href="GeditWindow.html#GeditWindow-tab-added" title='The "tab-added" signal'>tab-added</a>"                                      : Run First
117
 
  "<a class="link" href="GeditWindow.html#GeditWindow-tab-removed" title='The "tab-removed" signal'>tab-removed</a>"                                    : Run First
118
 
  "<a class="link" href="GeditWindow.html#GeditWindow-tabs-reordered" title='The "tabs-reordered" signal'>tabs-reordered</a>"                                 : Run First
119
 
</pre>
120
 
</div>
121
 
<div class="refsect1" title="Description">
122
 
<a name="GeditWindow.description"></a><h2>Description</h2>
123
 
<p>
124
 
</p>
125
 
</div>
126
 
<div class="refsect1" title="Details">
127
 
<a name="GeditWindow.details"></a><h2>Details</h2>
128
 
<div class="refsect2" title="enum GeditWindowState">
129
 
<a name="GeditWindowState"></a><h3>enum GeditWindowState</h3>
130
 
<pre class="programlisting">typedef enum
131
 
{
132
 
        GEDIT_WINDOW_STATE_NORMAL               = 0,
133
 
        GEDIT_WINDOW_STATE_SAVING               = 1 &lt;&lt; 1,
134
 
        GEDIT_WINDOW_STATE_PRINTING             = 1 &lt;&lt; 2,
135
 
        GEDIT_WINDOW_STATE_LOADING              = 1 &lt;&lt; 3,
136
 
        GEDIT_WINDOW_STATE_ERROR                = 1 &lt;&lt; 4,
137
 
        GEDIT_WINDOW_STATE_SAVING_SESSION = 1 &lt;&lt; 5
138
 
} GeditWindowState;
139
 
</pre>
140
 
<p>
141
 
</p>
142
 
</div>
143
 
<hr>
144
 
<div class="refsect2" title="GeditWindowPrivate">
145
 
<a name="GeditWindowPrivate"></a><h3>GeditWindowPrivate</h3>
146
 
<pre class="programlisting">typedef struct _GeditWindowPrivate GeditWindowPrivate;</pre>
147
 
<p>
148
 
</p>
149
 
</div>
150
 
<hr>
151
 
<div class="refsect2" title="GeditWindow">
152
 
<a name="GeditWindow-struct"></a><h3>GeditWindow</h3>
153
 
<pre class="programlisting">typedef struct _GeditWindow GeditWindow;</pre>
154
 
<p>
155
 
</p>
156
 
</div>
157
 
<hr>
158
 
<div class="refsect2" title="gedit_window_create_tab ()">
159
 
<a name="gedit-window-create-tab"></a><h3>gedit_window_create_tab ()</h3>
160
 
<pre class="programlisting"><a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *          gedit_window_create_tab             (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
161
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> jump_to);</pre>
162
 
<p>
163
 
Creates a new <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> and adds the new tab to the <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a>.
164
 
In case <em class="parameter"><code>jump_to</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a> switches to that new <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>.</p>
165
 
<div class="variablelist"><table border="0">
166
 
<col align="left" valign="top">
167
 
<tbody>
168
 
<tr>
169
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
170
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
171
 
</td>
172
 
</tr>
173
 
<tr>
174
 
<td><p><span class="term"><em class="parameter"><code>jump_to</code></em> :</span></p></td>
175
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to set the new <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> as active
176
 
</td>
177
 
</tr>
178
 
<tr>
179
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
180
 
<td> a new <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>
181
 
</td>
182
 
</tr>
183
 
</tbody>
184
 
</table></div>
185
 
</div>
186
 
<hr>
187
 
<div class="refsect2" title="gedit_window_create_tab_from_uri ()">
188
 
<a name="gedit-window-create-tab-from-uri"></a><h3>gedit_window_create_tab_from_uri ()</h3>
189
 
<pre class="programlisting"><a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *          gedit_window_create_tab_from_uri    (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
190
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *uri,
191
 
                                                         const <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding"><span class="returnvalue">GeditEncoding</span></a> *encoding,
192
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> line_pos,
193
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> create,
194
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> jump_to);</pre>
195
 
<p>
196
 
Creates a new <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> loading the document specified by <em class="parameter"><code>uri</code></em>.
197
 
In case <em class="parameter"><code>jump_to</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the <a class="link" href="GeditNotebook.html" title="GeditNotebook"><span class="type">GeditNotebook</span></a> swithes to that new <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>.
198
 
Whether <em class="parameter"><code>create</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, creates a new empty document if location does 
199
 
not refer to an existing file</p>
200
 
<div class="variablelist"><table border="0">
201
 
<col align="left" valign="top">
202
 
<tbody>
203
 
<tr>
204
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
205
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
206
 
</td>
207
 
</tr>
208
 
<tr>
209
 
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
210
 
<td> the uri of the document
211
 
</td>
212
 
</tr>
213
 
<tr>
214
 
<td><p><span class="term"><em class="parameter"><code>encoding</code></em> :</span></p></td>
215
 
<td> a <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding"><span class="type">GeditEncoding</span></a>
216
 
</td>
217
 
</tr>
218
 
<tr>
219
 
<td><p><span class="term"><em class="parameter"><code>line_pos</code></em> :</span></p></td>
220
 
<td> the line position to visualize
221
 
</td>
222
 
</tr>
223
 
<tr>
224
 
<td><p><span class="term"><em class="parameter"><code>create</code></em> :</span></p></td>
225
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to create a new document in case <em class="parameter"><code>uri</code></em> does exist
226
 
</td>
227
 
</tr>
228
 
<tr>
229
 
<td><p><span class="term"><em class="parameter"><code>jump_to</code></em> :</span></p></td>
230
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to set the new <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> as active
231
 
</td>
232
 
</tr>
233
 
<tr>
234
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
235
 
<td> a new <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>
236
 
</td>
237
 
</tr>
238
 
</tbody>
239
 
</table></div>
240
 
</div>
241
 
<hr>
242
 
<div class="refsect2" title="gedit_window_close_tab ()">
243
 
<a name="gedit-window-close-tab"></a><h3>gedit_window_close_tab ()</h3>
244
 
<pre class="programlisting"><span class="returnvalue">void</span>                gedit_window_close_tab              (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
245
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *tab);</pre>
246
 
<p>
247
 
Closes the <em class="parameter"><code>tab</code></em>.</p>
248
 
<div class="variablelist"><table border="0">
249
 
<col align="left" valign="top">
250
 
<tbody>
251
 
<tr>
252
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
253
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
254
 
</td>
255
 
</tr>
256
 
<tr>
257
 
<td><p><span class="term"><em class="parameter"><code>tab</code></em> :</span></p></td>
258
 
<td> the <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> to close
259
 
</td>
260
 
</tr>
261
 
</tbody>
262
 
</table></div>
263
 
</div>
264
 
<hr>
265
 
<div class="refsect2" title="gedit_window_close_all_tabs ()">
266
 
<a name="gedit-window-close-all-tabs"></a><h3>gedit_window_close_all_tabs ()</h3>
267
 
<pre class="programlisting"><span class="returnvalue">void</span>                gedit_window_close_all_tabs         (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
268
 
<p>
269
 
Closes all opened tabs.</p>
270
 
<div class="variablelist"><table border="0">
271
 
<col align="left" valign="top">
272
 
<tbody><tr>
273
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
274
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
275
 
</td>
276
 
</tr></tbody>
277
 
</table></div>
278
 
</div>
279
 
<hr>
280
 
<div class="refsect2" title="gedit_window_close_tabs ()">
281
 
<a name="gedit-window-close-tabs"></a><h3>gedit_window_close_tabs ()</h3>
282
 
<pre class="programlisting"><span class="returnvalue">void</span>                gedit_window_close_tabs             (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
283
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *tabs);</pre>
284
 
<p>
285
 
Closes all tabs specified by <em class="parameter"><code>tabs</code></em>.</p>
286
 
<div class="variablelist"><table border="0">
287
 
<col align="left" valign="top">
288
 
<tbody>
289
 
<tr>
290
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
291
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
292
 
</td>
293
 
</tr>
294
 
<tr>
295
 
<td><p><span class="term"><em class="parameter"><code>tabs</code></em> :</span></p></td>
296
 
<td> a list of <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>
297
 
</td>
298
 
</tr>
299
 
</tbody>
300
 
</table></div>
301
 
</div>
302
 
<hr>
303
 
<div class="refsect2" title="gedit_window_get_active_tab ()">
304
 
<a name="gedit-window-get-active-tab"></a><h3>gedit_window_get_active_tab ()</h3>
305
 
<pre class="programlisting"><a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *          gedit_window_get_active_tab         (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
306
 
<p>
307
 
Gets the active <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> in the <em class="parameter"><code>window</code></em>.</p>
308
 
<div class="variablelist"><table border="0">
309
 
<col align="left" valign="top">
310
 
<tbody>
311
 
<tr>
312
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
313
 
<td> a GeditWindow
314
 
</td>
315
 
</tr>
316
 
<tr>
317
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
318
 
<td> the active <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> in the <em class="parameter"><code>window</code></em>.
319
 
</td>
320
 
</tr>
321
 
</tbody>
322
 
</table></div>
323
 
</div>
324
 
<hr>
325
 
<div class="refsect2" title="gedit_window_set_active_tab ()">
326
 
<a name="gedit-window-set-active-tab"></a><h3>gedit_window_set_active_tab ()</h3>
327
 
<pre class="programlisting"><span class="returnvalue">void</span>                gedit_window_set_active_tab         (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
328
 
                                                         <a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *tab);</pre>
329
 
<p>
330
 
Switches to the tab that matches with <em class="parameter"><code>tab</code></em>.</p>
331
 
<div class="variablelist"><table border="0">
332
 
<col align="left" valign="top">
333
 
<tbody>
334
 
<tr>
335
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
336
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
337
 
</td>
338
 
</tr>
339
 
<tr>
340
 
<td><p><span class="term"><em class="parameter"><code>tab</code></em> :</span></p></td>
341
 
<td> a <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>
342
 
</td>
343
 
</tr>
344
 
</tbody>
345
 
</table></div>
346
 
</div>
347
 
<hr>
348
 
<div class="refsect2" title="gedit_window_get_active_view ()">
349
 
<a name="gedit-window-get-active-view"></a><h3>gedit_window_get_active_view ()</h3>
350
 
<pre class="programlisting"><a class="link" href="GeditView.html" title="GeditView"><span class="returnvalue">GeditView</span></a> *         gedit_window_get_active_view        (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
351
 
<p>
352
 
Gets the active <a class="link" href="GeditView.html" title="GeditView"><span class="type">GeditView</span></a>.</p>
353
 
<div class="variablelist"><table border="0">
354
 
<col align="left" valign="top">
355
 
<tbody>
356
 
<tr>
357
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
358
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
359
 
</td>
360
 
</tr>
361
 
<tr>
362
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
363
 
<td> the active <a class="link" href="GeditView.html" title="GeditView"><span class="type">GeditView</span></a>
364
 
</td>
365
 
</tr>
366
 
</tbody>
367
 
</table></div>
368
 
</div>
369
 
<hr>
370
 
<div class="refsect2" title="gedit_window_get_active_document ()">
371
 
<a name="gedit-window-get-active-document"></a><h3>gedit_window_get_active_document ()</h3>
372
 
<pre class="programlisting"><a class="link" href="GeditDocument.html" title="GeditDocument"><span class="returnvalue">GeditDocument</span></a> *     gedit_window_get_active_document    (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
373
 
<p>
374
 
Gets the active <a class="link" href="GeditDocument.html" title="GeditDocument"><span class="type">GeditDocument</span></a>.</p>
375
 
<div class="variablelist"><table border="0">
376
 
<col align="left" valign="top">
377
 
<tbody>
378
 
<tr>
379
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
380
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
381
 
</td>
382
 
</tr>
383
 
<tr>
384
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
385
 
<td> the active <a class="link" href="GeditDocument.html" title="GeditDocument"><span class="type">GeditDocument</span></a>
386
 
</td>
387
 
</tr>
388
 
</tbody>
389
 
</table></div>
390
 
</div>
391
 
<hr>
392
 
<div class="refsect2" title="gedit_window_get_documents ()">
393
 
<a name="gedit-window-get-documents"></a><h3>gedit_window_get_documents ()</h3>
394
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             gedit_window_get_documents          (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
395
 
<p>
396
 
Gets a newly allocated list with all the documents in the window.
397
 
This list must be freed.</p>
398
 
<div class="variablelist"><table border="0">
399
 
<col align="left" valign="top">
400
 
<tbody>
401
 
<tr>
402
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
403
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
404
 
</td>
405
 
</tr>
406
 
<tr>
407
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
408
 
<td> a newly allocated list with all the documents in the window
409
 
</td>
410
 
</tr>
411
 
</tbody>
412
 
</table></div>
413
 
</div>
414
 
<hr>
415
 
<div class="refsect2" title="gedit_window_get_unsaved_documents ()">
416
 
<a name="gedit-window-get-unsaved-documents"></a><h3>gedit_window_get_unsaved_documents ()</h3>
417
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             gedit_window_get_unsaved_documents  (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
418
 
<p>
419
 
Gets the list of documents that need to be saved before closing the window.</p>
420
 
<div class="variablelist"><table border="0">
421
 
<col align="left" valign="top">
422
 
<tbody>
423
 
<tr>
424
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
425
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
426
 
</td>
427
 
</tr>
428
 
<tr>
429
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
430
 
<td> a list of <a class="link" href="GeditDocument.html" title="GeditDocument"><span class="type">GeditDocument</span></a> that need to be saved before closing the window
431
 
</td>
432
 
</tr>
433
 
</tbody>
434
 
</table></div>
435
 
</div>
436
 
<hr>
437
 
<div class="refsect2" title="gedit_window_get_views ()">
438
 
<a name="gedit-window-get-views"></a><h3>gedit_window_get_views ()</h3>
439
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             gedit_window_get_views              (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
440
 
<p>
441
 
Gets a list with all the views in the window. This list must be freed.</p>
442
 
<div class="variablelist"><table border="0">
443
 
<col align="left" valign="top">
444
 
<tbody>
445
 
<tr>
446
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
447
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
448
 
</td>
449
 
</tr>
450
 
<tr>
451
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
452
 
<td> a newly allocated list with all the views in the window
453
 
</td>
454
 
</tr>
455
 
</tbody>
456
 
</table></div>
457
 
</div>
458
 
<hr>
459
 
<div class="refsect2" title="gedit_window_get_group ()">
460
 
<a name="gedit-window-get-group"></a><h3>gedit_window_get_group ()</h3>
461
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWindowGroup.html"><span class="returnvalue">GtkWindowGroup</span></a> *    gedit_window_get_group              (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
462
 
<p>
463
 
Gets the <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindowGroup.html"><span class="type">GtkWindowGroup</span></a> in which <em class="parameter"><code>window</code></em> resides.</p>
464
 
<div class="variablelist"><table border="0">
465
 
<col align="left" valign="top">
466
 
<tbody>
467
 
<tr>
468
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
469
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
470
 
</td>
471
 
</tr>
472
 
<tr>
473
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
474
 
<td> the <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindowGroup.html"><span class="type">GtkWindowGroup</span></a>
475
 
</td>
476
 
</tr>
477
 
</tbody>
478
 
</table></div>
479
 
</div>
480
 
<hr>
481
 
<div class="refsect2" title="gedit_window_get_side_panel ()">
482
 
<a name="gedit-window-get-side-panel"></a><h3>gedit_window_get_side_panel ()</h3>
483
 
<pre class="programlisting"><a class="link" href="GeditPanel.html" title="GeditPanel"><span class="returnvalue">GeditPanel</span></a> *        gedit_window_get_side_panel         (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
484
 
<p>
485
 
Gets the side <a class="link" href="GeditPanel.html" title="GeditPanel"><span class="type">GeditPanel</span></a> of the <em class="parameter"><code>window</code></em>.</p>
486
 
<div class="variablelist"><table border="0">
487
 
<col align="left" valign="top">
488
 
<tbody>
489
 
<tr>
490
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
491
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
492
 
</td>
493
 
</tr>
494
 
<tr>
495
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
496
 
<td> the side <a class="link" href="GeditPanel.html" title="GeditPanel"><span class="type">GeditPanel</span></a>.
497
 
</td>
498
 
</tr>
499
 
</tbody>
500
 
</table></div>
501
 
</div>
502
 
<hr>
503
 
<div class="refsect2" title="gedit_window_get_bottom_panel ()">
504
 
<a name="gedit-window-get-bottom-panel"></a><h3>gedit_window_get_bottom_panel ()</h3>
505
 
<pre class="programlisting"><a class="link" href="GeditPanel.html" title="GeditPanel"><span class="returnvalue">GeditPanel</span></a> *        gedit_window_get_bottom_panel       (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
506
 
<p>
507
 
Gets the bottom <a class="link" href="GeditPanel.html" title="GeditPanel"><span class="type">GeditPanel</span></a> of the <em class="parameter"><code>window</code></em>.</p>
508
 
<div class="variablelist"><table border="0">
509
 
<col align="left" valign="top">
510
 
<tbody>
511
 
<tr>
512
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
513
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
514
 
</td>
515
 
</tr>
516
 
<tr>
517
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
518
 
<td> the bottom <a class="link" href="GeditPanel.html" title="GeditPanel"><span class="type">GeditPanel</span></a>.
519
 
</td>
520
 
</tr>
521
 
</tbody>
522
 
</table></div>
523
 
</div>
524
 
<hr>
525
 
<div class="refsect2" title="gedit_window_get_statusbar ()">
526
 
<a name="gedit-window-get-statusbar"></a><h3>gedit_window_get_statusbar ()</h3>
527
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gedit_window_get_statusbar          (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
528
 
<p>
529
 
Gets the <a class="link" href="GeditStatusbar.html" title="GeditStatusbar"><span class="type">GeditStatusbar</span></a> of the <em class="parameter"><code>window</code></em>.</p>
530
 
<div class="variablelist"><table border="0">
531
 
<col align="left" valign="top">
532
 
<tbody>
533
 
<tr>
534
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
535
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
536
 
</td>
537
 
</tr>
538
 
<tr>
539
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
540
 
<td> the <a class="link" href="GeditStatusbar.html" title="GeditStatusbar"><span class="type">GeditStatusbar</span></a> of the <em class="parameter"><code>window</code></em>.
541
 
</td>
542
 
</tr>
543
 
</tbody>
544
 
</table></div>
545
 
</div>
546
 
<hr>
547
 
<div class="refsect2" title="gedit_window_get_ui_manager ()">
548
 
<a name="gedit-window-get-ui-manager"></a><h3>gedit_window_get_ui_manager ()</h3>
549
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html"><span class="returnvalue">GtkUIManager</span></a> *      gedit_window_get_ui_manager         (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
550
 
<p>
551
 
Gets the <a href="http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html"><span class="type">GtkUIManager</span></a> associated with the <em class="parameter"><code>window</code></em>.</p>
552
 
<div class="variablelist"><table border="0">
553
 
<col align="left" valign="top">
554
 
<tbody>
555
 
<tr>
556
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
557
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
558
 
</td>
559
 
</tr>
560
 
<tr>
561
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
562
 
<td> the <a href="http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html"><span class="type">GtkUIManager</span></a> of the <em class="parameter"><code>window</code></em>.
563
 
</td>
564
 
</tr>
565
 
</tbody>
566
 
</table></div>
567
 
</div>
568
 
<hr>
569
 
<div class="refsect2" title="gedit_window_get_state ()">
570
 
<a name="gedit-window-get-state"></a><h3>gedit_window_get_state ()</h3>
571
 
<pre class="programlisting"><a class="link" href="GeditWindow.html#GeditWindowState" title="enum GeditWindowState"><span class="returnvalue">GeditWindowState</span></a>    gedit_window_get_state              (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
572
 
<p>
573
 
Retrieves the state of the <em class="parameter"><code>window</code></em>.</p>
574
 
<div class="variablelist"><table border="0">
575
 
<col align="left" valign="top">
576
 
<tbody>
577
 
<tr>
578
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
579
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
580
 
</td>
581
 
</tr>
582
 
<tr>
583
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
584
 
<td> the current <a class="link" href="GeditWindow.html#GeditWindowState" title="enum GeditWindowState"><span class="type">GeditWindowState</span></a> of the <em class="parameter"><code>window</code></em>.
585
 
</td>
586
 
</tr>
587
 
</tbody>
588
 
</table></div>
589
 
</div>
590
 
<hr>
591
 
<div class="refsect2" title="gedit_window_get_tab_from_location ()">
592
 
<a name="gedit-window-get-tab-from-location"></a><h3>gedit_window_get_tab_from_location ()</h3>
593
 
<pre class="programlisting"><a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *          gedit_window_get_tab_from_location  (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
594
 
                                                         <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> *location);</pre>
595
 
<p>
596
 
Gets the <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> that matches with the given <em class="parameter"><code>location</code></em>.</p>
597
 
<div class="variablelist"><table border="0">
598
 
<col align="left" valign="top">
599
 
<tbody>
600
 
<tr>
601
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
602
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
603
 
</td>
604
 
</tr>
605
 
<tr>
606
 
<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td>
607
 
<td> a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>
608
 
</td>
609
 
</tr>
610
 
<tr>
611
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
612
 
<td> the <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> that matches with the given <em class="parameter"><code>location</code></em>.
613
 
</td>
614
 
</tr>
615
 
</tbody>
616
 
</table></div>
617
 
</div>
618
 
<hr>
619
 
<div class="refsect2" title="gedit_window_get_tab_from_uri ()">
620
 
<a name="gedit-window-get-tab-from-uri"></a><h3>gedit_window_get_tab_from_uri ()</h3>
621
 
<pre class="programlisting"><a class="link" href="GeditTab.html" title="GeditTab"><span class="returnvalue">GeditTab</span></a> *          gedit_window_get_tab_from_uri       (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window,
622
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *uri);</pre>
623
 
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
624
 
<h3 class="title">Warning</h3>
625
 
<p><code class="literal">gedit_window_get_tab_from_uri</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="GeditWindow.html#gedit-window-get-tab-from-location" title="gedit_window_get_tab_from_location ()"><code class="function">gedit_window_get_tab_from_location()</code></a> instead.</p>
626
 
</div>
627
 
<p>
628
 
Gets the <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> that matches <em class="parameter"><code>uri</code></em>.</p>
629
 
<div class="variablelist"><table border="0">
630
 
<col align="left" valign="top">
631
 
<tbody>
632
 
<tr>
633
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
634
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
635
 
</td>
636
 
</tr>
637
 
<tr>
638
 
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
639
 
<td> the uri to get the <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>
640
 
</td>
641
 
</tr>
642
 
<tr>
643
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
644
 
<td> the <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a> associated with <em class="parameter"><code>uri</code></em>.
645
 
 
646
 
</td>
647
 
</tr>
648
 
</tbody>
649
 
</table></div>
650
 
</div>
651
 
<hr>
652
 
<div class="refsect2" title="gedit_window_get_message_bus ()">
653
 
<a name="gedit-window-get-message-bus"></a><h3>gedit_window_get_message_bus ()</h3>
654
 
<pre class="programlisting"><a class="link" href="GeditMessageBus.html" title="GeditMessageBus"><span class="returnvalue">GeditMessageBus</span></a> *   gedit_window_get_message_bus        (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="returnvalue">GeditWindow</span></a> *window);</pre>
655
 
<p>
656
 
Gets the <a class="link" href="GeditMessageBus.html" title="GeditMessageBus"><span class="type">GeditMessageBus</span></a> associated with <em class="parameter"><code>window</code></em>. The returned reference
657
 
is owned by the window and should not be unreffed.</p>
658
 
<div class="variablelist"><table border="0">
659
 
<col align="left" valign="top">
660
 
<tbody>
661
 
<tr>
662
 
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
663
 
<td> a <a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a>
664
 
</td>
665
 
</tr>
666
 
<tr>
667
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
668
 
<td> the <a class="link" href="GeditMessageBus.html" title="GeditMessageBus"><span class="type">GeditMessageBus</span></a> associated with <em class="parameter"><code>window</code></em>
669
 
</td>
670
 
</tr>
671
 
</tbody>
672
 
</table></div>
673
 
</div>
674
 
</div>
675
 
<div class="refsect1" title="Property Details">
676
 
<a name="GeditWindow.property-details"></a><h2>Property Details</h2>
677
 
<div class="refsect2" title='The "state" property'>
678
 
<a name="GeditWindow--state"></a><h3>The <code class="literal">"state"</code> property</h3>
679
 
<pre class="programlisting">  "state"                    <a class="link" href="GeditWindow.html#GeditWindowState" title="enum GeditWindowState"><span class="type">GeditWindowState</span></a>      : Read</pre>
680
 
<p>The window's state.</p>
681
 
</div>
682
 
</div>
683
 
<div class="refsect1" title="Signal Details">
684
 
<a name="GeditWindow.signal-details"></a><h2>Signal Details</h2>
685
 
<div class="refsect2" title='The "active-tab-changed" signal'>
686
 
<a name="GeditWindow-active-tab-changed"></a><h3>The <code class="literal">"active-tab-changed"</code> signal</h3>
687
 
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a> *geditwindow,
688
 
                                                        <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>    *arg1,
689
 
                                                        <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>
690
 
<p>
691
 
</p>
692
 
<div class="variablelist"><table border="0">
693
 
<col align="left" valign="top">
694
 
<tbody>
695
 
<tr>
696
 
<td><p><span class="term"><em class="parameter"><code>geditwindow</code></em> :</span></p></td>
697
 
<td>the object which received the signal.
698
 
</td>
699
 
</tr>
700
 
<tr>
701
 
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
702
 
<td>
703
 
</td>
704
 
</tr>
705
 
<tr>
706
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
707
 
<td>user data set when the signal handler was connected.</td>
708
 
</tr>
709
 
</tbody>
710
 
</table></div>
711
 
</div>
712
 
<hr>
713
 
<div class="refsect2" title='The "active-tab-state-changed" signal'>
714
 
<a name="GeditWindow-active-tab-state-changed"></a><h3>The <code class="literal">"active-tab-state-changed"</code> signal</h3>
715
 
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a> *geditwindow,
716
 
                                                        <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>
717
 
<p>
718
 
</p>
719
 
<div class="variablelist"><table border="0">
720
 
<col align="left" valign="top">
721
 
<tbody>
722
 
<tr>
723
 
<td><p><span class="term"><em class="parameter"><code>geditwindow</code></em> :</span></p></td>
724
 
<td>the object which received the signal.
725
 
</td>
726
 
</tr>
727
 
<tr>
728
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
729
 
<td>user data set when the signal handler was connected.</td>
730
 
</tr>
731
 
</tbody>
732
 
</table></div>
733
 
</div>
734
 
<hr>
735
 
<div class="refsect2" title='The "tab-added" signal'>
736
 
<a name="GeditWindow-tab-added"></a><h3>The <code class="literal">"tab-added"</code> signal</h3>
737
 
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a> *geditwindow,
738
 
                                                        <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>    *arg1,
739
 
                                                        <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>
740
 
<p>
741
 
</p>
742
 
<div class="variablelist"><table border="0">
743
 
<col align="left" valign="top">
744
 
<tbody>
745
 
<tr>
746
 
<td><p><span class="term"><em class="parameter"><code>geditwindow</code></em> :</span></p></td>
747
 
<td>the object which received the signal.
748
 
</td>
749
 
</tr>
750
 
<tr>
751
 
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
752
 
<td>
753
 
</td>
754
 
</tr>
755
 
<tr>
756
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
757
 
<td>user data set when the signal handler was connected.</td>
758
 
</tr>
759
 
</tbody>
760
 
</table></div>
761
 
</div>
762
 
<hr>
763
 
<div class="refsect2" title='The "tab-removed" signal'>
764
 
<a name="GeditWindow-tab-removed"></a><h3>The <code class="literal">"tab-removed"</code> signal</h3>
765
 
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a> *geditwindow,
766
 
                                                        <a class="link" href="GeditTab.html" title="GeditTab"><span class="type">GeditTab</span></a>    *arg1,
767
 
                                                        <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>
768
 
<p>
769
 
</p>
770
 
<div class="variablelist"><table border="0">
771
 
<col align="left" valign="top">
772
 
<tbody>
773
 
<tr>
774
 
<td><p><span class="term"><em class="parameter"><code>geditwindow</code></em> :</span></p></td>
775
 
<td>the object which received the signal.
776
 
</td>
777
 
</tr>
778
 
<tr>
779
 
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
780
 
<td>
781
 
</td>
782
 
</tr>
783
 
<tr>
784
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
785
 
<td>user data set when the signal handler was connected.</td>
786
 
</tr>
787
 
</tbody>
788
 
</table></div>
789
 
</div>
790
 
<hr>
791
 
<div class="refsect2" title='The "tabs-reordered" signal'>
792
 
<a name="GeditWindow-tabs-reordered"></a><h3>The <code class="literal">"tabs-reordered"</code> signal</h3>
793
 
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GeditWindow.html" title="GeditWindow"><span class="type">GeditWindow</span></a> *geditwindow,
794
 
                                                        <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>
795
 
<p>
796
 
</p>
797
 
<div class="variablelist"><table border="0">
798
 
<col align="left" valign="top">
799
 
<tbody>
800
 
<tr>
801
 
<td><p><span class="term"><em class="parameter"><code>geditwindow</code></em> :</span></p></td>
802
 
<td>the object which received the signal.
803
 
</td>
804
 
</tr>
805
 
<tr>
806
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
807
 
<td>user data set when the signal handler was connected.</td>
808
 
</tr>
809
 
</tbody>
810
 
</table></div>
811
 
</div>
812
 
</div>
813
 
</div>
814
 
<div class="footer">
815
 
<hr>
816
 
          Generated by GTK-Doc V1.13</div>
817
 
</body>
818
 
</html>
 
 
b'\\ No newline at end of file'