~elementary-apps/pantheon-files/trunk

« back to all changes in this revision

Viewing changes to src/gtk+-3.0.vapi

  • Committer: Jeremy Wootten
  • Date: 2017-01-13 13:36:33 UTC
  • mfrom: (2444 pantheon-files)
  • mto: This revision was merged to the branch mainline in revision 2471.
  • Revision ID: jeremy@elementaryos.org-20170113133633-ajg6izr1e6irmj0g
Merge r2444

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* gtk+-3.0.vapi generated by vapigen, do not modify. */
2
 
 
3
 
[CCode (cprefix = "Gtk", gir_namespace = "Gtk", gir_version = "3.0", lower_case_cprefix = "gtk_")]
4
 
namespace Gtk {
5
 
        [Version (deprecated_since = "3.10")]
6
 
        namespace Stock {
7
 
                [CCode (cheader_filename = "gtk/gtk.h")]
8
 
                public const string ABOUT;
9
 
                [CCode (cheader_filename = "gtk/gtk.h")]
10
 
                public const string ADD;
11
 
                [CCode (cheader_filename = "gtk/gtk.h")]
12
 
                public const string APPLY;
13
 
                [CCode (cheader_filename = "gtk/gtk.h")]
14
 
                public const string BOLD;
15
 
                [CCode (cheader_filename = "gtk/gtk.h")]
16
 
                public const string CANCEL;
17
 
                [CCode (cheader_filename = "gtk/gtk.h")]
18
 
                public const string CAPS_LOCK_WARNING;
19
 
                [CCode (cheader_filename = "gtk/gtk.h")]
20
 
                public const string CDROM;
21
 
                [CCode (cheader_filename = "gtk/gtk.h")]
22
 
                public const string CLEAR;
23
 
                [CCode (cheader_filename = "gtk/gtk.h")]
24
 
                public const string CLOSE;
25
 
                [CCode (cheader_filename = "gtk/gtk.h")]
26
 
                public const string COLOR_PICKER;
27
 
                [CCode (cheader_filename = "gtk/gtk.h")]
28
 
                public const string CONNECT;
29
 
                [CCode (cheader_filename = "gtk/gtk.h")]
30
 
                public const string CONVERT;
31
 
                [CCode (cheader_filename = "gtk/gtk.h")]
32
 
                public const string COPY;
33
 
                [CCode (cheader_filename = "gtk/gtk.h")]
34
 
                public const string CUT;
35
 
                [CCode (cheader_filename = "gtk/gtk.h")]
36
 
                public const string DELETE;
37
 
                [CCode (cheader_filename = "gtk/gtk.h")]
38
 
                public const string DIALOG_AUTHENTICATION;
39
 
                [CCode (cheader_filename = "gtk/gtk.h")]
40
 
                public const string DIALOG_ERROR;
41
 
                [CCode (cheader_filename = "gtk/gtk.h")]
42
 
                public const string DIALOG_INFO;
43
 
                [CCode (cheader_filename = "gtk/gtk.h")]
44
 
                public const string DIALOG_QUESTION;
45
 
                [CCode (cheader_filename = "gtk/gtk.h")]
46
 
                public const string DIALOG_WARNING;
47
 
                [CCode (cheader_filename = "gtk/gtk.h")]
48
 
                public const string DIRECTORY;
49
 
                [CCode (cheader_filename = "gtk/gtk.h")]
50
 
                public const string DISCARD;
51
 
                [CCode (cheader_filename = "gtk/gtk.h")]
52
 
                public const string DISCONNECT;
53
 
                [CCode (cheader_filename = "gtk/gtk.h")]
54
 
                public const string DND;
55
 
                [CCode (cheader_filename = "gtk/gtk.h")]
56
 
                public const string DND_MULTIPLE;
57
 
                [CCode (cheader_filename = "gtk/gtk.h")]
58
 
                public const string EDIT;
59
 
                [CCode (cheader_filename = "gtk/gtk.h")]
60
 
                public const string EXECUTE;
61
 
                [CCode (cheader_filename = "gtk/gtk.h")]
62
 
                public const string FILE;
63
 
                [CCode (cheader_filename = "gtk/gtk.h")]
64
 
                public const string FIND;
65
 
                [CCode (cheader_filename = "gtk/gtk.h")]
66
 
                public const string FIND_AND_REPLACE;
67
 
                [CCode (cheader_filename = "gtk/gtk.h")]
68
 
                public const string FLOPPY;
69
 
                [CCode (cheader_filename = "gtk/gtk.h")]
70
 
                public const string FULLSCREEN;
71
 
                [CCode (cheader_filename = "gtk/gtk.h")]
72
 
                public const string GOTO_BOTTOM;
73
 
                [CCode (cheader_filename = "gtk/gtk.h")]
74
 
                public const string GOTO_FIRST;
75
 
                [CCode (cheader_filename = "gtk/gtk.h")]
76
 
                public const string GOTO_LAST;
77
 
                [CCode (cheader_filename = "gtk/gtk.h")]
78
 
                public const string GOTO_TOP;
79
 
                [CCode (cheader_filename = "gtk/gtk.h")]
80
 
                public const string GO_BACK;
81
 
                [CCode (cheader_filename = "gtk/gtk.h")]
82
 
                public const string GO_DOWN;
83
 
                [CCode (cheader_filename = "gtk/gtk.h")]
84
 
                public const string GO_FORWARD;
85
 
                [CCode (cheader_filename = "gtk/gtk.h")]
86
 
                public const string GO_UP;
87
 
                [CCode (cheader_filename = "gtk/gtk.h")]
88
 
                public const string HARDDISK;
89
 
                [CCode (cheader_filename = "gtk/gtk.h")]
90
 
                public const string HELP;
91
 
                [CCode (cheader_filename = "gtk/gtk.h")]
92
 
                public const string HOME;
93
 
                [CCode (cheader_filename = "gtk/gtk.h")]
94
 
                public const string INDENT;
95
 
                [CCode (cheader_filename = "gtk/gtk.h")]
96
 
                public const string INDEX;
97
 
                [CCode (cheader_filename = "gtk/gtk.h")]
98
 
                public const string INFO;
99
 
                [CCode (cheader_filename = "gtk/gtk.h")]
100
 
                public const string ITALIC;
101
 
                [CCode (cheader_filename = "gtk/gtk.h")]
102
 
                public const string JUMP_TO;
103
 
                [CCode (cheader_filename = "gtk/gtk.h")]
104
 
                public const string JUSTIFY_CENTER;
105
 
                [CCode (cheader_filename = "gtk/gtk.h")]
106
 
                public const string JUSTIFY_FILL;
107
 
                [CCode (cheader_filename = "gtk/gtk.h")]
108
 
                public const string JUSTIFY_LEFT;
109
 
                [CCode (cheader_filename = "gtk/gtk.h")]
110
 
                public const string JUSTIFY_RIGHT;
111
 
                [CCode (cheader_filename = "gtk/gtk.h")]
112
 
                public const string LEAVE_FULLSCREEN;
113
 
                [CCode (cheader_filename = "gtk/gtk.h")]
114
 
                public const string MEDIA_FORWARD;
115
 
                [CCode (cheader_filename = "gtk/gtk.h")]
116
 
                public const string MEDIA_NEXT;
117
 
                [CCode (cheader_filename = "gtk/gtk.h")]
118
 
                public const string MEDIA_PAUSE;
119
 
                [CCode (cheader_filename = "gtk/gtk.h")]
120
 
                public const string MEDIA_PLAY;
121
 
                [CCode (cheader_filename = "gtk/gtk.h")]
122
 
                public const string MEDIA_PREVIOUS;
123
 
                [CCode (cheader_filename = "gtk/gtk.h")]
124
 
                public const string MEDIA_RECORD;
125
 
                [CCode (cheader_filename = "gtk/gtk.h")]
126
 
                public const string MEDIA_REWIND;
127
 
                [CCode (cheader_filename = "gtk/gtk.h")]
128
 
                public const string MEDIA_STOP;
129
 
                [CCode (cheader_filename = "gtk/gtk.h")]
130
 
                public const string MISSING_IMAGE;
131
 
                [CCode (cheader_filename = "gtk/gtk.h")]
132
 
                public const string NETWORK;
133
 
                [CCode (cheader_filename = "gtk/gtk.h")]
134
 
                public const string NEW;
135
 
                [CCode (cheader_filename = "gtk/gtk.h")]
136
 
                public const string NO;
137
 
                [CCode (cheader_filename = "gtk/gtk.h")]
138
 
                public const string OK;
139
 
                [CCode (cheader_filename = "gtk/gtk.h")]
140
 
                public const string OPEN;
141
 
                [CCode (cheader_filename = "gtk/gtk.h")]
142
 
                public const string ORIENTATION_LANDSCAPE;
143
 
                [CCode (cheader_filename = "gtk/gtk.h")]
144
 
                public const string ORIENTATION_PORTRAIT;
145
 
                [CCode (cheader_filename = "gtk/gtk.h")]
146
 
                public const string ORIENTATION_REVERSE_LANDSCAPE;
147
 
                [CCode (cheader_filename = "gtk/gtk.h")]
148
 
                public const string ORIENTATION_REVERSE_PORTRAIT;
149
 
                [CCode (cheader_filename = "gtk/gtk.h")]
150
 
                public const string PAGE_SETUP;
151
 
                [CCode (cheader_filename = "gtk/gtk.h")]
152
 
                public const string PASTE;
153
 
                [CCode (cheader_filename = "gtk/gtk.h")]
154
 
                public const string PREFERENCES;
155
 
                [CCode (cheader_filename = "gtk/gtk.h")]
156
 
                public const string PRINT;
157
 
                [CCode (cheader_filename = "gtk/gtk.h")]
158
 
                public const string PRINT_ERROR;
159
 
                [CCode (cheader_filename = "gtk/gtk.h")]
160
 
                public const string PRINT_PAUSED;
161
 
                [CCode (cheader_filename = "gtk/gtk.h")]
162
 
                public const string PRINT_PREVIEW;
163
 
                [CCode (cheader_filename = "gtk/gtk.h")]
164
 
                public const string PRINT_REPORT;
165
 
                [CCode (cheader_filename = "gtk/gtk.h")]
166
 
                public const string PRINT_WARNING;
167
 
                [CCode (cheader_filename = "gtk/gtk.h")]
168
 
                public const string PROPERTIES;
169
 
                [CCode (cheader_filename = "gtk/gtk.h")]
170
 
                public const string QUIT;
171
 
                [CCode (cheader_filename = "gtk/gtk.h")]
172
 
                public const string REDO;
173
 
                [CCode (cheader_filename = "gtk/gtk.h")]
174
 
                public const string REFRESH;
175
 
                [CCode (cheader_filename = "gtk/gtk.h")]
176
 
                public const string REMOVE;
177
 
                [CCode (cheader_filename = "gtk/gtk.h")]
178
 
                public const string REVERT_TO_SAVED;
179
 
                [CCode (cheader_filename = "gtk/gtk.h")]
180
 
                public const string SAVE;
181
 
                [CCode (cheader_filename = "gtk/gtk.h")]
182
 
                public const string SAVE_AS;
183
 
                [CCode (cheader_filename = "gtk/gtk.h")]
184
 
                public const string SELECT_ALL;
185
 
                [CCode (cheader_filename = "gtk/gtk.h")]
186
 
                public const string SELECT_COLOR;
187
 
                [CCode (cheader_filename = "gtk/gtk.h")]
188
 
                public const string SELECT_FONT;
189
 
                [CCode (cheader_filename = "gtk/gtk.h")]
190
 
                public const string SORT_ASCENDING;
191
 
                [CCode (cheader_filename = "gtk/gtk.h")]
192
 
                public const string SORT_DESCENDING;
193
 
                [CCode (cheader_filename = "gtk/gtk.h")]
194
 
                public const string SPELL_CHECK;
195
 
                [CCode (cheader_filename = "gtk/gtk.h")]
196
 
                public const string STOP;
197
 
                [CCode (cheader_filename = "gtk/gtk.h")]
198
 
                public const string STRIKETHROUGH;
199
 
                [CCode (cheader_filename = "gtk/gtk.h")]
200
 
                public const string UNDELETE;
201
 
                [CCode (cheader_filename = "gtk/gtk.h")]
202
 
                public const string UNDERLINE;
203
 
                [CCode (cheader_filename = "gtk/gtk.h")]
204
 
                public const string UNDO;
205
 
                [CCode (cheader_filename = "gtk/gtk.h")]
206
 
                public const string UNINDENT;
207
 
                [CCode (cheader_filename = "gtk/gtk.h")]
208
 
                public const string YES;
209
 
                [CCode (cheader_filename = "gtk/gtk.h")]
210
 
                public const string ZOOM_100;
211
 
                [CCode (cheader_filename = "gtk/gtk.h")]
212
 
                public const string ZOOM_FIT;
213
 
                [CCode (cheader_filename = "gtk/gtk.h")]
214
 
                public const string ZOOM_IN;
215
 
                [CCode (cheader_filename = "gtk/gtk.h")]
216
 
                public const string ZOOM_OUT;
217
 
                [CCode (cheader_filename = "gtk/gtk.h")]
218
 
                public static void add (Gtk.StockItem[] items);
219
 
                [CCode (cheader_filename = "gtk/gtk.h")]
220
 
                public static void add_static (Gtk.StockItem[] items);
221
 
                [CCode (cheader_filename = "gtk/gtk.h")]
222
 
                public static GLib.SList<string> list_ids ();
223
 
                [CCode (cheader_filename = "gtk/gtk.h")]
224
 
                public static bool lookup (string stock_id, out Gtk.StockItem item);
225
 
                [CCode (cheader_filename = "gtk/gtk.h")]
226
 
                public static void set_translate_func (string domain, owned Gtk.TranslateFunc func);
227
 
        }
228
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_about_dialog_get_type ()")]
229
 
        public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
230
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
231
 
                public AboutDialog ();
232
 
                public void add_credit_section (string section_name, [CCode (array_length = false, array_null_terminated = true)] string[] people);
233
 
                [CCode (array_length = false, array_null_terminated = true)]
234
 
                public unowned string[] get_artists ();
235
 
                [CCode (array_length = false, array_null_terminated = true)]
236
 
                public unowned string[] get_authors ();
237
 
                public unowned string get_comments ();
238
 
                public unowned string get_copyright ();
239
 
                [CCode (array_length = false, array_null_terminated = true)]
240
 
                public unowned string[] get_documenters ();
241
 
                public unowned string get_license ();
242
 
                public Gtk.License get_license_type ();
243
 
                public unowned Gdk.Pixbuf get_logo ();
244
 
                public unowned string get_logo_icon_name ();
245
 
                public unowned string get_program_name ();
246
 
                public unowned string get_translator_credits ();
247
 
                public unowned string get_version ();
248
 
                public unowned string get_website ();
249
 
                public unowned string get_website_label ();
250
 
                public bool get_wrap_license ();
251
 
                public void set_artists ([CCode (array_length = false, array_null_terminated = true)] string[] artists);
252
 
                public void set_authors ([CCode (array_length = false, array_null_terminated = true)] string[] authors);
253
 
                public void set_comments (string? comments);
254
 
                public void set_copyright (string? copyright);
255
 
                public void set_documenters ([CCode (array_length = false, array_null_terminated = true)] string[] documenters);
256
 
                public void set_license (string? license);
257
 
                public void set_license_type (Gtk.License license_type);
258
 
                public void set_logo (Gdk.Pixbuf? logo);
259
 
                public void set_logo_icon_name (string? icon_name);
260
 
                public void set_program_name (string name);
261
 
                public void set_translator_credits (string? translator_credits);
262
 
                public void set_version (string? version);
263
 
                public void set_website (string? website);
264
 
                public void set_website_label (string website_label);
265
 
                public void set_wrap_license (bool wrap_license);
266
 
                [CCode (array_length = false, array_null_terminated = true)]
267
 
                public string[] artists { get; set; }
268
 
                [CCode (array_length = false, array_null_terminated = true)]
269
 
                public string[] authors { get; set; }
270
 
                public string comments { get; set; }
271
 
                public string copyright { get; set; }
272
 
                [CCode (array_length = false, array_null_terminated = true)]
273
 
                public string[] documenters { get; set; }
274
 
                public string license { get; set; }
275
 
                public Gtk.License license_type { get; set; }
276
 
                public Gdk.Pixbuf logo { get; set; }
277
 
                public string logo_icon_name { get; set; }
278
 
                public string program_name { get; set; }
279
 
                public string translator_credits { get; set; }
280
 
                public string version { get; set; }
281
 
                public string website { get; set; }
282
 
                public string website_label { get; set; }
283
 
                public bool wrap_license { get; set; }
284
 
                public virtual signal bool activate_link (string uri);
285
 
        }
286
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_group_get_type ()")]
287
 
        public class AccelGroup : GLib.Object {
288
 
                [CCode (has_construct_function = false)]
289
 
                public AccelGroup ();
290
 
                public bool activate (GLib.Quark accel_quark, GLib.Object acceleratable, uint accel_key, Gdk.ModifierType accel_mods);
291
 
                public void connect (uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
292
 
                public void connect_by_path (string accel_path, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
293
 
                public bool disconnect (GLib.Closure? closure);
294
 
                public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods);
295
 
                public Gtk.AccelKey* find (Gtk.AccelGroupFindFunc find_func);
296
 
                public static unowned Gtk.AccelGroup? from_accel_closure (GLib.Closure closure);
297
 
                public bool get_is_locked ();
298
 
                public Gdk.ModifierType get_modifier_mask ();
299
 
                public void @lock ();
300
 
                [CCode (array_length_type = "guint")]
301
 
                public unowned Gtk.AccelGroupEntry[]? query (uint accel_key, Gdk.ModifierType accel_mods);
302
 
                public void unlock ();
303
 
                public bool is_locked { get; }
304
 
                public Gdk.ModifierType modifier_mask { get; }
305
 
                public virtual signal bool accel_activate (GLib.Object p0, uint p1, Gdk.ModifierType p2);
306
 
                public virtual signal void accel_changed (uint keyval, Gdk.ModifierType modifier, GLib.Closure accel_closure);
307
 
        }
308
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_label_get_type ()")]
309
 
        public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
310
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
311
 
                public AccelLabel (string str);
312
 
                public void get_accel (out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
313
 
                public unowned Gtk.Widget? get_accel_widget ();
314
 
                public uint get_accel_width ();
315
 
                public bool refetch ();
316
 
                public void set_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods);
317
 
                public void set_accel_closure ([CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate accel_closure);
318
 
                public void set_accel_widget (Gtk.Widget accel_widget);
319
 
                [NoAccessorMethod]
320
 
                public GLib.Closure accel_closure { owned get; set; }
321
 
                public Gtk.Widget accel_widget { get; set; }
322
 
        }
323
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_map_get_type ()")]
324
 
        public class AccelMap : GLib.Object {
325
 
                [CCode (has_construct_function = false)]
326
 
                protected AccelMap ();
327
 
                public static void add_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
328
 
                public static void add_filter (string filter_pattern);
329
 
                public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace);
330
 
                public static void @foreach (void* data, Gtk.AccelMapForeach foreach_func);
331
 
                public static void foreach_unfiltered (void* data, Gtk.AccelMapForeach foreach_func);
332
 
                public static unowned Gtk.AccelMap @get ();
333
 
                public static void load (string file_name);
334
 
                public static void load_fd (int fd);
335
 
                public static void load_scanner (GLib.Scanner scanner);
336
 
                public static void lock_path (string accel_path);
337
 
                public static bool lookup_entry (string accel_path, out Gtk.AccelKey key);
338
 
                public static void save (string file_name);
339
 
                public static void save_fd (int fd);
340
 
                public static void unlock_path (string accel_path);
341
 
                public virtual signal void changed (string p0, uint p1, Gdk.ModifierType p2);
342
 
        }
343
 
        [CCode (cheader_filename = "gtk/gtk.h")]
344
 
        [Compact]
345
 
        public class AccelMapClass {
346
 
        }
347
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_accessible_get_type ()")]
348
 
        public class Accessible : Atk.Object {
349
 
                [CCode (has_construct_function = false)]
350
 
                protected Accessible ();
351
 
                [Version (deprecated_since = "3.4", replacement = "Accessible.set_widget")]
352
 
                public virtual void connect_widget_destroyed ();
353
 
                public unowned Gtk.Widget get_widget ();
354
 
                public void set_widget (Gtk.Widget? widget);
355
 
                [NoWrapper]
356
 
                public virtual void widget_set ();
357
 
                [NoWrapper]
358
 
                public virtual void widget_unset ();
359
 
                public Gtk.Widget widget { get; set; }
360
 
        }
361
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_get_type ()")]
362
 
        [Version (deprecated_since = "3.10", replacement = "GLib.Action")]
363
 
        public class Action : GLib.Object, Gtk.Buildable {
364
 
                [CCode (has_construct_function = false)]
365
 
                public Action (string name, string? label, string? tooltip, string? stock_id);
366
 
                public void block_activate ();
367
 
                public void connect_accelerator ();
368
 
                [NoWrapper]
369
 
                public virtual void connect_proxy (Gtk.Widget proxy);
370
 
                public unowned Gtk.Widget create_icon (Gtk.IconSize icon_size);
371
 
                public virtual unowned Gtk.Widget create_menu ();
372
 
                public virtual unowned Gtk.Widget create_menu_item ();
373
 
                public virtual unowned Gtk.Widget create_tool_item ();
374
 
                public void disconnect_accelerator ();
375
 
                [NoWrapper]
376
 
                public virtual void disconnect_proxy (Gtk.Widget proxy);
377
 
                public unowned GLib.Closure get_accel_closure ();
378
 
                public unowned string get_accel_path ();
379
 
                public bool get_always_show_image ();
380
 
                public unowned GLib.Icon get_gicon ();
381
 
                public unowned string get_icon_name ();
382
 
                public bool get_is_important ();
383
 
                public unowned string get_label ();
384
 
                public unowned GLib.SList<Gtk.Widget> get_proxies ();
385
 
                public bool get_sensitive ();
386
 
                public unowned string get_short_label ();
387
 
                public unowned string get_stock_id ();
388
 
                public unowned string get_tooltip ();
389
 
                public bool get_visible ();
390
 
                public bool get_visible_horizontal ();
391
 
                public bool get_visible_vertical ();
392
 
                public bool is_sensitive ();
393
 
                public bool is_visible ();
394
 
                public void set_accel_group (Gtk.AccelGroup? accel_group);
395
 
                public void set_accel_path (string accel_path);
396
 
                public void set_always_show_image (bool always_show);
397
 
                public void set_gicon (GLib.Icon icon);
398
 
                public void set_icon_name (string icon_name);
399
 
                public void set_is_important (bool is_important);
400
 
                public void set_label (string label);
401
 
                public void set_sensitive (bool sensitive);
402
 
                public void set_short_label (string short_label);
403
 
                public void set_stock_id (string stock_id);
404
 
                public void set_tooltip (string tooltip);
405
 
                public void set_visible (bool visible);
406
 
                public void set_visible_horizontal (bool visible_horizontal);
407
 
                public void set_visible_vertical (bool visible_vertical);
408
 
                public void unblock_activate ();
409
 
                [NoAccessorMethod]
410
 
                public Gtk.ActionGroup action_group { owned get; set; }
411
 
                public bool always_show_image { get; set construct; }
412
 
                public GLib.Icon gicon { get; set; }
413
 
                [NoAccessorMethod]
414
 
                public bool hide_if_empty { get; set; }
415
 
                public string icon_name { get; set; }
416
 
                public bool is_important { get; set; }
417
 
                public string label { get; set; }
418
 
                public string name { get; construct; }
419
 
                public bool sensitive { get; set; }
420
 
                public string short_label { get; set; }
421
 
                public string stock_id { get; set; }
422
 
                public string tooltip { get; set; }
423
 
                public bool visible { get; set; }
424
 
                public bool visible_horizontal { get; set; }
425
 
                [NoAccessorMethod]
426
 
                public bool visible_overflown { get; set; }
427
 
                public bool visible_vertical { get; set; }
428
 
                [HasEmitter]
429
 
                public virtual signal void activate ();
430
 
        }
431
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_bar_get_type ()")]
432
 
        public class ActionBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
433
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
434
 
                public ActionBar ();
435
 
                public unowned Gtk.Widget get_center_widget ();
436
 
                public void pack_end (Gtk.Widget child);
437
 
                public void pack_start (Gtk.Widget child);
438
 
                public void set_center_widget (Gtk.Widget? center_widget);
439
 
        }
440
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_group_get_type ()")]
441
 
        [Version (deprecated_since = "3.10")]
442
 
        public class ActionGroup : GLib.Object, Gtk.Buildable {
443
 
                [CCode (has_construct_function = false)]
444
 
                public ActionGroup (string name);
445
 
                public void add_action (Gtk.Action action);
446
 
                public void add_action_with_accel (Gtk.Action action, string? accelerator);
447
 
                public void add_actions (Gtk.ActionEntry[] entries, void* user_data);
448
 
                public void add_actions_full (Gtk.ActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
449
 
                public void add_radio_actions (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change);
450
 
                public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] owned Gtk.RadioActionCallback on_change);
451
 
                public void add_toggle_actions (Gtk.ToggleActionEntry[] entries, void* user_data);
452
 
                public void add_toggle_actions_full (Gtk.ToggleActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
453
 
                public unowned Gtk.AccelGroup get_accel_group ();
454
 
                public virtual unowned Gtk.Action get_action (string action_name);
455
 
                public bool get_sensitive ();
456
 
                public bool get_visible ();
457
 
                public GLib.List<weak Gtk.Action> list_actions ();
458
 
                public void remove_action (Gtk.Action action);
459
 
                public void set_accel_group (Gtk.AccelGroup? accel_group);
460
 
                public void set_sensitive (bool sensitive);
461
 
                public void set_translate_func (owned Gtk.TranslateFunc func);
462
 
                public void set_translation_domain (string? domain);
463
 
                public void set_visible (bool visible);
464
 
                public unowned string translate_string (string str);
465
 
                public Gtk.AccelGroup accel_group { get; set; }
466
 
                public string name { get; construct; }
467
 
                public bool sensitive { get; set; }
468
 
                public bool visible { get; set; }
469
 
                public virtual signal void connect_proxy (Gtk.Action p0, Gtk.Widget p1);
470
 
                public virtual signal void disconnect_proxy (Gtk.Action p0, Gtk.Widget p1);
471
 
                public virtual signal void post_activate (Gtk.Action p0);
472
 
                public virtual signal void pre_activate (Gtk.Action p0);
473
 
        }
474
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_adjustment_get_type ()")]
475
 
        public class Adjustment : GLib.InitiallyUnowned {
476
 
                [CCode (has_construct_function = false)]
477
 
                public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
478
 
                public void clamp_page (double lower, double upper);
479
 
                public void configure (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
480
 
                public double get_lower ();
481
 
                public double get_minimum_increment ();
482
 
                public double get_page_increment ();
483
 
                public double get_page_size ();
484
 
                public double get_step_increment ();
485
 
                public double get_upper ();
486
 
                public double get_value ();
487
 
                public void set_lower (double lower);
488
 
                public void set_page_increment (double page_increment);
489
 
                public void set_page_size (double page_size);
490
 
                public void set_step_increment (double step_increment);
491
 
                public void set_upper (double upper);
492
 
                public void set_value (double value);
493
 
                public double lower { get; set; }
494
 
                public double page_increment { get; set; }
495
 
                public double page_size { get; set; }
496
 
                public double step_increment { get; set; }
497
 
                public double upper { get; set; }
498
 
                public double value { get; set; }
499
 
                [HasEmitter]
500
 
                public virtual signal void changed ();
501
 
                [HasEmitter]
502
 
                public virtual signal void value_changed ();
503
 
        }
504
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_alignment_get_type ()")]
505
 
        public class Alignment : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
506
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
507
 
                public Alignment (float xalign, float yalign, float xscale, float yscale);
508
 
                public void get_padding (out uint padding_top, out uint padding_bottom, out uint padding_left, out uint padding_right);
509
 
                public void @set (float xalign, float yalign, float xscale, float yscale);
510
 
                public void set_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right);
511
 
                [NoAccessorMethod]
512
 
                public uint bottom_padding { get; set; }
513
 
                [NoAccessorMethod]
514
 
                public uint left_padding { get; set; }
515
 
                [NoAccessorMethod]
516
 
                public uint right_padding { get; set; }
517
 
                [NoAccessorMethod]
518
 
                public uint top_padding { get; set; }
519
 
                [NoAccessorMethod]
520
 
                public float xalign { get; set; }
521
 
                [NoAccessorMethod]
522
 
                public float xscale { get; set; }
523
 
                [NoAccessorMethod]
524
 
                public float yalign { get; set; }
525
 
                [NoAccessorMethod]
526
 
                public float yscale { get; set; }
527
 
        }
528
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_button_get_type ()")]
529
 
        public class AppChooserButton : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable, Gtk.AppChooser {
530
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
531
 
                public AppChooserButton (string content_type);
532
 
                public void append_custom_item (string name, string label, GLib.Icon icon);
533
 
                public void append_separator ();
534
 
                public unowned string? get_heading ();
535
 
                public bool get_show_default_item ();
536
 
                public bool get_show_dialog_item ();
537
 
                public void set_active_custom_item (string name);
538
 
                public void set_heading (string heading);
539
 
                public void set_show_default_item (bool setting);
540
 
                public void set_show_dialog_item (bool setting);
541
 
                public string heading { get; set; }
542
 
                public bool show_default_item { get; set construct; }
543
 
                public bool show_dialog_item { get; set construct; }
544
 
                public virtual signal void custom_item_activated (string item_name);
545
 
        }
546
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_dialog_get_type ()")]
547
 
        public class AppChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.AppChooser {
548
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
549
 
                public AppChooserDialog (Gtk.Window? parent, Gtk.DialogFlags flags, GLib.File file);
550
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
551
 
                public AppChooserDialog.for_content_type (Gtk.Window? parent, Gtk.DialogFlags flags, string content_type);
552
 
                public unowned string? get_heading ();
553
 
                public unowned Gtk.Widget get_widget ();
554
 
                public void set_heading (string heading);
555
 
                [NoAccessorMethod]
556
 
                public GLib.File gfile { owned get; construct; }
557
 
                public string heading { get; set; }
558
 
        }
559
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_widget_get_type ()")]
560
 
        public class AppChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.AppChooser {
561
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
562
 
                public AppChooserWidget (string content_type);
563
 
                public unowned string get_default_text ();
564
 
                public bool get_show_all ();
565
 
                public bool get_show_default ();
566
 
                public bool get_show_fallback ();
567
 
                public bool get_show_other ();
568
 
                public bool get_show_recommended ();
569
 
                public void set_default_text (string text);
570
 
                public void set_show_all (bool setting);
571
 
                public void set_show_default (bool setting);
572
 
                public void set_show_fallback (bool setting);
573
 
                public void set_show_other (bool setting);
574
 
                public void set_show_recommended (bool setting);
575
 
                public string default_text { get; set; }
576
 
                public bool show_all { get; set construct; }
577
 
                public bool show_default { get; set construct; }
578
 
                public bool show_fallback { get; set construct; }
579
 
                public bool show_other { get; set construct; }
580
 
                public bool show_recommended { get; set construct; }
581
 
                public virtual signal void application_activated (GLib.AppInfo app_info);
582
 
                public virtual signal void application_selected (GLib.AppInfo app_info);
583
 
                public virtual signal void populate_popup (Gtk.Menu menu, GLib.AppInfo app_info);
584
 
        }
585
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_application_get_type ()")]
586
 
        public class Application : GLib.Application, GLib.ActionGroup, GLib.ActionMap {
587
 
                [CCode (has_construct_function = false)]
588
 
                public Application (string? application_id, GLib.ApplicationFlags flags);
589
 
                public void add_accelerator (string accelerator, string action_name, GLib.Variant? parameter);
590
 
                public void add_window (Gtk.Window window);
591
 
                [CCode (array_length = false, array_null_terminated = true)]
592
 
                public string[] get_accels_for_action (string detailed_action_name);
593
 
                [CCode (array_length = false, array_null_terminated = true)]
594
 
                public string[] get_actions_for_accel (string accel);
595
 
                public unowned Gtk.Window get_active_window ();
596
 
                public unowned GLib.MenuModel get_app_menu ();
597
 
                public unowned GLib.Menu get_menu_by_id (string id);
598
 
                public unowned GLib.MenuModel get_menubar ();
599
 
                public unowned Gtk.Window? get_window_by_id (uint id);
600
 
                public unowned GLib.List<weak Gtk.Window> get_windows ();
601
 
                public uint inhibit (Gtk.Window? window, Gtk.ApplicationInhibitFlags flags, string? reason);
602
 
                public bool is_inhibited (Gtk.ApplicationInhibitFlags flags);
603
 
                [CCode (array_length = false, array_null_terminated = true)]
604
 
                public string[] list_action_descriptions ();
605
 
                public bool prefers_app_menu ();
606
 
                public void remove_accelerator (string action_name, GLib.Variant? parameter);
607
 
                public void remove_window (Gtk.Window window);
608
 
                public void set_accels_for_action (string detailed_action_name, [CCode (array_length = false, array_null_terminated = true)] string[] accels);
609
 
                public void set_app_menu (GLib.MenuModel? app_menu);
610
 
                public void set_menubar (GLib.MenuModel? menubar);
611
 
                public void uninhibit (uint cookie);
612
 
                public Gtk.Window active_window { get; }
613
 
                public GLib.MenuModel app_menu { get; set; }
614
 
                public GLib.MenuModel menubar { get; set; }
615
 
                [NoAccessorMethod]
616
 
                public bool register_session { get; set; }
617
 
                public virtual signal void window_added (Gtk.Window window);
618
 
                public virtual signal void window_removed (Gtk.Window window);
619
 
        }
620
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_application_window_get_type ()")]
621
 
        public class ApplicationWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable, GLib.ActionGroup, GLib.ActionMap {
622
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
623
 
                public ApplicationWindow (Gtk.Application application);
624
 
                public unowned Gtk.ShortcutsWindow? get_help_overlay ();
625
 
                public uint get_id ();
626
 
                public bool get_show_menubar ();
627
 
                public void set_help_overlay (Gtk.ShortcutsWindow? help_overlay);
628
 
                public void set_show_menubar (bool show_menubar);
629
 
                public bool show_menubar { get; set construct; }
630
 
        }
631
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_arrow_get_type ()")]
632
 
        public class Arrow : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
633
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
634
 
                public Arrow (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
635
 
                public void @set (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
636
 
                [NoAccessorMethod]
637
 
                public Gtk.ArrowType arrow_type { get; set; }
638
 
                [NoAccessorMethod]
639
 
                public Gtk.ShadowType shadow_type { get; set; }
640
 
        }
641
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_arrow_accessible_get_type ()")]
642
 
        public class ArrowAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
643
 
                [CCode (has_construct_function = false)]
644
 
                protected ArrowAccessible ();
645
 
        }
646
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_aspect_frame_get_type ()")]
647
 
        public class AspectFrame : Gtk.Frame, Atk.Implementor, Gtk.Buildable {
648
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
649
 
                public AspectFrame (string? label, float xalign, float yalign, float ratio, bool obey_child);
650
 
                public void @set (float xalign, float yalign, float ratio, bool obey_child);
651
 
                [NoAccessorMethod]
652
 
                public bool obey_child { get; set; }
653
 
                [NoAccessorMethod]
654
 
                public float ratio { get; set; }
655
 
                [NoAccessorMethod]
656
 
                public float xalign { get; set; }
657
 
                [NoAccessorMethod]
658
 
                public float yalign { get; set; }
659
 
        }
660
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_assistant_get_type ()")]
661
 
        public class Assistant : Gtk.Window, Atk.Implementor, Gtk.Buildable {
662
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
663
 
                public Assistant ();
664
 
                public void add_action_widget (Gtk.Widget child);
665
 
                public int append_page (Gtk.Widget page);
666
 
                public void commit ();
667
 
                public int get_current_page ();
668
 
                public int get_n_pages ();
669
 
                public unowned Gtk.Widget? get_nth_page (int page_num);
670
 
                public bool get_page_complete (Gtk.Widget page);
671
 
                public bool get_page_has_padding (Gtk.Widget page);
672
 
                [Version (deprecated_since = "3.2")]
673
 
                public unowned Gdk.Pixbuf get_page_header_image (Gtk.Widget page);
674
 
                [Version (deprecated_since = "3.2")]
675
 
                public unowned Gdk.Pixbuf get_page_side_image (Gtk.Widget page);
676
 
                public unowned string get_page_title (Gtk.Widget page);
677
 
                public Gtk.AssistantPageType get_page_type (Gtk.Widget page);
678
 
                public int insert_page (Gtk.Widget page, int position);
679
 
                public void next_page ();
680
 
                public int prepend_page (Gtk.Widget page);
681
 
                public void previous_page ();
682
 
                public void remove_action_widget (Gtk.Widget child);
683
 
                public void remove_page (int page_num);
684
 
                public void set_current_page (int page_num);
685
 
                public void set_forward_page_func (owned Gtk.AssistantPageFunc? page_func);
686
 
                public void set_page_complete (Gtk.Widget page, bool complete);
687
 
                public void set_page_has_padding (Gtk.Widget page, bool has_padding);
688
 
                [Version (deprecated_since = "3.2")]
689
 
                public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf? pixbuf);
690
 
                [Version (deprecated_since = "3.2")]
691
 
                public void set_page_side_image (Gtk.Widget page, Gdk.Pixbuf? pixbuf);
692
 
                public void set_page_title (Gtk.Widget page, string title);
693
 
                public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type);
694
 
                public void update_buttons_state ();
695
 
                [NoAccessorMethod]
696
 
                public int use_header_bar { get; construct; }
697
 
                public virtual signal void apply ();
698
 
                public virtual signal void cancel ();
699
 
                public virtual signal void close ();
700
 
                public virtual signal void escape ();
701
 
                public virtual signal void prepare (Gtk.Widget page);
702
 
        }
703
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_bin_get_type ()")]
704
 
        public abstract class Bin : Gtk.Container, Atk.Implementor, Gtk.Buildable {
705
 
                [CCode (has_construct_function = false)]
706
 
                protected Bin ();
707
 
                public unowned Gtk.Widget get_child ();
708
 
        }
709
 
        [CCode (cheader_filename = "gtk/gtk.h")]
710
 
        [Compact]
711
 
        public class BindingEntry {
712
 
                public weak Gtk.BindingSet binding_set;
713
 
                public uint destroyed;
714
 
                public weak Gtk.BindingEntry hash_next;
715
 
                public uint in_emission;
716
 
                public uint keyval;
717
 
                public uint marks_unbound;
718
 
                public Gdk.ModifierType modifiers;
719
 
                public weak Gtk.BindingEntry set_next;
720
 
                public weak Gtk.BindingSignal signals;
721
 
                public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args, ...);
722
 
                public static GLib.TokenType add_signal_from_string (Gtk.BindingSet binding_set, string signal_desc);
723
 
                public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList<Gtk.BindingArg?> binding_args);
724
 
                public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
725
 
                public static void skip (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
726
 
        }
727
 
        [CCode (cheader_filename = "gtk/gtk.h")]
728
 
        [Compact]
729
 
        public class BindingSet {
730
 
                public weak Gtk.BindingEntry current;
731
 
                public weak Gtk.BindingEntry entries;
732
 
                public uint parsed;
733
 
                public int priority;
734
 
                public weak string set_name;
735
 
                public bool activate (uint keyval, Gdk.ModifierType modifiers, GLib.Object object);
736
 
                [Version (deprecated_since = "3.0")]
737
 
                public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority);
738
 
                public static unowned Gtk.BindingSet by_class (GLib.ObjectClass object_class);
739
 
                public static unowned Gtk.BindingSet? find (string set_name);
740
 
                public static unowned Gtk.BindingSet @new (string name);
741
 
        }
742
 
        [CCode (cheader_filename = "gtk/gtk.h")]
743
 
        [Compact]
744
 
        public class BindingSignal {
745
 
                [CCode (array_length_cname = "n_args", array_length_type = "guint")]
746
 
                public weak Gtk.BindingArg[] args;
747
 
                public uint n_args;
748
 
                public weak Gtk.BindingSignal next;
749
 
                public weak string signal_name;
750
 
        }
751
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_boolean_cell_accessible_get_type ()")]
752
 
        public class BooleanCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component {
753
 
                [CCode (has_construct_function = false)]
754
 
                protected BooleanCellAccessible ();
755
 
        }
756
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_box_get_type ()")]
757
 
        public class Box : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
758
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
759
 
                public Box (Gtk.Orientation orientation, int spacing);
760
 
                public Gtk.BaselinePosition get_baseline_position ();
761
 
                public unowned Gtk.Widget? get_center_widget ();
762
 
                public bool get_homogeneous ();
763
 
                public int get_spacing ();
764
 
                public void pack_end (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
765
 
                public void pack_start (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
766
 
                public void query_child_packing (Gtk.Widget child, out bool expand, out bool fill, out uint padding, out Gtk.PackType pack_type);
767
 
                public void reorder_child (Gtk.Widget child, int position);
768
 
                public void set_baseline_position (Gtk.BaselinePosition position);
769
 
                public void set_center_widget (Gtk.Widget? widget);
770
 
                public void set_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type);
771
 
                public void set_homogeneous (bool homogeneous);
772
 
                public void set_spacing (int spacing);
773
 
                public Gtk.BaselinePosition baseline_position { get; set; }
774
 
                public bool homogeneous { get; set; }
775
 
                public int spacing { get; set; }
776
 
        }
777
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_builder_get_type ()")]
778
 
        public class Builder : GLib.Object {
779
 
                [CCode (has_construct_function = false)]
780
 
                public Builder ();
781
 
                public void add_callback_symbol (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
782
 
                public void add_callback_symbols (string first_callback_name, ...);
783
 
                public uint add_from_file (string filename) throws GLib.Error;
784
 
                public uint add_from_resource (string resource_path) throws GLib.Error;
785
 
                public uint add_from_string (string buffer, size_t length) throws GLib.Error;
786
 
                public uint add_objects_from_file (string filename, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
787
 
                public uint add_objects_from_resource (string resource_path, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
788
 
                public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
789
 
                public void connect_signals (void* user_data);
790
 
                public void connect_signals_full (Gtk.BuilderConnectFunc func);
791
 
                public void expose_object (string name, GLib.Object object);
792
 
                public uint extend_with_template (Gtk.Widget widget, GLib.Type template_type, string buffer, size_t length) throws GLib.Error;
793
 
                [CCode (has_construct_function = false)]
794
 
                public Builder.from_file (string filename);
795
 
                [CCode (has_construct_function = false)]
796
 
                public Builder.from_resource (string resource_path);
797
 
                [CCode (has_construct_function = false)]
798
 
                public Builder.from_string (string str, ssize_t length);
799
 
                public unowned Gtk.Application? get_application ();
800
 
                public unowned GLib.Object? get_object (string name);
801
 
                public GLib.SList<weak GLib.Object> get_objects ();
802
 
                public unowned string get_translation_domain ();
803
 
                public virtual GLib.Type get_type_from_name (string type_name);
804
 
                public unowned GLib.Callback lookup_callback_symbol (string callback_name);
805
 
                public void set_application (Gtk.Application application);
806
 
                public void set_translation_domain (string domain);
807
 
                public bool value_from_string (GLib.ParamSpec pspec, string str, out GLib.Value value) throws GLib.Error;
808
 
                public bool value_from_string_type (GLib.Type type, string str, out GLib.Value value) throws GLib.Error;
809
 
                public string translation_domain { get; set; }
810
 
        }
811
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_button_get_type ()")]
812
 
        public class Button : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
813
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
814
 
                public Button ();
815
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
816
 
                public Button.from_icon_name (string icon_name, Gtk.IconSize size = Gtk.IconSize.BUTTON);
817
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
818
 
                public Button.from_stock (string stock_id);
819
 
                public void get_alignment (out float xalign, out float yalign);
820
 
                public bool get_always_show_image ();
821
 
                public unowned Gdk.Window get_event_window ();
822
 
                public bool get_focus_on_click ();
823
 
                public unowned Gtk.Widget? get_image ();
824
 
                public Gtk.PositionType get_image_position ();
825
 
                public unowned string get_label ();
826
 
                public Gtk.ReliefStyle get_relief ();
827
 
                public bool get_use_stock ();
828
 
                public bool get_use_underline ();
829
 
                public void set_alignment (float xalign, float yalign);
830
 
                public void set_always_show_image (bool always_show);
831
 
                public void set_focus_on_click (bool focus_on_click);
832
 
                public void set_image (Gtk.Widget image);
833
 
                public void set_image_position (Gtk.PositionType position);
834
 
                public void set_label (string? label);
835
 
                public void set_relief (Gtk.ReliefStyle relief);
836
 
                public void set_use_stock (bool use_stock);
837
 
                public void set_use_underline (bool use_underline);
838
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
839
 
                public Button.with_label (string label);
840
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
841
 
                public Button.with_mnemonic (string label);
842
 
                public bool always_show_image { get; set construct; }
843
 
                public Gtk.Widget image { get; set; }
844
 
                public Gtk.PositionType image_position { get; set; }
845
 
                public string label { get; set construct; }
846
 
                public Gtk.ReliefStyle relief { get; set; }
847
 
                public bool use_stock { get; set construct; }
848
 
                public bool use_underline { get; set construct; }
849
 
                [NoAccessorMethod]
850
 
                public float xalign { get; set; }
851
 
                [NoAccessorMethod]
852
 
                public float yalign { get; set; }
853
 
                public virtual signal void activate ();
854
 
                [HasEmitter]
855
 
                public virtual signal void clicked ();
856
 
                [HasEmitter]
857
 
                [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.enter_notify_event")]
858
 
                public virtual signal void enter ();
859
 
                [HasEmitter]
860
 
                [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.leave_notify_event")]
861
 
                public virtual signal void leave ();
862
 
                [HasEmitter]
863
 
                [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.button_press_event")]
864
 
                public virtual signal void pressed ();
865
 
                [HasEmitter]
866
 
                [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.button_release_event")]
867
 
                public virtual signal void released ();
868
 
        }
869
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_button_accessible_get_type ()")]
870
 
        public class ButtonAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Action, Atk.Image {
871
 
                [CCode (has_construct_function = false)]
872
 
                protected ButtonAccessible ();
873
 
        }
874
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_button_box_get_type ()")]
875
 
        public class ButtonBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
876
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
877
 
                public ButtonBox (Gtk.Orientation orientation);
878
 
                public bool get_child_non_homogeneous (Gtk.Widget child);
879
 
                public bool get_child_secondary (Gtk.Widget child);
880
 
                public Gtk.ButtonBoxStyle get_layout ();
881
 
                public void set_child_non_homogeneous (Gtk.Widget child, bool non_homogeneous);
882
 
                public void set_child_secondary (Gtk.Widget child, bool is_secondary);
883
 
                public void set_layout (Gtk.ButtonBoxStyle layout_style);
884
 
                [NoAccessorMethod]
885
 
                public Gtk.ButtonBoxStyle layout_style { get; set; }
886
 
        }
887
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_calendar_get_type ()")]
888
 
        public class Calendar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
889
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
890
 
                public Calendar ();
891
 
                public void clear_marks ();
892
 
                public void get_date (out uint year, out uint month, out uint day);
893
 
                public bool get_day_is_marked (uint day);
894
 
                public int get_detail_height_rows ();
895
 
                public int get_detail_width_chars ();
896
 
                public Gtk.CalendarDisplayOptions get_display_options ();
897
 
                public void mark_day (uint day);
898
 
                public void select_day (uint day);
899
 
                public void select_month (uint month, uint year);
900
 
                public void set_detail_func (owned Gtk.CalendarDetailFunc func);
901
 
                public void set_detail_height_rows (int rows);
902
 
                public void set_detail_width_chars (int chars);
903
 
                public void set_display_options (Gtk.CalendarDisplayOptions flags);
904
 
                public void unmark_day (uint day);
905
 
                [NoAccessorMethod]
906
 
                public int day { get; set; }
907
 
                public int detail_height_rows { get; set; }
908
 
                public int detail_width_chars { get; set; }
909
 
                [NoAccessorMethod]
910
 
                public int month { get; set; }
911
 
                [NoAccessorMethod]
912
 
                public bool no_month_change { get; set; }
913
 
                [NoAccessorMethod]
914
 
                public bool show_day_names { get; set; }
915
 
                [NoAccessorMethod]
916
 
                public bool show_details { get; set; }
917
 
                [NoAccessorMethod]
918
 
                public bool show_heading { get; set; }
919
 
                [NoAccessorMethod]
920
 
                public bool show_week_numbers { get; set; }
921
 
                [NoAccessorMethod]
922
 
                public int year { get; set; }
923
 
                public virtual signal void day_selected ();
924
 
                public virtual signal void day_selected_double_click ();
925
 
                public virtual signal void month_changed ();
926
 
                public virtual signal void next_month ();
927
 
                public virtual signal void next_year ();
928
 
                public virtual signal void prev_month ();
929
 
                public virtual signal void prev_year ();
930
 
        }
931
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_cell_accessible_get_type ()")]
932
 
        public class CellAccessible : Gtk.Accessible, Atk.Action, Atk.Component {
933
 
                [CCode (has_construct_function = false)]
934
 
                protected CellAccessible ();
935
 
                [NoWrapper]
936
 
                public virtual void update_cache (bool emit_signal);
937
 
        }
938
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_get_type ()")]
939
 
        public abstract class CellArea : GLib.InitiallyUnowned, Gtk.CellLayout, Gtk.Buildable {
940
 
                [CCode (has_construct_function = false)]
941
 
                protected CellArea ();
942
 
                public virtual bool activate (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool edit_only);
943
 
                public bool activate_cell (Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
944
 
                public virtual void add (Gtk.CellRenderer renderer);
945
 
                public void add_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
946
 
                public void add_with_properties (Gtk.CellRenderer renderer, ...);
947
 
                public void attribute_connect (Gtk.CellRenderer renderer, string attribute, int column);
948
 
                public void attribute_disconnect (Gtk.CellRenderer renderer, string attribute);
949
 
                public int attribute_get_column (Gtk.CellRenderer renderer, string attribute);
950
 
                public void cell_get (Gtk.CellRenderer renderer, ...);
951
 
                public void cell_get_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
952
 
                public void cell_get_valist (Gtk.CellRenderer renderer, string first_property_name, va_list var_args);
953
 
                public void cell_set (Gtk.CellRenderer renderer, ...);
954
 
                public void cell_set_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
955
 
                public void cell_set_valist (Gtk.CellRenderer renderer, string first_property_name, va_list var_args);
956
 
                public virtual Gtk.CellAreaContext copy_context (Gtk.CellAreaContext context);
957
 
                public virtual Gtk.CellAreaContext create_context ();
958
 
                public virtual int event (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
959
 
                [CCode (cname = "gtk_cell_area_class_find_cell_property")]
960
 
                public class unowned GLib.ParamSpec find_cell_property (string property_name);
961
 
                public virtual bool focus (Gtk.DirectionType direction);
962
 
                public virtual void @foreach (Gtk.CellCallback callback);
963
 
                public virtual void foreach_alloc (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle background_area, Gtk.CellAllocCallback callback);
964
 
                public Gdk.Rectangle get_cell_allocation (Gtk.CellAreaContext context, Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Rectangle cell_area);
965
 
                public unowned Gtk.CellRenderer get_cell_at_position (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, int x, int y, out Gdk.Rectangle alloc_area);
966
 
                [NoWrapper]
967
 
                public virtual void get_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
968
 
                public unowned string get_current_path_string ();
969
 
                public unowned Gtk.CellEditable get_edit_widget ();
970
 
                public unowned Gtk.CellRenderer get_edited_cell ();
971
 
                public unowned Gtk.CellRenderer get_focus_cell ();
972
 
                public unowned Gtk.CellRenderer? get_focus_from_sibling (Gtk.CellRenderer renderer);
973
 
                public unowned GLib.List<Gtk.CellRenderer> get_focus_siblings (Gtk.CellRenderer renderer);
974
 
                public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_height, out int natural_height);
975
 
                public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
976
 
                public virtual void get_preferred_width (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_width, out int natural_width);
977
 
                public virtual void get_preferred_width_for_height (Gtk.CellAreaContext context, Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
978
 
                public virtual Gtk.SizeRequestMode get_request_mode ();
979
 
                public bool has_renderer (Gtk.CellRenderer renderer);
980
 
                public Gdk.Rectangle inner_cell_area (Gtk.Widget widget, Gdk.Rectangle cell_area);
981
 
                [CCode (cname = "gtk_cell_area_class_install_cell_property")]
982
 
                public class void install_cell_property (uint property_id, GLib.ParamSpec pspec);
983
 
                public virtual bool is_activatable ();
984
 
                public bool is_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
985
 
                [CCode (cname = "gtk_cell_area_class_list_cell_properties")]
986
 
                public class (unowned GLib.ParamSpec)[] list_cell_properties ();
987
 
                public virtual void remove (Gtk.CellRenderer renderer);
988
 
                public void remove_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
989
 
                public virtual void render (Gtk.CellAreaContext context, Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool paint_focus);
990
 
                public void request_renderer (Gtk.CellRenderer renderer, Gtk.Orientation orientation, Gtk.Widget widget, int for_size, out int minimum_size, out int natural_size);
991
 
                [NoWrapper]
992
 
                public virtual void set_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
993
 
                public void set_focus_cell (Gtk.CellRenderer renderer);
994
 
                public void stop_editing (bool canceled);
995
 
                public Gtk.CellEditable edit_widget { get; }
996
 
                public Gtk.CellRenderer edited_cell { get; }
997
 
                public Gtk.CellRenderer focus_cell { get; set; }
998
 
                public virtual signal void add_editable (Gtk.CellRenderer p0, Gtk.CellEditable p1, Gdk.Rectangle p2, string p3);
999
 
                [HasEmitter]
1000
 
                public virtual signal void apply_attributes (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
1001
 
                public virtual signal void focus_changed (Gtk.CellRenderer p0, string p1);
1002
 
                public virtual signal void remove_editable (Gtk.CellRenderer p0, Gtk.CellEditable p1);
1003
 
        }
1004
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_box_get_type ()")]
1005
 
        public class CellAreaBox : Gtk.CellArea, Gtk.CellLayout, Gtk.Buildable, Gtk.Orientable {
1006
 
                [CCode (has_construct_function = false, type = "GtkCellArea*")]
1007
 
                public CellAreaBox ();
1008
 
                public int get_spacing ();
1009
 
                public void set_spacing (int spacing);
1010
 
                public int spacing { get; set; }
1011
 
        }
1012
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_context_get_type ()")]
1013
 
        public class CellAreaContext : GLib.Object {
1014
 
                [CCode (has_construct_function = false)]
1015
 
                protected CellAreaContext ();
1016
 
                public virtual void allocate (int width, int height);
1017
 
                public void get_allocation (out int width, out int height);
1018
 
                public unowned Gtk.CellArea get_area ();
1019
 
                public void get_preferred_height (out int minimum_height, out int natural_height);
1020
 
                public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
1021
 
                public void get_preferred_width (out int minimum_width, out int natural_width);
1022
 
                public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
1023
 
                public void push_preferred_height (int minimum_height, int natural_height);
1024
 
                public void push_preferred_width (int minimum_width, int natural_width);
1025
 
                public virtual void reset ();
1026
 
                public Gtk.CellArea area { get; construct; }
1027
 
                [NoAccessorMethod]
1028
 
                public int minimum_height { get; }
1029
 
                [NoAccessorMethod]
1030
 
                public int minimum_width { get; }
1031
 
                [NoAccessorMethod]
1032
 
                public int natural_height { get; }
1033
 
                [NoAccessorMethod]
1034
 
                public int natural_width { get; }
1035
 
        }
1036
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_get_type ()")]
1037
 
        public abstract class CellRenderer : GLib.InitiallyUnowned {
1038
 
                [CCode (has_construct_function = false)]
1039
 
                protected CellRenderer ();
1040
 
                public virtual bool activate (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1041
 
                public virtual Gdk.Rectangle get_aligned_area (Gtk.Widget widget, Gtk.CellRendererState flags, Gdk.Rectangle cell_area);
1042
 
                public void get_alignment (out float xalign, out float yalign);
1043
 
                public void get_fixed_size (out int width, out int height);
1044
 
                public void get_padding (out int xpad, out int ypad);
1045
 
                public virtual void get_preferred_height (Gtk.Widget widget, out int minimum_size, out int natural_size);
1046
 
                public virtual void get_preferred_height_for_width (Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
1047
 
                public void get_preferred_size (Gtk.Widget widget, out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
1048
 
                public virtual void get_preferred_width (Gtk.Widget widget, out int minimum_size, out int natural_size);
1049
 
                public virtual void get_preferred_width_for_height (Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
1050
 
                public virtual Gtk.SizeRequestMode get_request_mode ();
1051
 
                public bool get_sensitive ();
1052
 
                [Version (deprecated_since = "3.0", replacement = "get_preferred_size")]
1053
 
                public abstract void get_size (Gtk.Widget widget, Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
1054
 
                public Gtk.StateFlags get_state (Gtk.Widget widget, Gtk.CellRendererState cell_state);
1055
 
                public bool get_visible ();
1056
 
                public bool is_activatable ();
1057
 
                public abstract void render (Cairo.Context cr, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1058
 
                [CCode (cname = "gtk_cell_renderer_class_set_accessible_type")]
1059
 
                public class void set_accessible_type (GLib.Type type);
1060
 
                public void set_alignment (float xalign, float yalign);
1061
 
                public void set_fixed_size (int width, int height);
1062
 
                public void set_padding (int xpad, int ypad);
1063
 
                public void set_sensitive (bool sensitive);
1064
 
                public void set_visible (bool visible);
1065
 
                public virtual unowned Gtk.CellEditable? start_editing (Gdk.Event? event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1066
 
                public void stop_editing (bool canceled);
1067
 
                [NoAccessorMethod]
1068
 
                public string cell_background { set; }
1069
 
                [NoAccessorMethod]
1070
 
                [Version (deprecated_since = "3.4", replacement = "Gtk.CellRenderer.cell_background_rgba")]
1071
 
                public Gdk.Color cell_background_gdk { get; set; }
1072
 
                [NoAccessorMethod]
1073
 
                public Gdk.RGBA cell_background_rgba { get; set; }
1074
 
                [NoAccessorMethod]
1075
 
                public bool cell_background_set { get; set; }
1076
 
                [NoAccessorMethod]
1077
 
                public bool editing { get; }
1078
 
                [NoAccessorMethod]
1079
 
                public int height { get; set; }
1080
 
                [NoAccessorMethod]
1081
 
                public bool is_expanded { get; set; }
1082
 
                [NoAccessorMethod]
1083
 
                public bool is_expander { get; set; }
1084
 
                [NoAccessorMethod]
1085
 
                public Gtk.CellRendererMode mode { get; set; }
1086
 
                public bool sensitive { get; set; }
1087
 
                public bool visible { get; set; }
1088
 
                [NoAccessorMethod]
1089
 
                public int width { get; set; }
1090
 
                [NoAccessorMethod]
1091
 
                public float xalign { get; set; }
1092
 
                [NoAccessorMethod]
1093
 
                public uint xpad { get; set; }
1094
 
                [NoAccessorMethod]
1095
 
                public float yalign { get; set; }
1096
 
                [NoAccessorMethod]
1097
 
                public uint ypad { get; set; }
1098
 
                [HasEmitter]
1099
 
                public virtual signal void editing_canceled ();
1100
 
                public virtual signal void editing_started (Gtk.CellEditable editable, string path);
1101
 
        }
1102
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_accel_get_type ()")]
1103
 
        public class CellRendererAccel : Gtk.CellRendererText {
1104
 
                [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1105
 
                public CellRendererAccel ();
1106
 
                [NoAccessorMethod]
1107
 
                public uint accel_key { get; set; }
1108
 
                [NoAccessorMethod]
1109
 
                public Gtk.CellRendererAccelMode accel_mode { get; set; }
1110
 
                [NoAccessorMethod]
1111
 
                public Gdk.ModifierType accel_mods { get; set; }
1112
 
                [NoAccessorMethod]
1113
 
                public uint keycode { get; set; }
1114
 
                public virtual signal void accel_cleared (string path_string);
1115
 
                public virtual signal void accel_edited (string path_string, uint accel_key, Gdk.ModifierType accel_mods, uint hardware_keycode);
1116
 
        }
1117
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_combo_get_type ()")]
1118
 
        public class CellRendererCombo : Gtk.CellRendererText {
1119
 
                [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1120
 
                public CellRendererCombo ();
1121
 
                [NoAccessorMethod]
1122
 
                public bool has_entry { get; set; }
1123
 
                [NoAccessorMethod]
1124
 
                public Gtk.TreeModel model { owned get; set; }
1125
 
                [NoAccessorMethod]
1126
 
                public int text_column { get; set; }
1127
 
                public virtual signal void changed (string p0, Gtk.TreeIter p1);
1128
 
        }
1129
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_pixbuf_get_type ()")]
1130
 
        public class CellRendererPixbuf : Gtk.CellRenderer {
1131
 
                [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1132
 
                public CellRendererPixbuf ();
1133
 
                [NoAccessorMethod]
1134
 
                public bool follow_state { get; set; }
1135
 
                [NoAccessorMethod]
1136
 
                public GLib.Icon gicon { owned get; set; }
1137
 
                [NoAccessorMethod]
1138
 
                public string icon_name { owned get; set; }
1139
 
                [NoAccessorMethod]
1140
 
                public Gdk.Pixbuf pixbuf { owned get; set; }
1141
 
                [NoAccessorMethod]
1142
 
                public Gdk.Pixbuf pixbuf_expander_closed { owned get; set; }
1143
 
                [NoAccessorMethod]
1144
 
                public Gdk.Pixbuf pixbuf_expander_open { owned get; set; }
1145
 
                [NoAccessorMethod]
1146
 
                public string stock_detail { owned get; set; }
1147
 
                [NoAccessorMethod]
1148
 
                public string stock_id { owned get; set; }
1149
 
                [NoAccessorMethod]
1150
 
                public uint stock_size { get; set; }
1151
 
                [NoAccessorMethod]
1152
 
                public Cairo.Surface surface { owned get; set; }
1153
 
        }
1154
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_progress_get_type ()")]
1155
 
        public class CellRendererProgress : Gtk.CellRenderer, Gtk.Orientable {
1156
 
                [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1157
 
                public CellRendererProgress ();
1158
 
                [NoAccessorMethod]
1159
 
                public bool inverted { get; set; }
1160
 
                [NoAccessorMethod]
1161
 
                public int pulse { get; set; }
1162
 
                [NoAccessorMethod]
1163
 
                public string text { owned get; set; }
1164
 
                [NoAccessorMethod]
1165
 
                public float text_xalign { get; set; }
1166
 
                [NoAccessorMethod]
1167
 
                public float text_yalign { get; set; }
1168
 
                [NoAccessorMethod]
1169
 
                public int value { get; set; }
1170
 
        }
1171
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_spin_get_type ()")]
1172
 
        public class CellRendererSpin : Gtk.CellRendererText {
1173
 
                [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1174
 
                public CellRendererSpin ();
1175
 
                [NoAccessorMethod]
1176
 
                public Gtk.Adjustment adjustment { owned get; set; }
1177
 
                [NoAccessorMethod]
1178
 
                public double climb_rate { get; set; }
1179
 
                [NoAccessorMethod]
1180
 
                public uint digits { get; set; }
1181
 
        }
1182
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_spinner_get_type ()")]
1183
 
        public class CellRendererSpinner : Gtk.CellRenderer {
1184
 
                [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1185
 
                public CellRendererSpinner ();
1186
 
                [NoAccessorMethod]
1187
 
                public bool active { get; set; }
1188
 
                [NoAccessorMethod]
1189
 
                public uint pulse { get; set; }
1190
 
                [NoAccessorMethod]
1191
 
                public Gtk.IconSize size { get; set; }
1192
 
        }
1193
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_text_get_type ()")]
1194
 
        public class CellRendererText : Gtk.CellRenderer {
1195
 
                [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1196
 
                public CellRendererText ();
1197
 
                public void set_fixed_height_from_font (int number_of_rows);
1198
 
                [NoAccessorMethod]
1199
 
                public bool align_set { get; set; }
1200
 
                [NoAccessorMethod]
1201
 
                public Pango.Alignment alignment { get; set; }
1202
 
                [NoAccessorMethod]
1203
 
                public Pango.AttrList attributes { owned get; set; }
1204
 
                [NoAccessorMethod]
1205
 
                public string background { set; }
1206
 
                [NoAccessorMethod]
1207
 
                [Version (deprecated_since = "3.4", replacement = "background_rgba")]
1208
 
                public Gdk.Color background_gdk { get; set; }
1209
 
                [NoAccessorMethod]
1210
 
                public Gdk.RGBA background_rgba { get; set; }
1211
 
                [NoAccessorMethod]
1212
 
                public bool background_set { get; set; }
1213
 
                [NoAccessorMethod]
1214
 
                public bool editable { get; set; }
1215
 
                [NoAccessorMethod]
1216
 
                public bool editable_set { get; set; }
1217
 
                [NoAccessorMethod]
1218
 
                public Pango.EllipsizeMode ellipsize { get; set; }
1219
 
                [NoAccessorMethod]
1220
 
                public bool ellipsize_set { get; set; }
1221
 
                [NoAccessorMethod]
1222
 
                public string family { owned get; set; }
1223
 
                [NoAccessorMethod]
1224
 
                public bool family_set { get; set; }
1225
 
                [NoAccessorMethod]
1226
 
                public string font { owned get; set; }
1227
 
                [NoAccessorMethod]
1228
 
                public Pango.FontDescription font_desc { owned get; set; }
1229
 
                [NoAccessorMethod]
1230
 
                public string foreground { set; }
1231
 
                [NoAccessorMethod]
1232
 
                [Version (deprecated_since = "3.4", replacement = "foreground_rgba")]
1233
 
                public Gdk.Color foreground_gdk { get; set; }
1234
 
                [NoAccessorMethod]
1235
 
                public Gdk.RGBA foreground_rgba { get; set; }
1236
 
                [NoAccessorMethod]
1237
 
                public bool foreground_set { get; set; }
1238
 
                [NoAccessorMethod]
1239
 
                public string language { owned get; set; }
1240
 
                [NoAccessorMethod]
1241
 
                public bool language_set { get; set; }
1242
 
                [NoAccessorMethod]
1243
 
                public string markup { set; }
1244
 
                [NoAccessorMethod]
1245
 
                public int max_width_chars { get; set; }
1246
 
                [NoAccessorMethod]
1247
 
                public string placeholder_text { owned get; set; }
1248
 
                [NoAccessorMethod]
1249
 
                public int rise { get; set; }
1250
 
                [NoAccessorMethod]
1251
 
                public bool rise_set { get; set; }
1252
 
                [NoAccessorMethod]
1253
 
                public double scale { get; set; }
1254
 
                [NoAccessorMethod]
1255
 
                public bool scale_set { get; set; }
1256
 
                [NoAccessorMethod]
1257
 
                public bool single_paragraph_mode { get; set; }
1258
 
                [NoAccessorMethod]
1259
 
                public int size { get; set; }
1260
 
                [NoAccessorMethod]
1261
 
                public double size_points { get; set; }
1262
 
                [NoAccessorMethod]
1263
 
                public bool size_set { get; set; }
1264
 
                [NoAccessorMethod]
1265
 
                public Pango.Stretch stretch { get; set; }
1266
 
                [NoAccessorMethod]
1267
 
                public bool stretch_set { get; set; }
1268
 
                [NoAccessorMethod]
1269
 
                public bool strikethrough { get; set; }
1270
 
                [NoAccessorMethod]
1271
 
                public bool strikethrough_set { get; set; }
1272
 
                [NoAccessorMethod]
1273
 
                public Pango.Style style { get; set; }
1274
 
                [NoAccessorMethod]
1275
 
                public bool style_set { get; set; }
1276
 
                [NoAccessorMethod]
1277
 
                public string text { owned get; set; }
1278
 
                [NoAccessorMethod]
1279
 
                public Pango.Underline underline { get; set; }
1280
 
                [NoAccessorMethod]
1281
 
                public bool underline_set { get; set; }
1282
 
                [NoAccessorMethod]
1283
 
                public Pango.Variant variant { get; set; }
1284
 
                [NoAccessorMethod]
1285
 
                public bool variant_set { get; set; }
1286
 
                [NoAccessorMethod]
1287
 
                public int weight { get; set; }
1288
 
                [NoAccessorMethod]
1289
 
                public bool weight_set { get; set; }
1290
 
                [NoAccessorMethod]
1291
 
                public int width_chars { get; set; }
1292
 
                [NoAccessorMethod]
1293
 
                public Pango.WrapMode wrap_mode { get; set; }
1294
 
                [NoAccessorMethod]
1295
 
                public int wrap_width { get; set; }
1296
 
                public virtual signal void edited (string path, string new_text);
1297
 
        }
1298
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_toggle_get_type ()")]
1299
 
        public class CellRendererToggle : Gtk.CellRenderer {
1300
 
                [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1301
 
                public CellRendererToggle ();
1302
 
                public bool get_activatable ();
1303
 
                public bool get_active ();
1304
 
                public bool get_radio ();
1305
 
                public void set_activatable (bool setting);
1306
 
                public void set_active (bool setting);
1307
 
                public void set_radio (bool radio);
1308
 
                public bool activatable { get; set; }
1309
 
                public bool active { get; set; }
1310
 
                [NoAccessorMethod]
1311
 
                public bool inconsistent { get; set; }
1312
 
                [NoAccessorMethod]
1313
 
                public int indicator_size { get; set; }
1314
 
                public bool radio { get; set; }
1315
 
                public virtual signal void toggled (string path);
1316
 
        }
1317
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_view_get_type ()")]
1318
 
        public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable {
1319
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1320
 
                public CellView ();
1321
 
                public Gtk.TreePath? get_displayed_row ();
1322
 
                public bool get_draw_sensitive ();
1323
 
                public bool get_fit_model ();
1324
 
                public unowned Gtk.TreeModel? get_model ();
1325
 
                public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition);
1326
 
                [Version (deprecated_since = "3.4", replacement = "set_background_rgba")]
1327
 
                public void set_background_color (Gdk.Color color);
1328
 
                public void set_background_rgba (Gdk.RGBA rgba);
1329
 
                public void set_displayed_row (Gtk.TreePath? path);
1330
 
                public void set_draw_sensitive (bool draw_sensitive);
1331
 
                public void set_fit_model (bool fit_model);
1332
 
                public void set_model (Gtk.TreeModel? model);
1333
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1334
 
                public CellView.with_context (Gtk.CellArea area, Gtk.CellAreaContext context);
1335
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1336
 
                public CellView.with_markup (string markup);
1337
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1338
 
                public CellView.with_pixbuf (Gdk.Pixbuf pixbuf);
1339
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1340
 
                public CellView.with_text (string text);
1341
 
                [NoAccessorMethod]
1342
 
                public string background { set; }
1343
 
                [NoAccessorMethod]
1344
 
                [Version (deprecated_since = "3.4", replacement = "background_rgba")]
1345
 
                public Gdk.Color background_gdk { get; set; }
1346
 
                [NoAccessorMethod]
1347
 
                public Gdk.RGBA background_rgba { get; set; }
1348
 
                [NoAccessorMethod]
1349
 
                public bool background_set { get; set; }
1350
 
                [NoAccessorMethod]
1351
 
                public Gtk.CellArea cell_area { owned get; construct; }
1352
 
                [NoAccessorMethod]
1353
 
                public Gtk.CellAreaContext cell_area_context { owned get; construct; }
1354
 
                public bool draw_sensitive { get; set; }
1355
 
                public bool fit_model { get; set; }
1356
 
                public Gtk.TreeModel model { get; set; }
1357
 
        }
1358
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_check_button_get_type ()")]
1359
 
        public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
1360
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1361
 
                public CheckButton ();
1362
 
                [NoWrapper]
1363
 
                public virtual void draw_indicator (Cairo.Context cr);
1364
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1365
 
                public CheckButton.with_label (string label);
1366
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1367
 
                public CheckButton.with_mnemonic (string label);
1368
 
        }
1369
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_check_menu_item_get_type ()")]
1370
 
        public class CheckMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
1371
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1372
 
                public CheckMenuItem ();
1373
 
                [NoWrapper]
1374
 
                public virtual void draw_indicator (Cairo.Context cr);
1375
 
                public bool get_active ();
1376
 
                public bool get_draw_as_radio ();
1377
 
                public bool get_inconsistent ();
1378
 
                public void set_active (bool is_active);
1379
 
                public void set_draw_as_radio (bool draw_as_radio);
1380
 
                public void set_inconsistent (bool setting);
1381
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1382
 
                public CheckMenuItem.with_label (string label);
1383
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1384
 
                public CheckMenuItem.with_mnemonic (string label);
1385
 
                public bool active { get; set; }
1386
 
                public bool draw_as_radio { get; set; }
1387
 
                public bool inconsistent { get; set; }
1388
 
                [HasEmitter]
1389
 
                public virtual signal void toggled ();
1390
 
        }
1391
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_check_menu_item_accessible_get_type ()")]
1392
 
        public class CheckMenuItemAccessible : Gtk.MenuItemAccessible, Atk.Component, Atk.Action, Atk.Selection {
1393
 
                [CCode (has_construct_function = false)]
1394
 
                protected CheckMenuItemAccessible ();
1395
 
        }
1396
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_clipboard_get_type ()")]
1397
 
        public class Clipboard : GLib.Object {
1398
 
                [CCode (has_construct_function = false)]
1399
 
                protected Clipboard ();
1400
 
                public void clear ();
1401
 
                public static unowned Gtk.Clipboard @get (Gdk.Atom selection);
1402
 
                public static unowned Gtk.Clipboard get_default (Gdk.Display display);
1403
 
                public unowned Gdk.Display get_display ();
1404
 
                public static unowned Gtk.Clipboard get_for_display (Gdk.Display display, Gdk.Atom selection);
1405
 
                public unowned GLib.Object? get_owner ();
1406
 
                public void request_contents (Gdk.Atom target, [CCode (scope = "async")] Gtk.ClipboardReceivedFunc callback);
1407
 
                public void request_image ([CCode (scope = "async")] Gtk.ClipboardImageReceivedFunc callback);
1408
 
                public void request_rich_text (Gtk.TextBuffer buffer, [CCode (scope = "async")] Gtk.ClipboardRichTextReceivedFunc callback);
1409
 
                public void request_targets ([CCode (scope = "async")] Gtk.ClipboardTargetsReceivedFunc callback);
1410
 
                public void request_text ([CCode (scope = "async")] Gtk.ClipboardTextReceivedFunc callback);
1411
 
                public void request_uris ([CCode (scope = "async")] Gtk.ClipboardURIReceivedFunc callback);
1412
 
                public void set_can_store (Gtk.TargetEntry[]? targets);
1413
 
                public void set_image (Gdk.Pixbuf pixbuf);
1414
 
                public void set_text (string text, int len);
1415
 
                public bool set_with_data (Gtk.TargetEntry[] targets, [CCode (scope = "async")] Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func);
1416
 
                public bool set_with_owner (Gtk.TargetEntry[] targets, [CCode (scope = "async")] Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func, GLib.Object owner);
1417
 
                public void store ();
1418
 
                public Gtk.SelectionData? wait_for_contents (Gdk.Atom target);
1419
 
                public Gdk.Pixbuf? wait_for_image ();
1420
 
                [CCode (array_length_type = "gsize")]
1421
 
                public uint8[]? wait_for_rich_text (Gtk.TextBuffer buffer, out Gdk.Atom format);
1422
 
                public bool wait_for_targets (out Gdk.Atom[] targets);
1423
 
                public string? wait_for_text ();
1424
 
                [CCode (array_length = false, array_null_terminated = true)]
1425
 
                public string[]? wait_for_uris ();
1426
 
                public bool wait_is_image_available ();
1427
 
                public bool wait_is_rich_text_available (Gtk.TextBuffer buffer);
1428
 
                public bool wait_is_target_available (Gdk.Atom target);
1429
 
                public bool wait_is_text_available ();
1430
 
                public bool wait_is_uris_available ();
1431
 
                public virtual signal void owner_change (Gdk.Event p0);
1432
 
        }
1433
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_button_get_type ()")]
1434
 
        public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.ColorChooser {
1435
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1436
 
                public ColorButton ();
1437
 
                public uint16 get_alpha ();
1438
 
                public void get_color (out Gdk.Color color);
1439
 
                public unowned string get_title ();
1440
 
                public bool get_use_alpha ();
1441
 
                public void set_alpha (uint16 alpha);
1442
 
                public void set_color (Gdk.Color color);
1443
 
                public void set_title (string title);
1444
 
                public void set_use_alpha (bool use_alpha);
1445
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1446
 
                public ColorButton.with_color (Gdk.Color color);
1447
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1448
 
                public ColorButton.with_rgba (Gdk.RGBA rgba);
1449
 
                public uint alpha { get; set; }
1450
 
                [Version (deprecated_since = "3.4", replacement = "rgba")]
1451
 
                public Gdk.Color color { get; set; }
1452
 
                public Gdk.RGBA rgba { get; set; }
1453
 
                [NoAccessorMethod]
1454
 
                public bool show_editor { get; set; }
1455
 
                public string title { get; set; }
1456
 
                public bool use_alpha { get; set; }
1457
 
                public virtual signal void color_set ();
1458
 
        }
1459
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_chooser_dialog_get_type ()")]
1460
 
        public class ColorChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser {
1461
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1462
 
                public ColorChooserDialog (string? title, Gtk.Window? parent);
1463
 
                [NoAccessorMethod]
1464
 
                public bool show_editor { get; set; }
1465
 
        }
1466
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_chooser_widget_get_type ()")]
1467
 
        public class ColorChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.ColorChooser {
1468
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1469
 
                public ColorChooserWidget ();
1470
 
                [NoAccessorMethod]
1471
 
                public bool show_editor { get; set; }
1472
 
        }
1473
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_selection_get_type ()")]
1474
 
        public class ColorSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1475
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1476
 
                public ColorSelection ();
1477
 
                public uint16 get_current_alpha ();
1478
 
                [Version (deprecated_since = "3.4", replacement = "get_current_rgba")]
1479
 
                public void get_current_color (out Gdk.Color color);
1480
 
                public Gdk.RGBA get_current_rgba ();
1481
 
                public bool get_has_opacity_control ();
1482
 
                public bool get_has_palette ();
1483
 
                public uint16 get_previous_alpha ();
1484
 
                public void get_previous_color (out Gdk.Color color);
1485
 
                public Gdk.RGBA get_previous_rgba ();
1486
 
                public bool is_adjusting ();
1487
 
                public static bool palette_from_string (string str, out Gdk.Color[] colors);
1488
 
                public static string palette_to_string (Gdk.Color[] colors);
1489
 
                public static unowned Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func);
1490
 
                public void set_current_alpha (uint16 alpha);
1491
 
                [Version (deprecated_since = "3.4", replacement = "set_current_rgba")]
1492
 
                public void set_current_color (Gdk.Color color);
1493
 
                public void set_current_rgba (Gdk.RGBA rgba);
1494
 
                public void set_has_opacity_control (bool has_opacity);
1495
 
                public void set_has_palette (bool has_palette);
1496
 
                public void set_previous_alpha (uint16 alpha);
1497
 
                public void set_previous_color (Gdk.Color color);
1498
 
                public void set_previous_rgba (Gdk.RGBA rgba);
1499
 
                public uint current_alpha { get; set; }
1500
 
                [Version (deprecated_since = "3.4", replacement = "current_rgba")]
1501
 
                public Gdk.Color current_color { get; set; }
1502
 
                public Gdk.RGBA current_rgba { get; set; }
1503
 
                public bool has_opacity_control { get; set; }
1504
 
                public bool has_palette { get; set; }
1505
 
                public virtual signal void color_changed ();
1506
 
        }
1507
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_selection_dialog_get_type ()")]
1508
 
        public class ColorSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
1509
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1510
 
                public ColorSelectionDialog (string title);
1511
 
                public unowned Gtk.ColorSelection get_color_selection ();
1512
 
                [NoAccessorMethod]
1513
 
                public Gtk.Widget cancel_button { owned get; }
1514
 
                public Gtk.Widget color_selection { get; }
1515
 
                [NoAccessorMethod]
1516
 
                public Gtk.Widget help_button { owned get; }
1517
 
                [NoAccessorMethod]
1518
 
                public Gtk.Widget ok_button { owned get; }
1519
 
        }
1520
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_combo_box_get_type ()")]
1521
 
        public class ComboBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable {
1522
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1523
 
                public ComboBox ();
1524
 
                public int get_active ();
1525
 
                public unowned string? get_active_id ();
1526
 
                public bool get_active_iter (out Gtk.TreeIter iter);
1527
 
                public bool get_add_tearoffs ();
1528
 
                public Gtk.SensitivityType get_button_sensitivity ();
1529
 
                public int get_column_span_column ();
1530
 
                public int get_entry_text_column ();
1531
 
                public bool get_focus_on_click ();
1532
 
                public bool get_has_entry ();
1533
 
                public int get_id_column ();
1534
 
                public unowned Gtk.TreeModel get_model ();
1535
 
                public unowned Atk.Object get_popup_accessible ();
1536
 
                public bool get_popup_fixed_width ();
1537
 
                public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
1538
 
                public int get_row_span_column ();
1539
 
                public unowned string get_title ();
1540
 
                public int get_wrap_width ();
1541
 
                public void popup_for_device (Gdk.Device device);
1542
 
                public void set_active (int index_);
1543
 
                public bool set_active_id (string? active_id);
1544
 
                public void set_active_iter (Gtk.TreeIter? iter);
1545
 
                public void set_add_tearoffs (bool add_tearoffs);
1546
 
                public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
1547
 
                public void set_column_span_column (int column_span);
1548
 
                public void set_entry_text_column (int text_column);
1549
 
                public void set_focus_on_click (bool focus_on_click);
1550
 
                public void set_id_column (int id_column);
1551
 
                public void set_model (Gtk.TreeModel? model);
1552
 
                public void set_popup_fixed_width (bool fixed);
1553
 
                public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc func);
1554
 
                public void set_row_span_column (int row_span);
1555
 
                public void set_title (string title);
1556
 
                public void set_wrap_width (int width);
1557
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1558
 
                public ComboBox.with_area (Gtk.CellArea area);
1559
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1560
 
                public ComboBox.with_area_and_entry (Gtk.CellArea area);
1561
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1562
 
                public ComboBox.with_entry ();
1563
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1564
 
                public ComboBox.with_model (Gtk.TreeModel model);
1565
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1566
 
                public ComboBox.with_model_and_entry (Gtk.TreeModel model);
1567
 
                public int active { get; set; }
1568
 
                public string? active_id { get; set; }
1569
 
                public bool add_tearoffs { get; set; }
1570
 
                public Gtk.SensitivityType button_sensitivity { get; set; }
1571
 
                [NoAccessorMethod]
1572
 
                public Gtk.CellArea cell_area { owned get; construct; }
1573
 
                public int column_span_column { get; set; }
1574
 
                public int entry_text_column { get; set; }
1575
 
                public bool has_entry { get; construct; }
1576
 
                [NoAccessorMethod]
1577
 
                public bool has_frame { get; set; }
1578
 
                public int id_column { get; set; }
1579
 
                public Gtk.TreeModel model { get; set; }
1580
 
                public bool popup_fixed_width { get; set; }
1581
 
                [NoAccessorMethod]
1582
 
                public bool popup_shown { get; }
1583
 
                public int row_span_column { get; set; }
1584
 
                [NoAccessorMethod]
1585
 
                public string tearoff_title { owned get; set; }
1586
 
                public int wrap_width { get; set; }
1587
 
                public virtual signal void changed ();
1588
 
                public virtual signal string format_entry_text (string path);
1589
 
                public virtual signal void move_active (Gtk.ScrollType p0);
1590
 
                [HasEmitter]
1591
 
                public virtual signal bool popdown ();
1592
 
                [HasEmitter]
1593
 
                public virtual signal void popup ();
1594
 
        }
1595
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_combo_box_accessible_get_type ()")]
1596
 
        public class ComboBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Action, Atk.Selection {
1597
 
                [CCode (has_construct_function = false)]
1598
 
                protected ComboBoxAccessible ();
1599
 
        }
1600
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_combo_box_text_get_type ()")]
1601
 
        public class ComboBoxText : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable {
1602
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1603
 
                public ComboBoxText ();
1604
 
                public void append (string? id, string text);
1605
 
                public void append_text (string text);
1606
 
                public string get_active_text ();
1607
 
                public void insert (int position, string? id, string text);
1608
 
                public void insert_text (int position, string text);
1609
 
                public void prepend (string? id, string text);
1610
 
                public void prepend_text (string text);
1611
 
                public void remove (int position);
1612
 
                public void remove_all ();
1613
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1614
 
                public ComboBoxText.with_entry ();
1615
 
        }
1616
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_container_get_type ()")]
1617
 
        public abstract class Container : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1618
 
                [CCode (has_construct_function = false)]
1619
 
                protected Container ();
1620
 
                public void add_with_properties (Gtk.Widget widget, ...);
1621
 
                public void child_get (Gtk.Widget child, ...);
1622
 
                public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value);
1623
 
                public void child_get_valist (Gtk.Widget child, string first_property_name, va_list var_args);
1624
 
                public void child_notify (Gtk.Widget child, string child_property);
1625
 
                public void child_notify_by_pspec (Gtk.Widget child, GLib.ParamSpec pspec);
1626
 
                public void child_set (Gtk.Widget child, ...);
1627
 
                public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value);
1628
 
                public void child_set_valist (Gtk.Widget child, string first_property_name, va_list var_args);
1629
 
                public virtual GLib.Type child_type ();
1630
 
                public class unowned GLib.ParamSpec? class_find_child_property (string property_name);
1631
 
                public class (unowned GLib.ParamSpec)[] class_list_child_properties ();
1632
 
                [NoWrapper]
1633
 
                public virtual string composite_name (Gtk.Widget child);
1634
 
                public void forall (Gtk.Callback callback);
1635
 
                [CCode (vfunc_name = "forall")]
1636
 
                [NoWrapper]
1637
 
                public virtual void forall_internal (bool include_internal, Gtk.Callback callback);
1638
 
                public void @foreach (Gtk.Callback callback);
1639
 
                public uint get_border_width ();
1640
 
                [NoWrapper]
1641
 
                public virtual void get_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1642
 
                public GLib.List<weak Gtk.Widget> get_children ();
1643
 
                public bool get_focus_chain (out GLib.List<weak Gtk.Widget> focusable_widgets);
1644
 
                public unowned Gtk.Widget? get_focus_child ();
1645
 
                public unowned Gtk.Adjustment? get_focus_hadjustment ();
1646
 
                public unowned Gtk.Adjustment? get_focus_vadjustment ();
1647
 
                public virtual Gtk.WidgetPath get_path_for_child (Gtk.Widget child);
1648
 
                public Gtk.ResizeMode get_resize_mode ();
1649
 
                [CCode (cname = "gtk_container_class_handle_border_width")]
1650
 
                public class void handle_border_width ();
1651
 
                [CCode (cname = "gtk_container_class_install_child_properties")]
1652
 
                public class void install_child_properties ([CCode (array_length_pos = 0.5)] GLib.ParamSpec[] pspecs);
1653
 
                [CCode (cname = "gtk_container_class_install_child_property")]
1654
 
                public class void install_child_property (uint property_id, GLib.ParamSpec pspec);
1655
 
                public void propagate_draw (Gtk.Widget child, Cairo.Context cr);
1656
 
                public void resize_children ();
1657
 
                public void set_border_width (uint border_width);
1658
 
                [NoWrapper]
1659
 
                public virtual void set_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1660
 
                public void set_focus_chain (GLib.List<Gtk.Widget> focusable_widgets);
1661
 
                public void set_focus_hadjustment (Gtk.Adjustment adjustment);
1662
 
                public void set_focus_vadjustment (Gtk.Adjustment adjustment);
1663
 
                public void set_reallocate_redraws (bool needs_redraws);
1664
 
                public void set_resize_mode (Gtk.ResizeMode resize_mode);
1665
 
                public void unset_focus_chain ();
1666
 
                public uint border_width { get; set; }
1667
 
                [NoAccessorMethod]
1668
 
                public Gtk.Widget child { set; }
1669
 
                public Gtk.ResizeMode resize_mode { get; set; }
1670
 
                [HasEmitter]
1671
 
                public virtual signal void add (Gtk.Widget widget);
1672
 
                [HasEmitter]
1673
 
                public virtual signal void check_resize ();
1674
 
                [HasEmitter]
1675
 
                public virtual signal void remove (Gtk.Widget widget);
1676
 
                [HasEmitter]
1677
 
                public virtual signal void set_focus_child (Gtk.Widget? child);
1678
 
        }
1679
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_container_accessible_get_type ()")]
1680
 
        public class ContainerAccessible : Gtk.WidgetAccessible, Atk.Component {
1681
 
                [CCode (has_construct_function = false)]
1682
 
                protected ContainerAccessible ();
1683
 
                [NoWrapper]
1684
 
                public virtual int add_gtk (Gtk.Container container, Gtk.Widget widget, void* data);
1685
 
                [NoWrapper]
1686
 
                public virtual int remove_gtk (Gtk.Container container, Gtk.Widget widget, void* data);
1687
 
        }
1688
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_container_cell_accessible_get_type ()")]
1689
 
        public class ContainerCellAccessible : Gtk.CellAccessible, Atk.Action, Atk.Component {
1690
 
                [CCode (has_construct_function = false)]
1691
 
                public ContainerCellAccessible ();
1692
 
                public void add_child (Gtk.CellAccessible child);
1693
 
                public unowned GLib.List<Gtk.CellAccessible> get_children ();
1694
 
                public void remove_child (Gtk.CellAccessible child);
1695
 
        }
1696
 
        [CCode (cheader_filename = "gtk/gtk.h")]
1697
 
        public class CssProvider : GLib.Object, Gtk.StyleProvider {
1698
 
                [CCode (has_construct_function = false)]
1699
 
                public CssProvider ();
1700
 
                public static unowned Gtk.CssProvider get_default ();
1701
 
                public static unowned Gtk.CssProvider get_named (string name, string? variant);
1702
 
                [CCode (cname = "gtk_css_provider_load_from_data")]
1703
 
                public bool load_from_buffer ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gssize")] uint8[] data) throws GLib.Error;
1704
 
                public bool load_from_data (string data, ssize_t length = -1) throws GLib.Error;
1705
 
                public bool load_from_file (GLib.File file) throws GLib.Error;
1706
 
                public bool load_from_path (string path) throws GLib.Error;
1707
 
                public void load_from_resource (string resource_path);
1708
 
                public string to_string ();
1709
 
                public virtual signal void parsing_error (Gtk.CssSection section, GLib.Error error);
1710
 
        }
1711
 
        [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_css_section_ref", type_id = "gtk_css_section_get_type ()", unref_function = "gtk_css_section_unref")]
1712
 
        [Compact]
1713
 
        public class CssSection {
1714
 
                public uint get_end_line ();
1715
 
                public uint get_end_position ();
1716
 
                public unowned GLib.File get_file ();
1717
 
                public unowned Gtk.CssSection? get_parent ();
1718
 
                public Gtk.CssSectionType get_section_type ();
1719
 
                public uint get_start_line ();
1720
 
                public uint get_start_position ();
1721
 
        }
1722
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_dialog_get_type ()")]
1723
 
        public class Dialog : Gtk.Window, Atk.Implementor, Gtk.Buildable {
1724
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1725
 
                public Dialog ();
1726
 
                public void add_action_widget (Gtk.Widget child, int response_id);
1727
 
                public unowned Gtk.Widget add_button (string button_text, int response_id);
1728
 
                public void add_buttons (...);
1729
 
                public unowned Gtk.Widget get_action_area ();
1730
 
                [CCode (type = "GtkWidget*")]
1731
 
                public unowned Gtk.Box get_content_area ();
1732
 
                public unowned Gtk.Widget get_header_bar ();
1733
 
                public int get_response_for_widget (Gtk.Widget widget);
1734
 
                public unowned Gtk.Widget? get_widget_for_response (int response_id);
1735
 
                public int run ();
1736
 
                [CCode (sentinel = "-1")]
1737
 
                public void set_alternative_button_order (...);
1738
 
                public void set_alternative_button_order_from_array ([CCode (array_length_pos = 0.5)] int[] new_order);
1739
 
                public void set_default_response (int response_id);
1740
 
                public void set_response_sensitive (int response_id, bool setting);
1741
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1742
 
                public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...);
1743
 
                [NoAccessorMethod]
1744
 
                public int use_header_bar { get; construct; }
1745
 
                public virtual signal void close ();
1746
 
                [HasEmitter]
1747
 
                public virtual signal void response (int response_id);
1748
 
        }
1749
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_drawing_area_get_type ()")]
1750
 
        public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1751
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1752
 
                public DrawingArea ();
1753
 
        }
1754
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_get_type ()")]
1755
 
        public class Entry : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable {
1756
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1757
 
                public Entry ();
1758
 
                public bool get_activates_default ();
1759
 
                public float get_alignment ();
1760
 
                public unowned Pango.AttrList? get_attributes ();
1761
 
                public unowned Gtk.EntryBuffer get_buffer ();
1762
 
                public unowned Gtk.EntryCompletion get_completion ();
1763
 
                public int get_current_icon_drag_source ();
1764
 
                public unowned Gtk.Adjustment? get_cursor_hadjustment ();
1765
 
                [NoWrapper]
1766
 
                public virtual void get_frame_size (int x, int y, int width, int height);
1767
 
                public bool get_has_frame ();
1768
 
                public bool get_icon_activatable (Gtk.EntryIconPosition icon_pos);
1769
 
                public Gdk.Rectangle get_icon_area (Gtk.EntryIconPosition icon_pos);
1770
 
                public int get_icon_at_pos (int x, int y);
1771
 
                public unowned GLib.Icon? get_icon_gicon (Gtk.EntryIconPosition icon_pos);
1772
 
                public unowned string? get_icon_name (Gtk.EntryIconPosition icon_pos);
1773
 
                public unowned Gdk.Pixbuf? get_icon_pixbuf (Gtk.EntryIconPosition icon_pos);
1774
 
                public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos);
1775
 
                public unowned string get_icon_stock (Gtk.EntryIconPosition icon_pos);
1776
 
                public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos);
1777
 
                public string? get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos);
1778
 
                public string? get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos);
1779
 
                public unowned Gtk.Border? get_inner_border ();
1780
 
                public Gtk.InputHints get_input_hints ();
1781
 
                public Gtk.InputPurpose get_input_purpose ();
1782
 
                public unichar get_invisible_char ();
1783
 
                public unowned Pango.Layout get_layout ();
1784
 
                public void get_layout_offsets (out int x, out int y);
1785
 
                public int get_max_length ();
1786
 
                public int get_max_width_chars ();
1787
 
                public bool get_overwrite_mode ();
1788
 
                public unowned string get_placeholder_text ();
1789
 
                public double get_progress_fraction ();
1790
 
                public double get_progress_pulse_step ();
1791
 
                public unowned Pango.TabArray? get_tabs ();
1792
 
                public unowned string get_text ();
1793
 
                public void get_text_area (out Gdk.Rectangle text_area);
1794
 
                [NoWrapper]
1795
 
                public virtual void get_text_area_size (out int x, out int y, out int width, out int height);
1796
 
                public uint16 get_text_length ();
1797
 
                public bool get_visibility ();
1798
 
                public int get_width_chars ();
1799
 
                public void grab_focus_without_selecting ();
1800
 
                public bool im_context_filter_keypress (Gdk.EventKey event);
1801
 
                public int layout_index_to_text_index (int layout_index);
1802
 
                public void progress_pulse ();
1803
 
                public void reset_im_context ();
1804
 
                public void set_activates_default (bool setting);
1805
 
                public void set_alignment (float xalign);
1806
 
                public void set_attributes (Pango.AttrList attrs);
1807
 
                public void set_buffer (Gtk.EntryBuffer buffer);
1808
 
                public void set_completion (Gtk.EntryCompletion? completion);
1809
 
                public void set_cursor_hadjustment (Gtk.Adjustment? adjustment);
1810
 
                public void set_has_frame (bool setting);
1811
 
                public void set_icon_activatable (Gtk.EntryIconPosition icon_pos, bool activatable);
1812
 
                public void set_icon_drag_source (Gtk.EntryIconPosition icon_pos, Gtk.TargetList target_list, Gdk.DragAction actions);
1813
 
                public void set_icon_from_gicon (Gtk.EntryIconPosition icon_pos, GLib.Icon? icon);
1814
 
                public void set_icon_from_icon_name (Gtk.EntryIconPosition icon_pos, string? icon_name);
1815
 
                public void set_icon_from_pixbuf (Gtk.EntryIconPosition icon_pos, Gdk.Pixbuf? pixbuf);
1816
 
                public void set_icon_from_stock (Gtk.EntryIconPosition icon_pos, string? stock_id);
1817
 
                public void set_icon_sensitive (Gtk.EntryIconPosition icon_pos, bool sensitive);
1818
 
                public void set_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos, string? tooltip);
1819
 
                public void set_icon_tooltip_text (Gtk.EntryIconPosition icon_pos, string? tooltip);
1820
 
                [Version (deprecated_since = "3.4")]
1821
 
                public void set_inner_border (Gtk.Border? border);
1822
 
                public void set_input_hints (Gtk.InputHints hints);
1823
 
                public void set_input_purpose (Gtk.InputPurpose purpose);
1824
 
                public void set_invisible_char (unichar ch);
1825
 
                public void set_max_length (int max);
1826
 
                public void set_max_width_chars (int n_chars);
1827
 
                public void set_overwrite_mode (bool overwrite);
1828
 
                public void set_placeholder_text (string? text);
1829
 
                public void set_progress_fraction (double fraction);
1830
 
                public void set_progress_pulse_step (double fraction);
1831
 
                public void set_tabs (Pango.TabArray tabs);
1832
 
                public void set_text (string text);
1833
 
                public void set_visibility (bool visible);
1834
 
                public void set_width_chars (int n_chars);
1835
 
                public int text_index_to_layout_index (int text_index);
1836
 
                public void unset_invisible_char ();
1837
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
1838
 
                public Entry.with_buffer (Gtk.EntryBuffer buffer);
1839
 
                public bool activates_default { get; set; }
1840
 
                public Pango.AttrList attributes { get; set; }
1841
 
                public Gtk.EntryBuffer buffer { get; set construct; }
1842
 
                [NoAccessorMethod]
1843
 
                public bool caps_lock_warning { get; set; }
1844
 
                public Gtk.EntryCompletion completion { get; set; }
1845
 
                [NoAccessorMethod]
1846
 
                public int cursor_position { get; }
1847
 
                [NoAccessorMethod]
1848
 
                public bool editable { get; set; }
1849
 
                public bool has_frame { get; set; }
1850
 
                [NoAccessorMethod]
1851
 
                public string im_module { owned get; set; }
1852
 
                [Version (deprecated_since = "3.4")]
1853
 
                public Gtk.Border inner_border { get; set; }
1854
 
                public Gtk.InputHints input_hints { get; set; }
1855
 
                public Gtk.InputPurpose input_purpose { get; set; }
1856
 
                public uint invisible_char { get; set; }
1857
 
                [NoAccessorMethod]
1858
 
                public bool invisible_char_set { get; set; }
1859
 
                public int max_length { get; set; }
1860
 
                public int max_width_chars { get; set; }
1861
 
                public bool overwrite_mode { get; set; }
1862
 
                public string placeholder_text { get; set; }
1863
 
                [NoAccessorMethod]
1864
 
                public bool populate_all { get; set; }
1865
 
                [NoAccessorMethod]
1866
 
                public bool primary_icon_activatable { get; set; }
1867
 
                [NoAccessorMethod]
1868
 
                public GLib.Icon primary_icon_gicon { owned get; set; }
1869
 
                [NoAccessorMethod]
1870
 
                public string primary_icon_name { owned get; set; }
1871
 
                [NoAccessorMethod]
1872
 
                public Gdk.Pixbuf primary_icon_pixbuf { owned get; set; }
1873
 
                [NoAccessorMethod]
1874
 
                public bool primary_icon_sensitive { get; set; }
1875
 
                [NoAccessorMethod]
1876
 
                public string primary_icon_stock { owned get; set; }
1877
 
                [NoAccessorMethod]
1878
 
                public Gtk.ImageType primary_icon_storage_type { get; }
1879
 
                [NoAccessorMethod]
1880
 
                public string primary_icon_tooltip_markup { owned get; set; }
1881
 
                [NoAccessorMethod]
1882
 
                public string primary_icon_tooltip_text { owned get; set; }
1883
 
                public double progress_fraction { get; set; }
1884
 
                public double progress_pulse_step { get; set; }
1885
 
                [NoAccessorMethod]
1886
 
                public int scroll_offset { get; }
1887
 
                [NoAccessorMethod]
1888
 
                public bool secondary_icon_activatable { get; set; }
1889
 
                [NoAccessorMethod]
1890
 
                public GLib.Icon secondary_icon_gicon { owned get; set; }
1891
 
                [NoAccessorMethod]
1892
 
                public string secondary_icon_name { owned get; set; }
1893
 
                [NoAccessorMethod]
1894
 
                public Gdk.Pixbuf secondary_icon_pixbuf { owned get; set; }
1895
 
                [NoAccessorMethod]
1896
 
                public bool secondary_icon_sensitive { get; set; }
1897
 
                [NoAccessorMethod]
1898
 
                public string secondary_icon_stock { owned get; set; }
1899
 
                [NoAccessorMethod]
1900
 
                public Gtk.ImageType secondary_icon_storage_type { get; }
1901
 
                [NoAccessorMethod]
1902
 
                public string secondary_icon_tooltip_markup { owned get; set; }
1903
 
                [NoAccessorMethod]
1904
 
                public string secondary_icon_tooltip_text { owned get; set; }
1905
 
                [NoAccessorMethod]
1906
 
                public int selection_bound { get; }
1907
 
                [NoAccessorMethod]
1908
 
                public Gtk.ShadowType shadow_type { get; set; }
1909
 
                public Pango.TabArray tabs { get; set; }
1910
 
                public string text { get; set; }
1911
 
                public uint text_length { get; }
1912
 
                [NoAccessorMethod]
1913
 
                public bool truncate_multiline { get; set; }
1914
 
                public bool visibility { get; set; }
1915
 
                public int width_chars { get; set; }
1916
 
                [NoAccessorMethod]
1917
 
                public float xalign { get; set; }
1918
 
                public virtual signal void activate ();
1919
 
                public virtual signal void backspace ();
1920
 
                public virtual signal void copy_clipboard ();
1921
 
                public virtual signal void cut_clipboard ();
1922
 
                public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
1923
 
                public virtual signal void icon_press (Gtk.EntryIconPosition p0, Gdk.Event p1);
1924
 
                public virtual signal void icon_release (Gtk.EntryIconPosition p0, Gdk.Event p1);
1925
 
                public virtual signal void insert_at_cursor (string str);
1926
 
                public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
1927
 
                public virtual signal void paste_clipboard ();
1928
 
                public virtual signal void populate_popup (Gtk.Menu popup);
1929
 
                public virtual signal void preedit_changed (string p0);
1930
 
                public virtual signal void toggle_overwrite ();
1931
 
        }
1932
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_entry_accessible_get_type ()")]
1933
 
        public class EntryAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.EditableText, Atk.Text, Atk.Action {
1934
 
                [CCode (has_construct_function = false)]
1935
 
                protected EntryAccessible ();
1936
 
        }
1937
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_buffer_get_type ()")]
1938
 
        public class EntryBuffer : GLib.Object {
1939
 
                [CCode (has_construct_function = false)]
1940
 
                public EntryBuffer (uint8[]? initial_chars = null);
1941
 
                public virtual uint delete_text (uint position, int n_chars);
1942
 
                public void emit_deleted_text (uint position, uint n_chars);
1943
 
                public void emit_inserted_text (uint position, uint8[] chars);
1944
 
                public size_t get_bytes ();
1945
 
                public virtual uint get_length ();
1946
 
                public int get_max_length ();
1947
 
                public virtual unowned string get_text ();
1948
 
                public virtual uint insert_text (uint position, uint8[] chars);
1949
 
                public void set_max_length (int max_length);
1950
 
                public void set_text (uint8[] chars);
1951
 
                public uint length { get; }
1952
 
                public int max_length { get; set; }
1953
 
                public string text { get; set; }
1954
 
                public virtual signal void deleted_text (uint position, uint n_chars);
1955
 
                public virtual signal void inserted_text (uint position, string chars, uint n_chars);
1956
 
        }
1957
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_completion_get_type ()")]
1958
 
        public class EntryCompletion : GLib.Object, Gtk.CellLayout, Gtk.Buildable {
1959
 
                [CCode (has_construct_function = false)]
1960
 
                public EntryCompletion ();
1961
 
                public void complete ();
1962
 
                public string? compute_prefix (string key);
1963
 
                public void delete_action (int index_);
1964
 
                public unowned string get_completion_prefix ();
1965
 
                public unowned Gtk.Widget get_entry ();
1966
 
                public bool get_inline_completion ();
1967
 
                public bool get_inline_selection ();
1968
 
                public int get_minimum_key_length ();
1969
 
                public unowned Gtk.TreeModel? get_model ();
1970
 
                public bool get_popup_completion ();
1971
 
                public bool get_popup_set_width ();
1972
 
                public bool get_popup_single_match ();
1973
 
                public int get_text_column ();
1974
 
                public void insert_action_markup (int index_, string markup);
1975
 
                public void insert_action_text (int index_, string text);
1976
 
                public void set_inline_completion (bool inline_completion);
1977
 
                public void set_inline_selection (bool inline_selection);
1978
 
                public void set_match_func (owned Gtk.EntryCompletionMatchFunc func);
1979
 
                public void set_minimum_key_length (int length);
1980
 
                public void set_model (Gtk.TreeModel? model);
1981
 
                public void set_popup_completion (bool popup_completion);
1982
 
                public void set_popup_set_width (bool popup_set_width);
1983
 
                public void set_popup_single_match (bool popup_single_match);
1984
 
                public void set_text_column (int column);
1985
 
                [CCode (has_construct_function = false)]
1986
 
                public EntryCompletion.with_area (Gtk.CellArea area);
1987
 
                [NoAccessorMethod]
1988
 
                public Gtk.CellArea cell_area { owned get; construct; }
1989
 
                public bool inline_completion { get; set; }
1990
 
                public bool inline_selection { get; set; }
1991
 
                public int minimum_key_length { get; set; }
1992
 
                public Gtk.TreeModel model { get; set; }
1993
 
                public bool popup_completion { get; set; }
1994
 
                public bool popup_set_width { get; set; }
1995
 
                public bool popup_single_match { get; set; }
1996
 
                public int text_column { get; set; }
1997
 
                public virtual signal void action_activated (int index_);
1998
 
                public virtual signal bool cursor_on_match (Gtk.TreeModel model, Gtk.TreeIter iter);
1999
 
                [HasEmitter]
2000
 
                public virtual signal bool insert_prefix (string prefix);
2001
 
                public virtual signal bool match_selected (Gtk.TreeModel model, Gtk.TreeIter iter);
2002
 
                public virtual signal void no_matches ();
2003
 
        }
2004
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_entry_icon_accessible_get_type ()")]
2005
 
        public class EntryIconAccessible : Atk.Object, Atk.Action, Atk.Component {
2006
 
                [CCode (has_construct_function = false)]
2007
 
                protected EntryIconAccessible ();
2008
 
        }
2009
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_box_get_type ()")]
2010
 
        public class EventBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2011
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2012
 
                public EventBox ();
2013
 
                public bool get_above_child ();
2014
 
                public bool get_visible_window ();
2015
 
                public void set_above_child (bool above_child);
2016
 
                public void set_visible_window (bool visible_window);
2017
 
                public bool above_child { get; set; }
2018
 
                public bool visible_window { get; set; }
2019
 
        }
2020
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_controller_get_type ()")]
2021
 
        public abstract class EventController : GLib.Object {
2022
 
                [CCode (has_construct_function = false)]
2023
 
                protected EventController ();
2024
 
                public Gtk.PropagationPhase get_propagation_phase ();
2025
 
                public unowned Gtk.Widget get_widget ();
2026
 
                public bool handle_event (Gdk.Event event);
2027
 
                public void reset ();
2028
 
                public void set_propagation_phase (Gtk.PropagationPhase phase);
2029
 
                public Gtk.PropagationPhase propagation_phase { get; set; }
2030
 
                public Gtk.Widget widget { get; construct; }
2031
 
        }
2032
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_expander_get_type ()")]
2033
 
        public class Expander : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2034
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2035
 
                public Expander (string label);
2036
 
                public bool get_expanded ();
2037
 
                public unowned string? get_label ();
2038
 
                public bool get_label_fill ();
2039
 
                public unowned Gtk.Widget get_label_widget ();
2040
 
                public bool get_resize_toplevel ();
2041
 
                public int get_spacing ();
2042
 
                public bool get_use_markup ();
2043
 
                public bool get_use_underline ();
2044
 
                public void set_expanded (bool expanded);
2045
 
                public void set_label (string? label);
2046
 
                public void set_label_fill (bool label_fill);
2047
 
                public void set_label_widget (Gtk.Widget? label_widget);
2048
 
                public void set_resize_toplevel (bool resize_toplevel);
2049
 
                public void set_spacing (int spacing);
2050
 
                public void set_use_markup (bool use_markup);
2051
 
                public void set_use_underline (bool use_underline);
2052
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2053
 
                public Expander.with_mnemonic (string? label);
2054
 
                public bool expanded { get; set construct; }
2055
 
                public string label { get; set construct; }
2056
 
                public bool label_fill { get; set construct; }
2057
 
                public Gtk.Widget label_widget { get; set; }
2058
 
                public bool resize_toplevel { get; set; }
2059
 
                public int spacing { get; set; }
2060
 
                public bool use_markup { get; set construct; }
2061
 
                public bool use_underline { get; set construct; }
2062
 
                public virtual signal void activate ();
2063
 
        }
2064
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_expander_accessible_get_type ()")]
2065
 
        public class ExpanderAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Action {
2066
 
                [CCode (has_construct_function = false)]
2067
 
                protected ExpanderAccessible ();
2068
 
        }
2069
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_button_get_type ()")]
2070
 
        public class FileChooserButton : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser {
2071
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2072
 
                public FileChooserButton (string title, Gtk.FileChooserAction action);
2073
 
                public bool get_focus_on_click ();
2074
 
                public unowned string get_title ();
2075
 
                public int get_width_chars ();
2076
 
                public void set_focus_on_click (bool focus_on_click);
2077
 
                public void set_title (string title);
2078
 
                public void set_width_chars (int n_chars);
2079
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2080
 
                public FileChooserButton.with_dialog (Gtk.Dialog dialog);
2081
 
                public Gtk.FileChooser dialog { construct; }
2082
 
                public string title { get; set; }
2083
 
                public int width_chars { get; set; }
2084
 
                public virtual signal void file_set ();
2085
 
        }
2086
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_dialog_get_type ()")]
2087
 
        public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
2088
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2089
 
                public FileChooserDialog (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, ...);
2090
 
        }
2091
 
        [CCode (cheader_filename = "gtk/gtk.h")]
2092
 
        public class FileChooserNative : Gtk.NativeDialog, Gtk.FileChooser {
2093
 
                [CCode (has_construct_function = false)]
2094
 
                public FileChooserNative (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, string? accept_label, string? cancel_label);
2095
 
                public unowned string? get_accept_label ();
2096
 
                public unowned string? get_cancel_label ();
2097
 
                public void set_accept_label (string? accept_label);
2098
 
                public void set_cancel_label (string? cancel_label);
2099
 
                public string? accept_label { get; set; }
2100
 
                public string? cancel_label { get; set; }
2101
 
        }
2102
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_widget_get_type ()")]
2103
 
        public class FileChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser, Gtk.FileChooserEmbed {
2104
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2105
 
                public FileChooserWidget (Gtk.FileChooserAction action);
2106
 
                [NoAccessorMethod]
2107
 
                public bool search_mode { get; set; }
2108
 
                [NoAccessorMethod]
2109
 
                public string subtitle { owned get; }
2110
 
                public virtual signal void desktop_folder ();
2111
 
                public virtual signal void down_folder ();
2112
 
                public virtual signal void home_folder ();
2113
 
                public virtual signal void location_popup (string p0);
2114
 
                public virtual signal void location_popup_on_paste ();
2115
 
                public virtual signal void location_toggle_popup ();
2116
 
                public virtual signal void places_shortcut ();
2117
 
                public virtual signal void quick_bookmark (int p0);
2118
 
                public virtual signal void recent_shortcut ();
2119
 
                public virtual signal void search_shortcut ();
2120
 
                public virtual signal void show_hidden ();
2121
 
                public virtual signal void up_folder ();
2122
 
        }
2123
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_filter_get_type ()")]
2124
 
        public class FileFilter : GLib.InitiallyUnowned, Gtk.Buildable {
2125
 
                [CCode (has_construct_function = false)]
2126
 
                public FileFilter ();
2127
 
                public void add_custom (Gtk.FileFilterFlags needed, owned Gtk.FileFilterFunc func);
2128
 
                public void add_mime_type (string mime_type);
2129
 
                public void add_pattern (string pattern);
2130
 
                public void add_pixbuf_formats ();
2131
 
                public bool filter (Gtk.FileFilterInfo filter_info);
2132
 
                [CCode (cname = "gtk_file_filter_get_name")]
2133
 
                public unowned string? get_filter_name ();
2134
 
                public Gtk.FileFilterFlags get_needed ();
2135
 
                [CCode (cname = "gtk_file_filter_set_name")]
2136
 
                public void set_filter_name (string? name);
2137
 
        }
2138
 
        [CCode (cheader_filename = "gtk/gtk.h")]
2139
 
        [Compact]
2140
 
        public class FileFilterInfo {
2141
 
                public Gtk.FileFilterFlags contains;
2142
 
                public weak string display_name;
2143
 
                public weak string filename;
2144
 
                public weak string mime_type;
2145
 
                public weak string uri;
2146
 
        }
2147
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_fixed_get_type ()")]
2148
 
        public class Fixed : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2149
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2150
 
                public Fixed ();
2151
 
                public void move (Gtk.Widget widget, int x, int y);
2152
 
                public void put (Gtk.Widget widget, int x, int y);
2153
 
        }
2154
 
        [CCode (cheader_filename = "gtk/gtk.h")]
2155
 
        [Compact]
2156
 
        public class FixedChild {
2157
 
                public weak Gtk.Widget widget;
2158
 
                public int x;
2159
 
                public int y;
2160
 
        }
2161
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_get_type ()")]
2162
 
        public class FlowBox : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2163
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2164
 
                public FlowBox ();
2165
 
                public void bind_model (GLib.ListModel? model, owned Gtk.FlowBoxCreateWidgetFunc? create_widget_func);
2166
 
                public bool get_activate_on_single_click ();
2167
 
                public unowned Gtk.FlowBoxChild? get_child_at_index (int idx);
2168
 
                public uint get_column_spacing ();
2169
 
                public bool get_homogeneous ();
2170
 
                public uint get_max_children_per_line ();
2171
 
                public uint get_min_children_per_line ();
2172
 
                public uint get_row_spacing ();
2173
 
                public GLib.List<weak Gtk.FlowBoxChild> get_selected_children ();
2174
 
                public Gtk.SelectionMode get_selection_mode ();
2175
 
                public void insert (Gtk.Widget widget, int position);
2176
 
                public void invalidate_filter ();
2177
 
                public void invalidate_sort ();
2178
 
                public void select_child (Gtk.FlowBoxChild child);
2179
 
                public void selected_foreach (Gtk.FlowBoxForeachFunc func);
2180
 
                public void set_activate_on_single_click (bool single);
2181
 
                public void set_column_spacing (uint spacing);
2182
 
                public void set_filter_func (owned Gtk.FlowBoxFilterFunc? filter_func);
2183
 
                public void set_hadjustment (Gtk.Adjustment adjustment);
2184
 
                public void set_homogeneous (bool homogeneous);
2185
 
                public void set_max_children_per_line (uint n_children);
2186
 
                public void set_min_children_per_line (uint n_children);
2187
 
                public void set_row_spacing (uint spacing);
2188
 
                public void set_selection_mode (Gtk.SelectionMode mode);
2189
 
                public void set_sort_func (owned Gtk.FlowBoxSortFunc? sort_func);
2190
 
                public void set_vadjustment (Gtk.Adjustment adjustment);
2191
 
                public void unselect_child (Gtk.FlowBoxChild child);
2192
 
                public bool activate_on_single_click { get; set; }
2193
 
                public uint column_spacing { get; set; }
2194
 
                public bool homogeneous { get; set; }
2195
 
                public uint max_children_per_line { get; set; }
2196
 
                public uint min_children_per_line { get; set; }
2197
 
                public uint row_spacing { get; set; }
2198
 
                public Gtk.SelectionMode selection_mode { get; set; }
2199
 
                public virtual signal void activate_cursor_child ();
2200
 
                public virtual signal void child_activated (Gtk.FlowBoxChild child);
2201
 
                public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
2202
 
                [HasEmitter]
2203
 
                public virtual signal void select_all ();
2204
 
                public virtual signal void selected_children_changed ();
2205
 
                public virtual signal void toggle_cursor_child ();
2206
 
                [HasEmitter]
2207
 
                public virtual signal void unselect_all ();
2208
 
        }
2209
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_flow_box_accessible_get_type ()")]
2210
 
        public class FlowBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
2211
 
                [CCode (has_construct_function = false)]
2212
 
                protected FlowBoxAccessible ();
2213
 
        }
2214
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_child_get_type ()")]
2215
 
        public class FlowBoxChild : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2216
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2217
 
                public FlowBoxChild ();
2218
 
                public void changed ();
2219
 
                public int get_index ();
2220
 
                public bool is_selected ();
2221
 
                public virtual signal void activate ();
2222
 
        }
2223
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_flow_box_child_accessible_get_type ()")]
2224
 
        public class FlowBoxChildAccessible : Gtk.ContainerAccessible, Atk.Component {
2225
 
                [CCode (has_construct_function = false)]
2226
 
                protected FlowBoxChildAccessible ();
2227
 
        }
2228
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_button_get_type ()")]
2229
 
        public class FontButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.FontChooser {
2230
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2231
 
                public FontButton ();
2232
 
                public unowned string get_font_name ();
2233
 
                public bool get_show_size ();
2234
 
                public bool get_show_style ();
2235
 
                public unowned string get_title ();
2236
 
                public bool get_use_font ();
2237
 
                public bool get_use_size ();
2238
 
                public bool set_font_name (string fontname);
2239
 
                public void set_show_size (bool show_size);
2240
 
                public void set_show_style (bool show_style);
2241
 
                public void set_title (string title);
2242
 
                public void set_use_font (bool use_font);
2243
 
                public void set_use_size (bool use_size);
2244
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2245
 
                public FontButton.with_font (string fontname);
2246
 
                public string font_name { get; set; }
2247
 
                public bool show_size { get; set; }
2248
 
                public bool show_style { get; set; }
2249
 
                public string title { get; set; }
2250
 
                public bool use_font { get; set; }
2251
 
                public bool use_size { get; set; }
2252
 
                public virtual signal void font_set ();
2253
 
        }
2254
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_dialog_get_type ()")]
2255
 
        public class FontChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser {
2256
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2257
 
                public FontChooserDialog (string? title, Gtk.Window? parent);
2258
 
        }
2259
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_widget_get_type ()")]
2260
 
        public class FontChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FontChooser {
2261
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2262
 
                public FontChooserWidget ();
2263
 
        }
2264
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_selection_get_type ()")]
2265
 
        public class FontSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2266
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2267
 
                public FontSelection ();
2268
 
                public unowned Pango.FontFace get_face ();
2269
 
                public unowned Gtk.Widget get_face_list ();
2270
 
                public unowned Pango.FontFamily get_family ();
2271
 
                public unowned Gtk.Widget get_family_list ();
2272
 
                public string get_font_name ();
2273
 
                public unowned Gtk.Widget get_preview_entry ();
2274
 
                public unowned string get_preview_text ();
2275
 
                public int get_size ();
2276
 
                public unowned Gtk.Widget get_size_entry ();
2277
 
                public unowned Gtk.Widget get_size_list ();
2278
 
                public bool set_font_name (string fontname);
2279
 
                public void set_preview_text (string text);
2280
 
                public string font_name { owned get; set; }
2281
 
                public string preview_text { get; set; }
2282
 
        }
2283
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_selection_dialog_get_type ()")]
2284
 
        [Version (deprecated_since = "3.2", replacement = "FontChooserDialog")]
2285
 
        public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
2286
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2287
 
                public FontSelectionDialog (string title);
2288
 
                public unowned Gtk.Widget get_cancel_button ();
2289
 
                public string get_font_name ();
2290
 
                public unowned Gtk.Widget get_font_selection ();
2291
 
                public unowned Gtk.Widget get_ok_button ();
2292
 
                public unowned string get_preview_text ();
2293
 
                public bool set_font_name (string fontname);
2294
 
                public void set_preview_text (string text);
2295
 
        }
2296
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_frame_get_type ()")]
2297
 
        public class Frame : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2298
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2299
 
                public Frame (string? label);
2300
 
                [NoWrapper]
2301
 
                public virtual void compute_child_allocation (Gtk.Allocation allocation);
2302
 
                public unowned string? get_label ();
2303
 
                public void get_label_align (out float xalign, out float yalign);
2304
 
                public unowned Gtk.Widget? get_label_widget ();
2305
 
                public Gtk.ShadowType get_shadow_type ();
2306
 
                public void set_label (string? label);
2307
 
                public void set_label_align (float xalign, float yalign);
2308
 
                public void set_label_widget (Gtk.Widget? label_widget);
2309
 
                public void set_shadow_type (Gtk.ShadowType type);
2310
 
                public string label { get; set; }
2311
 
                public Gtk.Widget label_widget { get; set; }
2312
 
                [NoAccessorMethod]
2313
 
                public float label_xalign { get; set; }
2314
 
                [NoAccessorMethod]
2315
 
                public float label_yalign { get; set; }
2316
 
                public Gtk.ShadowType shadow_type { get; set; }
2317
 
        }
2318
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_frame_accessible_get_type ()")]
2319
 
        public class FrameAccessible : Gtk.ContainerAccessible, Atk.Component {
2320
 
                [CCode (has_construct_function = false)]
2321
 
                protected FrameAccessible ();
2322
 
        }
2323
 
        [CCode (cheader_filename = "gtk/gtk.h")]
2324
 
        public class GLArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2325
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2326
 
                public GLArea ();
2327
 
                public void attach_buffers ();
2328
 
                public bool get_auto_render ();
2329
 
                public unowned Gdk.GLContext get_context ();
2330
 
                public unowned GLib.Error? get_error ();
2331
 
                public bool get_has_alpha ();
2332
 
                public bool get_has_depth_buffer ();
2333
 
                public bool get_has_stencil_buffer ();
2334
 
                public void get_required_version (out int major, out int minor);
2335
 
                public void make_current ();
2336
 
                public void queue_render ();
2337
 
                public void set_auto_render (bool auto_render);
2338
 
                public void set_error (GLib.Error? error);
2339
 
                public void set_has_alpha (bool has_alpha);
2340
 
                public void set_has_depth_buffer (bool has_depth_buffer);
2341
 
                public void set_has_stencil_buffer (bool has_stencil_buffer);
2342
 
                public void set_required_version (int major, int minor);
2343
 
                public bool auto_render { get; set; }
2344
 
                public Gdk.GLContext context { get; }
2345
 
                public bool has_alpha { get; set; }
2346
 
                public bool has_depth_buffer { get; set; }
2347
 
                public bool has_stencil_buffer { get; set; }
2348
 
                public virtual signal Gdk.GLContext create_context ();
2349
 
                public virtual signal bool render (Gdk.GLContext context);
2350
 
                public virtual signal void resize (int width, int height);
2351
 
        }
2352
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_get_type ()")]
2353
 
        public abstract class Gesture : Gtk.EventController {
2354
 
                [CCode (has_construct_function = false)]
2355
 
                protected Gesture ();
2356
 
                public bool get_bounding_box (out Gdk.Rectangle rect);
2357
 
                public bool get_bounding_box_center (out double x, out double y);
2358
 
                public unowned Gdk.Device? get_device ();
2359
 
                public GLib.List<weak Gtk.Gesture> get_group ();
2360
 
                public unowned Gdk.Event? get_last_event (Gdk.EventSequence sequence);
2361
 
                public unowned Gdk.EventSequence? get_last_updated_sequence ();
2362
 
                public bool get_point (Gdk.EventSequence? sequence, out double? x = null, out double? y = null);
2363
 
                public Gtk.EventSequenceState get_sequence_state (Gdk.EventSequence sequence);
2364
 
                public GLib.List<weak Gdk.EventSequence> get_sequences ();
2365
 
                public unowned Gdk.Window? get_window ();
2366
 
                public void group (Gtk.Gesture gesture);
2367
 
                public bool handles_sequence (Gdk.EventSequence sequence);
2368
 
                public bool is_active ();
2369
 
                public bool is_grouped_with (Gtk.Gesture other);
2370
 
                public bool is_recognized ();
2371
 
                public bool set_sequence_state (Gdk.EventSequence sequence, Gtk.EventSequenceState state);
2372
 
                public bool set_state (Gtk.EventSequenceState state);
2373
 
                public void set_window (Gdk.Window? window);
2374
 
                public void ungroup ();
2375
 
                [NoAccessorMethod]
2376
 
                public uint n_points { get; construct; }
2377
 
                public Gdk.Window window { get; set; }
2378
 
                public virtual signal void begin (Gdk.EventSequence p0);
2379
 
                public virtual signal void cancel (Gdk.EventSequence p0);
2380
 
                public virtual signal void end (Gdk.EventSequence p0);
2381
 
                public virtual signal void sequence_state_changed (Gdk.EventSequence p0, Gtk.EventSequenceState p1);
2382
 
                public virtual signal void update (Gdk.EventSequence p0);
2383
 
        }
2384
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_drag_get_type ()")]
2385
 
        public class GestureDrag : Gtk.GestureSingle {
2386
 
                [CCode (has_construct_function = false, type = "GtkGesture*")]
2387
 
                public GestureDrag (Gtk.Widget widget);
2388
 
                public bool get_offset (out double? x, out double? y);
2389
 
                public bool get_start_point (out double? x, out double? y);
2390
 
                public virtual signal void drag_begin (double p0, double p1);
2391
 
                public virtual signal void drag_end (double p0, double p1);
2392
 
                public virtual signal void drag_update (double p0, double p1);
2393
 
        }
2394
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_long_press_get_type ()")]
2395
 
        public class GestureLongPress : Gtk.GestureSingle {
2396
 
                [CCode (has_construct_function = false, type = "GtkGesture*")]
2397
 
                public GestureLongPress (Gtk.Widget widget);
2398
 
                [NoAccessorMethod]
2399
 
                public double delay_factor { get; set; }
2400
 
                public virtual signal void cancelled ();
2401
 
                public virtual signal void pressed (double p0, double p1);
2402
 
        }
2403
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_multi_press_get_type ()")]
2404
 
        public class GestureMultiPress : Gtk.GestureSingle {
2405
 
                [CCode (has_construct_function = false, type = "GtkGesture*")]
2406
 
                public GestureMultiPress (Gtk.Widget widget);
2407
 
                public bool get_area (out Gdk.Rectangle rect);
2408
 
                public void set_area (Gdk.Rectangle? rect);
2409
 
                public virtual signal void pressed (int p0, double p1, double p2);
2410
 
                public virtual signal void released (int p0, double p1, double p2);
2411
 
                public virtual signal void stopped ();
2412
 
        }
2413
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_pan_get_type ()")]
2414
 
        public class GesturePan : Gtk.GestureDrag {
2415
 
                [CCode (has_construct_function = false, type = "GtkGesture*")]
2416
 
                public GesturePan (Gtk.Widget widget, Gtk.Orientation orientation);
2417
 
                public Gtk.Orientation get_orientation ();
2418
 
                public void set_orientation (Gtk.Orientation orientation);
2419
 
                public Gtk.Orientation orientation { get; set; }
2420
 
                public virtual signal void pan (Gtk.PanDirection p0, double p1);
2421
 
        }
2422
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_rotate_get_type ()")]
2423
 
        public class GestureRotate : Gtk.Gesture {
2424
 
                [CCode (has_construct_function = false, type = "GtkGesture*")]
2425
 
                public GestureRotate (Gtk.Widget widget);
2426
 
                public double get_angle_delta ();
2427
 
                public virtual signal void angle_changed (double p0, double p1);
2428
 
        }
2429
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_single_get_type ()")]
2430
 
        public class GestureSingle : Gtk.Gesture {
2431
 
                [CCode (has_construct_function = false)]
2432
 
                protected GestureSingle ();
2433
 
                public uint get_button ();
2434
 
                public uint get_current_button ();
2435
 
                public Gdk.EventSequence? get_current_sequence ();
2436
 
                public bool get_exclusive ();
2437
 
                public bool get_touch_only ();
2438
 
                public void set_button (uint button);
2439
 
                public void set_exclusive (bool exclusive);
2440
 
                public void set_touch_only (bool touch_only);
2441
 
                public uint button { get; set; }
2442
 
                public bool exclusive { get; set; }
2443
 
                public bool touch_only { get; set; }
2444
 
        }
2445
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_swipe_get_type ()")]
2446
 
        public class GestureSwipe : Gtk.GestureSingle {
2447
 
                [CCode (has_construct_function = false, type = "GtkGesture*")]
2448
 
                public GestureSwipe (Gtk.Widget widget);
2449
 
                public bool get_velocity (out double velocity_x, out double velocity_y);
2450
 
                public virtual signal void swipe (double p0, double p1);
2451
 
        }
2452
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_zoom_get_type ()")]
2453
 
        public class GestureZoom : Gtk.Gesture {
2454
 
                [CCode (has_construct_function = false, type = "GtkGesture*")]
2455
 
                public GestureZoom (Gtk.Widget widget);
2456
 
                public double get_scale_delta ();
2457
 
                public virtual signal void scale_changed (double p0);
2458
 
        }
2459
 
        [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_gradient_ref", type_id = "gtk_gradient_get_type ()", unref_function = "gtk_gradient_unref")]
2460
 
        [Compact]
2461
 
        public class Gradient {
2462
 
                public void add_color_stop (double offset, Gtk.SymbolicColor color);
2463
 
                [CCode (has_construct_function = false)]
2464
 
                public Gradient.linear (double x0, double y0, double x1, double y1);
2465
 
                [CCode (has_construct_function = false)]
2466
 
                public Gradient.radial (double x0, double y0, double radius0, double x1, double y1, double radius1);
2467
 
                public bool resolve (Gtk.StyleProperties props, out Cairo.Pattern resolved_gradient);
2468
 
                public Cairo.Pattern resolve_for_context (Gtk.StyleContext context);
2469
 
                public string to_string ();
2470
 
        }
2471
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_grid_get_type ()")]
2472
 
        public class Grid : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2473
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2474
 
                public Grid ();
2475
 
                public void attach (Gtk.Widget child, int left, int top, int width = 1, int height = 1);
2476
 
                public void attach_next_to (Gtk.Widget child, Gtk.Widget? sibling, Gtk.PositionType side, int width = 1, int height = 1);
2477
 
                public int get_baseline_row ();
2478
 
                public unowned Gtk.Widget? get_child_at (int left, int top);
2479
 
                public bool get_column_homogeneous ();
2480
 
                public uint get_column_spacing ();
2481
 
                public Gtk.BaselinePosition get_row_baseline_position (int row);
2482
 
                public bool get_row_homogeneous ();
2483
 
                public uint get_row_spacing ();
2484
 
                public void insert_column (int position);
2485
 
                public void insert_next_to (Gtk.Widget sibling, Gtk.PositionType side);
2486
 
                public void insert_row (int position);
2487
 
                public void remove_column (int position);
2488
 
                public void remove_row (int position);
2489
 
                public void set_baseline_row (int row);
2490
 
                public void set_column_homogeneous (bool homogeneous);
2491
 
                public void set_column_spacing (uint spacing);
2492
 
                public void set_row_baseline_position (int row, Gtk.BaselinePosition pos);
2493
 
                public void set_row_homogeneous (bool homogeneous);
2494
 
                public void set_row_spacing (uint spacing);
2495
 
                public int baseline_row { get; set; }
2496
 
                public bool column_homogeneous { get; set; }
2497
 
                public int column_spacing { get; set; }
2498
 
                public bool row_homogeneous { get; set; }
2499
 
                public int row_spacing { get; set; }
2500
 
        }
2501
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hbox_get_type ()")]
2502
 
        [Version (deprecated_since = "3.2", replacement = "Grid")]
2503
 
        public class HBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2504
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2505
 
                public HBox (bool homogeneous, int spacing);
2506
 
        }
2507
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hbutton_box_get_type ()")]
2508
 
        public class HButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2509
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2510
 
                public HButtonBox ();
2511
 
        }
2512
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hpaned_get_type ()")]
2513
 
        [Version (deprecated_since = "3.2", replacement = "Paned")]
2514
 
        public class HPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2515
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2516
 
                public HPaned ();
2517
 
        }
2518
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hsv_get_type ()")]
2519
 
        public class HSV : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2520
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2521
 
                public HSV ();
2522
 
                public void get_color (out double h, out double s, out double v);
2523
 
                public void get_metrics (out int size, out int ring_width);
2524
 
                public bool is_adjusting ();
2525
 
                public void set_color (double h, double s, double v);
2526
 
                public void set_metrics (int size, int ring_width);
2527
 
                public static void to_rgb (double h, double s, double v, out double r, out double g, out double b);
2528
 
                public virtual signal void changed ();
2529
 
                public virtual signal void move (Gtk.DirectionType type);
2530
 
        }
2531
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hscale_get_type ()")]
2532
 
        [Version (deprecated_since = "3.2")]
2533
 
        public class HScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2534
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2535
 
                public HScale (Gtk.Adjustment? adjustment);
2536
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2537
 
                public HScale.with_range (double min, double max, double step);
2538
 
        }
2539
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hscrollbar_get_type ()")]
2540
 
        [Version (deprecated_since = "3.2")]
2541
 
        public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2542
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2543
 
                public HScrollbar (Gtk.Adjustment? adjustment);
2544
 
        }
2545
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hseparator_get_type ()")]
2546
 
        [Version (deprecated_since = "3.2", replacement = "Separator")]
2547
 
        public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2548
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2549
 
                public HSeparator ();
2550
 
        }
2551
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_handle_box_get_type ()")]
2552
 
        [Version (deprecated_since = "3.4")]
2553
 
        public class HandleBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2554
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2555
 
                public HandleBox ();
2556
 
                public bool get_child_detached ();
2557
 
                public Gtk.PositionType get_handle_position ();
2558
 
                public Gtk.ShadowType get_shadow_type ();
2559
 
                public Gtk.PositionType get_snap_edge ();
2560
 
                public void set_handle_position (Gtk.PositionType position);
2561
 
                public void set_shadow_type (Gtk.ShadowType type);
2562
 
                public void set_snap_edge (Gtk.PositionType edge);
2563
 
                public bool child_detached { get; }
2564
 
                public Gtk.PositionType handle_position { get; set; }
2565
 
                public Gtk.ShadowType shadow_type { get; set; }
2566
 
                public Gtk.PositionType snap_edge { get; set; }
2567
 
                [NoAccessorMethod]
2568
 
                public bool snap_edge_set { get; set; }
2569
 
                public virtual signal void child_attached (Gtk.Widget child);
2570
 
        }
2571
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_header_bar_get_type ()")]
2572
 
        public class HeaderBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2573
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2574
 
                public HeaderBar ();
2575
 
                public unowned Gtk.Widget? get_custom_title ();
2576
 
                public unowned string get_decoration_layout ();
2577
 
                public bool get_has_subtitle ();
2578
 
                public bool get_show_close_button ();
2579
 
                public unowned string? get_subtitle ();
2580
 
                public unowned string? get_title ();
2581
 
                public void pack_end (Gtk.Widget child);
2582
 
                public void pack_start (Gtk.Widget child);
2583
 
                public void set_custom_title (Gtk.Widget? title_widget);
2584
 
                public void set_decoration_layout (string? layout);
2585
 
                public void set_has_subtitle (bool setting);
2586
 
                public void set_show_close_button (bool setting);
2587
 
                public void set_subtitle (string? subtitle);
2588
 
                public void set_title (string? title);
2589
 
                public Gtk.Widget custom_title { get; set; }
2590
 
                public string decoration_layout { get; set; }
2591
 
                [NoAccessorMethod]
2592
 
                public bool decoration_layout_set { get; set; }
2593
 
                public bool has_subtitle { get; set; }
2594
 
                public bool show_close_button { get; set; }
2595
 
                [NoAccessorMethod]
2596
 
                public int spacing { get; set; }
2597
 
                public string subtitle { get; set; }
2598
 
                public string title { get; set; }
2599
 
        }
2600
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h", type_id = "gtk_im_context_get_type ()")]
2601
 
        public abstract class IMContext : GLib.Object {
2602
 
                [CCode (has_construct_function = false)]
2603
 
                protected IMContext ();
2604
 
                public virtual bool filter_keypress (Gdk.EventKey event);
2605
 
                public virtual void focus_in ();
2606
 
                public virtual void focus_out ();
2607
 
                public virtual void get_preedit_string (out string str, out Pango.AttrList attrs, out int cursor_pos);
2608
 
                public virtual bool get_surrounding (out string text, out int cursor_index);
2609
 
                public virtual void reset ();
2610
 
                public virtual void set_client_window (Gdk.Window? window);
2611
 
                public virtual void set_cursor_location (Gdk.Rectangle area);
2612
 
                public virtual void set_surrounding (string text, int len, int cursor_index);
2613
 
                public virtual void set_use_preedit (bool use_preedit);
2614
 
                [NoAccessorMethod]
2615
 
                public Gtk.InputHints input_hints { get; set; }
2616
 
                [NoAccessorMethod]
2617
 
                public Gtk.InputPurpose input_purpose { get; set; }
2618
 
                public virtual signal void commit (string str);
2619
 
                [HasEmitter]
2620
 
                public virtual signal bool delete_surrounding (int offset, int n_chars);
2621
 
                public virtual signal void preedit_changed ();
2622
 
                public virtual signal void preedit_end ();
2623
 
                public virtual signal void preedit_start ();
2624
 
                public virtual signal bool retrieve_surrounding ();
2625
 
        }
2626
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_im_context_simple_get_type ()")]
2627
 
        public class IMContextSimple : Gtk.IMContext {
2628
 
                [CCode (has_construct_function = false, type = "GtkIMContext*")]
2629
 
                public IMContextSimple ();
2630
 
                public void add_compose_file (string compose_file);
2631
 
                public void add_table ([CCode (array_length = false)] uint16[] data, int max_seq_len, int n_seqs);
2632
 
        }
2633
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_im_multicontext_get_type ()")]
2634
 
        public class IMMulticontext : Gtk.IMContext {
2635
 
                [CCode (has_construct_function = false, type = "GtkIMContext*")]
2636
 
                public IMMulticontext ();
2637
 
                public void append_menuitems (Gtk.MenuShell menushell);
2638
 
                public unowned string get_context_id ();
2639
 
                public void set_context_id (string context_id);
2640
 
        }
2641
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_factory_get_type ()")]
2642
 
        [Version (deprecated_since = "3.10", replacement = "Gtk.IconTheme")]
2643
 
        public class IconFactory : GLib.Object, Gtk.Buildable {
2644
 
                [CCode (has_construct_function = false)]
2645
 
                public IconFactory ();
2646
 
                public void add (string stock_id, Gtk.IconSet icon_set);
2647
 
                public void add_default ();
2648
 
                public unowned Gtk.IconSet lookup (string stock_id);
2649
 
                public static unowned Gtk.IconSet lookup_default (string stock_id);
2650
 
                public void remove_default ();
2651
 
        }
2652
 
        [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_icon_info_copy", free_function = "gtk_icon_info_free", type_id = "gtk_icon_info_get_type ()")]
2653
 
        [Compact]
2654
 
        public class IconInfo {
2655
 
                [CCode (has_construct_function = false)]
2656
 
                protected IconInfo ();
2657
 
                public Gtk.IconInfo copy ();
2658
 
                [CCode (has_construct_function = false)]
2659
 
                public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf);
2660
 
                public void free ();
2661
 
                public bool get_attach_points (out Gdk.Point[] points);
2662
 
                public int get_base_scale ();
2663
 
                public int get_base_size ();
2664
 
                public unowned Gdk.Pixbuf get_builtin_pixbuf ();
2665
 
                public unowned string get_display_name ();
2666
 
                public bool get_embedded_rect (out Gdk.Rectangle rectangle);
2667
 
                public unowned string? get_filename ();
2668
 
                public bool is_symbolic ();
2669
 
                public Gdk.Pixbuf load_icon () throws GLib.Error;
2670
 
                public async Gdk.Pixbuf load_icon_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
2671
 
                public Cairo.Surface load_surface (Gdk.Window? for_window) throws GLib.Error;
2672
 
                public Gdk.Pixbuf load_symbolic (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, out bool was_symbolic = null) throws GLib.Error;
2673
 
                public async Gdk.Pixbuf load_symbolic_async (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, GLib.Cancellable? cancellable = null, out bool was_symbolic = null) throws GLib.Error;
2674
 
                public Gdk.Pixbuf load_symbolic_for_context (Gtk.StyleContext context, out bool was_symbolic = null) throws GLib.Error;
2675
 
                public async Gdk.Pixbuf load_symbolic_for_context_async (Gtk.StyleContext context, GLib.Cancellable? cancellable = null, out bool was_symbolic = null) throws GLib.Error;
2676
 
                [Version (deprecated_since = "3.0", replacement = "load_symbolic_for_context")]
2677
 
                public Gdk.Pixbuf load_symbolic_for_style (Gtk.Style style, Gtk.StateType state, out bool was_symbolic = null) throws GLib.Error;
2678
 
                public void set_raw_coordinates (bool raw_coordinates);
2679
 
        }
2680
 
        [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_icon_set_ref", type_id = "gtk_icon_set_get_type ()", unref_function = "gtk_icon_set_unref")]
2681
 
        [Compact]
2682
 
        [Version (deprecated_since = "3.10", replacement = "Gtk.IconTheme")]
2683
 
        public class IconSet {
2684
 
                [CCode (has_construct_function = false)]
2685
 
                public IconSet ();
2686
 
                public void add_source (Gtk.IconSource source);
2687
 
                public Gtk.IconSet copy ();
2688
 
                [CCode (has_construct_function = false)]
2689
 
                public IconSet.from_pixbuf (Gdk.Pixbuf pixbuf);
2690
 
                public void get_sizes (out Gtk.IconSize[] sizes);
2691
 
                [Version (deprecated_since = "3.0", replacement = "set_render_icon_pixbuf")]
2692
 
                public Gdk.Pixbuf render_icon (Gtk.Style? style, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget? widget, string? detail);
2693
 
                [Version (deprecated_since = "3.10")]
2694
 
                public Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSize size);
2695
 
                [Version (deprecated_since = "3.10")]
2696
 
                public Cairo.Surface render_icon_surface (Gtk.StyleContext context, Gtk.IconSize size, int scale, Gdk.Window? for_window);
2697
 
        }
2698
 
        [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_icon_source_copy", type_id = "gtk_icon_source_get_type ()")]
2699
 
        [Compact]
2700
 
        [Version (deprecated_since = "3.10", replacement = "Gtk.IconTheme")]
2701
 
        public class IconSource {
2702
 
                [CCode (has_construct_function = false)]
2703
 
                public IconSource ();
2704
 
                public Gtk.IconSource copy ();
2705
 
                public Gtk.TextDirection get_direction ();
2706
 
                public bool get_direction_wildcarded ();
2707
 
                public unowned string get_filename ();
2708
 
                public unowned string get_icon_name ();
2709
 
                public unowned Gdk.Pixbuf get_pixbuf ();
2710
 
                public Gtk.IconSize get_size ();
2711
 
                public bool get_size_wildcarded ();
2712
 
                public Gtk.StateType get_state ();
2713
 
                public bool get_state_wildcarded ();
2714
 
                public void set_direction (Gtk.TextDirection direction);
2715
 
                public void set_direction_wildcarded (bool setting);
2716
 
                public void set_filename (string filename);
2717
 
                public void set_icon_name (string? icon_name);
2718
 
                public void set_pixbuf (Gdk.Pixbuf pixbuf);
2719
 
                public void set_size (Gtk.IconSize size);
2720
 
                public void set_size_wildcarded (bool setting);
2721
 
                public void set_state (Gtk.StateType state);
2722
 
                public void set_state_wildcarded (bool setting);
2723
 
        }
2724
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_theme_get_type ()")]
2725
 
        public class IconTheme : GLib.Object {
2726
 
                [CCode (has_construct_function = false)]
2727
 
                public IconTheme ();
2728
 
                public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf);
2729
 
                public void add_resource_path (string path);
2730
 
                public void append_search_path (string path);
2731
 
                public Gtk.IconInfo? choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
2732
 
                public Gtk.IconInfo? choose_icon_for_scale ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, int scale, Gtk.IconLookupFlags flags);
2733
 
                public static unowned Gtk.IconTheme get_default ();
2734
 
                public string? get_example_icon_name ();
2735
 
                public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen);
2736
 
                [CCode (array_length = false, array_null_terminated = true)]
2737
 
                public int[] get_icon_sizes (string icon_name);
2738
 
                public void get_search_path (out string[] path);
2739
 
                public bool has_icon (string icon_name);
2740
 
                public GLib.List<string> list_contexts ();
2741
 
                public GLib.List<string> list_icons (string? context);
2742
 
                public Gdk.Pixbuf? load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
2743
 
                public Gdk.Pixbuf? load_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags) throws GLib.Error;
2744
 
                public Cairo.Surface? load_surface (string icon_name, int size, int scale, Gdk.Window? for_window, Gtk.IconLookupFlags flags) throws GLib.Error;
2745
 
                public Gtk.IconInfo? lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
2746
 
                public Gtk.IconInfo? lookup_by_gicon_for_scale (GLib.Icon icon, int size, int scale, Gtk.IconLookupFlags flags);
2747
 
                public Gtk.IconInfo? lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
2748
 
                public Gtk.IconInfo? lookup_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags);
2749
 
                public void prepend_search_path (string path);
2750
 
                public bool rescan_if_needed ();
2751
 
                public void set_custom_theme (string? theme_name);
2752
 
                public void set_screen (Gdk.Screen screen);
2753
 
                public void set_search_path (string[] path);
2754
 
                public virtual signal void changed ();
2755
 
        }
2756
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_view_get_type ()")]
2757
 
        public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Scrollable {
2758
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2759
 
                public IconView ();
2760
 
                public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
2761
 
                public Cairo.Surface create_drag_icon (Gtk.TreePath path);
2762
 
                public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
2763
 
                public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
2764
 
                public bool get_activate_on_single_click ();
2765
 
                public bool get_cell_rect (Gtk.TreePath path, Gtk.CellRenderer? cell, out Gdk.Rectangle rect);
2766
 
                public int get_column_spacing ();
2767
 
                public int get_columns ();
2768
 
                public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
2769
 
                public bool get_dest_item_at_pos (int drag_x, int drag_y, out unowned Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
2770
 
                public void get_drag_dest_item (out unowned Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
2771
 
                public bool get_item_at_pos (int x, int y, out unowned Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
2772
 
                public int get_item_column (Gtk.TreePath path);
2773
 
                public Gtk.Orientation get_item_orientation ();
2774
 
                public int get_item_padding ();
2775
 
                public int get_item_row (Gtk.TreePath path);
2776
 
                public int get_item_width ();
2777
 
                public int get_margin ();
2778
 
                public int get_markup_column ();
2779
 
                public unowned Gtk.TreeModel? get_model ();
2780
 
                public Gtk.TreePath? get_path_at_pos (int x, int y);
2781
 
                public int get_pixbuf_column ();
2782
 
                public bool get_reorderable ();
2783
 
                public int get_row_spacing ();
2784
 
                public GLib.List<Gtk.TreePath> get_selected_items ();
2785
 
                public Gtk.SelectionMode get_selection_mode ();
2786
 
                public int get_spacing ();
2787
 
                public int get_text_column ();
2788
 
                public int get_tooltip_column ();
2789
 
                public bool get_tooltip_context (ref int x, ref int y, bool keyboard_tip, out unowned Gtk.TreeModel model, out Gtk.TreePath path, out Gtk.TreeIter iter);
2790
 
                public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
2791
 
                public bool path_is_selected (Gtk.TreePath path);
2792
 
                public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
2793
 
                public void select_path (Gtk.TreePath path);
2794
 
                public void selected_foreach (Gtk.IconViewForeachFunc func);
2795
 
                public void set_activate_on_single_click (bool single);
2796
 
                public void set_column_spacing (int column_spacing);
2797
 
                public void set_columns (int columns);
2798
 
                public void set_cursor (Gtk.TreePath path, Gtk.CellRenderer? cell, bool start_editing);
2799
 
                public void set_drag_dest_item (Gtk.TreePath? path, Gtk.IconViewDropPosition pos);
2800
 
                public void set_item_orientation (Gtk.Orientation orientation);
2801
 
                public void set_item_padding (int item_padding);
2802
 
                public void set_item_width (int item_width);
2803
 
                public void set_margin (int margin);
2804
 
                public void set_markup_column (int column);
2805
 
                public void set_model (Gtk.TreeModel? model);
2806
 
                public void set_pixbuf_column (int column);
2807
 
                public void set_reorderable (bool reorderable);
2808
 
                public void set_row_spacing (int row_spacing);
2809
 
                public void set_selection_mode (Gtk.SelectionMode mode);
2810
 
                public void set_spacing (int spacing);
2811
 
                public void set_text_column (int column);
2812
 
                public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.CellRenderer? cell);
2813
 
                public void set_tooltip_column (int column);
2814
 
                public void set_tooltip_item (Gtk.Tooltip tooltip, Gtk.TreePath path);
2815
 
                public void unselect_path (Gtk.TreePath path);
2816
 
                public void unset_model_drag_dest ();
2817
 
                public void unset_model_drag_source ();
2818
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2819
 
                public IconView.with_area (Gtk.CellArea area);
2820
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2821
 
                public IconView.with_model (Gtk.TreeModel model);
2822
 
                public bool activate_on_single_click { get; set; }
2823
 
                [NoAccessorMethod]
2824
 
                public Gtk.CellArea cell_area { owned get; construct; }
2825
 
                public int column_spacing { get; set; }
2826
 
                public int columns { get; set; }
2827
 
                public Gtk.Orientation item_orientation { get; set; }
2828
 
                public int item_padding { get; set; }
2829
 
                public int item_width { get; set; }
2830
 
                public int margin { get; set; }
2831
 
                public int markup_column { get; set; }
2832
 
                public Gtk.TreeModel model { get; set; }
2833
 
                public int pixbuf_column { get; set; }
2834
 
                public bool reorderable { get; set; }
2835
 
                public int row_spacing { get; set; }
2836
 
                public Gtk.SelectionMode selection_mode { get; set; }
2837
 
                public int spacing { get; set; }
2838
 
                public int text_column { get; set; }
2839
 
                public int tooltip_column { get; set; }
2840
 
                public virtual signal bool activate_cursor_item ();
2841
 
                [HasEmitter]
2842
 
                public virtual signal void item_activated (Gtk.TreePath path);
2843
 
                public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
2844
 
                public virtual signal void select_all ();
2845
 
                public virtual signal void select_cursor_item ();
2846
 
                public virtual signal void selection_changed ();
2847
 
                public virtual signal void toggle_cursor_item ();
2848
 
                public virtual signal void unselect_all ();
2849
 
        }
2850
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_icon_view_accessible_get_type ()")]
2851
 
        public class IconViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
2852
 
                [CCode (has_construct_function = false)]
2853
 
                protected IconViewAccessible ();
2854
 
        }
2855
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_image_get_type ()")]
2856
 
        public class Image : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
2857
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2858
 
                public Image ();
2859
 
                public void clear ();
2860
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2861
 
                public Image.from_animation (Gdk.PixbufAnimation animation);
2862
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2863
 
                public Image.from_file (string filename);
2864
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2865
 
                public Image.from_gicon (GLib.Icon icon, Gtk.IconSize size);
2866
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2867
 
                public Image.from_icon_name (string icon_name, Gtk.IconSize size);
2868
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2869
 
                public Image.from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
2870
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2871
 
                public Image.from_pixbuf (Gdk.Pixbuf pixbuf);
2872
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2873
 
                public Image.from_resource (string resource_path);
2874
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2875
 
                public Image.from_stock (string stock_id, Gtk.IconSize size);
2876
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2877
 
                public Image.from_surface (Cairo.Surface surface);
2878
 
                public unowned Gdk.PixbufAnimation? get_animation ();
2879
 
                public void get_gicon (out unowned GLib.Icon gicon, out Gtk.IconSize size);
2880
 
                public void get_icon_name (out unowned string icon_name, out Gtk.IconSize size);
2881
 
                public void get_icon_set (out unowned Gtk.IconSet icon_set, out Gtk.IconSize size);
2882
 
                public unowned Gdk.Pixbuf? get_pixbuf ();
2883
 
                public int get_pixel_size ();
2884
 
                public void get_stock (out string stock_id, out Gtk.IconSize size);
2885
 
                public Gtk.ImageType get_storage_type ();
2886
 
                public void set_from_animation (Gdk.PixbufAnimation animation);
2887
 
                public void set_from_file (string? filename);
2888
 
                public void set_from_gicon (GLib.Icon icon, Gtk.IconSize size);
2889
 
                public void set_from_icon_name (string icon_name, Gtk.IconSize size);
2890
 
                public void set_from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
2891
 
                public void set_from_pixbuf (Gdk.Pixbuf? pixbuf);
2892
 
                public void set_from_resource (string? resource_path);
2893
 
                public void set_from_stock (string stock_id, Gtk.IconSize size);
2894
 
                public void set_from_surface (Cairo.Surface surface);
2895
 
                public void set_pixel_size (int pixel_size);
2896
 
                [NoAccessorMethod]
2897
 
                public string file { owned get; set; }
2898
 
                [NoAccessorMethod]
2899
 
                public GLib.Icon gicon { owned get; set; }
2900
 
                [NoAccessorMethod]
2901
 
                public string icon_name { owned get; set; }
2902
 
                [NoAccessorMethod]
2903
 
                public Gtk.IconSet icon_set { owned get; set; }
2904
 
                [NoAccessorMethod]
2905
 
                public int icon_size { get; set; }
2906
 
                [NoAccessorMethod]
2907
 
                public Gdk.Pixbuf pixbuf { owned get; set; }
2908
 
                [NoAccessorMethod]
2909
 
                public Gdk.PixbufAnimation pixbuf_animation { owned get; set; }
2910
 
                public int pixel_size { get; set; }
2911
 
                [NoAccessorMethod]
2912
 
                public string resource { owned get; set; }
2913
 
                [NoAccessorMethod]
2914
 
                public string stock { owned get; set; }
2915
 
                public Gtk.ImageType storage_type { get; }
2916
 
                [NoAccessorMethod]
2917
 
                public Cairo.Surface surface { owned get; set; }
2918
 
                [NoAccessorMethod]
2919
 
                public bool use_fallback { get; set; }
2920
 
        }
2921
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_image_accessible_get_type ()")]
2922
 
        public class ImageAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
2923
 
                [CCode (has_construct_function = false)]
2924
 
                protected ImageAccessible ();
2925
 
        }
2926
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_image_cell_accessible_get_type ()")]
2927
 
        public class ImageCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component, Atk.Image {
2928
 
                [CCode (has_construct_function = false)]
2929
 
                protected ImageCellAccessible ();
2930
 
        }
2931
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_image_menu_item_get_type ()")]
2932
 
        public class ImageMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
2933
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2934
 
                public ImageMenuItem ();
2935
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2936
 
                public ImageMenuItem.from_stock (string stock_id, Gtk.AccelGroup? accel_group);
2937
 
                public bool get_always_show_image ();
2938
 
                public unowned Gtk.Widget get_image ();
2939
 
                public bool get_use_stock ();
2940
 
                public void set_accel_group (Gtk.AccelGroup accel_group);
2941
 
                public void set_always_show_image (bool always_show);
2942
 
                public void set_image (Gtk.Widget? image);
2943
 
                public void set_use_stock (bool use_stock);
2944
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2945
 
                public ImageMenuItem.with_label (string label);
2946
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2947
 
                public ImageMenuItem.with_mnemonic (string label);
2948
 
                public Gtk.AccelGroup accel_group { set; }
2949
 
                public bool always_show_image { get; set construct; }
2950
 
                public Gtk.Widget image { get; set; }
2951
 
                public bool use_stock { get; set construct; }
2952
 
        }
2953
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_info_bar_get_type ()")]
2954
 
        public class InfoBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2955
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2956
 
                public InfoBar ();
2957
 
                public void add_action_widget (Gtk.Widget child, int response_id);
2958
 
                public unowned Gtk.Button add_button (string button_text, int response_id);
2959
 
                public void add_buttons (...);
2960
 
                public unowned Gtk.Widget get_action_area ();
2961
 
                public unowned Gtk.Container get_content_area ();
2962
 
                public Gtk.MessageType get_message_type ();
2963
 
                public bool get_show_close_button ();
2964
 
                public void set_default_response (int response_id);
2965
 
                public void set_message_type (Gtk.MessageType message_type);
2966
 
                public void set_response_sensitive (int response_id, bool setting);
2967
 
                public void set_show_close_button (bool setting);
2968
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2969
 
                public InfoBar.with_buttons (...);
2970
 
                public Gtk.MessageType message_type { get; set construct; }
2971
 
                public bool show_close_button { get; set construct; }
2972
 
                public virtual signal void close ();
2973
 
                [HasEmitter]
2974
 
                public virtual signal void response (int response_id);
2975
 
        }
2976
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_invisible_get_type ()")]
2977
 
        public class Invisible : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2978
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2979
 
                public Invisible ();
2980
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2981
 
                public Invisible.for_screen (Gdk.Screen screen);
2982
 
                public unowned Gdk.Screen get_screen ();
2983
 
                public void set_screen (Gdk.Screen screen);
2984
 
                public Gdk.Screen screen { get; set; }
2985
 
        }
2986
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_label_get_type ()")]
2987
 
        public class Label : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
2988
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
2989
 
                public Label (string? str);
2990
 
                public double get_angle ();
2991
 
                public unowned Pango.AttrList? get_attributes ();
2992
 
                public unowned string get_current_uri ();
2993
 
                public Pango.EllipsizeMode get_ellipsize ();
2994
 
                public Gtk.Justification get_justify ();
2995
 
                public unowned string get_label ();
2996
 
                public unowned Pango.Layout get_layout ();
2997
 
                public void get_layout_offsets (out int x, out int y);
2998
 
                public bool get_line_wrap ();
2999
 
                public Pango.WrapMode get_line_wrap_mode ();
3000
 
                public int get_lines ();
3001
 
                public int get_max_width_chars ();
3002
 
                public uint get_mnemonic_keyval ();
3003
 
                public unowned Gtk.Widget? get_mnemonic_widget ();
3004
 
                public bool get_selectable ();
3005
 
                public bool get_selection_bounds (out int start, out int end);
3006
 
                public bool get_single_line_mode ();
3007
 
                public unowned string get_text ();
3008
 
                public bool get_track_visited_links ();
3009
 
                public bool get_use_markup ();
3010
 
                public bool get_use_underline ();
3011
 
                public int get_width_chars ();
3012
 
                public float get_xalign ();
3013
 
                public float get_yalign ();
3014
 
                public void select_region (int start_offset, int end_offset);
3015
 
                public void set_angle (double angle);
3016
 
                public void set_attributes (Pango.AttrList? attrs);
3017
 
                public void set_ellipsize (Pango.EllipsizeMode mode);
3018
 
                public void set_justify (Gtk.Justification jtype);
3019
 
                public void set_label (string str);
3020
 
                public void set_line_wrap (bool wrap);
3021
 
                public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
3022
 
                public void set_lines (int lines);
3023
 
                public void set_markup (string str);
3024
 
                public void set_markup_with_mnemonic (string str);
3025
 
                public void set_max_width_chars (int n_chars);
3026
 
                public void set_mnemonic_widget (Gtk.Widget? widget);
3027
 
                public void set_pattern (string pattern);
3028
 
                public void set_selectable (bool setting);
3029
 
                public void set_single_line_mode (bool single_line_mode);
3030
 
                public void set_text (string str);
3031
 
                public void set_text_with_mnemonic (string str);
3032
 
                public void set_track_visited_links (bool track_links);
3033
 
                public void set_use_markup (bool setting);
3034
 
                public void set_use_underline (bool setting);
3035
 
                public void set_width_chars (int n_chars);
3036
 
                public void set_xalign (float xalign);
3037
 
                public void set_yalign (float yalign);
3038
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3039
 
                public Label.with_mnemonic (string? str);
3040
 
                public double angle { get; set; }
3041
 
                public Pango.AttrList attributes { get; set; }
3042
 
                [NoAccessorMethod]
3043
 
                public int cursor_position { get; }
3044
 
                public Pango.EllipsizeMode ellipsize { get; set; }
3045
 
                public Gtk.Justification justify { get; set; }
3046
 
                public string label { get; set; }
3047
 
                public int lines { get; set; }
3048
 
                public int max_width_chars { get; set; }
3049
 
                public uint mnemonic_keyval { get; }
3050
 
                public Gtk.Widget mnemonic_widget { get; set; }
3051
 
                public string pattern { set; }
3052
 
                public bool selectable { get; set; }
3053
 
                [NoAccessorMethod]
3054
 
                public int selection_bound { get; }
3055
 
                public bool single_line_mode { get; set; }
3056
 
                public bool track_visited_links { get; set; }
3057
 
                public bool use_markup { get; set; }
3058
 
                public bool use_underline { get; set; }
3059
 
                public int width_chars { get; set; }
3060
 
                [NoAccessorMethod]
3061
 
                public bool wrap { get; set; }
3062
 
                [NoAccessorMethod]
3063
 
                public Pango.WrapMode wrap_mode { get; set; }
3064
 
                public float xalign { get; set; }
3065
 
                public float yalign { get; set; }
3066
 
                public virtual signal void activate_current_link ();
3067
 
                public virtual signal bool activate_link (string uri);
3068
 
                public virtual signal void copy_clipboard ();
3069
 
                public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
3070
 
                public virtual signal void populate_popup (Gtk.Menu menu);
3071
 
        }
3072
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_label_accessible_get_type ()")]
3073
 
        public class LabelAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Text, Atk.Hypertext {
3074
 
                [CCode (has_construct_function = false)]
3075
 
                protected LabelAccessible ();
3076
 
        }
3077
 
        [CCode (cheader_filename = "gtk/gtk.h")]
3078
 
        [Compact]
3079
 
        public class LabelSelectionInfo {
3080
 
        }
3081
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_layout_get_type ()")]
3082
 
        public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
3083
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3084
 
                public Layout (Gtk.Adjustment? hadjustment = null, Gtk.Adjustment? vadjustment = null);
3085
 
                public unowned Gdk.Window get_bin_window ();
3086
 
                public unowned Gtk.Adjustment get_hadjustment ();
3087
 
                public void get_size (out uint width, out uint height);
3088
 
                public unowned Gtk.Adjustment get_vadjustment ();
3089
 
                public void move (Gtk.Widget child_widget, int x, int y);
3090
 
                public void put (Gtk.Widget child_widget, int x, int y);
3091
 
                public void set_hadjustment (Gtk.Adjustment? adjustment);
3092
 
                public void set_size (uint width, uint height);
3093
 
                public void set_vadjustment (Gtk.Adjustment? adjustment);
3094
 
                [NoAccessorMethod]
3095
 
                public uint height { get; set; }
3096
 
                [NoAccessorMethod]
3097
 
                public uint width { get; set; }
3098
 
        }
3099
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_level_bar_get_type ()")]
3100
 
        public class LevelBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3101
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3102
 
                public LevelBar ();
3103
 
                public void add_offset_value (string name, double value);
3104
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3105
 
                public LevelBar.for_interval (double min_value, double max_value);
3106
 
                public bool get_inverted ();
3107
 
                public double get_max_value ();
3108
 
                public double get_min_value ();
3109
 
                public Gtk.LevelBarMode get_mode ();
3110
 
                public bool get_offset_value (string? name, out double value);
3111
 
                public double get_value ();
3112
 
                public void remove_offset_value (string? name);
3113
 
                public void set_inverted (bool inverted);
3114
 
                public void set_max_value (double value);
3115
 
                public void set_min_value (double value);
3116
 
                public void set_mode (Gtk.LevelBarMode mode);
3117
 
                public void set_value (double value);
3118
 
                public bool inverted { get; set; }
3119
 
                public double max_value { get; set; }
3120
 
                public double min_value { get; set; }
3121
 
                public Gtk.LevelBarMode mode { get; set; }
3122
 
                public double value { get; set; }
3123
 
                public virtual signal void offset_changed (string name);
3124
 
        }
3125
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_level_bar_accessible_get_type ()")]
3126
 
        public class LevelBarAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
3127
 
                [CCode (has_construct_function = false)]
3128
 
                protected LevelBarAccessible ();
3129
 
        }
3130
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_link_button_get_type ()")]
3131
 
        public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
3132
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3133
 
                public LinkButton (string uri);
3134
 
                public unowned string get_uri ();
3135
 
                public bool get_visited ();
3136
 
                public void set_uri (string uri);
3137
 
                public void set_visited (bool visited);
3138
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3139
 
                public LinkButton.with_label (string uri, string? label);
3140
 
                public string uri { get; set; }
3141
 
                public bool visited { get; set; }
3142
 
                public virtual signal bool activate_link ();
3143
 
        }
3144
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_link_button_accessible_get_type ()")]
3145
 
        public class LinkButtonAccessible : Gtk.ButtonAccessible, Atk.Component, Atk.Action, Atk.Image, Atk.HyperlinkImpl {
3146
 
                [CCode (has_construct_function = false)]
3147
 
                protected LinkButtonAccessible ();
3148
 
        }
3149
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_get_type ()")]
3150
 
        public class ListBox : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3151
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3152
 
                public ListBox ();
3153
 
                public void bind_model (GLib.ListModel? model, owned Gtk.ListBoxCreateWidgetFunc? create_widget_func);
3154
 
                public void drag_highlight_row (Gtk.ListBoxRow row);
3155
 
                public void drag_unhighlight_row ();
3156
 
                public bool get_activate_on_single_click ();
3157
 
                public unowned Gtk.Adjustment get_adjustment ();
3158
 
                public unowned Gtk.ListBoxRow? get_row_at_index (int index_);
3159
 
                public unowned Gtk.ListBoxRow? get_row_at_y (int y);
3160
 
                public unowned Gtk.ListBoxRow get_selected_row ();
3161
 
                public GLib.List<weak Gtk.ListBoxRow> get_selected_rows ();
3162
 
                public Gtk.SelectionMode get_selection_mode ();
3163
 
                public void insert (Gtk.Widget child, int position);
3164
 
                public void invalidate_filter ();
3165
 
                public void invalidate_headers ();
3166
 
                public void invalidate_sort ();
3167
 
                public void prepend (Gtk.Widget child);
3168
 
                public void select_row (Gtk.ListBoxRow? row);
3169
 
                public void selected_foreach (Gtk.ListBoxForeachFunc func);
3170
 
                public void set_activate_on_single_click (bool single);
3171
 
                public void set_adjustment (Gtk.Adjustment? adjustment);
3172
 
                public void set_filter_func (owned Gtk.ListBoxFilterFunc? filter_func);
3173
 
                public void set_header_func (owned Gtk.ListBoxUpdateHeaderFunc? update_header);
3174
 
                public void set_placeholder (Gtk.Widget? placeholder);
3175
 
                public void set_selection_mode (Gtk.SelectionMode mode);
3176
 
                public void set_sort_func (owned Gtk.ListBoxSortFunc? sort_func);
3177
 
                public void unselect_row (Gtk.ListBoxRow row);
3178
 
                public bool activate_on_single_click { get; set; }
3179
 
                public Gtk.SelectionMode selection_mode { get; set; }
3180
 
                public virtual signal void activate_cursor_row ();
3181
 
                public virtual signal void move_cursor (Gtk.MovementStep step, int count);
3182
 
                public virtual signal void row_activated (Gtk.ListBoxRow row);
3183
 
                public virtual signal void row_selected (Gtk.ListBoxRow? row);
3184
 
                [HasEmitter]
3185
 
                public virtual signal void select_all ();
3186
 
                public virtual signal void selected_rows_changed ();
3187
 
                public virtual signal void toggle_cursor_row ();
3188
 
                [HasEmitter]
3189
 
                public virtual signal void unselect_all ();
3190
 
        }
3191
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_accessible_get_type ()")]
3192
 
        public class ListBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
3193
 
                [CCode (has_construct_function = false)]
3194
 
                protected ListBoxAccessible ();
3195
 
        }
3196
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_row_get_type ()")]
3197
 
        public class ListBoxRow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3198
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3199
 
                public ListBoxRow ();
3200
 
                public void changed ();
3201
 
                public bool get_activatable ();
3202
 
                public unowned Gtk.Widget? get_header ();
3203
 
                public int get_index ();
3204
 
                public bool get_selectable ();
3205
 
                public bool is_selected ();
3206
 
                public void set_activatable (bool activatable);
3207
 
                public void set_header (Gtk.Widget? header);
3208
 
                public void set_selectable (bool selectable);
3209
 
                public bool activatable { get; set; }
3210
 
                public bool selectable { get; set; }
3211
 
                public virtual signal void activate ();
3212
 
        }
3213
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_row_accessible_get_type ()")]
3214
 
        public class ListBoxRowAccessible : Gtk.ContainerAccessible, Atk.Component {
3215
 
                [CCode (has_construct_function = false)]
3216
 
                protected ListBoxRowAccessible ();
3217
 
        }
3218
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_store_get_type ()")]
3219
 
        public class ListStore : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable, Gtk.Buildable {
3220
 
                [CCode (has_construct_function = false, sentinel = "-1")]
3221
 
                public ListStore (int n_columns, ...);
3222
 
                public void append (out Gtk.TreeIter iter);
3223
 
                public void clear ();
3224
 
                public void insert (out Gtk.TreeIter iter, int position);
3225
 
                public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
3226
 
                public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
3227
 
                [CCode (sentinel = "-1")]
3228
 
                public void insert_with_values (out Gtk.TreeIter iter, int position, ...);
3229
 
                public void insert_with_valuesv (out Gtk.TreeIter iter, int position, [CCode (array_length_pos = 4.1)] int[] columns, [CCode (array_length_pos = 4.1)] GLib.Value[] values);
3230
 
                public bool iter_is_valid (Gtk.TreeIter iter);
3231
 
                public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
3232
 
                public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
3233
 
                [CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
3234
 
                public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
3235
 
                public void prepend (out Gtk.TreeIter iter);
3236
 
                public bool remove (Gtk.TreeIter iter);
3237
 
                public void reorder ([CCode (array_length = false)] int[] new_order);
3238
 
                [CCode (sentinel = "-1")]
3239
 
                public void @set (Gtk.TreeIter iter, ...);
3240
 
                public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
3241
 
                public void set_valist (Gtk.TreeIter iter, va_list var_args);
3242
 
                public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
3243
 
                public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_pos = 3.1)] int[] columns, [CCode (array_length_pos = 3.1)] GLib.Value[] values);
3244
 
                public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
3245
 
        }
3246
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_lock_button_get_type ()")]
3247
 
        public class LockButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
3248
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3249
 
                public LockButton (GLib.Permission? permission);
3250
 
                public unowned GLib.Permission get_permission ();
3251
 
                public void set_permission (GLib.Permission? permission);
3252
 
                public GLib.Permission permission { get; set; }
3253
 
                [NoAccessorMethod]
3254
 
                public string text_lock { owned get; set construct; }
3255
 
                [NoAccessorMethod]
3256
 
                public string text_unlock { owned get; set construct; }
3257
 
                [NoAccessorMethod]
3258
 
                public string tooltip_lock { owned get; set construct; }
3259
 
                [NoAccessorMethod]
3260
 
                public string tooltip_not_authorized { owned get; set construct; }
3261
 
                [NoAccessorMethod]
3262
 
                public string tooltip_unlock { owned get; set construct; }
3263
 
        }
3264
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_lock_button_accessible_get_type ()")]
3265
 
        public class LockButtonAccessible : Gtk.ButtonAccessible, Atk.Component, Atk.Action, Atk.Image {
3266
 
                [CCode (has_construct_function = false)]
3267
 
                protected LockButtonAccessible ();
3268
 
        }
3269
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_get_type ()")]
3270
 
        public class Menu : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
3271
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3272
 
                public Menu ();
3273
 
                public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
3274
 
                public void attach_to_widget (Gtk.Widget attach_widget, [CCode (scope = "async")] Gtk.MenuDetachFunc? detacher);
3275
 
                public void detach ();
3276
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3277
 
                public Menu.from_model (GLib.MenuModel model);
3278
 
                public unowned Gtk.AccelGroup get_accel_group ();
3279
 
                public unowned string get_accel_path ();
3280
 
                public unowned Gtk.Widget get_active ();
3281
 
                public unowned Gtk.Widget get_attach_widget ();
3282
 
                public static unowned GLib.List<Gtk.Menu> get_for_attach_widget (Gtk.Widget widget);
3283
 
                public int get_monitor ();
3284
 
                public bool get_reserve_toggle_size ();
3285
 
                public bool get_tearoff_state ();
3286
 
                public unowned string get_title ();
3287
 
                public void popdown ();
3288
 
                public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode (scope = "async")] Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
3289
 
                public void popup_for_device (Gdk.Device? device, Gtk.Widget parent_menu_shell, Gtk.Widget parent_menu_item, owned Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
3290
 
                public void reorder_child (Gtk.Widget child, int position);
3291
 
                public void reposition ();
3292
 
                public void set_accel_group (Gtk.AccelGroup? accel_group);
3293
 
                public void set_accel_path (string? accel_path);
3294
 
                public void set_active (uint index);
3295
 
                public void set_monitor (int monitor_num);
3296
 
                public void set_reserve_toggle_size (bool reserve_toggle_size);
3297
 
                public void set_screen (Gdk.Screen? screen);
3298
 
                public void set_tearoff_state (bool torn_off);
3299
 
                public void set_title (string title);
3300
 
                public Gtk.AccelGroup accel_group { get; set; }
3301
 
                public string accel_path { get; set; }
3302
 
                public int active { get; set; }
3303
 
                [NoAccessorMethod]
3304
 
                public Gtk.Widget attach_widget { owned get; set; }
3305
 
                public int monitor { get; set; }
3306
 
                public bool reserve_toggle_size { get; set; }
3307
 
                public bool tearoff_state { get; set; }
3308
 
                [NoAccessorMethod]
3309
 
                public string tearoff_title { owned get; set; }
3310
 
                public virtual signal void move_scroll (Gtk.ScrollType p0);
3311
 
        }
3312
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_accessible_get_type ()")]
3313
 
        public class MenuAccessible : Gtk.MenuShellAccessible, Atk.Component, Atk.Selection {
3314
 
                [CCode (has_construct_function = false)]
3315
 
                protected MenuAccessible ();
3316
 
        }
3317
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_bar_get_type ()")]
3318
 
        public class MenuBar : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
3319
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3320
 
                public MenuBar ();
3321
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3322
 
                public MenuBar.from_model (GLib.MenuModel model);
3323
 
                public Gtk.PackDirection get_child_pack_direction ();
3324
 
                public Gtk.PackDirection get_pack_direction ();
3325
 
                public void set_child_pack_direction (Gtk.PackDirection child_pack_dir);
3326
 
                public void set_pack_direction (Gtk.PackDirection pack_dir);
3327
 
                public Gtk.PackDirection child_pack_direction { get; set; }
3328
 
                public Gtk.PackDirection pack_direction { get; set; }
3329
 
        }
3330
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_button_get_type ()")]
3331
 
        public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
3332
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3333
 
                public MenuButton ();
3334
 
                public unowned Gtk.Widget? get_align_widget ();
3335
 
                public Gtk.ArrowType get_direction ();
3336
 
                public unowned GLib.MenuModel? get_menu_model ();
3337
 
                public unowned Gtk.Popover? get_popover ();
3338
 
                public unowned Gtk.Menu? get_popup ();
3339
 
                public bool get_use_popover ();
3340
 
                public void set_align_widget (Gtk.Widget? align_widget);
3341
 
                public void set_direction (Gtk.ArrowType direction);
3342
 
                public void set_menu_model (GLib.MenuModel? menu_model);
3343
 
                public void set_popover (Gtk.Widget? popover);
3344
 
                public void set_popup (Gtk.Widget? menu);
3345
 
                public void set_use_popover (bool use_popover);
3346
 
                public Gtk.Container align_widget { get; set; }
3347
 
                public Gtk.ArrowType direction { get; set; }
3348
 
                public GLib.MenuModel menu_model { get; set; }
3349
 
                public Gtk.Popover popover { get; set; }
3350
 
                public Gtk.Menu popup { get; set; }
3351
 
                public bool use_popover { get; set; }
3352
 
        }
3353
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_button_accessible_get_type ()")]
3354
 
        public class MenuButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Component, Atk.Action, Atk.Image {
3355
 
                [CCode (has_construct_function = false)]
3356
 
                protected MenuButtonAccessible ();
3357
 
        }
3358
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_item_get_type ()")]
3359
 
        public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
3360
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3361
 
                public MenuItem ();
3362
 
                public unowned string? get_accel_path ();
3363
 
                public virtual unowned string get_label ();
3364
 
                public bool get_reserve_indicator ();
3365
 
                [Version (deprecated_since = "3.2", replacement = "Widget.get_hexpand and Widget.get_halign")]
3366
 
                public bool get_right_justified ();
3367
 
                public unowned Gtk.Widget? get_submenu ();
3368
 
                public bool get_use_underline ();
3369
 
                public void set_accel_path (string? accel_path);
3370
 
                public virtual void set_label (string label);
3371
 
                public void set_reserve_indicator (bool reserve);
3372
 
                [Version (deprecated_since = "3.2", replacement = "Widget.set_hexpand and Widget.set_halign")]
3373
 
                public void set_right_justified (bool right_justified);
3374
 
                public void set_submenu (Gtk.Widget? submenu);
3375
 
                public void set_use_underline (bool setting);
3376
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3377
 
                public MenuItem.with_label (string label);
3378
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3379
 
                public MenuItem.with_mnemonic (string label);
3380
 
                public string accel_path { get; set; }
3381
 
                public string label { get; set; }
3382
 
                public bool right_justified { get; set; }
3383
 
                public Gtk.Menu submenu { get; set; }
3384
 
                public bool use_underline { get; set; }
3385
 
                [HasEmitter]
3386
 
                public virtual signal void activate ();
3387
 
                public virtual signal void activate_item ();
3388
 
                public virtual signal void deselect ();
3389
 
                public virtual signal void select ();
3390
 
                [HasEmitter]
3391
 
                public virtual signal void toggle_size_allocate (int allocation);
3392
 
                [HasEmitter]
3393
 
                public virtual signal void toggle_size_request (void* requisition);
3394
 
        }
3395
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_item_accessible_get_type ()")]
3396
 
        public class MenuItemAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Action, Atk.Selection {
3397
 
                [CCode (has_construct_function = false)]
3398
 
                protected MenuItemAccessible ();
3399
 
        }
3400
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_shell_get_type ()")]
3401
 
        public abstract class MenuShell : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3402
 
                [CCode (has_construct_function = false)]
3403
 
                protected MenuShell ();
3404
 
                public void activate_item (Gtk.Widget menu_item, bool force_deactivate);
3405
 
                public void append ([CCode (type = "GtkWidget*")] Gtk.MenuItem child);
3406
 
                public void bind_model (GLib.MenuModel? model, string? action_namespace, bool with_separators);
3407
 
                public void deselect ();
3408
 
                public unowned Gtk.Widget get_parent_shell ();
3409
 
                [NoWrapper]
3410
 
                public virtual int get_popup_delay ();
3411
 
                public unowned Gtk.Widget get_selected_item ();
3412
 
                public bool get_take_focus ();
3413
 
                public void prepend (Gtk.Widget child);
3414
 
                public void select_first (bool search_sensitive);
3415
 
                public virtual void select_item (Gtk.Widget menu_item);
3416
 
                public void set_take_focus (bool take_focus);
3417
 
                public bool take_focus { get; set; }
3418
 
                public virtual signal void activate_current (bool force_hide);
3419
 
                [HasEmitter]
3420
 
                public virtual signal void cancel ();
3421
 
                public virtual signal void cycle_focus (Gtk.DirectionType p0);
3422
 
                [HasEmitter]
3423
 
                public virtual signal void deactivate ();
3424
 
                [HasEmitter]
3425
 
                public virtual signal void insert (Gtk.Widget child, int position);
3426
 
                public virtual signal void move_current (Gtk.MenuDirectionType direction);
3427
 
                public virtual signal bool move_selected (int distance);
3428
 
                public virtual signal void selection_done ();
3429
 
        }
3430
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_shell_accessible_get_type ()")]
3431
 
        public class MenuShellAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
3432
 
                [CCode (has_construct_function = false)]
3433
 
                protected MenuShellAccessible ();
3434
 
        }
3435
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_tool_button_get_type ()")]
3436
 
        public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
3437
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
3438
 
                public MenuToolButton (Gtk.Widget? icon_widget, string? label);
3439
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
3440
 
                public MenuToolButton.from_stock (string stock_id);
3441
 
                public unowned Gtk.Widget get_menu ();
3442
 
                public void set_arrow_tooltip_markup (string markup);
3443
 
                public void set_arrow_tooltip_text (string text);
3444
 
                public void set_menu (Gtk.Widget menu);
3445
 
                public Gtk.Menu menu { get; set; }
3446
 
                public virtual signal void show_menu ();
3447
 
        }
3448
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_message_dialog_get_type ()")]
3449
 
        public class MessageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
3450
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3451
 
                [PrintfFormat]
3452
 
                public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
3453
 
                [PrintfFormat]
3454
 
                public void format_secondary_markup (string message_format, ...);
3455
 
                [PrintfFormat]
3456
 
                public void format_secondary_text (string message_format, ...);
3457
 
                public unowned Gtk.Widget get_image ();
3458
 
                public unowned Gtk.Widget get_message_area ();
3459
 
                public void set_image (Gtk.Widget image);
3460
 
                public void set_markup (string str);
3461
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3462
 
                [PrintfFormat]
3463
 
                public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
3464
 
                [NoAccessorMethod]
3465
 
                public Gtk.ButtonsType buttons { construct; }
3466
 
                public Gtk.Widget image { get; set; }
3467
 
                public Gtk.Widget message_area { get; }
3468
 
                [NoAccessorMethod]
3469
 
                public Gtk.MessageType message_type { get; set construct; }
3470
 
                [NoAccessorMethod]
3471
 
                public string secondary_text { owned get; set; }
3472
 
                [NoAccessorMethod]
3473
 
                public bool secondary_use_markup { get; set; }
3474
 
                [NoAccessorMethod]
3475
 
                public string text { owned get; set; }
3476
 
                [NoAccessorMethod]
3477
 
                public bool use_markup { get; set; }
3478
 
        }
3479
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_misc_get_type ()")]
3480
 
        public abstract class Misc : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
3481
 
                [CCode (has_construct_function = false)]
3482
 
                protected Misc ();
3483
 
                public void get_alignment (out float xalign, out float yalign);
3484
 
                public void get_padding (out int xpad, out int ypad);
3485
 
                public void set_alignment (float xalign, float yalign);
3486
 
                public void set_padding (int xpad, int ypad);
3487
 
                [NoAccessorMethod]
3488
 
                public float xalign { get; set; }
3489
 
                [NoAccessorMethod]
3490
 
                public int xpad { get; set; }
3491
 
                [NoAccessorMethod]
3492
 
                public float yalign { get; set; }
3493
 
                [NoAccessorMethod]
3494
 
                public int ypad { get; set; }
3495
 
        }
3496
 
        [CCode (cheader_filename = "gtk/gtk.h")]
3497
 
        public class ModelButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
3498
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3499
 
                public ModelButton ();
3500
 
                [NoAccessorMethod]
3501
 
                public bool active { get; set; }
3502
 
                [NoAccessorMethod]
3503
 
                public bool centered { get; set; }
3504
 
                [NoAccessorMethod]
3505
 
                public GLib.Icon icon { owned get; set; }
3506
 
                [NoAccessorMethod]
3507
 
                public bool iconic { get; set; }
3508
 
                [NoAccessorMethod]
3509
 
                public bool inverted { get; set; }
3510
 
                [NoAccessorMethod]
3511
 
                public string menu_name { owned get; set; }
3512
 
                [NoAccessorMethod]
3513
 
                public Gtk.ButtonRole role { get; set; }
3514
 
                [NoAccessorMethod]
3515
 
                public string text { owned get; set; }
3516
 
        }
3517
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_mount_operation_get_type ()")]
3518
 
        public class MountOperation : GLib.MountOperation {
3519
 
                [CCode (has_construct_function = false, type = "GMountOperation*")]
3520
 
                public MountOperation (Gtk.Window? parent);
3521
 
                public unowned Gtk.Window get_parent ();
3522
 
                public unowned Gdk.Screen get_screen ();
3523
 
                public void set_parent (Gtk.Window? parent);
3524
 
                public void set_screen (Gdk.Screen screen);
3525
 
                [NoAccessorMethod]
3526
 
                public bool is_showing { get; }
3527
 
                public Gtk.Window parent { get; set; }
3528
 
                public Gdk.Screen screen { get; set; }
3529
 
        }
3530
 
        [CCode (cheader_filename = "gtk/gtk.h")]
3531
 
        public abstract class NativeDialog : GLib.Object {
3532
 
                [CCode (has_construct_function = false)]
3533
 
                protected NativeDialog ();
3534
 
                public void destroy ();
3535
 
                public bool get_modal ();
3536
 
                public unowned string get_title ();
3537
 
                public unowned Gtk.Window get_transient_for ();
3538
 
                public bool get_visible ();
3539
 
                public virtual void hide ();
3540
 
                public int run ();
3541
 
                public void set_modal (bool modal);
3542
 
                public void set_title (string title);
3543
 
                public void set_transient_for (Gtk.Window parent);
3544
 
                public virtual void show ();
3545
 
                public bool modal { get; set; }
3546
 
                public string? title { get; set; }
3547
 
                public Gtk.Window? transient_for { get; set construct; }
3548
 
                [NoAccessorMethod]
3549
 
                public bool visible { get; set; }
3550
 
                public virtual signal void response (int response_id);
3551
 
        }
3552
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_notebook_get_type ()")]
3553
 
        public class Notebook : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3554
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3555
 
                public Notebook ();
3556
 
                public int append_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
3557
 
                public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
3558
 
                public void detach_tab (Gtk.Widget child);
3559
 
                public unowned Gtk.Widget? get_action_widget (Gtk.PackType pack_type);
3560
 
                public int get_current_page ();
3561
 
                public unowned string? get_group_name ();
3562
 
                public unowned Gtk.Widget? get_menu_label (Gtk.Widget child);
3563
 
                public unowned string? get_menu_label_text (Gtk.Widget child);
3564
 
                public int get_n_pages ();
3565
 
                public unowned Gtk.Widget? get_nth_page (int page_num);
3566
 
                public bool get_scrollable ();
3567
 
                public bool get_show_border ();
3568
 
                public bool get_show_tabs ();
3569
 
                public bool get_tab_detachable (Gtk.Widget child);
3570
 
                [Version (deprecated_since = "3.4")]
3571
 
                public uint16 get_tab_hborder ();
3572
 
                public unowned Gtk.Widget get_tab_label (Gtk.Widget child);
3573
 
                public unowned string? get_tab_label_text (Gtk.Widget child);
3574
 
                public Gtk.PositionType get_tab_pos ();
3575
 
                public bool get_tab_reorderable (Gtk.Widget child);
3576
 
                [Version (deprecated_since = "3.4")]
3577
 
                public uint16 get_tab_vborder ();
3578
 
                public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
3579
 
                [CCode (vfunc_name = "insert_page")]
3580
 
                public virtual int insert_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label, int position);
3581
 
                public void next_page ();
3582
 
                public int page_num (Gtk.Widget child);
3583
 
                public void popup_disable ();
3584
 
                public void popup_enable ();
3585
 
                public int prepend_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
3586
 
                public int prepend_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
3587
 
                public void prev_page ();
3588
 
                public void remove_page (int page_num);
3589
 
                public void reorder_child (Gtk.Widget child, int position);
3590
 
                public void set_action_widget (Gtk.Widget widget, Gtk.PackType pack_type);
3591
 
                public void set_current_page (int page_num);
3592
 
                public void set_group_name (string? group_name);
3593
 
                public void set_menu_label (Gtk.Widget child, Gtk.Widget? menu_label);
3594
 
                public void set_menu_label_text (Gtk.Widget child, string menu_text);
3595
 
                public void set_scrollable (bool scrollable);
3596
 
                public void set_show_border (bool show_border);
3597
 
                public void set_show_tabs (bool show_tabs);
3598
 
                public void set_tab_detachable (Gtk.Widget child, bool detachable);
3599
 
                public void set_tab_label (Gtk.Widget child, Gtk.Widget? tab_label);
3600
 
                public void set_tab_label_text (Gtk.Widget child, string tab_text);
3601
 
                public void set_tab_pos (Gtk.PositionType pos);
3602
 
                public void set_tab_reorderable (Gtk.Widget child, bool reorderable);
3603
 
                [NoAccessorMethod]
3604
 
                public bool enable_popup { get; set; }
3605
 
                public string group_name { get; set; }
3606
 
                [NoAccessorMethod]
3607
 
                public int page { get; set; }
3608
 
                public bool scrollable { get; set; }
3609
 
                public bool show_border { get; set; }
3610
 
                public bool show_tabs { get; set; }
3611
 
                public Gtk.PositionType tab_pos { get; set; }
3612
 
                public virtual signal bool change_current_page (int offset);
3613
 
                public virtual signal unowned Gtk.Notebook create_window (Gtk.Widget page, int x, int y);
3614
 
                public virtual signal bool focus_tab (Gtk.NotebookTab type);
3615
 
                public virtual signal void move_focus_out (Gtk.DirectionType direction);
3616
 
                public virtual signal void page_added (Gtk.Widget child, uint page_num);
3617
 
                public virtual signal void page_removed (Gtk.Widget child, uint page_num);
3618
 
                public virtual signal void page_reordered (Gtk.Widget child, uint page_num);
3619
 
                public virtual signal bool reorder_tab (Gtk.DirectionType direction, bool move_to_last);
3620
 
                public virtual signal bool select_page (bool move_focus);
3621
 
                public virtual signal void switch_page (Gtk.Widget page, uint page_num);
3622
 
        }
3623
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_notebook_accessible_get_type ()")]
3624
 
        public class NotebookAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
3625
 
                [CCode (has_construct_function = false)]
3626
 
                protected NotebookAccessible ();
3627
 
        }
3628
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_notebook_page_accessible_get_type ()")]
3629
 
        public class NotebookPageAccessible : Atk.Object, Atk.Component {
3630
 
                [CCode (has_construct_function = false, type = "AtkObject*")]
3631
 
                public NotebookPageAccessible (Gtk.NotebookAccessible notebook, Gtk.Widget child);
3632
 
                public void invalidate ();
3633
 
        }
3634
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_numerable_icon_get_type ()")]
3635
 
        public class NumerableIcon : GLib.EmblemedIcon, GLib.Icon {
3636
 
                [CCode (has_construct_function = false, type = "GIcon*")]
3637
 
                public NumerableIcon (GLib.Icon base_icon);
3638
 
                public unowned GLib.Icon get_background_gicon ();
3639
 
                public unowned string get_background_icon_name ();
3640
 
                public int get_count ();
3641
 
                public unowned string get_label ();
3642
 
                public unowned Gtk.StyleContext get_style_context ();
3643
 
                public void set_background_gicon (GLib.Icon? icon);
3644
 
                public void set_background_icon_name (string? icon_name);
3645
 
                public void set_count (int count);
3646
 
                public void set_label (string? label);
3647
 
                public void set_style_context (Gtk.StyleContext style);
3648
 
                [CCode (has_construct_function = false, type = "GIcon*")]
3649
 
                public NumerableIcon.with_style_context (GLib.Icon base_icon, Gtk.StyleContext context);
3650
 
                [NoAccessorMethod]
3651
 
                public GLib.Icon background_icon { owned get; set; }
3652
 
                public string background_icon_name { get; set; }
3653
 
                public int count { get; set; }
3654
 
                public string label { get; set; }
3655
 
                public Gtk.StyleContext style_context { get; set; }
3656
 
        }
3657
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_offscreen_window_get_type ()")]
3658
 
        public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
3659
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3660
 
                public OffscreenWindow ();
3661
 
                public Gdk.Pixbuf? get_pixbuf ();
3662
 
                public unowned Cairo.Surface? get_surface ();
3663
 
        }
3664
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_overlay_get_type ()")]
3665
 
        public class Overlay : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3666
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3667
 
                public Overlay ();
3668
 
                public void add_overlay (Gtk.Widget widget);
3669
 
                public bool get_overlay_pass_through (Gtk.Widget widget);
3670
 
                public void reorder_overlay (Gtk.Widget child, int position);
3671
 
                public void set_overlay_pass_through (Gtk.Widget widget, bool pass_through);
3672
 
                public virtual signal bool get_child_position (Gtk.Widget widget, out Gdk.Rectangle allocation);
3673
 
        }
3674
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_page_setup_get_type ()")]
3675
 
        public class PageSetup : GLib.Object {
3676
 
                [CCode (has_construct_function = false)]
3677
 
                public PageSetup ();
3678
 
                public Gtk.PageSetup copy ();
3679
 
                [CCode (has_construct_function = false)]
3680
 
                public PageSetup.from_file (string file_name) throws GLib.Error;
3681
 
                [CCode (has_construct_function = false)]
3682
 
                public PageSetup.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
3683
 
                public double get_bottom_margin (Gtk.Unit unit);
3684
 
                public double get_left_margin (Gtk.Unit unit);
3685
 
                public Gtk.PageOrientation get_orientation ();
3686
 
                public double get_page_height (Gtk.Unit unit);
3687
 
                public double get_page_width (Gtk.Unit unit);
3688
 
                public double get_paper_height (Gtk.Unit unit);
3689
 
                public unowned Gtk.PaperSize get_paper_size ();
3690
 
                public double get_paper_width (Gtk.Unit unit);
3691
 
                public double get_right_margin (Gtk.Unit unit);
3692
 
                public double get_top_margin (Gtk.Unit unit);
3693
 
                public bool load_file (string file_name) throws GLib.Error;
3694
 
                public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
3695
 
                public void set_bottom_margin (double margin, Gtk.Unit unit);
3696
 
                public void set_left_margin (double margin, Gtk.Unit unit);
3697
 
                public void set_orientation (Gtk.PageOrientation orientation);
3698
 
                public void set_paper_size (Gtk.PaperSize size);
3699
 
                public void set_paper_size_and_default_margins (Gtk.PaperSize size);
3700
 
                public void set_right_margin (double margin, Gtk.Unit unit);
3701
 
                public void set_top_margin (double margin, Gtk.Unit unit);
3702
 
                public bool to_file (string file_name) throws GLib.Error;
3703
 
                public void to_key_file (GLib.KeyFile key_file, string group_name);
3704
 
        }
3705
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_paned_get_type ()")]
3706
 
        public class Paned : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3707
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3708
 
                public Paned (Gtk.Orientation orientation);
3709
 
                public void add1 (Gtk.Widget child);
3710
 
                public void add2 (Gtk.Widget child);
3711
 
                public unowned Gtk.Widget? get_child1 ();
3712
 
                public unowned Gtk.Widget? get_child2 ();
3713
 
                public unowned Gdk.Window get_handle_window ();
3714
 
                public int get_position ();
3715
 
                public bool get_wide_handle ();
3716
 
                public void pack1 (Gtk.Widget child, bool resize, bool shrink);
3717
 
                public void pack2 (Gtk.Widget child, bool resize, bool shrink);
3718
 
                public void set_position (int position);
3719
 
                public void set_wide_handle (bool wide);
3720
 
                [NoAccessorMethod]
3721
 
                public int max_position { get; }
3722
 
                [NoAccessorMethod]
3723
 
                public int min_position { get; }
3724
 
                public int position { get; set; }
3725
 
                [NoAccessorMethod]
3726
 
                public bool position_set { get; set; }
3727
 
                public bool wide_handle { get; set; }
3728
 
                public virtual signal bool accept_position ();
3729
 
                public virtual signal bool cancel_position ();
3730
 
                public virtual signal bool cycle_child_focus (bool reverse);
3731
 
                public virtual signal bool cycle_handle_focus (bool reverse);
3732
 
                public virtual signal bool move_handle (Gtk.ScrollType scroll);
3733
 
                public virtual signal bool toggle_handle_focus ();
3734
 
        }
3735
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_paned_accessible_get_type ()")]
3736
 
        public class PanedAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Value {
3737
 
                [CCode (has_construct_function = false)]
3738
 
                protected PanedAccessible ();
3739
 
        }
3740
 
        [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_paper_size_copy", type_id = "gtk_paper_size_get_type ()")]
3741
 
        [Compact]
3742
 
        public class PaperSize {
3743
 
                [CCode (has_construct_function = false)]
3744
 
                public PaperSize (string? name);
3745
 
                public Gtk.PaperSize copy ();
3746
 
                [CCode (has_construct_function = false)]
3747
 
                public PaperSize.custom (string name, string display_name, double width, double height, Gtk.Unit unit);
3748
 
                [CCode (has_construct_function = false)]
3749
 
                public PaperSize.from_ipp (string ipp_name, double width, double height);
3750
 
                [CCode (has_construct_function = false)]
3751
 
                public PaperSize.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3752
 
                [CCode (has_construct_function = false)]
3753
 
                public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height);
3754
 
                public static unowned string get_default ();
3755
 
                public double get_default_bottom_margin (Gtk.Unit unit);
3756
 
                public double get_default_left_margin (Gtk.Unit unit);
3757
 
                public double get_default_right_margin (Gtk.Unit unit);
3758
 
                public double get_default_top_margin (Gtk.Unit unit);
3759
 
                public unowned string get_display_name ();
3760
 
                public double get_height (Gtk.Unit unit);
3761
 
                public unowned string get_name ();
3762
 
                public static GLib.List<Gtk.PaperSize> get_paper_sizes (bool include_custom);
3763
 
                public unowned string get_ppd_name ();
3764
 
                public double get_width (Gtk.Unit unit);
3765
 
                public bool is_custom ();
3766
 
                public bool is_equal (Gtk.PaperSize size2);
3767
 
                public bool is_ipp ();
3768
 
                public void set_size (double width, double height, Gtk.Unit unit);
3769
 
                public void to_key_file (GLib.KeyFile key_file, string group_name);
3770
 
        }
3771
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_places_sidebar_get_type ()")]
3772
 
        public class PlacesSidebar : Gtk.ScrolledWindow, Atk.Implementor, Gtk.Buildable {
3773
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3774
 
                public PlacesSidebar ();
3775
 
                public void add_shortcut (GLib.File location);
3776
 
                public bool get_local_only ();
3777
 
                public GLib.File? get_location ();
3778
 
                public GLib.File? get_nth_bookmark (int n);
3779
 
                public Gtk.PlacesOpenFlags get_open_flags ();
3780
 
                public bool get_show_connect_to_server ();
3781
 
                public bool get_show_desktop ();
3782
 
                public bool get_show_enter_location ();
3783
 
                public bool get_show_other_locations ();
3784
 
                public bool get_show_recent ();
3785
 
                public bool get_show_trash ();
3786
 
                public GLib.SList<GLib.File> list_shortcuts ();
3787
 
                public void remove_shortcut (GLib.File location);
3788
 
                public void set_drop_targets_visible (bool visible, Gdk.DragContext context);
3789
 
                public void set_local_only (bool local_only);
3790
 
                public void set_location (GLib.File? location);
3791
 
                public void set_open_flags (Gtk.PlacesOpenFlags flags);
3792
 
                public void set_show_connect_to_server (bool show_connect_to_server);
3793
 
                public void set_show_desktop (bool show_desktop);
3794
 
                public void set_show_enter_location (bool show_enter_location);
3795
 
                public void set_show_other_locations (bool show_other_locations);
3796
 
                public void set_show_recent (bool show_recent);
3797
 
                public void set_show_trash (bool show_trash);
3798
 
                public bool local_only { get; set; }
3799
 
                public GLib.File location { owned get; set; }
3800
 
                public Gtk.PlacesOpenFlags open_flags { get; set; }
3801
 
                [NoAccessorMethod]
3802
 
                public bool populate_all { get; set; }
3803
 
                public bool show_connect_to_server { get; set; }
3804
 
                public bool show_desktop { get; set; }
3805
 
                public bool show_enter_location { get; set; }
3806
 
                public bool show_other_locations { get; set; }
3807
 
                public bool show_recent { get; set; }
3808
 
                public bool show_trash { get; set; }
3809
 
                public virtual signal int drag_action_ask (int p0);
3810
 
                public virtual signal int drag_action_requested (Gdk.DragContext p0, GLib.File p1, GLib.List<GLib.File> p2);
3811
 
                public virtual signal void drag_perform_drop (GLib.File p0, GLib.List<GLib.File> p1, int p2);
3812
 
                public virtual signal void mount (GLib.MountOperation p0);
3813
 
                public virtual signal void open_location (GLib.File p0, Gtk.PlacesOpenFlags p1);
3814
 
                public virtual signal void populate_popup (Gtk.Menu p0, GLib.File? p1, GLib.Volume? p2);
3815
 
                public virtual signal void show_error_message (string p0, string p1);
3816
 
                [CCode (cname = "show_other_locations")]
3817
 
                [Version (experimental = true)]
3818
 
                public virtual signal void show_other_locations_requested ();
3819
 
                public virtual signal void show_other_locations_with_flags (Gtk.PlacesOpenFlags p0);
3820
 
                public virtual signal void unmount (GLib.MountOperation p0);
3821
 
        }
3822
 
        [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_plug_get_type ()")]
3823
 
        public class Plug : Gtk.Window, Atk.Implementor, Gtk.Buildable {
3824
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3825
 
                public Plug (X.Window socket_id);
3826
 
                public void @construct (X.Window socket_id);
3827
 
                public void construct_for_display (Gdk.Display display, X.Window socket_id);
3828
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3829
 
                public Plug.for_display (Gdk.Display display, X.Window socket_id);
3830
 
                public bool get_embedded ();
3831
 
                public X.Window get_id ();
3832
 
                public unowned Gdk.Window? get_socket_window ();
3833
 
                public bool embedded { get; }
3834
 
                public Gdk.Window socket_window { get; }
3835
 
        }
3836
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_get_type ()")]
3837
 
        public class Popover : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3838
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3839
 
                public Popover (Gtk.Widget? relative_to);
3840
 
                public void bind_model (GLib.MenuModel? model, string? action_namespace);
3841
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3842
 
                public Popover.from_model (Gtk.Widget? relative_to, GLib.MenuModel model);
3843
 
                public Gtk.PopoverConstraint get_constrain_to ();
3844
 
                public unowned Gtk.Widget? get_default_widget ();
3845
 
                public bool get_modal ();
3846
 
                public bool get_pointing_to (out Gdk.Rectangle rect);
3847
 
                public Gtk.PositionType get_position ();
3848
 
                public unowned Gtk.Widget get_relative_to ();
3849
 
                public bool get_transitions_enabled ();
3850
 
                public void set_constrain_to (Gtk.PopoverConstraint constraint);
3851
 
                public void set_default_widget (Gtk.Widget? widget);
3852
 
                public void set_modal (bool modal);
3853
 
                public void set_pointing_to (Gdk.Rectangle rect);
3854
 
                public void set_position (Gtk.PositionType position);
3855
 
                public void set_relative_to (Gtk.Widget? relative_to);
3856
 
                public void set_transitions_enabled (bool transitions_enabled);
3857
 
                public Gtk.PopoverConstraint constrain_to { get; set; }
3858
 
                public bool modal { get; set; }
3859
 
                public Gdk.Rectangle pointing_to { get; set; }
3860
 
                public Gtk.PositionType position { get; set; }
3861
 
                public Gtk.Widget relative_to { get; set; }
3862
 
                public bool transitions_enabled { get; set; }
3863
 
                public virtual signal void closed ();
3864
 
        }
3865
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_popover_accessible_get_type ()")]
3866
 
        public class PopoverAccessible : Gtk.ContainerAccessible, Atk.Component {
3867
 
                [CCode (has_construct_function = false)]
3868
 
                protected PopoverAccessible ();
3869
 
        }
3870
 
        [CCode (cheader_filename = "gtk/gtk.h")]
3871
 
        public class PopoverMenu : Gtk.Popover, Atk.Implementor, Gtk.Buildable {
3872
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
3873
 
                public PopoverMenu ();
3874
 
                public void open_submenu (string name);
3875
 
                [NoAccessorMethod]
3876
 
                public string visible_submenu { owned get; set; }
3877
 
        }
3878
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_context_get_type ()")]
3879
 
        public class PrintContext : GLib.Object {
3880
 
                [CCode (has_construct_function = false)]
3881
 
                protected PrintContext ();
3882
 
                public Pango.Context create_pango_context ();
3883
 
                public Pango.Layout create_pango_layout ();
3884
 
                public unowned Cairo.Context get_cairo_context ();
3885
 
                public double get_dpi_x ();
3886
 
                public double get_dpi_y ();
3887
 
                public bool get_hard_margins (out double top, out double bottom, out double left, out double right);
3888
 
                public double get_height ();
3889
 
                public unowned Gtk.PageSetup get_page_setup ();
3890
 
                public unowned Pango.FontMap get_pango_fontmap ();
3891
 
                public double get_width ();
3892
 
                public void set_cairo_context (Cairo.Context cr, double dpi_x, double dpi_y);
3893
 
        }
3894
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_get_type ()")]
3895
 
        public class PrintOperation : GLib.Object, Gtk.PrintOperationPreview {
3896
 
                [CCode (has_construct_function = false)]
3897
 
                public PrintOperation ();
3898
 
                public void cancel ();
3899
 
                public void draw_page_finish ();
3900
 
                public unowned Gtk.PageSetup get_default_page_setup ();
3901
 
                public bool get_embed_page_setup ();
3902
 
                public void get_error () throws GLib.Error;
3903
 
                public bool get_has_selection ();
3904
 
                public int get_n_pages_to_print ();
3905
 
                public unowned Gtk.PrintSettings get_print_settings ();
3906
 
                public Gtk.PrintStatus get_status ();
3907
 
                public unowned string get_status_string ();
3908
 
                public bool get_support_selection ();
3909
 
                public bool is_finished ();
3910
 
                public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window? parent) throws GLib.Error;
3911
 
                public void set_allow_async (bool allow_async);
3912
 
                public void set_current_page (int current_page);
3913
 
                public void set_custom_tab_label (string? label);
3914
 
                public void set_default_page_setup (Gtk.PageSetup? default_page_setup);
3915
 
                public void set_defer_drawing ();
3916
 
                public void set_embed_page_setup (bool embed);
3917
 
                public void set_export_filename (string filename);
3918
 
                public void set_has_selection (bool has_selection);
3919
 
                public void set_job_name (string job_name);
3920
 
                public void set_n_pages (int n_pages);
3921
 
                public void set_print_settings (Gtk.PrintSettings? print_settings);
3922
 
                public void set_show_progress (bool show_progress);
3923
 
                public void set_support_selection (bool support_selection);
3924
 
                public void set_track_print_status (bool track_status);
3925
 
                public void set_unit (Gtk.Unit unit);
3926
 
                public void set_use_full_page (bool full_page);
3927
 
                [NoAccessorMethod]
3928
 
                public bool allow_async { get; set; }
3929
 
                [NoAccessorMethod]
3930
 
                public int current_page { get; set; }
3931
 
                [NoAccessorMethod]
3932
 
                public string custom_tab_label { owned get; set; }
3933
 
                public Gtk.PageSetup default_page_setup { get; set; }
3934
 
                public bool embed_page_setup { get; set; }
3935
 
                [NoAccessorMethod]
3936
 
                public string export_filename { owned get; set; }
3937
 
                public bool has_selection { get; set; }
3938
 
                [NoAccessorMethod]
3939
 
                public string job_name { owned get; set; }
3940
 
                [NoAccessorMethod]
3941
 
                public int n_pages { get; set; }
3942
 
                public int n_pages_to_print { get; }
3943
 
                public Gtk.PrintSettings print_settings { get; set; }
3944
 
                [NoAccessorMethod]
3945
 
                public bool show_progress { get; set; }
3946
 
                public Gtk.PrintStatus status { get; }
3947
 
                public string status_string { get; }
3948
 
                public bool support_selection { get; set; }
3949
 
                [NoAccessorMethod]
3950
 
                public bool track_print_status { get; set; }
3951
 
                [NoAccessorMethod]
3952
 
                public Gtk.Unit unit { get; set; }
3953
 
                [NoAccessorMethod]
3954
 
                public bool use_full_page { get; set; }
3955
 
                public virtual signal void begin_print (Gtk.PrintContext context);
3956
 
                public virtual signal unowned GLib.Object create_custom_widget ();
3957
 
                public virtual signal void custom_widget_apply (Gtk.Widget widget);
3958
 
                public virtual signal void done (Gtk.PrintOperationResult result);
3959
 
                public virtual signal void draw_page (Gtk.PrintContext context, int page_nr);
3960
 
                public virtual signal void end_print (Gtk.PrintContext context);
3961
 
                public virtual signal bool paginate (Gtk.PrintContext context);
3962
 
                public virtual signal bool preview (Gtk.PrintOperationPreview preview, Gtk.PrintContext context, Gtk.Window? parent);
3963
 
                public virtual signal void request_page_setup (Gtk.PrintContext context, int page_nr, Gtk.PageSetup setup);
3964
 
                public virtual signal void status_changed ();
3965
 
                public virtual signal void update_custom_widget (Gtk.Widget widget, Gtk.PageSetup setup, Gtk.PrintSettings settings);
3966
 
        }
3967
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_settings_get_type ()")]
3968
 
        public class PrintSettings : GLib.Object {
3969
 
                [CCode (has_construct_function = false)]
3970
 
                public PrintSettings ();
3971
 
                public Gtk.PrintSettings copy ();
3972
 
                public void @foreach (Gtk.PrintSettingsFunc func);
3973
 
                [CCode (has_construct_function = false)]
3974
 
                public PrintSettings.from_file (string file_name) throws GLib.Error;
3975
 
                [CCode (has_construct_function = false)]
3976
 
                public PrintSettings.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
3977
 
                public unowned string @get (string key);
3978
 
                public bool get_bool (string key);
3979
 
                public bool get_collate ();
3980
 
                public unowned string get_default_source ();
3981
 
                public unowned string get_dither ();
3982
 
                public double get_double (string key);
3983
 
                public double get_double_with_default (string key, double def);
3984
 
                public Gtk.PrintDuplex get_duplex ();
3985
 
                public unowned string get_finishings ();
3986
 
                public int get_int (string key);
3987
 
                public int get_int_with_default (string key, int def);
3988
 
                public double get_length (string key, Gtk.Unit unit);
3989
 
                public unowned string get_media_type ();
3990
 
                public int get_n_copies ();
3991
 
                public int get_number_up ();
3992
 
                public Gtk.NumberUpLayout get_number_up_layout ();
3993
 
                public Gtk.PageOrientation get_orientation ();
3994
 
                public unowned string get_output_bin ();
3995
 
                public Gtk.PageRange[] get_page_ranges ();
3996
 
                public Gtk.PageSet get_page_set ();
3997
 
                public double get_paper_height (Gtk.Unit unit);
3998
 
                public Gtk.PaperSize get_paper_size ();
3999
 
                public double get_paper_width (Gtk.Unit unit);
4000
 
                public Gtk.PrintPages get_print_pages ();
4001
 
                public unowned string get_printer ();
4002
 
                public double get_printer_lpi ();
4003
 
                public Gtk.PrintQuality get_quality ();
4004
 
                public int get_resolution ();
4005
 
                public int get_resolution_x ();
4006
 
                public int get_resolution_y ();
4007
 
                public bool get_reverse ();
4008
 
                public double get_scale ();
4009
 
                public bool get_use_color ();
4010
 
                public bool has_key (string key);
4011
 
                public bool load_file (string file_name) throws GLib.Error;
4012
 
                public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
4013
 
                public void @set (string key, string? value);
4014
 
                public void set_bool (string key, bool value);
4015
 
                public void set_collate (bool collate);
4016
 
                public void set_default_source (string default_source);
4017
 
                public void set_dither (string dither);
4018
 
                public void set_double (string key, double value);
4019
 
                public void set_duplex (Gtk.PrintDuplex duplex);
4020
 
                public void set_finishings (string finishings);
4021
 
                public void set_int (string key, int value);
4022
 
                public void set_length (string key, double value, Gtk.Unit unit);
4023
 
                public void set_media_type (string media_type);
4024
 
                public void set_n_copies (int num_copies);
4025
 
                public void set_number_up (int number_up);
4026
 
                public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout);
4027
 
                public void set_orientation (Gtk.PageOrientation orientation);
4028
 
                public void set_output_bin (string output_bin);
4029
 
                public void set_page_ranges ([CCode (array_length_pos = 1.1)] Gtk.PageRange[] page_ranges);
4030
 
                public void set_page_set (Gtk.PageSet page_set);
4031
 
                public void set_paper_height (double height, Gtk.Unit unit);
4032
 
                public void set_paper_size (Gtk.PaperSize paper_size);
4033
 
                public void set_paper_width (double width, Gtk.Unit unit);
4034
 
                public void set_print_pages (Gtk.PrintPages pages);
4035
 
                public void set_printer (string printer);
4036
 
                public void set_printer_lpi (double lpi);
4037
 
                public void set_quality (Gtk.PrintQuality quality);
4038
 
                public void set_resolution (int resolution);
4039
 
                public void set_resolution_xy (int resolution_x, int resolution_y);
4040
 
                public void set_reverse (bool reverse);
4041
 
                public void set_scale (double scale);
4042
 
                public void set_use_color (bool use_color);
4043
 
                public bool to_file (string file_name) throws GLib.Error;
4044
 
                public void to_key_file (GLib.KeyFile key_file, string group_name);
4045
 
                public void unset (string key);
4046
 
        }
4047
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_progress_bar_get_type ()")]
4048
 
        public class ProgressBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4049
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4050
 
                public ProgressBar ();
4051
 
                public Pango.EllipsizeMode get_ellipsize ();
4052
 
                public double get_fraction ();
4053
 
                public bool get_inverted ();
4054
 
                public double get_pulse_step ();
4055
 
                public bool get_show_text ();
4056
 
                public unowned string? get_text ();
4057
 
                public void pulse ();
4058
 
                public void set_ellipsize (Pango.EllipsizeMode mode);
4059
 
                public void set_fraction (double fraction);
4060
 
                public void set_inverted (bool inverted);
4061
 
                public void set_pulse_step (double fraction);
4062
 
                public void set_show_text (bool show_text);
4063
 
                public void set_text (string? text);
4064
 
                public Pango.EllipsizeMode ellipsize { get; set; }
4065
 
                public double fraction { get; set; }
4066
 
                public bool inverted { get; set; }
4067
 
                public double pulse_step { get; set; }
4068
 
                public bool show_text { get; set; }
4069
 
                public string text { get; set; }
4070
 
        }
4071
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_progress_bar_accessible_get_type ()")]
4072
 
        public class ProgressBarAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
4073
 
                [CCode (has_construct_function = false)]
4074
 
                protected ProgressBarAccessible ();
4075
 
        }
4076
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_action_get_type ()")]
4077
 
        public class RadioAction : Gtk.ToggleAction, Gtk.Buildable {
4078
 
                [CCode (has_construct_function = false)]
4079
 
                public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
4080
 
                public int get_current_value ();
4081
 
                public unowned GLib.SList<Gtk.RadioAction> get_group ();
4082
 
                public void join_group (Gtk.RadioAction? group_source);
4083
 
                public void set_current_value (int current_value);
4084
 
                public void set_group (GLib.SList<Gtk.RadioAction>? group);
4085
 
                public int current_value { get; set; }
4086
 
                [NoAccessorMethod]
4087
 
                public Gtk.RadioAction group { set; }
4088
 
                [NoAccessorMethod]
4089
 
                public int value { get; set; }
4090
 
                public virtual signal void changed (Gtk.RadioAction current);
4091
 
        }
4092
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_button_get_type ()")]
4093
 
        public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
4094
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4095
 
                public RadioButton (GLib.SList<Gtk.RadioButton>? group);
4096
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4097
 
                public RadioButton.from_widget (Gtk.RadioButton? radio_group_member);
4098
 
                public unowned GLib.SList<Gtk.RadioButton> get_group ();
4099
 
                public void join_group (Gtk.RadioButton? group_source);
4100
 
                public void set_group (GLib.SList<Gtk.RadioButton>? group);
4101
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4102
 
                public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
4103
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4104
 
                public RadioButton.with_label_from_widget (Gtk.RadioButton? radio_group_member, string label);
4105
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4106
 
                public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
4107
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4108
 
                public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton? radio_group_member, string label);
4109
 
                [NoAccessorMethod]
4110
 
                public Gtk.RadioButton group { set; }
4111
 
                public virtual signal void group_changed ();
4112
 
        }
4113
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_button_accessible_get_type ()")]
4114
 
        public class RadioButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Component, Atk.Action, Atk.Image {
4115
 
                [CCode (has_construct_function = false)]
4116
 
                protected RadioButtonAccessible ();
4117
 
        }
4118
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_menu_item_get_type ()")]
4119
 
        public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
4120
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4121
 
                public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem>? group);
4122
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4123
 
                public RadioMenuItem.from_widget (Gtk.RadioMenuItem? group);
4124
 
                public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
4125
 
                public void join_group (Gtk.RadioMenuItem? group_source);
4126
 
                public void set_group (GLib.SList<Gtk.RadioMenuItem>? group);
4127
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4128
 
                public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem>? group, string label);
4129
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4130
 
                public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem? group, string label);
4131
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4132
 
                public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem>? group, string label);
4133
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4134
 
                public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem? group, string label);
4135
 
                public Gtk.RadioMenuItem group { set; }
4136
 
                public virtual signal void group_changed ();
4137
 
        }
4138
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_menu_item_accessible_get_type ()")]
4139
 
        public class RadioMenuItemAccessible : Gtk.CheckMenuItemAccessible, Atk.Component, Atk.Action, Atk.Selection {
4140
 
                [CCode (has_construct_function = false)]
4141
 
                protected RadioMenuItemAccessible ();
4142
 
        }
4143
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_tool_button_get_type ()")]
4144
 
        public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
4145
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
4146
 
                public RadioToolButton (GLib.SList<Gtk.RadioToolButton>? group);
4147
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
4148
 
                public RadioToolButton.from_stock (GLib.SList<Gtk.RadioToolButton>? group, string stock_id);
4149
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
4150
 
                public RadioToolButton.from_widget (Gtk.RadioToolButton? group);
4151
 
                public unowned GLib.SList<Gtk.RadioToolButton>? get_group ();
4152
 
                public void set_group (GLib.SList<Gtk.RadioToolButton>? group);
4153
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
4154
 
                public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton? group, string stock_id);
4155
 
                public Gtk.RadioToolButton group { set; }
4156
 
        }
4157
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")]
4158
 
        public abstract class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4159
 
                [CCode (has_construct_function = false)]
4160
 
                protected Range ();
4161
 
                public unowned Gtk.Adjustment get_adjustment ();
4162
 
                public double get_fill_level ();
4163
 
                public bool get_flippable ();
4164
 
                public bool get_inverted ();
4165
 
                public Gtk.SensitivityType get_lower_stepper_sensitivity ();
4166
 
                public int get_min_slider_size ();
4167
 
                [NoWrapper]
4168
 
                public virtual void get_range_border (Gtk.Border border_);
4169
 
                public Gdk.Rectangle get_range_rect ();
4170
 
                public bool get_restrict_to_fill_level ();
4171
 
                public int get_round_digits ();
4172
 
                public bool get_show_fill_level ();
4173
 
                public void get_slider_range (out int slider_start, out int slider_end);
4174
 
                public bool get_slider_size_fixed ();
4175
 
                public Gtk.SensitivityType get_upper_stepper_sensitivity ();
4176
 
                public double get_value ();
4177
 
                public void set_adjustment (Gtk.Adjustment adjustment);
4178
 
                public void set_fill_level (double fill_level);
4179
 
                public void set_flippable (bool flippable);
4180
 
                public void set_increments (double step, double page);
4181
 
                public void set_inverted (bool setting);
4182
 
                public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
4183
 
                public void set_min_slider_size (int min_size);
4184
 
                public void set_range (double min, double max);
4185
 
                public void set_restrict_to_fill_level (bool restrict_to_fill_level);
4186
 
                public void set_round_digits (int round_digits);
4187
 
                public void set_show_fill_level (bool show_fill_level);
4188
 
                public void set_slider_size_fixed (bool size_fixed);
4189
 
                public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
4190
 
                public void set_value (double value);
4191
 
                public Gtk.Adjustment adjustment { get; set construct; }
4192
 
                public double fill_level { get; set; }
4193
 
                public bool inverted { get; set; }
4194
 
                public Gtk.SensitivityType lower_stepper_sensitivity { get; set; }
4195
 
                public bool restrict_to_fill_level { get; set; }
4196
 
                public int round_digits { get; set; }
4197
 
                public bool show_fill_level { get; set; }
4198
 
                public Gtk.SensitivityType upper_stepper_sensitivity { get; set; }
4199
 
                public virtual signal void adjust_bounds (double new_value);
4200
 
                public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
4201
 
                public virtual signal void move_slider (Gtk.ScrollType scroll);
4202
 
                public virtual signal void value_changed ();
4203
 
        }
4204
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_range_accessible_get_type ()")]
4205
 
        public class RangeAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
4206
 
                [CCode (has_construct_function = false)]
4207
 
                protected RangeAccessible ();
4208
 
        }
4209
 
        [CCode (cheader_filename = "gtk/gtk.h")]
4210
 
        [Compact]
4211
 
        public class RcContext {
4212
 
        }
4213
 
        [CCode (cheader_filename = "gtk/gtk.h")]
4214
 
        [Compact]
4215
 
        public class RcProperty {
4216
 
                public weak string origin;
4217
 
                public GLib.Quark property_name;
4218
 
                public GLib.Quark type_name;
4219
 
                public GLib.Value value;
4220
 
                public static bool parse_border (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
4221
 
                public static bool parse_color (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
4222
 
                public static bool parse_enum (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
4223
 
                public static bool parse_flags (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
4224
 
                public static bool parse_requisition (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
4225
 
        }
4226
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_rc_style_get_type ()")]
4227
 
        [Version (deprecated_since = "3.0", replacement = "CssProvider")]
4228
 
        public class RcStyle : GLib.Object {
4229
 
                [CCode (array_length = false)]
4230
 
                public weak Gdk.Color[] @base;
4231
 
                [CCode (array_length = false)]
4232
 
                public weak Gdk.Color[] bg;
4233
 
                [CCode (array_length = false)]
4234
 
                public weak string[] bg_pixmap_name;
4235
 
                [CCode (array_length = false)]
4236
 
                public weak Gtk.RcFlags[] color_flags;
4237
 
                public uint engine_specified;
4238
 
                [CCode (array_length = false)]
4239
 
                public weak Gdk.Color[] fg;
4240
 
                public weak Pango.FontDescription font_desc;
4241
 
                public weak GLib.SList icon_factories;
4242
 
                public weak string name;
4243
 
                public weak GLib.Array rc_properties;
4244
 
                public weak GLib.SList rc_style_lists;
4245
 
                [CCode (array_length = false)]
4246
 
                public weak Gdk.Color[] text;
4247
 
                public int xthickness;
4248
 
                public int ythickness;
4249
 
                [CCode (has_construct_function = false)]
4250
 
                public RcStyle ();
4251
 
                public Gtk.RcStyle copy ();
4252
 
                [NoWrapper]
4253
 
                public virtual Gtk.RcStyle create_rc_style ();
4254
 
                [NoWrapper]
4255
 
                public virtual Gtk.Style create_style ();
4256
 
                [NoWrapper]
4257
 
                public virtual void merge (Gtk.RcStyle src);
4258
 
                [NoWrapper]
4259
 
                public virtual uint parse (Gtk.Settings settings, GLib.Scanner scanner);
4260
 
        }
4261
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_action_get_type ()")]
4262
 
        public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser {
4263
 
                [CCode (has_construct_function = false, type = "GtkAction*")]
4264
 
                public RecentAction (string name, string? label, string? tooltip, string? stock_id);
4265
 
                [CCode (has_construct_function = false, type = "GtkAction*")]
4266
 
                public RecentAction.for_manager (string name, string? label, string? tooltip, string? stock_id, Gtk.RecentManager? manager);
4267
 
                public bool get_show_numbers ();
4268
 
                public void set_show_numbers (bool show_numbers);
4269
 
                public bool show_numbers { get; set; }
4270
 
        }
4271
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_dialog_get_type ()")]
4272
 
        public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
4273
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4274
 
                public RecentChooserDialog (string? title, Gtk.Window? parent, ...);
4275
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4276
 
                public RecentChooserDialog.for_manager (string? title, Gtk.Window? parent, Gtk.RecentManager manager, ...);
4277
 
        }
4278
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_menu_get_type ()")]
4279
 
        public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser, Gtk.Activatable {
4280
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4281
 
                public RecentChooserMenu ();
4282
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4283
 
                public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
4284
 
                public bool get_show_numbers ();
4285
 
                public void set_show_numbers (bool show_numbers);
4286
 
                public bool show_numbers { get; set; }
4287
 
        }
4288
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_widget_get_type ()")]
4289
 
        public class RecentChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
4290
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4291
 
                public RecentChooserWidget ();
4292
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4293
 
                public RecentChooserWidget.for_manager (Gtk.RecentManager manager);
4294
 
        }
4295
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_filter_get_type ()")]
4296
 
        public class RecentFilter : GLib.InitiallyUnowned, Gtk.Buildable {
4297
 
                [CCode (has_construct_function = false)]
4298
 
                public RecentFilter ();
4299
 
                public void add_age (int days);
4300
 
                public void add_application (string application);
4301
 
                public void add_custom (Gtk.RecentFilterFlags needed, owned Gtk.RecentFilterFunc func);
4302
 
                public void add_group (string group);
4303
 
                public void add_mime_type (string mime_type);
4304
 
                public void add_pattern (string pattern);
4305
 
                public void add_pixbuf_formats ();
4306
 
                public bool filter (Gtk.RecentFilterInfo filter_info);
4307
 
                public Gtk.RecentFilterFlags get_needed ();
4308
 
        }
4309
 
        [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_recent_info_ref", type_id = "gtk_recent_info_get_type ()", unref_function = "gtk_recent_info_unref")]
4310
 
        [Compact]
4311
 
        public class RecentInfo {
4312
 
                public GLib.AppInfo create_app_info (string? app_name) throws GLib.Error;
4313
 
                public bool exists ();
4314
 
                public ulong get_added ();
4315
 
                public int get_age ();
4316
 
                public bool get_application_info (string app_name, out unowned string app_exec, out uint count, out ulong time_);
4317
 
                [CCode (array_length_type = "gsize")]
4318
 
                public string[] get_applications ();
4319
 
                public unowned string get_description ();
4320
 
                public unowned string get_display_name ();
4321
 
                public GLib.Icon? get_gicon ();
4322
 
                [CCode (array_length_type = "gsize")]
4323
 
                public string[] get_groups ();
4324
 
                public Gdk.Pixbuf? get_icon (int size);
4325
 
                public unowned string get_mime_type ();
4326
 
                public ulong get_modified ();
4327
 
                public bool get_private_hint ();
4328
 
                public string get_short_name ();
4329
 
                public unowned string get_uri ();
4330
 
                public string? get_uri_display ();
4331
 
                public ulong get_visited ();
4332
 
                public bool has_application (string app_name);
4333
 
                public bool has_group (string group_name);
4334
 
                public bool is_local ();
4335
 
                public string last_application ();
4336
 
                public bool match (Gtk.RecentInfo info_b);
4337
 
        }
4338
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_manager_get_type ()")]
4339
 
        public class RecentManager : GLib.Object {
4340
 
                [CCode (has_construct_function = false)]
4341
 
                public RecentManager ();
4342
 
                public bool add_full (string uri, Gtk.RecentData recent_data);
4343
 
                public bool add_item (string uri);
4344
 
                public static unowned Gtk.RecentManager get_default ();
4345
 
                public GLib.List<Gtk.RecentInfo> get_items ();
4346
 
                public bool has_item (string uri);
4347
 
                public Gtk.RecentInfo? lookup_item (string uri) throws GLib.Error;
4348
 
                public bool move_item (string uri, string? new_uri) throws GLib.Error;
4349
 
                public int purge_items () throws GLib.Error;
4350
 
                public bool remove_item (string uri) throws GLib.Error;
4351
 
                [NoAccessorMethod]
4352
 
                public string filename { owned get; construct; }
4353
 
                [NoAccessorMethod]
4354
 
                public int size { get; }
4355
 
                public virtual signal void changed ();
4356
 
        }
4357
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_renderer_cell_accessible_get_type ()")]
4358
 
        public class RendererCellAccessible : Gtk.CellAccessible, Atk.Action, Atk.Component {
4359
 
                [CCode (has_construct_function = false, type = "AtkObject*")]
4360
 
                public RendererCellAccessible (Gtk.CellRenderer renderer);
4361
 
                [NoAccessorMethod]
4362
 
                public Gtk.CellRenderer renderer { owned get; construct; }
4363
 
        }
4364
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_revealer_get_type ()")]
4365
 
        public class Revealer : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
4366
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4367
 
                public Revealer ();
4368
 
                public bool get_child_revealed ();
4369
 
                public bool get_reveal_child ();
4370
 
                public uint get_transition_duration ();
4371
 
                public Gtk.RevealerTransitionType get_transition_type ();
4372
 
                public void set_reveal_child (bool reveal_child);
4373
 
                public void set_transition_duration (uint duration);
4374
 
                public void set_transition_type (Gtk.RevealerTransitionType transition);
4375
 
                public bool child_revealed { get; }
4376
 
                public bool reveal_child { get; set construct; }
4377
 
                public uint transition_duration { get; set construct; }
4378
 
                public Gtk.RevealerTransitionType transition_type { get; set construct; }
4379
 
        }
4380
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_get_type ()")]
4381
 
        public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4382
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4383
 
                public Scale (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
4384
 
                public void add_mark (double value, Gtk.PositionType position, string? markup);
4385
 
                public void clear_marks ();
4386
 
                public int get_digits ();
4387
 
                public bool get_draw_value ();
4388
 
                public bool get_has_origin ();
4389
 
                public unowned Pango.Layout? get_layout ();
4390
 
                public virtual void get_layout_offsets (out int x, out int y);
4391
 
                public Gtk.PositionType get_value_pos ();
4392
 
                public void set_digits (int digits);
4393
 
                public void set_draw_value (bool draw_value);
4394
 
                public void set_has_origin (bool has_origin);
4395
 
                public void set_value_pos (Gtk.PositionType pos);
4396
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4397
 
                public Scale.with_range (Gtk.Orientation orientation, double min, double max, double step);
4398
 
                public int digits { get; set; }
4399
 
                public bool draw_value { get; set; }
4400
 
                public bool has_origin { get; set; }
4401
 
                public Gtk.PositionType value_pos { get; set; }
4402
 
                public virtual signal string format_value (double value);
4403
 
        }
4404
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_accessible_get_type ()")]
4405
 
        public class ScaleAccessible : Gtk.RangeAccessible, Atk.Component, Atk.Value {
4406
 
                [CCode (has_construct_function = false)]
4407
 
                protected ScaleAccessible ();
4408
 
        }
4409
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_button_get_type ()")]
4410
 
        public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.Orientable {
4411
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4412
 
                public ScaleButton (Gtk.IconSize size, double min = 0.0, double max = 100.0, double step = 2.0, [CCode (array_length = false, array_null_terminated = true)] string[]? icons = null);
4413
 
                public unowned Gtk.Adjustment get_adjustment ();
4414
 
                public unowned Gtk.Widget get_minus_button ();
4415
 
                public unowned Gtk.Widget get_plus_button ();
4416
 
                public unowned Gtk.Widget get_popup ();
4417
 
                public double get_value ();
4418
 
                public void set_adjustment (Gtk.Adjustment adjustment);
4419
 
                public void set_icons ([CCode (array_length = false, array_null_terminated = true)] string[] icons);
4420
 
                public void set_value (double value);
4421
 
                public Gtk.Adjustment adjustment { get; set; }
4422
 
                [CCode (array_length = false, array_null_terminated = true)]
4423
 
                [NoAccessorMethod]
4424
 
                public string[] icons { owned get; set; }
4425
 
                [NoAccessorMethod]
4426
 
                public Gtk.IconSize size { get; set; }
4427
 
                public double value { get; set; }
4428
 
                public virtual signal void popdown ();
4429
 
                public virtual signal void popup ();
4430
 
                public virtual signal void value_changed (double value);
4431
 
        }
4432
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_button_accessible_get_type ()")]
4433
 
        public class ScaleButtonAccessible : Gtk.ButtonAccessible, Atk.Component, Atk.Action, Atk.Image, Atk.Value {
4434
 
                [CCode (has_construct_function = false)]
4435
 
                protected ScaleButtonAccessible ();
4436
 
        }
4437
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrollbar_get_type ()")]
4438
 
        public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4439
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4440
 
                public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
4441
 
        }
4442
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrolled_window_get_type ()")]
4443
 
        public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
4444
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4445
 
                public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
4446
 
                public void add_with_viewport (Gtk.Widget child);
4447
 
                public bool get_capture_button_press ();
4448
 
                public unowned Gtk.Adjustment get_hadjustment ();
4449
 
                public unowned Gtk.Widget get_hscrollbar ();
4450
 
                public bool get_kinetic_scrolling ();
4451
 
                public int get_min_content_height ();
4452
 
                public int get_min_content_width ();
4453
 
                public bool get_overlay_scrolling ();
4454
 
                public Gtk.CornerType get_placement ();
4455
 
                public void get_policy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy);
4456
 
                public Gtk.ShadowType get_shadow_type ();
4457
 
                public unowned Gtk.Adjustment get_vadjustment ();
4458
 
                public unowned Gtk.Widget get_vscrollbar ();
4459
 
                public void set_capture_button_press (bool capture_button_press);
4460
 
                public void set_hadjustment (Gtk.Adjustment hadjustment);
4461
 
                public void set_kinetic_scrolling (bool kinetic_scrolling);
4462
 
                public void set_min_content_height (int height);
4463
 
                public void set_min_content_width (int width);
4464
 
                public void set_overlay_scrolling (bool overlay_scrolling);
4465
 
                public void set_placement (Gtk.CornerType window_placement);
4466
 
                public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
4467
 
                public void set_shadow_type (Gtk.ShadowType type);
4468
 
                public void set_vadjustment (Gtk.Adjustment vadjustment);
4469
 
                public void unset_placement ();
4470
 
                public Gtk.Adjustment hadjustment { get; set construct; }
4471
 
                [NoAccessorMethod]
4472
 
                public Gtk.PolicyType hscrollbar_policy { get; set; }
4473
 
                public bool kinetic_scrolling { get; set; }
4474
 
                public int min_content_height { get; set; }
4475
 
                public int min_content_width { get; set; }
4476
 
                public bool overlay_scrolling { get; set; }
4477
 
                public Gtk.ShadowType shadow_type { get; set; }
4478
 
                public Gtk.Adjustment vadjustment { get; set construct; }
4479
 
                [NoAccessorMethod]
4480
 
                public Gtk.PolicyType vscrollbar_policy { get; set; }
4481
 
                [NoAccessorMethod]
4482
 
                public Gtk.CornerType window_placement { get; set; }
4483
 
                [NoAccessorMethod]
4484
 
                public bool window_placement_set { get; set; }
4485
 
                public virtual signal void edge_overshot (Gtk.PositionType p0);
4486
 
                public virtual signal void edge_reached (Gtk.PositionType p0);
4487
 
                public virtual signal void move_focus_out (Gtk.DirectionType direction);
4488
 
                public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
4489
 
        }
4490
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scrolled_window_accessible_get_type ()")]
4491
 
        public class ScrolledWindowAccessible : Gtk.ContainerAccessible, Atk.Component {
4492
 
                [CCode (has_construct_function = false)]
4493
 
                protected ScrolledWindowAccessible ();
4494
 
        }
4495
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_bar_get_type ()")]
4496
 
        public class SearchBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
4497
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4498
 
                public SearchBar ();
4499
 
                public void connect_entry (Gtk.Entry entry);
4500
 
                public bool get_search_mode ();
4501
 
                public bool get_show_close_button ();
4502
 
                public bool handle_event (Gdk.Event event);
4503
 
                public void set_search_mode (bool search_mode);
4504
 
                public void set_show_close_button (bool visible);
4505
 
                [NoAccessorMethod]
4506
 
                public bool search_mode_enabled { get; set; }
4507
 
                public bool show_close_button { get; set construct; }
4508
 
        }
4509
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_entry_get_type ()")]
4510
 
        public class SearchEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable {
4511
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4512
 
                public SearchEntry ();
4513
 
                public bool handle_event (Gdk.Event event);
4514
 
                public virtual signal void next_match ();
4515
 
                public virtual signal void previous_match ();
4516
 
                public virtual signal void search_changed ();
4517
 
                public virtual signal void stop_search ();
4518
 
        }
4519
 
        [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_selection_data_copy", type_id = "gtk_selection_data_get_type ()")]
4520
 
        [Compact]
4521
 
        public class SelectionData {
4522
 
                public Gtk.SelectionData copy ();
4523
 
                [CCode (array_length = false)]
4524
 
                public unowned uchar[] get_data ();
4525
 
                public Gdk.Atom get_data_type ();
4526
 
                public unowned uchar[] get_data_with_length ();
4527
 
                public unowned Gdk.Display get_display ();
4528
 
                public int get_format ();
4529
 
                public int get_length ();
4530
 
                public Gdk.Pixbuf? get_pixbuf ();
4531
 
                public Gdk.Atom get_selection ();
4532
 
                public Gdk.Atom get_target ();
4533
 
                public bool get_targets (out Gdk.Atom[] targets);
4534
 
                public string? get_text ();
4535
 
                [CCode (array_length = false, array_null_terminated = true)]
4536
 
                public string[] get_uris ();
4537
 
                public void @set (Gdk.Atom type, int format, uchar[] data);
4538
 
                public bool set_pixbuf (Gdk.Pixbuf pixbuf);
4539
 
                public bool set_text (string str, int len);
4540
 
                public bool set_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uris);
4541
 
                public bool targets_include_image (bool writable);
4542
 
                public bool targets_include_rich_text (Gtk.TextBuffer buffer);
4543
 
                public bool targets_include_text ();
4544
 
                public bool targets_include_uri ();
4545
 
        }
4546
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_get_type ()")]
4547
 
        public class Separator : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4548
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4549
 
                public Separator (Gtk.Orientation orientation);
4550
 
        }
4551
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_menu_item_get_type ()")]
4552
 
        public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
4553
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4554
 
                public SeparatorMenuItem ();
4555
 
        }
4556
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_tool_item_get_type ()")]
4557
 
        public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4558
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
4559
 
                public SeparatorToolItem ();
4560
 
                public bool get_draw ();
4561
 
                public void set_draw (bool draw);
4562
 
                public bool draw { get; set; }
4563
 
        }
4564
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_settings_get_type ()")]
4565
 
        public class Settings : GLib.Object, Gtk.StyleProvider {
4566
 
                [CCode (has_construct_function = false)]
4567
 
                protected Settings ();
4568
 
                public static unowned Gtk.Settings get_default ();
4569
 
                public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
4570
 
                public static void install_property (GLib.ParamSpec pspec);
4571
 
                public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
4572
 
                public void reset_property (string name);
4573
 
                public void set_double_property (string name, double v_double, string origin);
4574
 
                public void set_long_property (string name, long v_long, string origin);
4575
 
                public void set_property_value (string name, Gtk.SettingsValue svalue);
4576
 
                public void set_string_property (string name, string v_string, string origin);
4577
 
                [NoAccessorMethod]
4578
 
                public GLib.HashTable<string,Gdk.Color> color_hash { owned get; }
4579
 
                [NoAccessorMethod]
4580
 
                public bool gtk_alternative_button_order { get; set; }
4581
 
                [NoAccessorMethod]
4582
 
                public bool gtk_alternative_sort_arrows { get; set; }
4583
 
                [NoAccessorMethod]
4584
 
                public bool gtk_application_prefer_dark_theme { get; set; }
4585
 
                [NoAccessorMethod]
4586
 
                public bool gtk_auto_mnemonics { get; set; }
4587
 
                [NoAccessorMethod]
4588
 
                public bool gtk_button_images { get; set; }
4589
 
                [NoAccessorMethod]
4590
 
                public bool gtk_can_change_accels { get; set; }
4591
 
                [NoAccessorMethod]
4592
 
                public string gtk_color_palette { owned get; set; }
4593
 
                [NoAccessorMethod]
4594
 
                public string gtk_color_scheme { owned get; set; }
4595
 
                [NoAccessorMethod]
4596
 
                public bool gtk_cursor_blink { get; set; }
4597
 
                [NoAccessorMethod]
4598
 
                public int gtk_cursor_blink_time { get; set; }
4599
 
                [NoAccessorMethod]
4600
 
                public int gtk_cursor_blink_timeout { get; set; }
4601
 
                [NoAccessorMethod]
4602
 
                public string gtk_cursor_theme_name { owned get; set; }
4603
 
                [NoAccessorMethod]
4604
 
                public int gtk_cursor_theme_size { get; set; }
4605
 
                [NoAccessorMethod]
4606
 
                public string gtk_decoration_layout { owned get; set; }
4607
 
                [NoAccessorMethod]
4608
 
                public bool gtk_dialogs_use_header { get; set; }
4609
 
                [NoAccessorMethod]
4610
 
                public int gtk_dnd_drag_threshold { get; set; }
4611
 
                [NoAccessorMethod]
4612
 
                public int gtk_double_click_distance { get; set; }
4613
 
                [NoAccessorMethod]
4614
 
                public int gtk_double_click_time { get; set; }
4615
 
                [NoAccessorMethod]
4616
 
                public bool gtk_enable_accels { get; set; }
4617
 
                [NoAccessorMethod]
4618
 
                public bool gtk_enable_animations { get; set; }
4619
 
                [NoAccessorMethod]
4620
 
                public bool gtk_enable_event_sounds { get; set; }
4621
 
                [NoAccessorMethod]
4622
 
                public bool gtk_enable_input_feedback_sounds { get; set; }
4623
 
                [NoAccessorMethod]
4624
 
                public bool gtk_enable_mnemonics { get; set; }
4625
 
                [NoAccessorMethod]
4626
 
                public bool gtk_enable_primary_paste { get; set; }
4627
 
                [NoAccessorMethod]
4628
 
                public bool gtk_enable_tooltips { get; set; }
4629
 
                [NoAccessorMethod]
4630
 
                public uint gtk_entry_password_hint_timeout { get; set; }
4631
 
                [NoAccessorMethod]
4632
 
                public bool gtk_entry_select_on_focus { get; set; }
4633
 
                [NoAccessorMethod]
4634
 
                public bool gtk_error_bell { get; set; }
4635
 
                [NoAccessorMethod]
4636
 
                public string gtk_fallback_icon_theme { owned get; set; }
4637
 
                [NoAccessorMethod]
4638
 
                public string gtk_file_chooser_backend { owned get; set; }
4639
 
                [NoAccessorMethod]
4640
 
                public string gtk_font_name { owned get; set; }
4641
 
                [NoAccessorMethod]
4642
 
                public uint gtk_fontconfig_timestamp { get; set; }
4643
 
                [NoAccessorMethod]
4644
 
                public string gtk_icon_sizes { owned get; set; }
4645
 
                [NoAccessorMethod]
4646
 
                public string gtk_icon_theme_name { owned get; set; }
4647
 
                [NoAccessorMethod]
4648
 
                public string gtk_im_module { owned get; set; }
4649
 
                [NoAccessorMethod]
4650
 
                public Gtk.IMPreeditStyle gtk_im_preedit_style { get; set; }
4651
 
                [NoAccessorMethod]
4652
 
                public Gtk.IMStatusStyle gtk_im_status_style { get; set; }
4653
 
                [NoAccessorMethod]
4654
 
                public string gtk_key_theme_name { owned get; set; }
4655
 
                [NoAccessorMethod]
4656
 
                public bool gtk_keynav_cursor_only { get; set; }
4657
 
                [NoAccessorMethod]
4658
 
                public bool gtk_keynav_use_caret { get; set; }
4659
 
                [NoAccessorMethod]
4660
 
                public bool gtk_keynav_wrap_around { get; set; }
4661
 
                [NoAccessorMethod]
4662
 
                public bool gtk_label_select_on_focus { get; set; }
4663
 
                [NoAccessorMethod]
4664
 
                public uint gtk_long_press_time { get; set; }
4665
 
                [NoAccessorMethod]
4666
 
                public string gtk_menu_bar_accel { owned get; set; }
4667
 
                [NoAccessorMethod]
4668
 
                public int gtk_menu_bar_popup_delay { get; set; }
4669
 
                [NoAccessorMethod]
4670
 
                public bool gtk_menu_images { get; set; }
4671
 
                [NoAccessorMethod]
4672
 
                public int gtk_menu_popdown_delay { get; set; }
4673
 
                [NoAccessorMethod]
4674
 
                public int gtk_menu_popup_delay { get; set; }
4675
 
                [NoAccessorMethod]
4676
 
                public string gtk_modules { owned get; set; }
4677
 
                [NoAccessorMethod]
4678
 
                public bool gtk_primary_button_warps_slider { get; set; }
4679
 
                [NoAccessorMethod]
4680
 
                public string gtk_print_backends { owned get; set; }
4681
 
                [NoAccessorMethod]
4682
 
                public string gtk_print_preview_command { owned get; set; }
4683
 
                [NoAccessorMethod]
4684
 
                public bool gtk_recent_files_enabled { get; set; }
4685
 
                [NoAccessorMethod]
4686
 
                public int gtk_recent_files_limit { get; set; }
4687
 
                [NoAccessorMethod]
4688
 
                public int gtk_recent_files_max_age { get; set; }
4689
 
                [NoAccessorMethod]
4690
 
                public Gtk.CornerType gtk_scrolled_window_placement { get; set; }
4691
 
                [NoAccessorMethod]
4692
 
                public bool gtk_shell_shows_app_menu { get; set; }
4693
 
                [NoAccessorMethod]
4694
 
                public bool gtk_shell_shows_desktop { get; set; }
4695
 
                [NoAccessorMethod]
4696
 
                public bool gtk_shell_shows_menubar { get; set; }
4697
 
                [NoAccessorMethod]
4698
 
                public bool gtk_show_input_method_menu { get; set; }
4699
 
                [NoAccessorMethod]
4700
 
                public bool gtk_show_unicode_menu { get; set; }
4701
 
                [NoAccessorMethod]
4702
 
                public string gtk_sound_theme_name { owned get; set; }
4703
 
                [NoAccessorMethod]
4704
 
                public bool gtk_split_cursor { get; set; }
4705
 
                [NoAccessorMethod]
4706
 
                public string gtk_theme_name { owned get; set; }
4707
 
                [NoAccessorMethod]
4708
 
                public int gtk_timeout_expand { get; set; }
4709
 
                [NoAccessorMethod]
4710
 
                public int gtk_timeout_initial { get; set; }
4711
 
                [NoAccessorMethod]
4712
 
                public int gtk_timeout_repeat { get; set; }
4713
 
                [NoAccessorMethod]
4714
 
                public string gtk_titlebar_double_click { owned get; set; }
4715
 
                [NoAccessorMethod]
4716
 
                public string gtk_titlebar_middle_click { owned get; set; }
4717
 
                [NoAccessorMethod]
4718
 
                public string gtk_titlebar_right_click { owned get; set; }
4719
 
                [NoAccessorMethod]
4720
 
                public Gtk.IconSize gtk_toolbar_icon_size { get; set; }
4721
 
                [NoAccessorMethod]
4722
 
                public Gtk.ToolbarStyle gtk_toolbar_style { get; set; }
4723
 
                [NoAccessorMethod]
4724
 
                public int gtk_tooltip_browse_mode_timeout { get; set; }
4725
 
                [NoAccessorMethod]
4726
 
                public int gtk_tooltip_browse_timeout { get; set; }
4727
 
                [NoAccessorMethod]
4728
 
                public int gtk_tooltip_timeout { get; set; }
4729
 
                [NoAccessorMethod]
4730
 
                [Version (deprecated_since = "3.4", replacement = "Gdk.Event.get_source_device")]
4731
 
                public bool gtk_touchscreen_mode { get; set; }
4732
 
                [NoAccessorMethod]
4733
 
                public Gtk.PolicyType gtk_visible_focus { get; set; }
4734
 
                [NoAccessorMethod]
4735
 
                public int gtk_xft_antialias { get; set; }
4736
 
                [NoAccessorMethod]
4737
 
                public int gtk_xft_dpi { get; set; }
4738
 
                [NoAccessorMethod]
4739
 
                public int gtk_xft_hinting { get; set; }
4740
 
                [NoAccessorMethod]
4741
 
                public string gtk_xft_hintstyle { owned get; set; }
4742
 
                [NoAccessorMethod]
4743
 
                public string gtk_xft_rgba { owned get; set; }
4744
 
        }
4745
 
        [CCode (cheader_filename = "gtk/gtk.h")]
4746
 
        public class ShortcutsGroup : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4747
 
                [CCode (has_construct_function = false)]
4748
 
                protected ShortcutsGroup ();
4749
 
                [NoAccessorMethod]
4750
 
                public Gtk.SizeGroup accel_size_group { set; }
4751
 
                [NoAccessorMethod]
4752
 
                public uint height { get; }
4753
 
                [NoAccessorMethod]
4754
 
                public string title { owned get; set; }
4755
 
                [NoAccessorMethod]
4756
 
                public Gtk.SizeGroup title_size_group { set; }
4757
 
                [NoAccessorMethod]
4758
 
                public string view { owned get; set; }
4759
 
        }
4760
 
        [CCode (cheader_filename = "gtk/gtk.h")]
4761
 
        public class ShortcutsSection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4762
 
                [CCode (has_construct_function = false)]
4763
 
                protected ShortcutsSection ();
4764
 
                [NoAccessorMethod]
4765
 
                public uint max_height { get; set; }
4766
 
                [NoAccessorMethod]
4767
 
                public string section_name { owned get; set; }
4768
 
                [NoAccessorMethod]
4769
 
                public string title { owned get; set; }
4770
 
                [NoAccessorMethod]
4771
 
                public string view_name { owned get; set; }
4772
 
                public virtual signal bool change_current_page (int p0);
4773
 
        }
4774
 
        [CCode (cheader_filename = "gtk/gtk.h")]
4775
 
        public class ShortcutsShortcut : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4776
 
                [CCode (has_construct_function = false)]
4777
 
                protected ShortcutsShortcut ();
4778
 
                [NoAccessorMethod]
4779
 
                public Gtk.SizeGroup accel_size_group { set; }
4780
 
                [NoAccessorMethod]
4781
 
                public string accelerator { owned get; set; }
4782
 
                [NoAccessorMethod]
4783
 
                public Gtk.TextDirection direction { get; set; }
4784
 
                [NoAccessorMethod]
4785
 
                public GLib.Icon icon { owned get; set; }
4786
 
                [NoAccessorMethod]
4787
 
                public bool icon_set { get; set; }
4788
 
                [NoAccessorMethod]
4789
 
                public Gtk.ShortcutType shortcut_type { get; set; }
4790
 
                [NoAccessorMethod]
4791
 
                public string subtitle { owned get; set; }
4792
 
                [NoAccessorMethod]
4793
 
                public bool subtitle_set { get; set; }
4794
 
                [NoAccessorMethod]
4795
 
                public string title { owned get; set; }
4796
 
                [NoAccessorMethod]
4797
 
                public Gtk.SizeGroup title_size_group { set; }
4798
 
        }
4799
 
        [CCode (cheader_filename = "gtk/gtk.h")]
4800
 
        public class ShortcutsWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
4801
 
                [CCode (has_construct_function = false)]
4802
 
                protected ShortcutsWindow ();
4803
 
                [NoAccessorMethod]
4804
 
                public string section_name { owned get; set; }
4805
 
                [NoAccessorMethod]
4806
 
                public string view_name { owned get; set; }
4807
 
                public virtual signal void close ();
4808
 
                public virtual signal void search ();
4809
 
        }
4810
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_size_group_get_type ()")]
4811
 
        public class SizeGroup : GLib.Object, Gtk.Buildable {
4812
 
                [CCode (has_construct_function = false)]
4813
 
                public SizeGroup (Gtk.SizeGroupMode mode);
4814
 
                public void add_widget (Gtk.Widget widget);
4815
 
                public bool get_ignore_hidden ();
4816
 
                public Gtk.SizeGroupMode get_mode ();
4817
 
                public unowned GLib.SList<Gtk.Widget> get_widgets ();
4818
 
                public void remove_widget (Gtk.Widget widget);
4819
 
                public void set_ignore_hidden (bool ignore_hidden);
4820
 
                public void set_mode (Gtk.SizeGroupMode mode);
4821
 
                public bool ignore_hidden { get; set; }
4822
 
                public Gtk.SizeGroupMode mode { get; set; }
4823
 
        }
4824
 
        [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_socket_get_type ()")]
4825
 
        public class Socket : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4826
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4827
 
                public Socket ();
4828
 
                public void add_id (X.Window window);
4829
 
                public X.Window get_id ();
4830
 
                public unowned Gdk.Window? get_plug_window ();
4831
 
                public virtual signal void plug_added ();
4832
 
                public virtual signal bool plug_removed ();
4833
 
        }
4834
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
4835
 
        public class SpinButton : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable, Gtk.Orientable {
4836
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4837
 
                public SpinButton (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
4838
 
                public void configure (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
4839
 
                public unowned Gtk.Adjustment get_adjustment ();
4840
 
                public uint get_digits ();
4841
 
                public void get_increments (out double step, out double page);
4842
 
                public bool get_numeric ();
4843
 
                public void get_range (out double min, out double max);
4844
 
                public bool get_snap_to_ticks ();
4845
 
                public Gtk.SpinButtonUpdatePolicy get_update_policy ();
4846
 
                public double get_value ();
4847
 
                public int get_value_as_int ();
4848
 
                public bool get_wrap ();
4849
 
                public void set_adjustment (Gtk.Adjustment adjustment);
4850
 
                public void set_digits (uint digits);
4851
 
                public void set_increments (double step, double page);
4852
 
                public void set_numeric (bool numeric);
4853
 
                public void set_range (double min, double max);
4854
 
                public void set_snap_to_ticks (bool snap_to_ticks);
4855
 
                public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
4856
 
                public void set_value (double value);
4857
 
                public void set_wrap (bool wrap);
4858
 
                public void spin (Gtk.SpinType direction, double increment);
4859
 
                public void update ();
4860
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4861
 
                public SpinButton.with_range (double min, double max, double step);
4862
 
                public Gtk.Adjustment adjustment { get; set; }
4863
 
                [NoAccessorMethod]
4864
 
                public double climb_rate { get; set; }
4865
 
                public uint digits { get; set; }
4866
 
                public bool numeric { get; set; }
4867
 
                public bool snap_to_ticks { get; set; }
4868
 
                public Gtk.SpinButtonUpdatePolicy update_policy { get; set; }
4869
 
                public double value { get; set; }
4870
 
                public bool wrap { get; set; }
4871
 
                public virtual signal void change_value (Gtk.ScrollType scroll);
4872
 
                public virtual signal int input (out double new_value);
4873
 
                public virtual signal bool output ();
4874
 
                public virtual signal void value_changed ();
4875
 
                public virtual signal void wrapped ();
4876
 
        }
4877
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spin_button_accessible_get_type ()")]
4878
 
        public class SpinButtonAccessible : Gtk.EntryAccessible, Atk.Component, Atk.EditableText, Atk.Text, Atk.Action, Atk.Value {
4879
 
                [CCode (has_construct_function = false)]
4880
 
                protected SpinButtonAccessible ();
4881
 
        }
4882
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spinner_get_type ()")]
4883
 
        public class Spinner : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
4884
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4885
 
                public Spinner ();
4886
 
                public void start ();
4887
 
                public void stop ();
4888
 
                [NoAccessorMethod]
4889
 
                public bool active { get; set; }
4890
 
        }
4891
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spinner_accessible_get_type ()")]
4892
 
        public class SpinnerAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
4893
 
                [CCode (has_construct_function = false)]
4894
 
                protected SpinnerAccessible ();
4895
 
        }
4896
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_get_type ()")]
4897
 
        public class Stack : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4898
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4899
 
                public Stack ();
4900
 
                public void add_named (Gtk.Widget child, string name);
4901
 
                public void add_titled (Gtk.Widget child, string name, string title);
4902
 
                public unowned Gtk.Widget? get_child_by_name (string name);
4903
 
                public bool get_hhomogeneous ();
4904
 
                public bool get_homogeneous ();
4905
 
                public bool get_interpolate_size ();
4906
 
                public uint get_transition_duration ();
4907
 
                public bool get_transition_running ();
4908
 
                public Gtk.StackTransitionType get_transition_type ();
4909
 
                public bool get_vhomogeneous ();
4910
 
                public unowned Gtk.Widget? get_visible_child ();
4911
 
                public unowned string? get_visible_child_name ();
4912
 
                public void set_hhomogeneous (bool hhomogeneous);
4913
 
                public void set_homogeneous (bool homogeneous);
4914
 
                public void set_interpolate_size (bool interpolate_size);
4915
 
                public void set_transition_duration (uint duration);
4916
 
                public void set_transition_type (Gtk.StackTransitionType transition);
4917
 
                public void set_vhomogeneous (bool vhomogeneous);
4918
 
                public void set_visible_child (Gtk.Widget child);
4919
 
                public void set_visible_child_full (string name, Gtk.StackTransitionType transition);
4920
 
                public void set_visible_child_name (string name);
4921
 
                public bool hhomogeneous { get; set; }
4922
 
                public bool homogeneous { get; set; }
4923
 
                public bool interpolate_size { get; set; }
4924
 
                public uint transition_duration { get; set; }
4925
 
                public bool transition_running { get; }
4926
 
                public Gtk.StackTransitionType transition_type { get; set; }
4927
 
                public bool vhomogeneous { get; set; }
4928
 
                public Gtk.Widget visible_child { get; set; }
4929
 
                public string visible_child_name { get; set; }
4930
 
        }
4931
 
        [CCode (cheader_filename = "gtk/gtk.h")]
4932
 
        public class StackSidebar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
4933
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4934
 
                public StackSidebar ();
4935
 
                public unowned Gtk.Stack get_stack ();
4936
 
                public void set_stack (Gtk.Stack stack);
4937
 
                public Gtk.Stack stack { get; set; }
4938
 
        }
4939
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_switcher_get_type ()")]
4940
 
        public class StackSwitcher : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4941
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
4942
 
                public StackSwitcher ();
4943
 
                public unowned Gtk.Stack? get_stack ();
4944
 
                public void set_stack (Gtk.Stack? stack);
4945
 
                [NoAccessorMethod]
4946
 
                public int icon_size { get; set; }
4947
 
                public Gtk.Stack stack { get; set construct; }
4948
 
        }
4949
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_status_icon_get_type ()")]
4950
 
        public class StatusIcon : GLib.Object {
4951
 
                [CCode (has_construct_function = false)]
4952
 
                public StatusIcon ();
4953
 
                [CCode (has_construct_function = false)]
4954
 
                public StatusIcon.from_file (string filename);
4955
 
                [CCode (has_construct_function = false)]
4956
 
                public StatusIcon.from_gicon (GLib.Icon icon);
4957
 
                [CCode (has_construct_function = false)]
4958
 
                public StatusIcon.from_icon_name (string icon_name);
4959
 
                [CCode (has_construct_function = false)]
4960
 
                public StatusIcon.from_pixbuf (Gdk.Pixbuf pixbuf);
4961
 
                [CCode (has_construct_function = false)]
4962
 
                public StatusIcon.from_stock (string stock_id);
4963
 
                public bool get_geometry (out unowned Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation);
4964
 
                public unowned GLib.Icon get_gicon ();
4965
 
                public bool get_has_tooltip ();
4966
 
                public unowned string get_icon_name ();
4967
 
                public unowned Gdk.Pixbuf get_pixbuf ();
4968
 
                public unowned Gdk.Screen get_screen ();
4969
 
                public int get_size ();
4970
 
                public unowned string get_stock ();
4971
 
                public Gtk.ImageType get_storage_type ();
4972
 
                public unowned string get_title ();
4973
 
                public string get_tooltip_markup ();
4974
 
                public string get_tooltip_text ();
4975
 
                public bool get_visible ();
4976
 
                public uint32 get_x11_window_id ();
4977
 
                public bool is_embedded ();
4978
 
                [CCode (instance_pos = -1)]
4979
 
                public void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
4980
 
                public void set_from_file (string filename);
4981
 
                public void set_from_gicon (GLib.Icon icon);
4982
 
                public void set_from_icon_name (string icon_name);
4983
 
                public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
4984
 
                public void set_from_stock (string stock_id);
4985
 
                public void set_has_tooltip (bool has_tooltip);
4986
 
                public void set_name (string name);
4987
 
                public void set_screen (Gdk.Screen screen);
4988
 
                public void set_title (string title);
4989
 
                public void set_tooltip_markup (string markup);
4990
 
                public void set_tooltip_text (string text);
4991
 
                public void set_visible (bool visible);
4992
 
                [NoAccessorMethod]
4993
 
                public bool embedded { get; }
4994
 
                [NoAccessorMethod]
4995
 
                public string file { set; }
4996
 
                [NoAccessorMethod]
4997
 
                public GLib.Icon gicon { owned get; set; }
4998
 
                public bool has_tooltip { get; set; }
4999
 
                [NoAccessorMethod]
5000
 
                public string icon_name { owned get; set; }
5001
 
                [NoAccessorMethod]
5002
 
                public Gtk.Orientation orientation { get; }
5003
 
                [NoAccessorMethod]
5004
 
                public Gdk.Pixbuf pixbuf { owned get; set; }
5005
 
                public Gdk.Screen screen { get; set; }
5006
 
                public int size { get; }
5007
 
                [NoAccessorMethod]
5008
 
                public string stock { owned get; set; }
5009
 
                public Gtk.ImageType storage_type { get; }
5010
 
                public string title { get; set; }
5011
 
                public string tooltip_markup { owned get; set; }
5012
 
                public string tooltip_text { owned get; set; }
5013
 
                public bool visible { get; set; }
5014
 
                public virtual signal void activate ();
5015
 
                public virtual signal bool button_press_event (Gdk.EventButton event);
5016
 
                public virtual signal bool button_release_event (Gdk.EventButton event);
5017
 
                public virtual signal void popup_menu (uint button, uint activate_time);
5018
 
                public virtual signal bool query_tooltip (int x, int y, bool keyboard_mode, Gtk.Tooltip tooltip);
5019
 
                public virtual signal bool scroll_event (Gdk.EventScroll event);
5020
 
                public virtual signal bool size_changed (int size);
5021
 
        }
5022
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_statusbar_get_type ()")]
5023
 
        public class Statusbar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5024
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
5025
 
                public Statusbar ();
5026
 
                public uint get_context_id (string context_description);
5027
 
                public unowned Gtk.Container get_message_area ();
5028
 
                public void pop (uint context_id);
5029
 
                public uint push (uint context_id, string text);
5030
 
                public void remove (uint context_id, uint message_id);
5031
 
                public void remove_all (uint context_id);
5032
 
                public virtual signal void text_popped (uint context_id, string text);
5033
 
                public virtual signal void text_pushed (uint context_id, string text);
5034
 
        }
5035
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_statusbar_accessible_get_type ()")]
5036
 
        public class StatusbarAccessible : Gtk.ContainerAccessible, Atk.Component {
5037
 
                [CCode (has_construct_function = false)]
5038
 
                protected StatusbarAccessible ();
5039
 
        }
5040
 
        [CCode (cheader_filename = "gtk/gtk.h")]
5041
 
        [Version (deprecated_since = "3.0", replacement = "StyleContext")]
5042
 
        public class Style : GLib.Object {
5043
 
                public int attach_count;
5044
 
                [CCode (array_length = false)]
5045
 
                public weak Cairo.Pattern[] background;
5046
 
                [CCode (array_length = false)]
5047
 
                public Gdk.Color[] @base;
5048
 
                [CCode (array_length = false)]
5049
 
                public Gdk.Color[] bg;
5050
 
                public Gdk.Color black;
5051
 
                [CCode (array_length = false)]
5052
 
                public Gdk.Color[] dark;
5053
 
                [CCode (array_length = false)]
5054
 
                public Gdk.Color[] fg;
5055
 
                public weak Pango.FontDescription font_desc;
5056
 
                public weak GLib.SList icon_factories;
5057
 
                [CCode (array_length = false)]
5058
 
                public Gdk.Color[] light;
5059
 
                [CCode (array_length = false)]
5060
 
                public Gdk.Color[] mid;
5061
 
                public weak GLib.Array property_cache;
5062
 
                public weak Gtk.RcStyle rc_style;
5063
 
                public weak GLib.SList styles;
5064
 
                [CCode (array_length = false)]
5065
 
                public Gdk.Color[] text;
5066
 
                [CCode (array_length = false)]
5067
 
                public Gdk.Color[] text_aa;
5068
 
                public weak Gdk.Visual visual;
5069
 
                public Gdk.Color white;
5070
 
                public int xthickness;
5071
 
                public int ythickness;
5072
 
                [CCode (has_construct_function = false)]
5073
 
                public Style ();
5074
 
                public void apply_default_background (Cairo.Context cr, Gdk.Window window, Gtk.StateType state_type, int x, int y, int width, int height);
5075
 
                public unowned Gtk.Style attach (Gdk.Window window);
5076
 
                [NoWrapper]
5077
 
                public virtual Gtk.Style clone ();
5078
 
                public Gtk.Style copy ();
5079
 
                [CCode (instance_pos = -1, vfunc_name = "copy")]
5080
 
                [NoWrapper]
5081
 
                public virtual void copy_to (Gtk.Style dest);
5082
 
                public void detach ();
5083
 
                [NoWrapper]
5084
 
                public virtual void draw_arrow (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height);
5085
 
                [NoWrapper]
5086
 
                public virtual void draw_box (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
5087
 
                [NoWrapper]
5088
 
                public virtual void draw_box_gap (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
5089
 
                [NoWrapper]
5090
 
                public virtual void draw_check (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
5091
 
                [NoWrapper]
5092
 
                public virtual void draw_diamond (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
5093
 
                [NoWrapper]
5094
 
                public virtual void draw_expander (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x, int y, Gtk.ExpanderStyle expander_style);
5095
 
                [NoWrapper]
5096
 
                public virtual void draw_extension (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side);
5097
 
                [NoWrapper]
5098
 
                public virtual void draw_flat_box (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
5099
 
                [NoWrapper]
5100
 
                public virtual void draw_focus (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
5101
 
                [NoWrapper]
5102
 
                public virtual void draw_handle (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.Orientation orientation);
5103
 
                [NoWrapper]
5104
 
                public virtual void draw_hline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x1, int x2, int y);
5105
 
                [NoWrapper]
5106
 
                public virtual void draw_layout (Cairo.Context cr, Gtk.StateType state_type, bool use_text, Gtk.Widget widget, string detail, int x, int y, Pango.Layout layout);
5107
 
                [NoWrapper]
5108
 
                public virtual void draw_option (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
5109
 
                [NoWrapper]
5110
 
                public virtual void draw_resize_grip (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, Gdk.WindowEdge edge, int x, int y, int width, int height);
5111
 
                [NoWrapper]
5112
 
                public virtual void draw_shadow (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
5113
 
                [NoWrapper]
5114
 
                public virtual void draw_shadow_gap (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
5115
 
                [NoWrapper]
5116
 
                public virtual void draw_slider (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.Orientation orientation);
5117
 
                [NoWrapper]
5118
 
                public virtual void draw_spinner (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, uint step, int x, int y, int width, int height);
5119
 
                [NoWrapper]
5120
 
                public virtual void draw_tab (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
5121
 
                [NoWrapper]
5122
 
                public virtual void draw_vline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int y1_, int y2_, int x);
5123
 
                public void @get (GLib.Type widget_type, ...);
5124
 
                public void get_style_property (GLib.Type widget_type, string property_name, out GLib.Value value);
5125
 
                public void get_valist (GLib.Type widget_type, string first_property_name, void* var_args);
5126
 
                public bool has_context ();
5127
 
                [NoWrapper]
5128
 
                public virtual void init_from_rc (Gtk.RcStyle rc_style);
5129
 
                public bool lookup_color (string color_name, out Gdk.Color color);
5130
 
                public unowned Gtk.IconSet lookup_icon_set (string stock_id);
5131
 
                public virtual Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget? widget, string? detail);
5132
 
                public virtual void set_background (Gdk.Window window, Gtk.StateType state_type);
5133
 
                [NoAccessorMethod]
5134
 
                public Gtk.StyleContext context { owned get; construct; }
5135
 
                public virtual signal void realize ();
5136
 
                public virtual signal void unrealize ();
5137
 
        }
5138
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_context_get_type ()")]
5139
 
        public class StyleContext : GLib.Object {
5140
 
                [CCode (has_construct_function = false)]
5141
 
                public StyleContext ();
5142
 
                public void add_class (string class_name);
5143
 
                public void add_provider (Gtk.StyleProvider provider, uint priority);
5144
 
                public static void add_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider, uint priority);
5145
 
                public void add_region (string region_name, Gtk.RegionFlags flags);
5146
 
                public void cancel_animations (void* region_id);
5147
 
                public void @get (Gtk.StateFlags state, ...);
5148
 
                public Gdk.RGBA get_background_color (Gtk.StateFlags state);
5149
 
                public Gtk.Border get_border (Gtk.StateFlags state);
5150
 
                public Gdk.RGBA get_border_color (Gtk.StateFlags state);
5151
 
                public Gdk.RGBA get_color (Gtk.StateFlags state);
5152
 
                public Gtk.TextDirection get_direction ();
5153
 
                public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
5154
 
                public unowned Gdk.FrameClock? get_frame_clock ();
5155
 
                public Gtk.JunctionSides get_junction_sides ();
5156
 
                public Gtk.Border get_margin (Gtk.StateFlags state);
5157
 
                public Gtk.Border get_padding (Gtk.StateFlags state);
5158
 
                public unowned Gtk.StyleContext? get_parent ();
5159
 
                public unowned Gtk.WidgetPath get_path ();
5160
 
                public GLib.Value get_property (string property, Gtk.StateFlags state);
5161
 
                public int get_scale ();
5162
 
                public unowned Gdk.Screen get_screen ();
5163
 
                public unowned Gtk.CssSection get_section (string property);
5164
 
                public Gtk.StateFlags get_state ();
5165
 
                public void get_style (...);
5166
 
                public void get_style_property (string property_name, GLib.Value value);
5167
 
                public void get_style_valist (va_list args);
5168
 
                public void get_valist (Gtk.StateFlags state, va_list args);
5169
 
                public bool has_class (string class_name);
5170
 
                public bool has_region (string region_name, out Gtk.RegionFlags flags_return);
5171
 
                public void invalidate ();
5172
 
                public GLib.List<weak string> list_classes ();
5173
 
                public GLib.List<weak string> list_regions ();
5174
 
                public bool lookup_color (string color_name, out Gdk.RGBA color);
5175
 
                public unowned Gtk.IconSet lookup_icon_set (string stock_id);
5176
 
                public void notify_state_change (Gdk.Window window, void* region_id, Gtk.StateType state, bool state_value);
5177
 
                public void pop_animatable_region ();
5178
 
                public void push_animatable_region (void* region_id);
5179
 
                public void remove_class (string class_name);
5180
 
                public void remove_provider (Gtk.StyleProvider provider);
5181
 
                public static void remove_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider);
5182
 
                public void remove_region (string region_name);
5183
 
                [CCode (cname = "gtk_render_activity")]
5184
 
                public void render_activity (Cairo.Context cr, double x, double y, double width, double height);
5185
 
                [CCode (cname = "gtk_render_arrow")]
5186
 
                public void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
5187
 
                [CCode (cname = "gtk_render_background")]
5188
 
                public void render_background (Cairo.Context cr, double x, double y, double width, double height);
5189
 
                [CCode (cname = "gtk_render_background_get_clip")]
5190
 
                public Gdk.Rectangle render_background_get_clip (double x, double y, double width, double height);
5191
 
                [CCode (cname = "gtk_render_check")]
5192
 
                public void render_check (Cairo.Context cr, double x, double y, double width, double height);
5193
 
                [CCode (cname = "gtk_render_expander")]
5194
 
                public void render_expander (Cairo.Context cr, double x, double y, double width, double height);
5195
 
                [CCode (cname = "gtk_render_extension")]
5196
 
                public void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
5197
 
                [CCode (cname = "gtk_render_focus")]
5198
 
                public void render_focus (Cairo.Context cr, double x, double y, double width, double height);
5199
 
                [CCode (cname = "gtk_render_frame")]
5200
 
                public void render_frame (Cairo.Context cr, double x, double y, double width, double height);
5201
 
                [CCode (cname = "gtk_render_frame_gap")]
5202
 
                public void render_frame_gap (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side, double xy0_gap, double xy1_gap);
5203
 
                [CCode (cname = "gtk_render_handle")]
5204
 
                public void render_handle (Cairo.Context cr, double x, double y, double width, double height);
5205
 
                [CCode (cname = "gtk_render_icon")]
5206
 
                public void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
5207
 
                [CCode (cname = "gtk_render_icon_pixbuf")]
5208
 
                public Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
5209
 
                [CCode (cname = "gtk_render_layout")]
5210
 
                public void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
5211
 
                [CCode (cname = "gtk_render_line")]
5212
 
                public void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
5213
 
                [CCode (cname = "gtk_render_option")]
5214
 
                public void render_option (Cairo.Context cr, double x, double y, double width, double height);
5215
 
                [CCode (cname = "gtk_render_slider")]
5216
 
                public void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
5217
 
                public static void reset_widgets (Gdk.Screen screen);
5218
 
                public void restore ();
5219
 
                public void save ();
5220
 
                public void scroll_animations (Gdk.Window window, int dx, int dy);
5221
 
                public void set_background (Gdk.Window window);
5222
 
                public void set_direction (Gtk.TextDirection direction);
5223
 
                public void set_frame_clock (Gdk.FrameClock frame_clock);
5224
 
                public void set_junction_sides (Gtk.JunctionSides sides);
5225
 
                public void set_parent (Gtk.StyleContext? parent);
5226
 
                public void set_path (Gtk.WidgetPath path);
5227
 
                public void set_scale (int scale);
5228
 
                public void set_screen (Gdk.Screen screen);
5229
 
                public void set_state (Gtk.StateFlags flags);
5230
 
                public bool state_is_running (Gtk.StateType state, out double progress);
5231
 
                public string to_string (Gtk.StyleContextPrintFlags flags);
5232
 
                public Gtk.TextDirection direction { get; set; }
5233
 
                [NoAccessorMethod]
5234
 
                public Gdk.FrameClock paint_clock { owned get; set; }
5235
 
                public Gtk.StyleContext parent { get; set; }
5236
 
                public Gdk.Screen screen { get; set; }
5237
 
                public virtual signal void changed ();
5238
 
        }
5239
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_properties_get_type ()")]
5240
 
        public class StyleProperties : GLib.Object, Gtk.StyleProvider {
5241
 
                [CCode (has_construct_function = false)]
5242
 
                public StyleProperties ();
5243
 
                public void clear ();
5244
 
                public void @get (Gtk.StateFlags state, ...);
5245
 
                public bool get_property (string property, Gtk.StateFlags state, out GLib.Value value);
5246
 
                public void get_valist (Gtk.StateFlags state, va_list args);
5247
 
                public unowned Gtk.SymbolicColor lookup_color (string name);
5248
 
                public static bool lookup_property (string property_name, out unowned Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec);
5249
 
                public void map_color (string name, Gtk.SymbolicColor color);
5250
 
                public void merge (Gtk.StyleProperties props_to_merge, bool replace);
5251
 
                public static void register_property (Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
5252
 
                public void @set (Gtk.StateFlags state, ...);
5253
 
                public void set_property (string property, Gtk.StateFlags state, GLib.Value value);
5254
 
                public void set_valist (Gtk.StateFlags state, va_list args);
5255
 
                public void unset_property (string property, Gtk.StateFlags state);
5256
 
        }
5257
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_switch_get_type ()")]
5258
 
        public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
5259
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
5260
 
                public Switch ();
5261
 
                public bool get_active ();
5262
 
                public bool get_state ();
5263
 
                public void set_active (bool is_active);
5264
 
                public void set_state (bool state);
5265
 
                public bool active { get; set; }
5266
 
                public bool state { get; set; }
5267
 
                public virtual signal void activate ();
5268
 
                public virtual signal bool state_set (bool state);
5269
 
        }
5270
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_switch_accessible_get_type ()")]
5271
 
        public class SwitchAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Action {
5272
 
                [CCode (has_construct_function = false)]
5273
 
                protected SwitchAccessible ();
5274
 
        }
5275
 
        [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_symbolic_color_ref", type_id = "gtk_symbolic_color_get_type ()", unref_function = "gtk_symbolic_color_unref")]
5276
 
        [Compact]
5277
 
        public class SymbolicColor {
5278
 
                [CCode (has_construct_function = false)]
5279
 
                public SymbolicColor.alpha (Gtk.SymbolicColor color, double factor);
5280
 
                [CCode (has_construct_function = false)]
5281
 
                public SymbolicColor.literal (Gdk.RGBA color);
5282
 
                [CCode (has_construct_function = false)]
5283
 
                public SymbolicColor.mix (Gtk.SymbolicColor color1, Gtk.SymbolicColor color2, double factor);
5284
 
                [CCode (has_construct_function = false)]
5285
 
                public SymbolicColor.name (string name);
5286
 
                public bool resolve (Gtk.StyleProperties? props, out Gdk.RGBA resolved_color);
5287
 
                [CCode (has_construct_function = false)]
5288
 
                public SymbolicColor.shade (Gtk.SymbolicColor color, double factor);
5289
 
                public string to_string ();
5290
 
                [CCode (has_construct_function = false)]
5291
 
                public SymbolicColor.win32 (string theme_class, int id);
5292
 
        }
5293
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_table_get_type ()")]
5294
 
        [Version (deprecated_since = "3.4", replacement = "Grid")]
5295
 
        public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
5296
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
5297
 
                public Table (uint rows, uint columns, bool homogeneous);
5298
 
                public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach, Gtk.AttachOptions xoptions, Gtk.AttachOptions yoptions, uint xpadding, uint ypadding);
5299
 
                public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
5300
 
                public uint get_col_spacing (uint column);
5301
 
                public uint get_default_col_spacing ();
5302
 
                public uint get_default_row_spacing ();
5303
 
                public bool get_homogeneous ();
5304
 
                public uint get_row_spacing (uint row);
5305
 
                public void get_size (out uint rows, out uint columns);
5306
 
                public void resize (uint rows, uint columns);
5307
 
                public void set_col_spacing (uint column, uint spacing);
5308
 
                public void set_col_spacings (uint spacing);
5309
 
                public void set_homogeneous (bool homogeneous);
5310
 
                public void set_row_spacing (uint row, uint spacing);
5311
 
                public void set_row_spacings (uint spacing);
5312
 
                [NoAccessorMethod]
5313
 
                public uint column_spacing { get; set; }
5314
 
                public bool homogeneous { get; set; }
5315
 
                [NoAccessorMethod]
5316
 
                public uint n_columns { get; set; }
5317
 
                [NoAccessorMethod]
5318
 
                public uint n_rows { get; set; }
5319
 
                [NoAccessorMethod]
5320
 
                public uint row_spacing { get; set; }
5321
 
        }
5322
 
        [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_target_list_ref", type_id = "gtk_target_list_get_type ()", unref_function = "gtk_target_list_unref")]
5323
 
        [Compact]
5324
 
        public class TargetList {
5325
 
                [CCode (has_construct_function = false)]
5326
 
                public TargetList (Gtk.TargetEntry[]? targets);
5327
 
                public void add (Gdk.Atom target, uint flags, uint info);
5328
 
                public void add_image_targets (uint info, bool writable);
5329
 
                public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
5330
 
                public void add_table (Gtk.TargetEntry[] targets);
5331
 
                public void add_text_targets (uint info);
5332
 
                public void add_uri_targets (uint info);
5333
 
                public bool find (Gdk.Atom target, out uint info);
5334
 
                public void remove (Gdk.Atom target);
5335
 
        }
5336
 
        [CCode (cheader_filename = "gtk/gtk.h")]
5337
 
        [Compact]
5338
 
        public class TargetPair {
5339
 
                public uint flags;
5340
 
                public uint info;
5341
 
                public Gdk.Atom target;
5342
 
        }
5343
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tearoff_menu_item_get_type ()")]
5344
 
        [Version (deprecated_since = "3.4")]
5345
 
        public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
5346
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
5347
 
                public TearoffMenuItem ();
5348
 
        }
5349
 
        [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_text_attributes_ref", type_id = "gtk_text_attributes_get_type ()", unref_function = "gtk_text_attributes_unref")]
5350
 
        [Compact]
5351
 
        public class TextAttributes {
5352
 
                public Gtk.TextAppearance appearance;
5353
 
                public uint bg_full_height;
5354
 
                public Gtk.TextDirection direction;
5355
 
                public uint editable;
5356
 
                public Pango.FontDescription font;
5357
 
                public string font_features;
5358
 
                public double font_scale;
5359
 
                public int indent;
5360
 
                public uint invisible;
5361
 
                public Gtk.Justification justification;
5362
 
                public Pango.Language language;
5363
 
                public int left_margin;
5364
 
                public int letter_spacing;
5365
 
                public uint no_fallback;
5366
 
                public Gdk.Color pg_bg_color;
5367
 
                public Gdk.RGBA pg_bg_rgba;
5368
 
                public int pixels_above_lines;
5369
 
                public int pixels_below_lines;
5370
 
                public int pixels_inside_wrap;
5371
 
                public uint refcount;
5372
 
                public int right_margin;
5373
 
                public Pango.TabArray tabs;
5374
 
                public Gtk.WrapMode wrap_mode;
5375
 
                [CCode (has_construct_function = false)]
5376
 
                public TextAttributes ();
5377
 
                public Gtk.TextAttributes copy ();
5378
 
                public void copy_values (Gtk.TextAttributes dest);
5379
 
        }
5380
 
        [CCode (cheader_filename = "gtk/gtk.h")]
5381
 
        [Compact]
5382
 
        public class TextBTree {
5383
 
        }
5384
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_buffer_get_type ()")]
5385
 
        public class TextBuffer : GLib.Object {
5386
 
                [CCode (has_construct_function = false)]
5387
 
                public TextBuffer (Gtk.TextTagTable? table);
5388
 
                public void add_mark (Gtk.TextMark mark, Gtk.TextIter where);
5389
 
                public void add_selection_clipboard (Gtk.Clipboard clipboard);
5390
 
                public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
5391
 
                public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
5392
 
                public void copy_clipboard (Gtk.Clipboard clipboard);
5393
 
                public unowned Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
5394
 
                public unowned Gtk.TextMark create_mark (string? mark_name, Gtk.TextIter where, bool left_gravity);
5395
 
                public unowned Gtk.TextTag create_tag (string? tag_name, ...);
5396
 
                public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable);
5397
 
                public void @delete (ref Gtk.TextIter start, ref Gtk.TextIter end);
5398
 
                public bool delete_interactive (ref Gtk.TextIter start_iter, ref Gtk.TextIter end_iter, bool default_editable);
5399
 
                public void delete_mark (Gtk.TextMark mark);
5400
 
                public void delete_mark_by_name (string name);
5401
 
                public bool delete_selection (bool interactive, bool default_editable);
5402
 
                public bool deserialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter iter, [CCode (array_length_type = "gsize")] uint8[] data) throws GLib.Error;
5403
 
                public bool deserialize_get_can_create_tags (Gdk.Atom format);
5404
 
                public void deserialize_set_can_create_tags (Gdk.Atom format, bool can_create_tags);
5405
 
                public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
5406
 
                public int get_char_count ();
5407
 
                public unowned Gtk.TargetList get_copy_target_list ();
5408
 
                public Gdk.Atom[] get_deserialize_formats ();
5409
 
                public void get_end_iter (out Gtk.TextIter iter);
5410
 
                public bool get_has_selection ();
5411
 
                public unowned Gtk.TextMark get_insert ();
5412
 
                public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
5413
 
                public void get_iter_at_line (out Gtk.TextIter iter, int line_number);
5414
 
                public void get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
5415
 
                public void get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
5416
 
                public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
5417
 
                public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
5418
 
                public int get_line_count ();
5419
 
                public unowned Gtk.TextMark? get_mark (string name);
5420
 
                public bool get_modified ();
5421
 
                public unowned Gtk.TargetList get_paste_target_list ();
5422
 
                public unowned Gtk.TextMark get_selection_bound ();
5423
 
                public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
5424
 
                public Gdk.Atom[] get_serialize_formats ();
5425
 
                public string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
5426
 
                public void get_start_iter (out Gtk.TextIter iter);
5427
 
                public unowned Gtk.TextTagTable get_tag_table ();
5428
 
                public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
5429
 
                public void insert (ref Gtk.TextIter iter, string text, int len);
5430
 
                public void insert_at_cursor (string text, int len);
5431
 
                public bool insert_interactive (ref Gtk.TextIter iter, string text, int len, bool default_editable);
5432
 
                public bool insert_interactive_at_cursor (string text, int len, bool default_editable);
5433
 
                public void insert_markup (ref Gtk.TextIter iter, string markup, int len);
5434
 
                public void insert_range (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end);
5435
 
                public bool insert_range_interactive (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable);
5436
 
                public void insert_with_tags (ref Gtk.TextIter iter, string text, int len, ...);
5437
 
                public void insert_with_tags_by_name (ref Gtk.TextIter iter, string text, int len, ...);
5438
 
                public void move_mark (Gtk.TextMark mark, Gtk.TextIter where);
5439
 
                public void move_mark_by_name (string name, Gtk.TextIter where);
5440
 
                public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter? override_location, bool default_editable);
5441
 
                public void place_cursor (Gtk.TextIter where);
5442
 
                public Gdk.Atom register_deserialize_format (string mime_type, owned Gtk.TextBufferDeserializeFunc function);
5443
 
                public Gdk.Atom register_deserialize_tagset (string? tagset_name);
5444
 
                public Gdk.Atom register_serialize_format (string mime_type, owned Gtk.TextBufferSerializeFunc function);
5445
 
                public Gdk.Atom register_serialize_tagset (string? tagset_name);
5446
 
                public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end);
5447
 
                public void remove_selection_clipboard (Gtk.Clipboard clipboard);
5448
 
                public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
5449
 
                public void select_range (Gtk.TextIter ins, Gtk.TextIter bound);
5450
 
                [CCode (array_length_type = "gsize")]
5451
 
                public uint8[] serialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end);
5452
 
                public void set_modified (bool setting);
5453
 
                public void set_text (string text, int len = -1);
5454
 
                public void unregister_deserialize_format (Gdk.Atom format);
5455
 
                public void unregister_serialize_format (Gdk.Atom format);
5456
 
                public Gtk.TargetList copy_target_list { get; }
5457
 
                [NoAccessorMethod]
5458
 
                public int cursor_position { get; }
5459
 
                public bool has_selection { get; }
5460
 
                public Gtk.TargetList paste_target_list { get; }
5461
 
                public Gtk.TextTagTable tag_table { get; construct; }
5462
 
                [NoAccessorMethod]
5463
 
                public string text { owned get; set; }
5464
 
                [HasEmitter]
5465
 
                public virtual signal void apply_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
5466
 
                [HasEmitter]
5467
 
                public virtual signal void begin_user_action ();
5468
 
                public virtual signal void changed ();
5469
 
                public virtual signal void delete_range (Gtk.TextIter start, Gtk.TextIter end);
5470
 
                [HasEmitter]
5471
 
                public virtual signal void end_user_action ();
5472
 
                [HasEmitter]
5473
 
                public virtual signal void insert_child_anchor (Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
5474
 
                [HasEmitter]
5475
 
                public virtual signal void insert_pixbuf (Gtk.TextIter iter, Gdk.Pixbuf pixbuf);
5476
 
                public virtual signal void insert_text (ref Gtk.TextIter pos, string new_text, int new_text_length);
5477
 
                public virtual signal void mark_deleted (Gtk.TextMark mark);
5478
 
                public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
5479
 
                public virtual signal void modified_changed ();
5480
 
                public virtual signal void paste_done (Gtk.Clipboard clipboard);
5481
 
                [HasEmitter]
5482
 
                public virtual signal void remove_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
5483
 
        }
5484
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_cell_accessible_get_type ()")]
5485
 
        public class TextCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component, Atk.Text {
5486
 
                [CCode (has_construct_function = false)]
5487
 
                protected TextCellAccessible ();
5488
 
        }
5489
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_child_anchor_get_type ()")]
5490
 
        public class TextChildAnchor : GLib.Object {
5491
 
                public void* segment;
5492
 
                [CCode (has_construct_function = false)]
5493
 
                public TextChildAnchor ();
5494
 
                public bool get_deleted ();
5495
 
                public GLib.List<weak Gtk.Widget> get_widgets ();
5496
 
        }
5497
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_mark_get_type ()")]
5498
 
        public class TextMark : GLib.Object {
5499
 
                public void* segment;
5500
 
                [CCode (has_construct_function = false)]
5501
 
                public TextMark (string? name, bool left_gravity = false);
5502
 
                public unowned Gtk.TextBuffer get_buffer ();
5503
 
                public bool get_deleted ();
5504
 
                public bool get_left_gravity ();
5505
 
                public unowned string get_name ();
5506
 
                public bool get_visible ();
5507
 
                public void set_visible (bool setting);
5508
 
                public bool left_gravity { get; construct; }
5509
 
                public string name { get; construct; }
5510
 
        }
5511
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_get_type ()")]
5512
 
        public class TextTag : GLib.Object {
5513
 
                [CCode (has_construct_function = false)]
5514
 
                public TextTag (string? name = null);
5515
 
                public void changed (bool size_changed);
5516
 
                public int get_priority ();
5517
 
                public void set_priority (int priority);
5518
 
                [NoAccessorMethod]
5519
 
                public bool accumulative_margin { get; set; }
5520
 
                [NoAccessorMethod]
5521
 
                public string background { set; }
5522
 
                [NoAccessorMethod]
5523
 
                public bool background_full_height { get; set; }
5524
 
                [NoAccessorMethod]
5525
 
                public bool background_full_height_set { get; set; }
5526
 
                [NoAccessorMethod]
5527
 
                [Version (deprecated_since = "3.4", replacement = "background_rgba")]
5528
 
                public Gdk.Color background_gdk { get; set; }
5529
 
                [NoAccessorMethod]
5530
 
                public Gdk.RGBA background_rgba { get; set; }
5531
 
                [NoAccessorMethod]
5532
 
                public bool background_set { get; set; }
5533
 
                [NoAccessorMethod]
5534
 
                public Gtk.TextDirection direction { get; set; }
5535
 
                [NoAccessorMethod]
5536
 
                public bool editable { get; set; }
5537
 
                [NoAccessorMethod]
5538
 
                public bool editable_set { get; set; }
5539
 
                [NoAccessorMethod]
5540
 
                public bool fallback { get; set; }
5541
 
                [NoAccessorMethod]
5542
 
                public bool fallback_set { get; set; }
5543
 
                [NoAccessorMethod]
5544
 
                public string family { owned get; set; }
5545
 
                [NoAccessorMethod]
5546
 
                public bool family_set { get; set; }
5547
 
                [NoAccessorMethod]
5548
 
                public string font { owned get; set; }
5549
 
                [NoAccessorMethod]
5550
 
                public Pango.FontDescription font_desc { owned get; set; }
5551
 
                [NoAccessorMethod]
5552
 
                public string font_features { owned get; set; }
5553
 
                [NoAccessorMethod]
5554
 
                public bool font_features_set { get; set; }
5555
 
                [NoAccessorMethod]
5556
 
                public string foreground { set; }
5557
 
                [NoAccessorMethod]
5558
 
                [Version (deprecated_since = "3.4", replacement = "foreground_rgba")]
5559
 
                public Gdk.Color foreground_gdk { get; set; }
5560
 
                [NoAccessorMethod]
5561
 
                public Gdk.RGBA foreground_rgba { get; set; }
5562
 
                [NoAccessorMethod]
5563
 
                public bool foreground_set { get; set; }
5564
 
                [NoAccessorMethod]
5565
 
                public int indent { get; set; }
5566
 
                [NoAccessorMethod]
5567
 
                public bool indent_set { get; set; }
5568
 
                [NoAccessorMethod]
5569
 
                public bool invisible { get; set; }
5570
 
                [NoAccessorMethod]
5571
 
                public bool invisible_set { get; set; }
5572
 
                [NoAccessorMethod]
5573
 
                public Gtk.Justification justification { get; set; }
5574
 
                [NoAccessorMethod]
5575
 
                public bool justification_set { get; set; }
5576
 
                [NoAccessorMethod]
5577
 
                public string language { owned get; set; }
5578
 
                [NoAccessorMethod]
5579
 
                public bool language_set { get; set; }
5580
 
                [NoAccessorMethod]
5581
 
                public int left_margin { get; set; }
5582
 
                [NoAccessorMethod]
5583
 
                public bool left_margin_set { get; set; }
5584
 
                [NoAccessorMethod]
5585
 
                public int letter_spacing { get; set; }
5586
 
                [NoAccessorMethod]
5587
 
                public bool letter_spacing_set { get; set; }
5588
 
                [NoAccessorMethod]
5589
 
                public string name { owned get; construct; }
5590
 
                [NoAccessorMethod]
5591
 
                public string paragraph_background { set; }
5592
 
                [NoAccessorMethod]
5593
 
                [Version (deprecated_since = "3.4", replacement = "paragraph_background_rgba")]
5594
 
                public Gdk.Color paragraph_background_gdk { get; set; }
5595
 
                [NoAccessorMethod]
5596
 
                public Gdk.RGBA paragraph_background_rgba { get; set; }
5597
 
                [NoAccessorMethod]
5598
 
                public bool paragraph_background_set { get; set; }
5599
 
                [NoAccessorMethod]
5600
 
                public int pixels_above_lines { get; set; }
5601
 
                [NoAccessorMethod]
5602
 
                public bool pixels_above_lines_set { get; set; }
5603
 
                [NoAccessorMethod]
5604
 
                public int pixels_below_lines { get; set; }
5605
 
                [NoAccessorMethod]
5606
 
                public bool pixels_below_lines_set { get; set; }
5607
 
                [NoAccessorMethod]
5608
 
                public int pixels_inside_wrap { get; set; }
5609
 
                [NoAccessorMethod]
5610
 
                public bool pixels_inside_wrap_set { get; set; }
5611
 
                [NoAccessorMethod]
5612
 
                public int right_margin { get; set; }
5613
 
                [NoAccessorMethod]
5614
 
                public bool right_margin_set { get; set; }
5615
 
                [NoAccessorMethod]
5616
 
                public int rise { get; set; }
5617
 
                [NoAccessorMethod]
5618
 
                public bool rise_set { get; set; }
5619
 
                [NoAccessorMethod]
5620
 
                public double scale { get; set; }
5621
 
                [NoAccessorMethod]
5622
 
                public bool scale_set { get; set; }
5623
 
                [NoAccessorMethod]
5624
 
                public int size { get; set; }
5625
 
                [NoAccessorMethod]
5626
 
                public double size_points { get; set; }
5627
 
                [NoAccessorMethod]
5628
 
                public bool size_set { get; set; }
5629
 
                [NoAccessorMethod]
5630
 
                public Pango.Stretch stretch { get; set; }
5631
 
                [NoAccessorMethod]
5632
 
                public bool stretch_set { get; set; }
5633
 
                [NoAccessorMethod]
5634
 
                public bool strikethrough { get; set; }
5635
 
                [NoAccessorMethod]
5636
 
                public Gdk.RGBA strikethrough_rgba { get; set; }
5637
 
                [NoAccessorMethod]
5638
 
                public bool strikethrough_rgba_set { get; set; }
5639
 
                [NoAccessorMethod]
5640
 
                public bool strikethrough_set { get; set; }
5641
 
                [NoAccessorMethod]
5642
 
                public Pango.Style style { get; set; }
5643
 
                [NoAccessorMethod]
5644
 
                public bool style_set { get; set; }
5645
 
                [NoAccessorMethod]
5646
 
                public Pango.TabArray tabs { owned get; set; }
5647
 
                [NoAccessorMethod]
5648
 
                public bool tabs_set { get; set; }
5649
 
                [NoAccessorMethod]
5650
 
                public Pango.Underline underline { get; set; }
5651
 
                [NoAccessorMethod]
5652
 
                public Gdk.RGBA underline_rgba { get; set; }
5653
 
                [NoAccessorMethod]
5654
 
                public bool underline_rgba_set { get; set; }
5655
 
                [NoAccessorMethod]
5656
 
                public bool underline_set { get; set; }
5657
 
                [NoAccessorMethod]
5658
 
                public Pango.Variant variant { get; set; }
5659
 
                [NoAccessorMethod]
5660
 
                public bool variant_set { get; set; }
5661
 
                [NoAccessorMethod]
5662
 
                public int weight { get; set; }
5663
 
                [NoAccessorMethod]
5664
 
                public bool weight_set { get; set; }
5665
 
                [NoAccessorMethod]
5666
 
                public Gtk.WrapMode wrap_mode { get; set; }
5667
 
                [NoAccessorMethod]
5668
 
                public bool wrap_mode_set { get; set; }
5669
 
                [HasEmitter]
5670
 
                public virtual signal bool event (GLib.Object event_object, Gdk.Event event, Gtk.TextIter iter);
5671
 
        }
5672
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_table_get_type ()")]
5673
 
        public class TextTagTable : GLib.Object, Gtk.Buildable {
5674
 
                [CCode (has_construct_function = false)]
5675
 
                public TextTagTable ();
5676
 
                public bool add (Gtk.TextTag tag);
5677
 
                public void @foreach (Gtk.TextTagTableForeach func);
5678
 
                public int get_size ();
5679
 
                public unowned Gtk.TextTag? lookup (string name);
5680
 
                public void remove (Gtk.TextTag tag);
5681
 
                public virtual signal void tag_added (Gtk.TextTag tag);
5682
 
                public virtual signal void tag_changed (Gtk.TextTag tag, bool size_changed);
5683
 
                public virtual signal void tag_removed (Gtk.TextTag tag);
5684
 
        }
5685
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_view_get_type ()")]
5686
 
        public class TextView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
5687
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
5688
 
                public TextView ();
5689
 
                public void add_child_at_anchor (Gtk.Widget child, Gtk.TextChildAnchor anchor);
5690
 
                public void add_child_in_window (Gtk.Widget child, Gtk.TextWindowType which_window, int xpos, int ypos);
5691
 
                public bool backward_display_line (Gtk.TextIter iter);
5692
 
                public bool backward_display_line_start (Gtk.TextIter iter);
5693
 
                public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y);
5694
 
                [NoWrapper]
5695
 
                public virtual Gtk.TextBuffer create_buffer ();
5696
 
                [NoWrapper]
5697
 
                public virtual void draw_layer (Gtk.TextViewLayer layer, Cairo.Context cr);
5698
 
                public bool forward_display_line (Gtk.TextIter iter);
5699
 
                public bool forward_display_line_end (Gtk.TextIter iter);
5700
 
                public bool get_accepts_tab ();
5701
 
                public int get_border_window_size (Gtk.TextWindowType type);
5702
 
                public int get_bottom_margin ();
5703
 
                public unowned Gtk.TextBuffer get_buffer ();
5704
 
                public void get_cursor_locations (Gtk.TextIter? iter, out Gdk.Rectangle strong, out Gdk.Rectangle @weak);
5705
 
                public bool get_cursor_visible ();
5706
 
                public Gtk.TextAttributes get_default_attributes ();
5707
 
                public bool get_editable ();
5708
 
                public unowned Gtk.Adjustment get_hadjustment ();
5709
 
                public int get_indent ();
5710
 
                public Gtk.InputHints get_input_hints ();
5711
 
                public Gtk.InputPurpose get_input_purpose ();
5712
 
                public bool get_iter_at_location (out Gtk.TextIter iter, int x, int y);
5713
 
                public bool get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
5714
 
                public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
5715
 
                public Gtk.Justification get_justification ();
5716
 
                public int get_left_margin ();
5717
 
                public void get_line_at_y (out Gtk.TextIter target_iter, int y, out int line_top);
5718
 
                public void get_line_yrange (Gtk.TextIter iter, out int y, out int height);
5719
 
                public bool get_monospace ();
5720
 
                public bool get_overwrite ();
5721
 
                public int get_pixels_above_lines ();
5722
 
                public int get_pixels_below_lines ();
5723
 
                public int get_pixels_inside_wrap ();
5724
 
                public int get_right_margin ();
5725
 
                public Pango.TabArray? get_tabs ();
5726
 
                public int get_top_margin ();
5727
 
                public unowned Gtk.Adjustment get_vadjustment ();
5728
 
                public void get_visible_rect (out Gdk.Rectangle visible_rect);
5729
 
                public unowned Gdk.Window? get_window (Gtk.TextWindowType win);
5730
 
                public Gtk.TextWindowType get_window_type (Gdk.Window window);
5731
 
                public Gtk.WrapMode get_wrap_mode ();
5732
 
                public bool im_context_filter_keypress (Gdk.EventKey event);
5733
 
                public void move_child (Gtk.Widget child, int xpos, int ypos);
5734
 
                public bool move_mark_onscreen (Gtk.TextMark mark);
5735
 
                public bool move_visually (Gtk.TextIter iter, int count);
5736
 
                public bool place_cursor_onscreen ();
5737
 
                public void reset_cursor_blink ();
5738
 
                public void reset_im_context ();
5739
 
                public void scroll_mark_onscreen (Gtk.TextMark mark);
5740
 
                public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
5741
 
                public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
5742
 
                public void set_accepts_tab (bool accepts_tab);
5743
 
                public void set_border_window_size (Gtk.TextWindowType type, int size);
5744
 
                public void set_bottom_margin (int bottom_margin);
5745
 
                public void set_buffer (Gtk.TextBuffer? buffer);
5746
 
                public void set_cursor_visible (bool setting);
5747
 
                public void set_editable (bool setting);
5748
 
                public void set_indent (int indent);
5749
 
                public void set_input_hints (Gtk.InputHints hints);
5750
 
                public void set_input_purpose (Gtk.InputPurpose purpose);
5751
 
                public void set_justification (Gtk.Justification justification);
5752
 
                public void set_left_margin (int left_margin);
5753
 
                public void set_monospace (bool monospace);
5754
 
                public void set_overwrite (bool overwrite);
5755
 
                public void set_pixels_above_lines (int pixels_above_lines);
5756
 
                public void set_pixels_below_lines (int pixels_below_lines);
5757
 
                public void set_pixels_inside_wrap (int pixels_inside_wrap);
5758
 
                public void set_right_margin (int right_margin);
5759
 
                public void set_tabs (Pango.TabArray tabs);
5760
 
                public void set_top_margin (int top_margin);
5761
 
                public void set_wrap_mode (Gtk.WrapMode wrap_mode);
5762
 
                public bool starts_display_line (Gtk.TextIter iter);
5763
 
                public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y);
5764
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
5765
 
                public TextView.with_buffer (Gtk.TextBuffer buffer);
5766
 
                public bool accepts_tab { get; set; }
5767
 
                public int bottom_margin { get; set; }
5768
 
                public Gtk.TextBuffer buffer { get; set; }
5769
 
                public bool cursor_visible { get; set; }
5770
 
                public bool editable { get; set; }
5771
 
                [NoAccessorMethod]
5772
 
                public string im_module { owned get; set; }
5773
 
                public int indent { get; set; }
5774
 
                public Gtk.InputHints input_hints { get; set; }
5775
 
                public Gtk.InputPurpose input_purpose { get; set; }
5776
 
                public Gtk.Justification justification { get; set; }
5777
 
                public int left_margin { get; set; }
5778
 
                public bool monospace { get; set; }
5779
 
                public bool overwrite { get; set; }
5780
 
                public int pixels_above_lines { get; set; }
5781
 
                public int pixels_below_lines { get; set; }
5782
 
                public int pixels_inside_wrap { get; set; }
5783
 
                [NoAccessorMethod]
5784
 
                public bool populate_all { get; set; }
5785
 
                public int right_margin { get; set; }
5786
 
                public Pango.TabArray tabs { owned get; set; }
5787
 
                public int top_margin { get; set; }
5788
 
                public Gtk.WrapMode wrap_mode { get; set; }
5789
 
                public virtual signal void backspace ();
5790
 
                public virtual signal void copy_clipboard ();
5791
 
                public virtual signal void cut_clipboard ();
5792
 
                public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
5793
 
                public virtual signal bool extend_selection (Gtk.TextExtendSelection granularity, Gtk.TextIter location, Gtk.TextIter start, Gtk.TextIter end);
5794
 
                public virtual signal void insert_at_cursor (string str);
5795
 
                public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
5796
 
                public virtual signal void move_viewport (Gtk.ScrollStep p0, int p1);
5797
 
                public virtual signal void paste_clipboard ();
5798
 
                public virtual signal void populate_popup (Gtk.Menu popup);
5799
 
                public virtual signal void preedit_changed (string p0);
5800
 
                public virtual signal void select_all (bool p0);
5801
 
                public virtual signal void set_anchor ();
5802
 
                public virtual signal void toggle_cursor_visible ();
5803
 
                public virtual signal void toggle_overwrite ();
5804
 
        }
5805
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_view_accessible_get_type ()")]
5806
 
        public class TextViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.EditableText, Atk.Text, Atk.StreamableContent {
5807
 
                [CCode (has_construct_function = false)]
5808
 
                protected TextViewAccessible ();
5809
 
        }
5810
 
        [CCode (cheader_filename = "gtk/gtk.h")]
5811
 
        [Compact]
5812
 
        public class ThemeEngine {
5813
 
        }
5814
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_theming_engine_get_type ()")]
5815
 
        public class ThemingEngine : GLib.Object {
5816
 
                [CCode (has_construct_function = false)]
5817
 
                protected ThemingEngine ();
5818
 
                public void @get (Gtk.StateFlags state, ...);
5819
 
                public Gdk.RGBA get_background_color (Gtk.StateFlags state);
5820
 
                public Gtk.Border get_border (Gtk.StateFlags state);
5821
 
                public Gdk.RGBA get_border_color (Gtk.StateFlags state);
5822
 
                public Gdk.RGBA get_color (Gtk.StateFlags state);
5823
 
                public Gtk.TextDirection get_direction ();
5824
 
                public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
5825
 
                public Gtk.JunctionSides get_junction_sides ();
5826
 
                public Gtk.Border get_margin (Gtk.StateFlags state);
5827
 
                public Gtk.Border get_padding (Gtk.StateFlags state);
5828
 
                public unowned Gtk.WidgetPath get_path ();
5829
 
                public GLib.Value get_property (string property, Gtk.StateFlags state);
5830
 
                public unowned Gdk.Screen get_screen ();
5831
 
                public Gtk.StateFlags get_state ();
5832
 
                public void get_style (...);
5833
 
                public GLib.Value get_style_property (string property_name);
5834
 
                public void get_style_valist (va_list args);
5835
 
                public void get_valist (Gtk.StateFlags state, va_list args);
5836
 
                public bool has_class (string style_class);
5837
 
                public bool has_region (string style_region, out Gtk.RegionFlags flags);
5838
 
                public static unowned Gtk.ThemingEngine load (string name);
5839
 
                public bool lookup_color (string color_name, out Gdk.RGBA color);
5840
 
                public static void register_property (string name_space, Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
5841
 
                [NoWrapper]
5842
 
                public virtual void render_activity (Cairo.Context cr, double x, double y, double width, double height);
5843
 
                [NoWrapper]
5844
 
                public virtual void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
5845
 
                [NoWrapper]
5846
 
                public virtual void render_background (Cairo.Context cr, double x, double y, double width, double height);
5847
 
                [NoWrapper]
5848
 
                public virtual void render_check (Cairo.Context cr, double x, double y, double width, double height);
5849
 
                [NoWrapper]
5850
 
                public virtual void render_expander (Cairo.Context cr, double x, double y, double width, double height);
5851
 
                [NoWrapper]
5852
 
                public virtual void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
5853
 
                [NoWrapper]
5854
 
                public virtual void render_focus (Cairo.Context cr, double x, double y, double width, double height);
5855
 
                [NoWrapper]
5856
 
                public virtual void render_frame (Cairo.Context cr, double x, double y, double width, double height);
5857
 
                [NoWrapper]
5858
 
                public virtual void render_frame_gap (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side, double xy0_gap, double xy1_gap);
5859
 
                [NoWrapper]
5860
 
                public virtual void render_handle (Cairo.Context cr, double x, double y, double width, double height);
5861
 
                [NoWrapper]
5862
 
                public virtual void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
5863
 
                [NoWrapper]
5864
 
                public virtual Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
5865
 
                [NoWrapper]
5866
 
                public virtual void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
5867
 
                [NoWrapper]
5868
 
                public virtual void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
5869
 
                [NoWrapper]
5870
 
                public virtual void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
5871
 
                [NoWrapper]
5872
 
                public virtual void render_option (Cairo.Context cr, double x, double y, double width, double height);
5873
 
                [NoWrapper]
5874
 
                public virtual void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
5875
 
                [Version (deprecated_since = "3.6")]
5876
 
                public bool state_is_running (Gtk.StateType state, out double progress);
5877
 
                [NoAccessorMethod]
5878
 
                public string name { owned get; construct; }
5879
 
        }
5880
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_action_get_type ()")]
5881
 
        public class ToggleAction : Gtk.Action, Gtk.Buildable {
5882
 
                [CCode (has_construct_function = false)]
5883
 
                public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
5884
 
                public bool get_active ();
5885
 
                public bool get_draw_as_radio ();
5886
 
                public void set_active (bool is_active);
5887
 
                public void set_draw_as_radio (bool draw_as_radio);
5888
 
                public bool active { get; set; }
5889
 
                public bool draw_as_radio { get; set; }
5890
 
                [HasEmitter]
5891
 
                public virtual signal void toggled ();
5892
 
        }
5893
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_button_get_type ()")]
5894
 
        public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
5895
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
5896
 
                public ToggleButton ();
5897
 
                public bool get_active ();
5898
 
                public bool get_inconsistent ();
5899
 
                public bool get_mode ();
5900
 
                public void set_active (bool is_active);
5901
 
                public void set_inconsistent (bool setting);
5902
 
                public void set_mode (bool draw_indicator);
5903
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
5904
 
                public ToggleButton.with_label (string label);
5905
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
5906
 
                public ToggleButton.with_mnemonic (string label);
5907
 
                public bool active { get; set; }
5908
 
                [NoAccessorMethod]
5909
 
                public bool draw_indicator { get; set; }
5910
 
                public bool inconsistent { get; set; }
5911
 
                [HasEmitter]
5912
 
                public virtual signal void toggled ();
5913
 
        }
5914
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toggle_button_accessible_get_type ()")]
5915
 
        public class ToggleButtonAccessible : Gtk.ButtonAccessible, Atk.Component, Atk.Action, Atk.Image {
5916
 
                [CCode (has_construct_function = false)]
5917
 
                protected ToggleButtonAccessible ();
5918
 
        }
5919
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_tool_button_get_type ()")]
5920
 
        public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
5921
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
5922
 
                public ToggleToolButton ();
5923
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
5924
 
                public ToggleToolButton.from_stock (string stock_id);
5925
 
                public bool get_active ();
5926
 
                public void set_active (bool is_active);
5927
 
                public bool active { get; set; }
5928
 
                public virtual signal void toggled ();
5929
 
        }
5930
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_button_get_type ()")]
5931
 
        public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
5932
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
5933
 
                public ToolButton (Gtk.Widget? icon_widget, string? label);
5934
 
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
5935
 
                public ToolButton.from_stock (string stock_id);
5936
 
                public unowned string? get_icon_name ();
5937
 
                public unowned Gtk.Widget? get_icon_widget ();
5938
 
                public unowned string? get_label ();
5939
 
                public unowned Gtk.Widget? get_label_widget ();
5940
 
                public unowned string get_stock_id ();
5941
 
                public bool get_use_underline ();
5942
 
                public void set_icon_name (string? icon_name);
5943
 
                public void set_icon_widget (Gtk.Widget? icon_widget);
5944
 
                public void set_label (string? label);
5945
 
                public void set_label_widget (Gtk.Widget? label_widget);
5946
 
                public void set_stock_id (string? stock_id);
5947
 
                public void set_use_underline (bool use_underline);
5948
 
                public string icon_name { get; set; }
5949
 
                public Gtk.Widget icon_widget { get; set; }
5950
 
                public string label { get; set; }
5951
 
                public Gtk.Widget label_widget { get; set; }
5952
 
                public string stock_id { get; set; }
5953
 
                public bool use_underline { get; set; }
5954
 
                public virtual signal void clicked ();
5955
 
        }
5956
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_get_type ()")]
5957
 
        public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
5958
 
                [CCode (has_construct_function = false)]
5959
 
                public ToolItem ();
5960
 
                public Pango.EllipsizeMode get_ellipsize_mode ();
5961
 
                public bool get_expand ();
5962
 
                public bool get_homogeneous ();
5963
 
                public Gtk.IconSize get_icon_size ();
5964
 
                public bool get_is_important ();
5965
 
                public Gtk.Orientation get_orientation ();
5966
 
                public unowned Gtk.Widget get_proxy_menu_item (string menu_item_id);
5967
 
                public Gtk.ReliefStyle get_relief_style ();
5968
 
                public float get_text_alignment ();
5969
 
                public Gtk.Orientation get_text_orientation ();
5970
 
                public unowned Gtk.SizeGroup get_text_size_group ();
5971
 
                public Gtk.ToolbarStyle get_toolbar_style ();
5972
 
                public bool get_use_drag_window ();
5973
 
                public bool get_visible_horizontal ();
5974
 
                public bool get_visible_vertical ();
5975
 
                public void rebuild_menu ();
5976
 
                public unowned Gtk.Widget retrieve_proxy_menu_item ();
5977
 
                public void set_expand (bool expand);
5978
 
                public void set_homogeneous (bool homogeneous);
5979
 
                public void set_is_important (bool is_important);
5980
 
                public void set_proxy_menu_item (string menu_item_id, Gtk.Widget menu_item);
5981
 
                public void set_tooltip_markup (string markup);
5982
 
                public void set_tooltip_text (string text);
5983
 
                public void set_use_drag_window (bool use_drag_window);
5984
 
                public void set_visible_horizontal (bool visible_horizontal);
5985
 
                public void set_visible_vertical (bool visible_vertical);
5986
 
                public bool is_important { get; set; }
5987
 
                public bool visible_horizontal { get; set; }
5988
 
                public bool visible_vertical { get; set; }
5989
 
                public virtual signal bool create_menu_proxy ();
5990
 
                public virtual signal void toolbar_reconfigured ();
5991
 
        }
5992
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_group_get_type ()")]
5993
 
        public class ToolItemGroup : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
5994
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
5995
 
                public ToolItemGroup (string label);
5996
 
                public bool get_collapsed ();
5997
 
                public unowned Gtk.ToolItem get_drop_item (int x, int y);
5998
 
                public Pango.EllipsizeMode get_ellipsize ();
5999
 
                public Gtk.ReliefStyle get_header_relief ();
6000
 
                public int get_item_position (Gtk.ToolItem item);
6001
 
                public unowned string get_label ();
6002
 
                public unowned Gtk.Widget get_label_widget ();
6003
 
                public uint get_n_items ();
6004
 
                public unowned Gtk.ToolItem get_nth_item (uint index);
6005
 
                public void insert (Gtk.ToolItem item, int position);
6006
 
                public void set_collapsed (bool collapsed);
6007
 
                public void set_ellipsize (Pango.EllipsizeMode ellipsize);
6008
 
                public void set_header_relief (Gtk.ReliefStyle style);
6009
 
                public void set_item_position (Gtk.ToolItem item, int position);
6010
 
                public void set_label (string label);
6011
 
                public void set_label_widget (Gtk.Widget label_widget);
6012
 
                public bool collapsed { get; set; }
6013
 
                public Pango.EllipsizeMode ellipsize { get; set; }
6014
 
                public Gtk.ReliefStyle header_relief { get; set; }
6015
 
                public string label { get; set; }
6016
 
                public Gtk.Widget label_widget { get; set; }
6017
 
        }
6018
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_palette_get_type ()")]
6019
 
        public class ToolPalette : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Scrollable {
6020
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6021
 
                public ToolPalette ();
6022
 
                public void add_drag_dest (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.ToolPaletteDragTargets targets, Gdk.DragAction actions);
6023
 
                public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
6024
 
                public static Gtk.TargetEntry get_drag_target_group ();
6025
 
                public static Gtk.TargetEntry get_drag_target_item ();
6026
 
                public unowned Gtk.ToolItemGroup? get_drop_group (int x, int y);
6027
 
                public unowned Gtk.ToolItem? get_drop_item (int x, int y);
6028
 
                public bool get_exclusive (Gtk.ToolItemGroup group);
6029
 
                public bool get_expand (Gtk.ToolItemGroup group);
6030
 
                public int get_group_position (Gtk.ToolItemGroup group);
6031
 
                public unowned Gtk.Adjustment get_hadjustment ();
6032
 
                public Gtk.IconSize get_icon_size ();
6033
 
                public Gtk.ToolbarStyle get_style ();
6034
 
                public unowned Gtk.Adjustment get_vadjustment ();
6035
 
                public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
6036
 
                public void set_exclusive (Gtk.ToolItemGroup group, bool exclusive);
6037
 
                public void set_expand (Gtk.ToolItemGroup group, bool expand);
6038
 
                public void set_group_position (Gtk.ToolItemGroup group, int position);
6039
 
                public void set_icon_size (Gtk.IconSize icon_size);
6040
 
                public void set_style (Gtk.ToolbarStyle style);
6041
 
                public void unset_icon_size ();
6042
 
                public void unset_style ();
6043
 
                public Gtk.IconSize icon_size { get; set; }
6044
 
                [NoAccessorMethod]
6045
 
                public bool icon_size_set { get; set; }
6046
 
                [NoAccessorMethod]
6047
 
                public Gtk.ToolbarStyle toolbar_style { get; set; }
6048
 
        }
6049
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toolbar_get_type ()")]
6050
 
        public class Toolbar : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell, Gtk.Orientable {
6051
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6052
 
                public Toolbar ();
6053
 
                public int get_drop_index (int x, int y);
6054
 
                public int get_item_index (Gtk.ToolItem item);
6055
 
                public int get_n_items ();
6056
 
                public unowned Gtk.ToolItem? get_nth_item (int n);
6057
 
                public bool get_show_arrow ();
6058
 
                public void insert (Gtk.ToolItem item, int pos);
6059
 
                public void set_drop_highlight_item (Gtk.ToolItem? tool_item, int index_);
6060
 
                public void set_icon_size (Gtk.IconSize icon_size);
6061
 
                public void set_show_arrow (bool show_arrow);
6062
 
                public void set_style (Gtk.ToolbarStyle style);
6063
 
                public void unset_icon_size ();
6064
 
                public void unset_style ();
6065
 
                public Gtk.IconSize icon_size { get; set; }
6066
 
                [NoAccessorMethod]
6067
 
                public bool icon_size_set { get; set; }
6068
 
                public bool show_arrow { get; set; }
6069
 
                [NoAccessorMethod]
6070
 
                public Gtk.ToolbarStyle toolbar_style { get; set; }
6071
 
                public virtual signal bool focus_home_or_end (bool p0);
6072
 
                public virtual signal void orientation_changed (Gtk.Orientation orientation);
6073
 
                public virtual signal bool popup_context_menu (int x, int y, int button_number);
6074
 
                public virtual signal void style_changed (Gtk.ToolbarStyle style);
6075
 
        }
6076
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tooltip_get_type ()")]
6077
 
        public class Tooltip : GLib.Object {
6078
 
                [CCode (has_construct_function = false)]
6079
 
                protected Tooltip ();
6080
 
                public void set_custom (Gtk.Widget? custom_widget);
6081
 
                public void set_icon (Gdk.Pixbuf? pixbuf);
6082
 
                public void set_icon_from_gicon (GLib.Icon? gicon, Gtk.IconSize size);
6083
 
                public void set_icon_from_icon_name (string? icon_name, Gtk.IconSize size);
6084
 
                public void set_icon_from_stock (string? stock_id, Gtk.IconSize size);
6085
 
                public void set_markup (string? markup);
6086
 
                public void set_text (string? text);
6087
 
                public void set_tip_area (Gdk.Rectangle rect);
6088
 
                public static void trigger_tooltip_query (Gdk.Display display);
6089
 
        }
6090
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toplevel_accessible_get_type ()")]
6091
 
        public class ToplevelAccessible : Atk.Object {
6092
 
                [CCode (has_construct_function = false)]
6093
 
                protected ToplevelAccessible ();
6094
 
                public unowned GLib.List<Gtk.Window> get_children ();
6095
 
        }
6096
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_filter_get_type ()")]
6097
 
        public class TreeModelFilter : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource {
6098
 
                [CCode (has_construct_function = false, type = "GtkTreeModel*")]
6099
 
                public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root);
6100
 
                public void clear_cache ();
6101
 
                public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter);
6102
 
                public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
6103
 
                public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter);
6104
 
                public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath filter_path);
6105
 
                public unowned Gtk.TreeModel get_model ();
6106
 
                [NoWrapper]
6107
 
                public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column);
6108
 
                public void refilter ();
6109
 
                public void set_modify_func ([CCode (array_length_pos = 0.9)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
6110
 
                public void set_visible_column (int column);
6111
 
                public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
6112
 
                [NoWrapper]
6113
 
                public virtual bool visible (Gtk.TreeModel child_model, Gtk.TreeIter iter);
6114
 
                [NoAccessorMethod]
6115
 
                public Gtk.TreeModel child_model { owned get; construct; }
6116
 
                [NoAccessorMethod]
6117
 
                public Gtk.TreePath virtual_root { owned get; construct; }
6118
 
        }
6119
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_sort_get_type ()")]
6120
 
        public class TreeModelSort : GLib.Object, Gtk.TreeModel, Gtk.TreeSortable, Gtk.TreeDragSource {
6121
 
                [CCode (has_construct_function = false)]
6122
 
                protected TreeModelSort ();
6123
 
                public void clear_cache ();
6124
 
                public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter);
6125
 
                public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
6126
 
                public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter);
6127
 
                public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath sorted_path);
6128
 
                public unowned Gtk.TreeModel get_model ();
6129
 
                public bool iter_is_valid (Gtk.TreeIter iter);
6130
 
                public void reset_default_sort_func ();
6131
 
                [CCode (has_construct_function = false, type = "GtkTreeModel*")]
6132
 
                public TreeModelSort.with_model (Gtk.TreeModel child_model);
6133
 
                public Gtk.TreeModel model { get; construct; }
6134
 
        }
6135
 
        [CCode (cheader_filename = "gtk/gtk.h", const_cname = "GtkTreePath", copy_function = "gtk_tree_path_copy", type_id = "gtk_tree_path_get_type ()")]
6136
 
        [Compact]
6137
 
        [Immutable]
6138
 
        public class TreePath {
6139
 
                [CCode (has_construct_function = false)]
6140
 
                public TreePath ();
6141
 
                public void append_index (int index_);
6142
 
                public int compare (Gtk.TreePath b);
6143
 
                public Gtk.TreePath copy ();
6144
 
                public void down ();
6145
 
                [CCode (has_construct_function = false)]
6146
 
                public TreePath.first ();
6147
 
                [CCode (has_construct_function = false, sentinel = "-1")]
6148
 
                public TreePath.from_indices (...);
6149
 
                [CCode (has_construct_function = false)]
6150
 
                public TreePath.from_indicesv ([CCode (array_length_pos = 1.9)] int[] indices);
6151
 
                [CCode (has_construct_function = false)]
6152
 
                public TreePath.from_string (string path);
6153
 
                public int get_depth ();
6154
 
                [CCode (cname = "gtk_tree_path_get_indices_with_depth")]
6155
 
                public unowned int[] get_indices ();
6156
 
                public bool is_ancestor (Gtk.TreePath descendant);
6157
 
                public bool is_descendant (Gtk.TreePath ancestor);
6158
 
                public void next ();
6159
 
                public void prepend_index (int index_);
6160
 
                public bool prev ();
6161
 
                public string to_string ();
6162
 
                public bool up ();
6163
 
        }
6164
 
        [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_tree_row_reference_copy", type_id = "gtk_tree_row_reference_get_type ()")]
6165
 
        [Compact]
6166
 
        [Immutable]
6167
 
        public class TreeRowReference {
6168
 
                [CCode (has_construct_function = false)]
6169
 
                public TreeRowReference (Gtk.TreeModel model, Gtk.TreePath path);
6170
 
                public Gtk.TreeRowReference copy ();
6171
 
                public static void deleted (GLib.Object proxy, Gtk.TreePath path);
6172
 
                public unowned Gtk.TreeModel get_model ();
6173
 
                public Gtk.TreePath? get_path ();
6174
 
                public static void inserted (GLib.Object proxy, Gtk.TreePath path);
6175
 
                [CCode (has_construct_function = false)]
6176
 
                public TreeRowReference.proxy (GLib.Object proxy, Gtk.TreeModel model, Gtk.TreePath path);
6177
 
                public static void reordered (GLib.Object proxy, Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order);
6178
 
                public bool valid ();
6179
 
        }
6180
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_selection_get_type ()")]
6181
 
        public class TreeSelection : GLib.Object {
6182
 
                [CCode (has_construct_function = false)]
6183
 
                protected TreeSelection ();
6184
 
                public int count_selected_rows ();
6185
 
                public Gtk.SelectionMode get_mode ();
6186
 
                public unowned Gtk.TreeSelectionFunc get_select_function ();
6187
 
                public bool get_selected (out unowned Gtk.TreeModel model, out Gtk.TreeIter iter);
6188
 
                public GLib.List<Gtk.TreePath> get_selected_rows (out unowned Gtk.TreeModel model);
6189
 
                public unowned Gtk.TreeView get_tree_view ();
6190
 
                public void* get_user_data ();
6191
 
                public bool iter_is_selected (Gtk.TreeIter iter);
6192
 
                public bool path_is_selected (Gtk.TreePath path);
6193
 
                public void select_all ();
6194
 
                public void select_iter (Gtk.TreeIter iter);
6195
 
                public void select_path (Gtk.TreePath path);
6196
 
                public void select_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
6197
 
                public void selected_foreach (Gtk.TreeSelectionForeachFunc func);
6198
 
                public void set_mode (Gtk.SelectionMode type);
6199
 
                public void set_select_function (owned Gtk.TreeSelectionFunc func);
6200
 
                public void unselect_all ();
6201
 
                public void unselect_iter (Gtk.TreeIter iter);
6202
 
                public void unselect_path (Gtk.TreePath path);
6203
 
                public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
6204
 
                public Gtk.SelectionMode mode { get; set; }
6205
 
                public virtual signal void changed ();
6206
 
        }
6207
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_store_get_type ()")]
6208
 
        public class TreeStore : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable, Gtk.Buildable {
6209
 
                [CCode (has_construct_function = false, sentinel = "")]
6210
 
                public TreeStore (int n_columns, ...);
6211
 
                public void append (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
6212
 
                public void clear ();
6213
 
                public void insert (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position);
6214
 
                public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
6215
 
                public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
6216
 
                [CCode (sentinel = "-1")]
6217
 
                public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...);
6218
 
                public void insert_with_valuesv (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, [CCode (array_length_pos = 5.1)] int[] columns, [CCode (array_length_pos = 5.1)] GLib.Value[] values);
6219
 
                public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant);
6220
 
                public int iter_depth (Gtk.TreeIter iter);
6221
 
                public bool iter_is_valid (Gtk.TreeIter iter);
6222
 
                public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
6223
 
                public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
6224
 
                [CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
6225
 
                public TreeStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
6226
 
                public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
6227
 
                public bool remove (ref Gtk.TreeIter iter);
6228
 
                public void reorder (Gtk.TreeIter? parent, [CCode (array_length = false)] int[] new_order);
6229
 
                [CCode (sentinel = "-1")]
6230
 
                public void @set (Gtk.TreeIter iter, ...);
6231
 
                public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
6232
 
                public void set_valist (Gtk.TreeIter iter, va_list var_args);
6233
 
                public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
6234
 
                public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_pos = 3.1)] int[] columns, [CCode (array_length_pos = 3.1)] GLib.Value[] values);
6235
 
                public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
6236
 
        }
6237
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_get_type ()")]
6238
 
        public class TreeView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
6239
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6240
 
                public TreeView ();
6241
 
                public int append_column (Gtk.TreeViewColumn column);
6242
 
                public void collapse_all ();
6243
 
                public bool collapse_row (Gtk.TreePath path);
6244
 
                public void columns_autosize ();
6245
 
                public void convert_bin_window_to_tree_coords (int bx, int by, out int tx, out int ty);
6246
 
                public void convert_bin_window_to_widget_coords (int bx, int by, out int wx, out int wy);
6247
 
                public void convert_tree_to_bin_window_coords (int tx, int ty, out int bx, out int by);
6248
 
                public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy);
6249
 
                public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
6250
 
                public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty);
6251
 
                public Cairo.Surface create_row_drag_icon (Gtk.TreePath path);
6252
 
                public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
6253
 
                public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
6254
 
                public void expand_all ();
6255
 
                public bool expand_row (Gtk.TreePath path, bool open_all);
6256
 
                public void expand_to_path (Gtk.TreePath path);
6257
 
                public bool get_activate_on_single_click ();
6258
 
                public void get_background_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
6259
 
                public unowned Gdk.Window? get_bin_window ();
6260
 
                public void get_cell_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
6261
 
                public unowned Gtk.TreeViewColumn? get_column (int n);
6262
 
                public GLib.List<weak Gtk.TreeViewColumn> get_columns ();
6263
 
                public void get_cursor (out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? focus_column);
6264
 
                public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
6265
 
                public void get_drag_dest_row (out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
6266
 
                public bool get_enable_search ();
6267
 
                public bool get_enable_tree_lines ();
6268
 
                public unowned Gtk.TreeViewColumn get_expander_column ();
6269
 
                public bool get_fixed_height_mode ();
6270
 
                public Gtk.TreeViewGridLines get_grid_lines ();
6271
 
                public unowned Gtk.Adjustment get_hadjustment ();
6272
 
                public bool get_headers_clickable ();
6273
 
                public bool get_headers_visible ();
6274
 
                public bool get_hover_expand ();
6275
 
                public bool get_hover_selection ();
6276
 
                public int get_level_indentation ();
6277
 
                public unowned Gtk.TreeModel? get_model ();
6278
 
                public uint get_n_columns ();
6279
 
                public bool get_path_at_pos (int x, int y, out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? column, out int cell_x, out int cell_y);
6280
 
                public bool get_reorderable ();
6281
 
                public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
6282
 
                public bool get_rubber_banding ();
6283
 
                public bool get_rules_hint ();
6284
 
                public int get_search_column ();
6285
 
                public unowned Gtk.Entry get_search_entry ();
6286
 
                public unowned Gtk.TreeViewSearchEqualFunc get_search_equal_func ();
6287
 
                public unowned Gtk.TreeViewSearchPositionFunc get_search_position_func ();
6288
 
                public unowned Gtk.TreeSelection get_selection ();
6289
 
                public bool get_show_expanders ();
6290
 
                public int get_tooltip_column ();
6291
 
                public bool get_tooltip_context (ref int x, ref int y, bool keyboard_tip, out unowned Gtk.TreeModel? model, out Gtk.TreePath path, out Gtk.TreeIter iter);
6292
 
                public unowned Gtk.Adjustment get_vadjustment ();
6293
 
                public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
6294
 
                public void get_visible_rect (out Gdk.Rectangle visible_rect);
6295
 
                public int insert_column (Gtk.TreeViewColumn column, int position);
6296
 
                public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...);
6297
 
                public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func);
6298
 
                public bool is_blank_at_pos (int x, int y, out Gtk.TreePath path, out Gtk.TreeViewColumn column, out int cell_x, out int cell_y);
6299
 
                [CCode (cname = "gtk_tree_view_row_expanded")]
6300
 
                public bool is_row_expanded (Gtk.TreePath path);
6301
 
                public bool is_rubber_banding_active ();
6302
 
                public void map_expanded_rows (Gtk.TreeViewMappingFunc func);
6303
 
                public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn? base_column);
6304
 
                public int remove_column (Gtk.TreeViewColumn column);
6305
 
                public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align);
6306
 
                public void scroll_to_point (int tree_x, int tree_y);
6307
 
                public void set_activate_on_single_click (bool single);
6308
 
                public void set_column_drag_function (owned Gtk.TreeViewColumnDropFunc? func);
6309
 
                public void set_cursor (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, bool start_editing);
6310
 
                public void set_cursor_on_cell (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, Gtk.CellRenderer? focus_cell, bool start_editing);
6311
 
                public void set_destroy_count_func (owned Gtk.TreeDestroyCountFunc? func);
6312
 
                public void set_drag_dest_row (Gtk.TreePath? path, Gtk.TreeViewDropPosition pos);
6313
 
                public void set_enable_search (bool enable_search);
6314
 
                public void set_enable_tree_lines (bool enabled);
6315
 
                public void set_expander_column (Gtk.TreeViewColumn column);
6316
 
                public void set_fixed_height_mode (bool enable);
6317
 
                public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
6318
 
                public void set_hadjustment (Gtk.Adjustment? adjustment);
6319
 
                public void set_headers_clickable (bool setting);
6320
 
                public void set_headers_visible (bool headers_visible);
6321
 
                public void set_hover_expand (bool expand);
6322
 
                public void set_hover_selection (bool hover);
6323
 
                public void set_level_indentation (int indentation);
6324
 
                public void set_model (Gtk.TreeModel? model);
6325
 
                public void set_reorderable (bool reorderable);
6326
 
                public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc? func);
6327
 
                public void set_rubber_banding (bool enable);
6328
 
                public void set_rules_hint (bool setting);
6329
 
                public void set_search_column (int column);
6330
 
                public void set_search_entry (Gtk.Entry? entry);
6331
 
                public void set_search_equal_func (owned Gtk.TreeViewSearchEqualFunc search_equal_func);
6332
 
                public void set_search_position_func (owned Gtk.TreeViewSearchPositionFunc? func);
6333
 
                public void set_show_expanders (bool enabled);
6334
 
                public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath? path, Gtk.TreeViewColumn? column, Gtk.CellRenderer? cell);
6335
 
                public void set_tooltip_column (int column);
6336
 
                public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
6337
 
                public void set_vadjustment (Gtk.Adjustment? adjustment);
6338
 
                public void unset_rows_drag_dest ();
6339
 
                public void unset_rows_drag_source ();
6340
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6341
 
                public TreeView.with_model (Gtk.TreeModel model);
6342
 
                public bool activate_on_single_click { get; set; }
6343
 
                [NoAccessorMethod]
6344
 
                public Gtk.TreeViewGridLines enable_grid_lines { get; set; }
6345
 
                public bool enable_search { get; set; }
6346
 
                public bool enable_tree_lines { get; set; }
6347
 
                public Gtk.TreeViewColumn expander_column { get; set; }
6348
 
                public bool fixed_height_mode { get; set; }
6349
 
                public bool headers_clickable { get; set; }
6350
 
                public bool headers_visible { get; set; }
6351
 
                public bool hover_expand { get; set; }
6352
 
                public bool hover_selection { get; set; }
6353
 
                public int level_indentation { get; set; }
6354
 
                public Gtk.TreeModel model { get; set; }
6355
 
                public bool reorderable { get; set; }
6356
 
                public bool rubber_banding { get; set; }
6357
 
                public bool rules_hint { get; set; }
6358
 
                public int search_column { get; set; }
6359
 
                public bool show_expanders { get; set; }
6360
 
                public int tooltip_column { get; set; }
6361
 
                public virtual signal void columns_changed ();
6362
 
                public virtual signal void cursor_changed ();
6363
 
                public virtual signal bool expand_collapse_cursor_row (bool logical, bool expand, bool open_all);
6364
 
                public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
6365
 
                [HasEmitter]
6366
 
                public virtual signal void row_activated (Gtk.TreePath path, Gtk.TreeViewColumn column);
6367
 
                public virtual signal void row_collapsed (Gtk.TreeIter iter, Gtk.TreePath path);
6368
 
                public virtual signal void row_expanded (Gtk.TreeIter iter, Gtk.TreePath path);
6369
 
                public virtual signal bool select_all ();
6370
 
                public virtual signal bool select_cursor_parent ();
6371
 
                public virtual signal bool select_cursor_row (bool start_editing);
6372
 
                public virtual signal bool start_interactive_search ();
6373
 
                public virtual signal bool test_collapse_row (Gtk.TreeIter iter, Gtk.TreePath path);
6374
 
                public virtual signal bool test_expand_row (Gtk.TreeIter iter, Gtk.TreePath path);
6375
 
                public virtual signal bool toggle_cursor_row ();
6376
 
                public virtual signal bool unselect_all ();
6377
 
        }
6378
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_tree_view_accessible_get_type ()")]
6379
 
        public class TreeViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Table, Atk.Selection, Gtk.CellAccessibleParent {
6380
 
                [CCode (has_construct_function = false)]
6381
 
                protected TreeViewAccessible ();
6382
 
        }
6383
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_column_get_type ()")]
6384
 
        public class TreeViewColumn : GLib.InitiallyUnowned, Gtk.CellLayout, Gtk.Buildable {
6385
 
                [CCode (has_construct_function = false)]
6386
 
                public TreeViewColumn ();
6387
 
                public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int x_offset, out int width);
6388
 
                public void cell_get_size (Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
6389
 
                public bool cell_is_visible ();
6390
 
                public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
6391
 
                public void focus_cell (Gtk.CellRenderer cell);
6392
 
                public float get_alignment ();
6393
 
                public unowned Gtk.Widget get_button ();
6394
 
                public bool get_clickable ();
6395
 
                public bool get_expand ();
6396
 
                public int get_fixed_width ();
6397
 
                public int get_max_width ();
6398
 
                public int get_min_width ();
6399
 
                public bool get_reorderable ();
6400
 
                public bool get_resizable ();
6401
 
                public Gtk.TreeViewColumnSizing get_sizing ();
6402
 
                public int get_sort_column_id ();
6403
 
                public bool get_sort_indicator ();
6404
 
                public Gtk.SortType get_sort_order ();
6405
 
                public int get_spacing ();
6406
 
                public unowned string get_title ();
6407
 
                public unowned Gtk.Widget? get_tree_view ();
6408
 
                public bool get_visible ();
6409
 
                public unowned Gtk.Widget? get_widget ();
6410
 
                public int get_width ();
6411
 
                public int get_x_offset ();
6412
 
                public void queue_resize ();
6413
 
                public void set_alignment (float xalign);
6414
 
                public void set_attributes (Gtk.CellRenderer cell_renderer, ...);
6415
 
                public void set_clickable (bool clickable);
6416
 
                public void set_expand (bool expand);
6417
 
                public void set_fixed_width (int fixed_width);
6418
 
                public void set_max_width (int max_width);
6419
 
                public void set_min_width (int min_width);
6420
 
                public void set_reorderable (bool reorderable);
6421
 
                public void set_resizable (bool resizable);
6422
 
                public void set_sizing (Gtk.TreeViewColumnSizing type);
6423
 
                public void set_sort_column_id (int sort_column_id);
6424
 
                public void set_sort_indicator (bool setting);
6425
 
                public void set_sort_order (Gtk.SortType order);
6426
 
                public void set_spacing (int spacing);
6427
 
                public void set_title (string title);
6428
 
                public void set_visible (bool visible);
6429
 
                public void set_widget (Gtk.Widget? widget);
6430
 
                [CCode (has_construct_function = false)]
6431
 
                public TreeViewColumn.with_area (Gtk.CellArea area);
6432
 
                [CCode (has_construct_function = false)]
6433
 
                public TreeViewColumn.with_attributes (string? title, Gtk.CellRenderer cell, ...);
6434
 
                public float alignment { get; set; }
6435
 
                [NoAccessorMethod]
6436
 
                public Gtk.CellArea cell_area { owned get; construct; }
6437
 
                public bool clickable { get; set; }
6438
 
                public bool expand { get; set; }
6439
 
                public int fixed_width { get; set; }
6440
 
                public int max_width { get; set; }
6441
 
                public int min_width { get; set; }
6442
 
                public bool reorderable { get; set; }
6443
 
                public bool resizable { get; set; }
6444
 
                public Gtk.TreeViewColumnSizing sizing { get; set; }
6445
 
                public int sort_column_id { get; set; }
6446
 
                public bool sort_indicator { get; set; }
6447
 
                public Gtk.SortType sort_order { get; set; }
6448
 
                public int spacing { get; set; }
6449
 
                public string title { get; set; }
6450
 
                public bool visible { get; set; }
6451
 
                public Gtk.Widget widget { get; set; }
6452
 
                public int width { get; }
6453
 
                public int x_offset { get; }
6454
 
                [HasEmitter]
6455
 
                public virtual signal void clicked ();
6456
 
        }
6457
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_ui_manager_get_type ()")]
6458
 
        public class UIManager : GLib.Object, Gtk.Buildable {
6459
 
                [CCode (has_construct_function = false)]
6460
 
                public UIManager ();
6461
 
                public void add_ui (uint merge_id, string path, string name, string? action, Gtk.UIManagerItemType type, bool top);
6462
 
                public uint add_ui_from_file (string filename) throws GLib.Error;
6463
 
                public uint add_ui_from_resource (string resource_path) throws GLib.Error;
6464
 
                public uint add_ui_from_string (string buffer, ssize_t length) throws GLib.Error;
6465
 
                public void ensure_update ();
6466
 
                public unowned Gtk.AccelGroup get_accel_group ();
6467
 
                public virtual unowned Gtk.Action get_action (string path);
6468
 
                public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
6469
 
                [Version (deprecated_since = "3.4")]
6470
 
                public bool get_add_tearoffs ();
6471
 
                public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
6472
 
                public string get_ui ();
6473
 
                public virtual unowned Gtk.Widget get_widget (string path);
6474
 
                public void insert_action_group (Gtk.ActionGroup action_group, int pos);
6475
 
                public uint new_merge_id ();
6476
 
                public void remove_action_group (Gtk.ActionGroup action_group);
6477
 
                public void remove_ui (uint merge_id);
6478
 
                [Version (deprecated_since = "3.4")]
6479
 
                public void set_add_tearoffs (bool add_tearoffs);
6480
 
                [Version (deprecated_since = "3.4")]
6481
 
                public bool add_tearoffs { get; set; }
6482
 
                public string ui { owned get; }
6483
 
                public virtual signal void actions_changed ();
6484
 
                public virtual signal void add_widget (Gtk.Widget widget);
6485
 
                public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy);
6486
 
                public virtual signal void disconnect_proxy (Gtk.Action action, Gtk.Widget proxy);
6487
 
                public virtual signal void post_activate (Gtk.Action action);
6488
 
                public virtual signal void pre_activate (Gtk.Action action);
6489
 
        }
6490
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbox_get_type ()")]
6491
 
        [Version (deprecated_since = "3.2", replacement = "Box")]
6492
 
        public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6493
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6494
 
                public VBox (bool homogeneous, int spacing);
6495
 
        }
6496
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbutton_box_get_type ()")]
6497
 
        public class VButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6498
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6499
 
                public VButtonBox ();
6500
 
        }
6501
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vpaned_get_type ()")]
6502
 
        [Version (deprecated_since = "3.2", replacement = "Paned")]
6503
 
        public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6504
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6505
 
                public VPaned ();
6506
 
        }
6507
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscale_get_type ()")]
6508
 
        [Version (deprecated_since = "3.2", replacement = "Scale")]
6509
 
        public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6510
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6511
 
                public VScale (Gtk.Adjustment? adjustment);
6512
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6513
 
                public VScale.with_range (double min, double max, double step);
6514
 
        }
6515
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscrollbar_get_type ()")]
6516
 
        [Version (deprecated_since = "3.2", replacement = "Scrollbar")]
6517
 
        public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6518
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6519
 
                public VScrollbar (Gtk.Adjustment? adjustment);
6520
 
        }
6521
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vseparator_get_type ()")]
6522
 
        public class VSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6523
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6524
 
                public VSeparator ();
6525
 
        }
6526
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_viewport_get_type ()")]
6527
 
        public class Viewport : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
6528
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6529
 
                public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
6530
 
                public unowned Gdk.Window get_bin_window ();
6531
 
                public unowned Gtk.Adjustment? get_hadjustment ();
6532
 
                public Gtk.ShadowType get_shadow_type ();
6533
 
                public unowned Gtk.Adjustment? get_vadjustment ();
6534
 
                public unowned Gdk.Window get_view_window ();
6535
 
                public void set_hadjustment (Gtk.Adjustment? adjustment);
6536
 
                public void set_shadow_type (Gtk.ShadowType type);
6537
 
                public void set_vadjustment (Gtk.Adjustment? adjustment);
6538
 
                public Gtk.ShadowType shadow_type { get; set; }
6539
 
        }
6540
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_volume_button_get_type ()")]
6541
 
        public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.Orientable {
6542
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
6543
 
                public VolumeButton ();
6544
 
                [NoAccessorMethod]
6545
 
                public bool use_symbolic { get; set construct; }
6546
 
        }
6547
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_widget_get_type ()")]
6548
 
        public class Widget : GLib.InitiallyUnowned, Atk.Implementor, Gtk.Buildable {
6549
 
                public class uint activate_signal;
6550
 
                [CCode (construct_function = "gtk_widget_new", has_new_function = false)]
6551
 
                public Widget (...);
6552
 
                public bool activate ();
6553
 
                public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
6554
 
                public void add_device_events (Gdk.Device device, Gdk.EventMask events);
6555
 
                public void add_events (int events);
6556
 
                public void add_mnemonic_label (Gtk.Widget label);
6557
 
                public uint add_tick_callback (owned Gtk.TickCallback callback);
6558
 
                [NoWrapper]
6559
 
                public virtual void adjust_baseline_allocation (int baseline);
6560
 
                [NoWrapper]
6561
 
                public virtual void adjust_baseline_request (int minimum_baseline, int natural_baseline);
6562
 
                [NoWrapper]
6563
 
                public virtual void adjust_size_allocation (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size, ref int allocated_pos, ref int allocated_size);
6564
 
                [NoWrapper]
6565
 
                public virtual void adjust_size_request (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size);
6566
 
                [CCode (cname = "gtk_widget_class_bind_template_callback_full")]
6567
 
                public class void bind_template_callback_full (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
6568
 
                [CCode (cname = "gtk_widget_class_bind_template_child_full")]
6569
 
                public class void bind_template_child_full (string name, bool internal_child, ssize_t struct_offset);
6570
 
                public bool child_focus (Gtk.DirectionType direction);
6571
 
                [Version (deprecated_since = "3.0", replacement = "get_path")]
6572
 
                public void class_path (out uint path_length, out string path, out string path_reversed);
6573
 
                public virtual bool compute_expand (Gtk.Orientation orientation);
6574
 
                [CCode (vfunc_name = "compute_expand")]
6575
 
                [NoWrapper]
6576
 
                public virtual void compute_expand_internal (out bool hexpand, out bool vexpand);
6577
 
                public Pango.Context create_pango_context ();
6578
 
                public Pango.Layout create_pango_layout (string? text);
6579
 
                public void destroyed (out unowned Gtk.Widget widget_pointer);
6580
 
                public bool device_is_shadowed (Gdk.Device device);
6581
 
                [NoWrapper]
6582
 
                public virtual void dispatch_child_properties_changed ([CCode (array_length_pos = 0.5)] GLib.ParamSpec[] pspecs);
6583
 
                [Version (deprecated_since = "3.0", replacement = "StyleContext")]
6584
 
                public void ensure_style ();
6585
 
                public void error_bell ();
6586
 
                [CCode (cname = "gtk_widget_class_find_style_property")]
6587
 
                public class unowned GLib.ParamSpec find_style_property (string property_name);
6588
 
                public void freeze_child_notify ();
6589
 
                public virtual unowned Atk.Object get_accessible ();
6590
 
                public unowned GLib.ActionGroup? get_action_group (string prefix);
6591
 
                public int get_allocated_baseline ();
6592
 
                public int get_allocated_height ();
6593
 
                public void get_allocated_size (out Gtk.Allocation allocation, out int baseline);
6594
 
                public int get_allocated_width ();
6595
 
                public void get_allocation (out Gtk.Allocation allocation);
6596
 
                public unowned Gtk.Widget? get_ancestor (GLib.Type widget_type);
6597
 
                public bool get_app_paintable ();
6598
 
                public bool get_can_default ();
6599
 
                public bool get_can_focus ();
6600
 
                [Version (deprecated_since = "3.0", replacement = "get_preferred_size")]
6601
 
                public void get_child_requisition (out Gtk.Requisition requisition);
6602
 
                public bool get_child_visible ();
6603
 
                public void get_clip (out Gtk.Allocation clip);
6604
 
                public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
6605
 
                public string get_composite_name ();
6606
 
                [CCode (cname = "gtk_widget_class_get_css_name")]
6607
 
                public class unowned string get_css_name ();
6608
 
                public static Gtk.TextDirection get_default_direction ();
6609
 
                [Version (deprecated_since = "3.0", replacement = "StyleContext, and CssProvider.get_default() to obtain a Gtk.StyleProvider with the default widget style information")]
6610
 
                public static unowned Gtk.Style get_default_style ();
6611
 
                public bool get_device_enabled (Gdk.Device device);
6612
 
                public Gdk.EventMask get_device_events (Gdk.Device device);
6613
 
                public Gtk.TextDirection get_direction ();
6614
 
                public unowned Gdk.Display get_display ();
6615
 
                public bool get_double_buffered ();
6616
 
                public int get_events ();
6617
 
                public bool get_focus_on_click ();
6618
 
                public unowned Pango.FontMap? get_font_map ();
6619
 
                public unowned Cairo.FontOptions? get_font_options ();
6620
 
                public unowned Gdk.FrameClock? get_frame_clock ();
6621
 
                public Gtk.Align get_halign ();
6622
 
                public bool get_has_tooltip ();
6623
 
                public bool get_has_window ();
6624
 
                public bool get_hexpand ();
6625
 
                public bool get_hexpand_set ();
6626
 
                public bool get_mapped ();
6627
 
                public int get_margin_bottom ();
6628
 
                public int get_margin_end ();
6629
 
                public int get_margin_left ();
6630
 
                public int get_margin_right ();
6631
 
                public int get_margin_start ();
6632
 
                public int get_margin_top ();
6633
 
                public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
6634
 
                [Version (deprecated_since = "3.0", replacement = "StyleContext with a custom StyleProvider")]
6635
 
                public unowned Gtk.RcStyle get_modifier_style ();
6636
 
                public bool get_no_show_all ();
6637
 
                public double get_opacity ();
6638
 
                public unowned Pango.Context get_pango_context ();
6639
 
                [CCode (type = "GtkWidget*")]
6640
 
                public unowned Gtk.Container? get_parent ();
6641
 
                public unowned Gdk.Window get_parent_window ();
6642
 
                public unowned Gtk.WidgetPath get_path ();
6643
 
                [Version (deprecated_since = "3.4", replacement = "Gdk.Window.get_device_position")]
6644
 
                public void get_pointer (out int x, out int y);
6645
 
                public virtual void get_preferred_height (out int minimum_height, out int natural_height);
6646
 
                public virtual void get_preferred_height_and_baseline_for_width (int width, out int minimum_height, out int natural_height, out int minimum_baseline, out int natural_baseline);
6647
 
                public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
6648
 
                [CCode (vfunc_name = "get_preferred_height_for_width")]
6649
 
                [NoWrapper]
6650
 
                public virtual void get_preferred_height_for_width_internal (int width, out int minimum_height, out int natural_height);
6651
 
                [CCode (vfunc_name = "get_preferred_height")]
6652
 
                [NoWrapper]
6653
 
                public virtual void get_preferred_height_internal (out int minimum_height, out int natural_height);
6654
 
                public void get_preferred_size (out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
6655
 
                public virtual void get_preferred_width (out int minimum_width, out int natural_width);
6656
 
                public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
6657
 
                [CCode (vfunc_name = "get_preferred_width_for_height")]
6658
 
                [NoWrapper]
6659
 
                public virtual void get_preferred_width_for_height_internal (int height, out int minimum_width, out int natural_width);
6660
 
                [CCode (vfunc_name = "get_preferred_width")]
6661
 
                [NoWrapper]
6662
 
                public virtual void get_preferred_width_internal (out int minimum_width, out int natural_width);
6663
 
                public bool get_realized ();
6664
 
                public bool get_receives_default ();
6665
 
                public virtual Gtk.SizeRequestMode get_request_mode ();
6666
 
                public Gtk.Requisition get_requisition ();
6667
 
                public unowned Gdk.Window get_root_window ();
6668
 
                public int get_scale_factor ();
6669
 
                public unowned Gdk.Screen get_screen ();
6670
 
                public bool get_sensitive ();
6671
 
                public unowned Gtk.Settings get_settings ();
6672
 
                public void get_size_request (out int width, out int height);
6673
 
                [Version (deprecated_since = "3.0", replacement = "get_state_flags")]
6674
 
                public Gtk.StateType get_state ();
6675
 
                public Gtk.StateFlags get_state_flags ();
6676
 
                [Version (deprecated_since = "3.0", replacement = "StyleContext")]
6677
 
                public unowned Gtk.Style get_style ();
6678
 
                public unowned Gtk.StyleContext get_style_context ();
6679
 
                public bool get_support_multidevice ();
6680
 
                public unowned GLib.Object get_template_child (GLib.Type widget_type, string name);
6681
 
                public string? get_tooltip_markup ();
6682
 
                public string? get_tooltip_text ();
6683
 
                public unowned Gtk.Window get_tooltip_window ();
6684
 
                public unowned Gtk.Widget get_toplevel ();
6685
 
                public Gtk.Align get_valign ();
6686
 
                public Gtk.Align get_valign_with_baseline ();
6687
 
                public bool get_vexpand ();
6688
 
                public bool get_vexpand_set ();
6689
 
                public bool get_visible ();
6690
 
                public unowned Gdk.Visual get_visual ();
6691
 
                public unowned Gdk.Window? get_window ();
6692
 
                public void grab_default ();
6693
 
                public bool has_grab ();
6694
 
                [Version (deprecated_since = "3.0", replacement = "StyleContext")]
6695
 
                public bool has_rc_style ();
6696
 
                public bool has_screen ();
6697
 
                public bool has_visible_focus ();
6698
 
                public bool hide_on_delete ();
6699
 
                public bool in_destruction ();
6700
 
                public void init_template ();
6701
 
                public void input_shape_combine_region (Cairo.Region? region);
6702
 
                public void insert_action_group (string name, GLib.ActionGroup? group);
6703
 
                [CCode (cname = "gtk_widget_class_install_style_property")]
6704
 
                public class void install_style_property (GLib.ParamSpec pspec);
6705
 
                [CCode (cname = "gtk_widget_class_install_style_property_parser")]
6706
 
                public class void install_style_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
6707
 
                public bool intersect (Gdk.Rectangle area, Gdk.Rectangle? intersection);
6708
 
                public bool is_ancestor (Gtk.Widget ancestor);
6709
 
                public bool is_composited ();
6710
 
                public bool is_sensitive ();
6711
 
                public bool is_toplevel ();
6712
 
                public bool is_visible ();
6713
 
                public GLib.List<weak GLib.Closure> list_accel_closures ();
6714
 
                [CCode (array_length = false, array_null_terminated = true)]
6715
 
                public (unowned string)[] list_action_prefixes ();
6716
 
                public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
6717
 
                [CCode (array_length_type = "guint", cname = "gtk_widget_class_list_style_properties")]
6718
 
                public class (unowned GLib.ParamSpec)[] list_style_properties ();
6719
 
                [Version (deprecated_since = "3.0", replacement = "override_background_color")]
6720
 
                public void modify_base (Gtk.StateType state, Gdk.Color? color);
6721
 
                [Version (deprecated_since = "3.0", replacement = "override_background_color")]
6722
 
                public void modify_bg (Gtk.StateType state, Gdk.Color? color);
6723
 
                [Version (deprecated_since = "3.0", replacement = "override_cursor")]
6724
 
                public void modify_cursor (Gdk.Color? primary, Gdk.Color? secondary);
6725
 
                [Version (deprecated_since = "3.0", replacement = "override_color")]
6726
 
                public void modify_fg (Gtk.StateType state, Gdk.Color? color);
6727
 
                [Version (deprecated_since = "3.0", replacement = "override_font")]
6728
 
                public void modify_font (Pango.FontDescription? font_desc);
6729
 
                [Version (deprecated_since = "3.0", replacement = "StyleContext with a custom StyleProvider")]
6730
 
                public void modify_style (Gtk.RcStyle style);
6731
 
                [Version (deprecated_since = "3.0", replacement = "override_color")]
6732
 
                public void modify_text (Gtk.StateType state, Gdk.Color? color);
6733
 
                public void override_background_color (Gtk.StateFlags state, Gdk.RGBA? color);
6734
 
                public void override_color (Gtk.StateFlags state, Gdk.RGBA? color);
6735
 
                public void override_cursor (Gdk.RGBA? cursor, Gdk.RGBA? secondary_cursor);
6736
 
                public void override_font (Pango.FontDescription? font_desc);
6737
 
                public void override_symbolic_color (string name, Gdk.RGBA? color);
6738
 
                [Version (deprecated_since = "3.0", replacement = "get_path")]
6739
 
                public void path (out uint path_length, out string path, out string path_reversed);
6740
 
                public static void pop_composite_child ();
6741
 
                public static void push_composite_child ();
6742
 
                public void queue_allocate ();
6743
 
                public void queue_compute_expand ();
6744
 
                public void queue_draw ();
6745
 
                public void queue_draw_area (int x, int y, int width, int height);
6746
 
                public virtual void queue_draw_region (Cairo.Region region);
6747
 
                public void queue_resize ();
6748
 
                public void queue_resize_no_redraw ();
6749
 
                public Cairo.Region region_intersect (Cairo.Region region);
6750
 
                public void register_window (Gdk.Window window);
6751
 
                public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);
6752
 
                public void remove_mnemonic_label (Gtk.Widget label);
6753
 
                public void remove_tick_callback (uint id);
6754
 
                public Gdk.Pixbuf render_icon (string stock_id, Gtk.IconSize size, string? detail);
6755
 
                public Gdk.Pixbuf render_icon_pixbuf (string stock_id, Gtk.IconSize size);
6756
 
                public void reparent (Gtk.Widget new_parent);
6757
 
                [Version (deprecated_since = "3.0", replacement = "reset_style")]
6758
 
                public void reset_rc_styles ();
6759
 
                public void reset_style ();
6760
 
                public int send_expose (Gdk.Event event);
6761
 
                public bool send_focus_change (Gdk.Event event);
6762
 
                public void set_accel_path (string? accel_path, Gtk.AccelGroup? accel_group);
6763
 
                [CCode (cname = "gtk_widget_class_set_accessible_role")]
6764
 
                public class void set_accessible_role (Atk.Role role);
6765
 
                [CCode (cname = "gtk_widget_class_set_accessible_type")]
6766
 
                public class void set_accessible_type (GLib.Type type);
6767
 
                public void set_allocation (Gtk.Allocation allocation);
6768
 
                public void set_app_paintable (bool app_paintable);
6769
 
                public void set_can_default (bool can_default);
6770
 
                public void set_can_focus (bool can_focus);
6771
 
                public void set_child_visible (bool is_visible);
6772
 
                public void set_clip (Gtk.Allocation clip);
6773
 
                public void set_composite_name (string name);
6774
 
                [CCode (cname = "gtk_widget_class_set_connect_func")]
6775
 
                public class void set_connect_func (owned Gtk.BuilderConnectFunc connect_func);
6776
 
                [CCode (cname = "gtk_widget_class_set_css_name")]
6777
 
                public class void set_css_name (string name);
6778
 
                public static void set_default_direction (Gtk.TextDirection dir);
6779
 
                public void set_device_enabled (Gdk.Device device, bool enabled);
6780
 
                public void set_device_events (Gdk.Device device, Gdk.EventMask events);
6781
 
                public void set_direction (Gtk.TextDirection dir);
6782
 
                public void set_double_buffered (bool double_buffered);
6783
 
                public void set_events (int events);
6784
 
                public void set_focus_on_click (bool focus_on_click);
6785
 
                public void set_font_map (Pango.FontMap? font_map);
6786
 
                public void set_font_options (Cairo.FontOptions? options);
6787
 
                public void set_halign (Gtk.Align align);
6788
 
                public void set_has_tooltip (bool has_tooltip);
6789
 
                public void set_has_window (bool has_window);
6790
 
                public void set_hexpand (bool expand);
6791
 
                public void set_hexpand_set (bool @set);
6792
 
                public void set_mapped (bool mapped);
6793
 
                public void set_margin_bottom (int margin);
6794
 
                public void set_margin_end (int margin);
6795
 
                public void set_margin_left (int margin);
6796
 
                public void set_margin_right (int margin);
6797
 
                public void set_margin_start (int margin);
6798
 
                public void set_margin_top (int margin);
6799
 
                public void set_no_show_all (bool no_show_all);
6800
 
                public void set_opacity (double opacity);
6801
 
                public void set_parent ([CCode (type = "GtkWidget*")] Gtk.Container parent);
6802
 
                public void set_parent_window (Gdk.Window parent_window);
6803
 
                public void set_realized (bool realized);
6804
 
                public void set_receives_default (bool receives_default);
6805
 
                public void set_redraw_on_allocate (bool redraw_on_allocate);
6806
 
                public void set_sensitive (bool sensitive);
6807
 
                public void set_size_request (int width, int height);
6808
 
                [Version (deprecated_since = "3.0", replacement = "set_state_flags")]
6809
 
                public void set_state (Gtk.StateType state);
6810
 
                public void set_state_flags (Gtk.StateFlags flags, bool clear);
6811
 
                [Version (deprecated_since = "3.0", replacement = "StyleContext")]
6812
 
                public void set_style (Gtk.Style? style);
6813
 
                public void set_support_multidevice (bool support_multidevice);
6814
 
                [CCode (cname = "gtk_widget_class_set_template")]
6815
 
                public class void set_template (GLib.Bytes template_bytes);
6816
 
                [CCode (cname = "gtk_widget_class_set_template_from_resource")]
6817
 
                public class void set_template_from_resource (string resource_name);
6818
 
                public void set_tooltip_markup (string? markup);
6819
 
                public void set_tooltip_text (string? text);
6820
 
                public void set_tooltip_window (Gtk.Window? custom_window);
6821
 
                public void set_valign (Gtk.Align align);
6822
 
                public void set_vexpand (bool expand);
6823
 
                public void set_vexpand_set (bool @set);
6824
 
                public void set_visible (bool visible);
6825
 
                public void set_visual (Gdk.Visual? visual);
6826
 
                public void set_window (owned Gdk.Window window);
6827
 
                public void shape_combine_region (Cairo.Region? region);
6828
 
                public virtual void show_all ();
6829
 
                public void show_now ();
6830
 
                public void size_allocate_with_baseline (Gtk.Allocation allocation, int baseline);
6831
 
                [Version (deprecated_since = "3.0", replacement = "StyleContext")]
6832
 
                public void style_attach ();
6833
 
                public void style_get (...);
6834
 
                public void style_get_property (string property_name, ref GLib.Value value);
6835
 
                public void style_get_valist (string first_property_name, va_list var_args);
6836
 
                public void thaw_child_notify ();
6837
 
                public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);
6838
 
                public void trigger_tooltip_query ();
6839
 
                public void unparent ();
6840
 
                public void unregister_window (Gdk.Window window);
6841
 
                public void unset_state_flags (Gtk.StateFlags flags);
6842
 
                public bool app_paintable { get; set; }
6843
 
                public bool can_default { get; set; }
6844
 
                [NoAccessorMethod]
6845
 
                public bool can_focus { get; set; }
6846
 
                [NoAccessorMethod]
6847
 
                public bool composite_child { get; }
6848
 
                public bool double_buffered { get; set; }
6849
 
                public Gdk.EventMask events { get; set; }
6850
 
                [NoAccessorMethod]
6851
 
                public bool expand { get; set; }
6852
 
                public bool focus_on_click { get; set; }
6853
 
                public Gtk.Align halign { get; set; }
6854
 
                [NoAccessorMethod]
6855
 
                public bool has_default { get; set; }
6856
 
                [NoAccessorMethod]
6857
 
                public bool has_focus { get; set; }
6858
 
                public bool has_tooltip { get; set; }
6859
 
                [NoAccessorMethod]
6860
 
                public int height_request { get; set; }
6861
 
                public bool hexpand { get; set; }
6862
 
                public bool hexpand_set { get; set; }
6863
 
                [NoAccessorMethod]
6864
 
                public bool is_focus { get; set; }
6865
 
                [NoAccessorMethod]
6866
 
                public int margin { get; set; }
6867
 
                public int margin_bottom { get; set; }
6868
 
                public int margin_end { get; set; }
6869
 
                public int margin_left { get; set; }
6870
 
                public int margin_right { get; set; }
6871
 
                public int margin_start { get; set; }
6872
 
                public int margin_top { get; set; }
6873
 
                public string name { get; set; }
6874
 
                public bool no_show_all { get; set; }
6875
 
                public double opacity { get; set; }
6876
 
                public Gtk.Container parent { get; set; }
6877
 
                public bool receives_default { get; set; }
6878
 
                public int scale_factor { get; }
6879
 
                public bool sensitive { get; set; }
6880
 
                public Gtk.Style style { get; set; }
6881
 
                public string tooltip_markup { owned get; set; }
6882
 
                public string tooltip_text { owned get; set; }
6883
 
                public Gtk.Align valign { get; set; }
6884
 
                public bool vexpand { get; set; }
6885
 
                public bool vexpand_set { get; set; }
6886
 
                public bool visible { get; set; }
6887
 
                [NoAccessorMethod]
6888
 
                public int width_request { get; set; }
6889
 
                public virtual signal void accel_closures_changed ();
6890
 
                public virtual signal bool button_press_event (Gdk.EventButton event);
6891
 
                public virtual signal bool button_release_event (Gdk.EventButton event);
6892
 
                [HasEmitter]
6893
 
                public virtual signal bool can_activate_accel (uint signal_id);
6894
 
                [HasEmitter]
6895
 
                public virtual signal void child_notify (GLib.ParamSpec child_property);
6896
 
                public virtual signal void composited_changed ();
6897
 
                public virtual signal bool configure_event (Gdk.EventConfigure event);
6898
 
                public virtual signal bool damage_event (Gdk.EventExpose event);
6899
 
                public virtual signal bool delete_event (Gdk.EventAny event);
6900
 
                [HasEmitter]
6901
 
                public virtual signal void destroy ();
6902
 
                public virtual signal bool destroy_event (Gdk.EventAny event);
6903
 
                public virtual signal void direction_changed (Gtk.TextDirection previous_direction);
6904
 
                public virtual signal void drag_begin (Gdk.DragContext context);
6905
 
                public virtual signal void drag_data_delete (Gdk.DragContext context);
6906
 
                public virtual signal void drag_data_get (Gdk.DragContext context, Gtk.SelectionData selection_data, uint info, uint time_);
6907
 
                public virtual signal void drag_data_received (Gdk.DragContext context, int x, int y, Gtk.SelectionData selection_data, uint info, uint time_);
6908
 
                public virtual signal bool drag_drop (Gdk.DragContext context, int x, int y, uint time_);
6909
 
                public virtual signal void drag_end (Gdk.DragContext context);
6910
 
                public virtual signal bool drag_failed (Gdk.DragContext context, Gtk.DragResult result);
6911
 
                public virtual signal void drag_leave (Gdk.DragContext context, uint time_);
6912
 
                public virtual signal bool drag_motion (Gdk.DragContext context, int x, int y, uint time_);
6913
 
                [HasEmitter]
6914
 
                public virtual signal bool draw (Cairo.Context cr);
6915
 
                public virtual signal bool enter_notify_event (Gdk.EventCrossing event);
6916
 
                [HasEmitter]
6917
 
                public virtual signal bool event (Gdk.Event event);
6918
 
                public virtual signal void event_after (Gdk.Event p0);
6919
 
                public virtual signal bool focus (Gtk.DirectionType direction);
6920
 
                public virtual signal bool focus_in_event (Gdk.EventFocus event);
6921
 
                public virtual signal bool focus_out_event (Gdk.EventFocus event);
6922
 
                public virtual signal bool grab_broken_event (Gdk.EventGrabBroken event);
6923
 
                [HasEmitter]
6924
 
                public virtual signal void grab_focus ();
6925
 
                public virtual signal void grab_notify (bool was_grabbed);
6926
 
                [HasEmitter]
6927
 
                public virtual signal void hide ();
6928
 
                public virtual signal void hierarchy_changed (Gtk.Widget? previous_toplevel);
6929
 
                public virtual signal bool key_press_event (Gdk.EventKey event);
6930
 
                public virtual signal bool key_release_event (Gdk.EventKey event);
6931
 
                [HasEmitter]
6932
 
                public virtual signal bool keynav_failed (Gtk.DirectionType direction);
6933
 
                public virtual signal bool leave_notify_event (Gdk.EventCrossing event);
6934
 
                [HasEmitter]
6935
 
                public virtual signal void map ();
6936
 
                public virtual signal bool map_event (Gdk.EventAny event);
6937
 
                [HasEmitter]
6938
 
                public virtual signal bool mnemonic_activate (bool group_cycling);
6939
 
                public virtual signal bool motion_notify_event (Gdk.EventMotion event);
6940
 
                public virtual signal void move_focus (Gtk.DirectionType direction);
6941
 
                public virtual signal void parent_set (Gtk.Widget? previous_parent);
6942
 
                public virtual signal bool popup_menu ();
6943
 
                public virtual signal bool property_notify_event (Gdk.EventProperty event);
6944
 
                public virtual signal bool proximity_in_event (Gdk.EventProximity event);
6945
 
                public virtual signal bool proximity_out_event (Gdk.EventProximity event);
6946
 
                public virtual signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
6947
 
                [HasEmitter]
6948
 
                public virtual signal void realize ();
6949
 
                public virtual signal void screen_changed (Gdk.Screen? previous_screen);
6950
 
                public virtual signal bool scroll_event (Gdk.EventScroll event);
6951
 
                public virtual signal bool selection_clear_event (Gdk.EventSelection event);
6952
 
                public virtual signal void selection_get (Gtk.SelectionData selection_data, uint info, uint time_);
6953
 
                public virtual signal bool selection_notify_event (Gdk.EventSelection event);
6954
 
                public virtual signal void selection_received (Gtk.SelectionData selection_data, uint time_);
6955
 
                public virtual signal bool selection_request_event (Gdk.EventSelection event);
6956
 
                [HasEmitter]
6957
 
                public virtual signal void show ();
6958
 
                public virtual signal bool show_help (Gtk.WidgetHelpType help_type);
6959
 
                [HasEmitter]
6960
 
                public virtual signal void size_allocate (Gtk.Allocation allocation);
6961
 
                public virtual signal void state_changed (Gtk.StateType previous_state);
6962
 
                public virtual signal void state_flags_changed (Gtk.StateFlags previous_state_flags);
6963
 
                public virtual signal void style_set (Gtk.Style? previous_style);
6964
 
                public virtual signal void style_updated ();
6965
 
                public virtual signal bool touch_event (Gdk.EventTouch event);
6966
 
                [HasEmitter]
6967
 
                public virtual signal void unmap ();
6968
 
                public virtual signal bool unmap_event (Gdk.EventAny event);
6969
 
                [HasEmitter]
6970
 
                public virtual signal void unrealize ();
6971
 
                public virtual signal bool visibility_notify_event (Gdk.EventVisibility event);
6972
 
                public virtual signal bool window_state_event (Gdk.EventWindowState event);
6973
 
        }
6974
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_widget_accessible_get_type ()")]
6975
 
        public class WidgetAccessible : Gtk.Accessible, Atk.Component {
6976
 
                [CCode (has_construct_function = false)]
6977
 
                protected WidgetAccessible ();
6978
 
                [NoWrapper]
6979
 
                public virtual void notify_gtk (GLib.Object object, GLib.ParamSpec pspec);
6980
 
        }
6981
 
        [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_widget_path_ref", type_id = "gtk_widget_path_get_type ()", unref_function = "gtk_widget_path_unref")]
6982
 
        [Compact]
6983
 
        public class WidgetPath {
6984
 
                [CCode (has_construct_function = false)]
6985
 
                public WidgetPath ();
6986
 
                public int append_for_widget (Gtk.Widget widget);
6987
 
                public int append_type (GLib.Type type);
6988
 
                public int append_with_siblings (Gtk.WidgetPath siblings, uint sibling_index);
6989
 
                public Gtk.WidgetPath copy ();
6990
 
                public GLib.Type get_object_type ();
6991
 
                public bool has_parent (GLib.Type type);
6992
 
                public bool is_type (GLib.Type type);
6993
 
                public void iter_add_class (int pos, string name);
6994
 
                public void iter_add_region (int pos, string name, Gtk.RegionFlags flags);
6995
 
                public void iter_clear_classes (int pos);
6996
 
                public void iter_clear_regions (int pos);
6997
 
                public unowned string iter_get_name (int pos);
6998
 
                public unowned string? iter_get_object_name (int pos);
6999
 
                public GLib.Type iter_get_object_type (int pos);
7000
 
                public uint iter_get_sibling_index (int pos);
7001
 
                public unowned Gtk.WidgetPath iter_get_siblings (int pos);
7002
 
                public Gtk.StateFlags iter_get_state (int pos);
7003
 
                public bool iter_has_class (int pos, string name);
7004
 
                public bool iter_has_name (int pos, string name);
7005
 
                public bool iter_has_qclass (int pos, GLib.Quark qname);
7006
 
                public bool iter_has_qname (int pos, GLib.Quark qname);
7007
 
                public bool iter_has_qregion (int pos, GLib.Quark qname, out Gtk.RegionFlags flags);
7008
 
                public bool iter_has_region (int pos, string name, out Gtk.RegionFlags flags);
7009
 
                public GLib.SList<weak string> iter_list_classes (int pos);
7010
 
                public GLib.SList<weak string> iter_list_regions (int pos);
7011
 
                public void iter_remove_class (int pos, string name);
7012
 
                public void iter_remove_region (int pos, string name);
7013
 
                public void iter_set_name (int pos, string name);
7014
 
                public void iter_set_object_name (int pos, string? name);
7015
 
                public void iter_set_object_type (int pos, GLib.Type type);
7016
 
                public void iter_set_state (int pos, Gtk.StateFlags state);
7017
 
                public int length ();
7018
 
                public void prepend_type (GLib.Type type);
7019
 
                public string to_string ();
7020
 
        }
7021
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_get_type ()")]
7022
 
        public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
7023
 
                [CCode (has_construct_function = false, type = "GtkWidget*")]
7024
 
                public Window (Gtk.WindowType type = Gtk.WindowType.TOPLEVEL);
7025
 
                public bool activate_default ();
7026
 
                public bool activate_focus ();
7027
 
                public bool activate_key (Gdk.EventKey event);
7028
 
                public void add_accel_group (Gtk.AccelGroup accel_group);
7029
 
                public void add_mnemonic (uint keyval, Gtk.Widget target);
7030
 
                public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
7031
 
                public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
7032
 
                public void close ();
7033
 
                public void deiconify ();
7034
 
                public void fullscreen ();
7035
 
                public void fullscreen_on_monitor (Gdk.Screen screen, int monitor);
7036
 
                public bool get_accept_focus ();
7037
 
                public unowned Gtk.Application? get_application ();
7038
 
                public unowned Gtk.Widget? get_attached_to ();
7039
 
                public bool get_decorated ();
7040
 
                public static GLib.List<weak Gdk.Pixbuf> get_default_icon_list ();
7041
 
                public static unowned string get_default_icon_name ();
7042
 
                public void get_default_size (out int width, out int height);
7043
 
                public unowned Gtk.Widget? get_default_widget ();
7044
 
                public bool get_deletable ();
7045
 
                public bool get_destroy_with_parent ();
7046
 
                public unowned Gtk.Widget? get_focus ();
7047
 
                public bool get_focus_on_map ();
7048
 
                public bool get_focus_visible ();
7049
 
                public Gdk.Gravity get_gravity ();
7050
 
                public unowned Gtk.WindowGroup get_group ();
7051
 
                public bool get_has_resize_grip ();
7052
 
                public bool get_hide_titlebar_when_maximized ();
7053
 
                public unowned Gdk.Pixbuf get_icon ();
7054
 
                public GLib.List<weak Gdk.Pixbuf> get_icon_list ();
7055
 
                public unowned string? get_icon_name ();
7056
 
                public Gdk.ModifierType get_mnemonic_modifier ();
7057
 
                public bool get_mnemonics_visible ();
7058
 
                public bool get_modal ();
7059
 
                public double get_opacity ();
7060
 
                public void get_position (out int root_x, out int root_y);
7061
 
                public bool get_resizable ();
7062
 
                public bool get_resize_grip_area (out Gdk.Rectangle rect);
7063
 
                public unowned string? get_role ();
7064
 
                public unowned Gdk.Screen get_screen ();
7065
 
                public void get_size (out int width, out int height);
7066
 
                public bool get_skip_pager_hint ();
7067
 
                public bool get_skip_taskbar_hint ();
7068
 
                public unowned string? get_title ();
7069
 
                public unowned Gtk.Widget? get_titlebar ();
7070
 
                public unowned Gtk.Window? get_transient_for ();
7071
 
                public Gdk.WindowTypeHint get_type_hint ();
7072
 
                public bool get_urgency_hint ();
7073
 
                public Gtk.WindowType get_window_type ();
7074
 
                public bool has_group ();
7075
 
                public void iconify ();
7076
 
                public static GLib.List<weak Gtk.Window> list_toplevels ();
7077
 
                public void maximize ();
7078
 
                public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier);
7079
 
                public void move (int x, int y);
7080
 
                public bool parse_geometry (string geometry);
7081
 
                public void present ();
7082
 
                public void present_with_time (uint32 timestamp);
7083
 
                public bool propagate_key_event (Gdk.EventKey event);
7084
 
                public void remove_accel_group (Gtk.AccelGroup accel_group);
7085
 
                public void remove_mnemonic (uint keyval, Gtk.Widget target);
7086
 
                public void reshow_with_initial_size ();
7087
 
                public void resize (int width, int height);
7088
 
                public bool resize_grip_is_visible ();
7089
 
                public void resize_to_geometry (int width, int height);
7090
 
                public void set_accept_focus (bool setting);
7091
 
                public void set_application (Gtk.Application? application);
7092
 
                public void set_attached_to (Gtk.Widget? attach_widget);
7093
 
                public static void set_auto_startup_notification (bool setting);
7094
 
                public void set_decorated (bool setting);
7095
 
                public void set_default (Gtk.Widget? default_widget);
7096
 
                public void set_default_geometry (int width, int height);
7097
 
                public static void set_default_icon (Gdk.Pixbuf icon);
7098
 
                public static bool set_default_icon_from_file (string filename) throws GLib.Error;
7099
 
                public static void set_default_icon_list (owned GLib.List<weak Gdk.Pixbuf> list);
7100
 
                public static void set_default_icon_name (string name);
7101
 
                public void set_default_size (int width, int height);
7102
 
                public void set_deletable (bool setting);
7103
 
                public void set_destroy_with_parent (bool setting);
7104
 
                public void set_focus_on_map (bool setting);
7105
 
                public void set_focus_visible (bool setting);
7106
 
                public void set_geometry_hints (Gtk.Widget? geometry_widget, Gdk.Geometry? geometry, Gdk.WindowHints geom_mask);
7107
 
                public void set_gravity (Gdk.Gravity gravity);
7108
 
                public void set_has_resize_grip (bool value);
7109
 
                public void set_has_user_ref_count (bool setting);
7110
 
                public void set_hide_titlebar_when_maximized (bool setting);
7111
 
                public void set_icon (Gdk.Pixbuf? icon);
7112
 
                public bool set_icon_from_file (string filename) throws GLib.Error;
7113
 
                public void set_icon_list (GLib.List<Gdk.Pixbuf> list);
7114
 
                public void set_icon_name (string? name);
7115
 
                public static void set_interactive_debugging (bool enable);
7116
 
                public void set_keep_above (bool setting);
7117
 
                public void set_keep_below (bool setting);
7118
 
                public void set_mnemonic_modifier (Gdk.ModifierType modifier);
7119
 
                public void set_mnemonics_visible (bool setting);
7120
 
                public void set_modal (bool modal);
7121
 
                public void set_opacity (double opacity);
7122
 
                public void set_position (Gtk.WindowPosition position);
7123
 
                public void set_resizable (bool resizable);
7124
 
                public void set_role (string role);
7125
 
                public void set_screen (Gdk.Screen screen);
7126
 
                public void set_skip_pager_hint (bool setting);
7127
 
                public void set_skip_taskbar_hint (bool setting);
7128
 
                public void set_startup_id (string startup_id);
7129
 
                public void set_title (string title);
7130
 
                public void set_titlebar (Gtk.Widget? titlebar);
7131
 
                public void set_transient_for (Gtk.Window? parent);
7132
 
                public void set_type_hint (Gdk.WindowTypeHint hint);
7133
 
                public void set_urgency_hint (bool setting);
7134
 
                public void set_wmclass (string wmclass_name, string wmclass_class);
7135
 
                public void stick ();
7136
 
                public void unfullscreen ();
7137
 
                public void unmaximize ();
7138
 
                public void unstick ();
7139
 
                public bool accept_focus { get; set; }
7140
 
                public Gtk.Application application { get; set; }
7141
 
                public Gtk.Widget attached_to { get; set construct; }
7142
 
                public bool decorated { get; set; }
7143
 
                [NoAccessorMethod]
7144
 
                public int default_height { get; set; }
7145
 
                [NoAccessorMethod]
7146
 
                public int default_width { get; set; }
7147
 
                public bool deletable { get; set; }
7148
 
                public bool destroy_with_parent { get; set; }
7149
 
                public bool focus_on_map { get; set; }
7150
 
                public bool focus_visible { get; set; }
7151
 
                public Gdk.Gravity gravity { get; set; }
7152
 
                public bool has_resize_grip { get; set; }
7153
 
                [NoAccessorMethod]
7154
 
                public bool has_toplevel_focus { get; }
7155
 
                public bool hide_titlebar_when_maximized { get; set; }
7156
 
                public Gdk.Pixbuf icon { get; set; }
7157
 
                public string icon_name { get; set; }
7158
 
                [NoAccessorMethod]
7159
 
                public bool is_active { get; }
7160
 
                [NoAccessorMethod]
7161
 
                public bool is_maximized { get; }
7162
 
                public bool mnemonics_visible { get; set; }
7163
 
                public bool modal { get; set; }
7164
 
                public bool resizable { get; set; }
7165
 
                [NoAccessorMethod]
7166
 
                public bool resize_grip_visible { get; }
7167
 
                public string role { get; set; }
7168
 
                public Gdk.Screen screen { get; set; }
7169
 
                public bool skip_pager_hint { get; set; }
7170
 
                public bool skip_taskbar_hint { get; set; }
7171
 
                public string startup_id { set; }
7172
 
                public string title { get; set; }
7173
 
                public Gtk.Window transient_for { get; set construct; }
7174
 
                [NoAccessorMethod]
7175
 
                public Gtk.WindowType type { get; construct; }
7176
 
                public Gdk.WindowTypeHint type_hint { get; set; }
7177
 
                public bool urgency_hint { get; set; }
7178
 
                [NoAccessorMethod]
7179
 
                public Gtk.WindowPosition window_position { get; set; }
7180
 
                [CCode (cname = "activate_default")]
7181
 
                [Version (experimental = true)]
7182
 
                public virtual signal void default_activated ();
7183
 
                public virtual signal bool enable_debugging (bool toggle);
7184
 
                [CCode (cname = "activate_focus")]
7185
 
                [Version (experimental = true)]
7186
 
                public virtual signal void focus_activated ();
7187
 
                public virtual signal void keys_changed ();
7188
 
                [HasEmitter]
7189
 
                public virtual signal void set_focus (Gtk.Widget? focus);
7190
 
        }
7191
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_window_accessible_get_type ()")]
7192
 
        public class WindowAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Window {
7193
 
                [CCode (has_construct_function = false)]
7194
 
                protected WindowAccessible ();
7195
 
        }
7196
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7197
 
        [Compact]
7198
 
        public class WindowGeometryInfo {
7199
 
        }
7200
 
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_group_get_type ()")]
7201
 
        public class WindowGroup : GLib.Object {
7202
 
                [CCode (has_construct_function = false)]
7203
 
                public WindowGroup ();
7204
 
                public void add_window (Gtk.Window window);
7205
 
                public unowned Gtk.Widget? get_current_device_grab (Gdk.Device device);
7206
 
                public unowned Gtk.Widget get_current_grab ();
7207
 
                public GLib.List<weak Gtk.Window> list_windows ();
7208
 
                public void remove_window (Gtk.Window window);
7209
 
        }
7210
 
        [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkActionableInterface")]
7211
 
        public interface Actionable : Gtk.Widget {
7212
 
                public abstract unowned string? get_action_name ();
7213
 
                public abstract unowned GLib.Variant get_action_target_value ();
7214
 
                public abstract void set_action_name (string action_name);
7215
 
                public void set_action_target (string format_string, ...);
7216
 
                public abstract void set_action_target_value (GLib.Variant target_value);
7217
 
                public void set_detailed_action_name (string detailed_action_name);
7218
 
                public string action_name { get; set; }
7219
 
                [NoAccessorMethod]
7220
 
                public GLib.Variant action_target { owned get; set; }
7221
 
        }
7222
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7223
 
        public interface Activatable : GLib.Object {
7224
 
                public void do_set_related_action (Gtk.Action action);
7225
 
                public unowned Gtk.Action get_related_action ();
7226
 
                public bool get_use_action_appearance ();
7227
 
                public void set_related_action (Gtk.Action action);
7228
 
                public void set_use_action_appearance (bool use_appearance);
7229
 
                public abstract void sync_action_properties (Gtk.Action action);
7230
 
                [NoWrapper]
7231
 
                public abstract void update (Gtk.Action action, string property_name);
7232
 
                public Gtk.Action related_action { get; set; }
7233
 
                public bool use_action_appearance { get; set; }
7234
 
        }
7235
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7236
 
        public interface AppChooser : Gtk.Widget {
7237
 
                public GLib.AppInfo get_app_info ();
7238
 
                public string get_content_type ();
7239
 
                public void refresh ();
7240
 
                public string content_type { owned get; construct; }
7241
 
        }
7242
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7243
 
        public interface Buildable : GLib.Object {
7244
 
                public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type);
7245
 
                public abstract GLib.Object construct_child (Gtk.Builder builder, string name);
7246
 
                public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
7247
 
                public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
7248
 
                public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data);
7249
 
                public abstract unowned GLib.Object get_internal_child (Gtk.Builder builder, string childname);
7250
 
                public abstract unowned string get_name ();
7251
 
                public abstract void parser_finished (Gtk.Builder builder);
7252
 
                public abstract void set_buildable_property (Gtk.Builder builder, string name, GLib.Value value);
7253
 
                public abstract void set_name (string name);
7254
 
        }
7255
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7256
 
        public interface CellAccessibleParent : GLib.Object {
7257
 
                public abstract void activate (Gtk.CellAccessible cell);
7258
 
                public abstract void edit (Gtk.CellAccessible cell);
7259
 
                public abstract void expand_collapse (Gtk.CellAccessible cell);
7260
 
                public abstract void get_cell_area (Gtk.CellAccessible cell, Gdk.Rectangle cell_rect);
7261
 
                public abstract void get_cell_extents (Gtk.CellAccessible cell, int x, int y, int width, int height, Atk.CoordType coord_type);
7262
 
                public abstract int get_child_index (Gtk.CellAccessible cell);
7263
 
                public abstract Gtk.CellRendererState get_renderer_state (Gtk.CellAccessible cell);
7264
 
                public abstract bool grab_focus (Gtk.CellAccessible cell);
7265
 
                public abstract void update_relationset (Gtk.CellAccessible cell, Atk.RelationSet relationset);
7266
 
        }
7267
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7268
 
        public interface CellEditable : Gtk.Widget {
7269
 
                public abstract void start_editing (Gdk.Event? event);
7270
 
                [NoAccessorMethod]
7271
 
                public bool editing_canceled { get; set; }
7272
 
                [HasEmitter]
7273
 
                public signal void editing_done ();
7274
 
                [HasEmitter]
7275
 
                public signal void remove_widget ();
7276
 
        }
7277
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7278
 
        public interface CellLayout : GLib.Object {
7279
 
                public abstract void add_attribute (Gtk.CellRenderer cell, string attribute, int column);
7280
 
                public abstract void clear ();
7281
 
                public abstract void clear_attributes (Gtk.CellRenderer cell);
7282
 
                public abstract unowned Gtk.CellArea get_area ();
7283
 
                public abstract GLib.List<weak Gtk.CellRenderer> get_cells ();
7284
 
                public abstract void pack_end (Gtk.CellRenderer cell, bool expand);
7285
 
                public abstract void pack_start (Gtk.CellRenderer cell, bool expand);
7286
 
                public abstract void reorder (Gtk.CellRenderer cell, int position);
7287
 
                public void set_attributes (Gtk.CellRenderer cell, ...);
7288
 
                public abstract void set_cell_data_func (Gtk.CellRenderer cell, owned Gtk.CellLayoutDataFunc func);
7289
 
        }
7290
 
        [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkColorChooserInterface")]
7291
 
        public interface ColorChooser : GLib.Object {
7292
 
                public abstract void add_palette (Gtk.Orientation orientation, int colors_per_line, [CCode (array_length_pos = 2.9)] Gdk.RGBA[]? colors);
7293
 
                public abstract Gdk.RGBA get_rgba ();
7294
 
                public bool get_use_alpha ();
7295
 
                public abstract void set_rgba (Gdk.RGBA color);
7296
 
                public void set_use_alpha (bool use_alpha);
7297
 
                public Gdk.RGBA rgba { get; set; }
7298
 
                public bool use_alpha { get; set; }
7299
 
                public signal void color_activated (Gdk.RGBA color);
7300
 
        }
7301
 
        [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkEditableInterface")]
7302
 
        public interface Editable : GLib.Object {
7303
 
                public void copy_clipboard ();
7304
 
                public void cut_clipboard ();
7305
 
                public void delete_selection ();
7306
 
                [NoWrapper]
7307
 
                public abstract void do_delete_text (int start_pos, int end_pos);
7308
 
                [NoWrapper]
7309
 
                public abstract void do_insert_text (string new_text, int new_text_length, ref int position);
7310
 
                public abstract string get_chars (int start_pos = 0, int end_pos = -1);
7311
 
                public bool get_editable ();
7312
 
                public abstract int get_position ();
7313
 
                public abstract bool get_selection_bounds (out int start_pos, out int end_pos);
7314
 
                public void paste_clipboard ();
7315
 
                [CCode (vfunc_name = "set_selection_bounds")]
7316
 
                public abstract void select_region (int start_pos, int end_pos);
7317
 
                public void set_editable (bool is_editable);
7318
 
                public abstract void set_position (int position);
7319
 
                public signal void changed ();
7320
 
                [HasEmitter]
7321
 
                public signal void delete_text (int start_pos, int end_pos);
7322
 
                [HasEmitter]
7323
 
                public signal void insert_text (string new_text, int new_text_length, ref int position);
7324
 
        }
7325
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7326
 
        public interface FileChooser : GLib.Object {
7327
 
                public void add_filter (owned Gtk.FileFilter filter);
7328
 
                public bool add_shortcut_folder (string folder) throws GLib.Error;
7329
 
                public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
7330
 
                public Gtk.FileChooserAction get_action ();
7331
 
                public bool get_create_folders ();
7332
 
                public string get_current_folder ();
7333
 
                public GLib.File get_current_folder_file ();
7334
 
                public string get_current_folder_uri ();
7335
 
                public string get_current_name ();
7336
 
                public bool get_do_overwrite_confirmation ();
7337
 
                public unowned Gtk.Widget get_extra_widget ();
7338
 
                public GLib.File get_file ();
7339
 
                public string get_filename ();
7340
 
                public GLib.SList<string> get_filenames ();
7341
 
                public GLib.SList<GLib.File> get_files ();
7342
 
                public unowned Gtk.FileFilter get_filter ();
7343
 
                public bool get_local_only ();
7344
 
                public GLib.File get_preview_file ();
7345
 
                public string get_preview_filename ();
7346
 
                public string get_preview_uri ();
7347
 
                public unowned Gtk.Widget get_preview_widget ();
7348
 
                public bool get_preview_widget_active ();
7349
 
                public bool get_select_multiple ();
7350
 
                public bool get_show_hidden ();
7351
 
                public string get_uri ();
7352
 
                public GLib.SList<string> get_uris ();
7353
 
                public bool get_use_preview_label ();
7354
 
                public GLib.SList<weak Gtk.FileFilter> list_filters ();
7355
 
                public GLib.SList<string>? list_shortcut_folder_uris ();
7356
 
                public GLib.SList<string>? list_shortcut_folders ();
7357
 
                public void remove_filter (Gtk.FileFilter filter);
7358
 
                public bool remove_shortcut_folder (string folder) throws GLib.Error;
7359
 
                public bool remove_shortcut_folder_uri (string uri) throws GLib.Error;
7360
 
                public void select_all ();
7361
 
                public bool select_file (GLib.File file) throws GLib.Error;
7362
 
                public bool select_filename (string filename);
7363
 
                public bool select_uri (string uri);
7364
 
                public void set_action (Gtk.FileChooserAction action);
7365
 
                public void set_create_folders (bool create_folders);
7366
 
                public bool set_current_folder (string filename);
7367
 
                public bool set_current_folder_file (GLib.File file) throws GLib.Error;
7368
 
                public bool set_current_folder_uri (string uri);
7369
 
                public void set_current_name (string name);
7370
 
                public void set_do_overwrite_confirmation (bool do_overwrite_confirmation);
7371
 
                public void set_extra_widget (Gtk.Widget extra_widget);
7372
 
                public bool set_file (GLib.File file) throws GLib.Error;
7373
 
                public bool set_filename (string filename);
7374
 
                public void set_filter (Gtk.FileFilter filter);
7375
 
                public void set_local_only (bool local_only);
7376
 
                public void set_preview_widget (Gtk.Widget preview_widget);
7377
 
                public void set_preview_widget_active (bool active);
7378
 
                public void set_select_multiple (bool select_multiple);
7379
 
                public void set_show_hidden (bool show_hidden);
7380
 
                public bool set_uri (string uri);
7381
 
                public void set_use_preview_label (bool use_label);
7382
 
                public void unselect_all ();
7383
 
                public void unselect_file (GLib.File file);
7384
 
                public void unselect_filename (string filename);
7385
 
                public void unselect_uri (string uri);
7386
 
                public Gtk.FileChooserAction action { get; set; }
7387
 
                public bool create_folders { get; set; }
7388
 
                public bool do_overwrite_confirmation { get; set; }
7389
 
                public Gtk.Widget extra_widget { get; set; }
7390
 
                public Gtk.FileFilter filter { get; set; }
7391
 
                public bool local_only { get; set; }
7392
 
                public Gtk.Widget preview_widget { get; set; }
7393
 
                public bool preview_widget_active { get; set; }
7394
 
                public bool select_multiple { get; set; }
7395
 
                public bool show_hidden { get; set; }
7396
 
                public bool use_preview_label { get; set; }
7397
 
                public signal Gtk.FileChooserConfirmation confirm_overwrite ();
7398
 
                public signal void current_folder_changed ();
7399
 
                public signal void file_activated ();
7400
 
                public signal void selection_changed ();
7401
 
                public signal void update_preview ();
7402
 
        }
7403
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7404
 
        public interface FileChooserEmbed : GLib.Object {
7405
 
        }
7406
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7407
 
        public interface FontChooser : GLib.Object {
7408
 
                public string get_font ();
7409
 
                public Pango.FontDescription get_font_desc ();
7410
 
                public abstract unowned Pango.FontFace get_font_face ();
7411
 
                public abstract unowned Pango.FontFamily get_font_family ();
7412
 
                public abstract Pango.FontMap? get_font_map ();
7413
 
                public abstract int get_font_size ();
7414
 
                public string get_preview_text ();
7415
 
                public bool get_show_preview_entry ();
7416
 
                public abstract void set_filter_func (owned Gtk.FontFilterFunc filter);
7417
 
                public void set_font (string fontname);
7418
 
                public void set_font_desc (Pango.FontDescription font_desc);
7419
 
                public abstract void set_font_map (Pango.FontMap fontmap);
7420
 
                public void set_preview_text (string text);
7421
 
                public void set_show_preview_entry (bool show_preview_entry);
7422
 
                public string font { owned get; set; }
7423
 
                public Pango.FontDescription font_desc { owned get; set; }
7424
 
                public string preview_text { owned get; set; }
7425
 
                public bool show_preview_entry { get; set; }
7426
 
                public signal void font_activated (string fontname);
7427
 
        }
7428
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7429
 
        public interface Orientable : GLib.Object {
7430
 
                public Gtk.Orientation get_orientation ();
7431
 
                public void set_orientation (Gtk.Orientation orientation);
7432
 
                public Gtk.Orientation orientation { get; set; }
7433
 
        }
7434
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7435
 
        public interface PrintOperationPreview : GLib.Object {
7436
 
                public abstract void end_preview ();
7437
 
                public abstract bool is_selected (int page_nr);
7438
 
                public abstract void render_page (int page_nr);
7439
 
                public signal void got_page_size (Gtk.PrintContext context, Gtk.PageSetup page_setup);
7440
 
                public signal void ready (Gtk.PrintContext context);
7441
 
        }
7442
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7443
 
        public interface RecentChooser : GLib.Object {
7444
 
                public abstract void add_filter (Gtk.RecentFilter filter);
7445
 
                public Gtk.RecentInfo get_current_item ();
7446
 
                public abstract string get_current_uri ();
7447
 
                public unowned Gtk.RecentFilter get_filter ();
7448
 
                public abstract GLib.List<Gtk.RecentInfo> get_items ();
7449
 
                public int get_limit ();
7450
 
                public bool get_local_only ();
7451
 
                [NoWrapper]
7452
 
                public abstract unowned Gtk.RecentManager get_recent_manager ();
7453
 
                public bool get_select_multiple ();
7454
 
                public bool get_show_icons ();
7455
 
                public bool get_show_not_found ();
7456
 
                public bool get_show_private ();
7457
 
                public bool get_show_tips ();
7458
 
                public Gtk.RecentSortType get_sort_type ();
7459
 
                public string[] get_uris ();
7460
 
                public abstract GLib.SList<weak Gtk.RecentFilter> list_filters ();
7461
 
                public abstract void remove_filter (Gtk.RecentFilter filter);
7462
 
                public abstract void select_all ();
7463
 
                public abstract bool select_uri (string uri) throws GLib.Error;
7464
 
                public abstract bool set_current_uri (string uri) throws GLib.Error;
7465
 
                public void set_filter (Gtk.RecentFilter filter);
7466
 
                public void set_limit (int limit);
7467
 
                public void set_local_only (bool local_only);
7468
 
                public void set_select_multiple (bool select_multiple);
7469
 
                public void set_show_icons (bool show_icons);
7470
 
                public void set_show_not_found (bool show_not_found);
7471
 
                public void set_show_private (bool show_private);
7472
 
                public void set_show_tips (bool show_tips);
7473
 
                public abstract void set_sort_func (owned Gtk.RecentSortFunc sort_func);
7474
 
                public void set_sort_type (Gtk.RecentSortType sort_type);
7475
 
                public abstract void unselect_all ();
7476
 
                public abstract void unselect_uri (string uri);
7477
 
                public Gtk.RecentFilter filter { get; set; }
7478
 
                public int limit { get; set; }
7479
 
                public bool local_only { get; set; }
7480
 
                public Gtk.RecentManager recent_manager { construct; }
7481
 
                public bool select_multiple { get; set; }
7482
 
                public bool show_icons { get; set; }
7483
 
                public bool show_not_found { get; set; }
7484
 
                public bool show_private { get; set; }
7485
 
                public bool show_tips { get; set; }
7486
 
                public Gtk.RecentSortType sort_type { get; set; }
7487
 
                public signal void item_activated ();
7488
 
                public signal void selection_changed ();
7489
 
        }
7490
 
        [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkScrollableInterface")]
7491
 
        public interface Scrollable : GLib.Object {
7492
 
                public virtual bool get_border (out Gtk.Border border);
7493
 
                public unowned Gtk.Adjustment get_hadjustment ();
7494
 
                public Gtk.ScrollablePolicy get_hscroll_policy ();
7495
 
                public unowned Gtk.Adjustment get_vadjustment ();
7496
 
                public Gtk.ScrollablePolicy get_vscroll_policy ();
7497
 
                public void set_hadjustment (Gtk.Adjustment hadjustment);
7498
 
                public void set_hscroll_policy (Gtk.ScrollablePolicy policy);
7499
 
                public void set_vadjustment (Gtk.Adjustment vadjustment);
7500
 
                public void set_vscroll_policy (Gtk.ScrollablePolicy policy);
7501
 
                public Gtk.Adjustment hadjustment { get; set construct; }
7502
 
                public Gtk.ScrollablePolicy hscroll_policy { get; set; }
7503
 
                public Gtk.Adjustment vadjustment { get; set construct; }
7504
 
                public Gtk.ScrollablePolicy vscroll_policy { get; set; }
7505
 
        }
7506
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7507
 
        public interface StyleProvider : GLib.Object {
7508
 
                public abstract unowned Gtk.IconFactory get_icon_factory (Gtk.WidgetPath path);
7509
 
                public abstract Gtk.StyleProperties get_style (Gtk.WidgetPath path);
7510
 
                public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state, GLib.ParamSpec pspec, out GLib.Value value);
7511
 
        }
7512
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7513
 
        public interface ToolShell : Gtk.Widget {
7514
 
                public abstract Pango.EllipsizeMode get_ellipsize_mode ();
7515
 
                public abstract Gtk.IconSize get_icon_size ();
7516
 
                public abstract Gtk.Orientation get_orientation ();
7517
 
                public abstract Gtk.ReliefStyle get_relief_style ();
7518
 
                public abstract Gtk.ToolbarStyle get_style ();
7519
 
                public abstract float get_text_alignment ();
7520
 
                public abstract Gtk.Orientation get_text_orientation ();
7521
 
                public abstract unowned Gtk.SizeGroup get_text_size_group ();
7522
 
                public abstract void rebuild_menu ();
7523
 
        }
7524
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7525
 
        public interface TreeDragDest : GLib.Object {
7526
 
                public abstract bool drag_data_received (Gtk.TreePath dest, Gtk.SelectionData selection_data);
7527
 
                public abstract bool row_drop_possible (Gtk.TreePath dest_path, Gtk.SelectionData selection_data);
7528
 
        }
7529
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7530
 
        public interface TreeDragSource : GLib.Object {
7531
 
                public abstract bool drag_data_delete (Gtk.TreePath path);
7532
 
                public abstract bool drag_data_get (Gtk.TreePath path, Gtk.SelectionData selection_data);
7533
 
                public abstract bool row_draggable (Gtk.TreePath path);
7534
 
        }
7535
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7536
 
        public interface TreeModel : GLib.Object {
7537
 
                public void @foreach (Gtk.TreeModelForeachFunc func);
7538
 
                [CCode (sentinel = "-1")]
7539
 
                public void @get (Gtk.TreeIter iter, ...);
7540
 
                public abstract GLib.Type get_column_type (int index_);
7541
 
                public abstract Gtk.TreeModelFlags get_flags ();
7542
 
                public abstract bool get_iter (out Gtk.TreeIter iter, Gtk.TreePath path);
7543
 
                public bool get_iter_first (out Gtk.TreeIter iter);
7544
 
                public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
7545
 
                public abstract int get_n_columns ();
7546
 
                public abstract Gtk.TreePath? get_path (Gtk.TreeIter iter);
7547
 
                public string get_string_from_iter (Gtk.TreeIter iter);
7548
 
                public void get_valist (Gtk.TreeIter iter, va_list var_args);
7549
 
                public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
7550
 
                public abstract bool iter_children (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
7551
 
                public abstract bool iter_has_child (Gtk.TreeIter iter);
7552
 
                public abstract int iter_n_children (Gtk.TreeIter? iter);
7553
 
                public abstract bool iter_next (ref Gtk.TreeIter iter);
7554
 
                public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
7555
 
                public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
7556
 
                public virtual bool iter_previous (ref Gtk.TreeIter iter);
7557
 
                public virtual void ref_node (Gtk.TreeIter iter);
7558
 
                public void rows_reordered_with_length (Gtk.TreePath path, Gtk.TreeIter? iter, [CCode (array_length_pos = 3.1)] int[] new_order);
7559
 
                public virtual void unref_node (Gtk.TreeIter iter);
7560
 
                [HasEmitter]
7561
 
                public signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter);
7562
 
                [HasEmitter]
7563
 
                public signal void row_deleted (Gtk.TreePath path);
7564
 
                [HasEmitter]
7565
 
                public signal void row_has_child_toggled (Gtk.TreePath path, Gtk.TreeIter iter);
7566
 
                [HasEmitter]
7567
 
                public signal void row_inserted (Gtk.TreePath path, Gtk.TreeIter iter);
7568
 
                [HasEmitter]
7569
 
                public signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter? iter, [CCode (array_length = false)] int[] new_order);
7570
 
        }
7571
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7572
 
        public interface TreeSortable : Gtk.TreeModel, GLib.Object {
7573
 
                public abstract bool get_sort_column_id (out int sort_column_id, out Gtk.SortType order);
7574
 
                public abstract bool has_default_sort_func ();
7575
 
                public abstract void set_default_sort_func (owned Gtk.TreeIterCompareFunc sort_func);
7576
 
                public abstract void set_sort_column_id (int sort_column_id, Gtk.SortType order);
7577
 
                public abstract void set_sort_func (int sort_column_id, owned Gtk.TreeIterCompareFunc sort_func);
7578
 
                [HasEmitter]
7579
 
                public signal void sort_column_changed ();
7580
 
        }
7581
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7582
 
        public struct AccelGroupEntry {
7583
 
                public Gtk.AccelKey key;
7584
 
                public weak GLib.Closure closure;
7585
 
                public GLib.Quark accel_path_quark;
7586
 
        }
7587
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7588
 
        public struct AccelKey {
7589
 
                public uint accel_key;
7590
 
                public Gdk.ModifierType accel_mods;
7591
 
                public uint accel_flags;
7592
 
        }
7593
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7594
 
        public struct ActionEntry {
7595
 
                public weak string name;
7596
 
                public weak string stock_id;
7597
 
                public weak string label;
7598
 
                public weak string accelerator;
7599
 
                public weak string tooltip;
7600
 
                [CCode (delegate_target = false, type = "GCallback")]
7601
 
                public weak Gtk.ActionCallback callback;
7602
 
        }
7603
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7604
 
        public struct Allocation : Gdk.Rectangle {
7605
 
        }
7606
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7607
 
        public struct BindingArg {
7608
 
                [CCode (cname = "d.long_data")]
7609
 
                public long long_data;
7610
 
                [CCode (cname = "d.double_data")]
7611
 
                public double double_data;
7612
 
                [CCode (cname = "d.string_data")]
7613
 
                public weak string string_data;
7614
 
                public GLib.Type arg_type;
7615
 
        }
7616
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7617
 
        public struct Border {
7618
 
                public int16 left;
7619
 
                public int16 right;
7620
 
                public int16 top;
7621
 
                public int16 bottom;
7622
 
        }
7623
 
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h")]
7624
 
        public struct IMContextInfo {
7625
 
                public weak string context_id;
7626
 
                public weak string context_name;
7627
 
                public weak string domain;
7628
 
                public weak string domain_dirname;
7629
 
                public weak string default_locales;
7630
 
        }
7631
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7632
 
        public struct PageRange {
7633
 
                public int start;
7634
 
                public int end;
7635
 
        }
7636
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7637
 
        public struct RadioActionEntry {
7638
 
                public weak string name;
7639
 
                public weak string stock_id;
7640
 
                public weak string label;
7641
 
                public weak string accelerator;
7642
 
                public weak string tooltip;
7643
 
                public int value;
7644
 
        }
7645
 
        [CCode (cheader_filename = "gtk/gtk.h", has_copy_function = false, has_destroy_function = false)]
7646
 
        public struct RecentData {
7647
 
                public string display_name;
7648
 
                public string description;
7649
 
                public string mime_type;
7650
 
                public string app_name;
7651
 
                public string app_exec;
7652
 
                [CCode (array_length = false, array_null_terminated = true)]
7653
 
                public string[] groups;
7654
 
                public bool is_private;
7655
 
        }
7656
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7657
 
        public struct RecentFilterInfo {
7658
 
                public Gtk.RecentFilterFlags contains;
7659
 
                public weak string uri;
7660
 
                public weak string display_name;
7661
 
                public weak string mime_type;
7662
 
                [CCode (array_length = false, array_null_terminated = true)]
7663
 
                public weak string[] applications;
7664
 
                [CCode (array_length = false, array_null_terminated = true)]
7665
 
                public weak string[] groups;
7666
 
                public int age;
7667
 
        }
7668
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7669
 
        public struct RequestedSize {
7670
 
                public void* data;
7671
 
                public int minimum_size;
7672
 
                public int natural_size;
7673
 
        }
7674
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7675
 
        public struct Requisition {
7676
 
                public int width;
7677
 
                public int height;
7678
 
                public Gtk.Requisition copy ();
7679
 
                public void free ();
7680
 
        }
7681
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7682
 
        public struct SettingsValue {
7683
 
                public weak string origin;
7684
 
                public GLib.Value value;
7685
 
        }
7686
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7687
 
        public struct StockItem {
7688
 
                public weak string stock_id;
7689
 
                public weak string label;
7690
 
                public Gdk.ModifierType modifier;
7691
 
                public uint keyval;
7692
 
                public weak string translation_domain;
7693
 
                public Gtk.StockItem copy ();
7694
 
                public void free ();
7695
 
        }
7696
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7697
 
        public struct TargetEntry {
7698
 
                public weak string target;
7699
 
                public uint flags;
7700
 
                public uint info;
7701
 
                public Gtk.TargetEntry copy ();
7702
 
                public void free ();
7703
 
        }
7704
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7705
 
        public struct TextAppearance {
7706
 
                public Gdk.Color bg_color;
7707
 
                public Gdk.Color fg_color;
7708
 
                public int rise;
7709
 
                public uint underline;
7710
 
                public uint strikethrough;
7711
 
                public uint draw_bg;
7712
 
                public uint inside_selection;
7713
 
                public uint is_text;
7714
 
                [CCode (array_length = false)]
7715
 
                public Gdk.RGBA[] rgba;
7716
 
        }
7717
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7718
 
        public struct TextIter {
7719
 
                public void assign (Gtk.TextIter other);
7720
 
                public bool backward_char ();
7721
 
                public bool backward_chars (int count);
7722
 
                public bool backward_cursor_position ();
7723
 
                public bool backward_cursor_positions (int count);
7724
 
                public bool backward_find_char (Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
7725
 
                public bool backward_line ();
7726
 
                public bool backward_lines (int count);
7727
 
                public bool backward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
7728
 
                public bool backward_sentence_start ();
7729
 
                public bool backward_sentence_starts (int count);
7730
 
                public bool backward_to_tag_toggle (Gtk.TextTag? tag);
7731
 
                public bool backward_visible_cursor_position ();
7732
 
                public bool backward_visible_cursor_positions (int count);
7733
 
                public bool backward_visible_line ();
7734
 
                public bool backward_visible_lines (int count);
7735
 
                public bool backward_visible_word_start ();
7736
 
                public bool backward_visible_word_starts (int count);
7737
 
                public bool backward_word_start ();
7738
 
                public bool backward_word_starts (int count);
7739
 
                public bool begins_tag (Gtk.TextTag? tag);
7740
 
                public bool can_insert (bool default_editability);
7741
 
                public int compare (Gtk.TextIter rhs);
7742
 
                public Gtk.TextIter? copy ();
7743
 
                public bool editable (bool default_setting);
7744
 
                public bool ends_line ();
7745
 
                public bool ends_sentence ();
7746
 
                public bool ends_tag (Gtk.TextTag? tag);
7747
 
                public bool ends_word ();
7748
 
                public bool equal (Gtk.TextIter rhs);
7749
 
                public bool forward_char ();
7750
 
                public bool forward_chars (int count);
7751
 
                public bool forward_cursor_position ();
7752
 
                public bool forward_cursor_positions (int count);
7753
 
                public bool forward_find_char (Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
7754
 
                public bool forward_line ();
7755
 
                public bool forward_lines (int count);
7756
 
                public bool forward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
7757
 
                public bool forward_sentence_end ();
7758
 
                public bool forward_sentence_ends (int count);
7759
 
                public void forward_to_end ();
7760
 
                public bool forward_to_line_end ();
7761
 
                public bool forward_to_tag_toggle (Gtk.TextTag? tag);
7762
 
                public bool forward_visible_cursor_position ();
7763
 
                public bool forward_visible_cursor_positions (int count);
7764
 
                public bool forward_visible_line ();
7765
 
                public bool forward_visible_lines (int count);
7766
 
                public bool forward_visible_word_end ();
7767
 
                public bool forward_visible_word_ends (int count);
7768
 
                public bool forward_word_end ();
7769
 
                public bool forward_word_ends (int count);
7770
 
                public void free ();
7771
 
                public bool get_attributes (Gtk.TextAttributes values);
7772
 
                public unowned Gtk.TextBuffer get_buffer ();
7773
 
                public int get_bytes_in_line ();
7774
 
                public unichar get_char ();
7775
 
                public int get_chars_in_line ();
7776
 
                public unowned Gtk.TextChildAnchor get_child_anchor ();
7777
 
                public Pango.Language get_language ();
7778
 
                public int get_line ();
7779
 
                public int get_line_index ();
7780
 
                public int get_line_offset ();
7781
 
                public GLib.SList<weak Gtk.TextMark> get_marks ();
7782
 
                public int get_offset ();
7783
 
                public unowned Gdk.Pixbuf get_pixbuf ();
7784
 
                public string get_slice (Gtk.TextIter end);
7785
 
                public GLib.SList<weak Gtk.TextTag> get_tags ();
7786
 
                public string get_text (Gtk.TextIter end);
7787
 
                public GLib.SList<weak Gtk.TextTag> get_toggled_tags (bool toggled_on);
7788
 
                public int get_visible_line_index ();
7789
 
                public int get_visible_line_offset ();
7790
 
                public string get_visible_slice (Gtk.TextIter end);
7791
 
                public string get_visible_text (Gtk.TextIter end);
7792
 
                public bool has_tag (Gtk.TextTag tag);
7793
 
                public bool in_range (Gtk.TextIter start, Gtk.TextIter end);
7794
 
                public bool inside_sentence ();
7795
 
                public bool inside_word ();
7796
 
                public bool is_cursor_position ();
7797
 
                public bool is_end ();
7798
 
                public bool is_start ();
7799
 
                public void order (Gtk.TextIter second);
7800
 
                public void set_line (int line_number);
7801
 
                public void set_line_index (int byte_on_line);
7802
 
                public void set_line_offset (int char_on_line);
7803
 
                public void set_offset (int char_offset);
7804
 
                public void set_visible_line_index (int byte_on_line);
7805
 
                public void set_visible_line_offset (int char_on_line);
7806
 
                public bool starts_line ();
7807
 
                public bool starts_sentence ();
7808
 
                public bool starts_tag (Gtk.TextTag tag);
7809
 
                public bool starts_word ();
7810
 
                public bool toggles_tag (Gtk.TextTag tag);
7811
 
        }
7812
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7813
 
        public struct ToggleActionEntry {
7814
 
                public weak string name;
7815
 
                public weak string stock_id;
7816
 
                public weak string label;
7817
 
                public weak string accelerator;
7818
 
                public weak string tooltip;
7819
 
                [CCode (delegate_target = false, type = "GCallback")]
7820
 
                public weak Gtk.ActionCallback callback;
7821
 
                public bool is_active;
7822
 
        }
7823
 
        [CCode (cheader_filename = "gtk/gtk.h")]
7824
 
        public struct TreeIter {
7825
 
                public int stamp;
7826
 
                public void* user_data;
7827
 
                public void* user_data2;
7828
 
                public void* user_data3;
7829
 
        }
7830
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ACCEL_")]
7831
 
        [Flags]
7832
 
        public enum AccelFlags {
7833
 
                VISIBLE,
7834
 
                LOCKED,
7835
 
                MASK
7836
 
        }
7837
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ALIGN_")]
7838
 
        public enum Align {
7839
 
                FILL,
7840
 
                START,
7841
 
                END,
7842
 
                CENTER,
7843
 
                BASELINE
7844
 
        }
7845
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_INHIBIT_")]
7846
 
        [Flags]
7847
 
        public enum ApplicationInhibitFlags {
7848
 
                LOGOUT,
7849
 
                SWITCH,
7850
 
                SUSPEND,
7851
 
                IDLE
7852
 
        }
7853
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROWS_")]
7854
 
        public enum ArrowPlacement {
7855
 
                BOTH,
7856
 
                START,
7857
 
                END
7858
 
        }
7859
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROW_")]
7860
 
        public enum ArrowType {
7861
 
                UP,
7862
 
                DOWN,
7863
 
                LEFT,
7864
 
                RIGHT,
7865
 
                NONE
7866
 
        }
7867
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ASSISTANT_PAGE_")]
7868
 
        public enum AssistantPageType {
7869
 
                CONTENT,
7870
 
                INTRO,
7871
 
                CONFIRM,
7872
 
                SUMMARY,
7873
 
                PROGRESS,
7874
 
                CUSTOM
7875
 
        }
7876
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_")]
7877
 
        [Flags]
7878
 
        public enum AttachOptions {
7879
 
                EXPAND,
7880
 
                SHRINK,
7881
 
                FILL
7882
 
        }
7883
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BASELINE_POSITION_")]
7884
 
        public enum BaselinePosition {
7885
 
                TOP,
7886
 
                CENTER,
7887
 
                BOTTOM
7888
 
        }
7889
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BORDER_STYLE_")]
7890
 
        public enum BorderStyle {
7891
 
                NONE,
7892
 
                SOLID,
7893
 
                INSET,
7894
 
                OUTSET,
7895
 
                HIDDEN,
7896
 
                DOTTED,
7897
 
                DASHED,
7898
 
                DOUBLE,
7899
 
                GROOVE,
7900
 
                RIDGE
7901
 
        }
7902
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONBOX_")]
7903
 
        public enum ButtonBoxStyle {
7904
 
                SPREAD,
7905
 
                EDGE,
7906
 
                START,
7907
 
                END,
7908
 
                CENTER,
7909
 
                EXPAND
7910
 
        }
7911
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTON_ROLE_")]
7912
 
        public enum ButtonRole {
7913
 
                NORMAL,
7914
 
                CHECK,
7915
 
                RADIO
7916
 
        }
7917
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONS_")]
7918
 
        public enum ButtonsType {
7919
 
                NONE,
7920
 
                OK,
7921
 
                CLOSE,
7922
 
                CANCEL,
7923
 
                YES_NO,
7924
 
                OK_CANCEL
7925
 
        }
7926
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CALENDAR_")]
7927
 
        [Flags]
7928
 
        public enum CalendarDisplayOptions {
7929
 
                SHOW_HEADING,
7930
 
                SHOW_DAY_NAMES,
7931
 
                NO_MONTH_CHANGE,
7932
 
                SHOW_WEEK_NUMBERS,
7933
 
                SHOW_DETAILS
7934
 
        }
7935
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_ACCEL_MODE_")]
7936
 
        public enum CellRendererAccelMode {
7937
 
                GTK,
7938
 
                OTHER
7939
 
        }
7940
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_MODE_")]
7941
 
        public enum CellRendererMode {
7942
 
                INERT,
7943
 
                ACTIVATABLE,
7944
 
                EDITABLE
7945
 
        }
7946
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_")]
7947
 
        [Flags]
7948
 
        public enum CellRendererState {
7949
 
                SELECTED,
7950
 
                PRELIT,
7951
 
                INSENSITIVE,
7952
 
                SORTED,
7953
 
                FOCUSED,
7954
 
                EXPANDABLE,
7955
 
                EXPANDED
7956
 
        }
7957
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CORNER_")]
7958
 
        public enum CornerType {
7959
 
                TOP_LEFT,
7960
 
                BOTTOM_LEFT,
7961
 
                TOP_RIGHT,
7962
 
                BOTTOM_RIGHT
7963
 
        }
7964
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_")]
7965
 
        public enum CssSectionType {
7966
 
                DOCUMENT,
7967
 
                IMPORT,
7968
 
                COLOR_DEFINITION,
7969
 
                BINDING_SET,
7970
 
                RULESET,
7971
 
                SELECTOR,
7972
 
                DECLARATION,
7973
 
                VALUE,
7974
 
                KEYFRAMES
7975
 
        }
7976
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEBUG_")]
7977
 
        [Flags]
7978
 
        public enum DebugFlag {
7979
 
                MISC,
7980
 
                PLUGSOCKET,
7981
 
                TEXT,
7982
 
                TREE,
7983
 
                UPDATES,
7984
 
                KEYBINDINGS,
7985
 
                MULTIHEAD,
7986
 
                MODULES,
7987
 
                GEOMETRY,
7988
 
                ICONTHEME,
7989
 
                PRINTING,
7990
 
                BUILDER,
7991
 
                SIZE_REQUEST,
7992
 
                NO_CSS_CACHE,
7993
 
                BASELINES,
7994
 
                PIXEL_CACHE,
7995
 
                NO_PIXEL_CACHE,
7996
 
                INTERACTIVE,
7997
 
                TOUCHSCREEN,
7998
 
                ACTIONS,
7999
 
                RESIZE,
8000
 
                LAYOUT
8001
 
        }
8002
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DELETE_")]
8003
 
        public enum DeleteType {
8004
 
                CHARS,
8005
 
                WORD_ENDS,
8006
 
                WORDS,
8007
 
                DISPLAY_LINES,
8008
 
                DISPLAY_LINE_ENDS,
8009
 
                PARAGRAPH_ENDS,
8010
 
                PARAGRAPHS,
8011
 
                WHITESPACE
8012
 
        }
8013
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEST_DEFAULT_")]
8014
 
        [Flags]
8015
 
        public enum DestDefaults {
8016
 
                MOTION,
8017
 
                HIGHLIGHT,
8018
 
                DROP,
8019
 
                ALL
8020
 
        }
8021
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIALOG_")]
8022
 
        [Flags]
8023
 
        public enum DialogFlags {
8024
 
                MODAL,
8025
 
                DESTROY_WITH_PARENT,
8026
 
                USE_HEADER_BAR
8027
 
        }
8028
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIR_")]
8029
 
        public enum DirectionType {
8030
 
                TAB_FORWARD,
8031
 
                TAB_BACKWARD,
8032
 
                UP,
8033
 
                DOWN,
8034
 
                LEFT,
8035
 
                RIGHT
8036
 
        }
8037
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DRAG_RESULT_")]
8038
 
        public enum DragResult {
8039
 
                SUCCESS,
8040
 
                NO_TARGET,
8041
 
                USER_CANCELLED,
8042
 
                TIMEOUT_EXPIRED,
8043
 
                GRAB_BROKEN,
8044
 
                ERROR
8045
 
        }
8046
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ENTRY_ICON_")]
8047
 
        public enum EntryIconPosition {
8048
 
                PRIMARY,
8049
 
                SECONDARY
8050
 
        }
8051
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EVENT_SEQUENCE_")]
8052
 
        public enum EventSequenceState {
8053
 
                NONE,
8054
 
                CLAIMED,
8055
 
                DENIED
8056
 
        }
8057
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EXPANDER_")]
8058
 
        public enum ExpanderStyle {
8059
 
                COLLAPSED,
8060
 
                SEMI_COLLAPSED,
8061
 
                SEMI_EXPANDED,
8062
 
                EXPANDED
8063
 
        }
8064
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ACTION_")]
8065
 
        public enum FileChooserAction {
8066
 
                OPEN,
8067
 
                SAVE,
8068
 
                SELECT_FOLDER,
8069
 
                CREATE_FOLDER
8070
 
        }
8071
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_")]
8072
 
        public enum FileChooserConfirmation {
8073
 
                CONFIRM,
8074
 
                ACCEPT_FILENAME,
8075
 
                SELECT_AGAIN
8076
 
        }
8077
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_FILTER_")]
8078
 
        [Flags]
8079
 
        public enum FileFilterFlags {
8080
 
                FILENAME,
8081
 
                URI,
8082
 
                DISPLAY_NAME,
8083
 
                MIME_TYPE
8084
 
        }
8085
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_PREEDIT_")]
8086
 
        public enum IMPreeditStyle {
8087
 
                NOTHING,
8088
 
                CALLBACK,
8089
 
                NONE
8090
 
        }
8091
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_STATUS_")]
8092
 
        public enum IMStatusStyle {
8093
 
                NOTHING,
8094
 
                CALLBACK,
8095
 
                NONE
8096
 
        }
8097
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_LOOKUP_")]
8098
 
        [Flags]
8099
 
        public enum IconLookupFlags {
8100
 
                NO_SVG,
8101
 
                FORCE_SVG,
8102
 
                USE_BUILTIN,
8103
 
                GENERIC_FALLBACK,
8104
 
                FORCE_SIZE,
8105
 
                FORCE_REGULAR,
8106
 
                FORCE_SYMBOLIC,
8107
 
                DIR_LTR,
8108
 
                DIR_RTL
8109
 
        }
8110
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_SIZE_")]
8111
 
        public enum IconSize {
8112
 
                INVALID,
8113
 
                MENU,
8114
 
                SMALL_TOOLBAR,
8115
 
                LARGE_TOOLBAR,
8116
 
                BUTTON,
8117
 
                DND,
8118
 
                DIALOG
8119
 
        }
8120
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_VIEW_")]
8121
 
        public enum IconViewDropPosition {
8122
 
                NO_DROP,
8123
 
                DROP_INTO,
8124
 
                DROP_LEFT,
8125
 
                DROP_RIGHT,
8126
 
                DROP_ABOVE,
8127
 
                DROP_BELOW
8128
 
        }
8129
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IMAGE_")]
8130
 
        public enum ImageType {
8131
 
                EMPTY,
8132
 
                PIXBUF,
8133
 
                STOCK,
8134
 
                ICON_SET,
8135
 
                ANIMATION,
8136
 
                ICON_NAME,
8137
 
                GICON,
8138
 
                SURFACE
8139
 
        }
8140
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_HINT_")]
8141
 
        [Flags]
8142
 
        public enum InputHints {
8143
 
                NONE,
8144
 
                SPELLCHECK,
8145
 
                NO_SPELLCHECK,
8146
 
                WORD_COMPLETION,
8147
 
                LOWERCASE,
8148
 
                UPPERCASE_CHARS,
8149
 
                UPPERCASE_WORDS,
8150
 
                UPPERCASE_SENTENCES,
8151
 
                INHIBIT_OSK,
8152
 
                VERTICAL_WRITING
8153
 
        }
8154
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_PURPOSE_")]
8155
 
        public enum InputPurpose {
8156
 
                FREE_FORM,
8157
 
                ALPHA,
8158
 
                DIGITS,
8159
 
                NUMBER,
8160
 
                PHONE,
8161
 
                URL,
8162
 
                EMAIL,
8163
 
                NAME,
8164
 
                PASSWORD,
8165
 
                PIN
8166
 
        }
8167
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUNCTION_")]
8168
 
        [Flags]
8169
 
        public enum JunctionSides {
8170
 
                NONE,
8171
 
                CORNER_TOPLEFT,
8172
 
                CORNER_TOPRIGHT,
8173
 
                CORNER_BOTTOMLEFT,
8174
 
                CORNER_BOTTOMRIGHT,
8175
 
                TOP,
8176
 
                BOTTOM,
8177
 
                LEFT,
8178
 
                RIGHT
8179
 
        }
8180
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUSTIFY_")]
8181
 
        public enum Justification {
8182
 
                LEFT,
8183
 
                RIGHT,
8184
 
                CENTER,
8185
 
                FILL
8186
 
        }
8187
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LEVEL_BAR_MODE_")]
8188
 
        public enum LevelBarMode {
8189
 
                CONTINUOUS,
8190
 
                DISCRETE
8191
 
        }
8192
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LICENSE_")]
8193
 
        public enum License {
8194
 
                UNKNOWN,
8195
 
                CUSTOM,
8196
 
                GPL_2_0,
8197
 
                GPL_3_0,
8198
 
                LGPL_2_1,
8199
 
                LGPL_3_0,
8200
 
                BSD,
8201
 
                MIT_X11,
8202
 
                ARTISTIC,
8203
 
                GPL_2_0_ONLY,
8204
 
                GPL_3_0_ONLY,
8205
 
                LGPL_2_1_ONLY,
8206
 
                LGPL_3_0_ONLY
8207
 
        }
8208
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MENU_DIR_")]
8209
 
        public enum MenuDirectionType {
8210
 
                PARENT,
8211
 
                CHILD,
8212
 
                NEXT,
8213
 
                PREV
8214
 
        }
8215
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MESSAGE_")]
8216
 
        public enum MessageType {
8217
 
                INFO,
8218
 
                WARNING,
8219
 
                QUESTION,
8220
 
                ERROR,
8221
 
                OTHER
8222
 
        }
8223
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MOVEMENT_")]
8224
 
        public enum MovementStep {
8225
 
                LOGICAL_POSITIONS,
8226
 
                VISUAL_POSITIONS,
8227
 
                WORDS,
8228
 
                DISPLAY_LINES,
8229
 
                DISPLAY_LINE_ENDS,
8230
 
                PARAGRAPHS,
8231
 
                PARAGRAPH_ENDS,
8232
 
                PAGES,
8233
 
                BUFFER_ENDS,
8234
 
                HORIZONTAL_PAGES
8235
 
        }
8236
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NOTEBOOK_TAB_")]
8237
 
        public enum NotebookTab {
8238
 
                FIRST,
8239
 
                LAST
8240
 
        }
8241
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NUMBER_UP_LAYOUT_")]
8242
 
        public enum NumberUpLayout {
8243
 
                LEFT_TO_RIGHT_TOP_TO_BOTTOM,
8244
 
                LEFT_TO_RIGHT_BOTTOM_TO_TOP,
8245
 
                RIGHT_TO_LEFT_TOP_TO_BOTTOM,
8246
 
                RIGHT_TO_LEFT_BOTTOM_TO_TOP,
8247
 
                TOP_TO_BOTTOM_LEFT_TO_RIGHT,
8248
 
                TOP_TO_BOTTOM_RIGHT_TO_LEFT,
8249
 
                BOTTOM_TO_TOP_LEFT_TO_RIGHT,
8250
 
                BOTTOM_TO_TOP_RIGHT_TO_LEFT
8251
 
        }
8252
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ORIENTATION_")]
8253
 
        public enum Orientation {
8254
 
                HORIZONTAL,
8255
 
                VERTICAL
8256
 
        }
8257
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_DIRECTION_")]
8258
 
        public enum PackDirection {
8259
 
                LTR,
8260
 
                RTL,
8261
 
                TTB,
8262
 
                BTT
8263
 
        }
8264
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_")]
8265
 
        public enum PackType {
8266
 
                START,
8267
 
                END
8268
 
        }
8269
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_ORIENTATION_")]
8270
 
        public enum PageOrientation {
8271
 
                PORTRAIT,
8272
 
                LANDSCAPE,
8273
 
                REVERSE_PORTRAIT,
8274
 
                REVERSE_LANDSCAPE
8275
 
        }
8276
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_SET_")]
8277
 
        public enum PageSet {
8278
 
                ALL,
8279
 
                EVEN,
8280
 
                ODD
8281
 
        }
8282
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAN_DIRECTION_")]
8283
 
        public enum PanDirection {
8284
 
                LEFT,
8285
 
                RIGHT,
8286
 
                UP,
8287
 
                DOWN
8288
 
        }
8289
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_PRIO_")]
8290
 
        public enum PathPriorityType {
8291
 
                LOWEST,
8292
 
                GTK,
8293
 
                APPLICATION,
8294
 
                THEME,
8295
 
                RC,
8296
 
                HIGHEST
8297
 
        }
8298
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_")]
8299
 
        public enum PathType {
8300
 
                WIDGET,
8301
 
                WIDGET_CLASS,
8302
 
                CLASS
8303
 
        }
8304
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PLACES_OPEN_")]
8305
 
        [Flags]
8306
 
        public enum PlacesOpenFlags {
8307
 
                NORMAL,
8308
 
                NEW_TAB,
8309
 
                NEW_WINDOW
8310
 
        }
8311
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POLICY_")]
8312
 
        public enum PolicyType {
8313
 
                ALWAYS,
8314
 
                AUTOMATIC,
8315
 
                NEVER,
8316
 
                EXTERNAL
8317
 
        }
8318
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POPOVER_CONSTRAINT_")]
8319
 
        public enum PopoverConstraint {
8320
 
                NONE,
8321
 
                WINDOW
8322
 
        }
8323
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POS_")]
8324
 
        public enum PositionType {
8325
 
                LEFT,
8326
 
                RIGHT,
8327
 
                TOP,
8328
 
                BOTTOM
8329
 
        }
8330
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_DUPLEX_")]
8331
 
        public enum PrintDuplex {
8332
 
                SIMPLEX,
8333
 
                HORIZONTAL,
8334
 
                VERTICAL
8335
 
        }
8336
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_ACTION_")]
8337
 
        public enum PrintOperationAction {
8338
 
                PRINT_DIALOG,
8339
 
                PRINT,
8340
 
                PREVIEW,
8341
 
                EXPORT
8342
 
        }
8343
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_RESULT_")]
8344
 
        public enum PrintOperationResult {
8345
 
                ERROR,
8346
 
                APPLY,
8347
 
                CANCEL,
8348
 
                IN_PROGRESS
8349
 
        }
8350
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_PAGES_")]
8351
 
        public enum PrintPages {
8352
 
                ALL,
8353
 
                CURRENT,
8354
 
                RANGES,
8355
 
                SELECTION
8356
 
        }
8357
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_QUALITY_")]
8358
 
        public enum PrintQuality {
8359
 
                LOW,
8360
 
                NORMAL,
8361
 
                HIGH,
8362
 
                DRAFT
8363
 
        }
8364
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_STATUS_")]
8365
 
        public enum PrintStatus {
8366
 
                INITIAL,
8367
 
                PREPARING,
8368
 
                GENERATING_DATA,
8369
 
                SENDING_DATA,
8370
 
                PENDING,
8371
 
                PENDING_ISSUE,
8372
 
                PRINTING,
8373
 
                FINISHED,
8374
 
                FINISHED_ABORTED
8375
 
        }
8376
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PHASE_")]
8377
 
        public enum PropagationPhase {
8378
 
                NONE,
8379
 
                CAPTURE,
8380
 
                BUBBLE,
8381
 
                TARGET
8382
 
        }
8383
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_")]
8384
 
        [Flags]
8385
 
        public enum RcFlags {
8386
 
                FG,
8387
 
                BG,
8388
 
                TEXT,
8389
 
                BASE
8390
 
        }
8391
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_TOKEN_")]
8392
 
        public enum RcTokenType {
8393
 
                INVALID,
8394
 
                INCLUDE,
8395
 
                NORMAL,
8396
 
                ACTIVE,
8397
 
                PRELIGHT,
8398
 
                SELECTED,
8399
 
                INSENSITIVE,
8400
 
                FG,
8401
 
                BG,
8402
 
                TEXT,
8403
 
                BASE,
8404
 
                XTHICKNESS,
8405
 
                YTHICKNESS,
8406
 
                FONT,
8407
 
                FONTSET,
8408
 
                FONT_NAME,
8409
 
                BG_PIXMAP,
8410
 
                PIXMAP_PATH,
8411
 
                STYLE,
8412
 
                BINDING,
8413
 
                BIND,
8414
 
                WIDGET,
8415
 
                WIDGET_CLASS,
8416
 
                CLASS,
8417
 
                LOWEST,
8418
 
                GTK,
8419
 
                APPLICATION,
8420
 
                THEME,
8421
 
                RC,
8422
 
                HIGHEST,
8423
 
                ENGINE,
8424
 
                MODULE_PATH,
8425
 
                IM_MODULE_PATH,
8426
 
                IM_MODULE_FILE,
8427
 
                STOCK,
8428
 
                LTR,
8429
 
                RTL,
8430
 
                COLOR,
8431
 
                UNBIND,
8432
 
                LAST
8433
 
        }
8434
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_FILTER_")]
8435
 
        [Flags]
8436
 
        public enum RecentFilterFlags {
8437
 
                URI,
8438
 
                DISPLAY_NAME,
8439
 
                MIME_TYPE,
8440
 
                APPLICATION,
8441
 
                GROUP,
8442
 
                AGE
8443
 
        }
8444
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_SORT_")]
8445
 
        public enum RecentSortType {
8446
 
                NONE,
8447
 
                MRU,
8448
 
                LRU,
8449
 
                CUSTOM
8450
 
        }
8451
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REGION_")]
8452
 
        [Flags]
8453
 
        public enum RegionFlags {
8454
 
                EVEN,
8455
 
                ODD,
8456
 
                FIRST,
8457
 
                LAST,
8458
 
                ONLY,
8459
 
                SORTED
8460
 
        }
8461
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RELIEF_")]
8462
 
        public enum ReliefStyle {
8463
 
                NORMAL,
8464
 
                HALF,
8465
 
                NONE
8466
 
        }
8467
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESIZE_")]
8468
 
        public enum ResizeMode {
8469
 
                PARENT,
8470
 
                QUEUE,
8471
 
                [Version (deprecated = true)]
8472
 
                IMMEDIATE
8473
 
        }
8474
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESPONSE_")]
8475
 
        public enum ResponseType {
8476
 
                NONE,
8477
 
                REJECT,
8478
 
                ACCEPT,
8479
 
                DELETE_EVENT,
8480
 
                OK,
8481
 
                CANCEL,
8482
 
                CLOSE,
8483
 
                YES,
8484
 
                NO,
8485
 
                APPLY,
8486
 
                HELP
8487
 
        }
8488
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REVEALER_TRANSITION_TYPE_")]
8489
 
        public enum RevealerTransitionType {
8490
 
                NONE,
8491
 
                CROSSFADE,
8492
 
                SLIDE_RIGHT,
8493
 
                SLIDE_LEFT,
8494
 
                SLIDE_UP,
8495
 
                SLIDE_DOWN
8496
 
        }
8497
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_")]
8498
 
        public enum ScrollStep {
8499
 
                STEPS,
8500
 
                PAGES,
8501
 
                ENDS,
8502
 
                HORIZONTAL_STEPS,
8503
 
                HORIZONTAL_PAGES,
8504
 
                HORIZONTAL_ENDS
8505
 
        }
8506
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_")]
8507
 
        public enum ScrollType {
8508
 
                NONE,
8509
 
                JUMP,
8510
 
                STEP_BACKWARD,
8511
 
                STEP_FORWARD,
8512
 
                PAGE_BACKWARD,
8513
 
                PAGE_FORWARD,
8514
 
                STEP_UP,
8515
 
                STEP_DOWN,
8516
 
                PAGE_UP,
8517
 
                PAGE_DOWN,
8518
 
                STEP_LEFT,
8519
 
                STEP_RIGHT,
8520
 
                PAGE_LEFT,
8521
 
                PAGE_RIGHT,
8522
 
                START,
8523
 
                END
8524
 
        }
8525
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_")]
8526
 
        public enum ScrollablePolicy {
8527
 
                MINIMUM,
8528
 
                NATURAL
8529
 
        }
8530
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SELECTION_")]
8531
 
        public enum SelectionMode {
8532
 
                NONE,
8533
 
                SINGLE,
8534
 
                BROWSE,
8535
 
                MULTIPLE
8536
 
        }
8537
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SENSITIVITY_")]
8538
 
        public enum SensitivityType {
8539
 
                AUTO,
8540
 
                ON,
8541
 
                OFF
8542
 
        }
8543
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHADOW_")]
8544
 
        public enum ShadowType {
8545
 
                NONE,
8546
 
                IN,
8547
 
                OUT,
8548
 
                ETCHED_IN,
8549
 
                ETCHED_OUT
8550
 
        }
8551
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHORTCUT_")]
8552
 
        public enum ShortcutType {
8553
 
                ACCELERATOR,
8554
 
                GESTURE_PINCH,
8555
 
                GESTURE_STRETCH,
8556
 
                GESTURE_ROTATE_CLOCKWISE,
8557
 
                GESTURE_ROTATE_COUNTERCLOCKWISE,
8558
 
                GESTURE_TWO_FINGER_SWIPE_LEFT,
8559
 
                GESTURE_TWO_FINGER_SWIPE_RIGHT,
8560
 
                GESTURE
8561
 
        }
8562
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_GROUP_")]
8563
 
        public enum SizeGroupMode {
8564
 
                NONE,
8565
 
                HORIZONTAL,
8566
 
                VERTICAL,
8567
 
                BOTH
8568
 
        }
8569
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_REQUEST_")]
8570
 
        public enum SizeRequestMode {
8571
 
                HEIGHT_FOR_WIDTH,
8572
 
                WIDTH_FOR_HEIGHT,
8573
 
                CONSTANT_SIZE
8574
 
        }
8575
 
        [CCode (cheader_filename = "gtk/gtk.h", cname = "gint")]
8576
 
        public enum SortColumn {
8577
 
                [CCode (cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
8578
 
                DEFAULT,
8579
 
                [CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
8580
 
                UNSORTED
8581
 
        }
8582
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SORT_")]
8583
 
        public enum SortType {
8584
 
                ASCENDING,
8585
 
                DESCENDING
8586
 
        }
8587
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UPDATE_")]
8588
 
        public enum SpinButtonUpdatePolicy {
8589
 
                ALWAYS,
8590
 
                IF_VALID
8591
 
        }
8592
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SPIN_")]
8593
 
        public enum SpinType {
8594
 
                STEP_FORWARD,
8595
 
                STEP_BACKWARD,
8596
 
                PAGE_FORWARD,
8597
 
                PAGE_BACKWARD,
8598
 
                HOME,
8599
 
                END,
8600
 
                USER_DEFINED
8601
 
        }
8602
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STACK_TRANSITION_TYPE_")]
8603
 
        public enum StackTransitionType {
8604
 
                NONE,
8605
 
                CROSSFADE,
8606
 
                SLIDE_RIGHT,
8607
 
                SLIDE_LEFT,
8608
 
                SLIDE_UP,
8609
 
                SLIDE_DOWN,
8610
 
                SLIDE_LEFT_RIGHT,
8611
 
                SLIDE_UP_DOWN,
8612
 
                OVER_UP,
8613
 
                OVER_DOWN,
8614
 
                OVER_LEFT,
8615
 
                OVER_RIGHT,
8616
 
                UNDER_UP,
8617
 
                UNDER_DOWN,
8618
 
                UNDER_LEFT,
8619
 
                UNDER_RIGHT,
8620
 
                OVER_UP_DOWN,
8621
 
                OVER_DOWN_UP,
8622
 
                OVER_LEFT_RIGHT,
8623
 
                OVER_RIGHT_LEFT
8624
 
        }
8625
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_FLAG_")]
8626
 
        [Flags]
8627
 
        public enum StateFlags {
8628
 
                NORMAL,
8629
 
                ACTIVE,
8630
 
                PRELIGHT,
8631
 
                SELECTED,
8632
 
                INSENSITIVE,
8633
 
                INCONSISTENT,
8634
 
                FOCUSED,
8635
 
                BACKDROP,
8636
 
                DIR_LTR,
8637
 
                DIR_RTL,
8638
 
                LINK,
8639
 
                VISITED,
8640
 
                CHECKED,
8641
 
                DROP_ACTIVE
8642
 
        }
8643
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_")]
8644
 
        public enum StateType {
8645
 
                NORMAL,
8646
 
                ACTIVE,
8647
 
                PRELIGHT,
8648
 
                SELECTED,
8649
 
                INSENSITIVE,
8650
 
                INCONSISTENT,
8651
 
                FOCUSED
8652
 
        }
8653
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STYLE_CONTEXT_PRINT_")]
8654
 
        [Flags]
8655
 
        public enum StyleContextPrintFlags {
8656
 
                NONE,
8657
 
                RECURSE,
8658
 
                SHOW_STYLE
8659
 
        }
8660
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TARGET_")]
8661
 
        [Flags]
8662
 
        public enum TargetFlags {
8663
 
                SAME_APP,
8664
 
                SAME_WIDGET,
8665
 
                OTHER_APP,
8666
 
                OTHER_WIDGET
8667
 
        }
8668
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_BUFFER_TARGET_INFO_")]
8669
 
        public enum TextBufferTargetInfo {
8670
 
                BUFFER_CONTENTS,
8671
 
                RICH_TEXT,
8672
 
                TEXT
8673
 
        }
8674
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_DIR_")]
8675
 
        public enum TextDirection {
8676
 
                NONE,
8677
 
                LTR,
8678
 
                RTL
8679
 
        }
8680
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_EXTEND_SELECTION_")]
8681
 
        public enum TextExtendSelection {
8682
 
                WORD,
8683
 
                LINE
8684
 
        }
8685
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_SEARCH_")]
8686
 
        [Flags]
8687
 
        public enum TextSearchFlags {
8688
 
                VISIBLE_ONLY,
8689
 
                TEXT_ONLY,
8690
 
                CASE_INSENSITIVE
8691
 
        }
8692
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_VIEW_LAYER_")]
8693
 
        public enum TextViewLayer {
8694
 
                BELOW,
8695
 
                ABOVE,
8696
 
                BELOW_TEXT,
8697
 
                ABOVE_TEXT
8698
 
        }
8699
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_WINDOW_")]
8700
 
        public enum TextWindowType {
8701
 
                PRIVATE,
8702
 
                WIDGET,
8703
 
                TEXT,
8704
 
                LEFT,
8705
 
                RIGHT,
8706
 
                TOP,
8707
 
                BOTTOM
8708
 
        }
8709
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOL_PALETTE_DRAG_")]
8710
 
        [Flags]
8711
 
        public enum ToolPaletteDragTargets {
8712
 
                ITEMS,
8713
 
                GROUPS
8714
 
        }
8715
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_SPACE_")]
8716
 
        public enum ToolbarSpaceStyle {
8717
 
                EMPTY,
8718
 
                LINE
8719
 
        }
8720
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_")]
8721
 
        public enum ToolbarStyle {
8722
 
                ICONS,
8723
 
                TEXT,
8724
 
                BOTH,
8725
 
                BOTH_HORIZ
8726
 
        }
8727
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_MODEL_")]
8728
 
        [Flags]
8729
 
        public enum TreeModelFlags {
8730
 
                ITERS_PERSIST,
8731
 
                LIST_ONLY
8732
 
        }
8733
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_COLUMN_")]
8734
 
        public enum TreeViewColumnSizing {
8735
 
                GROW_ONLY,
8736
 
                AUTOSIZE,
8737
 
                FIXED
8738
 
        }
8739
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_DROP_")]
8740
 
        public enum TreeViewDropPosition {
8741
 
                BEFORE,
8742
 
                AFTER,
8743
 
                INTO_OR_BEFORE,
8744
 
                INTO_OR_AFTER
8745
 
        }
8746
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_GRID_LINES_")]
8747
 
        public enum TreeViewGridLines {
8748
 
                NONE,
8749
 
                HORIZONTAL,
8750
 
                VERTICAL,
8751
 
                BOTH
8752
 
        }
8753
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UI_MANAGER_")]
8754
 
        [Flags]
8755
 
        public enum UIManagerItemType {
8756
 
                AUTO,
8757
 
                MENUBAR,
8758
 
                MENU,
8759
 
                TOOLBAR,
8760
 
                PLACEHOLDER,
8761
 
                POPUP,
8762
 
                MENUITEM,
8763
 
                TOOLITEM,
8764
 
                SEPARATOR,
8765
 
                ACCELERATOR,
8766
 
                POPUP_WITH_ACCELS
8767
 
        }
8768
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UNIT_")]
8769
 
        public enum Unit {
8770
 
                NONE,
8771
 
                POINTS,
8772
 
                INCH,
8773
 
                MM
8774
 
        }
8775
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIDGET_HELP_")]
8776
 
        public enum WidgetHelpType {
8777
 
                TOOLTIP,
8778
 
                WHATS_THIS
8779
 
        }
8780
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIN_POS_")]
8781
 
        public enum WindowPosition {
8782
 
                NONE,
8783
 
                CENTER,
8784
 
                MOUSE,
8785
 
                CENTER_ALWAYS,
8786
 
                CENTER_ON_PARENT
8787
 
        }
8788
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WINDOW_")]
8789
 
        public enum WindowType {
8790
 
                TOPLEVEL,
8791
 
                POPUP
8792
 
        }
8793
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WRAP_")]
8794
 
        public enum WrapMode {
8795
 
                NONE,
8796
 
                CHAR,
8797
 
                WORD,
8798
 
                WORD_CHAR
8799
 
        }
8800
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUILDER_ERROR_")]
8801
 
        public errordomain BuilderError {
8802
 
                INVALID_TYPE_FUNCTION,
8803
 
                UNHANDLED_TAG,
8804
 
                MISSING_ATTRIBUTE,
8805
 
                INVALID_ATTRIBUTE,
8806
 
                INVALID_TAG,
8807
 
                MISSING_PROPERTY_VALUE,
8808
 
                INVALID_VALUE,
8809
 
                VERSION_MISMATCH,
8810
 
                DUPLICATE_ID,
8811
 
                OBJECT_TYPE_REFUSED,
8812
 
                TEMPLATE_MISMATCH,
8813
 
                INVALID_PROPERTY,
8814
 
                INVALID_SIGNAL,
8815
 
                INVALID_ID;
8816
 
                public static GLib.Quark quark ();
8817
 
        }
8818
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PROVIDER_ERROR_")]
8819
 
        public errordomain CssProviderError {
8820
 
                FAILED,
8821
 
                SYNTAX,
8822
 
                IMPORT,
8823
 
                NAME,
8824
 
                DEPRECATED,
8825
 
                UNKNOWN_VALUE;
8826
 
                public static GLib.Quark quark ();
8827
 
        }
8828
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")]
8829
 
        public errordomain FileChooserError {
8830
 
                NONEXISTENT,
8831
 
                BAD_FILENAME,
8832
 
                ALREADY_EXISTS,
8833
 
                INCOMPLETE_HOSTNAME;
8834
 
                public static GLib.Quark quark ();
8835
 
        }
8836
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")]
8837
 
        public errordomain IconThemeError {
8838
 
                NOT_FOUND,
8839
 
                FAILED;
8840
 
                public static GLib.Quark quark ();
8841
 
        }
8842
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
8843
 
        public errordomain PrintError {
8844
 
                GENERAL,
8845
 
                INTERNAL_ERROR,
8846
 
                NOMEM,
8847
 
                INVALID_FILE;
8848
 
                public static GLib.Quark quark ();
8849
 
        }
8850
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")]
8851
 
        public errordomain RecentChooserError {
8852
 
                NOT_FOUND,
8853
 
                INVALID_URI;
8854
 
                public static GLib.Quark quark ();
8855
 
        }
8856
 
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")]
8857
 
        public errordomain RecentManagerError {
8858
 
                NOT_FOUND,
8859
 
                INVALID_URI,
8860
 
                INVALID_ENCODING,
8861
 
                NOT_REGISTERED,
8862
 
                READ,
8863
 
                WRITE,
8864
 
                UNKNOWN;
8865
 
                public static GLib.Quark quark ();
8866
 
        }
8867
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8868
 
        public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
8869
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8870
 
        public delegate bool AccelGroupFindFunc (Gtk.AccelKey key, GLib.Closure closure);
8871
 
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8872
 
        public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);
8873
 
        [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
8874
 
        public delegate void ActionCallback (Gtk.Action action);
8875
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8876
 
        public delegate int AssistantPageFunc (int current_page);
8877
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8878
 
        public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object? connect_object, GLib.ConnectFlags flags);
8879
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8880
 
        public delegate string CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
8881
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8882
 
        public delegate void Callback (Gtk.Widget widget);
8883
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8884
 
        public delegate bool CellAllocCallback (Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle cell_background);
8885
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8886
 
        public delegate bool CellCallback (Gtk.CellRenderer renderer);
8887
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8888
 
        public delegate void CellLayoutDataFunc (Gtk.CellLayout cell_layout, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
8889
 
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8890
 
        public delegate void ClipboardClearFunc (Gtk.Clipboard clipboard, void* user_data_or_owner);
8891
 
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8892
 
        public delegate void ClipboardGetFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data, uint info, void* user_data_or_owner);
8893
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8894
 
        public delegate void ClipboardImageReceivedFunc (Gtk.Clipboard clipboard, Gdk.Pixbuf pixbuf);
8895
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8896
 
        public delegate void ClipboardReceivedFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data);
8897
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8898
 
        public delegate void ClipboardRichTextReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom format, [CCode (array_length_type = "gsize")] uint8[] text);
8899
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8900
 
        public delegate void ClipboardTargetsReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom[] atoms);
8901
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8902
 
        public delegate void ClipboardTextReceivedFunc (Gtk.Clipboard clipboard, string? text);
8903
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8904
 
        public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length = false, array_null_terminated = true)] string[] uris);
8905
 
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8906
 
        public delegate void ColorSelectionChangePaletteFunc (Gdk.Color[] colors);
8907
 
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8908
 
        public delegate void ColorSelectionChangePaletteWithScreenFunc (Gdk.Screen screen, Gdk.Color[] colors);
8909
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8910
 
        public delegate bool EntryCompletionMatchFunc (Gtk.EntryCompletion completion, string key, Gtk.TreeIter iter);
8911
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8912
 
        public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
8913
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8914
 
        public delegate Gtk.Widget FlowBoxCreateWidgetFunc (GLib.Object item);
8915
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8916
 
        public delegate bool FlowBoxFilterFunc (Gtk.FlowBoxChild child);
8917
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8918
 
        public delegate void FlowBoxForeachFunc (Gtk.FlowBox box, Gtk.FlowBoxChild child);
8919
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8920
 
        public delegate int FlowBoxSortFunc (Gtk.FlowBoxChild child1, Gtk.FlowBoxChild child2);
8921
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8922
 
        public delegate bool FontFilterFunc (Pango.FontFamily family, Pango.FontFace face);
8923
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8924
 
        public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
8925
 
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
8926
 
        public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event);
8927
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8928
 
        public delegate Gtk.Widget ListBoxCreateWidgetFunc (GLib.Object item);
8929
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8930
 
        public delegate bool ListBoxFilterFunc (Gtk.ListBoxRow row);
8931
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8932
 
        public delegate void ListBoxForeachFunc (Gtk.ListBox box, Gtk.ListBoxRow row);
8933
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8934
 
        public delegate int ListBoxSortFunc (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2);
8935
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8936
 
        public delegate void ListBoxUpdateHeaderFunc (Gtk.ListBoxRow row, Gtk.ListBoxRow? before);
8937
 
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8938
 
        public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
8939
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8940
 
        public delegate void MenuPositionFunc (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
8941
 
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8942
 
        public delegate void ModuleDisplayInitFunc (Gdk.Display display);
8943
 
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8944
 
        public delegate void ModuleInitFunc (string[]? argv);
8945
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8946
 
        public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup);
8947
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8948
 
        public delegate void PrintSettingsFunc (string key, string value);
8949
 
        [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
8950
 
        public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
8951
 
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8952
 
        public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
8953
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8954
 
        public delegate bool RecentFilterFunc (Gtk.RecentFilterInfo filter_info);
8955
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8956
 
        public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
8957
 
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8958
 
        public delegate bool StylePropertyParser (string str, GLib.Value value) throws GLib.Error;
8959
 
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
8960
 
        public delegate bool TextBufferDeserializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter iter, [CCode (array_length_type = "gsize")] uint8[] data, bool create_tags) throws GLib.Error;
8961
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8962
 
        public delegate uchar TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
8963
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8964
 
        public delegate bool TextCharPredicate (unichar ch);
8965
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8966
 
        public delegate void TextTagTableForeach (Gtk.TextTag tag);
8967
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8968
 
        public delegate bool TickCallback (Gtk.Widget widget, Gdk.FrameClock frame_clock);
8969
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8970
 
        public delegate string TranslateFunc (string path);
8971
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8972
 
        public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
8973
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8974
 
        public delegate void TreeDestroyCountFunc (Gtk.TreeView tree_view, Gtk.TreePath path, int children);
8975
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8976
 
        public delegate int TreeIterCompareFunc (Gtk.TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b);
8977
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8978
 
        public delegate void TreeModelFilterModifyFunc (Gtk.TreeModel model, Gtk.TreeIter iter, out GLib.Value value, int column);
8979
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8980
 
        public delegate bool TreeModelFilterVisibleFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
8981
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8982
 
        public delegate bool TreeModelForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
8983
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8984
 
        public delegate void TreeSelectionForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
8985
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8986
 
        public delegate bool TreeSelectionFunc (Gtk.TreeSelection selection, Gtk.TreeModel model, Gtk.TreePath path, bool path_currently_selected);
8987
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8988
 
        public delegate bool TreeViewColumnDropFunc (Gtk.TreeView tree_view, Gtk.TreeViewColumn column, Gtk.TreeViewColumn prev_column, Gtk.TreeViewColumn next_column);
8989
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8990
 
        public delegate void TreeViewMappingFunc (Gtk.TreeView tree_view, Gtk.TreePath path);
8991
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8992
 
        public delegate bool TreeViewRowSeparatorFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
8993
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8994
 
        public delegate bool TreeViewSearchEqualFunc (Gtk.TreeModel model, int column, string key, Gtk.TreeIter iter);
8995
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8996
 
        public delegate void TreeViewSearchPositionFunc (Gtk.TreeView tree_view, Gtk.Widget search_dialog);
8997
 
        [CCode (cheader_filename = "gtk/gtk.h")]
8998
 
        public const int BINARY_AGE;
8999
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9000
 
        public const int INPUT_ERROR;
9001
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9002
 
        public const int INTERFACE_AGE;
9003
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9004
 
        public const string LEVEL_BAR_OFFSET_FULL;
9005
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9006
 
        public const string LEVEL_BAR_OFFSET_HIGH;
9007
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9008
 
        public const string LEVEL_BAR_OFFSET_LOW;
9009
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9010
 
        public const int MAJOR_VERSION;
9011
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9012
 
        public const int MAX_COMPOSE_LEN;
9013
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9014
 
        public const int MICRO_VERSION;
9015
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9016
 
        public const int MINOR_VERSION;
9017
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9018
 
        public const string PAPER_NAME_A3;
9019
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9020
 
        public const string PAPER_NAME_A4;
9021
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9022
 
        public const string PAPER_NAME_A5;
9023
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9024
 
        public const string PAPER_NAME_B5;
9025
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9026
 
        public const string PAPER_NAME_EXECUTIVE;
9027
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9028
 
        public const string PAPER_NAME_LEGAL;
9029
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9030
 
        public const string PAPER_NAME_LETTER;
9031
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9032
 
        public const int PATH_PRIO_MASK;
9033
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9034
 
        public const string PRINT_SETTINGS_COLLATE;
9035
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9036
 
        public const string PRINT_SETTINGS_DEFAULT_SOURCE;
9037
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9038
 
        public const string PRINT_SETTINGS_DITHER;
9039
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9040
 
        public const string PRINT_SETTINGS_DUPLEX;
9041
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9042
 
        public const string PRINT_SETTINGS_FINISHINGS;
9043
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9044
 
        public const string PRINT_SETTINGS_MEDIA_TYPE;
9045
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9046
 
        public const string PRINT_SETTINGS_NUMBER_UP;
9047
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9048
 
        public const string PRINT_SETTINGS_NUMBER_UP_LAYOUT;
9049
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9050
 
        public const string PRINT_SETTINGS_N_COPIES;
9051
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9052
 
        public const string PRINT_SETTINGS_ORIENTATION;
9053
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9054
 
        public const string PRINT_SETTINGS_OUTPUT_BASENAME;
9055
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9056
 
        public const string PRINT_SETTINGS_OUTPUT_BIN;
9057
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9058
 
        public const string PRINT_SETTINGS_OUTPUT_DIR;
9059
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9060
 
        public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT;
9061
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9062
 
        public const string PRINT_SETTINGS_OUTPUT_URI;
9063
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9064
 
        public const string PRINT_SETTINGS_PAGE_RANGES;
9065
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9066
 
        public const string PRINT_SETTINGS_PAGE_SET;
9067
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9068
 
        public const string PRINT_SETTINGS_PAPER_FORMAT;
9069
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9070
 
        public const string PRINT_SETTINGS_PAPER_HEIGHT;
9071
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9072
 
        public const string PRINT_SETTINGS_PAPER_WIDTH;
9073
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9074
 
        public const string PRINT_SETTINGS_PRINTER;
9075
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9076
 
        public const string PRINT_SETTINGS_PRINTER_LPI;
9077
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9078
 
        public const string PRINT_SETTINGS_PRINT_PAGES;
9079
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9080
 
        public const string PRINT_SETTINGS_QUALITY;
9081
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9082
 
        public const string PRINT_SETTINGS_RESOLUTION;
9083
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9084
 
        public const string PRINT_SETTINGS_RESOLUTION_X;
9085
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9086
 
        public const string PRINT_SETTINGS_RESOLUTION_Y;
9087
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9088
 
        public const string PRINT_SETTINGS_REVERSE;
9089
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9090
 
        public const string PRINT_SETTINGS_SCALE;
9091
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9092
 
        public const string PRINT_SETTINGS_USE_COLOR;
9093
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9094
 
        public const string PRINT_SETTINGS_WIN32_DRIVER_EXTRA;
9095
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9096
 
        public const string PRINT_SETTINGS_WIN32_DRIVER_VERSION;
9097
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9098
 
        public const int PRIORITY_RESIZE;
9099
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9100
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
9101
 
        public const string STOCK_ABOUT;
9102
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9103
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
9104
 
        public const string STOCK_ADD;
9105
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9106
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
9107
 
        public const string STOCK_APPLY;
9108
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9109
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
9110
 
        public const string STOCK_BOLD;
9111
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9112
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
9113
 
        public const string STOCK_CANCEL;
9114
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9115
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
9116
 
        public const string STOCK_CAPS_LOCK_WARNING;
9117
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9118
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
9119
 
        public const string STOCK_CDROM;
9120
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9121
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
9122
 
        public const string STOCK_CLEAR;
9123
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9124
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
9125
 
        public const string STOCK_CLOSE;
9126
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9127
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
9128
 
        public const string STOCK_COLOR_PICKER;
9129
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9130
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
9131
 
        public const string STOCK_CONNECT;
9132
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9133
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
9134
 
        public const string STOCK_CONVERT;
9135
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9136
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
9137
 
        public const string STOCK_COPY;
9138
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9139
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
9140
 
        public const string STOCK_CUT;
9141
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9142
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
9143
 
        public const string STOCK_DELETE;
9144
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9145
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
9146
 
        public const string STOCK_DIALOG_AUTHENTICATION;
9147
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9148
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
9149
 
        public const string STOCK_DIALOG_ERROR;
9150
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9151
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
9152
 
        public const string STOCK_DIALOG_INFO;
9153
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9154
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
9155
 
        public const string STOCK_DIALOG_QUESTION;
9156
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9157
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
9158
 
        public const string STOCK_DIALOG_WARNING;
9159
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9160
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
9161
 
        public const string STOCK_DIRECTORY;
9162
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9163
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
9164
 
        public const string STOCK_DISCARD;
9165
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9166
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
9167
 
        public const string STOCK_DISCONNECT;
9168
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9169
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND")]
9170
 
        public const string STOCK_DND;
9171
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9172
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
9173
 
        public const string STOCK_DND_MULTIPLE;
9174
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9175
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
9176
 
        public const string STOCK_EDIT;
9177
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9178
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
9179
 
        public const string STOCK_EXECUTE;
9180
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9181
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
9182
 
        public const string STOCK_FILE;
9183
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9184
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
9185
 
        public const string STOCK_FIND;
9186
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9187
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
9188
 
        public const string STOCK_FIND_AND_REPLACE;
9189
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9190
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
9191
 
        public const string STOCK_FLOPPY;
9192
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9193
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
9194
 
        public const string STOCK_FULLSCREEN;
9195
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9196
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
9197
 
        public const string STOCK_GOTO_BOTTOM;
9198
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9199
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
9200
 
        public const string STOCK_GOTO_FIRST;
9201
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9202
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
9203
 
        public const string STOCK_GOTO_LAST;
9204
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9205
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
9206
 
        public const string STOCK_GOTO_TOP;
9207
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9208
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
9209
 
        public const string STOCK_GO_BACK;
9210
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9211
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
9212
 
        public const string STOCK_GO_DOWN;
9213
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9214
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
9215
 
        public const string STOCK_GO_FORWARD;
9216
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9217
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
9218
 
        public const string STOCK_GO_UP;
9219
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9220
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
9221
 
        public const string STOCK_HARDDISK;
9222
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9223
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
9224
 
        public const string STOCK_HELP;
9225
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9226
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
9227
 
        public const string STOCK_HOME;
9228
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9229
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
9230
 
        public const string STOCK_INDENT;
9231
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9232
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
9233
 
        public const string STOCK_INDEX;
9234
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9235
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
9236
 
        public const string STOCK_INFO;
9237
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9238
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
9239
 
        public const string STOCK_ITALIC;
9240
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9241
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
9242
 
        public const string STOCK_JUMP_TO;
9243
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9244
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
9245
 
        public const string STOCK_JUSTIFY_CENTER;
9246
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9247
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
9248
 
        public const string STOCK_JUSTIFY_FILL;
9249
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9250
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
9251
 
        public const string STOCK_JUSTIFY_LEFT;
9252
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9253
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
9254
 
        public const string STOCK_JUSTIFY_RIGHT;
9255
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9256
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
9257
 
        public const string STOCK_LEAVE_FULLSCREEN;
9258
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9259
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
9260
 
        public const string STOCK_MEDIA_FORWARD;
9261
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9262
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
9263
 
        public const string STOCK_MEDIA_NEXT;
9264
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9265
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
9266
 
        public const string STOCK_MEDIA_PAUSE;
9267
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9268
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
9269
 
        public const string STOCK_MEDIA_PLAY;
9270
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9271
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
9272
 
        public const string STOCK_MEDIA_PREVIOUS;
9273
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9274
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
9275
 
        public const string STOCK_MEDIA_RECORD;
9276
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9277
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
9278
 
        public const string STOCK_MEDIA_REWIND;
9279
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9280
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
9281
 
        public const string STOCK_MEDIA_STOP;
9282
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9283
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
9284
 
        public const string STOCK_MISSING_IMAGE;
9285
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9286
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
9287
 
        public const string STOCK_NETWORK;
9288
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9289
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
9290
 
        public const string STOCK_NEW;
9291
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9292
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NO")]
9293
 
        public const string STOCK_NO;
9294
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9295
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OK")]
9296
 
        public const string STOCK_OK;
9297
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9298
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
9299
 
        public const string STOCK_OPEN;
9300
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9301
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
9302
 
        public const string STOCK_ORIENTATION_LANDSCAPE;
9303
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9304
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
9305
 
        public const string STOCK_ORIENTATION_PORTRAIT;
9306
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9307
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
9308
 
        public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE;
9309
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9310
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
9311
 
        public const string STOCK_ORIENTATION_REVERSE_PORTRAIT;
9312
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9313
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
9314
 
        public const string STOCK_PAGE_SETUP;
9315
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9316
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
9317
 
        public const string STOCK_PASTE;
9318
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9319
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
9320
 
        public const string STOCK_PREFERENCES;
9321
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9322
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
9323
 
        public const string STOCK_PRINT;
9324
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9325
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
9326
 
        public const string STOCK_PRINT_ERROR;
9327
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9328
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
9329
 
        public const string STOCK_PRINT_PAUSED;
9330
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9331
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
9332
 
        public const string STOCK_PRINT_PREVIEW;
9333
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9334
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
9335
 
        public const string STOCK_PRINT_REPORT;
9336
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9337
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
9338
 
        public const string STOCK_PRINT_WARNING;
9339
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9340
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
9341
 
        public const string STOCK_PROPERTIES;
9342
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9343
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
9344
 
        public const string STOCK_QUIT;
9345
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9346
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
9347
 
        public const string STOCK_REDO;
9348
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9349
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
9350
 
        public const string STOCK_REFRESH;
9351
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9352
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
9353
 
        public const string STOCK_REMOVE;
9354
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9355
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
9356
 
        public const string STOCK_REVERT_TO_SAVED;
9357
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9358
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
9359
 
        public const string STOCK_SAVE;
9360
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9361
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
9362
 
        public const string STOCK_SAVE_AS;
9363
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9364
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
9365
 
        public const string STOCK_SELECT_ALL;
9366
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9367
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
9368
 
        public const string STOCK_SELECT_COLOR;
9369
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9370
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
9371
 
        public const string STOCK_SELECT_FONT;
9372
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9373
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
9374
 
        public const string STOCK_SORT_ASCENDING;
9375
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9376
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
9377
 
        public const string STOCK_SORT_DESCENDING;
9378
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9379
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
9380
 
        public const string STOCK_SPELL_CHECK;
9381
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9382
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
9383
 
        public const string STOCK_STOP;
9384
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9385
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
9386
 
        public const string STOCK_STRIKETHROUGH;
9387
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9388
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
9389
 
        public const string STOCK_UNDELETE;
9390
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9391
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
9392
 
        public const string STOCK_UNDERLINE;
9393
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9394
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
9395
 
        public const string STOCK_UNDO;
9396
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9397
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
9398
 
        public const string STOCK_UNINDENT;
9399
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9400
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.YES")]
9401
 
        public const string STOCK_YES;
9402
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9403
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
9404
 
        public const string STOCK_ZOOM_100;
9405
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9406
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
9407
 
        public const string STOCK_ZOOM_FIT;
9408
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9409
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
9410
 
        public const string STOCK_ZOOM_IN;
9411
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9412
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
9413
 
        public const string STOCK_ZOOM_OUT;
9414
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9415
 
        public const string STYLE_CLASS_ACCELERATOR;
9416
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9417
 
        public const string STYLE_CLASS_ARROW;
9418
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9419
 
        public const string STYLE_CLASS_BACKGROUND;
9420
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9421
 
        public const string STYLE_CLASS_BOTTOM;
9422
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9423
 
        public const string STYLE_CLASS_BUTTON;
9424
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9425
 
        public const string STYLE_CLASS_CALENDAR;
9426
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9427
 
        public const string STYLE_CLASS_CELL;
9428
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9429
 
        public const string STYLE_CLASS_CHECK;
9430
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9431
 
        public const string STYLE_CLASS_COMBOBOX_ENTRY;
9432
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9433
 
        public const string STYLE_CLASS_CONTEXT_MENU;
9434
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9435
 
        public const string STYLE_CLASS_CSD;
9436
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9437
 
        public const string STYLE_CLASS_CURSOR_HANDLE;
9438
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9439
 
        public const string STYLE_CLASS_DEFAULT;
9440
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9441
 
        public const string STYLE_CLASS_DESTRUCTIVE_ACTION;
9442
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9443
 
        public const string STYLE_CLASS_DIM_LABEL;
9444
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9445
 
        public const string STYLE_CLASS_DND;
9446
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9447
 
        public const string STYLE_CLASS_DOCK;
9448
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9449
 
        public const string STYLE_CLASS_ENTRY;
9450
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9451
 
        public const string STYLE_CLASS_ERROR;
9452
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9453
 
        public const string STYLE_CLASS_EXPANDER;
9454
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9455
 
        public const string STYLE_CLASS_FLAT;
9456
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9457
 
        public const string STYLE_CLASS_FRAME;
9458
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9459
 
        public const string STYLE_CLASS_GRIP;
9460
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9461
 
        public const string STYLE_CLASS_HEADER;
9462
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9463
 
        public const string STYLE_CLASS_HIGHLIGHT;
9464
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9465
 
        public const string STYLE_CLASS_HORIZONTAL;
9466
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9467
 
        public const string STYLE_CLASS_IMAGE;
9468
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9469
 
        public const string STYLE_CLASS_INFO;
9470
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9471
 
        public const string STYLE_CLASS_INLINE_TOOLBAR;
9472
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9473
 
        public const string STYLE_CLASS_INSERTION_CURSOR;
9474
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9475
 
        public const string STYLE_CLASS_LABEL;
9476
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9477
 
        public const string STYLE_CLASS_LEFT;
9478
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9479
 
        public const string STYLE_CLASS_LEVEL_BAR;
9480
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9481
 
        public const string STYLE_CLASS_LINKED;
9482
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9483
 
        public const string STYLE_CLASS_LIST;
9484
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9485
 
        public const string STYLE_CLASS_LIST_ROW;
9486
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9487
 
        public const string STYLE_CLASS_MARK;
9488
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9489
 
        public const string STYLE_CLASS_MENU;
9490
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9491
 
        public const string STYLE_CLASS_MENUBAR;
9492
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9493
 
        public const string STYLE_CLASS_MENUITEM;
9494
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9495
 
        public const string STYLE_CLASS_MESSAGE_DIALOG;
9496
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9497
 
        public const string STYLE_CLASS_MONOSPACE;
9498
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9499
 
        public const string STYLE_CLASS_NEEDS_ATTENTION;
9500
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9501
 
        public const string STYLE_CLASS_NOTEBOOK;
9502
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9503
 
        public const string STYLE_CLASS_OSD;
9504
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9505
 
        public const string STYLE_CLASS_OVERSHOOT;
9506
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9507
 
        public const string STYLE_CLASS_PANE_SEPARATOR;
9508
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9509
 
        public const string STYLE_CLASS_PAPER;
9510
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9511
 
        public const string STYLE_CLASS_POPOVER;
9512
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9513
 
        public const string STYLE_CLASS_POPUP;
9514
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9515
 
        public const string STYLE_CLASS_PRIMARY_TOOLBAR;
9516
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9517
 
        public const string STYLE_CLASS_PROGRESSBAR;
9518
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9519
 
        public const string STYLE_CLASS_PULSE;
9520
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9521
 
        public const string STYLE_CLASS_QUESTION;
9522
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9523
 
        public const string STYLE_CLASS_RADIO;
9524
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9525
 
        public const string STYLE_CLASS_RAISED;
9526
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9527
 
        public const string STYLE_CLASS_READ_ONLY;
9528
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9529
 
        public const string STYLE_CLASS_RIGHT;
9530
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9531
 
        public const string STYLE_CLASS_RUBBERBAND;
9532
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9533
 
        public const string STYLE_CLASS_SCALE;
9534
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9535
 
        public const string STYLE_CLASS_SCALE_HAS_MARKS_ABOVE;
9536
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9537
 
        public const string STYLE_CLASS_SCALE_HAS_MARKS_BELOW;
9538
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9539
 
        public const string STYLE_CLASS_SCROLLBAR;
9540
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9541
 
        public const string STYLE_CLASS_SCROLLBARS_JUNCTION;
9542
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9543
 
        public const string STYLE_CLASS_SEPARATOR;
9544
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9545
 
        public const string STYLE_CLASS_SIDEBAR;
9546
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9547
 
        public const string STYLE_CLASS_SLIDER;
9548
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9549
 
        public const string STYLE_CLASS_SPINBUTTON;
9550
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9551
 
        public const string STYLE_CLASS_SPINNER;
9552
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9553
 
        public const string STYLE_CLASS_STATUSBAR;
9554
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9555
 
        public const string STYLE_CLASS_SUBTITLE;
9556
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9557
 
        public const string STYLE_CLASS_SUGGESTED_ACTION;
9558
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9559
 
        public const string STYLE_CLASS_TITLE;
9560
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9561
 
        public const string STYLE_CLASS_TITLEBAR;
9562
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9563
 
        public const string STYLE_CLASS_TOOLBAR;
9564
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9565
 
        public const string STYLE_CLASS_TOOLTIP;
9566
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9567
 
        public const string STYLE_CLASS_TOP;
9568
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9569
 
        public const string STYLE_CLASS_TOUCH_SELECTION;
9570
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9571
 
        public const string STYLE_CLASS_TROUGH;
9572
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9573
 
        public const string STYLE_CLASS_UNDERSHOOT;
9574
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9575
 
        public const string STYLE_CLASS_VERTICAL;
9576
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9577
 
        public const string STYLE_CLASS_VIEW;
9578
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9579
 
        public const string STYLE_CLASS_WARNING;
9580
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9581
 
        public const string STYLE_CLASS_WIDE;
9582
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9583
 
        public const string STYLE_PROPERTY_BACKGROUND_COLOR;
9584
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9585
 
        public const string STYLE_PROPERTY_BACKGROUND_IMAGE;
9586
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9587
 
        public const string STYLE_PROPERTY_BORDER_COLOR;
9588
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9589
 
        public const string STYLE_PROPERTY_BORDER_RADIUS;
9590
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9591
 
        public const string STYLE_PROPERTY_BORDER_STYLE;
9592
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9593
 
        public const string STYLE_PROPERTY_BORDER_WIDTH;
9594
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9595
 
        public const string STYLE_PROPERTY_COLOR;
9596
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9597
 
        public const string STYLE_PROPERTY_FONT;
9598
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9599
 
        public const string STYLE_PROPERTY_MARGIN;
9600
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9601
 
        public const string STYLE_PROPERTY_PADDING;
9602
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9603
 
        public const int STYLE_PROVIDER_PRIORITY_APPLICATION;
9604
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9605
 
        public const int STYLE_PROVIDER_PRIORITY_FALLBACK;
9606
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9607
 
        public const int STYLE_PROVIDER_PRIORITY_SETTINGS;
9608
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9609
 
        public const int STYLE_PROVIDER_PRIORITY_THEME;
9610
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9611
 
        public const int STYLE_PROVIDER_PRIORITY_USER;
9612
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9613
 
        public const string STYLE_REGION_COLUMN;
9614
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9615
 
        public const string STYLE_REGION_COLUMN_HEADER;
9616
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9617
 
        public const string STYLE_REGION_ROW;
9618
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9619
 
        public const string STYLE_REGION_TAB;
9620
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9621
 
        public const int TEXT_VIEW_PRIORITY_VALIDATE;
9622
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9623
 
        public const int TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID;
9624
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9625
 
        public const int TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID;
9626
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9627
 
        public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods);
9628
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9629
 
        public static unowned GLib.SList<Gtk.AccelGroup> accel_groups_from_object (GLib.Object object);
9630
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9631
 
        public static Gdk.ModifierType accelerator_get_default_mod_mask ();
9632
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9633
 
        public static string accelerator_get_label (uint accelerator_key, Gdk.ModifierType accelerator_mods);
9634
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9635
 
        public static string accelerator_get_label_with_keycode (Gdk.Display display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
9636
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9637
 
        public static string accelerator_name (uint accelerator_key, Gdk.ModifierType accelerator_mods);
9638
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9639
 
        public static string accelerator_name_with_keycode (Gdk.Display display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
9640
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9641
 
        public static void accelerator_parse (string accelerator, out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
9642
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9643
 
        public static void accelerator_parse_with_keycode (string accelerator, out uint accelerator_key, [CCode (array_length = false, array_null_terminated = true)] out uint[] accelerator_codes, out Gdk.ModifierType accelerator_mods);
9644
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9645
 
        public static void accelerator_set_default_mod_mask (Gdk.ModifierType default_mod_mask);
9646
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9647
 
        public static bool accelerator_valid (uint keyval, Gdk.ModifierType modifiers);
9648
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9649
 
        public static bool alternative_dialog_button_order (Gdk.Screen screen);
9650
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9651
 
        public static bool bindings_activate (GLib.Object object, uint keyval, Gdk.ModifierType modifiers);
9652
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9653
 
        public static bool bindings_activate_event (GLib.Object object, Gdk.EventKey event);
9654
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9655
 
        public static bool cairo_should_draw_window (Cairo.Context cr, Gdk.Window window);
9656
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9657
 
        public static void cairo_transform_to_window (Cairo.Context cr, Gtk.Widget widget, Gdk.Window window);
9658
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9659
 
        public static unowned string check_version (uint required_major, uint required_minor, uint required_micro);
9660
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9661
 
        public static void device_grab_add (Gtk.Widget widget, Gdk.Device device, bool block_others);
9662
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9663
 
        public static void device_grab_remove (Gtk.Widget widget, Gdk.Device device);
9664
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9665
 
        public static void disable_setlocale ();
9666
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9667
 
        public static int distribute_natural_allocation (int extra_space, uint n_requested_sizes, Gtk.RequestedSize sizes);
9668
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9669
 
        public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event? event);
9670
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9671
 
        public static unowned Gdk.DragContext drag_begin_with_coordinates (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event event, int x, int y);
9672
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9673
 
        public static void drag_cancel (Gdk.DragContext context);
9674
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9675
 
        public static bool drag_check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x, int current_y);
9676
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9677
 
        public static void drag_dest_add_image_targets (Gtk.Widget widget);
9678
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9679
 
        public static void drag_dest_add_text_targets (Gtk.Widget widget);
9680
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9681
 
        public static void drag_dest_add_uri_targets (Gtk.Widget widget);
9682
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9683
 
        public static Gdk.Atom drag_dest_find_target (Gtk.Widget widget, Gdk.DragContext context, Gtk.TargetList target_list);
9684
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9685
 
        public static unowned Gtk.TargetList drag_dest_get_target_list (Gtk.Widget widget);
9686
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9687
 
        public static bool drag_dest_get_track_motion (Gtk.Widget widget);
9688
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9689
 
        public static void drag_dest_set (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
9690
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9691
 
        public static void drag_dest_set_proxy (Gtk.Widget widget, Gdk.Window proxy_window, Gdk.DragProtocol protocol, bool use_coordinates);
9692
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9693
 
        public static void drag_dest_set_target_list (Gtk.Widget widget, Gtk.TargetList target_list);
9694
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9695
 
        public static void drag_dest_set_track_motion (Gtk.Widget widget, bool track_motion);
9696
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9697
 
        public static void drag_dest_unset (Gtk.Widget widget);
9698
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9699
 
        public static void drag_finish (Gdk.DragContext context, bool success, bool del, uint32 time_);
9700
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9701
 
        public static void drag_get_data (Gtk.Widget widget, Gdk.DragContext context, Gdk.Atom target, uint32 time_);
9702
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9703
 
        public static unowned Gtk.Widget drag_get_source_widget (Gdk.DragContext context);
9704
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9705
 
        public static void drag_highlight (Gtk.Widget widget);
9706
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9707
 
        public static void drag_set_icon_default (Gdk.DragContext context);
9708
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9709
 
        public static void drag_set_icon_gicon (Gdk.DragContext context, GLib.Icon icon, int hot_x, int hot_y);
9710
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9711
 
        public static void drag_set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y);
9712
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9713
 
        public static void drag_set_icon_pixbuf (Gdk.DragContext context, Gdk.Pixbuf pixbuf, int hot_x, int hot_y);
9714
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9715
 
        public static void drag_set_icon_stock (Gdk.DragContext context, string stock_id, int hot_x, int hot_y);
9716
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9717
 
        public static void drag_set_icon_surface (Gdk.DragContext context, Cairo.Surface surface);
9718
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9719
 
        public static void drag_set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int hot_y);
9720
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9721
 
        public static void drag_source_add_image_targets (Gtk.Widget widget);
9722
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9723
 
        public static void drag_source_add_text_targets (Gtk.Widget widget);
9724
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9725
 
        public static void drag_source_add_uri_targets (Gtk.Widget widget);
9726
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9727
 
        public static unowned Gtk.TargetList drag_source_get_target_list (Gtk.Widget widget);
9728
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9729
 
        public static void drag_source_set (Gtk.Widget widget, Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
9730
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9731
 
        public static void drag_source_set_icon_gicon (Gtk.Widget widget, GLib.Icon icon);
9732
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9733
 
        public static void drag_source_set_icon_name (Gtk.Widget widget, string icon_name);
9734
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9735
 
        public static void drag_source_set_icon_pixbuf (Gtk.Widget widget, Gdk.Pixbuf pixbuf);
9736
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9737
 
        public static void drag_source_set_icon_stock (Gtk.Widget widget, string stock_id);
9738
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9739
 
        public static void drag_source_set_target_list (Gtk.Widget widget, Gtk.TargetList target_list);
9740
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9741
 
        public static void drag_source_unset (Gtk.Widget widget);
9742
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9743
 
        public static void drag_unhighlight (Gtk.Widget widget);
9744
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9745
 
        [Version (deprecated_since = "3.4", replacement = "render_insertion_cursor")]
9746
 
        public static void draw_insertion_cursor (Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow);
9747
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9748
 
        public static bool events_pending ();
9749
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9750
 
        public static uint get_binary_age ();
9751
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9752
 
        public static Gdk.Event get_current_event ();
9753
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9754
 
        public static unowned Gdk.Device get_current_event_device ();
9755
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9756
 
        public static bool get_current_event_state (out Gdk.ModifierType state);
9757
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9758
 
        public static uint32 get_current_event_time ();
9759
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9760
 
        public static uint get_debug_flags ();
9761
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9762
 
        public static unowned Pango.Language get_default_language ();
9763
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9764
 
        public static unowned Gtk.Widget get_event_widget (Gdk.Event event);
9765
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9766
 
        public static uint get_interface_age ();
9767
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9768
 
        public static Gtk.TextDirection get_locale_direction ();
9769
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9770
 
        public static uint get_major_version ();
9771
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9772
 
        public static uint get_micro_version ();
9773
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9774
 
        public static uint get_minor_version ();
9775
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9776
 
        public static GLib.OptionGroup get_option_group (bool open_default_display);
9777
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9778
 
        public static void grab_add (Gtk.Widget widget);
9779
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9780
 
        public static unowned Gtk.Widget grab_get_current ();
9781
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9782
 
        public static void grab_remove (Gtk.Widget widget);
9783
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9784
 
        public static Gtk.IconSize icon_size_from_name (string name);
9785
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9786
 
        public static unowned string icon_size_get_name (Gtk.IconSize size);
9787
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9788
 
        public static bool icon_size_lookup (Gtk.IconSize size, out int width, out int height);
9789
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9790
 
        public static bool icon_size_lookup_for_settings (Gtk.Settings settings, Gtk.IconSize size, out int width, out int height);
9791
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9792
 
        public static Gtk.IconSize icon_size_register (string name, int width, int height);
9793
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9794
 
        public static void icon_size_register_alias (string alias, Gtk.IconSize target);
9795
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9796
 
        public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[]? argv);
9797
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9798
 
        public static bool init_check ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
9799
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9800
 
        public static bool init_with_args ([CCode (array_length_pos = 0.9)] ref unowned string[] argv, string? parameter_string, [CCode (array_length = false)] GLib.OptionEntry[] entries, string? translation_domain) throws GLib.Error;
9801
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9802
 
        [Version (deprecated_since = "3.4")]
9803
 
        public static uint key_snooper_install (Gtk.KeySnoopFunc snooper);
9804
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9805
 
        [Version (deprecated_since = "3.4")]
9806
 
        public static void key_snooper_remove (uint snooper_handler_id);
9807
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9808
 
        public static void main ();
9809
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9810
 
        public static void main_do_event (Gdk.Event event);
9811
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9812
 
        public static bool main_iteration ();
9813
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9814
 
        public static bool main_iteration_do (bool blocking);
9815
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9816
 
        public static uint main_level ();
9817
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9818
 
        public static void main_quit ();
9819
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9820
 
        [Version (deprecated_since = "3.0")]
9821
 
        public static void paint_arrow (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height);
9822
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9823
 
        [Version (deprecated_since = "3.0", replacement = "render_background")]
9824
 
        public static void paint_box (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
9825
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9826
 
        [Version (deprecated_since = "3.0", replacement = "render_frame_gap")]
9827
 
        public static void paint_box_gap (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
9828
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9829
 
        [Version (deprecated_since = "3.0")]
9830
 
        public static void paint_check (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
9831
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9832
 
        [Version (deprecated_since = "3.0")]
9833
 
        public static void paint_diamond (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
9834
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9835
 
        [Version (deprecated_since = "3.0", replacement = "render_expander")]
9836
 
        public static void paint_expander (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x, int y, Gtk.ExpanderStyle expander_style);
9837
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9838
 
        [Version (deprecated_since = "3.0", replacement = "render_frame and render_background")]
9839
 
        public static void paint_extension (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side);
9840
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9841
 
        [Version (deprecated_since = "3.0")]
9842
 
        public static void paint_flat_box (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
9843
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9844
 
        [Version (deprecated_since = "3.0")]
9845
 
        public static void paint_focus (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
9846
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9847
 
        [Version (deprecated_since = "3.0")]
9848
 
        public static void paint_handle (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.Orientation orientation);
9849
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9850
 
        [Version (deprecated_since = "3.0")]
9851
 
        public static void paint_hline (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x1, int x2, int y);
9852
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9853
 
        [Version (deprecated_since = "3.0")]
9854
 
        public static void paint_layout (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, bool use_text, Gtk.Widget? widget, string? detail, int x, int y, Pango.Layout layout);
9855
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9856
 
        [Version (deprecated_since = "3.0")]
9857
 
        public static void paint_option (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
9858
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9859
 
        [Version (deprecated_since = "3.0", replacement = "render_handle")]
9860
 
        public static void paint_resize_grip (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, Gdk.WindowEdge edge, int x, int y, int width, int height);
9861
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9862
 
        [Version (deprecated_since = "3.0")]
9863
 
        public static void paint_shadow (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
9864
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9865
 
        [Version (deprecated_since = "3.0", replacement = "render_frame")]
9866
 
        public static void paint_shadow_gap (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
9867
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9868
 
        [Version (deprecated_since = "3.0")]
9869
 
        public static void paint_slider (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.Orientation orientation);
9870
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9871
 
        [Version (deprecated_since = "3.0", replacement = "render_activity")]
9872
 
        public static void paint_spinner (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, uint step, int x, int y, int width, int height);
9873
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9874
 
        [Version (deprecated_since = "3.0")]
9875
 
        public static void paint_tab (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
9876
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9877
 
        [Version (deprecated_since = "3.0")]
9878
 
        public static void paint_vline (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int y1_, int y2_, int x);
9879
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9880
 
        public static bool parse_args ([CCode (array_length_pos = 0.5)] ref unowned string[] argv);
9881
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9882
 
        public static Gtk.PageSetup print_run_page_setup_dialog (Gtk.Window parent, Gtk.PageSetup page_setup, Gtk.PrintSettings settings);
9883
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9884
 
        public static void print_run_page_setup_dialog_async (Gtk.Window parent, Gtk.PageSetup page_setup, Gtk.PrintSettings settings, [CCode (scope = "async")] Gtk.PageSetupDoneFunc done_cb);
9885
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9886
 
        public static void propagate_event (Gtk.Widget widget, Gdk.Event event);
9887
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9888
 
        public static void rc_add_default_file (string filename);
9889
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9890
 
        public static string rc_find_module_in_path (string module_file);
9891
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9892
 
        public static string rc_find_pixmap_in_path (Gtk.Settings settings, GLib.Scanner scanner, string pixmap_file);
9893
 
        [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
9894
 
        public static unowned string[] rc_get_default_files ();
9895
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9896
 
        public static string rc_get_im_module_file ();
9897
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9898
 
        public static string rc_get_im_module_path ();
9899
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9900
 
        public static string rc_get_module_dir ();
9901
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9902
 
        public static unowned Gtk.Style rc_get_style (Gtk.Widget widget);
9903
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9904
 
        public static unowned Gtk.Style? rc_get_style_by_paths (Gtk.Settings settings, string? widget_path, string? class_path, GLib.Type type);
9905
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9906
 
        public static string rc_get_theme_dir ();
9907
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9908
 
        public static void rc_parse (string filename);
9909
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9910
 
        public static uint rc_parse_color (GLib.Scanner scanner, out Gdk.Color color);
9911
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9912
 
        public static uint rc_parse_color_full (GLib.Scanner scanner, Gtk.RcStyle style, out Gdk.Color color);
9913
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9914
 
        public static uint rc_parse_priority (GLib.Scanner scanner, Gtk.PathPriorityType priority);
9915
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9916
 
        public static uint rc_parse_state (GLib.Scanner scanner, out Gtk.StateType state);
9917
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9918
 
        public static void rc_parse_string (string rc_string);
9919
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9920
 
        public static bool rc_reparse_all ();
9921
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9922
 
        public static bool rc_reparse_all_for_settings (Gtk.Settings settings, bool force_load);
9923
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9924
 
        public static void rc_reset_styles (Gtk.Settings settings);
9925
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9926
 
        public static unowned GLib.Scanner rc_scanner_new ();
9927
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9928
 
        public static void rc_set_default_files ([CCode (array_length = false, array_null_terminated = true)] string[] filenames);
9929
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9930
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_activity")]
9931
 
        public static void render_activity (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
9932
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9933
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_arrow")]
9934
 
        public static void render_arrow (Gtk.StyleContext context, Cairo.Context cr, double angle, double x, double y, double size);
9935
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9936
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_background")]
9937
 
        public static void render_background (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
9938
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9939
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_check")]
9940
 
        public static void render_check (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
9941
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9942
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_expander")]
9943
 
        public static void render_expander (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
9944
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9945
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_extension")]
9946
 
        public static void render_extension (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
9947
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9948
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_focus")]
9949
 
        public static void render_focus (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
9950
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9951
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_frame")]
9952
 
        public static void render_frame (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
9953
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9954
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_frame_gap")]
9955
 
        public static void render_frame_gap (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side, double xy0_gap, double xy1_gap);
9956
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9957
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_handle")]
9958
 
        public static void render_handle (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
9959
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9960
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_icon")]
9961
 
        public static void render_icon (Gtk.StyleContext context, Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
9962
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9963
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_icon_pixbuf")]
9964
 
        public static Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSource source, Gtk.IconSize size);
9965
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9966
 
        public static void render_icon_surface (Gtk.StyleContext context, Cairo.Context cr, Cairo.Surface surface, double x, double y);
9967
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9968
 
        public static void render_insertion_cursor (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
9969
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9970
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_layout")]
9971
 
        public static void render_layout (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout);
9972
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9973
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_line")]
9974
 
        public static void render_line (Gtk.StyleContext context, Cairo.Context cr, double x0, double y0, double x1, double y1);
9975
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9976
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_option")]
9977
 
        public static void render_option (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
9978
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9979
 
        [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_slider")]
9980
 
        public static void render_slider (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
9981
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9982
 
        public static void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double v);
9983
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9984
 
        public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info);
9985
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9986
 
        public static void selection_add_targets (Gtk.Widget widget, Gdk.Atom selection, [CCode (array_length_pos = 3.1, array_length_type = "guint")] Gtk.TargetEntry[] targets);
9987
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9988
 
        public static void selection_clear_targets (Gtk.Widget widget, Gdk.Atom selection);
9989
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9990
 
        public static bool selection_convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
9991
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9992
 
        public static bool selection_owner_set (Gtk.Widget widget, Gdk.Atom selection, uint32 time_);
9993
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9994
 
        public static bool selection_owner_set_for_display (Gdk.Display display, Gtk.Widget widget, Gdk.Atom selection, uint32 time_);
9995
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9996
 
        public static void selection_remove_all (Gtk.Widget widget);
9997
 
        [CCode (cheader_filename = "gtk/gtk.h")]
9998
 
        public static void set_debug_flags (uint flags);
9999
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10000
 
        public static void show_about_dialog (Gtk.Window? parent, ...);
10001
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10002
 
        public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
10003
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10004
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add")]
10005
 
        public static void stock_add (Gtk.StockItem[] items);
10006
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10007
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add_static")]
10008
 
        public static void stock_add_static (Gtk.StockItem[] items);
10009
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10010
 
        [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.list_ids")]
10011
 
        public static GLib.SList<string> stock_list_ids ();
10012
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10013
 
        [Version (deprecated_since = "vala-0.22", replacement = "Gtk.Stock.set_translate_func")]
10014
 
        public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
10015
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10016
 
        public static void target_table_free (Gtk.TargetEntry[] targets);
10017
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10018
 
        public static Gtk.TargetEntry[] target_table_new_from_list (Gtk.TargetList list);
10019
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10020
 
        public static bool targets_include_image (Gdk.Atom[] targets, bool writable);
10021
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10022
 
        public static bool targets_include_rich_text (Gdk.Atom[] targets, Gtk.TextBuffer buffer);
10023
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10024
 
        public static bool targets_include_text (Gdk.Atom[] targets);
10025
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10026
 
        public static bool targets_include_uri (Gdk.Atom[] targets);
10027
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10028
 
        public static unowned Gtk.Widget test_create_simple_window (string window_title, string dialog_text);
10029
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10030
 
        public static unowned Gtk.Widget test_create_widget (GLib.Type widget_type, ...);
10031
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10032
 
        public static Gtk.Widget test_display_button_window (string window_title, string dialog_text, ...);
10033
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10034
 
        public static unowned Gtk.Widget test_find_label (Gtk.Widget widget, string label_pattern);
10035
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10036
 
        public static unowned Gtk.Widget test_find_sibling (Gtk.Widget base_widget, GLib.Type widget_type);
10037
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10038
 
        public static unowned Gtk.Widget test_find_widget (Gtk.Widget widget, string label_pattern, GLib.Type widget_type);
10039
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10040
 
        public static void test_init ([CCode (array_length_pos = 0.9)] ref unowned string[] argvp, ...);
10041
 
        [CCode (array_length = false, array_length_type = "guint", array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
10042
 
        public static unowned GLib.Type[] test_list_all_types ();
10043
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10044
 
        public static void test_register_all_types ();
10045
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10046
 
        public static double test_slider_get_value (Gtk.Widget widget);
10047
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10048
 
        public static void test_slider_set_perc (Gtk.Widget widget, double percentage);
10049
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10050
 
        public static bool test_spin_button_click (Gtk.SpinButton spinner, uint button, bool upwards);
10051
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10052
 
        public static string test_text_get (Gtk.Widget widget);
10053
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10054
 
        public static void test_text_set (Gtk.Widget widget, string str);
10055
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10056
 
        public static bool test_widget_click (Gtk.Widget widget, uint button, Gdk.ModifierType modifiers);
10057
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10058
 
        public static bool test_widget_send_key (Gtk.Widget widget, uint keyval, Gdk.ModifierType modifiers);
10059
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10060
 
        public static void test_widget_wait_for_draw (Gtk.Widget widget);
10061
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10062
 
        public static bool tree_get_row_drag_data (Gtk.SelectionData selection_data, out unowned Gtk.TreeModel tree_model, out Gtk.TreePath path);
10063
 
        [CCode (cheader_filename = "gtk/gtk.h")]
10064
 
        public static bool tree_set_row_drag_data (Gtk.SelectionData selection_data, Gtk.TreeModel tree_model, Gtk.TreePath path);
10065
 
}