~ubuntu-branches/ubuntu/hardy/gedit/hardy-proposed

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-07-11 14:06:41 UTC
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: james.westby@ubuntu.com-20060711140641-9ale6eu5anm0iftf
Tags: upstream-2.15.4
ImportĀ upstreamĀ versionĀ 2.15.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
<a name="properties"></a><h2>Properties</h2>
110
110
<pre class="synopsis">
111
111
 
112
 
  "<a href="GeditWindow.html#GeditWindow--state">state</a>"                gint                  : Read
 
112
  "<a href="GeditWindow.html#GeditWindow--state">state</a>"                <a href="GeditWindow.html#GeditWindowState">GeditWindowState</a>      : Read
113
113
</pre>
114
114
</div>
115
115
<div class="refsect1" lang="en">
144
144
<div class="refsect1" lang="en">
145
145
<a name="details"></a><h2>Details</h2>
146
146
<div class="refsect2" lang="en">
147
 
<a name="id2574253"></a><h3>
 
147
<a name="id341093"></a><h3>
148
148
<a name="GeditWindowState"></a>enum GeditWindowState</h3>
149
 
<a class="indexterm" name="id2574264"></a><pre class="programlisting">typedef enum
 
149
<a class="indexterm" name="id341105"></a><pre class="programlisting">typedef enum
150
150
{
151
151
        GEDIT_WINDOW_STATE_NORMAL               = 0,
152
152
        GEDIT_WINDOW_STATE_SAVING               = 1 &lt;&lt; 1,
162
162
</div>
163
163
<hr>
164
164
<div class="refsect2" lang="en">
165
 
<a name="id2574284"></a><h3>
 
165
<a name="id341122"></a><h3>
166
166
<a name="GEDIT-WINDOW-CONST:CAPS"></a>GEDIT_WINDOW_CONST()</h3>
167
 
<a class="indexterm" name="id2574295"></a><pre class="programlisting">#define GEDIT_WINDOW_CONST(obj)        (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_WINDOW, GeditWindow const))
 
167
<a class="indexterm" name="id341134"></a><pre class="programlisting">#define GEDIT_WINDOW_CONST(obj)        (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_WINDOW, GeditWindow const))
168
168
</pre>
169
169
<p>
170
170
 
183
183
</div>
184
184
<hr>
185
185
<div class="refsect2" lang="en">
186
 
<a name="id2574332"></a><h3>
 
186
<a name="id341169"></a><h3>
187
187
<a name="GeditWindowPrivate"></a>GeditWindowPrivate</h3>
188
 
<a class="indexterm" name="id2574344"></a><pre class="programlisting">typedef struct _GeditWindowPrivate GeditWindowPrivate;</pre>
 
188
<a class="indexterm" name="id341181"></a><pre class="programlisting">typedef struct _GeditWindowPrivate GeditWindowPrivate;</pre>
189
189
<p>
190
190
 
191
191
</p>
192
192
</div>
193
193
<hr>
194
194
<div class="refsect2" lang="en">
195
 
<a name="id2574361"></a><h3>
 
195
<a name="id341197"></a><h3>
196
196
<a name="GeditWindow-struct"></a>GeditWindow</h3>
197
 
<a class="indexterm" name="id2574373"></a><pre class="programlisting">typedef struct _GeditWindow GeditWindow;</pre>
 
197
<a class="indexterm" name="id341209"></a><pre class="programlisting">typedef struct _GeditWindow GeditWindow;</pre>
198
198
<p>
199
199
 
200
200
</p>
201
201
</div>
202
202
<hr>
203
203
<div class="refsect2" lang="en">
204
 
<a name="id2581279"></a><h3>
 
204
<a name="id341224"></a><h3>
205
205
<a name="gedit-window-create-tab"></a>gedit_window_create_tab ()</h3>
206
 
<a class="indexterm" name="id2581290"></a><pre class="programlisting"><a href="GeditTab.html" title="GeditTab">GeditTab</a>*   gedit_window_create_tab         (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
 
206
<a class="indexterm" name="id341236"></a><pre class="programlisting"><a href="GeditTab.html" title="GeditTab">GeditTab</a>*   gedit_window_create_tab         (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
207
207
                                             gboolean jump_to);</pre>
208
208
<p>
209
209
 
236
236
</div>
237
237
<hr>
238
238
<div class="refsect2" lang="en">
239
 
<a name="id2581359"></a><h3>
 
239
<a name="id341312"></a><h3>
240
240
<a name="gedit-window-create-tab-from-uri"></a>gedit_window_create_tab_from_uri ()</h3>
241
 
<a class="indexterm" name="id2581371"></a><pre class="programlisting"><a href="GeditTab.html" title="GeditTab">GeditTab</a>*   gedit_window_create_tab_from_uri
 
241
<a class="indexterm" name="id341324"></a><pre class="programlisting"><a href="GeditTab.html" title="GeditTab">GeditTab</a>*   gedit_window_create_tab_from_uri
242
242
                                            (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
243
243
                                             const gchar *uri,
244
244
                                             const <a href="gedit-gedit-encodings.html#GeditEncoding">GeditEncoding</a> *encoding,
300
300
</div>
301
301
<hr>
302
302
<div class="refsect2" lang="en">
303
 
<a name="id2581531"></a><h3>
 
303
<a name="id341483"></a><h3>
304
304
<a name="gedit-window-close-tab"></a>gedit_window_close_tab ()</h3>
305
 
<a class="indexterm" name="id2581542"></a><pre class="programlisting">void        gedit_window_close_tab          (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
 
305
<a class="indexterm" name="id341495"></a><pre class="programlisting">void        gedit_window_close_tab          (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
306
306
                                             <a href="GeditTab.html" title="GeditTab">GeditTab</a> *tab);</pre>
307
307
<p>
308
308
 
329
329
</div>
330
330
<hr>
331
331
<div class="refsect2" lang="en">
332
 
<a name="id2581609"></a><h3>
 
332
<a name="id341560"></a><h3>
333
333
<a name="gedit-window-close-all-tabs"></a>gedit_window_close_all_tabs ()</h3>
334
 
<a class="indexterm" name="id2581621"></a><pre class="programlisting">void        gedit_window_close_all_tabs     (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
334
<a class="indexterm" name="id341573"></a><pre class="programlisting">void        gedit_window_close_all_tabs     (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
335
335
<p>
336
336
 
337
337
</p>
349
349
</div>
350
350
<hr>
351
351
<div class="refsect2" lang="en">
352
 
<a name="id2581666"></a><h3>
 
352
<a name="id341618"></a><h3>
353
353
<a name="gedit-window-close-tabs"></a>gedit_window_close_tabs ()</h3>
354
 
<a class="indexterm" name="id2581678"></a><pre class="programlisting">void        gedit_window_close_tabs         (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
 
354
<a class="indexterm" name="id341630"></a><pre class="programlisting">void        gedit_window_close_tabs         (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
355
355
                                             const GList *tabs);</pre>
356
356
<p>
357
357
 
378
378
</div>
379
379
<hr>
380
380
<div class="refsect2" lang="en">
381
 
<a name="id2581744"></a><h3>
 
381
<a name="id341695"></a><h3>
382
382
<a name="gedit-window-get-active-tab"></a>gedit_window_get_active_tab ()</h3>
383
 
<a class="indexterm" name="id2581756"></a><pre class="programlisting"><a href="GeditTab.html" title="GeditTab">GeditTab</a>*   gedit_window_get_active_tab     (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
383
<a class="indexterm" name="id341708"></a><pre class="programlisting"><a href="GeditTab.html" title="GeditTab">GeditTab</a>*   gedit_window_get_active_tab     (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
384
384
<p>
385
385
 
386
386
</p>
406
406
</div>
407
407
<hr>
408
408
<div class="refsect2" lang="en">
409
 
<a name="id2581812"></a><h3>
 
409
<a name="id341764"></a><h3>
410
410
<a name="gedit-window-set-active-tab"></a>gedit_window_set_active_tab ()</h3>
411
 
<a class="indexterm" name="id2581824"></a><pre class="programlisting">void        gedit_window_set_active_tab     (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
 
411
<a class="indexterm" name="id341776"></a><pre class="programlisting">void        gedit_window_set_active_tab     (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
412
412
                                             <a href="GeditTab.html" title="GeditTab">GeditTab</a> *tab);</pre>
413
413
<p>
414
414
 
435
435
</div>
436
436
<hr>
437
437
<div class="refsect2" lang="en">
438
 
<a name="id2581891"></a><h3>
 
438
<a name="id341841"></a><h3>
439
439
<a name="gedit-window-get-active-view"></a>gedit_window_get_active_view ()</h3>
440
 
<a class="indexterm" name="id2581904"></a><pre class="programlisting"><a href="GeditView.html" title="GeditView">GeditView</a>*  gedit_window_get_active_view    (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
440
<a class="indexterm" name="id341853"></a><pre class="programlisting"><a href="GeditView.html" title="GeditView">GeditView</a>*  gedit_window_get_active_view    (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
441
441
<p>
442
442
 
443
443
</p>
463
463
</div>
464
464
<hr>
465
465
<div class="refsect2" lang="en">
466
 
<a name="id2581961"></a><h3>
 
466
<a name="id341909"></a><h3>
467
467
<a name="gedit-window-get-active-document"></a>gedit_window_get_active_document ()</h3>
468
 
<a class="indexterm" name="id2581974"></a><pre class="programlisting"><a href="GeditDocument.html" title="GeditDocument">GeditDocument</a>* gedit_window_get_active_document
 
468
<a class="indexterm" name="id341922"></a><pre class="programlisting"><a href="GeditDocument.html" title="GeditDocument">GeditDocument</a>* gedit_window_get_active_document
469
469
                                            (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
470
470
<p>
471
471
 
492
492
</div>
493
493
<hr>
494
494
<div class="refsect2" lang="en">
495
 
<a name="id2582032"></a><h3>
 
495
<a name="id341978"></a><h3>
496
496
<a name="gedit-window-get-documents"></a>gedit_window_get_documents ()</h3>
497
 
<a class="indexterm" name="id2582043"></a><pre class="programlisting">GList*      gedit_window_get_documents      (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
497
<a class="indexterm" name="id341990"></a><pre class="programlisting">GList*      gedit_window_get_documents      (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
498
498
<p>
499
499
 
500
500
</p>
520
520
</div>
521
521
<hr>
522
522
<div class="refsect2" lang="en">
523
 
<a name="id2582100"></a><h3>
 
523
<a name="id342022"></a><h3>
524
524
<a name="gedit-window-get-unsaved-documents"></a>gedit_window_get_unsaved_documents ()</h3>
525
 
<a class="indexterm" name="id2582114"></a><pre class="programlisting">GList*      gedit_window_get_unsaved_documents
 
525
<a class="indexterm" name="id342032"></a><pre class="programlisting">GList*      gedit_window_get_unsaved_documents
526
526
                                            (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
527
527
<p>
528
528
 
549
549
</div>
550
550
<hr>
551
551
<div class="refsect2" lang="en">
552
 
<a name="id2582170"></a><h3>
 
552
<a name="id342082"></a><h3>
553
553
<a name="gedit-window-get-views"></a>gedit_window_get_views ()</h3>
554
 
<a class="indexterm" name="id2582182"></a><pre class="programlisting">GList*      gedit_window_get_views          (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
554
<a class="indexterm" name="id342092"></a><pre class="programlisting">GList*      gedit_window_get_views          (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
555
555
<p>
556
556
 
557
557
</p>
577
577
</div>
578
578
<hr>
579
579
<div class="refsect2" lang="en">
580
 
<a name="id2582238"></a><h3>
 
580
<a name="id342142"></a><h3>
581
581
<a name="gedit-window-get-group"></a>gedit_window_get_group ()</h3>
582
 
<a class="indexterm" name="id2582249"></a><pre class="programlisting">GtkWindowGroup* gedit_window_get_group      (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
582
<a class="indexterm" name="id342152"></a><pre class="programlisting">GtkWindowGroup* gedit_window_get_group      (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
583
583
<p>
584
584
 
585
585
</p>
605
605
</div>
606
606
<hr>
607
607
<div class="refsect2" lang="en">
608
 
<a name="id2582305"></a><h3>
 
608
<a name="id342202"></a><h3>
609
609
<a name="gedit-window-get-side-panel"></a>gedit_window_get_side_panel ()</h3>
610
 
<a class="indexterm" name="id2582317"></a><pre class="programlisting"><a href="GeditPanel.html" title="GeditPanel">GeditPanel</a>* gedit_window_get_side_panel     (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
610
<a class="indexterm" name="id342212"></a><pre class="programlisting"><a href="GeditPanel.html" title="GeditPanel">GeditPanel</a>* gedit_window_get_side_panel     (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
611
611
<p>
612
612
 
613
613
</p>
633
633
</div>
634
634
<hr>
635
635
<div class="refsect2" lang="en">
636
 
<a name="id2582350"></a><h3>
 
636
<a name="id342261"></a><h3>
637
637
<a name="gedit-window-get-bottom-panel"></a>gedit_window_get_bottom_panel ()</h3>
638
 
<a class="indexterm" name="id2582362"></a><pre class="programlisting"><a href="GeditPanel.html" title="GeditPanel">GeditPanel</a>* gedit_window_get_bottom_panel   (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
638
<a class="indexterm" name="id342272"></a><pre class="programlisting"><a href="GeditPanel.html" title="GeditPanel">GeditPanel</a>* gedit_window_get_bottom_panel   (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
639
639
<p>
640
640
 
641
641
</p>
661
661
</div>
662
662
<hr>
663
663
<div class="refsect2" lang="en">
664
 
<a name="id2582413"></a><h3>
 
664
<a name="id342321"></a><h3>
665
665
<a name="gedit-window-get-statusbar"></a>gedit_window_get_statusbar ()</h3>
666
 
<a class="indexterm" name="id2582424"></a><pre class="programlisting">GtkWidget*  gedit_window_get_statusbar      (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
666
<a class="indexterm" name="id342331"></a><pre class="programlisting">GtkWidget*  gedit_window_get_statusbar      (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
667
667
<p>
668
668
 
669
669
</p>
689
689
</div>
690
690
<hr>
691
691
<div class="refsect2" lang="en">
692
 
<a name="id2582474"></a><h3>
 
692
<a name="id342381"></a><h3>
693
693
<a name="gedit-window-get-ui-manager"></a>gedit_window_get_ui_manager ()</h3>
694
 
<a class="indexterm" name="id2582485"></a><pre class="programlisting">GtkUIManager* gedit_window_get_ui_manager   (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
694
<a class="indexterm" name="id342391"></a><pre class="programlisting">GtkUIManager* gedit_window_get_ui_manager   (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
695
695
<p>
696
696
 
697
697
</p>
717
717
</div>
718
718
<hr>
719
719
<div class="refsect2" lang="en">
720
 
<a name="id2582535"></a><h3>
 
720
<a name="id342440"></a><h3>
721
721
<a name="gedit-window-get-state"></a>gedit_window_get_state ()</h3>
722
 
<a class="indexterm" name="id2582546"></a><pre class="programlisting"><a href="GeditWindow.html#GeditWindowState">GeditWindowState</a> gedit_window_get_state     (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
 
722
<a class="indexterm" name="id342451"></a><pre class="programlisting"><a href="GeditWindow.html#GeditWindowState">GeditWindowState</a> gedit_window_get_state     (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window);</pre>
723
723
<p>
724
724
 
725
725
</p>
745
745
</div>
746
746
<hr>
747
747
<div class="refsect2" lang="en">
748
 
<a name="id2582596"></a><h3>
 
748
<a name="id342500"></a><h3>
749
749
<a name="gedit-window-get-tab-from-uri"></a>gedit_window_get_tab_from_uri ()</h3>
750
 
<a class="indexterm" name="id2582608"></a><pre class="programlisting"><a href="GeditTab.html" title="GeditTab">GeditTab</a>*   gedit_window_get_tab_from_uri   (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
 
750
<a class="indexterm" name="id342511"></a><pre class="programlisting"><a href="GeditTab.html" title="GeditTab">GeditTab</a>*   gedit_window_get_tab_from_uri   (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *window,
751
751
                                             const gchar *uri);</pre>
752
752
<p>
753
753
 
782
782
<div class="refsect1" lang="en">
783
783
<a name="property_details"></a><h2>Property Details</h2>
784
784
<div class="refsect2" lang="en">
785
 
<a name="id2582688"></a><h3>
 
785
<a name="id342589"></a><h3>
786
786
<a name="GeditWindow--state"></a>The "<code class="literal">state</code>" property</h3>
787
 
<a class="indexterm" name="id2582701"></a><pre class="programlisting">  "state"                gint                  : Read</pre>
 
787
<a class="indexterm" name="id342601"></a><pre class="programlisting">  "state"                <a href="GeditWindow.html#GeditWindowState">GeditWindowState</a>      : Read</pre>
788
788
<p>The window's state.</p>
789
 
<p>Allowed values: &gt;= 0</p>
790
 
<p>Default value: 0</p>
791
789
</div>
792
790
</div>
793
791
<div class="refsect1" lang="en">
794
792
<a name="signals"></a><h2>Signal Details</h2>
795
793
<div class="refsect2" lang="en">
796
 
<a name="id2582737"></a><h3>
 
794
<a name="id342631"></a><h3>
797
795
<a name="GeditWindow-active-tab-changed"></a>The "active-tab-changed" signal</h3>
798
 
<a class="indexterm" name="id2582746"></a><pre class="programlisting">void        user_function                  (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *geditwindow,
 
796
<a class="indexterm" name="id342638"></a><pre class="programlisting">void        user_function                  (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *geditwindow,
799
797
                                            <a href="GeditTab.html" title="GeditTab">GeditTab</a>    *arg1,
800
798
                                            gpointer     user_data)        : Run first</pre>
801
799
<p>
827
825
</div>
828
826
<hr>
829
827
<div class="refsect2" lang="en">
830
 
<a name="id2582826"></a><h3>
 
828
<a name="id342713"></a><h3>
831
829
<a name="GeditWindow-active-tab-state-changed"></a>The "active-tab-state-changed" signal</h3>
832
 
<a class="indexterm" name="id2582836"></a><pre class="programlisting">void        user_function                  (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *geditwindow,
 
830
<a class="indexterm" name="id342720"></a><pre class="programlisting">void        user_function                  (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *geditwindow,
833
831
                                            gpointer     user_data)        : Run first</pre>
834
832
<p>
835
833
 
854
852
</div>
855
853
<hr>
856
854
<div class="refsect2" lang="en">
857
 
<a name="id2582898"></a><h3>
 
855
<a name="id342778"></a><h3>
858
856
<a name="GeditWindow-tab-added"></a>The "tab-added" signal</h3>
859
 
<a class="indexterm" name="id2582905"></a><pre class="programlisting">void        user_function                  (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *geditwindow,
 
857
<a class="indexterm" name="id342785"></a><pre class="programlisting">void        user_function                  (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *geditwindow,
860
858
                                            <a href="GeditTab.html" title="GeditTab">GeditTab</a>    *arg1,
861
859
                                            gpointer     user_data)        : Run first</pre>
862
860
<p>
888
886
</div>
889
887
<hr>
890
888
<div class="refsect2" lang="en">
891
 
<a name="id2582985"></a><h3>
 
889
<a name="id342860"></a><h3>
892
890
<a name="GeditWindow-tab-removed"></a>The "tab-removed" signal</h3>
893
 
<a class="indexterm" name="id2582992"></a><pre class="programlisting">void        user_function                  (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *geditwindow,
 
891
<a class="indexterm" name="id342867"></a><pre class="programlisting">void        user_function                  (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *geditwindow,
894
892
                                            <a href="GeditTab.html" title="GeditTab">GeditTab</a>    *arg1,
895
893
                                            gpointer     user_data)        : Run first</pre>
896
894
<p>
922
920
</div>
923
921
<hr>
924
922
<div class="refsect2" lang="en">
925
 
<a name="id2583072"></a><h3>
 
923
<a name="id342942"></a><h3>
926
924
<a name="GeditWindow-tabs-reordered"></a>The "tabs-reordered" signal</h3>
927
 
<a class="indexterm" name="id2583080"></a><pre class="programlisting">void        user_function                  (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *geditwindow,
 
925
<a class="indexterm" name="id342950"></a><pre class="programlisting">void        user_function                  (<a href="GeditWindow.html" title="GeditWindow">GeditWindow</a> *geditwindow,
928
926
                                            gpointer     user_data)        : Run first</pre>
929
927
<p>
930
928