1/* gedit-2.20.vapi generated by vapigen, do not modify. */
2
3[Version (replacement = "gedit")]
4namespace Gedit {
5	[CCode (cheader_filename = "gedit/gedit-app.h")]
6	public class App : GLib.Object {
7		public unowned Gedit.Window create_window (Gdk.Screen screen);
8		public unowned Gedit.Window get_active_window ();
9		public static unowned Gedit.App get_default ();
10		public unowned GLib.List<Gedit.Document> get_documents ();
11		public Gedit.LockdownMask get_lockdown ();
12		public unowned GLib.List<Gedit.View> get_views ();
13		public unowned GLib.List<Gedit.Window> get_windows ();
14	}
15	[CCode (cheader_filename = "gedit/gedit-document.h")]
16	public class Document : Gtk.SourceBuffer {
17		[CCode (has_construct_function = false)]
18		public Document ();
19		public static GLib.Quark error_quark ();
20		public bool get_can_search_again ();
21		public unowned string get_content_type ();
22		public bool get_deleted ();
23		public bool get_enable_search_highlighting ();
24		public unowned Gedit.Encoding get_encoding ();
25		public unowned Gtk.SourceLanguage get_language ();
26		public unowned GLib.File get_location ();
27		public unowned string get_metadata (string key);
28		public unowned string get_mime_type ();
29		public Gedit.DocumentNewlineType get_newline_type ();
30		public bool get_readonly ();
31		public unowned string get_search_text (uint flags);
32		public unowned string get_short_name_for_display ();
33		public string get_uri ();
34		public unowned string get_uri_for_display ();
35		public bool goto_line (int line);
36		public bool goto_line_offset (int line, int line_offset);
37		public bool insert_file (Gtk.TextIter iter, string uri, Gedit.Encoding encoding);
38		public bool is_local ();
39		public bool is_untitled ();
40		public bool is_untouched ();
41		public void load (string uri, Gedit.Encoding encoding, int line_pos, bool create);
42		public bool load_cancel ();
43		public int replace_all (string find, string replace, uint flags);
44		public void save (Gedit.DocumentSaveFlags flags);
45		public void save_as (string uri, Gedit.Encoding encoding, Gedit.DocumentSaveFlags flags);
46		public bool search_backward (Gtk.TextIter start, Gtk.TextIter end, Gtk.TextIter match_start, Gtk.TextIter match_end);
47		public bool search_forward (Gtk.TextIter start, Gtk.TextIter end, Gtk.TextIter match_start, Gtk.TextIter match_end);
48		public void set_content_type (string content_type);
49		public void set_enable_search_highlighting (bool enable);
50		public void set_language (Gtk.SourceLanguage lang);
51		public void set_metadata (...);
52		public void set_newline_type (Gedit.DocumentNewlineType newline_type);
53		public void set_search_text (string text, uint flags);
54		public void set_short_name_for_display (string name);
55		public void set_uri (string uri);
56	}
57	[CCode (cheader_filename = "gedit/gedit-encodings.h", copy_function = "gedit_encoding_copy")]
58	public class Encoding : GLib.Object {
59		public unowned Gedit.Encoding copy ();
60		public unowned string get_charset ();
61		public static unowned Gedit.Encoding get_current ();
62		public static unowned Gedit.Encoding get_from_charset (string charset);
63		public static unowned Gedit.Encoding get_from_index (int index);
64		public unowned string get_name ();
65		public static unowned Gedit.Encoding get_utf8 ();
66		public unowned string to_string ();
67	}
68	[CCode (cheader_filename = "gedit-2.20.h")]
69	public class EncodingsComboBox : GLib.Object {
70		[CCode (has_construct_function = false, type = "GtkWidget*")]
71		public EncodingsComboBox (bool save_mode);
72		public unowned Gedit.Encoding get_selected_encoding ();
73		public void set_selected_encoding (Gedit.Encoding encoding);
74	}
75	[CCode (cheader_filename = "gedit-2.20.h")]
76	public class Message : GLib.Object {
77		public void @get ();
78		public GLib.Type get_key_type (string key);
79		public void* get_message_type ();
80		public unowned string get_method ();
81		public unowned string get_object_path ();
82		public void get_valist (void* var_args);
83		public void get_value (string key, GLib.Value value);
84		public bool has_key (string key);
85		public void @set ();
86		public void set_valist (void* var_args);
87		public void set_value (string key, GLib.Value value);
88		public void set_valuesv (string keys, GLib.Value[] values);
89		public bool validate ();
90	}
91	[CCode (cheader_filename = "gedit-2.20.h")]
92	public class MessageBus : GLib.Object {
93		[CCode (has_construct_function = false)]
94		public MessageBus ();
95		public void block (uint id);
96		public void block_by_func (string object_path, string method, Gedit.MessageCallback callback, void* userdata);
97		public uint connect (string object_path, string method, Gedit.MessageCallback callback, void* userdata, GLib.DestroyNotify destroy_data);
98		public void disconnect (uint id);
99		public void disconnect_by_func (string object_path, string method, Gedit.MessageCallback callback, void* userdata);
100		public void @foreach (Gedit.MessageBusForeach func, void* userdata);
101		public static unowned Gedit.MessageBus get_default ();
102		public bool is_registered (string object_path, string method);
103		public unowned Gedit.MessageType lookup (string object_path, string method);
104		public unowned Gedit.MessageType register (string object_path, string method, uint num_optional);
105		public void send (string object_path, string method);
106		public void send_message (Gedit.Message message);
107		public void send_message_sync (Gedit.Message message);
108		public unowned Gedit.Message send_sync (string object_path, string method);
109		public void unblock (uint id);
110		public void unblock_by_func (string object_path, string method, Gedit.MessageCallback callback, void* userdata);
111		public void unregister (Gedit.MessageType message_type);
112		public void unregister_all (string object_path);
113	}
114	[CCode (cheader_filename = "gedit-2.20.h", ref_function = "gedit_message_type_ref", unref_function = "gedit_message_type_unref")]
115	public class MessageType : GLib.Object {
116		[CCode (has_construct_function = false)]
117		public MessageType (string object_path, string method, uint num_optional);
118		public void @foreach (Gedit.MessageTypeForeach func);
119		public unowned string get_method ();
120		public unowned string get_object_path ();
121		public static unowned string identifier (string object_path, string method);
122		public unowned Gedit.Message instantiate ();
123		public unowned Gedit.Message instantiate_valist (void* va_args);
124		public static bool is_supported (GLib.Type type);
125		public static bool is_valid_object_path (string object_path);
126		public GLib.Type lookup (string key);
127		public void @set (uint num_optional);
128		public void set_valist (uint num_optional, void* va_args);
129		[CCode (has_construct_function = false)]
130		public MessageType.valist (string object_path, string method, uint num_optional, void* va_args);
131	}
132	[CCode (cheader_filename = "gedit/gedit-notebook.h")]
133	public class Notebook : Gtk.Notebook {
134		[CCode (has_construct_function = false, type = "GtkWidget*")]
135		public Notebook ();
136		public void add_tab (Gedit.Tab tab, int position, bool jump_to);
137		public bool get_close_buttons_sensitive ();
138		public bool get_tab_drag_and_drop_enabled ();
139		public void move_tab (Gedit.Notebook dest, Gedit.Tab tab, int dest_position);
140		public void remove_all_tabs ();
141		public void remove_tab (Gedit.Tab tab);
142		public void reorder_tab (Gedit.Tab tab, int dest_position);
143		public void set_always_show_tabs (bool show_tabs);
144		public void set_close_buttons_sensitive (bool sensitive);
145		public void set_tab_drag_and_drop_enabled (bool enable);
146	}
147	[CCode (cheader_filename = "gedit/gedit-panel.h")]
148	public class Panel : Gtk.VBox {
149		[CCode (has_construct_function = false, type = "GtkWidget*")]
150		public Panel (Gtk.Orientation orientation);
151		public bool activate_item (Gtk.Widget item);
152		public void add_item (Gtk.Widget item, string name, Gtk.Widget? image);
153		public void add_item_with_stock_icon (Gtk.Widget item, string name, string stock_id);
154		public int get_n_items ();
155		public Gtk.Orientation get_orientation ();
156		public bool item_is_active (Gtk.Widget item);
157		public bool remove_item (Gtk.Widget item);
158	}
159	[CCode (cheader_filename = "gedit/gedit-plugin.h")]
160	public class Plugin : GLib.Object {
161		public virtual void activate (Gedit.Window window);
162		public virtual unowned Gtk.Widget? create_configure_dialog ();
163		public virtual void deactivate (Gedit.Window window);
164		public virtual unowned string get_data_dir ();
165		public virtual unowned string get_install_dir ();
166		public virtual bool is_configurable ();
167		public virtual void update_ui (Gedit.Window window);
168	}
169	[CCode (cheader_filename = "gedit/gedit-progress-message-area.h")]
170	public class ProgressMessageArea : Gtk.InfoBar {
171		[CCode (has_construct_function = false, type = "GtkWidget*")]
172		public ProgressMessageArea (string stock_id, string markup, bool has_cancel);
173		public void pulse ();
174		public void set_fraction (double fraction);
175		public void set_markup (string markup);
176		public void set_stock_image (string stock_id);
177		public void set_text (string text);
178	}
179	[CCode (cheader_filename = "gedit-2.20.h")]
180	public class StatusComboBox : GLib.Object {
181		[CCode (has_construct_function = false, type = "GtkWidget*")]
182		public StatusComboBox (string label);
183		public void add_item (Gtk.MenuItem item, string text);
184		public unowned Gtk.Label get_item_label ();
185		public unowned string get_item_text (Gtk.MenuItem item);
186		public unowned GLib.List get_items ();
187		public unowned string get_label ();
188		public void remove_item (Gtk.MenuItem item);
189		public void set_item (Gtk.MenuItem item);
190		public void set_item_text (Gtk.MenuItem item, string text);
191		public void set_label (string label);
192	}
193	[CCode (cheader_filename = "gedit/gedit-statusbar.h")]
194	public class Statusbar : Gtk.Statusbar {
195		[CCode (has_construct_function = false, type = "GtkWidget*")]
196		public Statusbar ();
197		public void clear_overwrite ();
198		[CCode (cheader_filename = "gedit/gedit-statusbar.h")]
199		public void flash_message (uint context_id, string format, ...);
200		public void set_cursor_position (int line, int col);
201		public void set_overwrite (bool overwrite);
202		public void set_window_state (Gedit.WindowState state, int num_of_errors);
203	}
204	[CCode (cheader_filename = "gedit/gedit-tab.h")]
205	public class Tab : Gtk.VBox {
206		public weak Gtk.VBox vbox;
207		public bool get_auto_save_enabled ();
208		public int get_auto_save_interval ();
209		public unowned Gedit.Document get_document ();
210		public static unowned Gedit.Tab get_from_document (Gedit.Document doc);
211		public Gedit.TabState get_state ();
212		public unowned Gedit.View get_view ();
213		public void set_auto_save_enabled (bool enable);
214		public void set_auto_save_interval (int interval);
215		public void set_info_bar (Gtk.Widget info_bar);
216	}
217	[CCode (cheader_filename = "gedit/gedit-view.h")]
218	public class View : Gtk.SourceView {
219		[CCode (has_construct_function = false, type = "GtkWidget*")]
220		public View (Gedit.Document doc);
221		public void copy_clipboard ();
222		public void cut_clipboard ();
223		public void delete_selection ();
224		public void paste_clipboard ();
225		public void scroll_to_cursor ();
226		public void select_all ();
227		public void set_font (bool def, string font_name);
228	}
229	[CCode (cheader_filename = "gedit/gedit-window.h")]
230	public class Window : Gtk.Window {
231		public void close_all_tabs ();
232		public void close_tab (Gedit.Tab tab);
233		public void close_tabs (GLib.List<Gedit.Tab> tabs);
234		public unowned Gedit.Tab create_tab (bool jump_to);
235		public unowned Gedit.Tab create_tab_from_uri (string uri, Gedit.Encoding? encoding, int line_pos, bool create, bool jump_to);
236		public unowned Gedit.Document get_active_document ();
237		public unowned Gedit.Tab get_active_tab ();
238		public unowned Gedit.View get_active_view ();
239		public unowned Gedit.Panel get_bottom_panel ();
240		public unowned GLib.List<Gedit.Document> get_documents ();
241		public unowned Gtk.WindowGroup get_group ();
242		public unowned Gedit.MessageBus get_message_bus ();
243		public unowned Gedit.Panel get_side_panel ();
244		public Gedit.WindowState get_state ();
245		public unowned Gtk.Widget get_statusbar ();
246		public unowned Gedit.Tab get_tab_from_location (GLib.File location);
247		public unowned Gedit.Tab get_tab_from_uri (string uri);
248		public unowned Gtk.UIManager get_ui_manager ();
249		public unowned GLib.List<Gedit.Document> get_unsaved_documents ();
250		public unowned GLib.List<Gedit.View> get_views ();
251		public void set_active_tab (Gedit.Tab tab);
252	}
253	[CCode (cheader_filename = "gedit/gedit-debug.h", cprefix = "GEDIT_", has_type_id = false)]
254	public enum DebugSection {
255		NO_DEBUG,
256		DEBUG_VIEW,
257		DEBUG_SEARCH,
258		DEBUG_PRINT,
259		DEBUG_PREFS,
260		DEBUG_PLUGINS,
261		DEBUG_TAB,
262		DEBUG_DOCUMENT,
263		DEBUG_COMMANDS,
264		DEBUG_APP,
265		DEBUG_SESSION,
266		DEBUG_UTILS,
267		DEBUG_METADATA,
268		DEBUG_WINDOW,
269		DEBUG_LOADER,
270		DEBUG_SAVER
271	}
272	[CCode (cheader_filename = "gedit-2.20.h", cprefix = "GEDIT_DOCUMENT_NEWLINE_TYPE_", has_type_id = false)]
273	public enum DocumentNewlineType {
274		LF,
275		CR,
276		CR_LF
277	}
278	[CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_DOCUMENT_SAVE_", has_type_id = false)]
279	public enum DocumentSaveFlags {
280		IGNORE_MTIME,
281		IGNORE_BACKUP,
282		PRESERVE_BACKUP
283	}
284	[CCode (cheader_filename = "gedit/gedit-app.h", cprefix = "GEDIT_LOCKDOWN_", has_type_id = false)]
285	public enum LockdownMask {
286		COMMAND_LINE,
287		PRINTING,
288		PRINT_SETUP,
289		SAVE_TO_DISK,
290		ALL
291	}
292	[CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_SEARCH_", has_type_id = false)]
293	public enum SearchFlags {
294		DONT_SET_FLAGS,
295		ENTIRE_WORD,
296		CASE_SENSITIVE
297	}
298	[CCode (cheader_filename = "gedit/gedit-tab.h", cprefix = "GEDIT_TAB_", has_type_id = false)]
299	public enum TabState {
300		STATE_NORMAL,
301		STATE_LOADING,
302		STATE_REVERTING,
303		STATE_SAVING,
304		STATE_PRINTING,
305		STATE_PRINT_PREVIEWING,
306		STATE_SHOWING_PRINT_PREVIEW,
307		STATE_GENERIC_NOT_EDITABLE,
308		STATE_LOADING_ERROR,
309		STATE_REVERTING_ERROR,
310		STATE_SAVING_ERROR,
311		STATE_GENERIC_ERROR,
312		STATE_CLOSING,
313		STATE_EXTERNALLY_MODIFIED_NOTIFICATION,
314		NUM_OF_STATES
315	}
316	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h", cprefix = "GEDIT_TOOLBAR_", has_type_id = false)]
317	public enum ToolbarSetting {
318		SYSTEM,
319		ICONS,
320		ICONS_AND_TEXT,
321		ICONS_BOTH_HORIZ
322	}
323	[CCode (cheader_filename = "gedit/gedit-window.h", cprefix = "GEDIT_WINDOW_STATE_", has_type_id = false)]
324	public enum WindowState {
325		NORMAL,
326		SAVING,
327		PRINTING,
328		LOADING,
329		ERROR,
330		SAVING_SESSION
331	}
332	[CCode (cheader_filename = "gedit-2.20.h", has_target = false)]
333	public delegate void MessageBusForeach (Gedit.MessageType message_type, void* userdata);
334	[CCode (cheader_filename = "gedit-2.20.h", has_target = false)]
335	public delegate void MessageCallback (Gedit.MessageBus bus, Gedit.Message message, void* userdata);
336	[CCode (cheader_filename = "gedit-2.20.h")]
337	public delegate void MessageTypeForeach (string key, GLib.Type type, bool required);
338	[CCode (cheader_filename = "gedit-2.20.h", has_target = false)]
339	public delegate unowned GLib.MountOperation MountOperationFactory (Gedit.Document doc, void* userdata);
340	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
341	public const string BASE_KEY;
342	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
343	public const int GPM_DEFAULT_AUTO_INDENT;
344	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
345	public const int GPM_DEFAULT_AUTO_SAVE;
346	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
347	public const int GPM_DEFAULT_AUTO_SAVE_INTERVAL;
348	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
349	public const int GPM_DEFAULT_BOTTOM_PANEL_VISIBLE;
350	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
351	public const int GPM_DEFAULT_BRACKET_MATCHING;
352	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
353	public const int GPM_DEFAULT_CREATE_BACKUP_COPY;
354	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
355	public const int GPM_DEFAULT_DISPLAY_LINE_NUMBERS;
356	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
357	public const int GPM_DEFAULT_DISPLAY_RIGHT_MARGIN;
358	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
359	public const int GPM_DEFAULT_HIGHLIGHT_CURRENT_LINE;
360	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
361	public const int GPM_DEFAULT_INSERT_SPACES;
362	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
363	public const int GPM_DEFAULT_MAX_RECENTS;
364	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
365	public const int GPM_DEFAULT_PRINT_HEADER;
366	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
367	public const int GPM_DEFAULT_PRINT_LINE_NUMBERS;
368	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
369	public const int GPM_DEFAULT_PRINT_SYNTAX;
370	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
371	public const string GPM_DEFAULT_PRINT_WRAP_MODE;
372	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
373	public const int GPM_DEFAULT_RESTORE_CURSOR_POSITION;
374	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
375	public const int GPM_DEFAULT_RIGHT_MARGIN_POSITION;
376	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
377	public const int GPM_DEFAULT_SEARCH_HIGHLIGHTING_ENABLE;
378	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
379	public const int GPM_DEFAULT_SIDE_PANE_VISIBLE;
380	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
381	public const string GPM_DEFAULT_SMART_HOME_END;
382	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
383	public const string GPM_DEFAULT_SOURCE_STYLE_SCHEME;
384	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
385	public const int GPM_DEFAULT_STATUSBAR_VISIBLE;
386	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
387	public const int GPM_DEFAULT_SYNTAX_HL_ENABLE;
388	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
389	public const int GPM_DEFAULT_TABS_SIZE;
390	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
391	public const string GPM_DEFAULT_TOOLBAR_BUTTONS_STYLE;
392	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
393	public const int GPM_DEFAULT_TOOLBAR_SHOW_TOOLTIPS;
394	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
395	public const int GPM_DEFAULT_TOOLBAR_VISIBLE;
396	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
397	public const int GPM_DEFAULT_UNDO_ACTIONS_LIMIT;
398	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
399	public const int GPM_DEFAULT_USE_DEFAULT_FONT;
400	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
401	public const string GPM_DEFAULT_WRAP_MODE;
402	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
403	public const string GPM_LOCKDOWN_DIR;
404	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
405	public const string GPM_SYSTEM_FONT;
406	[CCode (cheader_filename = "gedit-2.20.h")]
407	public const string METADATA_ATTRIBUTE_ENCODING;
408	[CCode (cheader_filename = "gedit-2.20.h")]
409	public const string METADATA_ATTRIBUTE_LANGUAGE;
410	[CCode (cheader_filename = "gedit-2.20.h")]
411	public const string METADATA_ATTRIBUTE_POSITION;
412	[CCode (cheader_filename = "gedit/gedit-commands.h")]
413	public static void commands_load_uri (Gedit.Window window, string uri, Gedit.Encoding encoding, int line_pos);
414	[CCode (cheader_filename = "gedit/gedit-commands.h")]
415	public static int commands_load_uris (Gedit.Window window, GLib.SList uris, Gedit.Encoding encoding, int line_pos);
416	[CCode (cheader_filename = "gedit/gedit-commands.h")]
417	public static void commands_save_all_documents (Gedit.Window window);
418	[CCode (cheader_filename = "gedit/gedit-commands.h")]
419	public static void commands_save_document (Gedit.Window window, Gedit.Document document);
420	[CCode (cheader_filename = "gedit/gedit-debug.h")]
421	public static void debug (Gedit.DebugSection section, string file, int line, string function);
422	[CCode (cheader_filename = "gedit/gedit-debug.h")]
423	public static void debug_init ();
424	[CCode (cheader_filename = "gedit/gedit-debug.h")]
425	public static void debug_message (Gedit.DebugSection section, string file, int line, string function, string format, ...);
426	[CCode (cheader_filename = "gedit/gedit-utils.h")]
427	public static unowned Gtk.Widget dialog_add_button (Gtk.Dialog dialog, string text, string stock_id, int response_id);
428	[CCode (cheader_filename = "gedit/gedit-utils.h", cname = "g_utf8_caselessnmatch")]
429	public static bool g_utf8_caselessnmatch (string s1, string s2, ssize_t n1, ssize_t n2);
430	[CCode (cheader_filename = "gedit/gedit-utils.h")]
431	public static unowned string gdk_color_to_string (Gdk.Color color);
432	[CCode (cheader_filename = "gedit/gedit-utils.h")]
433	public static unowned Gtk.Widget gtk_button_new_with_stock_icon (string label, string stock_id);
434	[CCode (cheader_filename = "gedit/gedit-help.h")]
435	public static bool help_display (string name, string link_id);
436	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
437	public static bool prefs_manager_active_file_filter_can_set ();
438	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
439	public static bool prefs_manager_active_plugins_can_set ();
440	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
441	public static bool prefs_manager_app_init ();
442	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
443	public static void prefs_manager_app_shutdown ();
444	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
445	public static bool prefs_manager_auto_indent_can_set ();
446	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
447	public static bool prefs_manager_auto_save_can_set ();
448	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
449	public static bool prefs_manager_auto_save_interval_can_set ();
450	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
451	public static bool prefs_manager_bottom_panel_active_page_can_set ();
452	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
453	public static bool prefs_manager_bottom_panel_size_can_set ();
454	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
455	public static bool prefs_manager_bottom_panel_visible_can_set ();
456	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
457	public static bool prefs_manager_bracket_matching_can_set ();
458	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
459	public static bool prefs_manager_create_backup_copy_can_set ();
460	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
461	public static bool prefs_manager_display_line_numbers_can_set ();
462	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
463	public static bool prefs_manager_display_right_margin_can_set ();
464	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
465	public static bool prefs_manager_editor_font_can_set ();
466	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
467	public static bool prefs_manager_enable_search_highlighting_can_set ();
468	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
469	public static bool prefs_manager_enable_syntax_highlighting_can_set ();
470	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
471	public static int prefs_manager_get_active_file_filter ();
472	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
473	public static unowned GLib.SList prefs_manager_get_active_plugins ();
474	[CCode (cheader_filename = "gedit-2.20.h")]
475	public static unowned GLib.SList<Gedit.Encoding> prefs_manager_get_auto_detected_encodings ();
476	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
477	public static bool prefs_manager_get_auto_indent ();
478	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
479	public static bool prefs_manager_get_auto_save ();
480	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
481	public static int prefs_manager_get_auto_save_interval ();
482	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
483	public static int prefs_manager_get_bottom_panel_active_page ();
484	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
485	public static int prefs_manager_get_bottom_panel_size ();
486	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
487	public static bool prefs_manager_get_bottom_panel_visible ();
488	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
489	public static bool prefs_manager_get_bracket_matching ();
490	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
491	public static bool prefs_manager_get_create_backup_copy ();
492	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
493	public static int prefs_manager_get_default_bottom_panel_size ();
494	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
495	public static unowned string prefs_manager_get_default_print_font_body ();
496	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
497	public static unowned string prefs_manager_get_default_print_font_header ();
498	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
499	public static unowned string prefs_manager_get_default_print_font_numbers ();
500	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
501	public static int prefs_manager_get_default_side_panel_size ();
502	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
503	public static void prefs_manager_get_default_window_size (int width, int height);
504	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
505	public static bool prefs_manager_get_display_line_numbers ();
506	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
507	public static bool prefs_manager_get_display_right_margin ();
508	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
509	public static unowned string prefs_manager_get_editor_font ();
510	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
511	public static bool prefs_manager_get_enable_search_highlighting ();
512	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
513	public static bool prefs_manager_get_enable_syntax_highlighting ();
514	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
515	public static bool prefs_manager_get_highlight_current_line ();
516	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
517	public static bool prefs_manager_get_insert_spaces ();
518	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
519	public static Gedit.LockdownMask prefs_manager_get_lockdown ();
520	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
521	public static int prefs_manager_get_max_recents ();
522	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
523	public static unowned string prefs_manager_get_print_font_body ();
524	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
525	public static unowned string prefs_manager_get_print_font_header ();
526	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
527	public static unowned string prefs_manager_get_print_font_numbers ();
528	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
529	public static bool prefs_manager_get_print_header ();
530	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
531	public static int prefs_manager_get_print_line_numbers ();
532	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
533	public static bool prefs_manager_get_print_syntax_hl ();
534	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
535	public static Gtk.WrapMode prefs_manager_get_print_wrap_mode ();
536	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
537	public static bool prefs_manager_get_restore_cursor_position ();
538	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
539	public static int prefs_manager_get_right_margin_position ();
540	[CCode (cheader_filename = "gedit-2.20.h")]
541	public static unowned GLib.SList<Gedit.Encoding> prefs_manager_get_shown_in_menu_encodings ();
542	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
543	public static bool prefs_manager_get_side_pane_visible ();
544	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
545	public static int prefs_manager_get_side_panel_active_page ();
546	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
547	public static int prefs_manager_get_side_panel_size ();
548	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
549	public static Gtk.SourceSmartHomeEndType prefs_manager_get_smart_home_end ();
550	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
551	public static unowned string prefs_manager_get_source_style_scheme ();
552	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
553	public static bool prefs_manager_get_statusbar_visible ();
554	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
555	public static unowned string prefs_manager_get_system_font ();
556	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
557	public static int prefs_manager_get_tabs_size ();
558	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
559	public static Gedit.ToolbarSetting prefs_manager_get_toolbar_buttons_style ();
560	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
561	public static bool prefs_manager_get_toolbar_visible ();
562	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
563	public static int prefs_manager_get_undo_actions_limit ();
564	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
565	public static bool prefs_manager_get_use_default_font ();
566	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
567	public static void prefs_manager_get_window_size (int width, int height);
568	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
569	public static int prefs_manager_get_window_state ();
570	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
571	public static Gtk.WrapMode prefs_manager_get_wrap_mode ();
572	[CCode (cheader_filename = "gedit-2.20.h")]
573	public static unowned GLib.SList<string> prefs_manager_get_writable_vfs_schemes ();
574	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
575	public static bool prefs_manager_highlight_current_line_can_set ();
576	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
577	public static bool prefs_manager_init ();
578	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
579	public static bool prefs_manager_insert_spaces_can_set ();
580	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
581	public static bool prefs_manager_print_font_body_can_set ();
582	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
583	public static bool prefs_manager_print_font_header_can_set ();
584	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
585	public static bool prefs_manager_print_font_numbers_can_set ();
586	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
587	public static bool prefs_manager_print_header_can_set ();
588	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
589	public static bool prefs_manager_print_line_numbers_can_set ();
590	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
591	public static bool prefs_manager_print_syntax_hl_can_set ();
592	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
593	public static bool prefs_manager_print_wrap_mode_can_set ();
594	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
595	public static bool prefs_manager_right_margin_position_can_set ();
596	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
597	public static void prefs_manager_set_active_file_filter (int id);
598	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
599	public static void prefs_manager_set_active_plugins (GLib.SList plugins);
600	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
601	public static void prefs_manager_set_auto_indent (bool ai);
602	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
603	public static void prefs_manager_set_auto_save (bool @as);
604	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
605	public static void prefs_manager_set_auto_save_interval (int asi);
606	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
607	public static void prefs_manager_set_bottom_panel_active_page (int id);
608	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
609	public static void prefs_manager_set_bottom_panel_size (int ps);
610	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
611	public static void prefs_manager_set_bottom_panel_visible (bool tv);
612	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
613	public static void prefs_manager_set_bracket_matching (bool bm);
614	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
615	public static void prefs_manager_set_create_backup_copy (bool cbc);
616	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
617	public static void prefs_manager_set_display_line_numbers (bool dln);
618	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
619	public static void prefs_manager_set_display_right_margin (bool drm);
620	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
621	public static void prefs_manager_set_editor_font (string font);
622	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
623	public static void prefs_manager_set_enable_search_highlighting (bool esh);
624	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
625	public static void prefs_manager_set_enable_syntax_highlighting (bool esh);
626	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
627	public static void prefs_manager_set_highlight_current_line (bool hl);
628	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
629	public static void prefs_manager_set_insert_spaces (bool ai);
630	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
631	public static void prefs_manager_set_print_font_body (string font);
632	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
633	public static void prefs_manager_set_print_font_header (string font);
634	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
635	public static void prefs_manager_set_print_font_numbers (string font);
636	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
637	public static void prefs_manager_set_print_header (bool ph);
638	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
639	public static void prefs_manager_set_print_line_numbers (int pln);
640	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
641	public static void prefs_manager_set_print_syntax_hl (bool ps);
642	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
643	public static void prefs_manager_set_print_wrap_mode (Gtk.WrapMode pwm);
644	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
645	public static void prefs_manager_set_right_margin_position (int rmp);
646	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
647	public static void prefs_manager_set_shown_in_menu_encodings (GLib.SList<Gedit.Encoding> encs);
648	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
649	public static void prefs_manager_set_side_pane_visible (bool tv);
650	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
651	public static void prefs_manager_set_side_panel_active_page (int id);
652	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
653	public static void prefs_manager_set_side_panel_size (int ps);
654	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
655	public static void prefs_manager_set_smart_home_end (Gtk.SourceSmartHomeEndType smart_he);
656	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
657	public static void prefs_manager_set_source_style_scheme (string scheme);
658	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
659	public static void prefs_manager_set_statusbar_visible (bool sv);
660	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
661	public static void prefs_manager_set_tabs_size (int ts);
662	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
663	public static void prefs_manager_set_toolbar_buttons_style (Gedit.ToolbarSetting tbs);
664	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
665	public static void prefs_manager_set_toolbar_visible (bool tv);
666	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
667	public static void prefs_manager_set_undo_actions_limit (int ual);
668	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
669	public static void prefs_manager_set_use_default_font (bool udf);
670	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
671	public static void prefs_manager_set_window_size (int width, int height);
672	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
673	public static void prefs_manager_set_window_state (int ws);
674	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
675	public static void prefs_manager_set_wrap_mode (Gtk.WrapMode wp);
676	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
677	public static bool prefs_manager_shown_in_menu_encodings_can_set ();
678	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
679	public static void prefs_manager_shutdown ();
680	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
681	public static bool prefs_manager_side_pane_visible_can_set ();
682	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
683	public static bool prefs_manager_side_panel_active_page_can_set ();
684	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
685	public static bool prefs_manager_side_panel_size_can_set ();
686	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
687	public static bool prefs_manager_smart_home_end_can_set ();
688	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
689	public static bool prefs_manager_source_style_scheme_can_set ();
690	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
691	public static bool prefs_manager_statusbar_visible_can_set ();
692	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
693	public static bool prefs_manager_tabs_size_can_set ();
694	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
695	public static bool prefs_manager_toolbar_buttons_style_can_set ();
696	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
697	public static bool prefs_manager_toolbar_visible_can_set ();
698	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
699	public static bool prefs_manager_undo_actions_limit_can_set ();
700	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
701	public static bool prefs_manager_use_default_font_can_set ();
702	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
703	public static bool prefs_manager_window_size_can_set ();
704	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
705	public static bool prefs_manager_window_state_can_set ();
706	[CCode (cheader_filename = "gedit/gedit-prefs-manager.h")]
707	public static bool prefs_manager_wrap_mode_can_set ();
708	[CCode (cheader_filename = "gedit/gedit-utils.h")]
709	public static void utils_activate_url (Gtk.AboutDialog about, string url, void* data);
710	[CCode (cheader_filename = "gedit/gedit-utils.h")]
711	public static unowned string utils_basename_for_display (string uri);
712	[CCode (cheader_filename = "gedit/gedit-utils.h")]
713	public static bool utils_decode_uri (string uri, string scheme, string user, string port, string host, string path);
714	[CCode (cheader_filename = "gedit/gedit-utils.h")]
715	public static unowned string utils_drop_get_uris (Gtk.SelectionData selection_data);
716	[CCode (cheader_filename = "gedit/gedit-utils.h")]
717	public static unowned string utils_escape_search_text (string text);
718	[CCode (cheader_filename = "gedit/gedit-utils.h")]
719	public static unowned string utils_escape_underscores (string text, ssize_t length);
720	[CCode (cheader_filename = "gedit/gedit-utils.h")]
721	public static bool utils_file_has_parent (GLib.File gfile);
722	[CCode (cheader_filename = "gedit/gedit-utils.h")]
723	public static void utils_get_current_viewport (Gdk.Screen screen, int x, int y);
724	[CCode (cheader_filename = "gedit/gedit-utils.h")]
725	public static uint utils_get_current_workspace (Gdk.Screen screen);
726	[CCode (cheader_filename = "gedit/gedit-utils.h")]
727	public static bool utils_get_ui_objects (string filename, string root_objects, out unowned Gtk.Widget error_widget, string object_name);
728	[CCode (cheader_filename = "gedit/gedit-utils.h")]
729	public static uint utils_get_window_workspace (Gtk.Window gtkwindow);
730	[CCode (cheader_filename = "gedit/gedit-utils.h")]
731	public static bool utils_is_valid_uri (string uri);
732	[CCode (cheader_filename = "gedit/gedit-utils.h")]
733	public static unowned string utils_location_get_dirname_for_display (GLib.File location);
734	[CCode (cheader_filename = "gedit/gedit-utils.h")]
735	public static unowned string utils_make_canonical_uri_from_shell_arg (string str);
736	[CCode (cheader_filename = "gedit/gedit-utils.h")]
737	public static unowned string utils_make_valid_utf8 (string name);
738	[CCode (cheader_filename = "gedit/gedit-utils.h")]
739	public static void utils_menu_position_under_tree_view (Gtk.Menu menu, int x, int y, bool push_in);
740	[CCode (cheader_filename = "gedit/gedit-utils.h")]
741	public static void utils_menu_position_under_widget (Gtk.Menu menu, int x, int y, bool push_in);
742	[CCode (cheader_filename = "gedit/gedit-utils.h")]
743	public static unowned string utils_replace_home_dir_with_tilde (string uri);
744	[CCode (cheader_filename = "gedit/gedit-utils.h")]
745	public static void utils_set_atk_name_description (Gtk.Widget widget, string name, string description);
746	[CCode (cheader_filename = "gedit/gedit-utils.h")]
747	public static void utils_set_atk_relation (Gtk.Widget obj1, Gtk.Widget obj2, Atk.RelationType rel_type);
748	[CCode (cheader_filename = "gedit/gedit-utils.h")]
749	public static unowned string utils_str_end_truncate (string str, uint truncate_length);
750	[CCode (cheader_filename = "gedit/gedit-utils.h")]
751	public static unowned string utils_str_middle_truncate (string str, uint truncate_length);
752	[CCode (cheader_filename = "gedit/gedit-utils.h")]
753	public static unowned string utils_unescape_search_text (string text);
754	[CCode (cheader_filename = "gedit/gedit-utils.h")]
755	public static bool utils_uri_exists (string text_uri);
756	[CCode (cheader_filename = "gedit/gedit-utils.h")]
757	public static unowned string utils_uri_for_display (string uri);
758	[CCode (cheader_filename = "gedit/gedit-utils.h")]
759	public static unowned string utils_uri_get_dirname (string uri);
760	[CCode (cheader_filename = "gedit/gedit-utils.h")]
761	public static bool utils_uri_has_file_scheme (string uri);
762	[CCode (cheader_filename = "gedit/gedit-utils.h")]
763	public static bool utils_uri_has_writable_scheme (string uri);
764	[CCode (cheader_filename = "gedit/gedit-debug.h")]
765	public static void warning (string format, ...);
766}
767