summaryrefslogtreecommitdiff
path: root/vapi/gedit-2.20.vapi
blob: f14f31608c51683bd495cd53a7eb812b03a975a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
/* gedit-2.20.vapi generated by vapigen, do not modify. */

[Version (replacement = "gedit")]
namespace Gedit {
	[CCode (cheader_filename = "gedit/gedit-app.h")]
	public class App : GLib.Object {
		public unowned Gedit.Window create_window (Gdk.Screen screen);
		public unowned Gedit.Window get_active_window ();
		public static unowned Gedit.App get_default ();
		public unowned GLib.List<Gedit.Document> get_documents ();
		public Gedit.LockdownMask get_lockdown ();
		public unowned GLib.List<Gedit.View> get_views ();
		public unowned GLib.List<Gedit.Window> get_windows ();
	}
	[CCode (cheader_filename = "gedit/gedit-document.h")]
	public class Document : Gtk.SourceBuffer {
		[CCode (has_construct_function = false)]
		public Document ();
		public static GLib.Quark error_quark ();
		public bool get_can_search_again ();
		public unowned string get_content_type ();
		public bool get_deleted ();
		public bool get_enable_search_highlighting ();
		public unowned Gedit.Encoding get_encoding ();
		public unowned Gtk.SourceLanguage get_language ();
		public unowned GLib.File get_location ();
		public unowned string get_metadata (string key);
		public unowned string get_mime_type ();
		public Gedit.DocumentNewlineType get_newline_type ();
		public bool get_readonly ();
		public unowned string get_search_text (uint flags);
		public unowned string get_short_name_for_display ();
		public string get_uri ();
		public unowned string get_uri_for_display ();
		public bool goto_line (int line);
		public bool goto_line_offset (int line, int line_offset);
		public bool insert_file (Gtk.TextIter iter, string uri, Gedit.Encoding encoding);
		public bool is_local ();
		public bool is_untitled ();
		public bool is_untouched ();
		public void load (string uri, Gedit.Encoding encoding, int line_pos, bool create);
		public bool load_cancel ();
		public int replace_all (string find, string replace, uint flags);
		public void save (Gedit.DocumentSaveFlags flags);
		public void save_as (string uri, Gedit.Encoding encoding, Gedit.DocumentSaveFlags flags);
		public bool search_backward (Gtk.TextIter start, Gtk.TextIter end, Gtk.TextIter match_start, Gtk.TextIter match_end);
		public bool search_forward (Gtk.TextIter start, Gtk.TextIter end, Gtk.TextIter match_start, Gtk.TextIter match_end);
		public void set_content_type (string content_type);
		public void set_enable_search_highlighting (bool enable);
		public void set_language (Gtk.SourceLanguage lang);
		public void set_metadata (...);
		public void set_newline_type (Gedit.DocumentNewlineType newline_type);
		public void set_search_text (string text, uint flags);
		public void set_short_name_for_display (string name);
		public void set_uri (string uri);
	}
	[CCode (cheader_filename = "gedit/gedit-encodings.h", copy_function = "gedit_encoding_copy")]
	public class Encoding : GLib.Object {
		public unowned Gedit.Encoding copy ();
		public unowned string get_charset ();
		public static unowned Gedit.Encoding get_current ();
		public static unowned Gedit.Encoding get_from_charset (string charset);
		public static unowned Gedit.Encoding get_from_index (int index);
		public unowned string get_name ();
		public static unowned Gedit.Encoding get_utf8 ();
		public unowned string to_string ();
	}
	[CCode (cheader_filename = "gedit-2.20.h")]
	public class EncodingsComboBox : GLib.Object {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public EncodingsComboBox (bool save_mode);
		public unowned Gedit.Encoding get_selected_encoding ();
		public void set_selected_encoding (Gedit.Encoding encoding);
	}
	[CCode (cheader_filename = "gedit-2.20.h")]
	public class Message : GLib.Object {
		public void @get ();
		public GLib.Type get_key_type (string key);
		public void* get_message_type ();
		public unowned string get_method ();
		public unowned string get_object_path ();
		public void get_valist (void* var_args);
		public void get_value (string key, GLib.Value value);
		public bool has_key (string key);
		public void @set ();
		public void set_valist (void* var_args);
		public void set_value (string key, GLib.Value value);
		public void set_valuesv (string keys, GLib.Value[] values);
		public bool validate ();
	}
	[CCode (cheader_filename = "gedit-2.20.h")]
	public class MessageBus : GLib.Object {
		[CCode (has_construct_function = false)]
		public MessageBus ();
		public void block (uint id);
		public void block_by_func (string object_path, string method, Gedit.MessageCallback callback, void* userdata);
		public uint connect (string object_path, string method, Gedit.MessageCallback callback, void* userdata, GLib.DestroyNotify destroy_data);
		public void disconnect (uint id);
		public void disconnect_by_func (string object_path, string method, Gedit.MessageCallback callback, void* userdata);
		public void @foreach (Gedit.MessageBusForeach func, void* userdata);
		public static unowned Gedit.MessageBus get_default ();
		public bool is_registered (string object_path, string method);
		public unowned Gedit.MessageType lookup (string object_path, string method);
		public unowned Gedit.MessageType register (string object_path, string method, uint num_optional);
		public void send (string object_path, string method);
		public void send_message (Gedit.Message message);
		public void send_message_sync (Gedit.Message message);
		public unowned Gedit.Message send_sync (string object_path, string method);
		public void unblock (uint id);
		public void unblock_by_func (string object_path, string method, Gedit.MessageCallback callback, void* userdata);
		public void unregister (Gedit.MessageType message_type);
		public void unregister_all (string object_path);
	}
	[CCode (cheader_filename = "gedit-2.20.h", ref_function = "gedit_message_type_ref", unref_function = "gedit_message_type_unref")]
	public class MessageType : GLib.Object {
		[CCode (has_construct_function = false)]
		public MessageType (string object_path, string method, uint num_optional);
		public void @foreach (Gedit.MessageTypeForeach func);
		public unowned string get_method ();
		public unowned string get_object_path ();
		public static unowned string identifier (string object_path, string method);
		public unowned Gedit.Message instantiate ();
		public unowned Gedit.Message instantiate_valist (void* va_args);
		public static bool is_supported (GLib.Type type);
		public static bool is_valid_object_path (string object_path);
		public GLib.Type lookup (string key);
		public void @set (uint num_optional);
		public void set_valist (uint num_optional, void* va_args);
		[CCode (has_construct_function = false)]
		public MessageType.valist (string object_path, string method, uint num_optional, void* va_args);
	}
	[CCode (cheader_filename = "gedit/gedit-notebook.h")]
	public class Notebook : Gtk.Notebook {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public Notebook ();
		public void add_tab (Gedit.Tab tab, int position, bool jump_to);
		public bool get_close_buttons_sensitive ();
		public bool get_tab_drag_and_drop_enabled ();
		public void move_tab (Gedit.Notebook dest, Gedit.Tab tab, int dest_position);
		public void remove_all_tabs ();
		public void remove_tab (Gedit.Tab tab);
		public void reorder_tab (Gedit.Tab tab, int dest_position);
		public void set_always_show_tabs (bool show_tabs);
		public void set_close_buttons_sensitive (bool sensitive);
		public void set_tab_drag_and_drop_enabled (bool enable);
	}
	[CCode (cheader_filename = "gedit/gedit-panel.h")]
	public class Panel : Gtk.VBox {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public Panel (Gtk.Orientation orientation);
		public bool activate_item (Gtk.Widget item);
		public void add_item (Gtk.Widget item, string name, Gtk.Widget? image);
		public void add_item_with_stock_icon (Gtk.Widget item, string name, string stock_id);
		public int get_n_items ();
		public Gtk.Orientation get_orientation ();
		public bool item_is_active (Gtk.Widget item);
		public bool remove_item (Gtk.Widget item);
	}
	[CCode (cheader_filename = "gedit/gedit-plugin.h")]
	public class Plugin : GLib.Object {
		public virtual void activate (Gedit.Window window);
		public virtual unowned Gtk.Widget? create_configure_dialog ();
		public virtual void deactivate (Gedit.Window window);
		public virtual unowned string get_data_dir ();
		public virtual unowned string get_install_dir ();
		public virtual bool is_configurable ();
		public virtual void update_ui (Gedit.Window window);
	}
	[CCode (cheader_filename = "gedit/gedit-progress-message-area.h")]
	public class ProgressMessageArea : Gtk.InfoBar {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public ProgressMessageArea (string stock_id, string markup, bool has_cancel);
		public void pulse ();
		public void set_fraction (double fraction);
		public void set_markup (string markup);
		public void set_stock_image (string stock_id);
		public void set_text (string text);
	}
	[CCode (cheader_filename = "gedit-2.20.h")]
	public class StatusComboBox : GLib.Object {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public StatusComboBox (string label);
		public void add_item (Gtk.MenuItem item, string text);
		public unowned Gtk.Label get_item_label ();
		public unowned string get_item_text (Gtk.MenuItem item);
		public unowned GLib.List get_items ();
		public unowned string get_label ();
		public void remove_item (Gtk.MenuItem item);
		public void set_item (Gtk.MenuItem item);
		public void set_item_text (Gtk.MenuItem item, string text);
		public void set_label (string label);
	}
	[CCode (cheader_filename = "gedit/gedit-statusbar.h")]
	public class Statusbar : Gtk.Statusbar {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public Statusbar ();
		public void clear_overwrite ();
		[CCode (cheader_filename = "gedit/gedit-statusbar.h")]
		public void flash_message (uint context_id, string format, ...);
		public void set_cursor_position (int line, int col);
		public void set_overwrite (bool overwrite);
		public void set_window_state (Gedit.WindowState state, int num_of_errors);
	}
	[CCode (cheader_filename = "gedit/gedit-tab.h")]
	public class Tab : Gtk.VBox {
		public weak Gtk.VBox vbox;
		public bool get_auto_save_enabled ();
		public int get_auto_save_interval ();
		public unowned Gedit.Document get_document ();
		public static unowned Gedit.Tab get_from_document (Gedit.Document doc);
		public Gedit.TabState get_state ();
		public unowned Gedit.View get_view ();
		public void set_auto_save_enabled (bool enable);
		public void set_auto_save_interval (int interval);
		public void set_info_bar (Gtk.Widget info_bar);
	}
	[CCode (cheader_filename = "gedit/gedit-view.h")]
	public class View : Gtk.SourceView {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public View (Gedit.Document doc);
		public void copy_clipboard ();
		public void cut_clipboard ();
		public void delete_selection ();
		public void paste_clipboard ();
		public void scroll_to_cursor ();
		public void select_all ();
		public void set_font (bool def, string font_name);
	}
	[CCode (cheader_filename = "gedit/gedit-window.h")]
	public class Window : Gtk.Window {
		public void close_all_tabs ();
		public void close_tab (Gedit.Tab tab);
		public void close_tabs (GLib.List<Gedit.Tab> tabs);
		public unowned Gedit.Tab create_tab (bool jump_to);
		public unowned Gedit.Tab create_tab_from_uri (string uri, Gedit.Encoding? encoding, int line_pos, bool create, bool jump_to);
		public unowned Gedit.Document get_active_document ();
		public unowned Gedit.Tab get_active_tab ();
		public unowned Gedit.View get_active_view ();
		public unowned Gedit.Panel get_bottom_panel ();
		public unowned GLib.List<Gedit.Document> get_documents ();
		public unowned Gtk.WindowGroup get_group ();
		public unowned Gedit.MessageBus get_message_bus ();
		public unowned Gedit.Panel get_side_panel ();
		public Gedit.WindowState get_state ();
		public unowned Gtk.Widget get_statusbar ();
		public unowned Gedit.Tab get_tab_from_location (GLib.File location);
		public unowned Gedit.Tab get_tab_from_uri (string uri);
		public unowned Gtk.UIManager get_ui_manager ();
		public unowned GLib.List<Gedit.Document> get_unsaved_documents ();
		public unowned GLib.List<Gedit.View> get_views ();
		public void set_active_tab (Gedit.Tab tab);
	}
	[CCode (cheader_filename = "gedit/gedit-debug.h", cprefix = "GEDIT_", has_type_id = false)]
	public enum DebugSection {
		NO_DEBUG,
		DEBUG_VIEW,
		DEBUG_SEARCH,
		DEBUG_PRINT,
		DEBUG_PREFS,
		DEBUG_PLUGINS,
		DEBUG_TAB,
		DEBUG_DOCUMENT,
		DEBUG_COMMANDS,
		DEBUG_APP,
		DEBUG_SESSION,
		DEBUG_UTILS,
		DEBUG_METADATA,
		DEBUG_WINDOW,
		DEBUG_LOADER,
		DEBUG_SAVER
	}
	[CCode (cheader_filename = "gedit-2.20.h", cprefix = "GEDIT_DOCUMENT_NEWLINE_TYPE_", has_type_id = false)]
	public enum DocumentNewlineType {
		LF,
		CR,
		CR_LF
	}
	[CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_SAVE_", has_type_id = false)]
	public enum DocumentSaveFlags {
		IGNORE_MTIME,
		IGNORE_BACKUP,
		PRESERVE_BACKUP
	}
	[CCode (cheader_filename = "gedit/gedit-app.h", cprefix = "GEDIT_LOCKDOWN_", has_type_id = false)]
	public enum LockdownMask {
		COMMAND_LINE,
		PRINTING,
		PRINT_SETUP,
		SAVE_TO_DISK,
		ALL
	}
	[CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_SEARCH_", has_type_id = false)]
	public enum SearchFlags {
		DONT_SET_FLAGS,
		ENTIRE_WORD,
		CASE_SENSITIVE
	}
	[CCode (cheader_filename = "gedit/gedit-tab.h", cprefix = "GEDIT_TAB_", has_type_id = false)]
	public enum TabState {
		STATE_NORMAL,
		STATE_LOADING,
		STATE_REVERTING,
		STATE_SAVING,
		STATE_PRINTING,
		STATE_PRINT_PREVIEWING,
		STATE_SHOWING_PRINT_PREVIEW,
		STATE_GENERIC_NOT_EDITABLE,
		STATE_LOADING_ERROR,
		STATE_REVERTING_ERROR,
		STATE_SAVING_ERROR,
		STATE_GENERIC_ERROR,
		STATE_CLOSING,
		STATE_EXTERNALLY_MODIFIED_NOTIFICATION,
		NUM_OF_STATES
	}
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h", cprefix = "GEDIT_TOOLBAR_", has_type_id = false)]
	public enum ToolbarSetting {
		SYSTEM,
		ICONS,
		ICONS_AND_TEXT,
		ICONS_BOTH_HORIZ
	}
	[CCode (cheader_filename = "gedit/gedit-window.h", cprefix = "GEDIT_WINDOW_STATE_", has_type_id = false)]
	public enum WindowState {
		NORMAL,
		SAVING,
		PRINTING,
		LOADING,
		ERROR,
		SAVING_SESSION
	}
	[CCode (cheader_filename = "gedit-2.20.h", has_target = false)]
	public delegate void MessageBusForeach (Gedit.MessageType message_type, void* userdata);
	[CCode (cheader_filename = "gedit-2.20.h", has_target = false)]
	public delegate void MessageCallback (Gedit.MessageBus bus, Gedit.Message message, void* userdata);
	[CCode (cheader_filename = "gedit-2.20.h")]
	public delegate void MessageTypeForeach (string key, GLib.Type type, bool required);
	[CCode (cheader_filename = "gedit-2.20.h", has_target = false)]
	public delegate unowned GLib.MountOperation MountOperationFactory (Gedit.Document doc, void* userdata);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const string BASE_KEY;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_AUTO_INDENT;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_AUTO_SAVE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_AUTO_SAVE_INTERVAL;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_BOTTOM_PANEL_VISIBLE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_BRACKET_MATCHING;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_CREATE_BACKUP_COPY;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_DISPLAY_LINE_NUMBERS;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_DISPLAY_RIGHT_MARGIN;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_HIGHLIGHT_CURRENT_LINE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_INSERT_SPACES;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_MAX_RECENTS;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_PRINT_HEADER;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_PRINT_LINE_NUMBERS;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_PRINT_SYNTAX;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const string GPM_DEFAULT_PRINT_WRAP_MODE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_RESTORE_CURSOR_POSITION;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_RIGHT_MARGIN_POSITION;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_SEARCH_HIGHLIGHTING_ENABLE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_SIDE_PANE_VISIBLE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const string GPM_DEFAULT_SMART_HOME_END;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const string GPM_DEFAULT_SOURCE_STYLE_SCHEME;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_STATUSBAR_VISIBLE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_SYNTAX_HL_ENABLE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_TABS_SIZE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const string GPM_DEFAULT_TOOLBAR_BUTTONS_STYLE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_TOOLBAR_SHOW_TOOLTIPS;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_TOOLBAR_VISIBLE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_UNDO_ACTIONS_LIMIT;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const int GPM_DEFAULT_USE_DEFAULT_FONT;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const string GPM_DEFAULT_WRAP_MODE;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const string GPM_LOCKDOWN_DIR;
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public const string GPM_SYSTEM_FONT;
	[CCode (cheader_filename = "gedit-2.20.h")]
	public const string METADATA_ATTRIBUTE_ENCODING;
	[CCode (cheader_filename = "gedit-2.20.h")]
	public const string METADATA_ATTRIBUTE_LANGUAGE;
	[CCode (cheader_filename = "gedit-2.20.h")]
	public const string METADATA_ATTRIBUTE_POSITION;
	[CCode (cheader_filename = "gedit/gedit-commands.h")]
	public static void commands_load_uri (Gedit.Window window, string uri, Gedit.Encoding encoding, int line_pos);
	[CCode (cheader_filename = "gedit/gedit-commands.h")]
	public static int commands_load_uris (Gedit.Window window, GLib.SList uris, Gedit.Encoding encoding, int line_pos);
	[CCode (cheader_filename = "gedit/gedit-commands.h")]
	public static void commands_save_all_documents (Gedit.Window window);
	[CCode (cheader_filename = "gedit/gedit-commands.h")]
	public static void commands_save_document (Gedit.Window window, Gedit.Document document);
	[CCode (cheader_filename = "gedit/gedit-debug.h")]
	public static void debug (Gedit.DebugSection section, string file, int line, string function);
	[CCode (cheader_filename = "gedit/gedit-debug.h")]
	public static void debug_init ();
	[CCode (cheader_filename = "gedit/gedit-debug.h")]
	public static void debug_message (Gedit.DebugSection section, string file, int line, string function, string format, ...);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned Gtk.Widget dialog_add_button (Gtk.Dialog dialog, string text, string stock_id, int response_id);
	[CCode (cheader_filename = "gedit/gedit-utils.h", cname = "g_utf8_caselessnmatch")]
	public static bool g_utf8_caselessnmatch (string s1, string s2, ssize_t n1, ssize_t n2);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string gdk_color_to_string (Gdk.Color color);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned Gtk.Widget gtk_button_new_with_stock_icon (string label, string stock_id);
	[CCode (cheader_filename = "gedit/gedit-help.h")]
	public static bool help_display (string name, string link_id);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_active_file_filter_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_active_plugins_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_app_init ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_app_shutdown ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_auto_indent_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_auto_save_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_auto_save_interval_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_bottom_panel_active_page_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_bottom_panel_size_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_bottom_panel_visible_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_bracket_matching_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_create_backup_copy_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_display_line_numbers_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_display_right_margin_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_editor_font_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_enable_search_highlighting_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_enable_syntax_highlighting_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_active_file_filter ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static unowned GLib.SList prefs_manager_get_active_plugins ();
	[CCode (cheader_filename = "gedit-2.20.h")]
	public static unowned GLib.SList<Gedit.Encoding> prefs_manager_get_auto_detected_encodings ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_auto_indent ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_auto_save ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_auto_save_interval ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_bottom_panel_active_page ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_bottom_panel_size ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_bottom_panel_visible ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_bracket_matching ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_create_backup_copy ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_default_bottom_panel_size ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static unowned string prefs_manager_get_default_print_font_body ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static unowned string prefs_manager_get_default_print_font_header ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static unowned string prefs_manager_get_default_print_font_numbers ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_default_side_panel_size ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_get_default_window_size (int width, int height);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_display_line_numbers ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_display_right_margin ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static unowned string prefs_manager_get_editor_font ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_enable_search_highlighting ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_enable_syntax_highlighting ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_highlight_current_line ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_insert_spaces ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static Gedit.LockdownMask prefs_manager_get_lockdown ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_max_recents ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static unowned string prefs_manager_get_print_font_body ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static unowned string prefs_manager_get_print_font_header ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static unowned string prefs_manager_get_print_font_numbers ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_print_header ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_print_line_numbers ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_print_syntax_hl ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static Gtk.WrapMode prefs_manager_get_print_wrap_mode ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_restore_cursor_position ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_right_margin_position ();
	[CCode (cheader_filename = "gedit-2.20.h")]
	public static unowned GLib.SList<Gedit.Encoding> prefs_manager_get_shown_in_menu_encodings ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_side_pane_visible ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_side_panel_active_page ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_side_panel_size ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static Gtk.SourceSmartHomeEndType prefs_manager_get_smart_home_end ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static unowned string prefs_manager_get_source_style_scheme ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_statusbar_visible ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static unowned string prefs_manager_get_system_font ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_tabs_size ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static Gedit.ToolbarSetting prefs_manager_get_toolbar_buttons_style ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_toolbar_visible ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_undo_actions_limit ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_get_use_default_font ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_get_window_size (int width, int height);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static int prefs_manager_get_window_state ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static Gtk.WrapMode prefs_manager_get_wrap_mode ();
	[CCode (cheader_filename = "gedit-2.20.h")]
	public static unowned GLib.SList<string> prefs_manager_get_writable_vfs_schemes ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_highlight_current_line_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_init ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_insert_spaces_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_print_font_body_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_print_font_header_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_print_font_numbers_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_print_header_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_print_line_numbers_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_print_syntax_hl_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_print_wrap_mode_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_right_margin_position_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_active_file_filter (int id);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_active_plugins (GLib.SList plugins);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_auto_indent (bool ai);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_auto_save (bool @as);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_auto_save_interval (int asi);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_bottom_panel_active_page (int id);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_bottom_panel_size (int ps);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_bottom_panel_visible (bool tv);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_bracket_matching (bool bm);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_create_backup_copy (bool cbc);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_display_line_numbers (bool dln);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_display_right_margin (bool drm);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_editor_font (string font);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_enable_search_highlighting (bool esh);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_enable_syntax_highlighting (bool esh);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_highlight_current_line (bool hl);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_insert_spaces (bool ai);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_print_font_body (string font);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_print_font_header (string font);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_print_font_numbers (string font);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_print_header (bool ph);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_print_line_numbers (int pln);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_print_syntax_hl (bool ps);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_print_wrap_mode (Gtk.WrapMode pwm);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_right_margin_position (int rmp);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_shown_in_menu_encodings (GLib.SList<Gedit.Encoding> encs);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_side_pane_visible (bool tv);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_side_panel_active_page (int id);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_side_panel_size (int ps);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_smart_home_end (Gtk.SourceSmartHomeEndType smart_he);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_source_style_scheme (string scheme);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_statusbar_visible (bool sv);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_tabs_size (int ts);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_toolbar_buttons_style (Gedit.ToolbarSetting tbs);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_toolbar_visible (bool tv);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_undo_actions_limit (int ual);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_use_default_font (bool udf);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_window_size (int width, int height);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_window_state (int ws);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_set_wrap_mode (Gtk.WrapMode wp);
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_shown_in_menu_encodings_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static void prefs_manager_shutdown ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_side_pane_visible_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_side_panel_active_page_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_side_panel_size_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_smart_home_end_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_source_style_scheme_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_statusbar_visible_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_tabs_size_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_toolbar_buttons_style_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_toolbar_visible_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_undo_actions_limit_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_use_default_font_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_window_size_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_window_state_can_set ();
	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
	public static bool prefs_manager_wrap_mode_can_set ();
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static void utils_activate_url (Gtk.AboutDialog about, string url, void* data);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_basename_for_display (string uri);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static bool utils_decode_uri (string uri, string scheme, string user, string port, string host, string path);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_drop_get_uris (Gtk.SelectionData selection_data);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_escape_search_text (string text);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_escape_underscores (string text, ssize_t length);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static bool utils_file_has_parent (GLib.File gfile);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static void utils_get_current_viewport (Gdk.Screen screen, int x, int y);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static uint utils_get_current_workspace (Gdk.Screen screen);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static bool utils_get_ui_objects (string filename, string root_objects, out unowned Gtk.Widget error_widget, string object_name);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static uint utils_get_window_workspace (Gtk.Window gtkwindow);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static bool utils_is_valid_uri (string uri);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_location_get_dirname_for_display (GLib.File location);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_make_canonical_uri_from_shell_arg (string str);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_make_valid_utf8 (string name);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static void utils_menu_position_under_tree_view (Gtk.Menu menu, int x, int y, bool push_in);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static void utils_menu_position_under_widget (Gtk.Menu menu, int x, int y, bool push_in);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_replace_home_dir_with_tilde (string uri);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static void utils_set_atk_name_description (Gtk.Widget widget, string name, string description);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static void utils_set_atk_relation (Gtk.Widget obj1, Gtk.Widget obj2, Atk.RelationType rel_type);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_str_end_truncate (string str, uint truncate_length);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_str_middle_truncate (string str, uint truncate_length);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_unescape_search_text (string text);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static bool utils_uri_exists (string text_uri);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_uri_for_display (string uri);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static unowned string utils_uri_get_dirname (string uri);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static bool utils_uri_has_file_scheme (string uri);
	[CCode (cheader_filename = "gedit/gedit-utils.h")]
	public static bool utils_uri_has_writable_scheme (string uri);
	[CCode (cheader_filename = "gedit/gedit-debug.h")]
	public static void warning (string format, ...);
}