gtksourceview3 3.2.5-x86-mingw32 → 3.2.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1310 @@
1
+ /* gtksourceview-3.0.vapi generated by vapigen-0.40, do not modify. */
2
+
3
+ [CCode (cprefix = "Gtk", gir_namespace = "GtkSource", gir_version = "3.0", lower_case_cprefix = "gtk_")]
4
+ namespace Gtk {
5
+ namespace SourceUtils {
6
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
7
+ [Version (since = "3.10")]
8
+ public static string escape_search_text (string text);
9
+ [CCode (cheader_filename = "gtksourceview/gtksource.h")]
10
+ [Version (since = "3.10")]
11
+ public static string unescape_search_text (string text);
12
+ }
13
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_buffer_get_type ()")]
14
+ [GIR (name = "Buffer")]
15
+ public class SourceBuffer : Gtk.TextBuffer {
16
+ [CCode (has_construct_function = false)]
17
+ public SourceBuffer (Gtk.TextTagTable? table);
18
+ [Version (since = "2.2")]
19
+ public bool backward_iter_to_source_mark (Gtk.TextIter iter, string? category);
20
+ public void begin_not_undoable_action ();
21
+ [Version (since = "3.12")]
22
+ public void change_case (Gtk.SourceChangeCaseType case_type, Gtk.TextIter start, Gtk.TextIter end);
23
+ [Version (since = "2.2")]
24
+ public unowned Gtk.SourceMark create_source_mark (string? name, string category, Gtk.TextIter where);
25
+ public void end_not_undoable_action ();
26
+ public void ensure_highlight (Gtk.TextIter start, Gtk.TextIter end);
27
+ [Version (since = "2.2")]
28
+ public bool forward_iter_to_source_mark (Gtk.TextIter iter, string? category);
29
+ [CCode (array_length = false, array_null_terminated = true)]
30
+ [Version (since = "2.10")]
31
+ public string[] get_context_classes_at_iter (Gtk.TextIter iter);
32
+ public bool get_highlight_matching_brackets ();
33
+ public bool get_highlight_syntax ();
34
+ [Version (since = "3.14")]
35
+ public bool get_implicit_trailing_newline ();
36
+ public unowned Gtk.SourceLanguage? get_language ();
37
+ public int get_max_undo_levels ();
38
+ [Version (since = "2.2")]
39
+ public GLib.SList<weak Gtk.SourceMark> get_source_marks_at_iter (Gtk.TextIter iter, string? category);
40
+ [Version (since = "2.2")]
41
+ public GLib.SList<weak Gtk.SourceMark> get_source_marks_at_line (int line, string? category);
42
+ public unowned Gtk.SourceStyleScheme? get_style_scheme ();
43
+ public unowned Gtk.SourceUndoManager? get_undo_manager ();
44
+ [Version (since = "2.10")]
45
+ public bool iter_backward_to_context_class_toggle (Gtk.TextIter iter, string context_class);
46
+ [Version (since = "2.10")]
47
+ public bool iter_forward_to_context_class_toggle (Gtk.TextIter iter, string context_class);
48
+ [Version (since = "2.10")]
49
+ public bool iter_has_context_class (Gtk.TextIter iter, string context_class);
50
+ [Version (since = "3.16")]
51
+ public void join_lines (Gtk.TextIter start, Gtk.TextIter end);
52
+ [Version (since = "2.2")]
53
+ public void remove_source_marks (Gtk.TextIter start, Gtk.TextIter end, string? category);
54
+ public void set_highlight_matching_brackets (bool highlight);
55
+ public void set_highlight_syntax (bool highlight);
56
+ [Version (since = "3.14")]
57
+ public void set_implicit_trailing_newline (bool implicit_trailing_newline);
58
+ public void set_language (Gtk.SourceLanguage? language);
59
+ public void set_max_undo_levels (int max_undo_levels);
60
+ public void set_style_scheme (Gtk.SourceStyleScheme? scheme);
61
+ public void set_undo_manager (Gtk.SourceUndoManager? manager);
62
+ [Version (since = "3.18")]
63
+ public void sort_lines (Gtk.TextIter start, Gtk.TextIter end, Gtk.SourceSortFlags flags, int column);
64
+ [CCode (has_construct_function = false)]
65
+ public SourceBuffer.with_language (Gtk.SourceLanguage language);
66
+ [NoAccessorMethod]
67
+ public bool can_redo { get; }
68
+ [NoAccessorMethod]
69
+ public bool can_undo { get; }
70
+ public bool highlight_matching_brackets { get; set; }
71
+ public bool highlight_syntax { get; set; }
72
+ [Version (since = "3.14")]
73
+ public bool implicit_trailing_newline { get; set construct; }
74
+ public Gtk.SourceLanguage language { get; set; }
75
+ public int max_undo_levels { get; set; }
76
+ public Gtk.SourceStyleScheme style_scheme { get; set; }
77
+ public Gtk.SourceUndoManager undo_manager { get; set construct; }
78
+ [Version (since = "2.12")]
79
+ public virtual signal void bracket_matched (Gtk.TextIter iter, Gtk.SourceBracketMatchType state);
80
+ public signal void highlight_updated (Gtk.TextIter start, Gtk.TextIter end);
81
+ [HasEmitter]
82
+ public virtual signal void redo ();
83
+ public signal void source_mark_updated (Gtk.TextMark mark);
84
+ [HasEmitter]
85
+ public virtual signal void undo ();
86
+ }
87
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_get_type ()")]
88
+ [GIR (name = "Completion")]
89
+ public class SourceCompletion : GLib.Object, Gtk.Buildable {
90
+ [CCode (has_construct_function = false)]
91
+ protected SourceCompletion ();
92
+ public bool add_provider (Gtk.SourceCompletionProvider provider) throws GLib.Error;
93
+ public void block_interactive ();
94
+ public unowned Gtk.SourceCompletionContext create_context (Gtk.TextIter? position);
95
+ public unowned Gtk.SourceCompletionInfo get_info_window ();
96
+ public unowned GLib.List<Gtk.SourceCompletionProvider> get_providers ();
97
+ public unowned Gtk.SourceView? get_view ();
98
+ [Version (deprecated = true, deprecated_since = "3.8")]
99
+ public void move_window (Gtk.TextIter iter);
100
+ [NoWrapper]
101
+ public virtual bool proposal_activated (Gtk.SourceCompletionProvider provider, Gtk.SourceCompletionProposal proposal);
102
+ public bool remove_provider (Gtk.SourceCompletionProvider provider) throws GLib.Error;
103
+ [CCode (cname = "gtk_source_completion_show")]
104
+ public bool start (GLib.List<Gtk.SourceCompletionProvider>? providers, Gtk.SourceCompletionContext context);
105
+ public void unblock_interactive ();
106
+ [NoAccessorMethod]
107
+ public uint accelerators { get; set construct; }
108
+ [NoAccessorMethod]
109
+ public uint auto_complete_delay { get; set construct; }
110
+ [NoAccessorMethod]
111
+ public uint proposal_page_size { get; set construct; }
112
+ [NoAccessorMethod]
113
+ public uint provider_page_size { get; set construct; }
114
+ [NoAccessorMethod]
115
+ public bool remember_info_visibility { get; set construct; }
116
+ [NoAccessorMethod]
117
+ public bool select_on_show { get; set construct; }
118
+ [NoAccessorMethod]
119
+ public bool show_headers { get; set construct; }
120
+ [NoAccessorMethod]
121
+ public bool show_icons { get; set construct; }
122
+ public Gtk.SourceView view { get; construct; }
123
+ public virtual signal void activate_proposal ();
124
+ [HasEmitter]
125
+ public virtual signal void hide ();
126
+ public virtual signal void move_cursor (Gtk.ScrollStep step, int num);
127
+ public virtual signal void move_page (Gtk.ScrollStep step, int num);
128
+ public virtual signal void populate_context (Gtk.SourceCompletionContext context);
129
+ public virtual signal void show ();
130
+ }
131
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_context_get_type ()")]
132
+ [GIR (name = "CompletionContext")]
133
+ public class SourceCompletionContext : GLib.InitiallyUnowned {
134
+ [CCode (has_construct_function = false)]
135
+ protected SourceCompletionContext ();
136
+ public void add_proposals (Gtk.SourceCompletionProvider provider, GLib.List<Gtk.SourceCompletionProposal>? proposals, bool finished);
137
+ public Gtk.SourceCompletionActivation get_activation ();
138
+ public bool get_iter (out Gtk.TextIter iter);
139
+ [NoAccessorMethod]
140
+ public Gtk.SourceCompletionActivation activation { get; set construct; }
141
+ [NoAccessorMethod]
142
+ public Gtk.SourceCompletion completion { owned get; construct; }
143
+ [NoAccessorMethod]
144
+ public Gtk.TextIter iter { get; set; }
145
+ public virtual signal void cancelled ();
146
+ }
147
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_info_get_type ()")]
148
+ [GIR (name = "CompletionInfo")]
149
+ public class SourceCompletionInfo : Gtk.Window, Atk.Implementor, Gtk.Buildable {
150
+ [CCode (has_construct_function = false)]
151
+ public SourceCompletionInfo ();
152
+ [Version (deprecated = true, deprecated_since = "3.8")]
153
+ public unowned Gtk.Widget get_widget ();
154
+ public void move_to_iter (Gtk.TextView view, Gtk.TextIter? iter);
155
+ [Version (deprecated = true, deprecated_since = "3.8")]
156
+ public void set_widget (Gtk.Widget? widget);
157
+ [Version (deprecated = true, deprecated_since = "3.10")]
158
+ public virtual signal void before_show ();
159
+ }
160
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_item_get_type ()")]
161
+ [GIR (name = "CompletionItem")]
162
+ public class SourceCompletionItem : GLib.Object, Gtk.SourceCompletionProposal {
163
+ [CCode (has_construct_function = false)]
164
+ [Version (deprecated = true, deprecated_since = "3.24")]
165
+ public SourceCompletionItem (string label, string text, Gdk.Pixbuf? icon, string? info);
166
+ [CCode (has_construct_function = false)]
167
+ [Version (deprecated = true, deprecated_since = "3.10")]
168
+ public SourceCompletionItem.from_stock (string? label, string text, string stock, string? info);
169
+ [Version (since = "3.24")]
170
+ public static Gtk.SourceCompletionItem new2 ();
171
+ [Version (since = "3.24")]
172
+ public void set_gicon (GLib.Icon? gicon);
173
+ [Version (since = "3.24")]
174
+ public void set_icon (Gdk.Pixbuf? icon);
175
+ [Version (since = "3.24")]
176
+ public void set_icon_name (string? icon_name);
177
+ [Version (since = "3.24")]
178
+ public void set_info (string? info);
179
+ [Version (since = "3.24")]
180
+ public void set_label (string? label);
181
+ [Version (since = "3.24")]
182
+ public void set_markup (string? markup);
183
+ [Version (since = "3.24")]
184
+ public void set_text (string? text);
185
+ [CCode (has_construct_function = false)]
186
+ [Version (deprecated = true, deprecated_since = "3.24")]
187
+ public SourceCompletionItem.with_markup (string markup, string text, Gdk.Pixbuf? icon, string? info);
188
+ [NoAccessorMethod]
189
+ [Version (since = "3.18")]
190
+ public GLib.Icon gicon { owned get; set; }
191
+ [NoAccessorMethod]
192
+ public Gdk.Pixbuf icon { owned get; set; }
193
+ [NoAccessorMethod]
194
+ [Version (since = "3.18")]
195
+ public string icon_name { owned get; set; }
196
+ [NoAccessorMethod]
197
+ public string info { owned get; set; }
198
+ [NoAccessorMethod]
199
+ public string label { owned get; set; }
200
+ [NoAccessorMethod]
201
+ public string markup { owned get; set; }
202
+ [NoAccessorMethod]
203
+ public string text { owned get; set; }
204
+ }
205
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_words_get_type ()")]
206
+ [GIR (name = "CompletionWords")]
207
+ public class SourceCompletionWords : GLib.Object, Gtk.SourceCompletionProvider {
208
+ [CCode (has_construct_function = false)]
209
+ public SourceCompletionWords (string? name, Gdk.Pixbuf? icon);
210
+ public void register (Gtk.TextBuffer buffer);
211
+ public void unregister (Gtk.TextBuffer buffer);
212
+ [NoAccessorMethod]
213
+ [Version (since = "3.10")]
214
+ public Gtk.SourceCompletionActivation activation { get; set construct; }
215
+ [NoAccessorMethod]
216
+ public Gdk.Pixbuf icon { owned get; set construct; }
217
+ [NoAccessorMethod]
218
+ public int interactive_delay { get; set construct; }
219
+ [NoAccessorMethod]
220
+ public uint minimum_word_size { get; set construct; }
221
+ [NoAccessorMethod]
222
+ public string name { owned get; set construct; }
223
+ [NoAccessorMethod]
224
+ public int priority { get; set construct; }
225
+ [NoAccessorMethod]
226
+ public uint proposals_batch_size { get; set construct; }
227
+ [NoAccessorMethod]
228
+ public uint scan_batch_size { get; set construct; }
229
+ }
230
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_source_encoding_get_type ()")]
231
+ [Compact]
232
+ [GIR (name = "Encoding")]
233
+ public class SourceEncoding {
234
+ [Version (since = "3.14")]
235
+ public Gtk.SourceEncoding copy ();
236
+ [CCode (cname = "gtk_source_encoding_get_all")]
237
+ [Version (since = "3.14")]
238
+ public static GLib.SList<weak Gtk.SourceEncoding> et_all ();
239
+ [CCode (cname = "gtk_source_encoding_get_current")]
240
+ [Version (since = "3.14")]
241
+ public static unowned Gtk.SourceEncoding et_current ();
242
+ [CCode (cname = "gtk_source_encoding_get_default_candidates")]
243
+ [Version (since = "3.18")]
244
+ public static GLib.SList<weak Gtk.SourceEncoding> et_default_candidates ();
245
+ [CCode (cname = "gtk_source_encoding_get_from_charset")]
246
+ [Version (since = "3.14")]
247
+ public static unowned Gtk.SourceEncoding? et_from_charset (string charset);
248
+ [CCode (cname = "gtk_source_encoding_get_utf8")]
249
+ [Version (since = "3.14")]
250
+ public static unowned Gtk.SourceEncoding et_utf8 ();
251
+ [Version (since = "3.14")]
252
+ public void free ();
253
+ [Version (since = "3.14")]
254
+ public unowned string get_charset ();
255
+ [Version (since = "3.14")]
256
+ public unowned string get_name ();
257
+ [Version (since = "3.14")]
258
+ public string to_string ();
259
+ }
260
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_get_type ()")]
261
+ [GIR (name = "File")]
262
+ public class SourceFile : GLib.Object {
263
+ [CCode (has_construct_function = false)]
264
+ [Version (since = "3.14")]
265
+ public SourceFile ();
266
+ [Version (since = "3.18")]
267
+ public void check_file_on_disk ();
268
+ [Version (since = "3.14")]
269
+ public Gtk.SourceCompressionType get_compression_type ();
270
+ [Version (since = "3.14")]
271
+ public unowned Gtk.SourceEncoding get_encoding ();
272
+ [Version (since = "3.14")]
273
+ public unowned GLib.File get_location ();
274
+ [Version (since = "3.14")]
275
+ public Gtk.SourceNewlineType get_newline_type ();
276
+ [Version (since = "3.18")]
277
+ public bool is_deleted ();
278
+ [Version (since = "3.18")]
279
+ public bool is_externally_modified ();
280
+ [Version (since = "3.18")]
281
+ public bool is_local ();
282
+ [Version (since = "3.18")]
283
+ public bool is_readonly ();
284
+ [Version (since = "3.14")]
285
+ public void set_location (GLib.File? location);
286
+ [Version (since = "3.14")]
287
+ public Gtk.SourceCompressionType compression_type { get; }
288
+ [Version (since = "3.14")]
289
+ public Gtk.SourceEncoding encoding { get; }
290
+ [Version (since = "3.14")]
291
+ public GLib.File location { get; set construct; }
292
+ [Version (since = "3.14")]
293
+ public Gtk.SourceNewlineType newline_type { get; }
294
+ [NoAccessorMethod]
295
+ [Version (since = "3.18")]
296
+ public bool read_only { get; }
297
+ }
298
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_loader_get_type ()")]
299
+ [GIR (name = "FileLoader")]
300
+ public class SourceFileLoader : GLib.Object {
301
+ [CCode (has_construct_function = false)]
302
+ [Version (since = "3.14")]
303
+ public SourceFileLoader (Gtk.SourceBuffer buffer, Gtk.SourceFile file);
304
+ [CCode (has_construct_function = false)]
305
+ [Version (since = "3.14")]
306
+ public SourceFileLoader.from_stream (Gtk.SourceBuffer buffer, Gtk.SourceFile file, GLib.InputStream stream);
307
+ [Version (since = "3.14")]
308
+ public unowned Gtk.SourceBuffer get_buffer ();
309
+ [Version (since = "3.14")]
310
+ public Gtk.SourceCompressionType get_compression_type ();
311
+ [Version (since = "3.14")]
312
+ public unowned Gtk.SourceEncoding get_encoding ();
313
+ [Version (since = "3.14")]
314
+ public unowned Gtk.SourceFile get_file ();
315
+ [Version (since = "3.14")]
316
+ public unowned GLib.InputStream? get_input_stream ();
317
+ [Version (since = "3.14")]
318
+ public unowned GLib.File? get_location ();
319
+ [Version (since = "3.14")]
320
+ public Gtk.SourceNewlineType get_newline_type ();
321
+ [Version (since = "3.14")]
322
+ public async bool load_async (int io_priority, GLib.Cancellable? cancellable, owned GLib.FileProgressCallback? progress_callback) throws GLib.Error;
323
+ [Version (since = "3.14")]
324
+ public void set_candidate_encodings (GLib.SList<Gtk.SourceEncoding> candidate_encodings);
325
+ [Version (since = "3.14")]
326
+ public Gtk.SourceBuffer buffer { get; construct; }
327
+ [Version (since = "3.14")]
328
+ public Gtk.SourceFile file { get; construct; }
329
+ [Version (since = "3.14")]
330
+ public GLib.InputStream input_stream { get; construct; }
331
+ [Version (since = "3.14")]
332
+ public GLib.File location { get; construct; }
333
+ }
334
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_saver_get_type ()")]
335
+ [GIR (name = "FileSaver")]
336
+ public class SourceFileSaver : GLib.Object {
337
+ [CCode (has_construct_function = false)]
338
+ [Version (since = "3.14")]
339
+ public SourceFileSaver (Gtk.SourceBuffer buffer, Gtk.SourceFile file);
340
+ [Version (since = "3.14")]
341
+ public unowned Gtk.SourceBuffer get_buffer ();
342
+ [Version (since = "3.14")]
343
+ public Gtk.SourceCompressionType get_compression_type ();
344
+ [Version (since = "3.14")]
345
+ public unowned Gtk.SourceEncoding get_encoding ();
346
+ [Version (since = "3.14")]
347
+ public unowned Gtk.SourceFile get_file ();
348
+ [Version (since = "3.14")]
349
+ public Gtk.SourceFileSaverFlags get_flags ();
350
+ [Version (since = "3.14")]
351
+ public unowned GLib.File get_location ();
352
+ [Version (since = "3.14")]
353
+ public Gtk.SourceNewlineType get_newline_type ();
354
+ [Version (since = "3.14")]
355
+ public async bool save_async (int io_priority, GLib.Cancellable? cancellable, owned GLib.FileProgressCallback? progress_callback) throws GLib.Error;
356
+ [Version (since = "3.14")]
357
+ public void set_compression_type (Gtk.SourceCompressionType compression_type);
358
+ [Version (since = "3.14")]
359
+ public void set_encoding (Gtk.SourceEncoding? encoding);
360
+ [Version (since = "3.14")]
361
+ public void set_flags (Gtk.SourceFileSaverFlags flags);
362
+ [Version (since = "3.14")]
363
+ public void set_newline_type (Gtk.SourceNewlineType newline_type);
364
+ [CCode (has_construct_function = false)]
365
+ [Version (since = "3.14")]
366
+ public SourceFileSaver.with_target (Gtk.SourceBuffer buffer, Gtk.SourceFile file, GLib.File target_location);
367
+ [Version (since = "3.14")]
368
+ public Gtk.SourceBuffer buffer { get; construct; }
369
+ [Version (since = "3.14")]
370
+ public Gtk.SourceCompressionType compression_type { get; set construct; }
371
+ [Version (since = "3.14")]
372
+ public Gtk.SourceEncoding encoding { get; set construct; }
373
+ [Version (since = "3.14")]
374
+ public Gtk.SourceFile file { get; construct; }
375
+ [Version (since = "3.14")]
376
+ public Gtk.SourceFileSaverFlags flags { get; set construct; }
377
+ [Version (since = "3.14")]
378
+ public GLib.File location { get; construct; }
379
+ [Version (since = "3.14")]
380
+ public Gtk.SourceNewlineType newline_type { get; set construct; }
381
+ }
382
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_get_type ()")]
383
+ [GIR (name = "Gutter")]
384
+ public class SourceGutter : GLib.Object {
385
+ [CCode (has_construct_function = false)]
386
+ protected SourceGutter ();
387
+ [Version (deprecated = true, deprecated_since = "3.12")]
388
+ public void get_padding (int xpad, int ypad);
389
+ public unowned Gtk.SourceGutterRenderer? get_renderer_at_pos (int x, int y);
390
+ [Version (since = "3.24")]
391
+ public unowned Gtk.SourceView get_view ();
392
+ [Version (deprecated = true, deprecated_since = "3.12", since = "2.8")]
393
+ public unowned Gdk.Window get_window ();
394
+ [Version (since = "3.24")]
395
+ public Gtk.TextWindowType get_window_type ();
396
+ [Version (since = "3.0")]
397
+ public bool insert (Gtk.SourceGutterRenderer renderer, int position);
398
+ [Version (since = "2.8")]
399
+ public void queue_draw ();
400
+ [Version (since = "2.8")]
401
+ public void remove (Gtk.SourceGutterRenderer renderer);
402
+ [Version (since = "2.8")]
403
+ public void reorder (Gtk.SourceGutterRenderer renderer, int position);
404
+ [Version (deprecated = true, deprecated_since = "3.12")]
405
+ public void set_padding (int xpad, int ypad);
406
+ public Gtk.SourceView view { get; construct; }
407
+ public Gtk.TextWindowType window_type { get; construct; }
408
+ [NoAccessorMethod]
409
+ [Version (deprecated = true, deprecated_since = "3.12")]
410
+ public int xpad { get; set construct; }
411
+ [NoAccessorMethod]
412
+ [Version (deprecated = true, deprecated_since = "3.12")]
413
+ public int ypad { get; set construct; }
414
+ }
415
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_get_type ()")]
416
+ [GIR (name = "GutterRenderer")]
417
+ public abstract class SourceGutterRenderer : GLib.InitiallyUnowned {
418
+ [CCode (has_construct_function = false)]
419
+ protected SourceGutterRenderer ();
420
+ public virtual void begin (Cairo.Context cr, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.TextIter start, Gtk.TextIter end);
421
+ [NoWrapper]
422
+ public virtual void change_buffer (Gtk.TextBuffer? old_buffer);
423
+ [NoWrapper]
424
+ public virtual void change_view (Gtk.TextView? old_view);
425
+ public virtual void draw (Cairo.Context cr, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.TextIter start, Gtk.TextIter end, Gtk.SourceGutterRendererState state);
426
+ public virtual void end ();
427
+ public void get_alignment (out float xalign, out float yalign);
428
+ public Gtk.SourceGutterRendererAlignmentMode get_alignment_mode ();
429
+ public bool get_background (out Gdk.RGBA color);
430
+ public void get_padding (out int xpad, out int ypad);
431
+ public int get_size ();
432
+ public unowned Gtk.TextView get_view ();
433
+ public bool get_visible ();
434
+ public Gtk.TextWindowType get_window_type ();
435
+ public void set_alignment (float xalign, float yalign);
436
+ public void set_alignment_mode (Gtk.SourceGutterRendererAlignmentMode mode);
437
+ public void set_background (Gdk.RGBA? color);
438
+ public void set_padding (int xpad, int ypad);
439
+ public void set_size (int size);
440
+ public void set_visible (bool visible);
441
+ public Gtk.SourceGutterRendererAlignmentMode alignment_mode { get; set construct; }
442
+ [NoAccessorMethod]
443
+ public Gdk.RGBA background_rgba { get; set; }
444
+ [NoAccessorMethod]
445
+ public bool background_set { get; set construct; }
446
+ public int size { get; set construct; }
447
+ public Gtk.TextView view { get; }
448
+ public bool visible { get; set construct; }
449
+ public Gtk.TextWindowType window_type { get; }
450
+ [NoAccessorMethod]
451
+ public float xalign { get; set construct; }
452
+ [NoAccessorMethod]
453
+ public int xpad { get; set construct; }
454
+ [NoAccessorMethod]
455
+ public float yalign { get; set construct; }
456
+ [NoAccessorMethod]
457
+ public int ypad { get; set construct; }
458
+ [HasEmitter]
459
+ public virtual signal void activate (Gtk.TextIter iter, Gdk.Rectangle area, Gdk.Event event);
460
+ [HasEmitter]
461
+ public virtual signal bool query_activatable (Gtk.TextIter iter, Gdk.Rectangle area, Gdk.Event event);
462
+ [HasEmitter]
463
+ public virtual signal void query_data (Gtk.TextIter start, Gtk.TextIter end, Gtk.SourceGutterRendererState state);
464
+ [HasEmitter]
465
+ public virtual signal bool query_tooltip (Gtk.TextIter iter, Gdk.Rectangle area, int x, int y, Gtk.Tooltip tooltip);
466
+ [HasEmitter]
467
+ public virtual signal void queue_draw ();
468
+ }
469
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_pixbuf_get_type ()")]
470
+ [GIR (name = "GutterRendererPixbuf")]
471
+ public class SourceGutterRendererPixbuf : Gtk.SourceGutterRenderer {
472
+ [CCode (has_construct_function = false, type = "GtkSourceGutterRenderer*")]
473
+ public SourceGutterRendererPixbuf ();
474
+ public unowned GLib.Icon get_gicon ();
475
+ public unowned string get_icon_name ();
476
+ public unowned Gdk.Pixbuf get_pixbuf ();
477
+ [Version (deprecated = true, deprecated_since = "3.10")]
478
+ public unowned string get_stock_id ();
479
+ public void set_gicon (GLib.Icon? icon);
480
+ public void set_icon_name (string? icon_name);
481
+ public void set_pixbuf (Gdk.Pixbuf? pixbuf);
482
+ [Version (deprecated = true, deprecated_since = "3.10")]
483
+ public void set_stock_id (string? stock_id);
484
+ public GLib.Icon gicon { get; set; }
485
+ public string icon_name { get; set; }
486
+ public Gdk.Pixbuf pixbuf { get; set; }
487
+ [Version (deprecated = true, deprecated_since = "3.10")]
488
+ public string stock_id { get; set; }
489
+ }
490
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_text_get_type ()")]
491
+ [GIR (name = "GutterRendererText")]
492
+ public class SourceGutterRendererText : Gtk.SourceGutterRenderer {
493
+ [CCode (has_construct_function = false, type = "GtkSourceGutterRenderer*")]
494
+ public SourceGutterRendererText ();
495
+ public void measure (string text, out int width, out int height);
496
+ public void measure_markup (string markup, out int width, out int height);
497
+ public void set_markup (string markup, int length);
498
+ public void set_text (string text, int length);
499
+ [NoAccessorMethod]
500
+ public string markup { owned get; set construct; }
501
+ [NoAccessorMethod]
502
+ public string text { owned get; set construct; }
503
+ }
504
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_language_get_type ()")]
505
+ [GIR (name = "Language")]
506
+ public class SourceLanguage : GLib.Object {
507
+ [CCode (has_construct_function = false)]
508
+ protected SourceLanguage ();
509
+ [CCode (array_length = false, array_null_terminated = true)]
510
+ public string[]? get_globs ();
511
+ public bool get_hidden ();
512
+ public unowned string get_id ();
513
+ public unowned string? get_metadata (string name);
514
+ [CCode (array_length = false, array_null_terminated = true)]
515
+ public string[]? get_mime_types ();
516
+ public unowned string get_name ();
517
+ public unowned string get_section ();
518
+ [Version (since = "3.4")]
519
+ public unowned string? get_style_fallback (string style_id);
520
+ [CCode (array_length = false, array_null_terminated = true)]
521
+ public string[]? get_style_ids ();
522
+ public unowned string? get_style_name (string style_id);
523
+ public bool hidden { get; }
524
+ public string id { get; }
525
+ public string name { get; }
526
+ public string section { get; }
527
+ }
528
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_language_manager_get_type ()")]
529
+ [GIR (name = "LanguageManager")]
530
+ public class SourceLanguageManager : GLib.Object {
531
+ [CCode (has_construct_function = false)]
532
+ public SourceLanguageManager ();
533
+ public static unowned Gtk.SourceLanguageManager get_default ();
534
+ public unowned Gtk.SourceLanguage? get_language (string id);
535
+ [CCode (array_length = false, array_null_terminated = true)]
536
+ public unowned string[]? get_language_ids ();
537
+ [CCode (array_length = false, array_null_terminated = true)]
538
+ public unowned string[] get_search_path ();
539
+ [Version (since = "2.4")]
540
+ public unowned Gtk.SourceLanguage? guess_language (string? filename, string? content_type);
541
+ public void set_search_path ([CCode (array_length = false, array_null_terminated = true)] string[]? dirs);
542
+ [CCode (array_length = false, array_null_terminated = true)]
543
+ public string[] language_ids { get; }
544
+ [CCode (array_length = false, array_null_terminated = true)]
545
+ public string[] search_path { get; set; }
546
+ }
547
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_map_get_type ()")]
548
+ [GIR (name = "Map")]
549
+ public class SourceMap : Gtk.SourceView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
550
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
551
+ [Version (since = "3.18")]
552
+ public SourceMap ();
553
+ [Version (since = "3.18")]
554
+ public unowned Gtk.SourceView? get_view ();
555
+ [Version (since = "3.18")]
556
+ public void set_view (Gtk.SourceView view);
557
+ [NoAccessorMethod]
558
+ public Pango.FontDescription font_desc { owned get; set; }
559
+ public Gtk.SourceView view { get; set; }
560
+ }
561
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_mark_get_type ()")]
562
+ [GIR (name = "Mark")]
563
+ public class SourceMark : Gtk.TextMark {
564
+ [CCode (has_construct_function = false)]
565
+ [Version (since = "2.2")]
566
+ public SourceMark (string name, string category);
567
+ [Version (since = "2.2")]
568
+ public unowned string get_category ();
569
+ [Version (since = "2.2")]
570
+ public unowned Gtk.SourceMark? next (string? category);
571
+ [Version (since = "2.2")]
572
+ public unowned Gtk.SourceMark? prev (string category);
573
+ public string category { get; construct; }
574
+ }
575
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_mark_attributes_get_type ()")]
576
+ [GIR (name = "MarkAttributes")]
577
+ public class SourceMarkAttributes : GLib.Object {
578
+ [CCode (has_construct_function = false)]
579
+ public SourceMarkAttributes ();
580
+ public bool get_background (out Gdk.RGBA background);
581
+ public unowned GLib.Icon get_gicon ();
582
+ public unowned string get_icon_name ();
583
+ public unowned Gdk.Pixbuf get_pixbuf ();
584
+ [Version (deprecated = true, deprecated_since = "3.10")]
585
+ public unowned string get_stock_id ();
586
+ public string get_tooltip_markup (Gtk.SourceMark mark);
587
+ public string get_tooltip_text (Gtk.SourceMark mark);
588
+ public unowned Gdk.Pixbuf render_icon (Gtk.Widget widget, int size);
589
+ public void set_background (Gdk.RGBA background);
590
+ public void set_gicon (GLib.Icon gicon);
591
+ public void set_icon_name (string icon_name);
592
+ public void set_pixbuf (Gdk.Pixbuf pixbuf);
593
+ [Version (deprecated = true, deprecated_since = "3.10")]
594
+ public void set_stock_id (string stock_id);
595
+ [NoAccessorMethod]
596
+ public Gdk.RGBA background { get; set; }
597
+ public GLib.Icon gicon { get; set; }
598
+ public string icon_name { get; set; }
599
+ public Gdk.Pixbuf pixbuf { get; set; }
600
+ [Version (deprecated = true, deprecated_since = "3.10")]
601
+ public string stock_id { get; set; }
602
+ public signal string query_tooltip_markup (Gtk.SourceMark mark);
603
+ public signal string query_tooltip_text (Gtk.SourceMark mark);
604
+ }
605
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_print_compositor_get_type ()")]
606
+ [GIR (name = "PrintCompositor")]
607
+ public class SourcePrintCompositor : GLib.Object {
608
+ [CCode (has_construct_function = false)]
609
+ [Version (since = "2.2")]
610
+ public SourcePrintCompositor (Gtk.SourceBuffer buffer);
611
+ public void draw_page (Gtk.PrintContext context, int page_nr);
612
+ [CCode (has_construct_function = false)]
613
+ [Version (since = "2.2")]
614
+ public SourcePrintCompositor.from_view (Gtk.SourceView view);
615
+ [Version (since = "2.2")]
616
+ public string get_body_font_name ();
617
+ [Version (since = "2.2")]
618
+ public double get_bottom_margin (Gtk.Unit unit);
619
+ [Version (since = "2.2")]
620
+ public unowned Gtk.SourceBuffer get_buffer ();
621
+ [Version (since = "2.2")]
622
+ public string get_footer_font_name ();
623
+ [Version (since = "2.2")]
624
+ public string get_header_font_name ();
625
+ [Version (since = "2.2")]
626
+ public bool get_highlight_syntax ();
627
+ [Version (since = "2.2")]
628
+ public double get_left_margin (Gtk.Unit unit);
629
+ [Version (since = "2.2")]
630
+ public string get_line_numbers_font_name ();
631
+ [Version (since = "2.2")]
632
+ public int get_n_pages ();
633
+ [Version (since = "2.2")]
634
+ public double get_pagination_progress ();
635
+ [Version (since = "2.2")]
636
+ public bool get_print_footer ();
637
+ [Version (since = "2.2")]
638
+ public bool get_print_header ();
639
+ [Version (since = "2.2")]
640
+ public uint get_print_line_numbers ();
641
+ [Version (since = "2.2")]
642
+ public double get_right_margin (Gtk.Unit unit);
643
+ [Version (since = "2.2")]
644
+ public uint get_tab_width ();
645
+ [Version (since = "2.2")]
646
+ public double get_top_margin (Gtk.Unit unit);
647
+ [Version (since = "2.2")]
648
+ public Gtk.WrapMode get_wrap_mode ();
649
+ [Version (since = "2.2")]
650
+ public bool paginate (Gtk.PrintContext context);
651
+ [Version (since = "2.2")]
652
+ public void set_body_font_name (string font_name);
653
+ [Version (since = "2.2")]
654
+ public void set_bottom_margin (double margin, Gtk.Unit unit);
655
+ [Version (since = "2.2")]
656
+ public void set_footer_font_name (string? font_name);
657
+ [Version (since = "2.2")]
658
+ public void set_footer_format (bool separator, string? left, string? center, string? right);
659
+ [Version (since = "2.2")]
660
+ public void set_header_font_name (string? font_name);
661
+ [Version (since = "2.2")]
662
+ public void set_header_format (bool separator, string? left, string? center, string? right);
663
+ [Version (since = "2.2")]
664
+ public void set_highlight_syntax (bool highlight);
665
+ [Version (since = "2.2")]
666
+ public void set_left_margin (double margin, Gtk.Unit unit);
667
+ [Version (since = "2.2")]
668
+ public void set_line_numbers_font_name (string? font_name);
669
+ [Version (since = "2.2")]
670
+ public void set_print_footer (bool print);
671
+ [Version (since = "2.2")]
672
+ public void set_print_header (bool print);
673
+ [Version (since = "2.2")]
674
+ public void set_print_line_numbers (uint interval);
675
+ [Version (since = "2.2")]
676
+ public void set_right_margin (double margin, Gtk.Unit unit);
677
+ [Version (since = "2.2")]
678
+ public void set_tab_width (uint width);
679
+ [Version (since = "2.2")]
680
+ public void set_top_margin (double margin, Gtk.Unit unit);
681
+ [Version (since = "2.2")]
682
+ public void set_wrap_mode (Gtk.WrapMode wrap_mode);
683
+ [Version (since = "2.2")]
684
+ public string body_font_name { owned get; set; }
685
+ [Version (since = "2.2")]
686
+ public Gtk.SourceBuffer buffer { get; construct; }
687
+ [Version (since = "2.2")]
688
+ public string footer_font_name { owned get; set; }
689
+ [Version (since = "2.2")]
690
+ public string header_font_name { owned get; set; }
691
+ [Version (since = "2.2")]
692
+ public bool highlight_syntax { get; set; }
693
+ [Version (since = "2.2")]
694
+ public string line_numbers_font_name { owned get; set; }
695
+ [Version (since = "2.2")]
696
+ public int n_pages { get; }
697
+ [Version (since = "2.2")]
698
+ public bool print_footer { get; set; }
699
+ [Version (since = "2.2")]
700
+ public bool print_header { get; set; }
701
+ [Version (since = "2.2")]
702
+ public uint print_line_numbers { get; set; }
703
+ [Version (since = "2.2")]
704
+ public uint tab_width { get; set; }
705
+ [Version (since = "2.2")]
706
+ public Gtk.WrapMode wrap_mode { get; set; }
707
+ }
708
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_region_get_type ()")]
709
+ [GIR (name = "Region")]
710
+ public class SourceRegion : GLib.Object {
711
+ [CCode (has_construct_function = false)]
712
+ [Version (since = "3.22")]
713
+ public SourceRegion (Gtk.TextBuffer buffer);
714
+ [Version (since = "3.22")]
715
+ public void add_region (Gtk.SourceRegion? region_to_add);
716
+ [Version (since = "3.22")]
717
+ public void add_subregion (Gtk.TextIter _start, Gtk.TextIter _end);
718
+ [Version (since = "3.22")]
719
+ public bool get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
720
+ [Version (since = "3.22")]
721
+ public unowned Gtk.TextBuffer? get_buffer ();
722
+ [Version (since = "3.22")]
723
+ public Gtk.SourceRegionIter get_start_region_iter ();
724
+ [Version (since = "3.22")]
725
+ public Gtk.SourceRegion? intersect_region (Gtk.SourceRegion? region2);
726
+ [Version (since = "3.22")]
727
+ public Gtk.SourceRegion? intersect_subregion (Gtk.TextIter _start, Gtk.TextIter _end);
728
+ [Version (since = "3.22")]
729
+ public bool is_empty ();
730
+ [Version (since = "3.22")]
731
+ public void subtract_region (Gtk.SourceRegion? region_to_subtract);
732
+ [Version (since = "3.22")]
733
+ public void subtract_subregion (Gtk.TextIter _start, Gtk.TextIter _end);
734
+ [Version (since = "3.22")]
735
+ public string? to_string ();
736
+ [Version (since = "3.22")]
737
+ public Gtk.TextBuffer buffer { get; construct; }
738
+ }
739
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_search_context_get_type ()")]
740
+ [GIR (name = "SearchContext")]
741
+ public class SourceSearchContext : GLib.Object {
742
+ [CCode (has_construct_function = false)]
743
+ [Version (since = "3.10")]
744
+ public SourceSearchContext (Gtk.SourceBuffer buffer, Gtk.SourceSearchSettings? settings);
745
+ [Version (deprecated = true, deprecated_since = "3.22", since = "3.10")]
746
+ public bool backward (Gtk.TextIter iter, out Gtk.TextIter match_start, out Gtk.TextIter match_end);
747
+ [Version (since = "3.22")]
748
+ public bool backward2 (Gtk.TextIter iter, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out bool has_wrapped_around);
749
+ [Version (since = "3.10")]
750
+ public async bool backward_async (Gtk.TextIter iter, GLib.Cancellable? cancellable, out Gtk.TextIter match_start, out Gtk.TextIter match_end) throws GLib.Error;
751
+ [Version (since = "3.22")]
752
+ public bool backward_finish2 (GLib.AsyncResult result, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out bool has_wrapped_around) throws GLib.Error;
753
+ [Version (deprecated = true, deprecated_since = "3.22", since = "3.10")]
754
+ public bool forward (Gtk.TextIter iter, out Gtk.TextIter match_start, out Gtk.TextIter match_end);
755
+ [Version (since = "3.22")]
756
+ public bool forward2 (Gtk.TextIter iter, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out bool has_wrapped_around);
757
+ [Version (since = "3.10")]
758
+ public async bool forward_async (Gtk.TextIter iter, GLib.Cancellable? cancellable, out Gtk.TextIter match_start, out Gtk.TextIter match_end) throws GLib.Error;
759
+ [Version (since = "3.22")]
760
+ public bool forward_finish2 (GLib.AsyncResult result, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out bool has_wrapped_around) throws GLib.Error;
761
+ [Version (since = "3.10")]
762
+ public unowned Gtk.SourceBuffer get_buffer ();
763
+ [Version (since = "3.10")]
764
+ public bool get_highlight ();
765
+ [Version (since = "3.16")]
766
+ public unowned Gtk.SourceStyle get_match_style ();
767
+ [Version (since = "3.10")]
768
+ public int get_occurrence_position (Gtk.TextIter match_start, Gtk.TextIter match_end);
769
+ [Version (since = "3.10")]
770
+ public int get_occurrences_count ();
771
+ [Version (since = "3.10")]
772
+ public GLib.Error? get_regex_error ();
773
+ [Version (since = "3.10")]
774
+ public unowned Gtk.SourceSearchSettings get_settings ();
775
+ [Version (deprecated = true, deprecated_since = "3.22", since = "3.10")]
776
+ public bool replace (Gtk.TextIter match_start, Gtk.TextIter match_end, string replace, int replace_length) throws GLib.Error;
777
+ [Version (since = "3.22")]
778
+ public bool replace2 (Gtk.TextIter match_start, Gtk.TextIter match_end, string replace, int replace_length) throws GLib.Error;
779
+ [Version (since = "3.10")]
780
+ public uint replace_all (string replace, int replace_length) throws GLib.Error;
781
+ [Version (since = "3.10")]
782
+ public void set_highlight (bool highlight);
783
+ [Version (since = "3.16")]
784
+ public void set_match_style (Gtk.SourceStyle? match_style);
785
+ [Version (deprecated = true, deprecated_since = "3.24", since = "3.10")]
786
+ public void set_settings (Gtk.SourceSearchSettings? settings);
787
+ [Version (since = "3.10")]
788
+ public Gtk.SourceBuffer buffer { get; construct; }
789
+ [Version (since = "3.10")]
790
+ public bool highlight { get; set construct; }
791
+ [Version (since = "3.16")]
792
+ public Gtk.SourceStyle match_style { get; set construct; }
793
+ [Version (since = "3.10")]
794
+ public int occurrences_count { get; }
795
+ [Version (since = "3.10")]
796
+ public GLib.Error? regex_error { owned get; }
797
+ [Version (since = "3.10")]
798
+ public Gtk.SourceSearchSettings settings { get; set construct; }
799
+ }
800
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_search_settings_get_type ()")]
801
+ [GIR (name = "SearchSettings")]
802
+ public class SourceSearchSettings : GLib.Object {
803
+ [CCode (has_construct_function = false)]
804
+ [Version (since = "3.10")]
805
+ public SourceSearchSettings ();
806
+ [Version (since = "3.10")]
807
+ public bool get_at_word_boundaries ();
808
+ [Version (since = "3.10")]
809
+ public bool get_case_sensitive ();
810
+ [Version (since = "3.10")]
811
+ public bool get_regex_enabled ();
812
+ [Version (since = "3.10")]
813
+ public unowned string? get_search_text ();
814
+ [Version (since = "3.10")]
815
+ public bool get_wrap_around ();
816
+ [Version (since = "3.10")]
817
+ public void set_at_word_boundaries (bool at_word_boundaries);
818
+ [Version (since = "3.10")]
819
+ public void set_case_sensitive (bool case_sensitive);
820
+ [Version (since = "3.10")]
821
+ public void set_regex_enabled (bool regex_enabled);
822
+ [Version (since = "3.10")]
823
+ public void set_search_text (string? search_text);
824
+ [Version (since = "3.10")]
825
+ public void set_wrap_around (bool wrap_around);
826
+ [Version (since = "3.10")]
827
+ public bool at_word_boundaries { get; set construct; }
828
+ [Version (since = "3.10")]
829
+ public bool case_sensitive { get; set construct; }
830
+ [Version (since = "3.10")]
831
+ public bool regex_enabled { get; set construct; }
832
+ [Version (since = "3.10")]
833
+ public string search_text { get; set construct; }
834
+ [Version (since = "3.10")]
835
+ public bool wrap_around { get; set construct; }
836
+ }
837
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_space_drawer_get_type ()")]
838
+ [GIR (name = "SpaceDrawer")]
839
+ public class SourceSpaceDrawer : GLib.Object {
840
+ [CCode (has_construct_function = false)]
841
+ [Version (since = "3.24")]
842
+ public SourceSpaceDrawer ();
843
+ [Version (since = "3.24")]
844
+ public void bind_matrix_setting (GLib.Settings settings, string key, GLib.SettingsBindFlags flags);
845
+ [Version (since = "3.24")]
846
+ public bool get_enable_matrix ();
847
+ [Version (since = "3.24")]
848
+ public GLib.Variant get_matrix ();
849
+ [Version (since = "3.24")]
850
+ public Gtk.SourceSpaceTypeFlags get_types_for_locations (Gtk.SourceSpaceLocationFlags locations);
851
+ [Version (since = "3.24")]
852
+ public void set_enable_matrix (bool enable_matrix);
853
+ [Version (since = "3.24")]
854
+ public void set_matrix (GLib.Variant? matrix);
855
+ [Version (since = "3.24")]
856
+ public void set_types_for_locations (Gtk.SourceSpaceLocationFlags locations, Gtk.SourceSpaceTypeFlags types);
857
+ [Version (since = "3.24")]
858
+ public bool enable_matrix { get; set construct; }
859
+ [Version (since = "3.24")]
860
+ public GLib.Variant matrix { owned get; set construct; }
861
+ }
862
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_get_type ()")]
863
+ [GIR (name = "Style")]
864
+ public class SourceStyle : GLib.Object {
865
+ [CCode (has_construct_function = false)]
866
+ protected SourceStyle ();
867
+ [Version (since = "3.22")]
868
+ public void apply (Gtk.TextTag tag);
869
+ [Version (since = "2.0")]
870
+ public Gtk.SourceStyle copy ();
871
+ [NoAccessorMethod]
872
+ public string background { owned get; construct; }
873
+ [NoAccessorMethod]
874
+ public bool background_set { get; construct; }
875
+ [NoAccessorMethod]
876
+ public bool bold { get; construct; }
877
+ [NoAccessorMethod]
878
+ public bool bold_set { get; construct; }
879
+ [NoAccessorMethod]
880
+ public string foreground { owned get; construct; }
881
+ [NoAccessorMethod]
882
+ public bool foreground_set { get; construct; }
883
+ [NoAccessorMethod]
884
+ public bool italic { get; construct; }
885
+ [NoAccessorMethod]
886
+ public bool italic_set { get; construct; }
887
+ [NoAccessorMethod]
888
+ public string line_background { owned get; construct; }
889
+ [NoAccessorMethod]
890
+ public bool line_background_set { get; construct; }
891
+ [NoAccessorMethod]
892
+ public Pango.Underline pango_underline { get; construct; }
893
+ [NoAccessorMethod]
894
+ public string scale { owned get; construct; }
895
+ [NoAccessorMethod]
896
+ public bool scale_set { get; construct; }
897
+ [NoAccessorMethod]
898
+ public bool strikethrough { get; construct; }
899
+ [NoAccessorMethod]
900
+ public bool strikethrough_set { get; construct; }
901
+ [NoAccessorMethod]
902
+ [Version (deprecated = true, deprecated_since = "3.18")]
903
+ public bool underline { get; construct; }
904
+ [NoAccessorMethod]
905
+ public string underline_color { owned get; construct; }
906
+ [NoAccessorMethod]
907
+ public bool underline_color_set { get; construct; }
908
+ [NoAccessorMethod]
909
+ public bool underline_set { get; construct; }
910
+ }
911
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_get_type ()")]
912
+ [GIR (name = "StyleScheme")]
913
+ public class SourceStyleScheme : GLib.Object {
914
+ [CCode (has_construct_function = false)]
915
+ protected SourceStyleScheme ();
916
+ [CCode (array_length = false, array_null_terminated = true)]
917
+ [Version (since = "2.0")]
918
+ public unowned string[]? get_authors ();
919
+ [Version (since = "2.0")]
920
+ public unowned string? get_description ();
921
+ [Version (since = "2.0")]
922
+ public unowned string? get_filename ();
923
+ [Version (since = "2.0")]
924
+ public unowned string get_id ();
925
+ [Version (since = "2.0")]
926
+ public unowned string get_name ();
927
+ [Version (since = "2.0")]
928
+ public unowned Gtk.SourceStyle? get_style (string style_id);
929
+ public string description { get; }
930
+ public string filename { get; }
931
+ public string id { get; construct; }
932
+ public string name { get; }
933
+ }
934
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_chooser_button_get_type ()")]
935
+ [GIR (name = "StyleSchemeChooserButton")]
936
+ public class SourceStyleSchemeChooserButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.SourceStyleSchemeChooser {
937
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
938
+ [Version (since = "3.16")]
939
+ public SourceStyleSchemeChooserButton ();
940
+ }
941
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_chooser_widget_get_type ()")]
942
+ [GIR (name = "StyleSchemeChooserWidget")]
943
+ public class SourceStyleSchemeChooserWidget : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.SourceStyleSchemeChooser {
944
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
945
+ [Version (since = "3.16")]
946
+ public SourceStyleSchemeChooserWidget ();
947
+ }
948
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_manager_get_type ()")]
949
+ [GIR (name = "StyleSchemeManager")]
950
+ public class SourceStyleSchemeManager : GLib.Object {
951
+ [CCode (has_construct_function = false)]
952
+ public SourceStyleSchemeManager ();
953
+ public void append_search_path (string path);
954
+ public void force_rescan ();
955
+ public static unowned Gtk.SourceStyleSchemeManager get_default ();
956
+ public unowned Gtk.SourceStyleScheme get_scheme (string scheme_id);
957
+ [CCode (array_length = false, array_null_terminated = true)]
958
+ public unowned string[]? get_scheme_ids ();
959
+ [CCode (array_length = false, array_null_terminated = true)]
960
+ public unowned string[] get_search_path ();
961
+ public void prepend_search_path (string path);
962
+ public void set_search_path ([CCode (array_length = false, array_null_terminated = true)] string[]? path);
963
+ [CCode (array_length = false, array_null_terminated = true)]
964
+ public string[] scheme_ids { get; }
965
+ [CCode (array_length = false, array_null_terminated = true)]
966
+ public string[] search_path { get; set; }
967
+ }
968
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_tag_get_type ()")]
969
+ [GIR (name = "Tag")]
970
+ public class SourceTag : Gtk.TextTag {
971
+ [CCode (has_construct_function = false, type = "GtkTextTag*")]
972
+ [Version (since = "3.20")]
973
+ public SourceTag (string? name);
974
+ [NoAccessorMethod]
975
+ [Version (since = "3.20")]
976
+ public bool draw_spaces { get; set; }
977
+ [NoAccessorMethod]
978
+ [Version (since = "3.20")]
979
+ public bool draw_spaces_set { get; set; }
980
+ }
981
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_view_get_type ()")]
982
+ [GIR (name = "View")]
983
+ public class SourceView : Gtk.TextView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
984
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
985
+ public SourceView ();
986
+ public bool get_auto_indent ();
987
+ [Version (since = "3.16")]
988
+ public Gtk.SourceBackgroundPatternType get_background_pattern ();
989
+ public unowned Gtk.SourceCompletion get_completion ();
990
+ [Version (deprecated = true, deprecated_since = "3.24")]
991
+ public Gtk.SourceDrawSpacesFlags get_draw_spaces ();
992
+ [Version (since = "2.8")]
993
+ public unowned Gtk.SourceGutter get_gutter (Gtk.TextWindowType window_type);
994
+ public bool get_highlight_current_line ();
995
+ public bool get_indent_on_tab ();
996
+ public int get_indent_width ();
997
+ public bool get_insert_spaces_instead_of_tabs ();
998
+ public unowned Gtk.SourceMarkAttributes get_mark_attributes (string category, int priority);
999
+ public uint get_right_margin_position ();
1000
+ [Version (since = "2.2")]
1001
+ public bool get_show_line_marks ();
1002
+ public bool get_show_line_numbers ();
1003
+ public bool get_show_right_margin ();
1004
+ [Version (since = "3.18")]
1005
+ public bool get_smart_backspace ();
1006
+ public Gtk.SourceSmartHomeEndType get_smart_home_end ();
1007
+ [Version (since = "3.24")]
1008
+ public unowned Gtk.SourceSpaceDrawer get_space_drawer ();
1009
+ public uint get_tab_width ();
1010
+ public uint get_visual_column (Gtk.TextIter iter);
1011
+ [Version (since = "3.16")]
1012
+ public void indent_lines (Gtk.TextIter start, Gtk.TextIter end);
1013
+ public void set_auto_indent (bool enable);
1014
+ [Version (since = "3.16")]
1015
+ public void set_background_pattern (Gtk.SourceBackgroundPatternType background_pattern);
1016
+ [Version (deprecated = true, deprecated_since = "3.24")]
1017
+ public void set_draw_spaces (Gtk.SourceDrawSpacesFlags flags);
1018
+ public void set_highlight_current_line (bool highlight);
1019
+ public void set_indent_on_tab (bool enable);
1020
+ public void set_indent_width (int width);
1021
+ public void set_insert_spaces_instead_of_tabs (bool enable);
1022
+ public void set_mark_attributes (string category, Gtk.SourceMarkAttributes attributes, int priority);
1023
+ public void set_right_margin_position (uint pos);
1024
+ [Version (since = "2.2")]
1025
+ public void set_show_line_marks (bool show);
1026
+ public void set_show_line_numbers (bool show);
1027
+ public void set_show_right_margin (bool show);
1028
+ [Version (since = "3.18")]
1029
+ public void set_smart_backspace (bool smart_backspace);
1030
+ public void set_smart_home_end (Gtk.SourceSmartHomeEndType smart_home_end);
1031
+ public void set_tab_width (uint width);
1032
+ [Version (since = "3.16")]
1033
+ public void unindent_lines (Gtk.TextIter start, Gtk.TextIter end);
1034
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
1035
+ public SourceView.with_buffer (Gtk.SourceBuffer buffer);
1036
+ public bool auto_indent { get; set; }
1037
+ [Version (since = "3.16")]
1038
+ public Gtk.SourceBackgroundPatternType background_pattern { get; set; }
1039
+ public Gtk.SourceCompletion completion { get; }
1040
+ [Version (deprecated = true, deprecated_since = "3.24", since = "2.4")]
1041
+ public Gtk.SourceDrawSpacesFlags draw_spaces { get; set; }
1042
+ public bool highlight_current_line { get; set; }
1043
+ public bool indent_on_tab { get; set; }
1044
+ public int indent_width { get; set; }
1045
+ public bool insert_spaces_instead_of_tabs { get; set; }
1046
+ public uint right_margin_position { get; set; }
1047
+ public bool show_line_marks { get; set; }
1048
+ public bool show_line_numbers { get; set; }
1049
+ public bool show_right_margin { get; set; }
1050
+ [Version (since = "3.18")]
1051
+ public bool smart_backspace { get; set; }
1052
+ [Version (since = "2.0")]
1053
+ public Gtk.SourceSmartHomeEndType smart_home_end { get; set; }
1054
+ [Version (since = "3.24")]
1055
+ public Gtk.SourceSpaceDrawer space_drawer { get; }
1056
+ public uint tab_width { get; set; }
1057
+ [Version (since = "3.16")]
1058
+ public signal void change_case (Gtk.SourceChangeCaseType case_type);
1059
+ [Version (since = "3.16")]
1060
+ public signal void change_number (int count);
1061
+ [Version (since = "3.16")]
1062
+ public signal void join_lines ();
1063
+ public virtual signal void line_mark_activated (Gtk.TextIter iter, Gdk.Event event);
1064
+ [Version (since = "2.10")]
1065
+ public virtual signal void move_lines (bool copy, int step);
1066
+ [Version (since = "3.16")]
1067
+ public signal void move_to_matching_bracket (bool extend_selection);
1068
+ [Version (since = "3.0")]
1069
+ public virtual signal void move_words (int step);
1070
+ public virtual signal void redo ();
1071
+ public virtual signal void show_completion ();
1072
+ public virtual signal void undo ();
1073
+ }
1074
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_proposal_get_type ()")]
1075
+ [GIR (name = "CompletionProposal")]
1076
+ public interface SourceCompletionProposal : GLib.Object {
1077
+ public virtual bool equal (Gtk.SourceCompletionProposal other);
1078
+ [Version (since = "3.18")]
1079
+ public abstract unowned GLib.Icon? get_gicon ();
1080
+ public virtual unowned Gdk.Pixbuf? get_icon ();
1081
+ [Version (since = "3.18")]
1082
+ public abstract unowned string? get_icon_name ();
1083
+ public abstract string? get_info ();
1084
+ public abstract string get_label ();
1085
+ public abstract string get_markup ();
1086
+ public abstract string get_text ();
1087
+ public virtual uint hash ();
1088
+ [HasEmitter]
1089
+ public virtual signal void changed ();
1090
+ }
1091
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_provider_get_type ()")]
1092
+ [GIR (name = "CompletionProvider")]
1093
+ public interface SourceCompletionProvider : GLib.Object {
1094
+ public virtual bool activate_proposal (Gtk.SourceCompletionProposal proposal, Gtk.TextIter iter);
1095
+ public virtual Gtk.SourceCompletionActivation get_activation ();
1096
+ [Version (since = "3.18")]
1097
+ public virtual unowned GLib.Icon? get_gicon ();
1098
+ public virtual unowned Gdk.Pixbuf? get_icon ();
1099
+ [Version (since = "3.18")]
1100
+ public virtual unowned string? get_icon_name ();
1101
+ public virtual unowned Gtk.Widget? get_info_widget (Gtk.SourceCompletionProposal proposal);
1102
+ public virtual int get_interactive_delay ();
1103
+ public virtual string get_name ();
1104
+ public virtual int get_priority ();
1105
+ public virtual bool get_start_iter (Gtk.SourceCompletionContext context, Gtk.SourceCompletionProposal proposal, out Gtk.TextIter iter);
1106
+ public virtual bool match (Gtk.SourceCompletionContext context);
1107
+ public virtual void populate (Gtk.SourceCompletionContext context);
1108
+ public virtual void update_info (Gtk.SourceCompletionProposal proposal, Gtk.SourceCompletionInfo info);
1109
+ }
1110
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_chooser_get_type ()")]
1111
+ [GIR (name = "StyleSchemeChooser")]
1112
+ public interface SourceStyleSchemeChooser : GLib.Object {
1113
+ [Version (since = "3.16")]
1114
+ public abstract unowned Gtk.SourceStyleScheme get_style_scheme ();
1115
+ [Version (since = "3.16")]
1116
+ public abstract void set_style_scheme (Gtk.SourceStyleScheme scheme);
1117
+ [Version (since = "3.16")]
1118
+ public abstract Gtk.SourceStyleScheme style_scheme { get; set; }
1119
+ }
1120
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_undo_manager_get_type ()")]
1121
+ [GIR (name = "UndoManager")]
1122
+ public interface SourceUndoManager : GLib.Object {
1123
+ [Version (since = "2.10")]
1124
+ public abstract void begin_not_undoable_action ();
1125
+ [Version (since = "2.10")]
1126
+ public abstract bool can_redo ();
1127
+ [Version (since = "2.10")]
1128
+ public abstract bool can_undo ();
1129
+ [Version (since = "2.10")]
1130
+ public abstract void end_not_undoable_action ();
1131
+ [Version (since = "2.10")]
1132
+ public abstract void redo ();
1133
+ [Version (since = "2.10")]
1134
+ public abstract void undo ();
1135
+ [HasEmitter]
1136
+ [Version (since = "2.10")]
1137
+ public virtual signal void can_redo_changed ();
1138
+ [HasEmitter]
1139
+ [Version (since = "2.10")]
1140
+ public virtual signal void can_undo_changed ();
1141
+ }
1142
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", has_type_id = false)]
1143
+ [GIR (name = "RegionIter")]
1144
+ [Version (since = "3.22")]
1145
+ public struct SourceRegionIter {
1146
+ public bool get_subregion (out Gtk.TextIter start, out Gtk.TextIter end);
1147
+ public bool is_end ();
1148
+ public bool next ();
1149
+ }
1150
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_BACKGROUND_PATTERN_TYPE_", type_id = "gtk_source_background_pattern_type_get_type ()")]
1151
+ [GIR (name = "BackgroundPatternType")]
1152
+ [Version (since = "3.16")]
1153
+ public enum SourceBackgroundPatternType {
1154
+ NONE,
1155
+ GRID
1156
+ }
1157
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_BRACKET_MATCH_", type_id = "gtk_source_bracket_match_type_get_type ()")]
1158
+ [GIR (name = "BracketMatchType")]
1159
+ public enum SourceBracketMatchType {
1160
+ NONE,
1161
+ OUT_OF_RANGE,
1162
+ NOT_FOUND,
1163
+ FOUND
1164
+ }
1165
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_CHANGE_CASE_", type_id = "gtk_source_change_case_type_get_type ()")]
1166
+ [GIR (name = "ChangeCaseType")]
1167
+ [Version (since = "3.12")]
1168
+ public enum SourceChangeCaseType {
1169
+ LOWER,
1170
+ UPPER,
1171
+ TOGGLE,
1172
+ TITLE
1173
+ }
1174
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPLETION_ACTIVATION_", type_id = "gtk_source_completion_activation_get_type ()")]
1175
+ [Flags]
1176
+ [GIR (name = "CompletionActivation")]
1177
+ public enum SourceCompletionActivation {
1178
+ NONE,
1179
+ INTERACTIVE,
1180
+ USER_REQUESTED
1181
+ }
1182
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPRESSION_TYPE_", type_id = "gtk_source_compression_type_get_type ()")]
1183
+ [GIR (name = "CompressionType")]
1184
+ [Version (since = "3.14")]
1185
+ public enum SourceCompressionType {
1186
+ NONE,
1187
+ GZIP
1188
+ }
1189
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_DRAW_SPACES_", type_id = "gtk_source_draw_spaces_flags_get_type ()")]
1190
+ [Flags]
1191
+ [GIR (name = "DrawSpacesFlags")]
1192
+ [Version (deprecated = true, deprecated_since = "3.24")]
1193
+ public enum SourceDrawSpacesFlags {
1194
+ SPACE,
1195
+ TAB,
1196
+ NEWLINE,
1197
+ NBSP,
1198
+ LEADING,
1199
+ TEXT,
1200
+ TRAILING,
1201
+ ALL
1202
+ }
1203
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_SAVER_FLAGS_", type_id = "gtk_source_file_saver_flags_get_type ()")]
1204
+ [Flags]
1205
+ [GIR (name = "FileSaverFlags")]
1206
+ [Version (since = "3.14")]
1207
+ public enum SourceFileSaverFlags {
1208
+ NONE,
1209
+ IGNORE_INVALID_CHARS,
1210
+ IGNORE_MODIFICATION_TIME,
1211
+ CREATE_BACKUP
1212
+ }
1213
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_", type_id = "gtk_source_gutter_renderer_alignment_mode_get_type ()")]
1214
+ [GIR (name = "GutterRendererAlignmentMode")]
1215
+ public enum SourceGutterRendererAlignmentMode {
1216
+ CELL,
1217
+ FIRST,
1218
+ LAST
1219
+ }
1220
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_GUTTER_RENDERER_STATE_", type_id = "gtk_source_gutter_renderer_state_get_type ()")]
1221
+ [Flags]
1222
+ [GIR (name = "GutterRendererState")]
1223
+ public enum SourceGutterRendererState {
1224
+ NORMAL,
1225
+ CURSOR,
1226
+ PRELIT,
1227
+ SELECTED
1228
+ }
1229
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_NEWLINE_TYPE_", type_id = "gtk_source_newline_type_get_type ()")]
1230
+ [GIR (name = "NewlineType")]
1231
+ [Version (since = "3.14")]
1232
+ public enum SourceNewlineType {
1233
+ LF,
1234
+ CR,
1235
+ CR_LF
1236
+ }
1237
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SMART_HOME_END_", type_id = "gtk_source_smart_home_end_type_get_type ()")]
1238
+ [GIR (name = "SmartHomeEndType")]
1239
+ public enum SourceSmartHomeEndType {
1240
+ DISABLED,
1241
+ BEFORE,
1242
+ AFTER,
1243
+ ALWAYS
1244
+ }
1245
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SORT_FLAGS_", type_id = "gtk_source_sort_flags_get_type ()")]
1246
+ [Flags]
1247
+ [GIR (name = "SortFlags")]
1248
+ [Version (since = "3.18")]
1249
+ public enum SourceSortFlags {
1250
+ NONE,
1251
+ CASE_SENSITIVE,
1252
+ REVERSE_ORDER,
1253
+ REMOVE_DUPLICATES
1254
+ }
1255
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SPACE_LOCATION_", type_id = "gtk_source_space_location_flags_get_type ()")]
1256
+ [Flags]
1257
+ [GIR (name = "SpaceLocationFlags")]
1258
+ [Version (since = "3.24")]
1259
+ public enum SourceSpaceLocationFlags {
1260
+ NONE,
1261
+ LEADING,
1262
+ INSIDE_TEXT,
1263
+ TRAILING,
1264
+ ALL
1265
+ }
1266
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SPACE_TYPE_", type_id = "gtk_source_space_type_flags_get_type ()")]
1267
+ [Flags]
1268
+ [GIR (name = "SpaceTypeFlags")]
1269
+ [Version (since = "3.24")]
1270
+ public enum SourceSpaceTypeFlags {
1271
+ NONE,
1272
+ SPACE,
1273
+ TAB,
1274
+ NEWLINE,
1275
+ NBSP,
1276
+ ALL
1277
+ }
1278
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_VIEW_GUTTER_POSITION_", type_id = "gtk_source_view_gutter_position_get_type ()")]
1279
+ [GIR (name = "ViewGutterPosition")]
1280
+ public enum SourceViewGutterPosition {
1281
+ LINES,
1282
+ MARKS
1283
+ }
1284
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPLETION_ERROR_")]
1285
+ [GIR (name = "CompletionError")]
1286
+ public errordomain SourceCompletionError {
1287
+ ALREADY_BOUND,
1288
+ NOT_BOUND;
1289
+ [CCode (cname = "gtk_source_completion_error_quark")]
1290
+ public static GLib.Quark uark ();
1291
+ }
1292
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_LOADER_ERROR_")]
1293
+ [GIR (name = "FileLoaderError")]
1294
+ public errordomain SourceFileLoaderError {
1295
+ TOO_BIG,
1296
+ ENCODING_AUTO_DETECTION_FAILED,
1297
+ CONVERSION_FALLBACK;
1298
+ [CCode (cname = "gtk_source_file_loader_error_quark")]
1299
+ public static GLib.Quark uark ();
1300
+ }
1301
+ [CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_SAVER_ERROR_")]
1302
+ [GIR (name = "FileSaverError")]
1303
+ [Version (since = "3.14")]
1304
+ public errordomain SourceFileSaverError {
1305
+ INVALID_CHARS,
1306
+ EXTERNALLY_MODIFIED;
1307
+ [CCode (cname = "gtk_source_file_saver_error_quark")]
1308
+ public static GLib.Quark uark ();
1309
+ }
1310
+ }