vapi: Remove nested namespaces GIR information.
[vala-lang.git] / vapi / gtk+-2.0.vapi
blobd74333e00002051e496d8a6bba569ab4055f7029
1 /* gtk+-2.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_", gir_namespace = "Gtk", gir_version = "2.0")]
4 namespace Gtk {
5         [CCode (cprefix = "GtkStock", lower_case_cprefix = "gtk_stock_")]
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         }
226         [CCode (cheader_filename = "gtk/gtk.h")]
227         public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
228                 [CCode (type = "GtkWidget*", has_construct_function = false)]
229                 public AboutDialog ();
230                 public unowned string get_artists ();
231                 public unowned string get_authors ();
232                 public unowned string get_comments ();
233                 public unowned string get_copyright ();
234                 public unowned string get_documenters ();
235                 public unowned string get_license ();
236                 public unowned Gdk.Pixbuf get_logo ();
237                 public unowned string get_logo_icon_name ();
238                 public unowned string get_program_name ();
239                 public unowned string get_translator_credits ();
240                 public unowned string get_version ();
241                 public unowned string get_website ();
242                 public unowned string get_website_label ();
243                 public bool get_wrap_license ();
244                 public void set_artists ([CCode (array_length = false)] string[] artists);
245                 public void set_authors ([CCode (array_length = false)] string[] authors);
246                 public void set_comments (string comments);
247                 public void set_copyright (string copyright);
248                 public void set_documenters ([CCode (array_length = false)] string[] documenters);
249                 public static void set_email_hook (owned Gtk.AboutDialogActivateLinkFunc func);
250                 public void set_license (string license);
251                 public void set_logo (Gdk.Pixbuf logo);
252                 public void set_logo_icon_name (string icon_name);
253                 public void set_program_name (string name);
254                 public void set_translator_credits (string translator_credits);
255                 public static void set_url_hook (owned Gtk.AboutDialogActivateLinkFunc func);
256                 public void set_version (string version);
257                 public void set_website (string website);
258                 public void set_website_label (string website_label);
259                 public void set_wrap_license (bool wrap_license);
260                 [CCode (array_length = false, array_null_terminated = true)]
261                 public string[] artists { get; set; }
262                 [CCode (array_length = false, array_null_terminated = true)]
263                 public string[] authors { get; set; }
264                 public string comments { get; set; }
265                 public string copyright { get; set; }
266                 [CCode (array_length = false, array_null_terminated = true)]
267                 public string[] documenters { get; set; }
268                 public string license { get; set; }
269                 public Gdk.Pixbuf logo { get; set; }
270                 public string logo_icon_name { get; set; }
271                 public string program_name { get; set; }
272                 public string translator_credits { get; set; }
273                 public string version { get; set; }
274                 public string website { get; set; }
275                 public string website_label { get; set; }
276                 public bool wrap_license { get; set; }
277         }
278         [CCode (cheader_filename = "gtk/gtk.h")]
279         public class AccelGroup : GLib.Object {
280                 public weak GLib.SList acceleratables;
281                 public uint lock_count;
282                 public uint n_accels;
283                 [CCode (has_construct_function = false)]
284                 public AccelGroup ();
285                 public bool activate (GLib.Quark accel_quark, GLib.Object acceleratable, uint accel_key, Gdk.ModifierType accel_mods);
286                 public void connect (uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
287                 public void connect_by_path (string accel_path, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
288                 public bool disconnect (GLib.Closure closure);
289                 public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods);
290                 public Gtk.AccelKey* find (Gtk.AccelGroupFindFunc find_func);
291                 public static unowned Gtk.AccelGroup from_accel_closure (GLib.Closure closure);
292                 public bool get_is_locked ();
293                 public Gdk.ModifierType get_modifier_mask ();
294                 public void @lock ();
295                 public unowned Gtk.AccelGroupEntry query (uint accel_key, Gdk.ModifierType accel_mods, uint n_entries);
296                 public void unlock ();
297                 public bool is_locked { get; }
298                 public Gdk.ModifierType modifier_mask { get; }
299                 public virtual signal bool accel_activate (GLib.Object p0, uint p1, Gdk.ModifierType p2);
300                 public virtual signal void accel_changed (uint keyval, Gdk.ModifierType modifier, GLib.Closure accel_closure);
301         }
302         [Compact]
303         [CCode (cheader_filename = "gtk/gtk.h")]
304         public class AccelGroupEntry {
305                 public GLib.Quark accel_path_quark;
306                 public weak GLib.Closure closure;
307                 public Gtk.AccelKey key;
308         }
309         [CCode (cheader_filename = "gtk/gtk.h")]
310         public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
311                 public weak Gtk.AccelGroup accel_group;
312                 public uint accel_padding;
313                 public weak string accel_string;
314                 public uint16 accel_string_width;
315                 public uint gtk_reserved;
316                 [CCode (type = "GtkWidget*", has_construct_function = false)]
317                 public AccelLabel (string str);
318                 public unowned Gtk.Widget get_accel_widget ();
319                 public uint get_accel_width ();
320                 public bool refetch ();
321                 public void set_accel_closure ([CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate accel_closure);
322                 public void set_accel_widget (Gtk.Widget accel_widget);
323                 [NoAccessorMethod]
324                 public GLib.Closure accel_closure { owned get; set; }
325                 public Gtk.Widget accel_widget { get; set; }
326         }
327         [CCode (cheader_filename = "gtk/gtk.h")]
328         public class AccelMap : GLib.Object {
329                 [CCode (has_construct_function = false)]
330                 protected AccelMap ();
331                 public static void add_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
332                 public static void add_filter (string filter_pattern);
333                 public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace);
334                 public static void @foreach (void* data, Gtk.AccelMapForeach foreach_func);
335                 public static void foreach_unfiltered (void* data, Gtk.AccelMapForeach foreach_func);
336                 public static unowned Gtk.AccelMap @get ();
337                 public static void load (string file_name);
338                 public static void load_fd (int fd);
339                 public static void load_scanner (GLib.Scanner scanner);
340                 public static void lock_path (string accel_path);
341                 public static bool lookup_entry (string accel_path, out Gtk.AccelKey key);
342                 public static void save (string file_name);
343                 public static void save_fd (int fd);
344                 public static void unlock_path (string accel_path);
345                 public virtual signal void changed (string p0, uint p1, Gdk.ModifierType p2);
346         }
347         [Compact]
348         [CCode (cheader_filename = "gtk/gtk.h")]
349         public class AccelMapClass {
350         }
351         [CCode (cheader_filename = "gtk/gtk.h")]
352         public class Accessible : Atk.Object {
353                 public weak Gtk.Widget widget;
354                 [CCode (has_construct_function = false)]
355                 protected Accessible ();
356                 public virtual void connect_widget_destroyed ();
357         }
358         [CCode (cheader_filename = "gtk/gtk.h")]
359         public class Action : GLib.Object, Gtk.Buildable {
360                 [CCode (has_construct_function = false)]
361                 public Action (string name, string? label, string? tooltip, string? stock_id);
362                 public void block_activate ();
363                 public void connect_accelerator ();
364                 [NoWrapper]
365                 public virtual void connect_proxy (Gtk.Widget proxy);
366                 public unowned Gtk.Widget create_icon (Gtk.IconSize icon_size);
367                 public virtual unowned Gtk.Widget create_menu ();
368                 public virtual unowned Gtk.Widget create_menu_item ();
369                 public virtual unowned Gtk.Widget create_tool_item ();
370                 public void disconnect_accelerator ();
371                 [NoWrapper]
372                 public virtual void disconnect_proxy (Gtk.Widget proxy);
373                 public unowned GLib.Closure get_accel_closure ();
374                 public unowned string get_accel_path ();
375                 public bool get_always_show_image ();
376                 public unowned GLib.Icon get_gicon ();
377                 public unowned string get_icon_name ();
378                 public bool get_is_important ();
379                 public unowned string get_label ();
380                 public unowned GLib.SList<Gtk.Widget> get_proxies ();
381                 public bool get_sensitive ();
382                 public unowned string get_short_label ();
383                 public unowned string get_stock_id ();
384                 public unowned string get_tooltip ();
385                 public bool get_visible ();
386                 public bool get_visible_horizontal ();
387                 public bool get_visible_vertical ();
388                 public bool is_sensitive ();
389                 public bool is_visible ();
390                 public void set_accel_group (Gtk.AccelGroup accel_group);
391                 public void set_accel_path (string accel_path);
392                 public void set_always_show_image (bool always_show);
393                 public void set_gicon (GLib.Icon icon);
394                 public void set_icon_name (string icon_name);
395                 public void set_is_important (bool is_important);
396                 public void set_label (string label);
397                 public void set_sensitive (bool sensitive);
398                 public void set_short_label (string short_label);
399                 public void set_stock_id (string stock_id);
400                 public void set_tooltip (string tooltip);
401                 public void set_visible (bool visible);
402                 public void set_visible_horizontal (bool visible_horizontal);
403                 public void set_visible_vertical (bool visible_vertical);
404                 public void unblock_activate ();
405                 [NoAccessorMethod]
406                 public Gtk.ActionGroup action_group { owned get; set; }
407                 public bool always_show_image { get; set construct; }
408                 public GLib.Icon gicon { get; set; }
409                 [NoAccessorMethod]
410                 public bool hide_if_empty { get; set; }
411                 public string icon_name { get; set; }
412                 public bool is_important { get; set; }
413                 public string label { get; set; }
414                 public string name { get; construct; }
415                 public bool sensitive { get; set; }
416                 public string short_label { get; set; }
417                 public string stock_id { get; set; }
418                 public string tooltip { get; set; }
419                 public bool visible { get; set; }
420                 public bool visible_horizontal { get; set; }
421                 [NoAccessorMethod]
422                 public bool visible_overflown { get; set; }
423                 public bool visible_vertical { get; set; }
424                 [HasEmitter]
425                 public virtual signal void activate ();
426         }
427         [CCode (cheader_filename = "gtk/gtk.h")]
428         public class ActionGroup : GLib.Object, Gtk.Buildable {
429                 [CCode (has_construct_function = false)]
430                 public ActionGroup (string name);
431                 public void add_action (Gtk.Action action);
432                 public void add_action_with_accel (Gtk.Action action, string? accelerator);
433                 public void add_actions (Gtk.ActionEntry[] entries, void* user_data);
434                 public void add_actions_full (Gtk.ActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
435                 public void add_radio_actions (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change);
436                 public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change, GLib.DestroyNotify? destroy);
437                 public void add_toggle_actions (Gtk.ToggleActionEntry[] entries, void* user_data);
438                 public void add_toggle_actions_full (Gtk.ToggleActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
439                 public virtual unowned Gtk.Action get_action (string action_name);
440                 public bool get_sensitive ();
441                 public bool get_visible ();
442                 public GLib.List<weak Gtk.Action> list_actions ();
443                 public void remove_action (Gtk.Action action);
444                 public void set_sensitive (bool sensitive);
445                 public void set_translate_func (owned Gtk.TranslateFunc func);
446                 public void set_translation_domain (string domain);
447                 public void set_visible (bool visible);
448                 public unowned string translate_string (string str);
449                 public string name { get; construct; }
450                 public bool sensitive { get; set; }
451                 public bool visible { get; set; }
452                 public virtual signal void connect_proxy (Gtk.Action p0, Gtk.Widget p1);
453                 public virtual signal void disconnect_proxy (Gtk.Action p0, Gtk.Widget p1);
454                 public virtual signal void post_activate (Gtk.Action p0);
455                 public virtual signal void pre_activate (Gtk.Action p0);
456         }
457         [CCode (cheader_filename = "gtk/gtk.h")]
458         public class Adjustment : Gtk.Object {
459                 [CCode (type = "GtkObject*", has_construct_function = false)]
460                 public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
461                 public void clamp_page (double lower, double upper);
462                 public void configure (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
463                 public double get_lower ();
464                 public double get_page_increment ();
465                 public double get_page_size ();
466                 public double get_step_increment ();
467                 public double get_upper ();
468                 public double get_value ();
469                 public void set_lower (double lower);
470                 public void set_page_increment (double page_increment);
471                 public void set_page_size (double page_size);
472                 public void set_step_increment (double step_increment);
473                 public void set_upper (double upper);
474                 public void set_value (double value);
475                 public double lower { get; set; }
476                 public double page_increment { get; set; }
477                 public double page_size { get; set; }
478                 public double step_increment { get; set; }
479                 public double upper { get; set; }
480                 public double value { get; set; }
481                 [HasEmitter]
482                 public virtual signal void changed ();
483                 [HasEmitter]
484                 public virtual signal void value_changed ();
485         }
486         [CCode (cheader_filename = "gtk/gtk.h")]
487         public class Alignment : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
488                 [CCode (type = "GtkWidget*", has_construct_function = false)]
489                 public Alignment (float xalign, float yalign, float xscale, float yscale);
490                 public void get_padding (out uint padding_top, out uint padding_bottom, out uint padding_left, out uint padding_right);
491                 public void @set (float xalign, float yalign, float xscale, float yscale);
492                 public void set_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right);
493                 [NoAccessorMethod]
494                 public uint bottom_padding { get; set; }
495                 [NoAccessorMethod]
496                 public uint left_padding { get; set; }
497                 [NoAccessorMethod]
498                 public uint right_padding { get; set; }
499                 [NoAccessorMethod]
500                 public uint top_padding { get; set; }
501                 [NoAccessorMethod]
502                 public float xalign { get; set; }
503                 [NoAccessorMethod]
504                 public float xscale { get; set; }
505                 [NoAccessorMethod]
506                 public float yalign { get; set; }
507                 [NoAccessorMethod]
508                 public float yscale { get; set; }
509         }
510         [Compact]
511         [CCode (cheader_filename = "gtk/gtk.h")]
512         public class Arg {
513                 public weak string name;
514                 public GLib.Type type;
515         }
516         [CCode (cheader_filename = "gtk/gtk.h")]
517         public class Arrow : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
518                 [CCode (type = "GtkWidget*", has_construct_function = false)]
519                 public Arrow (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
520                 public void @set (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
521                 [NoAccessorMethod]
522                 public Gtk.ArrowType arrow_type { get; set; }
523                 [NoAccessorMethod]
524                 public Gtk.ShadowType shadow_type { get; set; }
525         }
526         [CCode (cheader_filename = "gtk/gtk.h")]
527         public class AspectFrame : Gtk.Frame, Atk.Implementor, Gtk.Buildable {
528                 public Gtk.Allocation center_allocation;
529                 [CCode (type = "GtkWidget*", has_construct_function = false)]
530                 public AspectFrame (string label, float xalign, float yalign, float ratio, bool obey_child);
531                 public void @set (float xalign, float yalign, float ratio, bool obey_child);
532                 [NoAccessorMethod]
533                 public bool obey_child { get; set; }
534                 [NoAccessorMethod]
535                 public float ratio { get; set; }
536                 [NoAccessorMethod]
537                 public float xalign { get; set; }
538                 [NoAccessorMethod]
539                 public float yalign { get; set; }
540         }
541         [CCode (cheader_filename = "gtk/gtk.h")]
542         public class Assistant : Gtk.Window, Atk.Implementor, Gtk.Buildable {
543                 public weak Gtk.Widget back;
544                 public weak Gtk.Widget forward;
545                 public weak Gtk.Widget last;
546                 [CCode (type = "GtkWidget*", has_construct_function = false)]
547                 public Assistant ();
548                 public void add_action_widget (Gtk.Widget child);
549                 public int append_page (Gtk.Widget page);
550                 public int get_current_page ();
551                 public int get_n_pages ();
552                 public unowned Gtk.Widget get_nth_page (int page_num);
553                 public bool get_page_complete (Gtk.Widget page);
554                 public unowned Gdk.Pixbuf get_page_header_image (Gtk.Widget page);
555                 public unowned Gdk.Pixbuf get_page_side_image (Gtk.Widget page);
556                 public unowned string get_page_title (Gtk.Widget page);
557                 public Gtk.AssistantPageType get_page_type (Gtk.Widget page);
558                 public int insert_page (Gtk.Widget page, int position);
559                 public int prepend_page (Gtk.Widget page);
560                 public void remove_action_widget (Gtk.Widget child);
561                 public void set_current_page (int page_num);
562                 public void set_forward_page_func (owned Gtk.AssistantPageFunc page_func);
563                 public void set_page_complete (Gtk.Widget page, bool complete);
564                 public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
565                 public void set_page_side_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
566                 public void set_page_title (Gtk.Widget page, string title);
567                 public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type);
568                 public void update_buttons_state ();
569                 public virtual signal void apply ();
570                 public virtual signal void cancel ();
571                 public virtual signal void close ();
572                 public virtual signal void prepare (Gtk.Widget page);
573         }
574         [CCode (cheader_filename = "gtk/gtk.h")]
575         public class Bin : Gtk.Container, Atk.Implementor, Gtk.Buildable {
576                 public weak Gtk.Widget child;
577                 [CCode (has_construct_function = false)]
578                 protected Bin ();
579                 public unowned Gtk.Widget get_child ();
580         }
581         [Compact]
582         [CCode (cheader_filename = "gtk/gtk.h")]
583         public class BindingArg {
584                 public GLib.Type arg_type;
585         }
586         [Compact]
587         [CCode (cheader_filename = "gtk/gtk.h")]
588         public class BindingEntry {
589                 public weak Gtk.BindingSet binding_set;
590                 public uint destroyed;
591                 public weak Gtk.BindingEntry hash_next;
592                 public uint in_emission;
593                 public uint keyval;
594                 public uint marks_unbound;
595                 public Gdk.ModifierType modifiers;
596                 public weak Gtk.BindingEntry set_next;
597                 public weak Gtk.BindingSignal signals;
598                 public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args);
599                 public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList<Gtk.BindingArg> binding_args);
600                 public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
601                 public static void skip (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
602         }
603         [Compact]
604         [CCode (cheader_filename = "gtk/gtk.h")]
605         public class BindingSet {
606                 public weak Gtk.BindingEntry current;
607                 public weak Gtk.BindingEntry entries;
608                 public uint parsed;
609                 public int priority;
610                 public weak string set_name;
611                 [CCode (has_construct_function = false)]
612                 public BindingSet (string set_name);
613                 public bool activate (uint keyval, Gdk.ModifierType modifiers, Gtk.Object object);
614                 public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority);
615                 public static unowned Gtk.BindingSet by_class (void* object_class);
616                 public static unowned Gtk.BindingSet find (string set_name);
617         }
618         [Compact]
619         [CCode (cheader_filename = "gtk/gtk.h")]
620         public class BindingSignal {
621                 public weak Gtk.BindingArg args;
622                 public uint n_args;
623                 public weak Gtk.BindingSignal next;
624                 public weak string signal_name;
625         }
626         [Compact]
627         [CCode (copy_function = "gtk_border_copy", type_id = "GTK_TYPE_BORDER", cheader_filename = "gtk/gtk.h")]
628         public class Border {
629                 public int bottom;
630                 public int left;
631                 public int right;
632                 public int top;
633                 [CCode (has_construct_function = false)]
634                 public Border ();
635                 public Gtk.Border copy ();
636         }
637         [CCode (cheader_filename = "gtk/gtk.h")]
638         public class Box : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
639                 public weak GLib.List<Gtk.Widget> children;
640                 [CCode (has_construct_function = false)]
641                 protected Box ();
642                 public bool get_homogeneous ();
643                 public int get_spacing ();
644                 public void pack_end (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
645                 public void pack_start (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
646                 public void query_child_packing (Gtk.Widget child, out bool expand, out bool fill, out uint padding, out Gtk.PackType pack_type);
647                 public void reorder_child (Gtk.Widget child, int position);
648                 public void set_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type);
649                 public void set_homogeneous (bool homogeneous);
650                 public void set_spacing (int spacing);
651                 public bool homogeneous { get; set; }
652                 public int spacing { get; set; }
653         }
654         [Compact]
655         [CCode (cheader_filename = "gtk/gtk.h")]
656         public class BoxChild {
657                 public uint expand;
658                 public uint fill;
659                 public uint is_secondary;
660                 public uint pack;
661                 public uint16 padding;
662                 public weak Gtk.Widget widget;
663         }
664         [CCode (cheader_filename = "gtk/gtk.h")]
665         public class Builder : GLib.Object {
666                 [CCode (has_construct_function = false)]
667                 public Builder ();
668                 public uint add_from_file (string filename) throws GLib.Error;
669                 public uint add_from_string (string buffer, size_t length) throws GLib.Error;
670                 public uint add_objects_from_file (string filename, [CCode (array_length = false)] string[] object_ids) throws GLib.Error;
671                 public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false)] string[] object_ids) throws GLib.Error;
672                 public void connect_signals (void* user_data);
673                 public void connect_signals_full (Gtk.BuilderConnectFunc func);
674                 public static GLib.Quark error_quark ();
675                 public unowned GLib.Object get_object (string name);
676                 public GLib.SList<weak GLib.Object> get_objects ();
677                 public unowned string get_translation_domain ();
678                 public virtual GLib.Type get_type_from_name (string type_name);
679                 public void set_translation_domain (string domain);
680                 public bool value_from_string (GLib.ParamSpec pspec, string str, GLib.Value value) throws GLib.Error;
681                 public bool value_from_string_type (GLib.Type type, string str, GLib.Value value) throws GLib.Error;
682                 public string translation_domain { get; set; }
683         }
684         [CCode (cheader_filename = "gtk/gtk.h")]
685         public class Button : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
686                 public uint activate_timeout;
687                 public uint button_down;
688                 public uint constructed;
689                 public uint depress_on_activate;
690                 public uint depressed;
691                 public weak Gdk.Window event_window;
692                 public uint in_button;
693                 public weak string label_text;
694                 [CCode (type = "GtkWidget*", has_construct_function = false)]
695                 public Button ();
696                 [CCode (type = "GtkWidget*", has_construct_function = false)]
697                 public Button.from_stock (string stock_id);
698                 public void get_alignment (out float xalign, out float yalign);
699                 public bool get_focus_on_click ();
700                 public unowned Gtk.Widget get_image ();
701                 public Gtk.PositionType get_image_position ();
702                 public unowned string get_label ();
703                 public Gtk.ReliefStyle get_relief ();
704                 public bool get_use_stock ();
705                 public bool get_use_underline ();
706                 public void set_alignment (float xalign, float yalign);
707                 public void set_focus_on_click (bool focus_on_click);
708                 public void set_image (Gtk.Widget image);
709                 public void set_image_position (Gtk.PositionType position);
710                 public void set_label (string label);
711                 public void set_relief (Gtk.ReliefStyle newstyle);
712                 public void set_use_stock (bool use_stock);
713                 public void set_use_underline (bool use_underline);
714                 [CCode (type = "GtkWidget*", has_construct_function = false)]
715                 public Button.with_label (string label);
716                 [CCode (type = "GtkWidget*", has_construct_function = false)]
717                 public Button.with_mnemonic (string label);
718                 public bool focus_on_click { get; set; }
719                 public Gtk.Widget image { get; set; }
720                 public Gtk.PositionType image_position { get; set; }
721                 public string label { get; set construct; }
722                 public Gtk.ReliefStyle relief { get; set; }
723                 public bool use_stock { get; set construct; }
724                 public bool use_underline { get; set construct; }
725                 [NoAccessorMethod]
726                 public float xalign { get; set; }
727                 [NoAccessorMethod]
728                 public float yalign { get; set; }
729                 public virtual signal void activate ();
730                 [HasEmitter]
731                 public virtual signal void clicked ();
732                 [HasEmitter]
733                 public virtual signal void enter ();
734                 [HasEmitter]
735                 public virtual signal void leave ();
736                 [HasEmitter]
737                 public virtual signal void pressed ();
738                 [HasEmitter]
739                 public virtual signal void released ();
740         }
741         [CCode (cheader_filename = "gtk/gtk.h")]
742         public class ButtonBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
743                 public int child_ipad_x;
744                 public int child_ipad_y;
745                 public int child_min_height;
746                 public int child_min_width;
747                 [CCode (has_construct_function = false)]
748                 protected ButtonBox ();
749                 public bool get_child_secondary (Gtk.Widget child);
750                 public Gtk.ButtonBoxStyle get_layout ();
751                 public void set_child_secondary (Gtk.Widget child, bool is_secondary);
752                 public void set_layout (Gtk.ButtonBoxStyle layout_style);
753                 [NoAccessorMethod]
754                 public Gtk.ButtonBoxStyle layout_style { get; set; }
755         }
756         [CCode (cheader_filename = "gtk/gtk.h")]
757         public class Calendar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
758                 [CCode (array_length = false)]
759                 public weak int[] day_month;
760                 public Gtk.CalendarDisplayOptions display_flags;
761                 public int focus_col;
762                 public int focus_row;
763                 public weak Gdk.GC gc;
764                 [CCode (array_length = false)]
765                 public weak char[] grow_space;
766                 public weak Gtk.Style header_style;
767                 public int highlight_col;
768                 public int highlight_row;
769                 public weak Gtk.Style label_style;
770                 [CCode (array_length = false)]
771                 public weak int[] marked_date;
772                 [CCode (array_length = false)]
773                 public weak Gdk.Color[] marked_date_color;
774                 public int num_marked_dates;
775                 public int selected_day;
776                 public weak Gdk.GC xor_gc;
777                 [CCode (type = "GtkWidget*", has_construct_function = false)]
778                 public Calendar ();
779                 public void clear_marks ();
780                 public void get_date (out uint year, out uint month, out uint day);
781                 public int get_detail_height_rows ();
782                 public int get_detail_width_chars ();
783                 public Gtk.CalendarDisplayOptions get_display_options ();
784                 public bool mark_day (uint day);
785                 public void select_day (uint day);
786                 public bool select_month (uint month, uint year);
787                 public void set_detail_func (owned Gtk.CalendarDetailFunc func);
788                 public void set_detail_height_rows (int rows);
789                 public void set_detail_width_chars (int chars);
790                 public void set_display_options (Gtk.CalendarDisplayOptions flags);
791                 public bool unmark_day (uint day);
792                 [NoAccessorMethod]
793                 public int day { get; set; }
794                 public int detail_height_rows { get; set; }
795                 public int detail_width_chars { get; set; }
796                 [NoAccessorMethod]
797                 public int month { get; set; }
798                 [NoAccessorMethod]
799                 public bool no_month_change { get; set; }
800                 [NoAccessorMethod]
801                 public bool show_day_names { get; set; }
802                 [NoAccessorMethod]
803                 public bool show_details { get; set; }
804                 [NoAccessorMethod]
805                 public bool show_heading { get; set; }
806                 [NoAccessorMethod]
807                 public bool show_week_numbers { get; set; }
808                 [NoAccessorMethod]
809                 public int year { get; set; }
810                 public virtual signal void day_selected ();
811                 public virtual signal void day_selected_double_click ();
812                 public virtual signal void month_changed ();
813                 public virtual signal void next_month ();
814                 public virtual signal void next_year ();
815                 public virtual signal void prev_month ();
816                 public virtual signal void prev_year ();
817         }
818         [CCode (cheader_filename = "gtk/gtk.h")]
819         public abstract class CellRenderer : Gtk.Object {
820                 [CCode (has_construct_function = false)]
821                 protected CellRenderer ();
822                 public virtual bool activate (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
823                 public void get_alignment (float xalign, float yalign);
824                 public void get_fixed_size (out int width, out int height);
825                 public void get_padding (int xpad, int ypad);
826                 public bool get_sensitive ();
827                 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);
828                 public bool get_visible ();
829                 public abstract void render (Gdk.Window window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags);
830                 public void set_alignment (float xalign, float yalign);
831                 public void set_fixed_size (int width, int height);
832                 public void set_padding (int xpad, int ypad);
833                 public void set_sensitive (bool sensitive);
834                 public void set_visible (bool visible);
835                 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);
836                 public void stop_editing (bool canceled);
837                 [NoAccessorMethod]
838                 public string cell_background { set; }
839                 [NoAccessorMethod]
840                 public Gdk.Color cell_background_gdk { get; set; }
841                 [NoAccessorMethod]
842                 public bool cell_background_set { get; set; }
843                 [NoAccessorMethod]
844                 public bool editing { get; }
845                 [NoAccessorMethod]
846                 public int height { get; set; }
847                 [NoAccessorMethod]
848                 public bool is_expanded { get; set; }
849                 [NoAccessorMethod]
850                 public bool is_expander { get; set; }
851                 [NoAccessorMethod]
852                 public Gtk.CellRendererMode mode { get; set; }
853                 public bool sensitive { get; set; }
854                 public bool visible { get; set; }
855                 [NoAccessorMethod]
856                 public int width { get; set; }
857                 [NoAccessorMethod]
858                 public float xalign { get; set; }
859                 [NoAccessorMethod]
860                 public uint xpad { get; set; }
861                 [NoAccessorMethod]
862                 public float yalign { get; set; }
863                 [NoAccessorMethod]
864                 public uint ypad { get; set; }
865                 [HasEmitter]
866                 public virtual signal void editing_canceled ();
867                 public virtual signal void editing_started (Gtk.CellEditable editable, string path);
868         }
869         [CCode (cheader_filename = "gtk/gtk.h")]
870         public class CellRendererAccel : Gtk.CellRendererText {
871                 public weak Gtk.Widget edit_widget;
872                 public weak Gtk.Widget grab_widget;
873                 public weak Gtk.Widget sizing_label;
874                 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
875                 public CellRendererAccel ();
876                 [NoAccessorMethod]
877                 public uint accel_key { get; set; }
878                 [NoAccessorMethod]
879                 public Gtk.CellRendererAccelMode accel_mode { get; set; }
880                 [NoAccessorMethod]
881                 public Gdk.ModifierType accel_mods { get; set; }
882                 [NoAccessorMethod]
883                 public uint keycode { get; set; }
884                 public virtual signal void accel_cleared (string path_string);
885                 public virtual signal void accel_edited (string path_string, uint accel_key, Gdk.ModifierType accel_mods, uint hardware_keycode);
886         }
887         [CCode (cheader_filename = "gtk/gtk.h")]
888         public class CellRendererCombo : Gtk.CellRendererText {
889                 public uint focus_out_id;
890                 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
891                 public CellRendererCombo ();
892                 [NoAccessorMethod]
893                 public bool has_entry { get; set; }
894                 [NoAccessorMethod]
895                 public Gtk.TreeModel model { owned get; set; }
896                 [NoAccessorMethod]
897                 public int text_column { get; set; }
898                 public virtual signal void changed (string p0, Gtk.TreeIter p1);
899         }
900         [CCode (cheader_filename = "gtk/gtk.h")]
901         public class CellRendererPixbuf : Gtk.CellRenderer {
902                 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
903                 public CellRendererPixbuf ();
904                 [NoAccessorMethod]
905                 public bool follow_state { get; set; }
906                 [NoAccessorMethod]
907                 public GLib.Icon gicon { owned get; set; }
908                 [NoAccessorMethod]
909                 public string icon_name { owned get; set; }
910                 [NoAccessorMethod]
911                 public Gdk.Pixbuf pixbuf { owned get; set; }
912                 [NoAccessorMethod]
913                 public Gdk.Pixbuf pixbuf_expander_closed { owned get; set; }
914                 [NoAccessorMethod]
915                 public Gdk.Pixbuf pixbuf_expander_open { owned get; set; }
916                 [NoAccessorMethod]
917                 public string stock_detail { owned get; set; }
918                 [NoAccessorMethod]
919                 public string stock_id { owned get; set; }
920                 [NoAccessorMethod]
921                 public uint stock_size { get; set; }
922         }
923         [CCode (cheader_filename = "gtk/gtk.h")]
924         public class CellRendererProgress : Gtk.CellRenderer {
925                 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
926                 public CellRendererProgress ();
927                 [NoAccessorMethod]
928                 public Gtk.ProgressBarOrientation orientation { get; set; }
929                 [NoAccessorMethod]
930                 public int pulse { get; set; }
931                 [NoAccessorMethod]
932                 public string text { owned get; set; }
933                 [NoAccessorMethod]
934                 public float text_xalign { get; set; }
935                 [NoAccessorMethod]
936                 public float text_yalign { get; set; }
937                 [NoAccessorMethod]
938                 public int value { get; set; }
939         }
940         [CCode (cheader_filename = "gtk/gtk.h")]
941         public class CellRendererSpin : Gtk.CellRendererText {
942                 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
943                 public CellRendererSpin ();
944                 [NoAccessorMethod]
945                 public Gtk.Adjustment adjustment { owned get; set; }
946                 [NoAccessorMethod]
947                 public double climb_rate { get; set; }
948                 [NoAccessorMethod]
949                 public uint digits { get; set; }
950         }
951         [CCode (cheader_filename = "gtk/gtk.h")]
952         public class CellRendererSpinner : Gtk.CellRenderer {
953                 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
954                 public CellRendererSpinner ();
955                 [NoAccessorMethod]
956                 public bool active { get; set; }
957                 [NoAccessorMethod]
958                 public uint pulse { get; set; }
959                 [NoAccessorMethod]
960                 public Gtk.IconSize size { get; set; }
961         }
962         [CCode (cheader_filename = "gtk/gtk.h")]
963         public class CellRendererText : Gtk.CellRenderer {
964                 public uint calc_fixed_height;
965                 public weak Pango.AttrList extra_attrs;
966                 public int fixed_height_rows;
967                 public double font_scale;
968                 public Pango.Underline underline_style;
969                 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
970                 public CellRendererText ();
971                 public void set_fixed_height_from_font (int number_of_rows);
972                 [NoAccessorMethod]
973                 public bool align_set { get; set; }
974                 [NoAccessorMethod]
975                 public Pango.Alignment alignment { get; set; }
976                 [NoAccessorMethod]
977                 public Pango.AttrList attributes { owned get; set; }
978                 [NoAccessorMethod]
979                 public string background { set; }
980                 [NoAccessorMethod]
981                 public Gdk.Color background_gdk { get; set; }
982                 [NoAccessorMethod]
983                 public bool background_set { get; set; }
984                 [NoAccessorMethod]
985                 public bool editable { get; set; }
986                 [NoAccessorMethod]
987                 public bool editable_set { get; set; }
988                 [NoAccessorMethod]
989                 public Pango.EllipsizeMode ellipsize { get; set; }
990                 [NoAccessorMethod]
991                 public bool ellipsize_set { get; set; }
992                 [NoAccessorMethod]
993                 public string family { owned get; set; }
994                 [NoAccessorMethod]
995                 public bool family_set { get; set; }
996                 [NoAccessorMethod]
997                 public string font { owned get; set; }
998                 [NoAccessorMethod]
999                 public Pango.FontDescription font_desc { owned get; set; }
1000                 [NoAccessorMethod]
1001                 public string foreground { set; }
1002                 [NoAccessorMethod]
1003                 public Gdk.Color foreground_gdk { get; set; }
1004                 [NoAccessorMethod]
1005                 public bool foreground_set { get; set; }
1006                 [NoAccessorMethod]
1007                 public string language { owned get; set; }
1008                 [NoAccessorMethod]
1009                 public bool language_set { get; set; }
1010                 [NoAccessorMethod]
1011                 public string markup { set; }
1012                 [NoAccessorMethod]
1013                 public int rise { get; set; }
1014                 [NoAccessorMethod]
1015                 public bool rise_set { get; set; }
1016                 [NoAccessorMethod]
1017                 public double scale { get; set; }
1018                 [NoAccessorMethod]
1019                 public bool scale_set { get; set; }
1020                 [NoAccessorMethod]
1021                 public bool single_paragraph_mode { get; set; }
1022                 [NoAccessorMethod]
1023                 public int size { get; set; }
1024                 [NoAccessorMethod]
1025                 public double size_points { get; set; }
1026                 [NoAccessorMethod]
1027                 public bool size_set { get; set; }
1028                 [NoAccessorMethod]
1029                 public Pango.Stretch stretch { get; set; }
1030                 [NoAccessorMethod]
1031                 public bool stretch_set { get; set; }
1032                 [NoAccessorMethod]
1033                 public bool strikethrough { get; set; }
1034                 [NoAccessorMethod]
1035                 public bool strikethrough_set { get; set; }
1036                 [NoAccessorMethod]
1037                 public Pango.Style style { get; set; }
1038                 [NoAccessorMethod]
1039                 public bool style_set { get; set; }
1040                 [NoAccessorMethod]
1041                 public string text { owned get; set; }
1042                 [NoAccessorMethod]
1043                 public Pango.Underline underline { get; set; }
1044                 [NoAccessorMethod]
1045                 public bool underline_set { get; set; }
1046                 [NoAccessorMethod]
1047                 public Pango.Variant variant { get; set; }
1048                 [NoAccessorMethod]
1049                 public bool variant_set { get; set; }
1050                 [NoAccessorMethod]
1051                 public int weight { get; set; }
1052                 [NoAccessorMethod]
1053                 public bool weight_set { get; set; }
1054                 [NoAccessorMethod]
1055                 public int width_chars { get; set; }
1056                 [NoAccessorMethod]
1057                 public Pango.WrapMode wrap_mode { get; set; }
1058                 [NoAccessorMethod]
1059                 public int wrap_width { get; set; }
1060                 public virtual signal void edited (string path, string new_text);
1061         }
1062         [CCode (cheader_filename = "gtk/gtk.h")]
1063         public class CellRendererToggle : Gtk.CellRenderer {
1064                 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
1065                 public CellRendererToggle ();
1066                 public bool get_activatable ();
1067                 public bool get_active ();
1068                 public bool get_radio ();
1069                 public void set_activatable (bool setting);
1070                 public void set_active (bool setting);
1071                 public void set_radio (bool radio);
1072                 public bool activatable { get; set; }
1073                 public bool active { get; set; }
1074                 [NoAccessorMethod]
1075                 public bool inconsistent { get; set; }
1076                 [NoAccessorMethod]
1077                 public int indicator_size { get; set; }
1078                 public bool radio { get; set; }
1079                 public virtual signal void toggled (string path);
1080         }
1081         [CCode (cheader_filename = "gtk/gtk.h")]
1082         public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout {
1083                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1084                 public CellView ();
1085                 public unowned Gtk.TreePath get_displayed_row ();
1086                 public unowned Gtk.TreeModel get_model ();
1087                 public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition);
1088                 public void set_background_color (Gdk.Color color);
1089                 public void set_displayed_row (Gtk.TreePath path);
1090                 public void set_model (Gtk.TreeModel? model);
1091                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1092                 public CellView.with_markup (string markup);
1093                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1094                 public CellView.with_pixbuf (Gdk.Pixbuf pixbuf);
1095                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1096                 public CellView.with_text (string text);
1097                 [NoAccessorMethod]
1098                 public string background { set; }
1099                 [NoAccessorMethod]
1100                 public Gdk.Color background_gdk { get; set; }
1101                 [NoAccessorMethod]
1102                 public bool background_set { get; set; }
1103                 public Gtk.TreeModel model { get; set; }
1104         }
1105         [CCode (cheader_filename = "gtk/gtk.h")]
1106         public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1107                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1108                 public CheckButton ();
1109                 [NoWrapper]
1110                 public virtual void draw_indicator (Gdk.Rectangle area);
1111                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1112                 public CheckButton.with_label (string label);
1113                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1114                 public CheckButton.with_mnemonic (string label);
1115         }
1116         [CCode (cheader_filename = "gtk/gtk.h")]
1117         public class CheckMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1118                 public uint always_show_toggle;
1119                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1120                 public CheckMenuItem ();
1121                 [NoWrapper]
1122                 public virtual void draw_indicator (Gdk.Rectangle area);
1123                 public bool get_active ();
1124                 public bool get_draw_as_radio ();
1125                 public bool get_inconsistent ();
1126                 public void set_active (bool is_active);
1127                 public void set_draw_as_radio (bool draw_as_radio);
1128                 public void set_inconsistent (bool setting);
1129                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1130                 public CheckMenuItem.with_label (string label);
1131                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1132                 public CheckMenuItem.with_mnemonic (string label);
1133                 public bool active { get; set; }
1134                 public bool draw_as_radio { get; set; }
1135                 public bool inconsistent { get; set; }
1136                 [HasEmitter]
1137                 public virtual signal void toggled ();
1138         }
1139         [CCode (cheader_filename = "gtk/gtk.h")]
1140         public class Clipboard : GLib.Object {
1141                 [CCode (has_construct_function = false)]
1142                 protected Clipboard ();
1143                 public void clear ();
1144                 public static unowned Gtk.Clipboard @get (Gdk.Atom selection);
1145                 public unowned Gdk.Display get_display ();
1146                 public static unowned Gtk.Clipboard get_for_display (Gdk.Display display, Gdk.Atom selection);
1147                 public unowned GLib.Object get_owner ();
1148                 public void request_contents (Gdk.Atom target, Gtk.ClipboardReceivedFunc callback);
1149                 public void request_image (Gtk.ClipboardImageReceivedFunc callback);
1150                 public void request_rich_text (Gtk.TextBuffer buffer, Gtk.ClipboardRichTextReceivedFunc callback);
1151                 public void request_targets (Gtk.ClipboardTargetsReceivedFunc callback);
1152                 public void request_text (Gtk.ClipboardTextReceivedFunc callback);
1153                 public void request_uris (Gtk.ClipboardURIReceivedFunc callback);
1154                 public void set_can_store (Gtk.TargetEntry[] targets);
1155                 public void set_image (Gdk.Pixbuf pixbuf);
1156                 public void set_text (string text, int len);
1157                 public bool set_with_data (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func);
1158                 public bool set_with_owner (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func, GLib.Object owner);
1159                 public void store ();
1160                 public unowned Gtk.SelectionData wait_for_contents (Gdk.Atom target);
1161                 public unowned Gdk.Pixbuf wait_for_image ();
1162                 public uchar wait_for_rich_text (Gtk.TextBuffer buffer, out Gdk.Atom format, size_t length);
1163                 public bool wait_for_targets (Gdk.Atom[] targets);
1164                 public unowned string wait_for_text ();
1165                 public unowned string wait_for_uris ();
1166                 public bool wait_is_image_available ();
1167                 public bool wait_is_rich_text_available (Gtk.TextBuffer buffer);
1168                 public bool wait_is_target_available (Gdk.Atom target);
1169                 public bool wait_is_text_available ();
1170                 public bool wait_is_uris_available ();
1171                 public virtual signal void owner_change (Gdk.Event p0);
1172         }
1173         [CCode (cheader_filename = "gtk/gtk.h")]
1174         public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1175                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1176                 public ColorButton ();
1177                 public uint16 get_alpha ();
1178                 public void get_color (out Gdk.Color color);
1179                 public unowned string get_title ();
1180                 public bool get_use_alpha ();
1181                 public void set_alpha (uint16 alpha);
1182                 public void set_color (Gdk.Color color);
1183                 public void set_title (string title);
1184                 public void set_use_alpha (bool use_alpha);
1185                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1186                 public ColorButton.with_color (Gdk.Color color);
1187                 public uint alpha { get; set; }
1188                 public Gdk.Color color { get; set; }
1189                 public string title { get; set; }
1190                 public bool use_alpha { get; set; }
1191                 public virtual signal void color_set ();
1192         }
1193         [CCode (cheader_filename = "gtk/gtk.h")]
1194         public class ColorSelection : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1195                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1196                 public ColorSelection ();
1197                 public uint16 get_current_alpha ();
1198                 public void get_current_color (out Gdk.Color color);
1199                 public bool get_has_opacity_control ();
1200                 public bool get_has_palette ();
1201                 public uint16 get_previous_alpha ();
1202                 public void get_previous_color (out Gdk.Color color);
1203                 public bool is_adjusting ();
1204                 public static bool palette_from_string (string str, Gdk.Color[] colors);
1205                 public static unowned string palette_to_string (Gdk.Color[] colors);
1206                 public static unowned Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func);
1207                 public void set_current_alpha (uint16 alpha);
1208                 public void set_current_color (Gdk.Color color);
1209                 public void set_has_opacity_control (bool has_opacity);
1210                 public void set_has_palette (bool has_palette);
1211                 public void set_previous_alpha (uint16 alpha);
1212                 public void set_previous_color (Gdk.Color color);
1213                 public uint current_alpha { get; set; }
1214                 public Gdk.Color current_color { get; set; }
1215                 public bool has_opacity_control { get; set; }
1216                 public bool has_palette { get; set; }
1217                 public virtual signal void color_changed ();
1218         }
1219         [CCode (cheader_filename = "gtk/gtk.h")]
1220         public class ColorSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
1221                 public weak Gtk.Widget colorsel;
1222                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1223                 public ColorSelectionDialog (string title);
1224                 public unowned Gtk.Widget get_color_selection ();
1225                 [NoAccessorMethod]
1226                 public Gtk.Widget cancel_button { owned get; }
1227                 public Gtk.Widget color_selection { get; }
1228                 [NoAccessorMethod]
1229                 public Gtk.Widget help_button { owned get; }
1230                 [NoAccessorMethod]
1231                 public Gtk.Widget ok_button { owned get; }
1232         }
1233         [CCode (cheader_filename = "gtk/gtk.h")]
1234         public class ComboBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout {
1235                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1236                 public ComboBox ();
1237                 public void append_text (string text);
1238                 public int get_active ();
1239                 public bool get_active_iter (out Gtk.TreeIter iter);
1240                 public virtual unowned string get_active_text ();
1241                 public bool get_add_tearoffs ();
1242                 public Gtk.SensitivityType get_button_sensitivity ();
1243                 public int get_column_span_column ();
1244                 public bool get_focus_on_click ();
1245                 public unowned Gtk.TreeModel get_model ();
1246                 public unowned Atk.Object get_popup_accessible ();
1247                 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
1248                 public int get_row_span_column ();
1249                 public unowned string get_title ();
1250                 public int get_wrap_width ();
1251                 public void insert_text (int position, string text);
1252                 public void prepend_text (string text);
1253                 public void remove_text (int position);
1254                 public void set_active (int index_);
1255                 public void set_active_iter (Gtk.TreeIter iter);
1256                 public void set_add_tearoffs (bool add_tearoffs);
1257                 public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
1258                 public void set_column_span_column (int column_span);
1259                 public void set_focus_on_click (bool focus_on_click);
1260                 public void set_model (Gtk.TreeModel? model);
1261                 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc func);
1262                 public void set_row_span_column (int row_span);
1263                 public void set_title (string title);
1264                 public void set_wrap_width (int width);
1265                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1266                 public ComboBox.text ();
1267                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1268                 public ComboBox.with_model (Gtk.TreeModel model);
1269                 public int active { get; set; }
1270                 public bool add_tearoffs { get; set; }
1271                 public Gtk.SensitivityType button_sensitivity { get; set; }
1272                 public int column_span_column { get; set; }
1273                 public bool focus_on_click { get; set; }
1274                 [NoAccessorMethod]
1275                 public bool has_frame { get; set; }
1276                 public Gtk.TreeModel model { get; set; }
1277                 [NoAccessorMethod]
1278                 public bool popup_shown { get; }
1279                 public int row_span_column { get; set; }
1280                 [NoAccessorMethod]
1281                 public string tearoff_title { owned get; set; }
1282                 public int wrap_width { get; set; }
1283                 public virtual signal void changed ();
1284                 public virtual signal void move_active (Gtk.ScrollType p0);
1285                 [HasEmitter]
1286                 public virtual signal bool popdown ();
1287                 [HasEmitter]
1288                 public virtual signal void popup ();
1289         }
1290         [CCode (cheader_filename = "gtk/gtk.h")]
1291         public class ComboBoxEntry : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout {
1292                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1293                 public ComboBoxEntry ();
1294                 public int get_text_column ();
1295                 public void set_text_column (int text_column);
1296                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1297                 public ComboBoxEntry.text ();
1298                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1299                 public ComboBoxEntry.with_model (Gtk.TreeModel model, int text_column);
1300                 public int text_column { get; set; }
1301         }
1302         [CCode (cheader_filename = "gtk/gtk.h")]
1303         public class Container : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1304                 public weak Gtk.Widget focus_child;
1305                 public uint has_focus_chain;
1306                 public uint need_resize;
1307                 public uint reallocate_redraws;
1308                 [CCode (has_construct_function = false)]
1309                 protected Container ();
1310                 public void add_with_properties (Gtk.Widget widget, ...);
1311                 public void child_get (Gtk.Widget child, ...);
1312                 public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value);
1313                 public void child_get_valist (Gtk.Widget child, string first_property_name, void* var_args);
1314                 public void child_set (Gtk.Widget child, ...);
1315                 public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value);
1316                 public void child_set_valist (Gtk.Widget child, string first_property_name, void* var_args);
1317                 public virtual GLib.Type child_type ();
1318                 public static unowned GLib.ParamSpec class_find_child_property (GLib.ObjectClass cclass, string property_name);
1319                 public static unowned GLib.ParamSpec class_list_child_properties (GLib.ObjectClass cclass, uint n_properties);
1320                 [NoWrapper]
1321                 public virtual unowned string composite_name (Gtk.Widget child);
1322                 public virtual void forall (Gtk.Callback callback);
1323                 [CCode (vfunc_name = "forall")]
1324                 public virtual void forall_internal (bool include_internal, Gtk.Callback callback);
1325                 public void @foreach (Gtk.Callback callback);
1326                 public uint get_border_width ();
1327                 [NoWrapper]
1328                 public virtual void get_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1329                 public GLib.List<weak Gtk.Widget> get_children ();
1330                 public bool get_focus_chain (out GLib.List<Gtk.Widget> focusable_widgets);
1331                 public unowned Gtk.Widget get_focus_child ();
1332                 public unowned Gtk.Adjustment get_focus_hadjustment ();
1333                 public unowned Gtk.Adjustment get_focus_vadjustment ();
1334                 public Gtk.ResizeMode get_resize_mode ();
1335                 [CCode (cname = "gtk_container_class_install_child_property")]
1336                 public class void install_child_property (uint property_id, GLib.ParamSpec pspec);
1337                 public void propagate_expose (Gtk.Widget child, Gdk.EventExpose event);
1338                 public void resize_children ();
1339                 public void set_border_width (uint border_width);
1340                 [NoWrapper]
1341                 public virtual void set_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1342                 public void set_focus_chain (GLib.List<Gtk.Widget> focusable_widgets);
1343                 public void set_focus_hadjustment (Gtk.Adjustment adjustment);
1344                 public void set_focus_vadjustment (Gtk.Adjustment adjustment);
1345                 public void set_reallocate_redraws (bool needs_redraws);
1346                 public void set_resize_mode (Gtk.ResizeMode resize_mode);
1347                 public void unset_focus_chain ();
1348                 public uint border_width { get; set; }
1349                 [NoAccessorMethod]
1350                 public Gtk.Widget child { set; }
1351                 public Gtk.ResizeMode resize_mode { get; set; }
1352                 [HasEmitter]
1353                 public virtual signal void add (Gtk.Widget widget);
1354                 [HasEmitter]
1355                 public virtual signal void check_resize ();
1356                 [HasEmitter]
1357                 public virtual signal void remove (Gtk.Widget widget);
1358                 [HasEmitter]
1359                 public virtual signal void set_focus_child (Gtk.Widget? widget);
1360         }
1361         [CCode (cheader_filename = "gtk/gtk.h")]
1362         public class Curve : Gtk.DrawingArea, Atk.Implementor, Gtk.Buildable {
1363                 [CCode (array_length = false)]
1364                 public weak float[] ctlpoint;
1365                 public int cursor_type;
1366                 public int grab_point;
1367                 public int height;
1368                 public int last;
1369                 public int num_ctlpoints;
1370                 public int num_points;
1371                 public weak Gdk.Pixmap pixmap;
1372                 public Gdk.Point point;
1373                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1374                 public Curve ();
1375                 public void get_vector (int veclen, float[] vector);
1376                 public void reset ();
1377                 public void set_curve_type (Gtk.CurveType type);
1378                 public void set_gamma (float gamma_);
1379                 public void set_range (float min_x, float max_x, float min_y, float max_y);
1380                 public void set_vector (int veclen, float[] vector);
1381                 [NoAccessorMethod]
1382                 public Gtk.CurveType curve_type { get; set; }
1383                 [NoAccessorMethod]
1384                 public float max_x { get; set; }
1385                 [NoAccessorMethod]
1386                 public float max_y { get; set; }
1387                 [NoAccessorMethod]
1388                 public float min_x { get; set; }
1389                 [NoAccessorMethod]
1390                 public float min_y { get; set; }
1391                 public virtual signal void curve_type_changed ();
1392         }
1393         [CCode (cheader_filename = "gtk/gtk.h")]
1394         public class Dialog : Gtk.Window, Atk.Implementor, Gtk.Buildable {
1395                 public Gtk.HButtonBox action_area;
1396                 public weak Gtk.Widget separator;
1397                 public Gtk.VBox vbox;
1398                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1399                 public Dialog ();
1400                 public void add_action_widget (Gtk.Widget child, int response_id);
1401                 public unowned Gtk.Widget add_button (string button_text, int response_id);
1402                 public void add_buttons (...);
1403                 public unowned Gtk.Widget get_action_area ();
1404                 public unowned Gtk.Widget get_content_area ();
1405                 public bool get_has_separator ();
1406                 public int get_response_for_widget (Gtk.Widget widget);
1407                 public unowned Gtk.Widget get_widget_for_response (int response_id);
1408                 public int run ();
1409                 [CCode (sentinel = "-1")]
1410                 public void set_alternative_button_order (...);
1411                 public void set_alternative_button_order_from_array (int n_params, int new_order);
1412                 public void set_default_response (int response_id);
1413                 public void set_has_separator (bool setting);
1414                 public void set_response_sensitive (int response_id, bool setting);
1415                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1416                 public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...);
1417                 public bool has_separator { get; set; }
1418                 public virtual signal void close ();
1419                 [HasEmitter]
1420                 public virtual signal void response (int response_id);
1421         }
1422         [CCode (cheader_filename = "gtk/gtk.h")]
1423         public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1424                 public void* draw_data;
1425                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1426                 public DrawingArea ();
1427         }
1428         [CCode (cheader_filename = "gtk/gtk.h")]
1429         public class Entry : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
1430                 public int ascent;
1431                 public uint blink_timeout;
1432                 public uint button;
1433                 public uint cache_includes_preedit;
1434                 public weak Pango.Layout cached_layout;
1435                 public int current_pos;
1436                 public uint cursor_visible;
1437                 public int descent;
1438                 public int dnd_position;
1439                 public int drag_start_x;
1440                 public int drag_start_y;
1441                 public uint editing_canceled;
1442                 public weak Gtk.IMContext im_context;
1443                 public uint in_click;
1444                 public uint in_drag;
1445                 public uint is_cell_renderer;
1446                 public uint mouse_cursor_obscured;
1447                 public uint need_im_reset;
1448                 public weak Gtk.Widget popup_menu;
1449                 public uint16 preedit_cursor;
1450                 public uint16 preedit_length;
1451                 public uint recompute_idle;
1452                 public uint resolved_dir;
1453                 public uint select_lines;
1454                 public uint select_words;
1455                 public weak Gdk.Window text_area;
1456                 public uint16 text_max_length;
1457                 public uint visible;
1458                 public uint16 x_n_bytes;
1459                 public uint16 x_text_size;
1460                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1461                 public Entry ();
1462                 public bool get_activates_default ();
1463                 public float get_alignment ();
1464                 public unowned Gtk.EntryBuffer get_buffer ();
1465                 public unowned Gtk.EntryCompletion get_completion ();
1466                 public int get_current_icon_drag_source ();
1467                 public unowned Gtk.Adjustment get_cursor_hadjustment ();
1468                 public bool get_has_frame ();
1469                 public bool get_icon_activatable (Gtk.EntryIconPosition icon_pos);
1470                 public int get_icon_at_pos (int x, int y);
1471                 public unowned GLib.Icon get_icon_gicon (Gtk.EntryIconPosition icon_pos);
1472                 public unowned string get_icon_name (Gtk.EntryIconPosition icon_pos);
1473                 public unowned Gdk.Pixbuf get_icon_pixbuf (Gtk.EntryIconPosition icon_pos);
1474                 public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos);
1475                 public unowned string get_icon_stock (Gtk.EntryIconPosition icon_pos);
1476                 public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos);
1477                 public unowned string get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos);
1478                 public unowned string get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos);
1479                 public unowned Gdk.Window get_icon_window (Gtk.EntryIconPosition icon_pos);
1480                 public unowned Gtk.Border get_inner_border ();
1481                 public unichar get_invisible_char ();
1482                 public unowned Pango.Layout get_layout ();
1483                 public void get_layout_offsets (int x, int y);
1484                 public int get_max_length ();
1485                 public bool get_overwrite_mode ();
1486                 public double get_progress_fraction ();
1487                 public double get_progress_pulse_step ();
1488                 public unowned string get_text ();
1489                 [NoWrapper]
1490                 public virtual void get_text_area_size (int x, int y, int width, int height);
1491                 public uint16 get_text_length ();
1492                 public unowned Gdk.Window get_text_window ();
1493                 public bool get_visibility ();
1494                 public int get_width_chars ();
1495                 public int layout_index_to_text_index (int layout_index);
1496                 public void progress_pulse ();
1497                 public void set_activates_default (bool setting);
1498                 public void set_alignment (float xalign);
1499                 public void set_buffer (Gtk.EntryBuffer buffer);
1500                 public void set_completion (Gtk.EntryCompletion completion);
1501                 public void set_cursor_hadjustment (Gtk.Adjustment adjustment);
1502                 public void set_has_frame (bool setting);
1503                 public void set_icon_activatable (Gtk.EntryIconPosition icon_pos, bool activatable);
1504                 public void set_icon_drag_source (Gtk.EntryIconPosition icon_pos, Gtk.TargetList target_list, Gdk.DragAction actions);
1505                 public void set_icon_from_gicon (Gtk.EntryIconPosition icon_pos, GLib.Icon? icon);
1506                 public void set_icon_from_icon_name (Gtk.EntryIconPosition icon_pos, string? icon_name);
1507                 public void set_icon_from_pixbuf (Gtk.EntryIconPosition icon_pos, Gdk.Pixbuf? pixbuf);
1508                 public void set_icon_from_stock (Gtk.EntryIconPosition icon_pos, string? stock_id);
1509                 public void set_icon_sensitive (Gtk.EntryIconPosition icon_pos, bool sensitive);
1510                 public void set_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos, string? tooltip);
1511                 public void set_icon_tooltip_text (Gtk.EntryIconPosition icon_pos, string? tooltip);
1512                 public void set_inner_border (Gtk.Border border);
1513                 public void set_invisible_char (unichar ch);
1514                 public void set_max_length (int max);
1515                 public void set_overwrite_mode (bool overwrite);
1516                 public void set_progress_fraction (double fraction);
1517                 public void set_progress_pulse_step (double fraction);
1518                 public void set_text (string text);
1519                 public void set_visibility (bool visible);
1520                 public void set_width_chars (int n_chars);
1521                 public int text_index_to_layout_index (int text_index);
1522                 public void unset_invisible_char ();
1523                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1524                 public Entry.with_buffer (Gtk.EntryBuffer buffer);
1525                 public bool activates_default { get; set; }
1526                 public Gtk.EntryBuffer buffer { get; set construct; }
1527                 [NoAccessorMethod]
1528                 public bool caps_lock_warning { get; set; }
1529                 [NoAccessorMethod]
1530                 public int cursor_position { get; }
1531                 [NoAccessorMethod]
1532                 public bool editable { get; set; }
1533                 public bool has_frame { get; set; }
1534                 [NoAccessorMethod]
1535                 public string im_module { owned get; set; }
1536                 public Gtk.Border inner_border { get; set; }
1537                 public uint invisible_char { get; set; }
1538                 [NoAccessorMethod]
1539                 public bool invisible_char_set { get; set; }
1540                 public int max_length { get; set; }
1541                 public bool overwrite_mode { get; set; }
1542                 [NoAccessorMethod]
1543                 public bool primary_icon_activatable { get; set; }
1544                 [NoAccessorMethod]
1545                 public GLib.Icon primary_icon_gicon { owned get; set; }
1546                 [NoAccessorMethod]
1547                 public string primary_icon_name { owned get; set; }
1548                 [NoAccessorMethod]
1549                 public Gdk.Pixbuf primary_icon_pixbuf { owned get; set; }
1550                 [NoAccessorMethod]
1551                 public bool primary_icon_sensitive { get; set; }
1552                 [NoAccessorMethod]
1553                 public string primary_icon_stock { owned get; set; }
1554                 [NoAccessorMethod]
1555                 public Gtk.ImageType primary_icon_storage_type { get; }
1556                 [NoAccessorMethod]
1557                 public string primary_icon_tooltip_markup { owned get; set; }
1558                 [NoAccessorMethod]
1559                 public string primary_icon_tooltip_text { owned get; set; }
1560                 public double progress_fraction { get; set; }
1561                 public double progress_pulse_step { get; set; }
1562                 [NoAccessorMethod]
1563                 public int scroll_offset { get; }
1564                 [NoAccessorMethod]
1565                 public bool secondary_icon_activatable { get; set; }
1566                 [NoAccessorMethod]
1567                 public GLib.Icon secondary_icon_gicon { owned get; set; }
1568                 [NoAccessorMethod]
1569                 public string secondary_icon_name { owned get; set; }
1570                 [NoAccessorMethod]
1571                 public Gdk.Pixbuf secondary_icon_pixbuf { owned get; set; }
1572                 [NoAccessorMethod]
1573                 public bool secondary_icon_sensitive { get; set; }
1574                 [NoAccessorMethod]
1575                 public string secondary_icon_stock { owned get; set; }
1576                 [NoAccessorMethod]
1577                 public Gtk.ImageType secondary_icon_storage_type { get; }
1578                 [NoAccessorMethod]
1579                 public string secondary_icon_tooltip_markup { owned get; set; }
1580                 [NoAccessorMethod]
1581                 public string secondary_icon_tooltip_text { owned get; set; }
1582                 [NoAccessorMethod]
1583                 public int selection_bound { get; }
1584                 [NoAccessorMethod]
1585                 public Gtk.ShadowType shadow_type { get; set; }
1586                 public string text { get; set; }
1587                 public uint text_length { get; }
1588                 [NoAccessorMethod]
1589                 public bool truncate_multiline { get; set; }
1590                 public bool visibility { get; set; }
1591                 public int width_chars { get; set; }
1592                 [NoAccessorMethod]
1593                 public float xalign { get; set; }
1594                 public virtual signal void activate ();
1595                 public virtual signal void backspace ();
1596                 public virtual signal void copy_clipboard ();
1597                 public virtual signal void cut_clipboard ();
1598                 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
1599                 public virtual signal void icon_press (Gtk.EntryIconPosition p0, Gdk.Event p1);
1600                 public virtual signal void icon_release (Gtk.EntryIconPosition p0, Gdk.Event p1);
1601                 public virtual signal void insert_at_cursor (string str);
1602                 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
1603                 public virtual signal void paste_clipboard ();
1604                 public virtual signal void populate_popup (Gtk.Menu menu);
1605                 public virtual signal void preedit_changed (string p0);
1606                 public virtual signal void toggle_overwrite ();
1607         }
1608         [CCode (cheader_filename = "gtk/gtk.h")]
1609         public class EntryBuffer : GLib.Object {
1610                 [CCode (has_construct_function = false)]
1611                 public EntryBuffer (string[] initial_chars);
1612                 public virtual uint delete_text (uint position, int n_chars);
1613                 public void emit_deleted_text (uint position, uint n_chars);
1614                 public void emit_inserted_text (uint position, string[] chars);
1615                 public size_t get_bytes ();
1616                 public virtual uint get_length ();
1617                 public int get_max_length ();
1618                 public virtual unowned string get_text ();
1619                 public virtual uint insert_text (uint position, string[] chars);
1620                 public void set_max_length (int max_length);
1621                 public void set_text (string[] chars);
1622                 public uint length { get; }
1623                 public int max_length { get; set; }
1624                 public string text { get; set; }
1625                 public virtual signal void deleted_text (uint position, uint n_chars);
1626                 public virtual signal void inserted_text (uint position, string chars, uint n_chars);
1627         }
1628         [CCode (cheader_filename = "gtk/gtk.h")]
1629         public class EntryCompletion : GLib.Object, Gtk.Buildable, Gtk.CellLayout {
1630                 [CCode (has_construct_function = false)]
1631                 public EntryCompletion ();
1632                 public void complete ();
1633                 public void delete_action (int index_);
1634                 public unowned string get_completion_prefix ();
1635                 public unowned Gtk.Widget get_entry ();
1636                 public bool get_inline_completion ();
1637                 public bool get_inline_selection ();
1638                 public int get_minimum_key_length ();
1639                 public unowned Gtk.TreeModel get_model ();
1640                 public bool get_popup_completion ();
1641                 public bool get_popup_set_width ();
1642                 public bool get_popup_single_match ();
1643                 public int get_text_column ();
1644                 public void insert_action_markup (int index_, string markup);
1645                 public void insert_action_text (int index_, string text);
1646                 public void set_inline_completion (bool inline_completion);
1647                 public void set_inline_selection (bool inline_selection);
1648                 public void set_match_func (owned Gtk.EntryCompletionMatchFunc func);
1649                 public void set_minimum_key_length (int length);
1650                 public void set_model (Gtk.TreeModel? model);
1651                 public void set_popup_completion (bool popup_completion);
1652                 public void set_popup_set_width (bool popup_set_width);
1653                 public void set_popup_single_match (bool popup_single_match);
1654                 public void set_text_column (int column);
1655                 public bool inline_completion { get; set; }
1656                 public bool inline_selection { get; set; }
1657                 public int minimum_key_length { get; set; }
1658                 public Gtk.TreeModel model { get; set; }
1659                 public bool popup_completion { get; set; }
1660                 public bool popup_set_width { get; set; }
1661                 public bool popup_single_match { get; set; }
1662                 public int text_column { get; set; }
1663                 public virtual signal void action_activated (int index_);
1664                 public virtual signal bool cursor_on_match (Gtk.TreeModel model, Gtk.TreeIter iter);
1665                 [HasEmitter]
1666                 public virtual signal bool insert_prefix (string prefix);
1667                 public virtual signal bool match_selected (Gtk.TreeModel model, Gtk.TreeIter iter);
1668         }
1669         [CCode (cheader_filename = "gtk/gtk.h")]
1670         public class EventBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
1671                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1672                 public EventBox ();
1673                 public bool get_above_child ();
1674                 public bool get_visible_window ();
1675                 public void set_above_child (bool above_child);
1676                 public void set_visible_window (bool visible_window);
1677                 public bool above_child { get; set; }
1678                 public bool visible_window { get; set; }
1679         }
1680         [CCode (cheader_filename = "gtk/gtk.h")]
1681         public class Expander : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
1682                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1683                 public Expander (string label);
1684                 public bool get_expanded ();
1685                 public unowned string get_label ();
1686                 public unowned Gtk.Widget get_label_widget ();
1687                 public int get_spacing ();
1688                 public bool get_use_markup ();
1689                 public bool get_use_underline ();
1690                 public void set_expanded (bool expanded);
1691                 public void set_label (string label);
1692                 public void set_label_widget (Gtk.Widget label_widget);
1693                 public void set_spacing (int spacing);
1694                 public void set_use_markup (bool use_markup);
1695                 public void set_use_underline (bool use_underline);
1696                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1697                 public Expander.with_mnemonic (string label);
1698                 public bool expanded { get; set construct; }
1699                 public string label { get; set construct; }
1700                 public Gtk.Widget label_widget { get; set; }
1701                 public int spacing { get; set; }
1702                 public bool use_markup { get; set construct; }
1703                 public bool use_underline { get; set construct; }
1704                 public virtual signal void activate ();
1705         }
1706         [CCode (cheader_filename = "gtk/gtk.h")]
1707         public class FileChooserButton : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser {
1708                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1709                 public FileChooserButton (string title, Gtk.FileChooserAction action);
1710                 public bool get_focus_on_click ();
1711                 public unowned string get_title ();
1712                 public int get_width_chars ();
1713                 public void set_focus_on_click (bool focus_on_click);
1714                 public void set_title (string title);
1715                 public void set_width_chars (int n_chars);
1716                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1717                 public FileChooserButton.with_dialog (Gtk.Widget dialog);
1718                 public Gtk.FileChooser dialog { construct; }
1719                 public bool focus_on_click { get; set; }
1720                 public string title { get; set; }
1721                 public int width_chars { get; set; }
1722                 public virtual signal void file_set ();
1723         }
1724         [CCode (cheader_filename = "gtk/gtk.h")]
1725         public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
1726                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1727                 public FileChooserDialog (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, ...);
1728         }
1729         [CCode (cheader_filename = "gtk/gtk.h")]
1730         public class FileChooserWidget : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser, Gtk.FileChooserEmbed {
1731                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1732                 public FileChooserWidget (Gtk.FileChooserAction action);
1733         }
1734         [CCode (cheader_filename = "gtk/gtk.h")]
1735         public class FileFilter : Gtk.Object {
1736                 [CCode (has_construct_function = false)]
1737                 public FileFilter ();
1738                 public void add_custom (Gtk.FileFilterFlags needed, owned Gtk.FileFilterFunc func);
1739                 public void add_mime_type (string mime_type);
1740                 public void add_pattern (string pattern);
1741                 public void add_pixbuf_formats ();
1742                 public bool filter (Gtk.FileFilterInfo filter_info);
1743                 public unowned string get_name ();
1744                 public Gtk.FileFilterFlags get_needed ();
1745                 public void set_name (string name);
1746         }
1747         [Compact]
1748         [CCode (cheader_filename = "gtk/gtk.h")]
1749         public class FileFilterInfo {
1750                 public Gtk.FileFilterFlags contains;
1751                 public weak string display_name;
1752                 public weak string filename;
1753                 public weak string mime_type;
1754                 public weak string uri;
1755         }
1756         [CCode (cheader_filename = "gtk/gtk.h")]
1757         public class Fixed : Gtk.Container, Atk.Implementor, Gtk.Buildable {
1758                 public weak GLib.List<Gtk.Widget> children;
1759                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1760                 public Fixed ();
1761                 public bool get_has_window ();
1762                 public void move (Gtk.Widget widget, int x, int y);
1763                 public void put (Gtk.Widget widget, int x, int y);
1764                 public void set_has_window (bool has_window);
1765         }
1766         [Compact]
1767         [CCode (cheader_filename = "gtk/gtk.h")]
1768         public class FixedChild {
1769                 public weak Gtk.Widget widget;
1770                 public int x;
1771                 public int y;
1772         }
1773         [CCode (cheader_filename = "gtk/gtk.h")]
1774         public class FontButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1775                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1776                 public FontButton ();
1777                 public unowned string get_font_name ();
1778                 public bool get_show_size ();
1779                 public bool get_show_style ();
1780                 public unowned string get_title ();
1781                 public bool get_use_font ();
1782                 public bool get_use_size ();
1783                 public bool set_font_name (string fontname);
1784                 public void set_show_size (bool show_size);
1785                 public void set_show_style (bool show_style);
1786                 public void set_title (string title);
1787                 public void set_use_font (bool use_font);
1788                 public void set_use_size (bool use_size);
1789                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1790                 public FontButton.with_font (string fontname);
1791                 public string font_name { get; set; }
1792                 public bool show_size { get; set; }
1793                 public bool show_style { get; set; }
1794                 public string title { get; set; }
1795                 public bool use_font { get; set; }
1796                 public bool use_size { get; set; }
1797                 public virtual signal void font_set ();
1798         }
1799         [CCode (cheader_filename = "gtk/gtk.h")]
1800         public class FontSelection : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1801                 public weak Pango.FontFace face;
1802                 public weak Gtk.Widget face_list;
1803                 public weak Pango.FontFamily family;
1804                 public weak Gtk.Widget family_list;
1805                 public weak Gtk.Widget filter_button;
1806                 public weak Gtk.Widget font_entry;
1807                 public weak Gtk.Widget font_style_entry;
1808                 public weak Gtk.Widget pixels_button;
1809                 public weak Gtk.Widget points_button;
1810                 public weak Gtk.Widget preview_entry;
1811                 public int size;
1812                 public weak Gtk.Widget size_entry;
1813                 public weak Gtk.Widget size_list;
1814                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1815                 public FontSelection ();
1816                 public unowned Pango.FontFace get_face ();
1817                 public unowned Gtk.Widget get_face_list ();
1818                 public unowned Pango.FontFamily get_family ();
1819                 public unowned Gtk.Widget get_family_list ();
1820                 public unowned string get_font_name ();
1821                 public unowned Gtk.Widget get_preview_entry ();
1822                 public unowned string get_preview_text ();
1823                 public int get_size ();
1824                 public unowned Gtk.Widget get_size_entry ();
1825                 public unowned Gtk.Widget get_size_list ();
1826                 public bool set_font_name (string fontname);
1827                 public void set_preview_text (string text);
1828                 [NoAccessorMethod]
1829                 public Gdk.Font font { owned get; }
1830                 public string font_name { get; set; }
1831                 public string preview_text { get; set; }
1832         }
1833         [CCode (cheader_filename = "gtk/gtk.h")]
1834         public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
1835                 public weak Gtk.Widget action_area;
1836                 public weak Gtk.Widget apply_button;
1837                 public bool auto_resize;
1838                 public weak Gtk.Widget cancel_button;
1839                 public int dialog_width;
1840                 public weak Gtk.Widget fontsel;
1841                 public weak Gtk.Widget main_vbox;
1842                 public weak Gtk.Widget ok_button;
1843                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1844                 public FontSelectionDialog (string title);
1845                 public unowned Gtk.Widget get_cancel_button ();
1846                 public unowned string get_font_name ();
1847                 public unowned Gtk.Widget get_ok_button ();
1848                 public unowned string get_preview_text ();
1849                 public bool set_font_name (string fontname);
1850                 public void set_preview_text (string text);
1851         }
1852         [CCode (cheader_filename = "gtk/gtk.h")]
1853         public class Frame : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
1854                 public Gtk.Allocation child_allocation;
1855                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1856                 public Frame (string? label);
1857                 [NoWrapper]
1858                 public virtual void compute_child_allocation (Gtk.Allocation allocation);
1859                 public unowned string get_label ();
1860                 public void get_label_align (float xalign, float yalign);
1861                 public unowned Gtk.Widget get_label_widget ();
1862                 public Gtk.ShadowType get_shadow_type ();
1863                 public void set_label (string label);
1864                 public void set_label_align (float xalign, float yalign);
1865                 public void set_label_widget (Gtk.Widget label_widget);
1866                 public void set_shadow_type (Gtk.ShadowType type);
1867                 public string label { get; set; }
1868                 public Gtk.Widget label_widget { get; set; }
1869                 [NoAccessorMethod]
1870                 public float label_xalign { get; set; }
1871                 [NoAccessorMethod]
1872                 public float label_yalign { get; set; }
1873                 [NoAccessorMethod]
1874                 public Gtk.ShadowType shadow { get; set; }
1875                 public Gtk.ShadowType shadow_type { get; set; }
1876         }
1877         [CCode (cheader_filename = "gtk/gtk.h")]
1878         public class GammaCurve : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1879                 [CCode (array_length = false)]
1880                 public weak Gtk.Widget[] button;
1881                 public weak Gtk.Widget curve;
1882                 public float gamma;
1883                 public weak Gtk.Widget gamma_dialog;
1884                 public weak Gtk.Widget gamma_text;
1885                 public weak Gtk.Widget table;
1886                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1887                 public GammaCurve ();
1888         }
1889         [CCode (cheader_filename = "gtk/gtk.h")]
1890         public class HBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1891                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1892                 public HBox (bool homogeneous, int spacing);
1893         }
1894         [CCode (cheader_filename = "gtk/gtk.h")]
1895         public class HButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1896                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1897                 public HButtonBox ();
1898         }
1899         [CCode (cheader_filename = "gtk/gtk.h")]
1900         public class HPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1901                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1902                 public HPaned ();
1903         }
1904         [CCode (cheader_filename = "gtk/gtk.h")]
1905         public class HRuler : Gtk.Ruler, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1906                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1907                 public HRuler ();
1908         }
1909         [CCode (cheader_filename = "gtk/gtk.h")]
1910         public class HSV : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1911                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1912                 public HSV ();
1913                 public void get_color (double h, double s, double v);
1914                 public void get_metrics (int size, int ring_width);
1915                 public bool is_adjusting ();
1916                 public void set_color (double h, double s, double v);
1917                 public void set_metrics (int size, int ring_width);
1918                 public static void to_rgb (double h, double s, double v, double r, double g, double b);
1919                 public virtual signal void changed ();
1920                 public virtual signal void move (Gtk.DirectionType type);
1921         }
1922         [CCode (cheader_filename = "gtk/gtk.h")]
1923         public class HScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1924                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1925                 public HScale (Gtk.Adjustment? adjustment);
1926                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1927                 public HScale.with_range (double min, double max, double step);
1928         }
1929         [CCode (cheader_filename = "gtk/gtk.h")]
1930         public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1931                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1932                 public HScrollbar (Gtk.Adjustment? adjustment);
1933         }
1934         [CCode (cheader_filename = "gtk/gtk.h")]
1935         public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1936                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1937                 public HSeparator ();
1938         }
1939         [CCode (cheader_filename = "gtk/gtk.h")]
1940         public class HandleBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
1941                 public Gtk.Allocation attach_allocation;
1942                 public weak Gdk.Window bin_window;
1943                 public int deskoff_x;
1944                 public int deskoff_y;
1945                 public Gtk.Allocation float_allocation;
1946                 public weak Gdk.Window float_window;
1947                 public uint float_window_mapped;
1948                 public uint in_drag;
1949                 public uint shrink_on_detach;
1950                 [CCode (type = "GtkWidget*", has_construct_function = false)]
1951                 public HandleBox ();
1952                 public bool get_child_detached ();
1953                 public Gtk.PositionType get_handle_position ();
1954                 public Gtk.ShadowType get_shadow_type ();
1955                 public Gtk.PositionType get_snap_edge ();
1956                 public void set_handle_position (Gtk.PositionType position);
1957                 public void set_shadow_type (Gtk.ShadowType type);
1958                 public void set_snap_edge (Gtk.PositionType edge);
1959                 public bool child_detached { get; }
1960                 public Gtk.PositionType handle_position { get; set; }
1961                 [NoAccessorMethod]
1962                 public Gtk.ShadowType shadow { get; set; }
1963                 public Gtk.ShadowType shadow_type { get; set; }
1964                 public Gtk.PositionType snap_edge { get; set; }
1965                 [NoAccessorMethod]
1966                 public bool snap_edge_set { get; set; }
1967                 public virtual signal void child_attached (Gtk.Widget child);
1968         }
1969         [CCode (cheader_filename = "gtk/gtk.h")]
1970         public class IMContext : GLib.Object {
1971                 [CCode (has_construct_function = false)]
1972                 protected IMContext ();
1973                 public virtual bool filter_keypress (Gdk.EventKey event);
1974                 public virtual void focus_in ();
1975                 public virtual void focus_out ();
1976                 public virtual void get_preedit_string (out unowned string str, out Pango.AttrList attrs, out int cursor_pos);
1977                 public virtual bool get_surrounding (out unowned string text, out int cursor_index);
1978                 public virtual void reset ();
1979                 public virtual void set_client_window (Gdk.Window window);
1980                 public virtual void set_cursor_location (Gdk.Rectangle area);
1981                 public virtual void set_surrounding (string text, int len, int cursor_index);
1982                 public virtual void set_use_preedit (bool use_preedit);
1983                 public virtual signal void commit (string str);
1984                 [HasEmitter]
1985                 public virtual signal bool delete_surrounding (int offset, int n_chars);
1986                 public virtual signal void preedit_changed ();
1987                 public virtual signal void preedit_end ();
1988                 public virtual signal void preedit_start ();
1989                 public virtual signal bool retrieve_surrounding ();
1990         }
1991         [CCode (cheader_filename = "gtk/gtk.h")]
1992         public class IMContextSimple : Gtk.IMContext {
1993                 [CCode (array_length = false)]
1994                 public weak uint[] compose_buffer;
1995                 public uint in_hex_sequence;
1996                 public uint modifiers_dropped;
1997                 public weak GLib.SList tables;
1998                 public unichar tentative_match;
1999                 public int tentative_match_len;
2000                 [CCode (type = "GtkIMContext*", has_construct_function = false)]
2001                 public IMContextSimple ();
2002                 public void add_table (uint16 data, int max_seq_len, int n_seqs);
2003         }
2004         [CCode (cheader_filename = "gtk/gtk.h")]
2005         public class IMMulticontext : Gtk.IMContext {
2006                 public weak string context_id;
2007                 public weak Gtk.IMContext slave;
2008                 [CCode (type = "GtkIMContext*", has_construct_function = false)]
2009                 public IMMulticontext ();
2010                 public void append_menuitems (Gtk.MenuShell menushell);
2011                 public unowned string get_context_id ();
2012                 public void set_context_id (string context_id);
2013         }
2014         [CCode (cheader_filename = "gtk/gtk.h")]
2015         public class IconFactory : GLib.Object, Gtk.Buildable {
2016                 public weak GLib.HashTable icons;
2017                 [CCode (has_construct_function = false)]
2018                 public IconFactory ();
2019                 public void add (string stock_id, Gtk.IconSet icon_set);
2020                 public void add_default ();
2021                 public unowned Gtk.IconSet lookup (string stock_id);
2022                 public static unowned Gtk.IconSet lookup_default (string stock_id);
2023                 public void remove_default ();
2024         }
2025         [Compact]
2026         [CCode (copy_function = "gtk_icon_info_copy", type_id = "GTK_TYPE_ICON_INFO", cheader_filename = "gtk/gtk.h")]
2027         public class IconInfo {
2028                 public Gtk.IconInfo copy ();
2029                 [CCode (has_construct_function = false)]
2030                 public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf);
2031                 public bool get_attach_points (Gdk.Point[] points);
2032                 public int get_base_size ();
2033                 public unowned Gdk.Pixbuf get_builtin_pixbuf ();
2034                 public unowned string get_display_name ();
2035                 public bool get_embedded_rect (out Gdk.Rectangle rectangle);
2036                 public unowned string get_filename ();
2037                 public Gdk.Pixbuf load_icon () throws GLib.Error;
2038                 public void set_raw_coordinates (bool raw_coordinates);
2039         }
2040         [Compact]
2041         [CCode (ref_function = "gtk_icon_set_ref", unref_function = "gtk_icon_set_unref", type_id = "GTK_TYPE_ICON_SET", cheader_filename = "gtk/gtk.h")]
2042         public class IconSet {
2043                 [CCode (has_construct_function = false)]
2044                 public IconSet ();
2045                 public void add_source (Gtk.IconSource source);
2046                 public Gtk.IconSet copy ();
2047                 [CCode (has_construct_function = false)]
2048                 public IconSet.from_pixbuf (Gdk.Pixbuf pixbuf);
2049                 public void get_sizes (Gtk.IconSize[] sizes);
2050                 public unowned Gdk.Pixbuf render_icon (Gtk.Style style, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail);
2051         }
2052         [Compact]
2053         [CCode (copy_function = "gtk_icon_source_copy", type_id = "GTK_TYPE_ICON_SOURCE", cheader_filename = "gtk/gtk.h")]
2054         public class IconSource {
2055                 [CCode (has_construct_function = false)]
2056                 public IconSource ();
2057                 public Gtk.IconSource copy ();
2058                 public Gtk.TextDirection get_direction ();
2059                 public bool get_direction_wildcarded ();
2060                 public unowned string get_filename ();
2061                 public unowned string get_icon_name ();
2062                 public unowned Gdk.Pixbuf get_pixbuf ();
2063                 public Gtk.IconSize get_size ();
2064                 public bool get_size_wildcarded ();
2065                 public Gtk.StateType get_state ();
2066                 public bool get_state_wildcarded ();
2067                 public void set_direction (Gtk.TextDirection direction);
2068                 public void set_direction_wildcarded (bool setting);
2069                 public void set_filename (string filename);
2070                 public void set_icon_name (string icon_name);
2071                 public void set_pixbuf (Gdk.Pixbuf pixbuf);
2072                 public void set_size (Gtk.IconSize size);
2073                 public void set_size_wildcarded (bool setting);
2074                 public void set_state (Gtk.StateType state);
2075                 public void set_state_wildcarded (bool setting);
2076         }
2077         [CCode (cheader_filename = "gtk/gtk.h")]
2078         public class IconTheme : GLib.Object {
2079                 [CCode (has_construct_function = false)]
2080                 public IconTheme ();
2081                 public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf);
2082                 public void append_search_path (string path);
2083                 public Gtk.IconInfo choose_icon ([CCode (array_length = false)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
2084                 public static GLib.Quark error_quark ();
2085                 public static unowned Gtk.IconTheme get_default ();
2086                 public unowned string get_example_icon_name ();
2087                 public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen);
2088                 public int get_icon_sizes (string icon_name);
2089                 public void get_search_path (string path, int n_elements);
2090                 public bool has_icon (string icon_name);
2091                 public GLib.List<string> list_contexts ();
2092                 public GLib.List<string> list_icons (string context);
2093                 public unowned Gdk.Pixbuf load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
2094                 public Gtk.IconInfo lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
2095                 public Gtk.IconInfo lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
2096                 public void prepend_search_path (string path);
2097                 public bool rescan_if_needed ();
2098                 public void set_custom_theme (string theme_name);
2099                 public void set_screen (Gdk.Screen screen);
2100                 public void set_search_path (string[] path, int n_elements);
2101                 public virtual signal void changed ();
2102         }
2103         [CCode (cheader_filename = "gtk/gtk.h")]
2104         public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout {
2105                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2106                 public IconView ();
2107                 public void convert_widget_to_bin_window_coords (int wx, int wy, int bx, int by);
2108                 public unowned Gdk.Pixmap create_drag_icon (Gtk.TreePath path);
2109                 public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
2110                 public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
2111                 public int get_column_spacing ();
2112                 public int get_columns ();
2113                 public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
2114                 public bool get_dest_item_at_pos (int drag_x, int drag_y, out unowned Gtk.TreePath path, Gtk.IconViewDropPosition pos);
2115                 public void get_drag_dest_item (out unowned Gtk.TreePath path, Gtk.IconViewDropPosition pos);
2116                 public bool get_item_at_pos (int x, int y, out unowned Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
2117                 public int get_item_padding ();
2118                 public int get_item_width ();
2119                 public int get_margin ();
2120                 public int get_markup_column ();
2121                 public unowned Gtk.TreeModel get_model ();
2122                 public Gtk.Orientation get_orientation ();
2123                 public unowned Gtk.TreePath get_path_at_pos (int x, int y);
2124                 public int get_pixbuf_column ();
2125                 public bool get_reorderable ();
2126                 public int get_row_spacing ();
2127                 public GLib.List<Gtk.TreePath> get_selected_items ();
2128                 public Gtk.SelectionMode get_selection_mode ();
2129                 public int get_spacing ();
2130                 public int get_text_column ();
2131                 public int get_tooltip_column ();
2132                 public bool get_tooltip_context (out int x, out int y, bool keyboard_tip, out unowned Gtk.TreeModel model, out unowned Gtk.TreePath path, out Gtk.TreeIter iter);
2133                 public bool get_visible_range (out unowned Gtk.TreePath start_path, out unowned Gtk.TreePath end_path);
2134                 public bool path_is_selected (Gtk.TreePath path);
2135                 public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
2136                 public void select_path (Gtk.TreePath path);
2137                 public void selected_foreach (Gtk.IconViewForeachFunc func);
2138                 public void set_column_spacing (int column_spacing);
2139                 public void set_columns (int columns);
2140                 public void set_cursor (Gtk.TreePath path, Gtk.CellRenderer? cell, bool start_editing);
2141                 public void set_drag_dest_item (Gtk.TreePath path, Gtk.IconViewDropPosition pos);
2142                 public void set_item_padding (int item_padding);
2143                 public void set_item_width (int item_width);
2144                 public void set_margin (int margin);
2145                 public void set_markup_column (int column);
2146                 public void set_model (Gtk.TreeModel? model);
2147                 public void set_orientation (Gtk.Orientation orientation);
2148                 public void set_pixbuf_column (int column);
2149                 public void set_reorderable (bool reorderable);
2150                 public void set_row_spacing (int row_spacing);
2151                 public void set_selection_mode (Gtk.SelectionMode mode);
2152                 public void set_spacing (int spacing);
2153                 public void set_text_column (int column);
2154                 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.CellRenderer cell);
2155                 public void set_tooltip_column (int column);
2156                 public void set_tooltip_item (Gtk.Tooltip tooltip, Gtk.TreePath path);
2157                 public void unselect_path (Gtk.TreePath path);
2158                 public void unset_model_drag_dest ();
2159                 public void unset_model_drag_source ();
2160                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2161                 public IconView.with_model (Gtk.TreeModel model);
2162                 public int column_spacing { get; set; }
2163                 public int columns { get; set; }
2164                 public int item_padding { get; set; }
2165                 public int item_width { get; set; }
2166                 public int margin { get; set; }
2167                 public int markup_column { get; set; }
2168                 public Gtk.TreeModel model { get; set; }
2169                 public Gtk.Orientation orientation { get; set; }
2170                 public int pixbuf_column { get; set; }
2171                 public bool reorderable { get; set; }
2172                 public int row_spacing { get; set; }
2173                 public Gtk.SelectionMode selection_mode { get; set; }
2174                 public int spacing { get; set; }
2175                 public int text_column { get; set; }
2176                 public int tooltip_column { get; set; }
2177                 public virtual signal bool activate_cursor_item ();
2178                 [HasEmitter]
2179                 public virtual signal void item_activated (Gtk.TreePath path);
2180                 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
2181                 public virtual signal void select_all ();
2182                 public virtual signal void select_cursor_item ();
2183                 public virtual signal void selection_changed ();
2184                 public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
2185                 public virtual signal void toggle_cursor_item ();
2186                 public virtual signal void unselect_all ();
2187         }
2188         [CCode (cheader_filename = "gtk/gtk.h")]
2189         public class Image : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
2190                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2191                 public Image ();
2192                 public void clear ();
2193                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2194                 public Image.from_animation (Gdk.PixbufAnimation animation);
2195                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2196                 public Image.from_file (string filename);
2197                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2198                 public Image.from_gicon (GLib.Icon icon, Gtk.IconSize size);
2199                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2200                 public Image.from_icon_name (string icon_name, Gtk.IconSize size);
2201                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2202                 public Image.from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
2203                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2204                 public Image.from_image (Gdk.Image image, Gdk.Bitmap mask);
2205                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2206                 public Image.from_pixbuf (Gdk.Pixbuf pixbuf);
2207                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2208                 public Image.from_pixmap (Gdk.Pixmap pixmap, Gdk.Bitmap mask);
2209                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2210                 public Image.from_stock (string stock_id, Gtk.IconSize size);
2211                 public unowned Gdk.PixbufAnimation get_animation ();
2212                 public void get_gicon (out unowned GLib.Icon gicon, Gtk.IconSize size);
2213                 public void get_icon_name (out unowned string icon_name, out Gtk.IconSize size);
2214                 public void get_icon_set (out unowned Gtk.IconSet icon_set, out Gtk.IconSize size);
2215                 public void get_image (out unowned Gdk.Image gdk_image, out unowned Gdk.Bitmap mask);
2216                 public unowned Gdk.Pixbuf get_pixbuf ();
2217                 public int get_pixel_size ();
2218                 public void get_pixmap (out unowned Gdk.Pixmap pixmap, out unowned Gdk.Bitmap mask);
2219                 public void get_stock (out string stock_id, out Gtk.IconSize size);
2220                 public Gtk.ImageType get_storage_type ();
2221                 public void set_from_animation (Gdk.PixbufAnimation animation);
2222                 public void set_from_file (string filename);
2223                 public void set_from_gicon (GLib.Icon icon, Gtk.IconSize size);
2224                 public void set_from_icon_name (string icon_name, Gtk.IconSize size);
2225                 public void set_from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
2226                 public void set_from_image (Gdk.Image gdk_image, Gdk.Bitmap mask);
2227                 public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
2228                 public void set_from_pixmap (Gdk.Pixmap? pixmap, Gdk.Bitmap? mask);
2229                 public void set_from_stock (string stock_id, Gtk.IconSize size);
2230                 public void set_pixel_size (int pixel_size);
2231                 [NoAccessorMethod]
2232                 public string file { owned get; set; }
2233                 [NoAccessorMethod]
2234                 public GLib.Icon gicon { owned get; set; }
2235                 [NoAccessorMethod]
2236                 public string icon_name { owned get; set; }
2237                 [NoAccessorMethod]
2238                 public Gtk.IconSet icon_set { owned get; set; }
2239                 [NoAccessorMethod]
2240                 public int icon_size { get; set; }
2241                 [NoAccessorMethod]
2242                 public Gdk.Image image { owned get; set; }
2243                 [NoAccessorMethod]
2244                 public Gdk.Pixmap mask { owned get; set; }
2245                 [NoAccessorMethod]
2246                 public Gdk.Pixbuf pixbuf { owned get; set; }
2247                 [NoAccessorMethod]
2248                 public Gdk.PixbufAnimation pixbuf_animation { owned get; set; }
2249                 public int pixel_size { get; set; }
2250                 [NoAccessorMethod]
2251                 public Gdk.Pixmap pixmap { owned get; set; }
2252                 [NoAccessorMethod]
2253                 public string stock { owned get; set; }
2254                 public Gtk.ImageType storage_type { get; }
2255         }
2256         [Compact]
2257         [CCode (cheader_filename = "gtk/gtk.h")]
2258         public class ImageAnimationData {
2259                 public weak Gdk.PixbufAnimation anim;
2260                 public uint frame_timeout;
2261                 public weak Gdk.PixbufAnimationIter iter;
2262         }
2263         [Compact]
2264         [CCode (cheader_filename = "gtk/gtk.h")]
2265         public class ImageGIconData {
2266                 public weak GLib.Icon icon;
2267                 public weak Gdk.Pixbuf pixbuf;
2268                 public uint theme_change_id;
2269         }
2270         [Compact]
2271         [CCode (cheader_filename = "gtk/gtk.h")]
2272         public class ImageIconNameData {
2273                 public weak string icon_name;
2274                 public weak Gdk.Pixbuf pixbuf;
2275                 public uint theme_change_id;
2276         }
2277         [Compact]
2278         [CCode (cheader_filename = "gtk/gtk.h")]
2279         public class ImageIconSetData {
2280                 public weak Gtk.IconSet icon_set;
2281         }
2282         [Compact]
2283         [CCode (cheader_filename = "gtk/gtk.h")]
2284         public class ImageImageData {
2285                 public weak Gdk.Image image;
2286         }
2287         [CCode (cheader_filename = "gtk/gtk.h")]
2288         public class ImageMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2289                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2290                 public ImageMenuItem ();
2291                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2292                 public ImageMenuItem.from_stock (string stock_id, Gtk.AccelGroup? accel_group);
2293                 public bool get_always_show_image ();
2294                 public unowned Gtk.Widget get_image ();
2295                 public bool get_use_stock ();
2296                 public void set_accel_group (Gtk.AccelGroup accel_group);
2297                 public void set_always_show_image (bool always_show);
2298                 public void set_image (Gtk.Widget image);
2299                 public void set_use_stock (bool use_stock);
2300                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2301                 public ImageMenuItem.with_label (string label);
2302                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2303                 public ImageMenuItem.with_mnemonic (string label);
2304                 public Gtk.AccelGroup accel_group { set; }
2305                 public bool always_show_image { get; set construct; }
2306                 public Gtk.Widget image { get; set; }
2307                 public bool use_stock { get; set construct; }
2308         }
2309         [Compact]
2310         [CCode (cheader_filename = "gtk/gtk.h")]
2311         public class ImagePixbufData {
2312                 public weak Gdk.Pixbuf pixbuf;
2313         }
2314         [Compact]
2315         [CCode (cheader_filename = "gtk/gtk.h")]
2316         public class ImagePixmapData {
2317                 public weak Gdk.Pixmap pixmap;
2318         }
2319         [Compact]
2320         [CCode (cheader_filename = "gtk/gtk.h")]
2321         public class ImageStockData {
2322                 public weak string stock_id;
2323         }
2324         [CCode (cheader_filename = "gtk/gtk.h")]
2325         public class InfoBar : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2326                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2327                 public InfoBar ();
2328                 public void add_action_widget (Gtk.Widget child, int response_id);
2329                 public unowned Gtk.Widget add_button (string button_text, int response_id);
2330                 public void add_buttons (...);
2331                 public unowned Gtk.Widget get_action_area ();
2332                 public unowned Gtk.Widget get_content_area ();
2333                 public Gtk.MessageType get_message_type ();
2334                 public void set_default_response (int response_id);
2335                 public void set_message_type (Gtk.MessageType message_type);
2336                 public void set_response_sensitive (int response_id, bool setting);
2337                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2338                 public InfoBar.with_buttons (...);
2339                 public Gtk.MessageType message_type { get; set construct; }
2340                 public virtual signal void close ();
2341                 [HasEmitter]
2342                 public virtual signal void response (int response_id);
2343         }
2344         [CCode (cheader_filename = "gtk/gtk.h")]
2345         public class InputDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
2346                 [CCode (array_length = false)]
2347                 public weak Gtk.Widget[] axis_items;
2348                 public weak Gtk.Widget axis_list;
2349                 public weak Gtk.Widget axis_listbox;
2350                 public weak Gtk.Widget close_button;
2351                 public weak Gdk.Device current_device;
2352                 public weak Gtk.Widget keys_list;
2353                 public weak Gtk.Widget keys_listbox;
2354                 public weak Gtk.Widget mode_optionmenu;
2355                 public weak Gtk.Widget save_button;
2356                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2357                 public InputDialog ();
2358                 public virtual signal void disable_device (Gdk.Device device);
2359                 public virtual signal void enable_device (Gdk.Device device);
2360         }
2361         [CCode (cheader_filename = "gtk/gtk.h")]
2362         public class Invisible : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2363                 public bool has_user_ref_count;
2364                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2365                 public Invisible ();
2366                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2367                 public Invisible.for_screen (Gdk.Screen screen);
2368                 public unowned Gdk.Screen get_screen ();
2369                 public void set_screen (Gdk.Screen screen);
2370                 public Gdk.Screen screen { get; set; }
2371         }
2372         [CCode (cheader_filename = "gtk/gtk.h")]
2373         public class Item : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2374                 [CCode (has_construct_function = false)]
2375                 protected Item ();
2376                 [HasEmitter]
2377                 public virtual signal void deselect ();
2378                 [HasEmitter]
2379                 public virtual signal void select ();
2380                 [HasEmitter]
2381                 public virtual signal void toggle ();
2382         }
2383         [CCode (cheader_filename = "gtk/gtk.h")]
2384         public class Label : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
2385                 public weak Pango.AttrList attrs;
2386                 public weak Pango.AttrList effective_attrs;
2387                 public uint have_transform;
2388                 public uint in_click;
2389                 public uint jtype;
2390                 public weak Pango.Layout layout;
2391                 public weak Gtk.Window mnemonic_window;
2392                 public uint pattern_set;
2393                 public weak Gtk.LabelSelectionInfo select_info;
2394                 public uint track_links;
2395                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2396                 public Label (string? str);
2397                 public double get_angle ();
2398                 public unowned Pango.AttrList get_attributes ();
2399                 public unowned string get_current_uri ();
2400                 public Pango.EllipsizeMode get_ellipsize ();
2401                 public Gtk.Justification get_justify ();
2402                 public unowned string get_label ();
2403                 public unowned Pango.Layout get_layout ();
2404                 public void get_layout_offsets (int x, int y);
2405                 public bool get_line_wrap ();
2406                 public Pango.WrapMode get_line_wrap_mode ();
2407                 public int get_max_width_chars ();
2408                 public uint get_mnemonic_keyval ();
2409                 public unowned Gtk.Widget get_mnemonic_widget ();
2410                 public bool get_selectable ();
2411                 public bool get_selection_bounds (int start, int end);
2412                 public bool get_single_line_mode ();
2413                 public unowned string get_text ();
2414                 public bool get_track_visited_links ();
2415                 public bool get_use_markup ();
2416                 public bool get_use_underline ();
2417                 public int get_width_chars ();
2418                 public void select_region (int start_offset, int end_offset);
2419                 public void set_angle (double angle);
2420                 public void set_attributes (Pango.AttrList attrs);
2421                 public void set_ellipsize (Pango.EllipsizeMode mode);
2422                 public void set_justify (Gtk.Justification jtype);
2423                 public void set_label (string str);
2424                 public void set_line_wrap (bool wrap);
2425                 public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
2426                 public void set_markup (string str);
2427                 public void set_markup_with_mnemonic (string str);
2428                 public void set_max_width_chars (int n_chars);
2429                 public void set_mnemonic_widget (Gtk.Widget widget);
2430                 public void set_pattern (string pattern);
2431                 public void set_selectable (bool setting);
2432                 public void set_single_line_mode (bool single_line_mode);
2433                 public void set_text (string str);
2434                 public void set_text_with_mnemonic (string str);
2435                 public void set_track_visited_links (bool track_links);
2436                 public void set_use_markup (bool setting);
2437                 public void set_use_underline (bool setting);
2438                 public void set_width_chars (int n_chars);
2439                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2440                 public Label.with_mnemonic (string str);
2441                 public double angle { get; set; }
2442                 public Pango.AttrList attributes { get; set; }
2443                 [NoAccessorMethod]
2444                 public int cursor_position { get; }
2445                 public Pango.EllipsizeMode ellipsize { get; set; }
2446                 public Gtk.Justification justify { get; set; }
2447                 public string label { get; set; }
2448                 public int max_width_chars { get; set; }
2449                 public uint mnemonic_keyval { get; }
2450                 public Gtk.Widget mnemonic_widget { get; set; }
2451                 public string pattern { set; }
2452                 public bool selectable { get; set; }
2453                 [NoAccessorMethod]
2454                 public int selection_bound { get; }
2455                 public bool single_line_mode { get; set; }
2456                 public bool track_visited_links { get; set; }
2457                 public bool use_markup { get; set; }
2458                 public bool use_underline { get; set; }
2459                 public int width_chars { get; set; }
2460                 [NoAccessorMethod]
2461                 public bool wrap { get; set; }
2462                 [NoAccessorMethod]
2463                 public Pango.WrapMode wrap_mode { get; set; }
2464                 public virtual signal void activate_current_link ();
2465                 public virtual signal bool activate_link (string uri);
2466                 public virtual signal void copy_clipboard ();
2467                 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
2468                 public virtual signal void populate_popup (Gtk.Menu menu);
2469         }
2470         [Compact]
2471         [CCode (cheader_filename = "gtk/gtk.h")]
2472         public class LabelSelectionInfo {
2473         }
2474         [CCode (cheader_filename = "gtk/gtk.h")]
2475         public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2476                 public weak Gdk.Window bin_window;
2477                 public weak GLib.List<Gtk.Widget> children;
2478                 public uint freeze_count;
2479                 public int scroll_x;
2480                 public int scroll_y;
2481                 public Gdk.VisibilityState visibility;
2482                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2483                 public Layout (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
2484                 public unowned Gdk.Window get_bin_window ();
2485                 public unowned Gtk.Adjustment get_hadjustment ();
2486                 public void get_size (out uint width, out uint height);
2487                 public unowned Gtk.Adjustment get_vadjustment ();
2488                 public void move (Gtk.Widget child_widget, int x, int y);
2489                 public void put (Gtk.Widget child_widget, int x, int y);
2490                 public void set_hadjustment (Gtk.Adjustment adjustment);
2491                 public void set_size (uint width, uint height);
2492                 public void set_vadjustment (Gtk.Adjustment adjustment);
2493                 public Gtk.Adjustment hadjustment { get; set; }
2494                 [NoAccessorMethod]
2495                 public uint height { get; set; }
2496                 public Gtk.Adjustment vadjustment { get; set; }
2497                 [NoAccessorMethod]
2498                 public uint width { get; set; }
2499                 public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
2500         }
2501         [CCode (cheader_filename = "gtk/gtk.h")]
2502         public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2503                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2504                 public LinkButton (string uri);
2505                 public unowned string get_uri ();
2506                 public bool get_visited ();
2507                 public void set_uri (string uri);
2508                 public static void set_uri_hook (owned Gtk.LinkButtonUriFunc func);
2509                 public void set_visited (bool visited);
2510                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2511                 public LinkButton.with_label (string uri, string label);
2512                 public string uri { get; set; }
2513                 public bool visited { get; set; }
2514         }
2515         [CCode (cheader_filename = "gtk/gtk.h")]
2516         public class ListStore : GLib.Object, Gtk.Buildable, Gtk.TreeModel, Gtk.TreeSortable, Gtk.TreeDragSource, Gtk.TreeDragDest {
2517                 [CCode (array_length = false)]
2518                 public weak GLib.Type[] column_headers;
2519                 public uint columns_dirty;
2520                 public void* default_sort_data;
2521                 public weak GLib.DestroyNotify default_sort_destroy;
2522                 public weak Gtk.TreeIterCompareFunc default_sort_func;
2523                 public int length;
2524                 public int n_columns;
2525                 public Gtk.SortType order;
2526                 public void* seq;
2527                 public int sort_column_id;
2528                 public weak GLib.List sort_list;
2529                 public int stamp;
2530                 [CCode (sentinel = "", has_construct_function = false)]
2531                 public ListStore (int n_columns, ...);
2532                 public void append (out Gtk.TreeIter iter);
2533                 public void clear ();
2534                 public void insert (out Gtk.TreeIter iter, int position);
2535                 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
2536                 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
2537                 [CCode (sentinel = "-1")]
2538                 public void insert_with_values (out Gtk.TreeIter iter, int position, ...);
2539                 public void insert_with_valuesv (out Gtk.TreeIter iter, int position, int columns, GLib.Value[] values);
2540                 public bool iter_is_valid (Gtk.TreeIter iter);
2541                 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
2542                 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
2543                 [CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
2544                 public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
2545                 public void prepend (out Gtk.TreeIter iter);
2546                 public bool remove (Gtk.TreeIter iter);
2547                 public void reorder (int new_order);
2548                 [CCode (sentinel = "-1")]
2549                 public void @set (Gtk.TreeIter iter, ...);
2550                 public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
2551                 public void set_valist (Gtk.TreeIter iter, void* var_args);
2552                 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
2553                 public void set_valuesv (Gtk.TreeIter iter, int columns, GLib.Value[] values);
2554                 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
2555         }
2556         [CCode (cheader_filename = "gtk/gtk.h")]
2557         public class Menu : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
2558                 public weak Gdk.Window bin_window;
2559                 public uint lower_arrow_prelight;
2560                 public uint lower_arrow_visible;
2561                 public weak Gdk.Region navigation_region;
2562                 public uint navigation_timeout;
2563                 public uint needs_destruction_ref_count;
2564                 public weak Gtk.Widget old_active_menu_item;
2565                 public weak Gtk.Widget parent_menu_item;
2566                 public weak Gtk.MenuPositionFunc position_func;
2567                 public void* position_func_data;
2568                 public int saved_scroll_offset;
2569                 public uint scroll_fast;
2570                 public int scroll_offset;
2571                 public int scroll_step;
2572                 public uint tearoff_active;
2573                 public weak Gtk.Adjustment tearoff_adjustment;
2574                 public weak Gtk.Widget tearoff_hbox;
2575                 public weak Gtk.Widget tearoff_scrollbar;
2576                 public weak Gtk.Widget tearoff_window;
2577                 public uint timeout_id;
2578                 public uint toggle_size;
2579                 public weak Gtk.Widget toplevel;
2580                 public uint torn_off;
2581                 public uint upper_arrow_prelight;
2582                 public uint upper_arrow_visible;
2583                 public weak Gdk.Window view_window;
2584                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2585                 public Menu ();
2586                 public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
2587                 public void attach_to_widget (Gtk.Widget attach_widget, Gtk.MenuDetachFunc? detacher);
2588                 public void detach ();
2589                 public unowned Gtk.AccelGroup get_accel_group ();
2590                 public unowned string get_accel_path ();
2591                 public unowned Gtk.Widget get_active ();
2592                 public unowned Gtk.Widget get_attach_widget ();
2593                 public static unowned GLib.List<Gtk.Menu> get_for_attach_widget (Gtk.Widget widget);
2594                 public int get_monitor ();
2595                 public bool get_reserve_toggle_size ();
2596                 public bool get_tearoff_state ();
2597                 public unowned string get_title ();
2598                 public void popdown ();
2599                 public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
2600                 public void reorder_child (Gtk.Widget child, int position);
2601                 public void reposition ();
2602                 public void set_accel_group (Gtk.AccelGroup accel_group);
2603                 public void set_accel_path (string accel_path);
2604                 public void set_active (uint index_);
2605                 public void set_monitor (int monitor_num);
2606                 public void set_reserve_toggle_size (bool reserve_toggle_size);
2607                 public void set_screen (Gdk.Screen? screen);
2608                 public void set_tearoff_state (bool torn_off);
2609                 public void set_title (string title);
2610                 public Gtk.AccelGroup accel_group { get; set; }
2611                 public string accel_path { get; set; }
2612                 public int active { get; set; }
2613                 [NoAccessorMethod]
2614                 public Gtk.Widget attach_widget { owned get; set; }
2615                 public int monitor { get; set; }
2616                 public bool reserve_toggle_size { get; set; }
2617                 public bool tearoff_state { get; set; }
2618                 [NoAccessorMethod]
2619                 public string tearoff_title { owned get; set; }
2620                 public virtual signal void move_scroll (Gtk.ScrollType p0);
2621         }
2622         [CCode (cheader_filename = "gtk/gtk.h")]
2623         public class MenuBar : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
2624                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2625                 public MenuBar ();
2626                 public Gtk.PackDirection get_child_pack_direction ();
2627                 public Gtk.PackDirection get_pack_direction ();
2628                 public void set_child_pack_direction (Gtk.PackDirection child_pack_dir);
2629                 public void set_pack_direction (Gtk.PackDirection pack_dir);
2630                 public Gtk.PackDirection child_pack_direction { get; set; }
2631                 public Gtk.PackDirection pack_direction { get; set; }
2632         }
2633         [CCode (cheader_filename = "gtk/gtk.h")]
2634         public class MenuItem : Gtk.Item, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2635                 public uint16 accelerator_width;
2636                 public weak Gdk.Window event_window;
2637                 public uint from_menubar;
2638                 public uint right_justify;
2639                 public uint show_submenu_indicator;
2640                 public uint submenu_direction;
2641                 public uint submenu_placement;
2642                 public uint timer;
2643                 public uint timer_from_keypress;
2644                 public uint16 toggle_size;
2645                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2646                 public MenuItem ();
2647                 public unowned string get_accel_path ();
2648                 public virtual unowned string get_label ();
2649                 public bool get_right_justified ();
2650                 public unowned Gtk.Widget get_submenu ();
2651                 public bool get_use_underline ();
2652                 public void set_accel_path (string accel_path);
2653                 public virtual void set_label (string label);
2654                 public void set_right_justified (bool right_justified);
2655                 public void set_submenu (Gtk.Widget submenu);
2656                 public void set_use_underline (bool setting);
2657                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2658                 public MenuItem.with_label (string label);
2659                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2660                 public MenuItem.with_mnemonic (string label);
2661                 public string accel_path { get; set; }
2662                 public string label { get; set; }
2663                 public bool right_justified { get; set; }
2664                 public Gtk.Menu submenu { get; set; }
2665                 public bool use_underline { get; set; }
2666                 [HasEmitter]
2667                 public virtual signal void activate ();
2668                 public virtual signal void activate_item ();
2669                 [HasEmitter]
2670                 public virtual signal void toggle_size_allocate (int allocation);
2671                 [HasEmitter]
2672                 public virtual signal void toggle_size_request (void* requisition);
2673         }
2674         [CCode (cheader_filename = "gtk/gtk.h")]
2675         public class MenuShell : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2676                 public uint32 activate_time;
2677                 public uint active;
2678                 public weak Gtk.Widget active_menu_item;
2679                 public uint button;
2680                 public GLib.List<Gtk.MenuItem> children;
2681                 public uint have_grab;
2682                 public uint have_xgrab;
2683                 public uint ignore_enter;
2684                 public uint ignore_leave;
2685                 public uint keyboard_mode;
2686                 public uint menu_flag;
2687                 public weak Gtk.Widget parent_menu_shell;
2688                 [CCode (has_construct_function = false)]
2689                 protected MenuShell ();
2690                 public void activate_item (Gtk.Widget menu_item, bool force_deactivate);
2691                 public void append ([CCode (type = "GtkWidget*")] Gtk.MenuItem child);
2692                 public void deselect ();
2693                 [NoWrapper]
2694                 public virtual int get_popup_delay ();
2695                 public bool get_take_focus ();
2696                 public virtual void insert (Gtk.Widget child, int position);
2697                 public void prepend (Gtk.Widget child);
2698                 public void select_first (bool search_sensitive);
2699                 public virtual void select_item (Gtk.Widget menu_item);
2700                 public void set_take_focus (bool take_focus);
2701                 public bool take_focus { get; set; }
2702                 public virtual signal void activate_current (bool force_hide);
2703                 [HasEmitter]
2704                 public virtual signal void cancel ();
2705                 public virtual signal void cycle_focus (Gtk.DirectionType p0);
2706                 [HasEmitter]
2707                 public virtual signal void deactivate ();
2708                 public virtual signal void move_current (Gtk.MenuDirectionType direction);
2709                 public virtual signal bool move_selected (int distance);
2710                 public virtual signal void selection_done ();
2711         }
2712         [CCode (cheader_filename = "gtk/gtk.h")]
2713         public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2714                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
2715                 public MenuToolButton (Gtk.Widget? icon_widget, string? label);
2716                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
2717                 public MenuToolButton.from_stock (string stock_id);
2718                 public unowned Gtk.Widget get_menu ();
2719                 public void set_arrow_tooltip_markup (string markup);
2720                 public void set_arrow_tooltip_text (string text);
2721                 public void set_menu (Gtk.Widget menu);
2722                 public Gtk.Menu menu { get; set; }
2723                 public virtual signal void show_menu ();
2724         }
2725         [CCode (cheader_filename = "gtk/gtk.h")]
2726         public class MessageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
2727                 public weak Gtk.Widget label;
2728                 [PrintfFormat]
2729                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2730                 public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
2731                 public void format_secondary_markup (string message_format, ...);
2732                 public void format_secondary_text (string message_format, ...);
2733                 public unowned Gtk.Widget get_image ();
2734                 public void set_image (Gtk.Widget image);
2735                 public void set_markup (string str);
2736                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2737                 public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
2738                 [NoAccessorMethod]
2739                 public Gtk.ButtonsType buttons { construct; }
2740                 public Gtk.Widget image { get; set; }
2741                 [NoAccessorMethod]
2742                 public Gtk.MessageType message_type { get; set construct; }
2743                 [NoAccessorMethod]
2744                 public string secondary_text { owned get; set; }
2745                 [NoAccessorMethod]
2746                 public bool secondary_use_markup { get; set; }
2747                 [NoAccessorMethod]
2748                 public string text { owned get; set; }
2749                 [NoAccessorMethod]
2750                 public bool use_markup { get; set; }
2751         }
2752         [CCode (cheader_filename = "gtk/gtk.h")]
2753         public class Misc : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2754                 [CCode (has_construct_function = false)]
2755                 protected Misc ();
2756                 public void get_alignment (float xalign, float yalign);
2757                 public void get_padding (int xpad, int ypad);
2758                 public void set_alignment (float xalign, float yalign);
2759                 public void set_padding (int xpad, int ypad);
2760                 [NoAccessorMethod]
2761                 public float xalign { get; set; }
2762                 [NoAccessorMethod]
2763                 public int xpad { get; set; }
2764                 [NoAccessorMethod]
2765                 public float yalign { get; set; }
2766                 [NoAccessorMethod]
2767                 public int ypad { get; set; }
2768         }
2769         [CCode (cheader_filename = "gtk/gtk.h")]
2770         public class MountOperation : GLib.MountOperation {
2771                 [CCode (type = "GMountOperation*", has_construct_function = false)]
2772                 public MountOperation (Gtk.Window? parent);
2773                 public unowned Gtk.Window get_parent ();
2774                 public unowned Gdk.Screen get_screen ();
2775                 public void set_parent (Gtk.Window parent);
2776                 public void set_screen (Gdk.Screen screen);
2777                 [NoAccessorMethod]
2778                 public bool is_showing { get; }
2779                 public Gtk.Window parent { get; set; }
2780                 public Gdk.Screen screen { get; set; }
2781         }
2782         [CCode (cheader_filename = "gtk/gtk.h")]
2783         public class Notebook : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2784                 public uint button;
2785                 public uint child_has_focus;
2786                 public weak GLib.List children;
2787                 public uint click_child;
2788                 public weak Gtk.NotebookPage cur_page;
2789                 public weak Gdk.Window event_window;
2790                 public weak GLib.List first_tab;
2791                 public uint focus_out;
2792                 public uint has_after_next;
2793                 public uint has_after_previous;
2794                 public uint has_before_next;
2795                 public uint has_before_previous;
2796                 public uint have_visible_child;
2797                 public uint in_child;
2798                 public weak Gtk.Widget menu;
2799                 public uint need_timer;
2800                 public uint32 timer;
2801                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2802                 public Notebook ();
2803                 public int append_page (Gtk.Widget child, Gtk.Widget? tab_label);
2804                 public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
2805                 public unowned Gtk.Widget get_action_widget (Gtk.PackType pack_type);
2806                 public int get_current_page ();
2807                 public void* get_group ();
2808                 public unowned Gtk.Widget get_menu_label (Gtk.Widget child);
2809                 public unowned string get_menu_label_text (Gtk.Widget child);
2810                 public int get_n_pages ();
2811                 public unowned Gtk.Widget get_nth_page (int page_num);
2812                 public bool get_scrollable ();
2813                 public bool get_show_border ();
2814                 public bool get_show_tabs ();
2815                 public bool get_tab_detachable (Gtk.Widget child);
2816                 public unowned Gtk.Widget get_tab_label (Gtk.Widget child);
2817                 public unowned string get_tab_label_text (Gtk.Widget child);
2818                 public Gtk.PositionType get_tab_pos ();
2819                 public bool get_tab_reorderable (Gtk.Widget child);
2820                 public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
2821                 [CCode (vfunc_name = "insert_page")]
2822                 public virtual int insert_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label, int position);
2823                 public void next_page ();
2824                 public int page_num (Gtk.Widget child);
2825                 public void popup_disable ();
2826                 public void popup_enable ();
2827                 public int prepend_page (Gtk.Widget child, Gtk.Widget? tab_label);
2828                 public int prepend_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
2829                 public void prev_page ();
2830                 public void query_tab_label_packing (Gtk.Widget child, bool? expand, bool? fill, Gtk.PackType? pack_type);
2831                 public void remove_page (int page_num);
2832                 public void reorder_child (Gtk.Widget child, int position);
2833                 public void set_action_widget (Gtk.Widget widget, Gtk.PackType pack_type);
2834                 public void set_current_page (int page_num);
2835                 public void set_group (void* group);
2836                 public void set_menu_label (Gtk.Widget child, Gtk.Widget? menu_label);
2837                 public void set_menu_label_text (Gtk.Widget child, string menu_text);
2838                 public void set_scrollable (bool scrollable);
2839                 public void set_show_border (bool show_border);
2840                 public void set_show_tabs (bool show_tabs);
2841                 public void set_tab_detachable (Gtk.Widget child, bool detachable);
2842                 public void set_tab_label (Gtk.Widget child, Gtk.Widget? tab_label);
2843                 public void set_tab_label_packing (Gtk.Widget child, bool expand, bool fill, Gtk.PackType pack_type);
2844                 public void set_tab_label_text (Gtk.Widget child, string tab_text);
2845                 public void set_tab_pos (Gtk.PositionType pos);
2846                 public void set_tab_reorderable (Gtk.Widget child, bool reorderable);
2847                 public static void set_window_creation_hook (owned Gtk.NotebookWindowCreationFunc func);
2848                 [NoAccessorMethod]
2849                 public bool enable_popup { get; set; }
2850                 public void* group { get; set; }
2851                 [NoAccessorMethod]
2852                 public int group_id { get; set; }
2853                 [NoAccessorMethod]
2854                 public bool homogeneous { get; set; }
2855                 [NoAccessorMethod]
2856                 public int page { get; set; }
2857                 public bool scrollable { get; set; }
2858                 public bool show_border { get; set; }
2859                 public bool show_tabs { get; set; }
2860                 [NoAccessorMethod]
2861                 public uint tab_border { set; }
2862                 [NoAccessorMethod]
2863                 public uint tab_hborder { get; set; }
2864                 public Gtk.PositionType tab_pos { get; set; }
2865                 [NoAccessorMethod]
2866                 public uint tab_vborder { get; set; }
2867                 public virtual signal bool change_current_page (int offset);
2868                 public virtual signal unowned Gtk.Notebook create_window (Gtk.Widget page, int x, int y);
2869                 public virtual signal bool focus_tab (Gtk.NotebookTab type);
2870                 public virtual signal void move_focus_out (Gtk.DirectionType direction);
2871                 public virtual signal void page_added (Gtk.Widget p0, uint p1);
2872                 public virtual signal void page_removed (Gtk.Widget p0, uint p1);
2873                 public virtual signal void page_reordered (Gtk.Widget p0, uint p1);
2874                 public virtual signal bool reorder_tab (Gtk.DirectionType direction, bool move_to_last);
2875                 public virtual signal bool select_page (bool move_focus);
2876                 public virtual signal void switch_page (Gtk.NotebookPage page, uint page_num);
2877         }
2878         [Compact]
2879         [CCode (cheader_filename = "gtk/gtk.h")]
2880         public class NotebookPage {
2881         }
2882         [CCode (cheader_filename = "gtk/gtk.h")]
2883         public class Object : GLib.InitiallyUnowned {
2884                 public uint32 flags;
2885                 [CCode (has_construct_function = false)]
2886                 protected Object ();
2887                 [NoWrapper]
2888                 public virtual void get_arg (Gtk.Arg arg, uint arg_id);
2889                 [NoWrapper]
2890                 public virtual void set_arg (Gtk.Arg arg, uint arg_id);
2891                 [NoAccessorMethod]
2892                 public void* user_data { get; set; }
2893                 [HasEmitter]
2894                 public virtual signal void destroy ();
2895         }
2896         [CCode (cheader_filename = "gtk/gtk.h")]
2897         public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
2898                 [CCode (type = "GtkWidget*", has_construct_function = false)]
2899                 public OffscreenWindow ();
2900                 public unowned Gdk.Pixbuf get_pixbuf ();
2901                 public unowned Gdk.Pixmap get_pixmap ();
2902         }
2903         [Compact]
2904         [CCode (cheader_filename = "gtk/gtk.h")]
2905         public class PageRange {
2906                 public int end;
2907                 public int start;
2908         }
2909         [CCode (cheader_filename = "gtk/gtk.h")]
2910         public class PageSetup : GLib.Object {
2911                 [CCode (has_construct_function = false)]
2912                 public PageSetup ();
2913                 public Gtk.PageSetup copy ();
2914                 [CCode (has_construct_function = false)]
2915                 public PageSetup.from_file (string file_name) throws GLib.Error;
2916                 [CCode (has_construct_function = false)]
2917                 public PageSetup.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
2918                 public double get_bottom_margin (Gtk.Unit unit);
2919                 public double get_left_margin (Gtk.Unit unit);
2920                 public Gtk.PageOrientation get_orientation ();
2921                 public double get_page_height (Gtk.Unit unit);
2922                 public double get_page_width (Gtk.Unit unit);
2923                 public double get_paper_height (Gtk.Unit unit);
2924                 public unowned Gtk.PaperSize get_paper_size ();
2925                 public double get_paper_width (Gtk.Unit unit);
2926                 public double get_right_margin (Gtk.Unit unit);
2927                 public double get_top_margin (Gtk.Unit unit);
2928                 public bool load_file (string file_name) throws GLib.Error;
2929                 public bool load_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
2930                 public void set_bottom_margin (double margin, Gtk.Unit unit);
2931                 public void set_left_margin (double margin, Gtk.Unit unit);
2932                 public void set_orientation (Gtk.PageOrientation orientation);
2933                 public void set_paper_size (Gtk.PaperSize size);
2934                 public void set_paper_size_and_default_margins (Gtk.PaperSize size);
2935                 public void set_right_margin (double margin, Gtk.Unit unit);
2936                 public void set_top_margin (double margin, Gtk.Unit unit);
2937                 public bool to_file (string file_name) throws GLib.Error;
2938                 public void to_key_file (GLib.KeyFile key_file, string group_name);
2939         }
2940         [CCode (cheader_filename = "gtk/gtk.h")]
2941         public class Paned : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2942                 public weak Gtk.Widget child1;
2943                 public uint child1_resize;
2944                 public uint child1_shrink;
2945                 public int child1_size;
2946                 public weak Gtk.Widget child2;
2947                 public uint child2_resize;
2948                 public uint child2_shrink;
2949                 public Gdk.CursorType cursor_type;
2950                 public int drag_pos;
2951                 public weak Gdk.Window handle;
2952                 public Gdk.Rectangle handle_pos;
2953                 public uint handle_prelit;
2954                 public uint in_drag;
2955                 public uint in_recursion;
2956                 public int last_allocation;
2957                 public weak Gtk.Widget last_child1_focus;
2958                 public weak Gtk.Widget last_child2_focus;
2959                 public uint orientation;
2960                 public int original_position;
2961                 public weak Gdk.GC xor_gc;
2962                 [CCode (has_construct_function = false)]
2963                 protected Paned ();
2964                 public void add1 (Gtk.Widget child);
2965                 public void add2 (Gtk.Widget child);
2966                 public unowned Gtk.Widget get_child1 ();
2967                 public unowned Gtk.Widget get_child2 ();
2968                 public unowned Gdk.Window get_handle_window ();
2969                 public int get_position ();
2970                 public void pack1 (Gtk.Widget child, bool resize, bool shrink);
2971                 public void pack2 (Gtk.Widget child, bool resize, bool shrink);
2972                 public void set_position (int position);
2973                 [NoAccessorMethod]
2974                 public int max_position { get; }
2975                 [NoAccessorMethod]
2976                 public int min_position { get; }
2977                 public int position { get; set; }
2978                 [NoAccessorMethod]
2979                 public bool position_set { get; set; }
2980                 public virtual signal bool accept_position ();
2981                 public virtual signal bool cancel_position ();
2982                 public virtual signal bool cycle_child_focus (bool reverse);
2983                 public virtual signal bool cycle_handle_focus (bool reverse);
2984                 public virtual signal bool move_handle (Gtk.ScrollType scroll);
2985                 public virtual signal bool toggle_handle_focus ();
2986         }
2987         [Compact]
2988         [CCode (copy_function = "gtk_paper_size_copy", type_id = "GTK_TYPE_PAPER_SIZE", cheader_filename = "gtk/gtk.h")]
2989         public class PaperSize {
2990                 [CCode (has_construct_function = false)]
2991                 public PaperSize (string name);
2992                 public Gtk.PaperSize copy ();
2993                 [CCode (has_construct_function = false)]
2994                 public PaperSize.custom (string name, string display_name, double width, double height, Gtk.Unit unit);
2995                 [CCode (has_construct_function = false)]
2996                 public PaperSize.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
2997                 [CCode (has_construct_function = false)]
2998                 public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height);
2999                 public static unowned string get_default ();
3000                 public double get_default_bottom_margin (Gtk.Unit unit);
3001                 public double get_default_left_margin (Gtk.Unit unit);
3002                 public double get_default_right_margin (Gtk.Unit unit);
3003                 public double get_default_top_margin (Gtk.Unit unit);
3004                 public unowned string get_display_name ();
3005                 public double get_height (Gtk.Unit unit);
3006                 public unowned string get_name ();
3007                 public static GLib.List<Gtk.PaperSize> get_paper_sizes (bool include_custom);
3008                 public unowned string get_ppd_name ();
3009                 public double get_width (Gtk.Unit unit);
3010                 public bool is_custom ();
3011                 public bool is_equal (Gtk.PaperSize size2);
3012                 public void set_size (double width, double height, Gtk.Unit unit);
3013                 public void to_key_file (GLib.KeyFile key_file, string group_name);
3014         }
3015         [CCode (cheader_filename = "gtk/gtk.h")]
3016         public class Plug : Gtk.Window, Atk.Implementor, Gtk.Buildable {
3017                 public weak GLib.HashTable grabbed_keys;
3018                 public weak Gtk.WindowGroup modality_group;
3019                 public weak Gtk.Widget modality_window;
3020                 public uint same_app;
3021                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3022                 public Plug (Gdk.NativeWindow socket_id);
3023                 public void @construct (Gdk.NativeWindow socket_id);
3024                 public void construct_for_display (Gdk.Display display, Gdk.NativeWindow socket_id);
3025                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3026                 public Plug.for_display (Gdk.Display display, Gdk.NativeWindow socket_id);
3027                 public bool get_embedded ();
3028                 public Gdk.NativeWindow get_id ();
3029                 public unowned Gdk.Window get_socket_window ();
3030                 public bool embedded { get; }
3031                 public Gdk.Window socket_window { get; }
3032         }
3033         [CCode (cheader_filename = "gtk/gtk.h")]
3034         public class PrintContext : GLib.Object {
3035                 [CCode (has_construct_function = false)]
3036                 protected PrintContext ();
3037                 public unowned Pango.Context create_pango_context ();
3038                 public unowned Pango.Layout create_pango_layout ();
3039                 public unowned Cairo.Context get_cairo_context ();
3040                 public double get_dpi_x ();
3041                 public double get_dpi_y ();
3042                 public bool get_hard_margins (double top, double bottom, double left, double right);
3043                 public double get_height ();
3044                 public unowned Gtk.PageSetup get_page_setup ();
3045                 public unowned Pango.FontMap get_pango_fontmap ();
3046                 public double get_width ();
3047                 public void set_cairo_context (Cairo.Context cr, double dpi_x, double dpi_y);
3048         }
3049         [CCode (cheader_filename = "gtk/gtk.h")]
3050         public class PrintOperation : GLib.Object, Gtk.PrintOperationPreview {
3051                 [CCode (has_construct_function = false)]
3052                 public PrintOperation ();
3053                 public void cancel ();
3054                 public void draw_page_finish ();
3055                 public unowned Gtk.PageSetup get_default_page_setup ();
3056                 public bool get_embed_page_setup ();
3057                 public void get_error () throws GLib.Error;
3058                 public bool get_has_selection ();
3059                 public int get_n_pages_to_print ();
3060                 public unowned Gtk.PrintSettings get_print_settings ();
3061                 public Gtk.PrintStatus get_status ();
3062                 public unowned string get_status_string ();
3063                 public bool get_support_selection ();
3064                 public bool is_finished ();
3065                 public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window parent) throws GLib.Error;
3066                 public void set_allow_async (bool allow_async);
3067                 public void set_current_page (int current_page);
3068                 public void set_custom_tab_label (string label);
3069                 public void set_default_page_setup (Gtk.PageSetup default_page_setup);
3070                 public void set_defer_drawing ();
3071                 public void set_embed_page_setup (bool embed);
3072                 public void set_export_filename (string filename);
3073                 public void set_has_selection (bool has_selection);
3074                 public void set_job_name (string job_name);
3075                 public void set_n_pages (int n_pages);
3076                 public void set_print_settings (Gtk.PrintSettings print_settings);
3077                 public void set_show_progress (bool show_progress);
3078                 public void set_support_selection (bool support_selection);
3079                 public void set_track_print_status (bool track_status);
3080                 public void set_unit (Gtk.Unit unit);
3081                 public void set_use_full_page (bool full_page);
3082                 [NoAccessorMethod]
3083                 public bool allow_async { get; set; }
3084                 [NoAccessorMethod]
3085                 public int current_page { get; set; }
3086                 [NoAccessorMethod]
3087                 public string custom_tab_label { owned get; set; }
3088                 public Gtk.PageSetup default_page_setup { get; set; }
3089                 public bool embed_page_setup { get; set; }
3090                 [NoAccessorMethod]
3091                 public string export_filename { owned get; set; }
3092                 public bool has_selection { get; set; }
3093                 [NoAccessorMethod]
3094                 public string job_name { owned get; set; }
3095                 [NoAccessorMethod]
3096                 public int n_pages { get; set; }
3097                 public int n_pages_to_print { get; }
3098                 public Gtk.PrintSettings print_settings { get; set; }
3099                 [NoAccessorMethod]
3100                 public bool show_progress { get; set; }
3101                 public Gtk.PrintStatus status { get; }
3102                 public string status_string { get; }
3103                 public bool support_selection { get; set; }
3104                 [NoAccessorMethod]
3105                 public bool track_print_status { get; set; }
3106                 [NoAccessorMethod]
3107                 public Gtk.Unit unit { get; set; }
3108                 [NoAccessorMethod]
3109                 public bool use_full_page { get; set; }
3110                 public virtual signal void begin_print (Gtk.PrintContext context);
3111                 public virtual signal unowned GLib.Object create_custom_widget ();
3112                 public virtual signal void custom_widget_apply (Gtk.Widget widget);
3113                 public virtual signal void done (Gtk.PrintOperationResult result);
3114                 public virtual signal void draw_page (Gtk.PrintContext context, int page_nr);
3115                 public virtual signal void end_print (Gtk.PrintContext context);
3116                 public virtual signal bool paginate (Gtk.PrintContext context);
3117                 public virtual signal bool preview (Gtk.PrintOperationPreview preview, Gtk.PrintContext context, Gtk.Window parent);
3118                 public virtual signal void request_page_setup (Gtk.PrintContext context, int page_nr, Gtk.PageSetup setup);
3119                 public virtual signal void status_changed ();
3120                 public virtual signal void update_custom_widget (Gtk.Widget widget, Gtk.PageSetup setup, Gtk.PrintSettings settings);
3121         }
3122         [CCode (cheader_filename = "gtk/gtk.h")]
3123         public class PrintSettings : GLib.Object {
3124                 [CCode (has_construct_function = false)]
3125                 public PrintSettings ();
3126                 public Gtk.PrintSettings copy ();
3127                 public void @foreach (Gtk.PrintSettingsFunc func);
3128                 [CCode (has_construct_function = false)]
3129                 public PrintSettings.from_file (string file_name) throws GLib.Error;
3130                 [CCode (has_construct_function = false)]
3131                 public PrintSettings.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3132                 public unowned string @get (string key);
3133                 public bool get_bool (string key);
3134                 public bool get_collate ();
3135                 public unowned string get_default_source ();
3136                 public unowned string get_dither ();
3137                 public double get_double (string key);
3138                 public double get_double_with_default (string key, double def);
3139                 public Gtk.PrintDuplex get_duplex ();
3140                 public unowned string get_finishings ();
3141                 public int get_int (string key);
3142                 public int get_int_with_default (string key, int def);
3143                 public double get_length (string key, Gtk.Unit unit);
3144                 public unowned string get_media_type ();
3145                 public int get_n_copies ();
3146                 public int get_number_up ();
3147                 public Gtk.NumberUpLayout get_number_up_layout ();
3148                 public Gtk.PageOrientation get_orientation ();
3149                 public unowned string get_output_bin ();
3150                 public unowned Gtk.PageRange get_page_ranges (int num_ranges);
3151                 public Gtk.PageSet get_page_set ();
3152                 public double get_paper_height (Gtk.Unit unit);
3153                 public unowned Gtk.PaperSize get_paper_size ();
3154                 public double get_paper_width (Gtk.Unit unit);
3155                 public Gtk.PrintPages get_print_pages ();
3156                 public unowned string get_printer ();
3157                 public double get_printer_lpi ();
3158                 public Gtk.PrintQuality get_quality ();
3159                 public int get_resolution ();
3160                 public int get_resolution_x ();
3161                 public int get_resolution_y ();
3162                 public bool get_reverse ();
3163                 public double get_scale ();
3164                 public bool get_use_color ();
3165                 public bool has_key (string key);
3166                 public bool load_file (string file_name) throws GLib.Error;
3167                 public bool load_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3168                 public void @set (string key, string value);
3169                 public void set_bool (string key, bool value);
3170                 public void set_collate (bool collate);
3171                 public void set_default_source (string default_source);
3172                 public void set_dither (string dither);
3173                 public void set_double (string key, double value);
3174                 public void set_duplex (Gtk.PrintDuplex duplex);
3175                 public void set_finishings (string finishings);
3176                 public void set_int (string key, int value);
3177                 public void set_length (string key, double value, Gtk.Unit unit);
3178                 public void set_media_type (string media_type);
3179                 public void set_n_copies (int num_copies);
3180                 public void set_number_up (int number_up);
3181                 public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout);
3182                 public void set_orientation (Gtk.PageOrientation orientation);
3183                 public void set_output_bin (string output_bin);
3184                 public void set_page_ranges (Gtk.PageRange page_ranges, int num_ranges);
3185                 public void set_page_set (Gtk.PageSet page_set);
3186                 public void set_paper_height (double height, Gtk.Unit unit);
3187                 public void set_paper_size (Gtk.PaperSize paper_size);
3188                 public void set_paper_width (double width, Gtk.Unit unit);
3189                 public void set_print_pages (Gtk.PrintPages pages);
3190                 public void set_printer (string printer);
3191                 public void set_printer_lpi (double lpi);
3192                 public void set_quality (Gtk.PrintQuality quality);
3193                 public void set_resolution (int resolution);
3194                 public void set_resolution_xy (int resolution_x, int resolution_y);
3195                 public void set_reverse (bool reverse);
3196                 public void set_scale (double scale);
3197                 public void set_use_color (bool use_color);
3198                 public bool to_file (string file_name) throws GLib.Error;
3199                 public void to_key_file (GLib.KeyFile key_file, string group_name);
3200                 public void unset (string key);
3201         }
3202         [CCode (cheader_filename = "gtk/gtk.h")]
3203         public class ProgressBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
3204                 public uint activity_dir;
3205                 public int activity_pos;
3206                 public uint blocks;
3207                 public uint dirty;
3208                 public int in_block;
3209                 public double pulse_fraction;
3210                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3211                 public ProgressBar ();
3212                 public Pango.EllipsizeMode get_ellipsize ();
3213                 public double get_fraction ();
3214                 public Gtk.ProgressBarOrientation get_orientation ();
3215                 public double get_pulse_step ();
3216                 public unowned string get_text ();
3217                 public void pulse ();
3218                 public void set_ellipsize (Pango.EllipsizeMode mode);
3219                 public void set_fraction (double fraction);
3220                 public void set_orientation (Gtk.ProgressBarOrientation orientation);
3221                 public void set_pulse_step (double fraction);
3222                 public void set_text (string text);
3223                 [NoAccessorMethod]
3224                 public uint activity_blocks { get; set; }
3225                 [NoAccessorMethod]
3226                 public uint activity_step { get; set; }
3227                 [NoAccessorMethod]
3228                 public Gtk.Adjustment adjustment { owned get; set; }
3229                 [NoAccessorMethod]
3230                 public Gtk.ProgressBarStyle bar_style { get; set; }
3231                 [NoAccessorMethod]
3232                 public uint discrete_blocks { get; set; }
3233                 public Pango.EllipsizeMode ellipsize { get; set; }
3234                 public double fraction { get; set; }
3235                 public Gtk.ProgressBarOrientation orientation { get; set; }
3236                 public double pulse_step { get; set; }
3237                 public string text { get; set; }
3238         }
3239         [CCode (cheader_filename = "gtk/gtk.h")]
3240         public class RadioAction : Gtk.ToggleAction, Gtk.Buildable {
3241                 [CCode (has_construct_function = false)]
3242                 public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
3243                 public int get_current_value ();
3244                 public unowned GLib.SList<Gtk.RadioAction> get_group ();
3245                 public void set_current_value (int current_value);
3246                 public void set_group (GLib.SList<Gtk.RadioAction> group);
3247                 public int current_value { get; set; }
3248                 [NoAccessorMethod]
3249                 public Gtk.RadioAction group { set; }
3250                 [NoAccessorMethod]
3251                 public int value { get; set; }
3252                 public virtual signal void changed (Gtk.RadioAction current);
3253         }
3254         [CCode (cheader_filename = "gtk/gtk.h")]
3255         public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3256                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3257                 public RadioButton (GLib.SList<Gtk.RadioButton>? group);
3258                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3259                 public RadioButton.from_widget (Gtk.RadioButton radio_group_member);
3260                 public unowned GLib.SList<Gtk.RadioButton> get_group ();
3261                 public void set_group (GLib.SList<Gtk.RadioButton> group);
3262                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3263                 public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
3264                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3265                 public RadioButton.with_label_from_widget (Gtk.RadioButton radio_group_member, string label);
3266                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3267                 public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
3268                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3269                 public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton radio_group_member, string label);
3270                 [NoAccessorMethod]
3271                 public Gtk.RadioButton group { set; }
3272                 public virtual signal void group_changed ();
3273         }
3274         [CCode (cheader_filename = "gtk/gtk.h")]
3275         public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3276                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3277                 public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem> group);
3278                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3279                 public RadioMenuItem.from_widget (Gtk.RadioMenuItem group);
3280                 public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
3281                 public void set_group (GLib.SList<Gtk.RadioMenuItem> group);
3282                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3283                 public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem> group, string label);
3284                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3285                 public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem group, string label);
3286                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3287                 public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem> group, string label);
3288                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3289                 public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem group, string label);
3290                 public Gtk.RadioMenuItem group { set; }
3291                 public virtual signal void group_changed ();
3292         }
3293         [CCode (cheader_filename = "gtk/gtk.h")]
3294         public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3295                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
3296                 public RadioToolButton (GLib.SList<Gtk.RadioToolButton>? group);
3297                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
3298                 public RadioToolButton.from_stock (GLib.SList<Gtk.RadioToolButton>? group, string stock_id);
3299                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
3300                 public RadioToolButton.from_widget (Gtk.RadioToolButton group);
3301                 public unowned GLib.SList<Gtk.RadioToolButton> get_group ();
3302                 public void set_group (GLib.SList<Gtk.RadioToolButton> group);
3303                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
3304                 public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton group, string stock_id);
3305                 public Gtk.RadioToolButton group { set; }
3306         }
3307         [CCode (cheader_filename = "gtk/gtk.h")]
3308         public class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3309                 public weak Gdk.Window event_window;
3310                 public uint flippable;
3311                 public uint has_stepper_a;
3312                 public uint has_stepper_b;
3313                 public uint has_stepper_c;
3314                 public uint has_stepper_d;
3315                 public weak Gtk.RangeLayout layout;
3316                 public int min_slider_size;
3317                 public uint need_recalc;
3318                 public Gtk.Orientation orientation;
3319                 public Gdk.Rectangle range_rect;
3320                 public int round_digits;
3321                 public int slide_initial_coordinate;
3322                 public int slide_initial_slider_position;
3323                 public int slider_end;
3324                 public uint slider_size_fixed;
3325                 public int slider_start;
3326                 public weak Gtk.RangeStepTimer timer;
3327                 public uint trough_click_forward;
3328                 public uint update_pending;
3329                 public uint update_timeout_id;
3330                 [CCode (has_construct_function = false)]
3331                 protected Range ();
3332                 public unowned Gtk.Adjustment get_adjustment ();
3333                 public double get_fill_level ();
3334                 public bool get_flippable ();
3335                 public bool get_inverted ();
3336                 public Gtk.SensitivityType get_lower_stepper_sensitivity ();
3337                 public int get_min_slider_size ();
3338                 [NoWrapper]
3339                 public virtual void get_range_border (Gtk.Border border_);
3340                 public void get_range_rect (Gdk.Rectangle range_rect);
3341                 public bool get_restrict_to_fill_level ();
3342                 public bool get_show_fill_level ();
3343                 public void get_slider_range (int slider_start, int slider_end);
3344                 public bool get_slider_size_fixed ();
3345                 public Gtk.UpdateType get_update_policy ();
3346                 public Gtk.SensitivityType get_upper_stepper_sensitivity ();
3347                 public double get_value ();
3348                 public void set_adjustment (Gtk.Adjustment adjustment);
3349                 public void set_fill_level (double fill_level);
3350                 public void set_flippable (bool flippable);
3351                 public void set_increments (double step, double page);
3352                 public void set_inverted (bool setting);
3353                 public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
3354                 public void set_min_slider_size (bool min_size);
3355                 public void set_range (double min, double max);
3356                 public void set_restrict_to_fill_level (bool restrict_to_fill_level);
3357                 public void set_show_fill_level (bool show_fill_level);
3358                 public void set_slider_size_fixed (bool size_fixed);
3359                 public void set_update_policy (Gtk.UpdateType policy);
3360                 public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
3361                 public void set_value (double value);
3362                 public Gtk.Adjustment adjustment { get; set construct; }
3363                 public double fill_level { get; set; }
3364                 public bool inverted { get; set; }
3365                 public Gtk.SensitivityType lower_stepper_sensitivity { get; set; }
3366                 public bool restrict_to_fill_level { get; set; }
3367                 public bool show_fill_level { get; set; }
3368                 public Gtk.UpdateType update_policy { get; set; }
3369                 public Gtk.SensitivityType upper_stepper_sensitivity { get; set; }
3370                 public virtual signal void adjust_bounds (double new_value);
3371                 public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
3372                 public virtual signal void move_slider (Gtk.ScrollType scroll);
3373                 public virtual signal void value_changed ();
3374         }
3375         [Compact]
3376         [CCode (cheader_filename = "gtk/gtk.h")]
3377         public class RangeLayout {
3378         }
3379         [Compact]
3380         [CCode (cheader_filename = "gtk/gtk.h")]
3381         public class RangeStepTimer {
3382         }
3383         [Compact]
3384         [CCode (cheader_filename = "gtk/gtk.h")]
3385         public class RcContext {
3386         }
3387         [Compact]
3388         [CCode (cheader_filename = "gtk/gtk.h")]
3389         public class RcProperty {
3390                 public weak string origin;
3391                 public GLib.Quark property_name;
3392                 public GLib.Quark type_name;
3393                 public GLib.Value value;
3394                 public static bool parse_border (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3395                 public static bool parse_color (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3396                 public static bool parse_enum (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3397                 public static bool parse_flags (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3398                 public static bool parse_requisition (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3399         }
3400         [CCode (cheader_filename = "gtk/gtk.h")]
3401         public class RcStyle : GLib.Object {
3402                 [CCode (array_length = false)]
3403                 public weak Gdk.Color[] @base;
3404                 [CCode (array_length = false)]
3405                 public weak Gdk.Color[] bg;
3406                 [CCode (array_length = false)]
3407                 public weak string[] bg_pixmap_name;
3408                 [CCode (array_length = false)]
3409                 public weak Gtk.RcFlags[] color_flags;
3410                 public uint engine_specified;
3411                 [CCode (array_length = false)]
3412                 public weak Gdk.Color[] fg;
3413                 public weak Pango.FontDescription font_desc;
3414                 public weak GLib.SList icon_factories;
3415                 public weak string name;
3416                 public weak GLib.Array rc_properties;
3417                 public weak GLib.SList rc_style_lists;
3418                 [CCode (array_length = false)]
3419                 public weak Gdk.Color[] text;
3420                 public int xthickness;
3421                 public int ythickness;
3422                 [CCode (has_construct_function = false)]
3423                 public RcStyle ();
3424                 public Gtk.RcStyle copy ();
3425                 [NoWrapper]
3426                 public virtual unowned Gtk.RcStyle create_rc_style ();
3427                 [NoWrapper]
3428                 public virtual Gtk.Style create_style ();
3429                 [NoWrapper]
3430                 public virtual void merge (Gtk.RcStyle src);
3431                 [NoWrapper]
3432                 public virtual uint parse (Gtk.Settings settings, GLib.Scanner scanner);
3433         }
3434         [CCode (cheader_filename = "gtk/gtk.h")]
3435         public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser {
3436                 [CCode (type = "GtkAction*", has_construct_function = false)]
3437                 public RecentAction (string name, string label, string tooltip, string stock_id);
3438                 [CCode (type = "GtkAction*", has_construct_function = false)]
3439                 public RecentAction.for_manager (string name, string label, string tooltip, string stock_id, Gtk.RecentManager manager);
3440                 public bool get_show_numbers ();
3441                 public void set_show_numbers (bool show_numbers);
3442                 public bool show_numbers { get; set; }
3443         }
3444         [CCode (cheader_filename = "gtk/gtk.h")]
3445         public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
3446                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3447                 public RecentChooserDialog (string title, Gtk.Window parent, ...);
3448                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3449                 public RecentChooserDialog.for_manager (string title, Gtk.Window parent, Gtk.RecentManager manager, ...);
3450         }
3451         [CCode (cheader_filename = "gtk/gtk.h")]
3452         public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.RecentChooser {
3453                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3454                 public RecentChooserMenu ();
3455                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3456                 public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
3457                 public bool get_show_numbers ();
3458                 [NoWrapper]
3459                 public virtual void gtk_recent1 ();
3460                 [NoWrapper]
3461                 public virtual void gtk_recent2 ();
3462                 [NoWrapper]
3463                 public virtual void gtk_recent3 ();
3464                 [NoWrapper]
3465                 public virtual void gtk_recent4 ();
3466                 public void set_show_numbers (bool show_numbers);
3467                 public bool show_numbers { get; set; }
3468         }
3469         [CCode (cheader_filename = "gtk/gtk.h")]
3470         public class RecentChooserWidget : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
3471                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3472                 public RecentChooserWidget ();
3473                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3474                 public RecentChooserWidget.for_manager (Gtk.RecentManager manager);
3475         }
3476         [CCode (cheader_filename = "gtk/gtk.h")]
3477         public class RecentFilter : Gtk.Object {
3478                 [CCode (has_construct_function = false)]
3479                 public RecentFilter ();
3480                 public void add_age (int days);
3481                 public void add_application (string application);
3482                 public void add_custom (Gtk.RecentFilterFlags needed, owned Gtk.RecentFilterFunc func);
3483                 public void add_group (string group);
3484                 public void add_mime_type (string mime_type);
3485                 public void add_pattern (string pattern);
3486                 public void add_pixbuf_formats ();
3487                 public bool filter (Gtk.RecentFilterInfo filter_info);
3488                 public unowned string get_name ();
3489                 public Gtk.RecentFilterFlags get_needed ();
3490                 public void set_name (string name);
3491         }
3492         [Compact]
3493         [CCode (cheader_filename = "gtk/gtk.h")]
3494         public class RecentFilterInfo {
3495                 public int age;
3496                 public weak string applications;
3497                 public Gtk.RecentFilterFlags contains;
3498                 public weak string display_name;
3499                 public weak string groups;
3500                 public weak string mime_type;
3501                 public weak string uri;
3502         }
3503         [Compact]
3504         [CCode (ref_function = "gtk_recent_info_ref", unref_function = "gtk_recent_info_unref", type_id = "GTK_TYPE_RECENT_INFO", cheader_filename = "gtk/gtk.h")]
3505         public class RecentInfo {
3506                 public bool exists ();
3507                 public ulong get_added ();
3508                 public int get_age ();
3509                 public bool get_application_info (string app_name, out unowned string app_exec, out uint count, out ulong time_);
3510                 [CCode (array_length_type = "gsize")]
3511                 public string[] get_applications ();
3512                 public unowned string get_description ();
3513                 public unowned string get_display_name ();
3514                 [CCode (array_length_type = "gsize")]
3515                 public string[] get_groups ();
3516                 public Gdk.Pixbuf? get_icon (int size);
3517                 public unowned string get_mime_type ();
3518                 public ulong get_modified ();
3519                 public bool get_private_hint ();
3520                 public string get_short_name ();
3521                 public unowned string get_uri ();
3522                 public string? get_uri_display ();
3523                 public ulong get_visited ();
3524                 public bool has_application (string app_name);
3525                 public bool has_group (string group_name);
3526                 public bool is_local ();
3527                 public string last_application ();
3528                 public bool match (Gtk.RecentInfo info_b);
3529         }
3530         [CCode (cheader_filename = "gtk/gtk.h")]
3531         public class RecentManager : GLib.Object {
3532                 [CCode (has_construct_function = false)]
3533                 public RecentManager ();
3534                 public bool add_full (string uri, Gtk.RecentData recent_data);
3535                 public bool add_item (string uri);
3536                 public static GLib.Quark error_quark ();
3537                 public static unowned Gtk.RecentManager get_default ();
3538                 public GLib.List<Gtk.RecentInfo> get_items ();
3539                 public int get_limit ();
3540                 public bool has_item (string uri);
3541                 public unowned Gtk.RecentInfo lookup_item (string uri) throws GLib.Error;
3542                 public bool move_item (string uri, string new_uri) throws GLib.Error;
3543                 public int purge_items () throws GLib.Error;
3544                 public bool remove_item (string uri) throws GLib.Error;
3545                 public void set_limit (int limit);
3546                 [NoAccessorMethod]
3547                 public string filename { owned get; construct; }
3548                 public int limit { get; set; }
3549                 [NoAccessorMethod]
3550                 public int size { get; }
3551                 public virtual signal void changed ();
3552         }
3553         [CCode (cheader_filename = "gtk/gtk.h")]
3554         public class Ruler : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3555                 public weak Gdk.Pixmap backing_store;
3556                 public weak Gdk.GC non_gr_exp_gc;
3557                 public int slider_size;
3558                 public int xsrc;
3559                 public int ysrc;
3560                 [CCode (has_construct_function = false)]
3561                 protected Ruler ();
3562                 public virtual void draw_pos ();
3563                 public virtual void draw_ticks ();
3564                 public Gtk.MetricType get_metric ();
3565                 public void get_range (double lower, double upper, double position, double max_size);
3566                 public void set_metric (Gtk.MetricType metric);
3567                 public void set_range (double lower, double upper, double position, double max_size);
3568                 [NoAccessorMethod]
3569                 public double lower { get; set; }
3570                 [NoAccessorMethod]
3571                 public double max_size { get; set; }
3572                 public Gtk.MetricType metric { get; set; }
3573                 [NoAccessorMethod]
3574                 public double position { get; set; }
3575                 [NoAccessorMethod]
3576                 public double upper { get; set; }
3577         }
3578         [Compact]
3579         [CCode (cheader_filename = "gtk/gtk.h")]
3580         public class RulerMetric {
3581                 public weak string abbrev;
3582                 public weak string metric_name;
3583                 public double pixels_per_unit;
3584                 [CCode (array_length = false)]
3585                 public weak double[] ruler_scale;
3586                 [CCode (array_length = false)]
3587                 public weak int[] subdivide;
3588         }
3589         [CCode (cheader_filename = "gtk/gtk.h")]
3590         public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3591                 [CCode (has_construct_function = false)]
3592                 protected Scale ();
3593                 public void add_mark (double value, Gtk.PositionType position, string? markup);
3594                 public void clear_marks ();
3595                 public int get_digits ();
3596                 public bool get_draw_value ();
3597                 public unowned Pango.Layout get_layout ();
3598                 public virtual void get_layout_offsets (int x, int y);
3599                 public Gtk.PositionType get_value_pos ();
3600                 public void set_digits (int digits);
3601                 public void set_draw_value (bool draw_value);
3602                 public void set_value_pos (Gtk.PositionType pos);
3603                 public int digits { get; set; }
3604                 public bool draw_value { get; set; }
3605                 public Gtk.PositionType value_pos { get; set; }
3606                 public virtual signal string format_value (double value);
3607         }
3608         [CCode (cheader_filename = "gtk/gtk.h")]
3609         public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Activatable {
3610                 public weak Gtk.Widget minus_button;
3611                 public weak Gtk.Widget plus_button;
3612                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3613                 public ScaleButton (Gtk.IconSize size, double min, double max, double step, [CCode (array_length = false)] string[] icons);
3614                 public unowned Gtk.Adjustment get_adjustment ();
3615                 public unowned Gtk.Widget get_minus_button ();
3616                 public unowned Gtk.Widget get_plus_button ();
3617                 public unowned Gtk.Widget get_popup ();
3618                 public double get_value ();
3619                 public void set_adjustment (Gtk.Adjustment adjustment);
3620                 public void set_icons ([CCode (array_length = false)] string[] icons);
3621                 public void set_value (double value);
3622                 public Gtk.Adjustment adjustment { get; set; }
3623                 [NoAccessorMethod]
3624                 [CCode (array_length = false, array_null_terminated = true)]
3625                 public string[] icons { owned get; set; }
3626                 [NoAccessorMethod]
3627                 public Gtk.IconSize size { get; set; }
3628                 public double value { get; set; }
3629                 public virtual signal void popdown ();
3630                 public virtual signal void popup ();
3631                 public virtual signal void value_changed (double value);
3632         }
3633         [CCode (cheader_filename = "gtk/gtk.h")]
3634         public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3635                 [CCode (has_construct_function = false)]
3636                 protected Scrollbar ();
3637         }
3638         [CCode (cheader_filename = "gtk/gtk.h")]
3639         public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3640                 public uint focus_out;
3641                 public weak Gtk.Widget hscrollbar;
3642                 public uint hscrollbar_visible;
3643                 public weak Gtk.Widget vscrollbar;
3644                 public uint vscrollbar_visible;
3645                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3646                 public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
3647                 public void add_with_viewport (Gtk.Widget child);
3648                 public unowned Gtk.Adjustment get_hadjustment ();
3649                 public unowned Gtk.Widget get_hscrollbar ();
3650                 public Gtk.CornerType get_placement ();
3651                 public void get_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
3652                 public Gtk.ShadowType get_shadow_type ();
3653                 public unowned Gtk.Adjustment get_vadjustment ();
3654                 public unowned Gtk.Widget get_vscrollbar ();
3655                 public void set_hadjustment (Gtk.Adjustment hadjustment);
3656                 public void set_placement (Gtk.CornerType window_placement);
3657                 public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
3658                 public void set_shadow_type (Gtk.ShadowType type);
3659                 public void set_vadjustment (Gtk.Adjustment vadjustment);
3660                 public void unset_placement ();
3661                 public Gtk.Adjustment hadjustment { get; set construct; }
3662                 [NoAccessorMethod]
3663                 public Gtk.PolicyType hscrollbar_policy { get; set; }
3664                 public Gtk.ShadowType shadow_type { get; set; }
3665                 public Gtk.Adjustment vadjustment { get; set construct; }
3666                 [NoAccessorMethod]
3667                 public Gtk.PolicyType vscrollbar_policy { get; set; }
3668                 [NoAccessorMethod]
3669                 public Gtk.CornerType window_placement { get; set; }
3670                 [NoAccessorMethod]
3671                 public bool window_placement_set { get; set; }
3672                 public virtual signal void move_focus_out (Gtk.DirectionType direction);
3673                 public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
3674         }
3675         [Compact]
3676         [CCode (copy_function = "gtk_selection_data_copy", type_id = "GTK_TYPE_SELECTION_DATA", cheader_filename = "gtk/gtk.h")]
3677         public class SelectionData {
3678                 [CCode (array_length = false)]
3679                 public weak uchar[] data;
3680                 public weak Gdk.Display display;
3681                 public int format;
3682                 public int length;
3683                 public Gdk.Atom selection;
3684                 public Gdk.Atom target;
3685                 public Gdk.Atom type;
3686                 public Gtk.SelectionData copy ();
3687                 [CCode (array_length = false)]
3688                 public unowned uchar[] get_data ();
3689                 public Gdk.Atom get_data_type ();
3690                 public unowned Gdk.Display get_display ();
3691                 public int get_format ();
3692                 public int get_length ();
3693                 public Gdk.Pixbuf? get_pixbuf ();
3694                 public Gdk.Atom get_selection ();
3695                 public Gdk.Atom get_target ();
3696                 public bool get_targets (out Gdk.Atom targets, int n_atoms);
3697                 public string? get_text ();
3698                 [CCode (array_length = false, array_null_terminated = true)]
3699                 public string[] get_uris ();
3700                 public void @set (Gdk.Atom type, int format, uchar[] data);
3701                 public bool set_pixbuf (Gdk.Pixbuf pixbuf);
3702                 public bool set_text (string str, int len);
3703                 public bool set_uris ([CCode (array_length = false)] string[] uris);
3704                 public bool targets_include_image (bool writable);
3705                 public bool targets_include_rich_text (Gtk.TextBuffer buffer);
3706                 public bool targets_include_text ();
3707                 public bool targets_include_uri ();
3708         }
3709         [CCode (cheader_filename = "gtk/gtk.h")]
3710         public class Separator : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3711                 [CCode (has_construct_function = false)]
3712                 protected Separator ();
3713         }
3714         [CCode (cheader_filename = "gtk/gtk.h")]
3715         public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3716                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3717                 public SeparatorMenuItem ();
3718         }
3719         [CCode (cheader_filename = "gtk/gtk.h")]
3720         public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3721                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
3722                 public SeparatorToolItem ();
3723                 public bool get_draw ();
3724                 public void set_draw (bool draw);
3725                 public bool draw { get; set; }
3726         }
3727         [CCode (cheader_filename = "gtk/gtk.h")]
3728         public class Settings : GLib.Object {
3729                 public weak Gtk.SettingsPropertyValue property_values;
3730                 public weak Gtk.RcContext rc_context;
3731                 public weak Gdk.Screen screen;
3732                 [CCode (has_construct_function = false)]
3733                 protected Settings ();
3734                 public static unowned Gtk.Settings get_default ();
3735                 public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
3736                 public static void install_property (GLib.ParamSpec pspec);
3737                 public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
3738                 public void set_double_property (string name, double v_double, string origin);
3739                 public void set_long_property (string name, long v_long, string origin);
3740                 public void set_property_value (string name, Gtk.SettingsValue svalue);
3741                 public void set_string_property (string name, string v_string, string origin);
3742                 [NoAccessorMethod]
3743                 public GLib.HashTable<string,Gdk.Color> color_hash { owned get; }
3744                 [NoAccessorMethod]
3745                 public bool gtk_alternative_button_order { get; set; }
3746                 [NoAccessorMethod]
3747                 public bool gtk_alternative_sort_arrows { get; set; }
3748                 [NoAccessorMethod]
3749                 public bool gtk_auto_mnemonics { get; set; }
3750                 [NoAccessorMethod]
3751                 public string gtk_color_scheme { owned get; set; }
3752                 [NoAccessorMethod]
3753                 public bool gtk_cursor_blink { get; set; }
3754                 [NoAccessorMethod]
3755                 public int gtk_cursor_blink_time { get; set; }
3756                 [NoAccessorMethod]
3757                 public int gtk_cursor_blink_timeout { get; set; }
3758                 [NoAccessorMethod]
3759                 public string gtk_cursor_theme_name { owned get; set; }
3760                 [NoAccessorMethod]
3761                 public int gtk_cursor_theme_size { get; set; }
3762                 [NoAccessorMethod]
3763                 public int gtk_dnd_drag_threshold { get; set; }
3764                 [NoAccessorMethod]
3765                 public int gtk_double_click_distance { get; set; }
3766                 [NoAccessorMethod]
3767                 public int gtk_double_click_time { get; set; }
3768                 [NoAccessorMethod]
3769                 public bool gtk_enable_accels { get; set; }
3770                 [NoAccessorMethod]
3771                 public bool gtk_enable_animations { get; set; }
3772                 [NoAccessorMethod]
3773                 public bool gtk_enable_event_sounds { get; set; }
3774                 [NoAccessorMethod]
3775                 public bool gtk_enable_input_feedback_sounds { get; set; }
3776                 [NoAccessorMethod]
3777                 public bool gtk_enable_mnemonics { get; set; }
3778                 [NoAccessorMethod]
3779                 public bool gtk_enable_tooltips { get; set; }
3780                 [NoAccessorMethod]
3781                 public bool gtk_error_bell { get; set; }
3782                 [NoAccessorMethod]
3783                 public string gtk_fallback_icon_theme { owned get; set; }
3784                 [NoAccessorMethod]
3785                 public string gtk_file_chooser_backend { owned get; set; }
3786                 [NoAccessorMethod]
3787                 public string gtk_font_name { owned get; set; }
3788                 [NoAccessorMethod]
3789                 public uint gtk_fontconfig_timestamp { get; set; }
3790                 [NoAccessorMethod]
3791                 public string gtk_icon_sizes { owned get; set; }
3792                 [NoAccessorMethod]
3793                 public string gtk_icon_theme_name { owned get; set; }
3794                 [NoAccessorMethod]
3795                 public string gtk_im_module { owned get; set; }
3796                 [NoAccessorMethod]
3797                 public string gtk_key_theme_name { owned get; set; }
3798                 [NoAccessorMethod]
3799                 public bool gtk_keynav_cursor_only { get; set; }
3800                 [NoAccessorMethod]
3801                 public bool gtk_keynav_wrap_around { get; set; }
3802                 [NoAccessorMethod]
3803                 public string gtk_menu_bar_accel { owned get; set; }
3804                 [NoAccessorMethod]
3805                 public string gtk_modules { owned get; set; }
3806                 [NoAccessorMethod]
3807                 public string gtk_print_backends { owned get; set; }
3808                 [NoAccessorMethod]
3809                 public string gtk_print_preview_command { owned get; set; }
3810                 [NoAccessorMethod]
3811                 public int gtk_recent_files_limit { get; set; }
3812                 [NoAccessorMethod]
3813                 public int gtk_recent_files_max_age { get; set; }
3814                 [NoAccessorMethod]
3815                 public bool gtk_show_input_method_menu { get; set; }
3816                 [NoAccessorMethod]
3817                 public bool gtk_show_unicode_menu { get; set; }
3818                 [NoAccessorMethod]
3819                 public string gtk_sound_theme_name { owned get; set; }
3820                 [NoAccessorMethod]
3821                 public bool gtk_split_cursor { get; set; }
3822                 [NoAccessorMethod]
3823                 public string gtk_theme_name { owned get; set; }
3824                 [NoAccessorMethod]
3825                 public int gtk_timeout_expand { get; set; }
3826                 [NoAccessorMethod]
3827                 public int gtk_timeout_initial { get; set; }
3828                 [NoAccessorMethod]
3829                 public int gtk_timeout_repeat { get; set; }
3830                 [NoAccessorMethod]
3831                 public Gtk.IconSize gtk_toolbar_icon_size { get; set; }
3832                 [NoAccessorMethod]
3833                 public Gtk.ToolbarStyle gtk_toolbar_style { get; set; }
3834                 [NoAccessorMethod]
3835                 public int gtk_tooltip_browse_mode_timeout { get; set; }
3836                 [NoAccessorMethod]
3837                 public int gtk_tooltip_browse_timeout { get; set; }
3838                 [NoAccessorMethod]
3839                 public int gtk_tooltip_timeout { get; set; }
3840                 [NoAccessorMethod]
3841                 public bool gtk_touchscreen_mode { get; set; }
3842                 [NoAccessorMethod]
3843                 public int gtk_xft_antialias { get; set; }
3844                 [NoAccessorMethod]
3845                 public int gtk_xft_dpi { get; set; }
3846                 [NoAccessorMethod]
3847                 public int gtk_xft_hinting { get; set; }
3848                 [NoAccessorMethod]
3849                 public string gtk_xft_hintstyle { owned get; set; }
3850                 [NoAccessorMethod]
3851                 public string gtk_xft_rgba { owned get; set; }
3852         }
3853         [Compact]
3854         [CCode (cheader_filename = "gtk/gtk.h")]
3855         public class SettingsPropertyValue {
3856         }
3857         [Compact]
3858         [CCode (cheader_filename = "gtk/gtk.h")]
3859         public class SettingsValue {
3860                 public weak string origin;
3861                 public GLib.Value value;
3862         }
3863         [CCode (cheader_filename = "gtk/gtk.h")]
3864         public class SizeGroup : GLib.Object, Gtk.Buildable {
3865                 public uint have_height;
3866                 public uint have_width;
3867                 public Gtk.Requisition requisition;
3868                 public weak GLib.SList widgets;
3869                 [CCode (has_construct_function = false)]
3870                 public SizeGroup (Gtk.SizeGroupMode mode);
3871                 public void add_widget (Gtk.Widget widget);
3872                 public bool get_ignore_hidden ();
3873                 public Gtk.SizeGroupMode get_mode ();
3874                 public unowned GLib.SList<Gtk.Widget> get_widgets ();
3875                 public void remove_widget (Gtk.Widget widget);
3876                 public void set_ignore_hidden (bool ignore_hidden);
3877                 public void set_mode (Gtk.SizeGroupMode mode);
3878                 public bool ignore_hidden { get; set; }
3879                 public Gtk.SizeGroupMode mode { get; set; }
3880         }
3881         [CCode (cheader_filename = "gtk/gtk.h")]
3882         public class Socket : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3883                 public weak Gtk.AccelGroup accel_group;
3884                 public uint active;
3885                 public uint16 current_height;
3886                 public uint16 current_width;
3887                 public uint focus_in;
3888                 public uint have_size;
3889                 public uint is_mapped;
3890                 public uint need_map;
3891                 public weak Gtk.Widget plug_widget;
3892                 public weak Gdk.Window plug_window;
3893                 public uint16 request_height;
3894                 public uint16 request_width;
3895                 public uint same_app;
3896                 public weak Gtk.Widget toplevel;
3897                 public short xembed_version;
3898                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3899                 public Socket ();
3900                 public void add_id (Gdk.NativeWindow window_id);
3901                 public Gdk.NativeWindow get_id ();
3902                 public unowned Gdk.Window get_plug_window ();
3903                 public virtual signal void plug_added ();
3904                 public virtual signal bool plug_removed ();
3905         }
3906         [CCode (cheader_filename = "gtk/gtk.h")]
3907         public class SpinButton : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
3908                 public uint button;
3909                 public uint click_child;
3910                 public uint in_child;
3911                 public uint need_timer;
3912                 public weak Gdk.Window panel;
3913                 public uint32 timer;
3914                 public uint timer_calls;
3915                 public double timer_step;
3916                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3917                 public SpinButton (Gtk.Adjustment adjustment, double climb_rate, uint digits);
3918                 public void configure (Gtk.Adjustment adjustment, double climb_rate, uint digits);
3919                 public unowned Gtk.Adjustment get_adjustment ();
3920                 public uint get_digits ();
3921                 public void get_increments (double step, double page);
3922                 public bool get_numeric ();
3923                 public void get_range (out double min, out double max);
3924                 public bool get_snap_to_ticks ();
3925                 public Gtk.SpinButtonUpdatePolicy get_update_policy ();
3926                 public double get_value ();
3927                 public int get_value_as_int ();
3928                 public bool get_wrap ();
3929                 public void set_adjustment (Gtk.Adjustment adjustment);
3930                 public void set_digits (uint digits);
3931                 public void set_increments (double step, double page);
3932                 public void set_numeric (bool numeric);
3933                 public void set_range (double min, double max);
3934                 public void set_snap_to_ticks (bool snap_to_ticks);
3935                 public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
3936                 public void set_value (double value);
3937                 public void set_wrap (bool wrap);
3938                 public void spin (Gtk.SpinType direction, double increment);
3939                 public void update ();
3940                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3941                 public SpinButton.with_range (double min, double max, double step);
3942                 public Gtk.Adjustment adjustment { get; set; }
3943                 [NoAccessorMethod]
3944                 public double climb_rate { get; set; }
3945                 public uint digits { get; set; }
3946                 public bool numeric { get; set; }
3947                 public bool snap_to_ticks { get; set; }
3948                 public Gtk.SpinButtonUpdatePolicy update_policy { get; set; }
3949                 public double value { get; set; }
3950                 public bool wrap { get; set; }
3951                 public virtual signal void change_value (Gtk.ScrollType scroll);
3952                 public virtual signal int input (void* new_value);
3953                 public virtual signal bool output ();
3954                 public virtual signal void value_changed ();
3955                 public virtual signal void wrapped ();
3956         }
3957         [CCode (cheader_filename = "gtk/gtk.h")]
3958         public class Spinner : Gtk.DrawingArea, Atk.Implementor, Gtk.Buildable {
3959                 [CCode (type = "GtkWidget*", has_construct_function = false)]
3960                 public Spinner ();
3961                 public void start ();
3962                 public void stop ();
3963                 [NoAccessorMethod]
3964                 public bool active { get; set; }
3965         }
3966         [CCode (cheader_filename = "gtk/gtk.h")]
3967         public class StatusIcon : GLib.Object {
3968                 [CCode (has_construct_function = false)]
3969                 public StatusIcon ();
3970                 [CCode (has_construct_function = false)]
3971                 public StatusIcon.from_file (string filename);
3972                 [CCode (has_construct_function = false)]
3973                 public StatusIcon.from_gicon (GLib.Icon icon);
3974                 [CCode (has_construct_function = false)]
3975                 public StatusIcon.from_icon_name (string icon_name);
3976                 [CCode (has_construct_function = false)]
3977                 public StatusIcon.from_pixbuf (Gdk.Pixbuf pixbuf);
3978                 [CCode (has_construct_function = false)]
3979                 public StatusIcon.from_stock (string stock_id);
3980                 public bool get_blinking ();
3981                 public bool get_geometry (out unowned Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation);
3982                 public unowned GLib.Icon get_gicon ();
3983                 public bool get_has_tooltip ();
3984                 public unowned string get_icon_name ();
3985                 public unowned Gdk.Pixbuf get_pixbuf ();
3986                 public unowned Gdk.Screen get_screen ();
3987                 public int get_size ();
3988                 public unowned string get_stock ();
3989                 public Gtk.ImageType get_storage_type ();
3990                 public unowned string get_title ();
3991                 public unowned string get_tooltip_markup ();
3992                 public unowned string get_tooltip_text ();
3993                 public bool get_visible ();
3994                 public uint32 get_x11_window_id ();
3995                 public bool is_embedded ();
3996                 [CCode (instance_pos = -1)]
3997                 public void position_menu (Gtk.Menu menu, out int x, out int y, out bool push_in);
3998                 public void set_blinking (bool blinking);
3999                 public void set_from_file (string filename);
4000                 public void set_from_gicon (GLib.Icon icon);
4001                 public void set_from_icon_name (string icon_name);
4002                 public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
4003                 public void set_from_stock (string stock_id);
4004                 public void set_has_tooltip (bool has_tooltip);
4005                 public void set_name (string name);
4006                 public void set_screen (Gdk.Screen screen);
4007                 public void set_title (string title);
4008                 public void set_tooltip_markup (string markup);
4009                 public void set_tooltip_text (string text);
4010                 public void set_visible (bool visible);
4011                 public bool blinking { get; set; }
4012                 [NoAccessorMethod]
4013                 public bool embedded { get; }
4014                 [NoAccessorMethod]
4015                 public string file { set; }
4016                 [NoAccessorMethod]
4017                 public GLib.Icon gicon { owned get; set; }
4018                 public bool has_tooltip { get; set; }
4019                 [NoAccessorMethod]
4020                 public string icon_name { owned get; set; }
4021                 [NoAccessorMethod]
4022                 public Gtk.Orientation orientation { get; }
4023                 [NoAccessorMethod]
4024                 public Gdk.Pixbuf pixbuf { owned get; set; }
4025                 public Gdk.Screen screen { get; set; }
4026                 public int size { get; }
4027                 [NoAccessorMethod]
4028                 public string stock { owned get; set; }
4029                 public Gtk.ImageType storage_type { get; }
4030                 public string title { get; set; }
4031                 public string tooltip_markup { get; set; }
4032                 public string tooltip_text { get; set; }
4033                 public bool visible { get; set; }
4034                 public virtual signal void activate ();
4035                 public virtual signal bool button_press_event (Gdk.EventButton event);
4036                 public virtual signal bool button_release_event (Gdk.EventButton event);
4037                 public virtual signal void popup_menu (uint button, uint activate_time);
4038                 public virtual signal bool query_tooltip (int x, int y, bool keyboard_mode, Gtk.Tooltip tooltip);
4039                 public virtual signal bool scroll_event (Gdk.Event event);
4040                 public virtual signal bool size_changed (int size);
4041         }
4042         [CCode (cheader_filename = "gtk/gtk.h")]
4043         public class Statusbar : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4044                 public weak Gtk.Widget frame;
4045                 public weak Gdk.Window grip_window;
4046                 public weak GLib.SList keys;
4047                 public weak Gtk.Widget label;
4048                 public weak GLib.SList messages;
4049                 public uint seq_context_id;
4050                 public uint seq_message_id;
4051                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4052                 public Statusbar ();
4053                 public uint get_context_id (string context_description);
4054                 public bool get_has_resize_grip ();
4055                 public unowned Gtk.Widget get_message_area ();
4056                 public void pop (uint context_id);
4057                 public uint push (uint context_id, string text);
4058                 public void remove (uint context_id, uint message_id);
4059                 public void set_has_resize_grip (bool setting);
4060                 public bool has_resize_grip { get; set; }
4061                 public virtual signal void text_popped (uint context_id, string text);
4062                 public virtual signal void text_pushed (uint context_id, string text);
4063         }
4064         [CCode (cheader_filename = "gtk/gtk.h")]
4065         public class Style : GLib.Object {
4066                 public int attach_count;
4067                 [CCode (array_length = false)]
4068                 public Gdk.Color[] @base;
4069                 [CCode (array_length = false)]
4070                 public Gdk.GC[] base_gc;
4071                 [CCode (array_length = false)]
4072                 public Gdk.Color[] bg;
4073                 [CCode (array_length = false)]
4074                 public Gdk.GC[] bg_gc;
4075                 [CCode (array_length = false)]
4076                 public Gdk.Pixmap[] bg_pixmap;
4077                 public Gdk.Color black;
4078                 public weak Gdk.GC black_gc;
4079                 public weak Gdk.Colormap colormap;
4080                 [CCode (array_length = false)]
4081                 public Gdk.Color[] dark;
4082                 [CCode (array_length = false)]
4083                 public Gdk.GC[] dark_gc;
4084                 public int depth;
4085                 [CCode (array_length = false)]
4086                 public Gdk.Color[] fg;
4087                 [CCode (array_length = false)]
4088                 public Gdk.GC[] fg_gc;
4089                 public weak Pango.FontDescription font_desc;
4090                 public weak GLib.SList icon_factories;
4091                 [CCode (array_length = false)]
4092                 public Gdk.Color[] light;
4093                 [CCode (array_length = false)]
4094                 public Gdk.GC[] light_gc;
4095                 [CCode (array_length = false)]
4096                 public Gdk.Color[] mid;
4097                 [CCode (array_length = false)]
4098                 public Gdk.GC[] mid_gc;
4099                 public weak GLib.Array property_cache;
4100                 public weak Gtk.RcStyle rc_style;
4101                 public weak GLib.SList styles;
4102                 [CCode (array_length = false)]
4103                 public Gdk.Color[] text;
4104                 [CCode (array_length = false)]
4105                 public Gdk.Color[] text_aa;
4106                 [CCode (array_length = false)]
4107                 public Gdk.GC[] text_aa_gc;
4108                 [CCode (array_length = false)]
4109                 public Gdk.GC[] text_gc;
4110                 public Gdk.Color white;
4111                 public weak Gdk.GC white_gc;
4112                 public int xthickness;
4113                 public int ythickness;
4114                 [CCode (has_construct_function = false)]
4115                 public Style ();
4116                 public void apply_default_background (Gdk.Window window, bool set_bg, Gtk.StateType state_type, Gdk.Rectangle area, int x, int y, int width, int height);
4117                 public unowned Gtk.Style attach (Gdk.Window window);
4118                 [NoWrapper]
4119                 public virtual unowned Gtk.Style clone ();
4120                 public virtual void copy ();
4121                 public void detach ();
4122                 [NoWrapper]
4123                 public virtual void draw_arrow (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height);
4124                 [NoWrapper]
4125                 public virtual void draw_box (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);
4126                 [NoWrapper]
4127                 public virtual void draw_box_gap (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
4128                 [NoWrapper]
4129                 public virtual void draw_check (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);
4130                 [NoWrapper]
4131                 public virtual void draw_diamond (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);
4132                 [NoWrapper]
4133                 public virtual void draw_expander (Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, Gtk.ExpanderStyle expander_style);
4134                 [NoWrapper]
4135                 public virtual void draw_extension (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side);
4136                 [NoWrapper]
4137                 public virtual void draw_flat_box (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);
4138                 [NoWrapper]
4139                 public virtual void draw_focus (Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);
4140                 [NoWrapper]
4141                 public virtual void draw_handle (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.Orientation orientation);
4142                 [NoWrapper]
4143                 public virtual void draw_hline (Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x1, int x2, int y);
4144                 [NoWrapper]
4145                 public virtual void draw_layout (Gdk.Window window, Gtk.StateType state_type, bool use_text, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, Pango.Layout layout);
4146                 [NoWrapper]
4147                 public virtual void draw_option (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);
4148                 [NoWrapper]
4149                 public virtual void draw_polygon (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, Gdk.Point point, int npoints, bool fill);
4150                 [NoWrapper]
4151                 public virtual void draw_resize_grip (Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, Gdk.WindowEdge edge, int x, int y, int width, int height);
4152                 [NoWrapper]
4153                 public virtual void draw_shadow (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);
4154                 [NoWrapper]
4155                 public virtual void draw_shadow_gap (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
4156                 [NoWrapper]
4157                 public virtual void draw_slider (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.Orientation orientation);
4158                 [NoWrapper]
4159                 public virtual void draw_spinner (Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, uint step, int x, int y, int width, int height);
4160                 [NoWrapper]
4161                 public virtual void draw_string (Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, string str);
4162                 [NoWrapper]
4163                 public virtual void draw_tab (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);
4164                 [NoWrapper]
4165                 public virtual void draw_vline (Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int y1_, int y2_, int x);
4166                 public void @get (GLib.Type widget_type, ...);
4167                 public void get_style_property (GLib.Type widget_type, string property_name, out GLib.Value value);
4168                 public void get_valist (GLib.Type widget_type, string first_property_name, void* var_args);
4169                 [NoWrapper]
4170                 public virtual void init_from_rc (Gtk.RcStyle rc_style);
4171                 public bool lookup_color (string color_name, out Gdk.Color color);
4172                 public unowned Gtk.IconSet lookup_icon_set (string stock_id);
4173                 public virtual unowned Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail);
4174                 public virtual void set_background (Gdk.Window window, Gtk.StateType state_type);
4175                 public virtual signal void realize ();
4176                 public virtual signal void unrealize ();
4177         }
4178         [CCode (cheader_filename = "gtk/gtk.h")]
4179         public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4180                 public weak GLib.List children;
4181                 public weak Gtk.TableRowCol cols;
4182                 public uint16 ncols;
4183                 public uint16 nrows;
4184                 public weak Gtk.TableRowCol rows;
4185                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4186                 public Table (uint rows, uint columns, bool homogeneous);
4187                 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);
4188                 public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
4189                 public uint get_col_spacing (uint column);
4190                 public uint get_default_col_spacing ();
4191                 public uint get_default_row_spacing ();
4192                 public bool get_homogeneous ();
4193                 public uint get_row_spacing (uint row);
4194                 public void resize (uint rows, uint columns);
4195                 public void set_col_spacing (uint column, uint spacing);
4196                 public void set_col_spacings (uint spacing);
4197                 public void set_homogeneous (bool homogeneous);
4198                 public void set_row_spacing (uint row, uint spacing);
4199                 public void set_row_spacings (uint spacing);
4200                 [NoAccessorMethod]
4201                 public uint column_spacing { get; set; }
4202                 public bool homogeneous { get; set; }
4203                 [NoAccessorMethod]
4204                 public uint n_columns { get; set; }
4205                 [NoAccessorMethod]
4206                 public uint n_rows { get; set; }
4207                 [NoAccessorMethod]
4208                 public uint row_spacing { get; set; }
4209         }
4210         [Compact]
4211         [CCode (cheader_filename = "gtk/gtk.h")]
4212         public class TableChild {
4213                 public uint16 bottom_attach;
4214                 public uint16 left_attach;
4215                 public uint16 right_attach;
4216                 public uint16 top_attach;
4217                 public weak Gtk.Widget widget;
4218                 public uint xexpand;
4219                 public uint xfill;
4220                 public uint16 xpadding;
4221                 public uint xshrink;
4222                 public uint yexpand;
4223                 public uint yfill;
4224                 public uint16 ypadding;
4225                 public uint yshrink;
4226         }
4227         [Compact]
4228         [CCode (cheader_filename = "gtk/gtk.h")]
4229         public class TableRowCol {
4230                 public uint16 allocation;
4231                 public uint empty;
4232                 public uint expand;
4233                 public uint need_expand;
4234                 public uint need_shrink;
4235                 public uint16 requisition;
4236                 public uint shrink;
4237                 public uint16 spacing;
4238         }
4239         [Compact]
4240         [CCode (ref_function = "gtk_target_list_ref", unref_function = "gtk_target_list_unref", type_id = "GTK_TYPE_TARGET_LIST", cheader_filename = "gtk/gtk.h")]
4241         public class TargetList {
4242                 public weak GLib.List<Gtk.TargetPair> list;
4243                 public uint ref_count;
4244                 [CCode (has_construct_function = false)]
4245                 public TargetList (Gtk.TargetEntry[] targets);
4246                 public void add (Gdk.Atom target, uint flags, uint info);
4247                 public void add_image_targets (uint info, bool writable);
4248                 public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
4249                 public void add_table (Gtk.TargetEntry[] targets, uint ntargets);
4250                 public void add_text_targets (uint info);
4251                 public void add_uri_targets (uint info);
4252                 public bool find (Gdk.Atom target, uint info);
4253                 public void remove (Gdk.Atom target);
4254         }
4255         [Compact]
4256         [CCode (cheader_filename = "gtk/gtk.h")]
4257         public class TargetPair {
4258                 public uint flags;
4259                 public uint info;
4260                 public Gdk.Atom target;
4261         }
4262         [CCode (cheader_filename = "gtk/gtk.h")]
4263         public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4264                 public uint torn_off;
4265                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4266                 public TearoffMenuItem ();
4267         }
4268         [Compact]
4269         [CCode (cheader_filename = "gtk/gtk.h")]
4270         public class TextAppearance {
4271                 public Gdk.Color bg_color;
4272                 public weak Gdk.Bitmap bg_stipple;
4273                 public uint draw_bg;
4274                 public Gdk.Color fg_color;
4275                 public weak Gdk.Bitmap fg_stipple;
4276                 public uint inside_selection;
4277                 public uint is_text;
4278                 public uint pad1;
4279                 public uint pad2;
4280                 public uint pad3;
4281                 public uint pad4;
4282                 public void* padding1;
4283                 public int rise;
4284                 public uint strikethrough;
4285                 public uint underline;
4286         }
4287         [Compact]
4288         [CCode (ref_function = "gtk_text_attributes_ref", unref_function = "gtk_text_attributes_unref", type_id = "GTK_TYPE_TEXT_ATTRIBUTES", cheader_filename = "gtk/gtk.h")]
4289         public class TextAttributes {
4290                 public weak Gtk.TextAppearance appearance;
4291                 public uint bg_full_height;
4292                 public Gtk.TextDirection direction;
4293                 public uint editable;
4294                 public weak Pango.FontDescription font;
4295                 public double font_scale;
4296                 public int indent;
4297                 public uint invisible;
4298                 public Gtk.Justification justification;
4299                 public weak Pango.Language language;
4300                 public int left_margin;
4301                 public uint pad1;
4302                 public uint pad2;
4303                 public uint pad3;
4304                 public uint pad4;
4305                 public Gdk.Color pg_bg_color;
4306                 public int pixels_above_lines;
4307                 public int pixels_below_lines;
4308                 public int pixels_inside_wrap;
4309                 public uint realized;
4310                 public uint refcount;
4311                 public int right_margin;
4312                 public weak Pango.TabArray tabs;
4313                 public Gtk.WrapMode wrap_mode;
4314                 [CCode (has_construct_function = false)]
4315                 public TextAttributes ();
4316                 public Gtk.TextAttributes copy ();
4317                 public void copy_values (Gtk.TextAttributes dest);
4318         }
4319         [Compact]
4320         [CCode (cheader_filename = "gtk/gtk.h")]
4321         public class TextBTree {
4322         }
4323         [CCode (cheader_filename = "gtk/gtk.h")]
4324         public class TextBuffer : GLib.Object {
4325                 public weak Gtk.TextBTree btree;
4326                 public weak GLib.SList clipboard_contents_buffers;
4327                 public weak Gtk.TextLogAttrCache log_attr_cache;
4328                 public uint modified;
4329                 public weak GLib.SList selection_clipboards;
4330                 public uint user_action_count;
4331                 [CCode (has_construct_function = false)]
4332                 public TextBuffer (Gtk.TextTagTable? table);
4333                 public void add_mark (Gtk.TextMark mark, Gtk.TextIter where);
4334                 public void add_selection_clipboard (Gtk.Clipboard clipboard);
4335                 public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
4336                 public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
4337                 public void copy_clipboard (Gtk.Clipboard clipboard);
4338                 public unowned Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
4339                 public unowned Gtk.TextMark create_mark (string? mark_name, Gtk.TextIter where, bool left_gravity);
4340                 public unowned Gtk.TextTag create_tag (string tag_name, ...);
4341                 public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable);
4342                 public void @delete (Gtk.TextIter start, Gtk.TextIter end);
4343                 public bool delete_interactive (Gtk.TextIter start_iter, Gtk.TextIter end_iter, bool default_editable);
4344                 public void delete_mark (Gtk.TextMark mark);
4345                 public void delete_mark_by_name (string name);
4346                 public bool delete_selection (bool interactive, bool default_editable);
4347                 public bool deserialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter iter, uchar data, size_t length) throws GLib.Error;
4348                 public bool deserialize_get_can_create_tags (Gdk.Atom format);
4349                 public void deserialize_set_can_create_tags (Gdk.Atom format, bool can_create_tags);
4350                 public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
4351                 public int get_char_count ();
4352                 public unowned Gtk.TargetList get_copy_target_list ();
4353                 public Gdk.Atom get_deserialize_formats (int n_formats);
4354                 public void get_end_iter (out Gtk.TextIter iter);
4355                 public bool get_has_selection ();
4356                 public unowned Gtk.TextMark get_insert ();
4357                 public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
4358                 public void get_iter_at_line (out Gtk.TextIter iter, int line_number);
4359                 public void get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
4360                 public void get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
4361                 public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
4362                 public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
4363                 public int get_line_count ();
4364                 public unowned Gtk.TextMark get_mark (string name);
4365                 public bool get_modified ();
4366                 public unowned Gtk.TargetList get_paste_target_list ();
4367                 public unowned Gtk.TextMark get_selection_bound ();
4368                 public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
4369                 public Gdk.Atom get_serialize_formats (int n_formats);
4370                 public unowned string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
4371                 public void get_start_iter (out Gtk.TextIter iter);
4372                 public unowned Gtk.TextTagTable get_tag_table ();
4373                 public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
4374                 public void insert (Gtk.TextIter iter, string text, int len);
4375                 public void insert_at_cursor (string text, int len);
4376                 public bool insert_interactive (Gtk.TextIter iter, string text, int len, bool default_editable);
4377                 public bool insert_interactive_at_cursor (string text, int len, bool default_editable);
4378                 public void insert_range (Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end);
4379                 public bool insert_range_interactive (Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable);
4380                 public void insert_with_tags (Gtk.TextIter iter, string text, int len, ...);
4381                 public void insert_with_tags_by_name (Gtk.TextIter iter, string text, int len, ...);
4382                 public void move_mark (Gtk.TextMark mark, Gtk.TextIter where);
4383                 public void move_mark_by_name (string name, Gtk.TextIter where);
4384                 public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter? override_location, bool default_editable);
4385                 public void place_cursor (Gtk.TextIter where);
4386                 public Gdk.Atom register_deserialize_format (string mime_type, owned Gtk.TextBufferDeserializeFunc function);
4387                 public Gdk.Atom register_deserialize_tagset (string tagset_name);
4388                 public Gdk.Atom register_serialize_format (string mime_type, owned Gtk.TextBufferSerializeFunc function);
4389                 public Gdk.Atom register_serialize_tagset (string tagset_name);
4390                 public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end);
4391                 public void remove_selection_clipboard (Gtk.Clipboard clipboard);
4392                 public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
4393                 public void select_range (Gtk.TextIter ins, Gtk.TextIter bound);
4394                 public uchar serialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end, size_t length);
4395                 public void set_modified (bool setting);
4396                 public void set_text (string text, int len = -1);
4397                 public void unregister_deserialize_format (Gdk.Atom format);
4398                 public void unregister_serialize_format (Gdk.Atom format);
4399                 public Gtk.TargetList copy_target_list { get; }
4400                 [NoAccessorMethod]
4401                 public int cursor_position { get; }
4402                 public bool has_selection { get; }
4403                 public Gtk.TargetList paste_target_list { get; }
4404                 public Gtk.TextTagTable tag_table { get; construct; }
4405                 [NoAccessorMethod]
4406                 public string text { owned get; set; }
4407                 [HasEmitter]
4408                 public virtual signal void apply_tag (Gtk.TextTag tag, Gtk.TextIter start_char, Gtk.TextIter end_char);
4409                 [HasEmitter]
4410                 public virtual signal void begin_user_action ();
4411                 public virtual signal void changed ();
4412                 public virtual signal void delete_range (Gtk.TextIter start, Gtk.TextIter end);
4413                 [HasEmitter]
4414                 public virtual signal void end_user_action ();
4415                 [HasEmitter]
4416                 public virtual signal void insert_child_anchor (Gtk.TextIter pos, Gtk.TextChildAnchor anchor);
4417                 [HasEmitter]
4418                 public virtual signal void insert_pixbuf (Gtk.TextIter pos, Gdk.Pixbuf pixbuf);
4419                 public virtual signal void insert_text (Gtk.TextIter pos, string text, int length);
4420                 public virtual signal void mark_deleted (Gtk.TextMark mark);
4421                 public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
4422                 public virtual signal void modified_changed ();
4423                 public virtual signal void paste_done (Gtk.Clipboard clipboard);
4424                 [HasEmitter]
4425                 public virtual signal void remove_tag (Gtk.TextTag tag, Gtk.TextIter start_char, Gtk.TextIter end_char);
4426         }
4427         [CCode (cheader_filename = "gtk/gtk.h")]
4428         public class TextChildAnchor : GLib.Object {
4429                 public void* segment;
4430                 [CCode (has_construct_function = false)]
4431                 public TextChildAnchor ();
4432                 public bool get_deleted ();
4433                 public GLib.List<weak Gtk.Widget> get_widgets ();
4434         }
4435         [Compact]
4436         [CCode (cheader_filename = "gtk/gtk.h")]
4437         public class TextLogAttrCache {
4438         }
4439         [CCode (cheader_filename = "gtk/gtk.h")]
4440         public class TextMark : GLib.Object {
4441                 public void* segment;
4442                 [CCode (has_construct_function = false)]
4443                 public TextMark (string name, bool left_gravity);
4444                 public unowned Gtk.TextBuffer get_buffer ();
4445                 public bool get_deleted ();
4446                 public bool get_left_gravity ();
4447                 public unowned string get_name ();
4448                 public bool get_visible ();
4449                 public void set_visible (bool setting);
4450                 public bool left_gravity { get; construct; }
4451                 public string name { get; construct; }
4452         }
4453         [Compact]
4454         [CCode (cheader_filename = "gtk/gtk.h")]
4455         public class TextPendingScroll {
4456         }
4457         [CCode (cheader_filename = "gtk/gtk.h")]
4458         public class TextTag : GLib.Object {
4459                 public uint bg_color_set;
4460                 public uint bg_full_height_set;
4461                 public uint bg_stipple_set;
4462                 public uint fg_color_set;
4463                 public uint fg_stipple_set;
4464                 public uint pad1;
4465                 public uint pg_bg_color_set;
4466                 public int priority;
4467                 public weak Gtk.TextTagTable table;
4468                 public weak Gtk.TextAttributes values;
4469                 [CCode (has_construct_function = false)]
4470                 public TextTag (string name);
4471                 public int get_priority ();
4472                 public void set_priority (int priority);
4473                 [NoAccessorMethod]
4474                 public bool accumulative_margin { get; set; }
4475                 [NoAccessorMethod]
4476                 public string background { set; }
4477                 [NoAccessorMethod]
4478                 public bool background_full_height { get; set; }
4479                 [NoAccessorMethod]
4480                 public bool background_full_height_set { get; set; }
4481                 [NoAccessorMethod]
4482                 public Gdk.Color background_gdk { get; set; }
4483                 [NoAccessorMethod]
4484                 public bool background_set { get; set; }
4485                 [NoAccessorMethod]
4486                 public Gdk.Pixmap background_stipple { owned get; set; }
4487                 [NoAccessorMethod]
4488                 public bool background_stipple_set { get; set; }
4489                 [NoAccessorMethod]
4490                 public Gtk.TextDirection direction { get; set; }
4491                 [NoAccessorMethod]
4492                 public bool editable { get; set; }
4493                 [NoAccessorMethod]
4494                 public bool editable_set { get; set; }
4495                 [NoAccessorMethod]
4496                 public string family { owned get; set; }
4497                 [NoAccessorMethod]
4498                 public bool family_set { get; set; }
4499                 [NoAccessorMethod]
4500                 public string font { owned get; set; }
4501                 [NoAccessorMethod]
4502                 public Pango.FontDescription font_desc { owned get; set; }
4503                 [NoAccessorMethod]
4504                 public string foreground { set; }
4505                 [NoAccessorMethod]
4506                 public Gdk.Color foreground_gdk { get; set; }
4507                 [NoAccessorMethod]
4508                 public bool foreground_set { get; set; }
4509                 [NoAccessorMethod]
4510                 public Gdk.Pixmap foreground_stipple { owned get; set; }
4511                 [NoAccessorMethod]
4512                 public bool foreground_stipple_set { get; set; }
4513                 [NoAccessorMethod]
4514                 public int indent { get; set; }
4515                 [NoAccessorMethod]
4516                 public bool indent_set { get; set; }
4517                 [NoAccessorMethod]
4518                 public bool invisible { get; set; }
4519                 [NoAccessorMethod]
4520                 public bool invisible_set { get; set; }
4521                 [NoAccessorMethod]
4522                 public Gtk.Justification justification { get; set; }
4523                 [NoAccessorMethod]
4524                 public bool justification_set { get; set; }
4525                 [NoAccessorMethod]
4526                 public string language { owned get; set; }
4527                 [NoAccessorMethod]
4528                 public bool language_set { get; set; }
4529                 [NoAccessorMethod]
4530                 public int left_margin { get; set; }
4531                 [NoAccessorMethod]
4532                 public bool left_margin_set { get; set; }
4533                 [NoAccessorMethod]
4534                 public string name { owned get; construct; }
4535                 [NoAccessorMethod]
4536                 public string paragraph_background { set; }
4537                 [NoAccessorMethod]
4538                 public Gdk.Color paragraph_background_gdk { get; set; }
4539                 [NoAccessorMethod]
4540                 public bool paragraph_background_set { get; set; }
4541                 [NoAccessorMethod]
4542                 public int pixels_above_lines { get; set; }
4543                 [NoAccessorMethod]
4544                 public bool pixels_above_lines_set { get; set; }
4545                 [NoAccessorMethod]
4546                 public int pixels_below_lines { get; set; }
4547                 [NoAccessorMethod]
4548                 public bool pixels_below_lines_set { get; set; }
4549                 [NoAccessorMethod]
4550                 public int pixels_inside_wrap { get; set; }
4551                 [NoAccessorMethod]
4552                 public bool pixels_inside_wrap_set { get; set; }
4553                 [NoAccessorMethod]
4554                 public int right_margin { get; set; }
4555                 [NoAccessorMethod]
4556                 public bool right_margin_set { get; set; }
4557                 [NoAccessorMethod]
4558                 public int rise { get; set; }
4559                 [NoAccessorMethod]
4560                 public bool rise_set { get; set; }
4561                 [NoAccessorMethod]
4562                 public double scale { get; set; }
4563                 [NoAccessorMethod]
4564                 public bool scale_set { get; set; }
4565                 [NoAccessorMethod]
4566                 public int size { get; set; }
4567                 [NoAccessorMethod]
4568                 public double size_points { get; set; }
4569                 [NoAccessorMethod]
4570                 public bool size_set { get; set; }
4571                 [NoAccessorMethod]
4572                 public Pango.Stretch stretch { get; set; }
4573                 [NoAccessorMethod]
4574                 public bool stretch_set { get; set; }
4575                 [NoAccessorMethod]
4576                 public bool strikethrough { get; set; }
4577                 [NoAccessorMethod]
4578                 public bool strikethrough_set { get; set; }
4579                 [NoAccessorMethod]
4580                 public Pango.Style style { get; set; }
4581                 [NoAccessorMethod]
4582                 public bool style_set { get; set; }
4583                 [NoAccessorMethod]
4584                 public Pango.TabArray tabs { owned get; set; }
4585                 [NoAccessorMethod]
4586                 public bool tabs_set { get; set; }
4587                 [NoAccessorMethod]
4588                 public Pango.Underline underline { get; set; }
4589                 [NoAccessorMethod]
4590                 public bool underline_set { get; set; }
4591                 [NoAccessorMethod]
4592                 public Pango.Variant variant { get; set; }
4593                 [NoAccessorMethod]
4594                 public bool variant_set { get; set; }
4595                 [NoAccessorMethod]
4596                 public int weight { get; set; }
4597                 [NoAccessorMethod]
4598                 public bool weight_set { get; set; }
4599                 [NoAccessorMethod]
4600                 public Gtk.WrapMode wrap_mode { get; set; }
4601                 [NoAccessorMethod]
4602                 public bool wrap_mode_set { get; set; }
4603                 [HasEmitter]
4604                 public virtual signal bool event (GLib.Object event_object, Gdk.Event event, Gtk.TextIter iter);
4605         }
4606         [CCode (cheader_filename = "gtk/gtk.h")]
4607         public class TextTagTable : GLib.Object {
4608                 public int anon_count;
4609                 public weak GLib.SList anonymous;
4610                 public weak GLib.SList buffers;
4611                 public weak GLib.HashTable hash;
4612                 [CCode (has_construct_function = false)]
4613                 public TextTagTable ();
4614                 public void add (Gtk.TextTag tag);
4615                 public void @foreach (Gtk.TextTagTableForeach func, void* data);
4616                 public int get_size ();
4617                 public unowned Gtk.TextTag lookup (string name);
4618                 public void remove (Gtk.TextTag tag);
4619                 public virtual signal void tag_added (Gtk.TextTag tag);
4620                 public virtual signal void tag_changed (Gtk.TextTag tag, bool size_changed);
4621                 public virtual signal void tag_removed (Gtk.TextTag tag);
4622         }
4623         [CCode (cheader_filename = "gtk/gtk.h")]
4624         public class TextView : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4625                 public uint blink_timeout;
4626                 public weak Gtk.TextWindow bottom_window;
4627                 public weak GLib.SList children;
4628                 public weak Gtk.TextMark dnd_mark;
4629                 public int drag_start_x;
4630                 public int drag_start_y;
4631                 public weak Gtk.TextMark first_para_mark;
4632                 public int first_para_pixels;
4633                 public uint first_validate_idle;
4634                 public weak Gtk.Adjustment hadjustment;
4635                 public int height;
4636                 public weak Gtk.IMContext im_context;
4637                 public uint incremental_validate_idle;
4638                 public Gtk.Justification justify;
4639                 public weak Gtk.TextWindow left_window;
4640                 public uint mouse_cursor_obscured;
4641                 public uint need_im_reset;
4642                 public uint onscreen_validated;
4643                 public uint overwrite_mode;
4644                 public int pending_place_cursor_button;
4645                 public weak Gtk.TextPendingScroll pending_scroll;
4646                 public weak Gtk.Widget popup_menu;
4647                 public weak Gtk.TextWindow right_window;
4648                 public uint scroll_timeout;
4649                 public uint selection_drag_handler;
4650                 public weak Gtk.TextWindow text_window;
4651                 public weak Gtk.TextWindow top_window;
4652                 public weak Gtk.Adjustment vadjustment;
4653                 public int virtual_cursor_x;
4654                 public int virtual_cursor_y;
4655                 public int width;
4656                 public uint width_changed;
4657                 public int xoffset;
4658                 public int yoffset;
4659                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4660                 public TextView ();
4661                 public void add_child_at_anchor (Gtk.Widget child, Gtk.TextChildAnchor anchor);
4662                 public void add_child_in_window (Gtk.Widget child, Gtk.TextWindowType which_window, int xpos, int ypos);
4663                 public bool backward_display_line (Gtk.TextIter iter);
4664                 public bool backward_display_line_start (Gtk.TextIter iter);
4665                 public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y);
4666                 public bool forward_display_line (Gtk.TextIter iter);
4667                 public bool forward_display_line_end (Gtk.TextIter iter);
4668                 public bool get_accepts_tab ();
4669                 public int get_border_window_size (Gtk.TextWindowType type);
4670                 public unowned Gtk.TextBuffer get_buffer ();
4671                 public bool get_cursor_visible ();
4672                 public unowned Gtk.TextAttributes get_default_attributes ();
4673                 public bool get_editable ();
4674                 public int get_indent ();
4675                 public void get_iter_at_location (out Gtk.TextIter iter, int x, int y);
4676                 public void get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
4677                 public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
4678                 public Gtk.Justification get_justification ();
4679                 public int get_left_margin ();
4680                 public void get_line_at_y (out Gtk.TextIter target_iter, int y, out int line_top);
4681                 public void get_line_yrange (Gtk.TextIter iter, out int y, out int height);
4682                 public bool get_overwrite ();
4683                 public int get_pixels_above_lines ();
4684                 public int get_pixels_below_lines ();
4685                 public int get_pixels_inside_wrap ();
4686                 public int get_right_margin ();
4687                 public unowned Pango.TabArray get_tabs ();
4688                 public void get_visible_rect (out Gdk.Rectangle visible_rect);
4689                 public unowned Gdk.Window get_window (Gtk.TextWindowType win);
4690                 public Gtk.TextWindowType get_window_type (Gdk.Window window);
4691                 public Gtk.WrapMode get_wrap_mode ();
4692                 public void move_child (Gtk.Widget child, int xpos, int ypos);
4693                 [NoWrapper]
4694                 public virtual void move_focus (Gtk.DirectionType direction);
4695                 public bool move_mark_onscreen (Gtk.TextMark mark);
4696                 public bool move_visually (Gtk.TextIter iter, int count);
4697                 public bool place_cursor_onscreen ();
4698                 public void scroll_mark_onscreen (Gtk.TextMark mark);
4699                 public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
4700                 public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
4701                 public void set_accepts_tab (bool accepts_tab);
4702                 public void set_border_window_size (Gtk.TextWindowType type, int size);
4703                 public void set_buffer (Gtk.TextBuffer buffer);
4704                 public void set_cursor_visible (bool setting);
4705                 public void set_editable (bool setting);
4706                 public void set_indent (int indent);
4707                 public void set_justification (Gtk.Justification justification);
4708                 public void set_left_margin (int left_margin);
4709                 public void set_overwrite (bool overwrite);
4710                 public void set_pixels_above_lines (int pixels_above_lines);
4711                 public void set_pixels_below_lines (int pixels_below_lines);
4712                 public void set_pixels_inside_wrap (int pixels_inside_wrap);
4713                 public void set_right_margin (int right_margin);
4714                 public void set_tabs (Pango.TabArray tabs);
4715                 public void set_wrap_mode (Gtk.WrapMode wrap_mode);
4716                 public bool starts_display_line (Gtk.TextIter iter);
4717                 public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y);
4718                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4719                 public TextView.with_buffer (Gtk.TextBuffer buffer);
4720                 public bool accepts_tab { get; set; }
4721                 public Gtk.TextBuffer buffer { get; set; }
4722                 public bool cursor_visible { get; set; }
4723                 public bool editable { get; set; }
4724                 [NoAccessorMethod]
4725                 public string im_module { owned get; set; }
4726                 public int indent { get; set; }
4727                 public Gtk.Justification justification { get; set; }
4728                 public int left_margin { get; set; }
4729                 public bool overwrite { get; set; }
4730                 public int pixels_above_lines { get; set; }
4731                 public int pixels_below_lines { get; set; }
4732                 public int pixels_inside_wrap { get; set; }
4733                 public int right_margin { get; set; }
4734                 public Pango.TabArray tabs { get; set; }
4735                 public Gtk.WrapMode wrap_mode { get; set; }
4736                 public virtual signal void backspace ();
4737                 public virtual signal void copy_clipboard ();
4738                 public virtual signal void cut_clipboard ();
4739                 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
4740                 public virtual signal void insert_at_cursor (string str);
4741                 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
4742                 public virtual signal void move_viewport (Gtk.ScrollStep p0, int p1);
4743                 public virtual signal void page_horizontally (int count, bool extend_selection);
4744                 public virtual signal void paste_clipboard ();
4745                 public virtual signal void populate_popup (Gtk.Menu menu);
4746                 public virtual signal void preedit_changed (string p0);
4747                 public virtual signal void select_all (bool p0);
4748                 public virtual signal void set_anchor ();
4749                 public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
4750                 public virtual signal void toggle_cursor_visible ();
4751                 public virtual signal void toggle_overwrite ();
4752         }
4753         [Compact]
4754         [CCode (cheader_filename = "gtk/gtk.h")]
4755         public class TextWindow {
4756         }
4757         [Compact]
4758         [CCode (cheader_filename = "gtk/gtk.h")]
4759         public class ThemeEngine {
4760         }
4761         [CCode (cheader_filename = "gtk/gtk.h")]
4762         public class ToggleAction : Gtk.Action, Gtk.Buildable {
4763                 [CCode (has_construct_function = false)]
4764                 public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
4765                 public bool get_active ();
4766                 public bool get_draw_as_radio ();
4767                 public void set_active (bool is_active);
4768                 public void set_draw_as_radio (bool draw_as_radio);
4769                 public bool active { get; set; }
4770                 public bool draw_as_radio { get; set; }
4771                 [HasEmitter]
4772                 public virtual signal void toggled ();
4773         }
4774         [CCode (cheader_filename = "gtk/gtk.h")]
4775         public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4776                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4777                 public ToggleButton ();
4778                 public bool get_active ();
4779                 public bool get_inconsistent ();
4780                 public bool get_mode ();
4781                 public void set_active (bool is_active);
4782                 public void set_inconsistent (bool setting);
4783                 public void set_mode (bool draw_indicator);
4784                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4785                 public ToggleButton.with_label (string label);
4786                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4787                 public ToggleButton.with_mnemonic (string label);
4788                 public bool active { get; set; }
4789                 [NoAccessorMethod]
4790                 public bool draw_indicator { get; set; }
4791                 public bool inconsistent { get; set; }
4792                 [HasEmitter]
4793                 public virtual signal void toggled ();
4794         }
4795         [CCode (cheader_filename = "gtk/gtk.h")]
4796         public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4797                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
4798                 public ToggleToolButton ();
4799                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
4800                 public ToggleToolButton.from_stock (string stock_id);
4801                 public bool get_active ();
4802                 public void set_active (bool is_active);
4803                 public bool active { get; set; }
4804                 public virtual signal void toggled ();
4805         }
4806         [CCode (cheader_filename = "gtk/gtk.h")]
4807         public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4808                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
4809                 public ToolButton (Gtk.Widget? icon_widget, string? label);
4810                 [CCode (type = "GtkToolItem*", has_construct_function = false)]
4811                 public ToolButton.from_stock (string stock_id);
4812                 public unowned string get_icon_name ();
4813                 public unowned Gtk.Widget get_icon_widget ();
4814                 public unowned string get_label ();
4815                 public unowned Gtk.Widget get_label_widget ();
4816                 public unowned string get_stock_id ();
4817                 public bool get_use_underline ();
4818                 public void set_icon_name (string icon_name);
4819                 public void set_icon_widget (Gtk.Widget icon_widget);
4820                 public void set_label (string label);
4821                 public void set_label_widget (Gtk.Widget label_widget);
4822                 public void set_stock_id (string stock_id);
4823                 public void set_use_underline (bool use_underline);
4824                 public string icon_name { get; set; }
4825                 public Gtk.Widget icon_widget { get; set; }
4826                 public string label { get; set; }
4827                 public Gtk.Widget label_widget { get; set; }
4828                 public string stock_id { get; set; }
4829                 public bool use_underline { get; set; }
4830                 public virtual signal void clicked ();
4831         }
4832         [CCode (cheader_filename = "gtk/gtk.h")]
4833         public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4834                 [CCode (has_construct_function = false)]
4835                 public ToolItem ();
4836                 public Pango.EllipsizeMode get_ellipsize_mode ();
4837                 public bool get_expand ();
4838                 public bool get_homogeneous ();
4839                 public Gtk.IconSize get_icon_size ();
4840                 public bool get_is_important ();
4841                 public Gtk.Orientation get_orientation ();
4842                 public unowned Gtk.Widget get_proxy_menu_item (string menu_item_id);
4843                 public Gtk.ReliefStyle get_relief_style ();
4844                 public float get_text_alignment ();
4845                 public Gtk.Orientation get_text_orientation ();
4846                 public unowned Gtk.SizeGroup get_text_size_group ();
4847                 public Gtk.ToolbarStyle get_toolbar_style ();
4848                 public bool get_use_drag_window ();
4849                 public bool get_visible_horizontal ();
4850                 public bool get_visible_vertical ();
4851                 public void rebuild_menu ();
4852                 public unowned Gtk.Widget retrieve_proxy_menu_item ();
4853                 public void set_expand (bool expand);
4854                 public void set_homogeneous (bool homogeneous);
4855                 public void set_is_important (bool is_important);
4856                 public void set_proxy_menu_item (string menu_item_id, Gtk.Widget menu_item);
4857                 public void set_tooltip_markup (string markup);
4858                 public void set_tooltip_text (string text);
4859                 public void set_use_drag_window (bool use_drag_window);
4860                 public void set_visible_horizontal (bool visible_horizontal);
4861                 public void set_visible_vertical (bool visible_vertical);
4862                 public bool is_important { get; set; }
4863                 public bool visible_horizontal { get; set; }
4864                 public bool visible_vertical { get; set; }
4865                 public virtual signal bool create_menu_proxy ();
4866                 public virtual signal void toolbar_reconfigured ();
4867         }
4868         [CCode (cheader_filename = "gtk/gtk.h")]
4869         public class ToolItemGroup : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
4870                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4871                 public ToolItemGroup (string label);
4872                 public bool get_collapsed ();
4873                 public unowned Gtk.ToolItem get_drop_item (int x, int y);
4874                 public Pango.EllipsizeMode get_ellipsize ();
4875                 public Gtk.ReliefStyle get_header_relief ();
4876                 public int get_item_position (Gtk.ToolItem item);
4877                 public unowned string get_label ();
4878                 public unowned Gtk.Widget get_label_widget ();
4879                 public uint get_n_items ();
4880                 public unowned Gtk.ToolItem get_nth_item (uint index);
4881                 public void insert (Gtk.ToolItem item, int position);
4882                 public void set_collapsed (bool collapsed);
4883                 public void set_ellipsize (Pango.EllipsizeMode ellipsize);
4884                 public void set_header_relief (Gtk.ReliefStyle style);
4885                 public void set_item_position (Gtk.ToolItem item, int position);
4886                 public void set_label (string label);
4887                 public void set_label_widget (Gtk.Widget label_widget);
4888                 public bool collapsed { get; set; }
4889                 public Pango.EllipsizeMode ellipsize { get; set; }
4890                 public Gtk.ReliefStyle header_relief { get; set; }
4891                 public string label { get; set; }
4892                 public Gtk.Widget label_widget { get; set; }
4893         }
4894         [CCode (cheader_filename = "gtk/gtk.h")]
4895         public class ToolPalette : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4896                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4897                 public ToolPalette ();
4898                 public void add_drag_dest (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.ToolPaletteDragTargets targets, Gdk.DragAction actions);
4899                 public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
4900                 public static Gtk.TargetEntry get_drag_target_group ();
4901                 public static Gtk.TargetEntry get_drag_target_item ();
4902                 public unowned Gtk.ToolItem get_drop_item (int x, int y);
4903                 public unowned Gtk.Adjustment get_hadjustment ();
4904                 public Gtk.IconSize get_icon_size ();
4905                 public Gtk.ToolbarStyle get_style ();
4906                 public unowned Gtk.Adjustment get_vadjustment ();
4907                 public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
4908                 public void set_icon_size (Gtk.IconSize icon_size);
4909                 public void set_style (Gtk.ToolbarStyle style);
4910                 public void unset_icon_size ();
4911                 public void unset_style ();
4912                 public Gtk.IconSize icon_size { get; set; }
4913                 [NoAccessorMethod]
4914                 public bool icon_size_set { get; set; }
4915                 [NoAccessorMethod]
4916                 public Gtk.ToolbarStyle toolbar_style { get; set; }
4917                 public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
4918         }
4919         [CCode (cheader_filename = "gtk/gtk.h")]
4920         public class Toolbar : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell, Gtk.Orientable {
4921                 public int button_maxh;
4922                 public int button_maxw;
4923                 public weak GLib.List children;
4924                 public int num_children;
4925                 public Gtk.Orientation orientation;
4926                 public Gtk.ToolbarStyle style;
4927                 public uint style_set;
4928                 [CCode (type = "GtkWidget*", has_construct_function = false)]
4929                 public Toolbar ();
4930                 public int get_drop_index (int x, int y);
4931                 public int get_item_index (Gtk.ToolItem item);
4932                 public int get_n_items ();
4933                 public unowned Gtk.ToolItem get_nth_item (int n);
4934                 public bool get_show_arrow ();
4935                 public void insert (Gtk.ToolItem item, int pos);
4936                 public void set_drop_highlight_item (Gtk.ToolItem tool_item, int index_);
4937                 public void set_icon_size (Gtk.IconSize icon_size);
4938                 public void set_show_arrow (bool show_arrow);
4939                 public void set_style (Gtk.ToolbarStyle style);
4940                 public void unset_icon_size ();
4941                 public void unset_style ();
4942                 public int icon_size { get; set; }
4943                 [NoAccessorMethod]
4944                 public bool icon_size_set { get; set; }
4945                 public bool show_arrow { get; set; }
4946                 [NoAccessorMethod]
4947                 public Gtk.ToolbarStyle toolbar_style { get; set; }
4948                 [NoAccessorMethod]
4949                 public bool tooltips { get; set; }
4950                 public virtual signal bool focus_home_or_end (bool p0);
4951                 public virtual signal void orientation_changed (Gtk.Orientation orientation);
4952                 public virtual signal bool popup_context_menu (int x, int y, int button_number);
4953                 public virtual signal void style_changed (Gtk.ToolbarStyle style);
4954         }
4955         [CCode (cheader_filename = "gtk/gtk.h")]
4956         public class Tooltip : GLib.Object {
4957                 [CCode (has_construct_function = false)]
4958                 protected Tooltip ();
4959                 public void set_custom (Gtk.Widget custom_widget);
4960                 public void set_icon (Gdk.Pixbuf pixbuf);
4961                 public void set_icon_from_gicon (GLib.Icon gicon, Gtk.IconSize size);
4962                 public void set_icon_from_icon_name (string icon_name, Gtk.IconSize size);
4963                 public void set_icon_from_stock (string stock_id, Gtk.IconSize size);
4964                 public void set_markup (string markup);
4965                 public void set_text (string text);
4966                 public void set_tip_area (Gdk.Rectangle rect);
4967                 public static void trigger_tooltip_query (Gdk.Display display);
4968         }
4969         [CCode (cheader_filename = "gtk/gtk.h")]
4970         public class TreeModelFilter : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource {
4971                 [CCode (type = "GtkTreeModel*", has_construct_function = false)]
4972                 public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root);
4973                 public void clear_cache ();
4974                 public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter);
4975                 public unowned Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path);
4976                 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter);
4977                 public unowned Gtk.TreePath convert_path_to_child_path (Gtk.TreePath filter_path);
4978                 public unowned Gtk.TreeModel get_model ();
4979                 public void refilter ();
4980                 public void set_modify_func (int n_columns, GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
4981                 public void set_visible_column (int column);
4982                 public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
4983                 [NoAccessorMethod]
4984                 public Gtk.TreeModel child_model { owned get; construct; }
4985                 [NoAccessorMethod]
4986                 public Gtk.TreePath virtual_root { owned get; construct; }
4987         }
4988         [CCode (cheader_filename = "gtk/gtk.h")]
4989         public class TreeModelSort : GLib.Object, Gtk.TreeModel, Gtk.TreeSortable, Gtk.TreeDragSource {
4990                 public uint changed_id;
4991                 public uint child_flags;
4992                 public weak Gtk.TreeModel child_model;
4993                 public void* default_sort_data;
4994                 public weak GLib.DestroyNotify default_sort_destroy;
4995                 public weak Gtk.TreeIterCompareFunc default_sort_func;
4996                 public uint deleted_id;
4997                 public uint has_child_toggled_id;
4998                 public uint inserted_id;
4999                 public Gtk.SortType order;
5000                 public uint reordered_id;
5001                 public void* root;
5002                 public int sort_column_id;
5003                 public weak GLib.List sort_list;
5004                 public int stamp;
5005                 public int zero_ref_count;
5006                 [CCode (has_construct_function = false)]
5007                 protected TreeModelSort ();
5008                 public void clear_cache ();
5009                 public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter);
5010                 public unowned Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path);
5011                 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter);
5012                 public unowned Gtk.TreePath convert_path_to_child_path (Gtk.TreePath sorted_path);
5013                 public unowned Gtk.TreeModel get_model ();
5014                 public bool iter_is_valid (Gtk.TreeIter iter);
5015                 public void reset_default_sort_func ();
5016                 [CCode (type = "GtkTreeModel*", has_construct_function = false)]
5017                 public TreeModelSort.with_model (Gtk.TreeModel child_model);
5018                 public Gtk.TreeModel model { get; construct; }
5019         }
5020         [Compact]
5021         [Immutable]
5022         [CCode (copy_function = "gtk_tree_path_copy", const_cname = "GtkTreePath", type_id = "GTK_TYPE_TREE_PATH", cheader_filename = "gtk/gtk.h")]
5023         public class TreePath {
5024                 [CCode (has_construct_function = false)]
5025                 public TreePath ();
5026                 public void append_index (int index_);
5027                 public int compare (Gtk.TreePath b);
5028                 public Gtk.TreePath copy ();
5029                 public void down ();
5030                 [CCode (has_construct_function = false)]
5031                 public TreePath.first ();
5032                 [CCode (sentinel = "-1", has_construct_function = false)]
5033                 public TreePath.from_indices (...);
5034                 [CCode (has_construct_function = false)]
5035                 public TreePath.from_string (string path);
5036                 public int get_depth ();
5037                 [CCode (array_length = false)]
5038                 public unowned int[] get_indices ();
5039                 public bool is_ancestor (Gtk.TreePath descendant);
5040                 public bool is_descendant (Gtk.TreePath ancestor);
5041                 public void next ();
5042                 public void prepend_index (int index_);
5043                 public bool prev ();
5044                 public unowned string to_string ();
5045                 public bool up ();
5046         }
5047         [Compact]
5048         [Immutable]
5049         [CCode (copy_function = "gtk_tree_row_reference_copy", type_id = "GTK_TYPE_TREE_ROW_REFERENCE", cheader_filename = "gtk/gtk.h")]
5050         public class TreeRowReference {
5051                 [CCode (has_construct_function = false)]
5052                 public TreeRowReference (Gtk.TreeModel model, Gtk.TreePath path);
5053                 public Gtk.TreeRowReference copy ();
5054                 public static void deleted (GLib.Object proxy, Gtk.TreePath path);
5055                 public unowned Gtk.TreeModel get_model ();
5056                 public Gtk.TreePath get_path ();
5057                 public static void inserted (GLib.Object proxy, Gtk.TreePath path);
5058                 [CCode (has_construct_function = false)]
5059                 public TreeRowReference.proxy (GLib.Object proxy, Gtk.TreeModel model, Gtk.TreePath path);
5060                 public static void reordered (GLib.Object proxy, Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order);
5061                 public bool valid ();
5062         }
5063         [CCode (cheader_filename = "gtk/gtk.h")]
5064         public class TreeSelection : GLib.Object {
5065                 public weak GLib.DestroyNotify destroy;
5066                 public weak Gtk.TreeView tree_view;
5067                 public Gtk.SelectionMode type;
5068                 public void* user_data;
5069                 public weak Gtk.TreeSelectionFunc user_func;
5070                 [CCode (has_construct_function = false)]
5071                 protected TreeSelection ();
5072                 public int count_selected_rows ();
5073                 public Gtk.SelectionMode get_mode ();
5074                 public unowned Gtk.TreeSelectionFunc get_select_function ();
5075                 public bool get_selected (out unowned Gtk.TreeModel model, out Gtk.TreeIter iter);
5076                 public GLib.List<Gtk.TreePath> get_selected_rows (out unowned Gtk.TreeModel model);
5077                 public unowned Gtk.TreeView get_tree_view ();
5078                 public void* get_user_data ();
5079                 public bool iter_is_selected (Gtk.TreeIter iter);
5080                 public bool path_is_selected (Gtk.TreePath path);
5081                 public void select_all ();
5082                 public void select_iter (Gtk.TreeIter iter);
5083                 public void select_path (Gtk.TreePath path);
5084                 public void select_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
5085                 public void selected_foreach (Gtk.TreeSelectionForeachFunc func);
5086                 public void set_mode (Gtk.SelectionMode type);
5087                 public void set_select_function (owned Gtk.TreeSelectionFunc func);
5088                 public void unselect_all ();
5089                 public void unselect_iter (Gtk.TreeIter iter);
5090                 public void unselect_path (Gtk.TreePath path);
5091                 public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
5092                 public virtual signal void changed ();
5093         }
5094         [CCode (cheader_filename = "gtk/gtk.h")]
5095         public class TreeStore : GLib.Object, Gtk.Buildable, Gtk.TreeModel, Gtk.TreeSortable, Gtk.TreeDragSource, Gtk.TreeDragDest {
5096                 [CCode (array_length = false)]
5097                 public weak GLib.Type[] column_headers;
5098                 public uint columns_dirty;
5099                 public void* default_sort_data;
5100                 public weak GLib.DestroyNotify default_sort_destroy;
5101                 public weak Gtk.TreeIterCompareFunc default_sort_func;
5102                 public void* last;
5103                 public int n_columns;
5104                 public Gtk.SortType order;
5105                 public void* root;
5106                 public int sort_column_id;
5107                 public weak GLib.List sort_list;
5108                 public int stamp;
5109                 [CCode (sentinel = "", has_construct_function = false)]
5110                 public TreeStore (int n_columns, ...);
5111                 public void append (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
5112                 public void clear ();
5113                 public void insert (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position);
5114                 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
5115                 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
5116                 [CCode (sentinel = "-1")]
5117                 public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...);
5118                 public void insert_with_valuesv (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, int columns, GLib.Value[] values);
5119                 public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant);
5120                 public int iter_depth (Gtk.TreeIter iter);
5121                 public bool iter_is_valid (Gtk.TreeIter iter);
5122                 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
5123                 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
5124                 [CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
5125                 public TreeStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
5126                 public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
5127                 public bool remove (Gtk.TreeIter iter);
5128                 public void reorder (Gtk.TreeIter? parent, int new_order);
5129                 [CCode (sentinel = "-1")]
5130                 public void @set (Gtk.TreeIter iter, ...);
5131                 public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
5132                 public void set_valist (Gtk.TreeIter iter, void* var_args);
5133                 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
5134                 public void set_valuesv (Gtk.TreeIter iter, int columns, GLib.Value[] values);
5135                 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
5136         }
5137         [CCode (cheader_filename = "gtk/gtk.h")]
5138         public class TreeView : Gtk.Container, Atk.Implementor, Gtk.Buildable {
5139                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5140                 public TreeView ();
5141                 public int append_column (Gtk.TreeViewColumn column);
5142                 public void collapse_all ();
5143                 public bool collapse_row (Gtk.TreePath path);
5144                 public void columns_autosize ();
5145                 public void convert_bin_window_to_tree_coords (int bx, int by, out int tx, out int ty);
5146                 public void convert_bin_window_to_widget_coords (int bx, int by, out int wx, out int wy);
5147                 public void convert_tree_to_bin_window_coords (int tx, int ty, out int bx, out int by);
5148                 public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy);
5149                 public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
5150                 public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty);
5151                 public unowned Gdk.Pixmap create_row_drag_icon (Gtk.TreePath path);
5152                 public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
5153                 public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
5154                 public void expand_all ();
5155                 public bool expand_row (Gtk.TreePath path, bool open_all);
5156                 public void expand_to_path (Gtk.TreePath path);
5157                 public void get_background_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
5158                 public unowned Gdk.Window get_bin_window ();
5159                 public void get_cell_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
5160                 public unowned Gtk.TreeViewColumn get_column (int n);
5161                 public GLib.List<weak Gtk.TreeViewColumn> get_columns ();
5162                 public void get_cursor (out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? focus_column);
5163                 public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
5164                 public void get_drag_dest_row (out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
5165                 public bool get_enable_search ();
5166                 public bool get_enable_tree_lines ();
5167                 public unowned Gtk.TreeViewColumn get_expander_column ();
5168                 public bool get_fixed_height_mode ();
5169                 public Gtk.TreeViewGridLines get_grid_lines ();
5170                 public unowned Gtk.Adjustment get_hadjustment ();
5171                 public bool get_headers_clickable ();
5172                 public bool get_headers_visible ();
5173                 public bool get_hover_expand ();
5174                 public bool get_hover_selection ();
5175                 public int get_level_indentation ();
5176                 public unowned Gtk.TreeModel get_model ();
5177                 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);
5178                 public bool get_reorderable ();
5179                 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
5180                 public bool get_rubber_banding ();
5181                 public bool get_rules_hint ();
5182                 public int get_search_column ();
5183                 public unowned Gtk.Entry get_search_entry ();
5184                 public unowned Gtk.TreeViewSearchEqualFunc get_search_equal_func ();
5185                 public unowned Gtk.TreeViewSearchPositionFunc get_search_position_func ();
5186                 public unowned Gtk.TreeSelection get_selection ();
5187                 public bool get_show_expanders ();
5188                 public int get_tooltip_column ();
5189                 public bool get_tooltip_context (out int x, out int y, bool keyboard_tip, out unowned Gtk.TreeModel model, out unowned Gtk.TreePath path, out Gtk.TreeIter iter);
5190                 public unowned Gtk.Adjustment get_vadjustment ();
5191                 public bool get_visible_range (out unowned Gtk.TreePath start_path, out unowned Gtk.TreePath end_path);
5192                 public void get_visible_rect (out Gdk.Rectangle visible_rect);
5193                 public int insert_column (Gtk.TreeViewColumn column, int position);
5194                 public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...);
5195                 public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func);
5196                 [CCode (cname = "gtk_tree_view_row_expanded")]
5197                 public bool is_row_expanded (Gtk.TreePath path);
5198                 public bool is_rubber_banding_active ();
5199                 public void map_expanded_rows (Gtk.TreeViewMappingFunc func, void* data);
5200                 public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn base_column);
5201                 public int remove_column (Gtk.TreeViewColumn column);
5202                 public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align);
5203                 public void scroll_to_point (int tree_x, int tree_y);
5204                 public void set_column_drag_function (owned Gtk.TreeViewColumnDropFunc func);
5205                 public void set_cursor (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, bool start_editing);
5206                 public void set_cursor_on_cell (Gtk.TreePath path, Gtk.TreeViewColumn focus_column, Gtk.CellRenderer focus_cell, bool start_editing);
5207                 public void set_destroy_count_func (owned Gtk.TreeDestroyCountFunc func);
5208                 public void set_drag_dest_row (Gtk.TreePath? path, Gtk.TreeViewDropPosition pos);
5209                 public void set_enable_search (bool enable_search);
5210                 public void set_enable_tree_lines (bool enabled);
5211                 public void set_expander_column (Gtk.TreeViewColumn column);
5212                 public void set_fixed_height_mode (bool enable);
5213                 public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
5214                 public void set_hadjustment (Gtk.Adjustment adjustment);
5215                 public void set_headers_clickable (bool setting);
5216                 public void set_headers_visible (bool headers_visible);
5217                 public void set_hover_expand (bool expand);
5218                 public void set_hover_selection (bool hover);
5219                 public void set_level_indentation (int indentation);
5220                 public void set_model (Gtk.TreeModel? model);
5221                 public void set_reorderable (bool reorderable);
5222                 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc func);
5223                 public void set_rubber_banding (bool enable);
5224                 public void set_rules_hint (bool setting);
5225                 public void set_search_column (int column);
5226                 public void set_search_entry (Gtk.Entry entry);
5227                 public void set_search_equal_func (owned Gtk.TreeViewSearchEqualFunc search_equal_func);
5228                 public void set_search_position_func (owned Gtk.TreeViewSearchPositionFunc func);
5229                 public void set_show_expanders (bool enabled);
5230                 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.TreeViewColumn column, Gtk.CellRenderer cell);
5231                 public void set_tooltip_column (int column);
5232                 public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
5233                 public void set_vadjustment (Gtk.Adjustment adjustment);
5234                 public void unset_rows_drag_dest ();
5235                 public void unset_rows_drag_source ();
5236                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5237                 public TreeView.with_model (Gtk.TreeModel model);
5238                 [NoAccessorMethod]
5239                 public Gtk.TreeViewGridLines enable_grid_lines { get; set; }
5240                 public bool enable_search { get; set; }
5241                 public bool enable_tree_lines { get; set; }
5242                 public Gtk.TreeViewColumn expander_column { get; set; }
5243                 public bool fixed_height_mode { get; set; }
5244                 public Gtk.Adjustment hadjustment { get; set; }
5245                 public bool headers_clickable { get; set; }
5246                 public bool headers_visible { get; set; }
5247                 public bool hover_expand { get; set; }
5248                 public bool hover_selection { get; set; }
5249                 public int level_indentation { get; set; }
5250                 public Gtk.TreeModel model { get; set; }
5251                 public bool reorderable { get; set; }
5252                 public bool rubber_banding { get; set; }
5253                 public bool rules_hint { get; set; }
5254                 public int search_column { get; set; }
5255                 public bool show_expanders { get; set; }
5256                 public int tooltip_column { get; set; }
5257                 public Gtk.Adjustment vadjustment { get; set; }
5258                 public virtual signal void columns_changed ();
5259                 public virtual signal void cursor_changed ();
5260                 public virtual signal bool expand_collapse_cursor_row (bool logical, bool expand, bool open_all);
5261                 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
5262                 [HasEmitter]
5263                 public virtual signal void row_activated (Gtk.TreePath path, Gtk.TreeViewColumn column);
5264                 public virtual signal void row_collapsed (Gtk.TreeIter iter, Gtk.TreePath path);
5265                 public virtual signal void row_expanded (Gtk.TreeIter iter, Gtk.TreePath path);
5266                 public virtual signal bool select_all ();
5267                 public virtual signal bool select_cursor_parent ();
5268                 public virtual signal bool select_cursor_row (bool start_editing);
5269                 public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
5270                 public virtual signal bool start_interactive_search ();
5271                 public virtual signal bool test_collapse_row (Gtk.TreeIter iter, Gtk.TreePath path);
5272                 public virtual signal bool test_expand_row (Gtk.TreeIter iter, Gtk.TreePath path);
5273                 public virtual signal bool toggle_cursor_row ();
5274                 public virtual signal bool unselect_all ();
5275         }
5276         [CCode (cheader_filename = "gtk/gtk.h")]
5277         public class TreeViewColumn : Gtk.Object, Gtk.Buildable, Gtk.CellLayout {
5278                 public weak Gtk.Widget arrow;
5279                 public weak Gtk.Widget button;
5280                 public int button_request;
5281                 public weak GLib.List cell_list;
5282                 public weak Gtk.Widget child;
5283                 public Gtk.TreeViewColumnSizing column_type;
5284                 public uint dirty;
5285                 public int drag_x;
5286                 public int drag_y;
5287                 public weak Gtk.CellEditable editable_widget;
5288                 public uint maybe_reordered;
5289                 public uint property_changed_signal;
5290                 public int requested_width;
5291                 public int resized_width;
5292                 public uint show_sort_indicator;
5293                 public uint sort_clicked_signal;
5294                 public uint sort_column_changed_signal;
5295                 public weak Gtk.Widget tree_view;
5296                 public uint use_resized_width;
5297                 public weak Gdk.Window window;
5298                 public float xalign;
5299                 [CCode (has_construct_function = false)]
5300                 public TreeViewColumn ();
5301                 public bool cell_get_position (Gtk.CellRenderer cell_renderer, int start_pos, int width);
5302                 public void cell_get_size (out Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height);
5303                 public bool cell_is_visible ();
5304                 public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
5305                 public void focus_cell (Gtk.CellRenderer cell);
5306                 public float get_alignment ();
5307                 public bool get_clickable ();
5308                 public bool get_expand ();
5309                 public int get_fixed_width ();
5310                 public int get_max_width ();
5311                 public int get_min_width ();
5312                 public bool get_reorderable ();
5313                 public bool get_resizable ();
5314                 public Gtk.TreeViewColumnSizing get_sizing ();
5315                 public int get_sort_column_id ();
5316                 public bool get_sort_indicator ();
5317                 public Gtk.SortType get_sort_order ();
5318                 public int get_spacing ();
5319                 public unowned string get_title ();
5320                 public unowned Gtk.Widget get_tree_view ();
5321                 public bool get_visible ();
5322                 public unowned Gtk.Widget get_widget ();
5323                 public int get_width ();
5324                 public void queue_resize ();
5325                 public void set_alignment (float xalign);
5326                 public void set_attributes (Gtk.CellRenderer cell_renderer, ...);
5327                 public void set_clickable (bool clickable);
5328                 public void set_expand (bool expand);
5329                 public void set_fixed_width (int fixed_width);
5330                 public void set_max_width (int max_width);
5331                 public void set_min_width (int min_width);
5332                 public void set_reorderable (bool reorderable);
5333                 public void set_resizable (bool resizable);
5334                 public void set_sizing (Gtk.TreeViewColumnSizing type);
5335                 public void set_sort_column_id (int sort_column_id);
5336                 public void set_sort_indicator (bool setting);
5337                 public void set_sort_order (Gtk.SortType order);
5338                 public void set_spacing (int spacing);
5339                 public void set_title (string title);
5340                 public void set_visible (bool visible);
5341                 public void set_widget (Gtk.Widget widget);
5342                 [CCode (has_construct_function = false)]
5343                 public TreeViewColumn.with_attributes (string? title, Gtk.CellRenderer cell, ...);
5344                 public float alignment { get; set; }
5345                 public bool clickable { get; set; }
5346                 public bool expand { get; set; }
5347                 public int fixed_width { get; set; }
5348                 public int max_width { get; set; }
5349                 public int min_width { get; set; }
5350                 public bool reorderable { get; set; }
5351                 public bool resizable { get; set; }
5352                 public Gtk.TreeViewColumnSizing sizing { get; set; }
5353                 public int sort_column_id { get; set; }
5354                 public bool sort_indicator { get; set; }
5355                 public Gtk.SortType sort_order { get; set; }
5356                 public int spacing { get; set; }
5357                 public string title { get; set; }
5358                 public bool visible { get; set; }
5359                 public Gtk.Widget widget { get; set; }
5360                 public int width { get; }
5361                 [HasEmitter]
5362                 public virtual signal void clicked ();
5363         }
5364         [CCode (cheader_filename = "gtk/gtk.h")]
5365         public class UIManager : GLib.Object, Gtk.Buildable {
5366                 [CCode (has_construct_function = false)]
5367                 public UIManager ();
5368                 public void add_ui (uint merge_id, string path, string name, string action, Gtk.UIManagerItemType type, bool top);
5369                 public uint add_ui_from_file (string filename) throws GLib.Error;
5370                 public uint add_ui_from_string (string buffer, ssize_t length) throws GLib.Error;
5371                 public void ensure_update ();
5372                 public unowned Gtk.AccelGroup get_accel_group ();
5373                 public virtual unowned Gtk.Action get_action (string path);
5374                 public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
5375                 public bool get_add_tearoffs ();
5376                 public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
5377                 public unowned string get_ui ();
5378                 public virtual unowned Gtk.Widget get_widget (string path);
5379                 public void insert_action_group (Gtk.ActionGroup action_group, int pos);
5380                 public uint new_merge_id ();
5381                 public void remove_action_group (Gtk.ActionGroup action_group);
5382                 public void remove_ui (uint merge_id);
5383                 public void set_add_tearoffs (bool add_tearoffs);
5384                 public bool add_tearoffs { get; set; }
5385                 public string ui { get; }
5386                 public virtual signal void actions_changed ();
5387                 public virtual signal void add_widget (Gtk.Widget widget);
5388                 public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy);
5389                 public virtual signal void disconnect_proxy (Gtk.Action action, Gtk.Widget proxy);
5390                 public virtual signal void post_activate (Gtk.Action action);
5391                 public virtual signal void pre_activate (Gtk.Action action);
5392         }
5393         [CCode (cheader_filename = "gtk/gtk.h")]
5394         public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5395                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5396                 public VBox (bool homogeneous, int spacing);
5397         }
5398         [CCode (cheader_filename = "gtk/gtk.h")]
5399         public class VButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5400                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5401                 public VButtonBox ();
5402         }
5403         [CCode (cheader_filename = "gtk/gtk.h")]
5404         public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5405                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5406                 public VPaned ();
5407         }
5408         [CCode (cheader_filename = "gtk/gtk.h")]
5409         public class VRuler : Gtk.Ruler, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5410                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5411                 public VRuler ();
5412         }
5413         [CCode (cheader_filename = "gtk/gtk.h")]
5414         public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5415                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5416                 public VScale (Gtk.Adjustment? adjustment);
5417                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5418                 public VScale.with_range (double min, double max, double step);
5419         }
5420         [CCode (cheader_filename = "gtk/gtk.h")]
5421         public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5422                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5423                 public VScrollbar (Gtk.Adjustment? adjustment);
5424         }
5425         [CCode (cheader_filename = "gtk/gtk.h")]
5426         public class VSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5427                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5428                 public VSeparator ();
5429         }
5430         [CCode (cheader_filename = "gtk/gtk.h")]
5431         public class Viewport : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
5432                 public weak Gdk.Window bin_window;
5433                 public weak Gdk.Window view_window;
5434                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5435                 public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
5436                 public unowned Gdk.Window get_bin_window ();
5437                 public unowned Gtk.Adjustment get_hadjustment ();
5438                 public Gtk.ShadowType get_shadow_type ();
5439                 public unowned Gtk.Adjustment get_vadjustment ();
5440                 public void set_hadjustment (Gtk.Adjustment adjustment);
5441                 public void set_shadow_type (Gtk.ShadowType type);
5442                 public void set_vadjustment (Gtk.Adjustment adjustment);
5443                 public Gtk.Adjustment hadjustment { get; set construct; }
5444                 public Gtk.ShadowType shadow_type { get; set; }
5445                 public Gtk.Adjustment vadjustment { get; set construct; }
5446                 public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
5447         }
5448         [CCode (cheader_filename = "gtk/gtk.h")]
5449         public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Activatable {
5450                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5451                 public VolumeButton ();
5452         }
5453         [CCode (cheader_filename = "gtk/gtk.h")]
5454         public class Widget : Gtk.Object, Atk.Implementor, Gtk.Buildable {
5455                 public Gtk.Allocation allocation;
5456                 public Gtk.Requisition requisition;
5457                 public uchar saved_state;
5458                 public uchar state;
5459                 public Gdk.Window window;
5460                 [CCode (has_new_function = false, construct_function = "gtk_widget_new")]
5461                 public Widget (...);
5462                 public bool activate ();
5463                 public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
5464                 public void add_events (int events);
5465                 public void add_mnemonic_label (Gtk.Widget label);
5466                 public bool child_focus (Gtk.DirectionType direction);
5467                 public void class_path (out uint path_length, out unowned string path, out unowned string path_reversed);
5468                 public Pango.Context create_pango_context ();
5469                 public Pango.Layout create_pango_layout (string? text);
5470                 public void destroyed (out unowned Gtk.Widget widget_pointer);
5471                 [NoWrapper]
5472                 public virtual void dispatch_child_properties_changed (uint n_pspecs, out unowned GLib.ParamSpec pspecs);
5473                 public void ensure_style ();
5474                 public void error_bell ();
5475                 [CCode (cname = "gtk_widget_class_find_style_property")]
5476                 public class unowned GLib.ParamSpec find_style_property (string property_name);
5477                 public void freeze_child_notify ();
5478                 public virtual unowned Atk.Object get_accessible ();
5479                 public void get_allocation (out Gtk.Allocation allocation);
5480                 public unowned Gtk.Widget get_ancestor (GLib.Type widget_type);
5481                 public bool get_app_paintable ();
5482                 public bool get_can_default ();
5483                 public bool get_can_focus ();
5484                 public void get_child_requisition (out Gtk.Requisition requisition);
5485                 public bool get_child_visible ();
5486                 public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
5487                 public unowned Gdk.Colormap get_colormap ();
5488                 public unowned string get_composite_name ();
5489                 public static unowned Gdk.Colormap get_default_colormap ();
5490                 public static Gtk.TextDirection get_default_direction ();
5491                 public static unowned Gtk.Style get_default_style ();
5492                 public static unowned Gdk.Visual get_default_visual ();
5493                 public Gtk.TextDirection get_direction ();
5494                 public unowned Gdk.Display get_display ();
5495                 public bool get_double_buffered ();
5496                 public int get_events ();
5497                 public Gdk.ExtensionMode get_extension_events ();
5498                 [CCode (cname = "GTK_WIDGET_FLAGS")]
5499                 public Gtk.WidgetFlags get_flags ();
5500                 public bool get_has_tooltip ();
5501                 public bool get_has_window ();
5502                 public bool get_mapped ();
5503                 public unowned Gtk.RcStyle get_modifier_style ();
5504                 public bool get_no_show_all ();
5505                 public unowned Pango.Context get_pango_context ();
5506                 public unowned Gtk.Widget get_parent ();
5507                 public unowned Gdk.Window get_parent_window ();
5508                 public void get_pointer (out int x, out int y);
5509                 public bool get_realized ();
5510                 public bool get_receives_default ();
5511                 public void get_requisition (Gtk.Requisition requisition);
5512                 public unowned Gdk.Window get_root_window ();
5513                 public unowned Gdk.Screen get_screen ();
5514                 public bool get_sensitive ();
5515                 public unowned Gtk.Settings get_settings ();
5516                 public void get_size_request (out int width, out int height);
5517                 public unowned Gdk.Pixmap get_snapshot (Gdk.Rectangle clip_rect);
5518                 public Gtk.StateType get_state ();
5519                 public unowned Gtk.Style get_style ();
5520                 public unowned string get_tooltip_markup ();
5521                 public unowned string get_tooltip_text ();
5522                 public unowned Gtk.Window get_tooltip_window ();
5523                 public unowned Gtk.Widget get_toplevel ();
5524                 public bool get_visible ();
5525                 public unowned Gdk.Visual get_visual ();
5526                 public unowned Gdk.Window get_window ();
5527                 public void grab_default ();
5528                 [CCode (cname = "GTK_WIDGET_HAS_GRAB")]
5529                 public bool has_grab ();
5530                 public bool has_rc_style ();
5531                 public bool has_screen ();
5532                 public virtual void hide_all ();
5533                 public bool hide_on_delete ();
5534                 public void input_shape_combine_mask (Gdk.Bitmap? shape_mask, int offset_x, int offset_y);
5535                 [CCode (cname = "gtk_widget_class_install_style_property")]
5536                 public class void install_style_property (GLib.ParamSpec pspec);
5537                 [CCode (cname = "gtk_widget_class_install_style_property_parser")]
5538                 public class void install_style_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
5539                 public bool intersect (Gdk.Rectangle area, Gdk.Rectangle? intersection);
5540                 public bool is_ancestor (Gtk.Widget ancestor);
5541                 public bool is_composited ();
5542                 [CCode (cname = "GTK_WIDGET_DOUBLE_BUFFERED")]
5543                 public bool is_double_buffered ();
5544                 [CCode (cname = "GTK_WIDGET_DRAWABLE")]
5545                 public bool is_drawable ();
5546                 [CCode (cname = "GTK_WIDGET_MAPPED")]
5547                 public bool is_mapped ();
5548                 [CCode (cname = "GTK_WIDGET_NO_WINDOW")]
5549                 public bool is_no_window ();
5550                 [CCode (cname = "GTK_WIDGET_PARENT_SENSITIVE")]
5551                 public bool is_parent_sensitive ();
5552                 [CCode (cname = "GTK_WIDGET_RC_STYLE")]
5553                 public bool is_rc_style ();
5554                 [CCode (cname = "GTK_WIDGET_REALIZED")]
5555                 public bool is_realized ();
5556                 public bool is_sensitive ();
5557                 [CCode (cname = "GTK_WIDGET_TOPLEVEL")]
5558                 public bool is_toplevel ();
5559                 public GLib.List<GLib.Closure> list_accel_closures ();
5560                 public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
5561                 [CCode (cname = "gtk_widget_class_list_style_properties")]
5562                 public class unowned GLib.ParamSpec list_style_properties (uint n_properties);
5563                 public void modify_base (Gtk.StateType state, Gdk.Color? color);
5564                 public void modify_bg (Gtk.StateType state, Gdk.Color? color);
5565                 public void modify_cursor (Gdk.Color? primary, Gdk.Color? secondary);
5566                 public void modify_fg (Gtk.StateType state, Gdk.Color? color);
5567                 public void modify_font (Pango.FontDescription? font_desc);
5568                 public void modify_style (Gtk.RcStyle style);
5569                 public void modify_text (Gtk.StateType state, Gdk.Color? color);
5570                 public void path (out uint path_length, out unowned string path, out unowned string path_reversed);
5571                 public static void pop_colormap ();
5572                 public static void pop_composite_child ();
5573                 public static void push_colormap (Gdk.Colormap cmap);
5574                 public static void push_composite_child ();
5575                 public void queue_draw ();
5576                 public void queue_draw_area (int x, int y, int width, int height);
5577                 public void queue_resize ();
5578                 public void queue_resize_no_redraw ();
5579                 public unowned Gdk.Region region_intersect (Gdk.Region region);
5580                 public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);
5581                 public void remove_mnemonic_label (Gtk.Widget label);
5582                 public Gdk.Pixbuf render_icon (string stock_id, Gtk.IconSize size, string? detail);
5583                 public void reparent (Gtk.Widget new_parent);
5584                 public void reset_rc_styles ();
5585                 public void reset_shapes ();
5586                 public int send_expose (Gdk.Event event);
5587                 public void set_accel_path (string accel_path, Gtk.AccelGroup accel_group);
5588                 public void set_allocation (Gtk.Allocation allocation);
5589                 public void set_app_paintable (bool app_paintable);
5590                 public void set_can_default (bool can_default);
5591                 public void set_can_focus (bool can_focus);
5592                 public void set_child_visible (bool is_visible);
5593                 public void set_colormap (Gdk.Colormap colormap);
5594                 public void set_composite_name (string name);
5595                 public static void set_default_colormap (Gdk.Colormap colormap);
5596                 public static void set_default_direction (Gtk.TextDirection dir);
5597                 public void set_direction (Gtk.TextDirection dir);
5598                 public void set_double_buffered (bool double_buffered);
5599                 public void set_events (int events);
5600                 public void set_extension_events (Gdk.ExtensionMode mode);
5601                 [CCode (cname = "GTK_WIDGET_SET_FLAGS")]
5602                 public void set_flags (Gtk.WidgetFlags flags);
5603                 public void set_has_tooltip (bool has_tooltip);
5604                 public void set_has_window (bool has_window);
5605                 public void set_mapped (bool mapped);
5606                 public void set_no_show_all (bool no_show_all);
5607                 public void set_parent (Gtk.Widget parent);
5608                 public void set_parent_window (Gdk.Window parent_window);
5609                 public void set_realized (bool realized);
5610                 public void set_receives_default (bool receives_default);
5611                 public void set_redraw_on_allocate (bool redraw_on_allocate);
5612                 public bool set_scroll_adjustments (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
5613                 public void set_sensitive (bool sensitive);
5614                 public void set_size_request (int width, int height);
5615                 public void set_state (Gtk.StateType state);
5616                 public void set_style (Gtk.Style? style);
5617                 public void set_tooltip_markup (string markup);
5618                 public void set_tooltip_text (string text);
5619                 public void set_tooltip_window (Gtk.Window custom_window);
5620                 public void set_visible (bool visible);
5621                 public void set_window (Gdk.Window window);
5622                 public void shape_combine_mask (Gdk.Bitmap? shape_mask, int offset_x, int offset_y);
5623                 public virtual void show_all ();
5624                 public void show_now ();
5625                 public void style_attach ();
5626                 public void style_get (...);
5627                 public void style_get_property (string property_name, GLib.Value value);
5628                 public void style_get_valist (string first_property_name, void* var_args);
5629                 public void thaw_child_notify ();
5630                 public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);
5631                 public void trigger_tooltip_query ();
5632                 public void unparent ();
5633                 [CCode (cname = "GTK_WIDGET_UNSET_FLAGS")]
5634                 public void unset_flags (Gtk.WidgetFlags flags);
5635                 public bool app_paintable { get; set; }
5636                 public bool can_default { get; set; }
5637                 [NoAccessorMethod]
5638                 public bool can_focus { get; set; }
5639                 [NoAccessorMethod]
5640                 public bool composite_child { get; }
5641                 public bool double_buffered { get; set; }
5642                 public Gdk.EventMask events { get; set; }
5643                 public Gdk.ExtensionMode extension_events { get; set; }
5644                 [NoAccessorMethod]
5645                 public bool has_default { get; set; }
5646                 [NoAccessorMethod]
5647                 public bool has_focus { get; set; }
5648                 public bool has_tooltip { get; set; }
5649                 [NoAccessorMethod]
5650                 public int height_request { get; set; }
5651                 [NoAccessorMethod]
5652                 public bool is_focus { get; set; }
5653                 public string name { get; set; }
5654                 public bool no_show_all { get; set; }
5655                 public Gtk.Container parent { get; set; }
5656                 public bool receives_default { get; set; }
5657                 public bool sensitive { get; set; }
5658                 public Gtk.Style style { get; set; }
5659                 public string tooltip_markup { get; set; }
5660                 public string tooltip_text { get; set; }
5661                 public bool visible { get; set; }
5662                 [NoAccessorMethod]
5663                 public int width_request { get; set; }
5664                 public virtual signal void accel_closures_changed ();
5665                 public virtual signal bool button_press_event (Gdk.EventButton event);
5666                 public virtual signal bool button_release_event (Gdk.EventButton event);
5667                 [HasEmitter]
5668                 public virtual signal bool can_activate_accel (uint signal_id);
5669                 [HasEmitter]
5670                 public virtual signal void child_notify (GLib.ParamSpec pspec);
5671                 public virtual signal bool client_event (Gdk.EventClient event);
5672                 public virtual signal void composited_changed ();
5673                 public virtual signal bool configure_event (Gdk.EventConfigure event);
5674                 public virtual signal bool damage_event (Gdk.Event p0);
5675                 public virtual signal bool delete_event (Gdk.Event event);
5676                 public virtual signal bool destroy_event (Gdk.Event event);
5677                 public virtual signal void direction_changed (Gtk.TextDirection previous_direction);
5678                 public virtual signal void drag_begin (Gdk.DragContext context);
5679                 public virtual signal void drag_data_delete (Gdk.DragContext context);
5680                 public virtual signal void drag_data_get (Gdk.DragContext context, Gtk.SelectionData selection_data, uint info, uint time_);
5681                 public virtual signal void drag_data_received (Gdk.DragContext context, int x, int y, Gtk.SelectionData selection_data, uint info, uint time_);
5682                 public virtual signal bool drag_drop (Gdk.DragContext context, int x, int y, uint time_);
5683                 public virtual signal void drag_end (Gdk.DragContext context);
5684                 public virtual signal bool drag_failed (Gdk.DragContext p0, Gtk.DragResult p1);
5685                 public virtual signal void drag_leave (Gdk.DragContext context, uint time_);
5686                 public virtual signal bool drag_motion (Gdk.DragContext context, int x, int y, uint time_);
5687                 public virtual signal bool enter_notify_event (Gdk.EventCrossing event);
5688                 [HasEmitter]
5689                 public virtual signal bool event (Gdk.Event event);
5690                 public virtual signal void event_after (Gdk.Event p0);
5691                 public virtual signal bool expose_event (Gdk.EventExpose event);
5692                 public virtual signal bool focus (Gtk.DirectionType direction);
5693                 public virtual signal bool focus_in_event (Gdk.EventFocus event);
5694                 public virtual signal bool focus_out_event (Gdk.EventFocus event);
5695                 public virtual signal bool grab_broken_event (Gdk.Event event);
5696                 [HasEmitter]
5697                 public virtual signal void grab_focus ();
5698                 public virtual signal void grab_notify (bool was_grabbed);
5699                 [HasEmitter]
5700                 public virtual signal void hide ();
5701                 public virtual signal void hierarchy_changed (Gtk.Widget? previous_toplevel);
5702                 public virtual signal bool key_press_event (Gdk.EventKey event);
5703                 public virtual signal bool key_release_event (Gdk.EventKey event);
5704                 [HasEmitter]
5705                 public virtual signal bool keynav_failed (Gtk.DirectionType p0);
5706                 public virtual signal bool leave_notify_event (Gdk.EventCrossing event);
5707                 [HasEmitter]
5708                 public virtual signal void map ();
5709                 public virtual signal bool map_event (Gdk.Event event);
5710                 [HasEmitter]
5711                 public virtual signal bool mnemonic_activate (bool group_cycling);
5712                 public virtual signal bool motion_notify_event (Gdk.EventMotion event);
5713                 public virtual signal void move_focus (Gtk.DirectionType p0);
5714                 public virtual signal bool no_expose_event (Gdk.EventNoExpose event);
5715                 public virtual signal void parent_set (Gtk.Widget? previous_parent);
5716                 public virtual signal bool popup_menu ();
5717                 public virtual signal bool property_notify_event (Gdk.EventProperty event);
5718                 public virtual signal bool proximity_in_event (Gdk.EventProximity event);
5719                 public virtual signal bool proximity_out_event (Gdk.EventProximity event);
5720                 public virtual signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
5721                 [HasEmitter]
5722                 public virtual signal void realize ();
5723                 public virtual signal void screen_changed (Gdk.Screen previous_screen);
5724                 public virtual signal bool scroll_event (Gdk.EventScroll event);
5725                 public virtual signal bool selection_clear_event (Gdk.EventSelection event);
5726                 public virtual signal void selection_get (Gtk.SelectionData selection_data, uint info, uint time_);
5727                 public virtual signal bool selection_notify_event (Gdk.EventSelection event);
5728                 public virtual signal void selection_received (Gtk.SelectionData selection_data, uint time_);
5729                 public virtual signal bool selection_request_event (Gdk.EventSelection event);
5730                 [HasEmitter]
5731                 public virtual signal void show ();
5732                 public virtual signal bool show_help (Gtk.WidgetHelpType help_type);
5733                 [HasEmitter]
5734                 public virtual signal void size_allocate (Gdk.Rectangle allocation);
5735                 [HasEmitter]
5736                 public virtual signal void size_request (out Gtk.Requisition requisition);
5737                 public virtual signal void state_changed (Gtk.StateType previous_state);
5738                 public virtual signal void style_set (Gtk.Style? previous_style);
5739                 [HasEmitter]
5740                 public virtual signal void unmap ();
5741                 public virtual signal bool unmap_event (Gdk.Event event);
5742                 [HasEmitter]
5743                 public virtual signal void unrealize ();
5744                 public virtual signal bool visibility_notify_event (Gdk.Event event);
5745                 public virtual signal bool window_state_event (Gdk.EventWindowState event);
5746         }
5747         [Compact]
5748         [CCode (cheader_filename = "gtk/gtk.h")]
5749         public class WidgetAuxInfo {
5750                 public int height;
5751                 public int width;
5752                 public int x;
5753                 public uint x_set;
5754                 public int y;
5755                 public uint y_set;
5756         }
5757         [Compact]
5758         [CCode (cheader_filename = "gtk/gtk.h")]
5759         public class WidgetShapeInfo {
5760                 public int16 offset_x;
5761                 public int16 offset_y;
5762                 public weak Gdk.Bitmap shape_mask;
5763         }
5764         [CCode (cheader_filename = "gtk/gtk.h")]
5765         public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
5766                 public uint configure_notify_received;
5767                 public uint16 configure_request_count;
5768                 public weak Gtk.Widget default_widget;
5769                 public weak Gtk.Widget focus_widget;
5770                 public weak Gdk.Window frame;
5771                 public uint frame_bottom;
5772                 public uint frame_left;
5773                 public uint frame_right;
5774                 public uint frame_top;
5775                 public weak Gtk.WindowGeometryInfo geometry_info;
5776                 public weak Gtk.WindowGroup group;
5777                 public uint has_focus;
5778                 public uint has_frame;
5779                 public uint has_user_ref_count;
5780                 public uint iconify_initially;
5781                 public uint keys_changed_handler;
5782                 public uint maximize_initially;
5783                 public Gdk.ModifierType mnemonic_modifier;
5784                 public uint need_default_position;
5785                 public uint need_default_size;
5786                 public uint position;
5787                 public uint stick_initially;
5788                 public weak Gtk.Window transient_parent;
5789                 public weak string wm_role;
5790                 public weak string wmclass_class;
5791                 public weak string wmclass_name;
5792                 [CCode (type = "GtkWidget*", has_construct_function = false)]
5793                 public Window (Gtk.WindowType type = Gtk.WindowType.TOPLEVEL);
5794                 public bool activate_default ();
5795                 public bool activate_focus ();
5796                 public bool activate_key (Gdk.EventKey event);
5797                 public void add_accel_group (Gtk.AccelGroup accel_group);
5798                 public void add_embedded_xid (Gdk.NativeWindow xid);
5799                 public void add_mnemonic (uint keyval, Gtk.Widget target);
5800                 public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
5801                 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
5802                 public void deiconify ();
5803                 public void fullscreen ();
5804                 public bool get_accept_focus ();
5805                 public bool get_decorated ();
5806                 public static GLib.List<weak Gdk.Pixbuf> get_default_icon_list ();
5807                 public static unowned string get_default_icon_name ();
5808                 public void get_default_size (out int width, out int height);
5809                 public unowned Gtk.Widget get_default_widget ();
5810                 public bool get_deletable ();
5811                 public bool get_destroy_with_parent ();
5812                 public unowned Gtk.Widget get_focus ();
5813                 public bool get_focus_on_map ();
5814                 public void get_frame_dimensions (int left, int top, int right, int bottom);
5815                 public Gdk.Gravity get_gravity ();
5816                 public unowned Gtk.WindowGroup get_group ();
5817                 public bool get_has_frame ();
5818                 public unowned Gdk.Pixbuf get_icon ();
5819                 public GLib.List<weak Gdk.Pixbuf> get_icon_list ();
5820                 public unowned string get_icon_name ();
5821                 public Gdk.ModifierType get_mnemonic_modifier ();
5822                 public bool get_mnemonics_visible ();
5823                 public bool get_modal ();
5824                 public double get_opacity ();
5825                 public void get_position (out int root_x, out int root_y);
5826                 public bool get_resizable ();
5827                 public unowned string get_role ();
5828                 public unowned Gdk.Screen get_screen ();
5829                 public void get_size (out int width, out int height);
5830                 public bool get_skip_pager_hint ();
5831                 public bool get_skip_taskbar_hint ();
5832                 public unowned string get_title ();
5833                 public unowned Gtk.Window get_transient_for ();
5834                 public Gdk.WindowTypeHint get_type_hint ();
5835                 public bool get_urgency_hint ();
5836                 public Gtk.WindowType get_window_type ();
5837                 public void iconify ();
5838                 public static GLib.List<weak Gtk.Window> list_toplevels ();
5839                 public void maximize ();
5840                 public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier);
5841                 public void move (int x, int y);
5842                 [NoWrapper]
5843                 public virtual void move_focus (Gtk.DirectionType direction);
5844                 public bool parse_geometry (string geometry);
5845                 public void present ();
5846                 public void present_with_time (uint32 timestamp);
5847                 public bool propagate_key_event (Gdk.EventKey event);
5848                 public void remove_accel_group (Gtk.AccelGroup accel_group);
5849                 public void remove_embedded_xid (Gdk.NativeWindow xid);
5850                 public void remove_mnemonic (uint keyval, Gtk.Widget target);
5851                 public void reshow_with_initial_size ();
5852                 public void resize (int width, int height);
5853                 public void set_accept_focus (bool setting);
5854                 public static void set_auto_startup_notification (bool setting);
5855                 public void set_decorated (bool setting);
5856                 public void set_default (Gtk.Widget default_widget);
5857                 public static void set_default_icon (Gdk.Pixbuf icon);
5858                 public static bool set_default_icon_from_file (string filename) throws GLib.Error;
5859                 public static void set_default_icon_list (GLib.List<Gdk.Pixbuf> list);
5860                 public static void set_default_icon_name (string name);
5861                 public void set_default_size (int width, int height);
5862                 public void set_deletable (bool setting);
5863                 public void set_destroy_with_parent (bool setting);
5864                 public void set_focus_on_map (bool setting);
5865                 public void set_frame_dimensions (int left, int top, int right, int bottom);
5866                 public void set_geometry_hints (Gtk.Widget geometry_widget, Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
5867                 public void set_gravity (Gdk.Gravity gravity);
5868                 public void set_has_frame (bool setting);
5869                 public void set_icon (Gdk.Pixbuf icon);
5870                 public bool set_icon_from_file (string filename) throws GLib.Error;
5871                 public void set_icon_list (GLib.List<Gdk.Pixbuf> list);
5872                 public void set_icon_name (string name);
5873                 public void set_keep_above (bool setting);
5874                 public void set_keep_below (bool setting);
5875                 public void set_mnemonic_modifier (Gdk.ModifierType modifier);
5876                 public void set_mnemonics_visible (bool setting);
5877                 public void set_modal (bool modal);
5878                 public void set_opacity (double opacity);
5879                 public void set_position (Gtk.WindowPosition position);
5880                 public void set_resizable (bool resizable);
5881                 public void set_role (string role);
5882                 public void set_screen (Gdk.Screen screen);
5883                 public void set_skip_pager_hint (bool setting);
5884                 public void set_skip_taskbar_hint (bool setting);
5885                 public void set_startup_id (string startup_id);
5886                 public void set_title (string title);
5887                 public void set_transient_for (Gtk.Window parent);
5888                 public void set_type_hint (Gdk.WindowTypeHint hint);
5889                 public void set_urgency_hint (bool setting);
5890                 public void set_wmclass (string wmclass_name, string wmclass_class);
5891                 public void stick ();
5892                 public void unfullscreen ();
5893                 public void unmaximize ();
5894                 public void unstick ();
5895                 public bool accept_focus { get; set; }
5896                 [NoAccessorMethod]
5897                 public bool allow_grow { get; set; }
5898                 [NoAccessorMethod]
5899                 public bool allow_shrink { get; set; }
5900                 public bool decorated { get; set; }
5901                 [NoAccessorMethod]
5902                 public int default_height { get; set; }
5903                 [NoAccessorMethod]
5904                 public int default_width { get; set; }
5905                 public bool deletable { get; set; }
5906                 public bool destroy_with_parent { get; set; }
5907                 public bool focus_on_map { get; set; }
5908                 public Gdk.Gravity gravity { get; set; }
5909                 [NoAccessorMethod]
5910                 public bool has_toplevel_focus { get; }
5911                 public Gdk.Pixbuf icon { get; set; }
5912                 public string icon_name { get; set; }
5913                 [NoAccessorMethod]
5914                 public bool is_active { get; }
5915                 public bool mnemonics_visible { get; set; }
5916                 public bool modal { get; set; }
5917                 public double opacity { get; set; }
5918                 public bool resizable { get; set; }
5919                 public string role { get; set; }
5920                 public Gdk.Screen screen { get; set; }
5921                 public bool skip_pager_hint { get; set; }
5922                 public bool skip_taskbar_hint { get; set; }
5923                 public string startup_id { set; }
5924                 public string title { get; set; }
5925                 public Gtk.Window transient_for { get; set construct; }
5926                 [NoAccessorMethod]
5927                 public Gtk.WindowType type { get; construct; }
5928                 public Gdk.WindowTypeHint type_hint { get; set; }
5929                 public bool urgency_hint { get; set; }
5930                 [NoAccessorMethod]
5931                 public Gtk.WindowPosition window_position { get; set; }
5932                 public virtual signal void default_activated ();
5933                 public virtual signal void focus_activated ();
5934                 public virtual signal bool frame_event (Gdk.Event event);
5935                 public virtual signal void keys_changed ();
5936                 [HasEmitter]
5937                 public virtual signal void set_focus (Gtk.Widget? focus);
5938         }
5939         [Compact]
5940         [CCode (cheader_filename = "gtk/gtk.h")]
5941         public class WindowGeometryInfo {
5942         }
5943         [CCode (cheader_filename = "gtk/gtk.h")]
5944         public class WindowGroup : GLib.Object {
5945                 public weak GLib.SList grabs;
5946                 [CCode (has_construct_function = false)]
5947                 public WindowGroup ();
5948                 public void add_window (Gtk.Window window);
5949                 public GLib.List<weak Gtk.Window> list_windows ();
5950                 public void remove_window (Gtk.Window window);
5951         }
5952         [CCode (cheader_filename = "gtk/gtk.h")]
5953         public interface Activatable : GLib.Object {
5954                 public void do_set_related_action (Gtk.Action action);
5955                 public unowned Gtk.Action get_related_action ();
5956                 public bool get_use_action_appearance ();
5957                 public void set_related_action (Gtk.Action action);
5958                 public void set_use_action_appearance (bool use_appearance);
5959                 public abstract void sync_action_properties (Gtk.Action action);
5960                 [NoWrapper]
5961                 public abstract void update (Gtk.Action action, string property_name);
5962                 public Gtk.Action related_action { get; set; }
5963                 public bool use_action_appearance { get; set; }
5964         }
5965         [CCode (cheader_filename = "gtk/gtk.h")]
5966         public interface Buildable {
5967                 public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type);
5968                 public abstract unowned GLib.Object construct_child (Gtk.Builder builder, string name);
5969                 public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
5970                 public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, out void* data);
5971                 public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data);
5972                 public abstract unowned GLib.Object get_internal_child (Gtk.Builder builder, string childname);
5973                 public abstract unowned string get_name ();
5974                 public abstract void parser_finished (Gtk.Builder builder);
5975                 public abstract void set_buildable_property (Gtk.Builder builder, string name, GLib.Value value);
5976                 public abstract void set_name (string name);
5977         }
5978         [CCode (cheader_filename = "gtk/gtk.h")]
5979         public interface CellEditable : Gtk.Widget {
5980                 public abstract void start_editing (Gdk.Event event);
5981                 public bool editing_canceled { get; set; }
5982                 [HasEmitter]
5983                 public signal void editing_done ();
5984                 [HasEmitter]
5985                 public signal void remove_widget ();
5986         }
5987         [CCode (cheader_filename = "gtk/gtk.h")]
5988         public interface CellLayout : GLib.Object {
5989                 public abstract void add_attribute (Gtk.CellRenderer cell, string attribute, int column);
5990                 public abstract void clear ();
5991                 public abstract void clear_attributes (Gtk.CellRenderer cell);
5992                 public abstract GLib.List<weak Gtk.CellRenderer> get_cells ();
5993                 public abstract void pack_end (Gtk.CellRenderer cell, bool expand);
5994                 public abstract void pack_start (Gtk.CellRenderer cell, bool expand);
5995                 public abstract void reorder (Gtk.CellRenderer cell, int position);
5996                 public void set_attributes (Gtk.CellRenderer cell, ...);
5997                 public abstract void set_cell_data_func (Gtk.CellRenderer cell, owned Gtk.CellLayoutDataFunc func);
5998         }
5999         [CCode (cheader_filename = "gtk/gtk.h")]
6000         public interface Editable {
6001                 public void copy_clipboard ();
6002                 public void cut_clipboard ();
6003                 public void delete_selection ();
6004                 [NoWrapper]
6005                 public abstract void do_delete_text (int start_pos, int end_pos);
6006                 [NoWrapper]
6007                 public abstract void do_insert_text (string text, int length, int position);
6008                 public abstract unowned string get_chars (int start_pos, int end_pos);
6009                 public bool get_editable ();
6010                 public abstract int get_position ();
6011                 public abstract bool get_selection_bounds (int start_pos, int end_pos);
6012                 public void paste_clipboard ();
6013                 [CCode (vfunc_name = "set_selection_bounds")]
6014                 public abstract void select_region (int start_pos, int end_pos);
6015                 public void set_editable (bool is_editable);
6016                 public abstract void set_position (int position);
6017                 public signal void changed ();
6018                 [HasEmitter]
6019                 public signal void delete_text (int start_pos, int end_pos);
6020                 [HasEmitter]
6021                 public signal void insert_text (string text, int length, void* position);
6022         }
6023         [CCode (cheader_filename = "gtk/gtk.h")]
6024         public interface FileChooser : Gtk.Widget {
6025                 public void add_filter (Gtk.FileFilter filter);
6026                 public bool add_shortcut_folder (string folder) throws GLib.Error;
6027                 public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
6028                 public static GLib.Quark error_quark ();
6029                 public Gtk.FileChooserAction get_action ();
6030                 public bool get_create_folders ();
6031                 public string get_current_folder ();
6032                 public unowned GLib.File get_current_folder_file ();
6033                 public string get_current_folder_uri ();
6034                 public bool get_do_overwrite_confirmation ();
6035                 public unowned Gtk.Widget get_extra_widget ();
6036                 public unowned GLib.File get_file ();
6037                 public string get_filename ();
6038                 public GLib.SList<string> get_filenames ();
6039                 public GLib.SList<GLib.File> get_files ();
6040                 public unowned Gtk.FileFilter get_filter ();
6041                 public bool get_local_only ();
6042                 public unowned GLib.File get_preview_file ();
6043                 public string get_preview_filename ();
6044                 public string get_preview_uri ();
6045                 public unowned Gtk.Widget get_preview_widget ();
6046                 public bool get_preview_widget_active ();
6047                 public bool get_select_multiple ();
6048                 public bool get_show_hidden ();
6049                 public string get_uri ();
6050                 public GLib.SList<string> get_uris ();
6051                 public bool get_use_preview_label ();
6052                 public GLib.SList<weak Gtk.FileFilter> list_filters ();
6053                 public GLib.SList<string>? list_shortcut_folder_uris ();
6054                 public GLib.SList<string>? list_shortcut_folders ();
6055                 public void remove_filter (Gtk.FileFilter filter);
6056                 public bool remove_shortcut_folder (string folder) throws GLib.Error;
6057                 public bool remove_shortcut_folder_uri (string uri) throws GLib.Error;
6058                 public void select_all ();
6059                 public bool select_file (GLib.File file) throws GLib.Error;
6060                 public bool select_filename (string filename);
6061                 public bool select_uri (string uri);
6062                 public void set_action (Gtk.FileChooserAction action);
6063                 public void set_create_folders (bool create_folders);
6064                 public bool set_current_folder (string filename);
6065                 public bool set_current_folder_file (GLib.File file) throws GLib.Error;
6066                 public bool set_current_folder_uri (string uri);
6067                 public void set_current_name (string name);
6068                 public void set_do_overwrite_confirmation (bool do_overwrite_confirmation);
6069                 public void set_extra_widget (Gtk.Widget extra_widget);
6070                 public bool set_file (GLib.File file) throws GLib.Error;
6071                 public bool set_filename (string filename);
6072                 public void set_filter (Gtk.FileFilter filter);
6073                 public void set_local_only (bool local_only);
6074                 public void set_preview_widget (Gtk.Widget preview_widget);
6075                 public void set_preview_widget_active (bool active);
6076                 public void set_select_multiple (bool select_multiple);
6077                 public void set_show_hidden (bool show_hidden);
6078                 public bool set_uri (string uri);
6079                 public void set_use_preview_label (bool use_label);
6080                 public void unselect_all ();
6081                 public void unselect_file (GLib.File file);
6082                 public void unselect_filename (string filename);
6083                 public void unselect_uri (string uri);
6084                 public Gtk.FileChooserAction action { get; set; }
6085                 public bool create_folders { get; set; }
6086                 public bool do_overwrite_confirmation { get; set; }
6087                 public Gtk.Widget extra_widget { get; set; }
6088                 public string file_system_backend { construct; }
6089                 public Gtk.FileFilter filter { get; set; }
6090                 public bool local_only { get; set; }
6091                 public Gtk.Widget preview_widget { get; set; }
6092                 public bool preview_widget_active { get; set; }
6093                 public bool select_multiple { get; set; }
6094                 public bool show_hidden { get; set; }
6095                 public bool use_preview_label { get; set; }
6096                 public signal Gtk.FileChooserConfirmation confirm_overwrite ();
6097                 public signal void current_folder_changed ();
6098                 public signal void file_activated ();
6099                 public signal void selection_changed ();
6100                 public signal void update_preview ();
6101         }
6102         [CCode (cheader_filename = "gtk/gtk.h")]
6103         public interface FileChooserEmbed {
6104         }
6105         [CCode (cheader_filename = "gtk/gtk.h")]
6106         public interface Orientable {
6107                 public Gtk.Orientation get_orientation ();
6108                 public void set_orientation (Gtk.Orientation orientation);
6109         }
6110         [CCode (cheader_filename = "gtk/gtk.h")]
6111         public interface PrintOperationPreview : GLib.Object {
6112                 public abstract void end_preview ();
6113                 public abstract bool is_selected (int page_nr);
6114                 public abstract void render_page (int page_nr);
6115                 public signal void got_page_size (Gtk.PrintContext context, Gtk.PageSetup page_setup);
6116                 public signal void ready (Gtk.PrintContext context);
6117         }
6118         [CCode (cheader_filename = "gtk/gtk.h")]
6119         public interface RecentChooser : GLib.Object {
6120                 public abstract void add_filter (Gtk.RecentFilter filter);
6121                 public static GLib.Quark error_quark ();
6122                 public unowned Gtk.RecentInfo get_current_item ();
6123                 public abstract unowned string get_current_uri ();
6124                 public unowned Gtk.RecentFilter get_filter ();
6125                 public abstract GLib.List<Gtk.RecentInfo> get_items ();
6126                 public int get_limit ();
6127                 public bool get_local_only ();
6128                 [NoWrapper]
6129                 public abstract unowned Gtk.RecentManager get_recent_manager ();
6130                 public bool get_select_multiple ();
6131                 public bool get_show_icons ();
6132                 public bool get_show_not_found ();
6133                 public bool get_show_private ();
6134                 public bool get_show_tips ();
6135                 public Gtk.RecentSortType get_sort_type ();
6136                 public unowned string get_uris (size_t length);
6137                 public abstract GLib.SList<weak Gtk.RecentFilter> list_filters ();
6138                 public abstract void remove_filter (Gtk.RecentFilter filter);
6139                 public abstract void select_all ();
6140                 public abstract bool select_uri (string uri) throws GLib.Error;
6141                 public abstract bool set_current_uri (string uri) throws GLib.Error;
6142                 public void set_filter (Gtk.RecentFilter filter);
6143                 public void set_limit (int limit);
6144                 public void set_local_only (bool local_only);
6145                 public void set_select_multiple (bool select_multiple);
6146                 public void set_show_icons (bool show_icons);
6147                 public void set_show_not_found (bool show_not_found);
6148                 public void set_show_private (bool show_private);
6149                 public void set_show_tips (bool show_tips);
6150                 public abstract void set_sort_func (owned Gtk.RecentSortFunc sort_func);
6151                 public void set_sort_type (Gtk.RecentSortType sort_type);
6152                 public abstract void unselect_all ();
6153                 public abstract void unselect_uri (string uri);
6154                 public Gtk.RecentFilter filter { get; set; }
6155                 public int limit { get; set; }
6156                 public bool local_only { get; set; }
6157                 public Gtk.RecentManager recent_manager { construct; }
6158                 public bool select_multiple { get; set; }
6159                 public bool show_icons { get; set; }
6160                 public bool show_not_found { get; set; }
6161                 public bool show_private { get; set; }
6162                 public bool show_tips { get; set; }
6163                 public Gtk.RecentSortType sort_type { get; set; }
6164                 public signal void item_activated ();
6165                 public signal void selection_changed ();
6166         }
6167         [CCode (cheader_filename = "gtk/gtk.h")]
6168         public interface ToolShell : Gtk.Widget {
6169                 public abstract Pango.EllipsizeMode get_ellipsize_mode ();
6170                 public abstract Gtk.IconSize get_icon_size ();
6171                 public abstract Gtk.Orientation get_orientation ();
6172                 public abstract Gtk.ReliefStyle get_relief_style ();
6173                 public abstract Gtk.ToolbarStyle get_style ();
6174                 public abstract float get_text_alignment ();
6175                 public abstract Gtk.Orientation get_text_orientation ();
6176                 public abstract unowned Gtk.SizeGroup get_text_size_group ();
6177                 public abstract void rebuild_menu ();
6178         }
6179         [CCode (cheader_filename = "gtk/gtk.h")]
6180         public interface TreeDragDest {
6181                 public abstract bool drag_data_received (Gtk.TreePath dest, Gtk.SelectionData selection_data);
6182                 public abstract bool row_drop_possible (Gtk.TreePath dest_path, Gtk.SelectionData selection_data);
6183         }
6184         [CCode (cheader_filename = "gtk/gtk.h")]
6185         public interface TreeDragSource {
6186                 public abstract bool drag_data_delete (Gtk.TreePath path);
6187                 public abstract bool drag_data_get (Gtk.TreePath path, Gtk.SelectionData selection_data);
6188                 public abstract bool row_draggable (Gtk.TreePath path);
6189         }
6190         [CCode (cheader_filename = "gtk/gtk.h")]
6191         public interface TreeModel : GLib.Object {
6192                 public void @foreach (Gtk.TreeModelForeachFunc func);
6193                 [CCode (sentinel = "-1")]
6194                 public void @get (Gtk.TreeIter iter, ...);
6195                 public abstract GLib.Type get_column_type (int index_);
6196                 public abstract Gtk.TreeModelFlags get_flags ();
6197                 public abstract bool get_iter (out Gtk.TreeIter iter, Gtk.TreePath path);
6198                 public bool get_iter_first (out Gtk.TreeIter iter);
6199                 public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
6200                 public abstract int get_n_columns ();
6201                 public abstract Gtk.TreePath get_path (Gtk.TreeIter iter);
6202                 public string get_string_from_iter (Gtk.TreeIter iter);
6203                 public void get_valist (Gtk.TreeIter iter, void* var_args);
6204                 public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
6205                 public abstract bool iter_children (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
6206                 public abstract bool iter_has_child (Gtk.TreeIter iter);
6207                 public abstract int iter_n_children (Gtk.TreeIter? iter);
6208                 public abstract bool iter_next (ref Gtk.TreeIter iter);
6209                 public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
6210                 public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
6211                 public abstract void ref_node (Gtk.TreeIter iter);
6212                 public abstract void unref_node (Gtk.TreeIter iter);
6213                 [HasEmitter]
6214                 public signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter);
6215                 [HasEmitter]
6216                 public signal void row_deleted (Gtk.TreePath path);
6217                 [HasEmitter]
6218                 public signal void row_has_child_toggled (Gtk.TreePath path, Gtk.TreeIter iter);
6219                 [HasEmitter]
6220                 public signal void row_inserted (Gtk.TreePath path, Gtk.TreeIter iter);
6221                 [HasEmitter]
6222                 public signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter iter, void* new_order);
6223         }
6224         [CCode (cheader_filename = "gtk/gtk.h")]
6225         public interface TreeSortable : Gtk.TreeModel, GLib.Object {
6226                 public abstract bool get_sort_column_id (out int sort_column_id, out Gtk.SortType order);
6227                 public abstract bool has_default_sort_func ();
6228                 public abstract void set_default_sort_func (owned Gtk.TreeIterCompareFunc sort_func);
6229                 public abstract void set_sort_column_id (int sort_column_id, Gtk.SortType order);
6230                 public abstract void set_sort_func (int sort_column_id, owned Gtk.TreeIterCompareFunc sort_func);
6231                 [HasEmitter]
6232                 public signal void sort_column_changed ();
6233         }
6234         [CCode (type_id = "GTK_TYPE_ACCEL_KEY", cheader_filename = "gtk/gtk.h")]
6235         public struct AccelKey {
6236                 public uint accel_key;
6237                 public Gdk.ModifierType accel_mods;
6238                 public uint accel_flags;
6239         }
6240         [CCode (type_id = "GTK_TYPE_ACTION_ENTRY", cheader_filename = "gtk/gtk.h")]
6241         public struct ActionEntry {
6242                 public weak string name;
6243                 public weak string stock_id;
6244                 public weak string label;
6245                 public weak string accelerator;
6246                 public weak string tooltip;
6247                 [CCode (type = "GCallback")]
6248                 public Gtk.ActionCallback callback;
6249         }
6250         [CCode (type_id = "GTK_TYPE_ALLOCATION", cheader_filename = "gtk/gtk.h")]
6251         public struct Allocation {
6252                 public int x;
6253                 public int y;
6254                 public int width;
6255                 public int height;
6256         }
6257         [CCode (type_id = "GTK_TYPE_IM_CONTEXT_INFO", cheader_filename = "gtk/gtk.h")]
6258         public struct IMContextInfo {
6259                 public weak string context_id;
6260                 public weak string context_name;
6261                 public weak string domain;
6262                 public weak string domain_dirname;
6263                 public weak string default_locales;
6264         }
6265         [CCode (type_id = "GTK_TYPE_RADIO_ACTION_ENTRY", cheader_filename = "gtk/gtk.h")]
6266         public struct RadioActionEntry {
6267                 public weak string name;
6268                 public weak string stock_id;
6269                 public weak string label;
6270                 public weak string accelerator;
6271                 public weak string tooltip;
6272                 public int value;
6273         }
6274         [CCode (type_id = "GTK_TYPE_RECENT_DATA", has_copy_function = false, has_destroy_function = false, cheader_filename = "gtk/gtk.h")]
6275         public struct RecentData {
6276                 public string display_name;
6277                 public string description;
6278                 public string mime_type;
6279                 public string app_name;
6280                 public string app_exec;
6281                 [CCode (array_length = false, array_null_terminated = true)]
6282                 public string[] groups;
6283                 public bool is_private;
6284         }
6285         [CCode (type_id = "GTK_TYPE_REQUISITION", cheader_filename = "gtk/gtk.h")]
6286         public struct Requisition {
6287                 public int width;
6288                 public int height;
6289                 public Gtk.Requisition copy ();
6290                 public void free ();
6291         }
6292         [CCode (type_id = "GTK_TYPE_STOCK_ITEM", cheader_filename = "gtk/gtk.h")]
6293         public struct StockItem {
6294                 public weak string stock_id;
6295                 public weak string label;
6296                 public Gdk.ModifierType modifier;
6297                 public uint keyval;
6298                 public weak string translation_domain;
6299                 public Gtk.StockItem copy ();
6300                 public void free ();
6301         }
6302         [CCode (type_id = "GTK_TYPE_TARGET_ENTRY", cheader_filename = "gtk/gtk.h")]
6303         public struct TargetEntry {
6304                 public weak string target;
6305                 public uint flags;
6306                 public uint info;
6307         }
6308         [CCode (type_id = "GTK_TYPE_TEXT_ITER", cheader_filename = "gtk/gtk.h")]
6309         public struct TextIter {
6310                 public void* dummy1;
6311                 public void* dummy2;
6312                 public int dummy3;
6313                 public int dummy4;
6314                 public int dummy5;
6315                 public int dummy6;
6316                 public int dummy7;
6317                 public int dummy8;
6318                 public void* dummy9;
6319                 public void* dummy10;
6320                 public int dummy11;
6321                 public int dummy12;
6322                 public int dummy13;
6323                 public void* dummy14;
6324                 public bool backward_char ();
6325                 public bool backward_chars (int count);
6326                 public bool backward_cursor_position ();
6327                 public bool backward_cursor_positions (int count);
6328                 public bool backward_find_char (Gtk.TextCharPredicate pred, Gtk.TextIter limit);
6329                 public bool backward_line ();
6330                 public bool backward_lines (int count);
6331                 public bool backward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
6332                 public bool backward_sentence_start ();
6333                 public bool backward_sentence_starts (int count);
6334                 public bool backward_to_tag_toggle (Gtk.TextTag? tag);
6335                 public bool backward_visible_cursor_position ();
6336                 public bool backward_visible_cursor_positions (int count);
6337                 public bool backward_visible_line ();
6338                 public bool backward_visible_lines (int count);
6339                 public bool backward_visible_word_start ();
6340                 public bool backward_visible_word_starts (int count);
6341                 public bool backward_word_start ();
6342                 public bool backward_word_starts (int count);
6343                 public bool begins_tag (Gtk.TextTag tag);
6344                 public bool can_insert (bool default_editability);
6345                 public int compare (Gtk.TextIter rhs);
6346                 public Gtk.TextIter copy ();
6347                 public bool editable (bool default_setting);
6348                 public bool ends_line ();
6349                 public bool ends_sentence ();
6350                 public bool ends_tag (Gtk.TextTag tag);
6351                 public bool ends_word ();
6352                 public bool equal (Gtk.TextIter rhs);
6353                 public bool forward_char ();
6354                 public bool forward_chars (int count);
6355                 public bool forward_cursor_position ();
6356                 public bool forward_cursor_positions (int count);
6357                 public bool forward_find_char (Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
6358                 public bool forward_line ();
6359                 public bool forward_lines (int count);
6360                 public bool forward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
6361                 public bool forward_sentence_end ();
6362                 public bool forward_sentence_ends (int count);
6363                 public void forward_to_end ();
6364                 public bool forward_to_line_end ();
6365                 public bool forward_to_tag_toggle (Gtk.TextTag? tag);
6366                 public bool forward_visible_cursor_position ();
6367                 public bool forward_visible_cursor_positions (int count);
6368                 public bool forward_visible_line ();
6369                 public bool forward_visible_lines (int count);
6370                 public bool forward_visible_word_end ();
6371                 public bool forward_visible_word_ends (int count);
6372                 public bool forward_word_end ();
6373                 public bool forward_word_ends (int count);
6374                 public void free ();
6375                 public bool get_attributes (Gtk.TextAttributes values);
6376                 public unowned Gtk.TextBuffer get_buffer ();
6377                 public int get_bytes_in_line ();
6378                 public unichar get_char ();
6379                 public int get_chars_in_line ();
6380                 public unowned Gtk.TextChildAnchor get_child_anchor ();
6381                 public unowned Pango.Language get_language ();
6382                 public int get_line ();
6383                 public int get_line_index ();
6384                 public int get_line_offset ();
6385                 public GLib.SList<weak Gtk.TextMark> get_marks ();
6386                 public int get_offset ();
6387                 public unowned Gdk.Pixbuf get_pixbuf ();
6388                 public unowned string get_slice (Gtk.TextIter end);
6389                 public GLib.SList<weak Gtk.TextTag> get_tags ();
6390                 public unowned string get_text (Gtk.TextIter end);
6391                 public GLib.SList<weak Gtk.TextTag> get_toggled_tags (bool toggled_on);
6392                 public int get_visible_line_index ();
6393                 public int get_visible_line_offset ();
6394                 public unowned string get_visible_slice (Gtk.TextIter end);
6395                 public unowned string get_visible_text (Gtk.TextIter end);
6396                 public bool has_tag (Gtk.TextTag tag);
6397                 public bool in_range (Gtk.TextIter start, Gtk.TextIter end);
6398                 public bool inside_sentence ();
6399                 public bool inside_word ();
6400                 public bool is_cursor_position ();
6401                 public bool is_end ();
6402                 public bool is_start ();
6403                 public void order (Gtk.TextIter second);
6404                 public void set_line (int line_number);
6405                 public void set_line_index (int byte_on_line);
6406                 public void set_line_offset (int char_on_line);
6407                 public void set_offset (int char_offset);
6408                 public void set_visible_line_index (int byte_on_line);
6409                 public void set_visible_line_offset (int char_on_line);
6410                 public bool starts_line ();
6411                 public bool starts_sentence ();
6412                 public bool starts_word ();
6413                 public bool toggles_tag (Gtk.TextTag tag);
6414         }
6415         [CCode (type_id = "GTK_TYPE_TOGGLE_ACTION_ENTRY", cheader_filename = "gtk/gtk.h")]
6416         public struct ToggleActionEntry {
6417                 public weak string name;
6418                 public weak string stock_id;
6419                 public weak string label;
6420                 public weak string accelerator;
6421                 public weak string tooltip;
6422                 [CCode (type = "GCallback")]
6423                 public Gtk.ActionCallback callback;
6424                 public bool is_active;
6425         }
6426         [CCode (type_id = "GTK_TYPE_TREE_ITER", cheader_filename = "gtk/gtk.h")]
6427         public struct TreeIter {
6428                 public int stamp;
6429                 public void* user_data;
6430                 public void* user_data2;
6431                 public void* user_data3;
6432         }
6433         [CCode (cprefix = "GTK_ACCEL_", cheader_filename = "gtk/gtk.h")]
6434         [Flags]
6435         public enum AccelFlags {
6436                 VISIBLE,
6437                 LOCKED,
6438                 MASK
6439         }
6440         [CCode (cprefix = "GTK_ANCHOR_", cheader_filename = "gtk/gtk.h")]
6441         public enum AnchorType {
6442                 CENTER,
6443                 NORTH,
6444                 NORTH_WEST,
6445                 NORTH_EAST,
6446                 SOUTH,
6447                 SOUTH_WEST,
6448                 SOUTH_EAST,
6449                 WEST,
6450                 EAST,
6451                 N,
6452                 NW,
6453                 NE,
6454                 S,
6455                 SW,
6456                 SE,
6457                 W,
6458                 E
6459         }
6460         [CCode (cprefix = "GTK_ARG_", cheader_filename = "gtk/gtk.h")]
6461         [Flags]
6462         public enum ArgFlags {
6463                 READABLE,
6464                 WRITABLE,
6465                 CONSTRUCT,
6466                 CONSTRUCT_ONLY,
6467                 CHILD_ARG
6468         }
6469         [CCode (cprefix = "GTK_ARROWS_", cheader_filename = "gtk/gtk.h")]
6470         public enum ArrowPlacement {
6471                 BOTH,
6472                 START,
6473                 END
6474         }
6475         [CCode (cprefix = "GTK_ARROW_", cheader_filename = "gtk/gtk.h")]
6476         public enum ArrowType {
6477                 UP,
6478                 DOWN,
6479                 LEFT,
6480                 RIGHT,
6481                 NONE
6482         }
6483         [CCode (cprefix = "GTK_ASSISTANT_PAGE_", cheader_filename = "gtk/gtk.h")]
6484         public enum AssistantPageType {
6485                 CONTENT,
6486                 INTRO,
6487                 CONFIRM,
6488                 SUMMARY,
6489                 PROGRESS
6490         }
6491         [CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
6492         [Flags]
6493         public enum AttachOptions {
6494                 EXPAND,
6495                 SHRINK,
6496                 FILL
6497         }
6498         [CCode (cprefix = "GTK_BUTTON_", cheader_filename = "gtk/gtk.h")]
6499         [Flags]
6500         public enum ButtonAction {
6501                 IGNORED,
6502                 SELECTS,
6503                 DRAGS,
6504                 EXPANDS
6505         }
6506         [CCode (cprefix = "GTK_BUTTONBOX_", cheader_filename = "gtk/gtk.h")]
6507         public enum ButtonBoxStyle {
6508                 DEFAULT_STYLE,
6509                 SPREAD,
6510                 EDGE,
6511                 START,
6512                 END,
6513                 CENTER
6514         }
6515         [CCode (cprefix = "GTK_BUTTONS_", cheader_filename = "gtk/gtk.h")]
6516         public enum ButtonsType {
6517                 NONE,
6518                 OK,
6519                 CLOSE,
6520                 CANCEL,
6521                 YES_NO,
6522                 OK_CANCEL
6523         }
6524         [CCode (cprefix = "GTK_CLIST_DRAG_", cheader_filename = "gtk/gtk.h")]
6525         public enum CListDragPos {
6526                 NONE,
6527                 BEFORE,
6528                 INTO,
6529                 AFTER
6530         }
6531         [CCode (cprefix = "GTK_CTREE_EXPANDER_", cheader_filename = "gtk/gtk.h")]
6532         public enum CTreeExpanderStyle {
6533                 NONE,
6534                 SQUARE,
6535                 TRIANGLE,
6536                 CIRCULAR
6537         }
6538         [CCode (cprefix = "GTK_CTREE_EXPANSION_", cheader_filename = "gtk/gtk.h")]
6539         public enum CTreeExpansionType {
6540                 EXPAND,
6541                 EXPAND_RECURSIVE,
6542                 COLLAPSE,
6543                 COLLAPSE_RECURSIVE,
6544                 TOGGLE,
6545                 TOGGLE_RECURSIVE
6546         }
6547         [CCode (cprefix = "GTK_CTREE_LINES_", cheader_filename = "gtk/gtk.h")]
6548         public enum CTreeLineStyle {
6549                 NONE,
6550                 SOLID,
6551                 DOTTED,
6552                 TABBED
6553         }
6554         [CCode (cprefix = "GTK_CTREE_POS_", cheader_filename = "gtk/gtk.h")]
6555         public enum CTreePos {
6556                 BEFORE,
6557                 AS_CHILD,
6558                 AFTER
6559         }
6560         [CCode (cprefix = "GTK_CALENDAR_", cheader_filename = "gtk/gtk.h")]
6561         [Flags]
6562         public enum CalendarDisplayOptions {
6563                 SHOW_HEADING,
6564                 SHOW_DAY_NAMES,
6565                 NO_MONTH_CHANGE,
6566                 SHOW_WEEK_NUMBERS,
6567                 WEEK_START_MONDAY,
6568                 SHOW_DETAILS
6569         }
6570         [CCode (cprefix = "GTK_CELL_RENDERER_ACCEL_MODE_", cheader_filename = "gtk/gtk.h")]
6571         public enum CellRendererAccelMode {
6572                 GTK,
6573                 OTHER
6574         }
6575         [CCode (cprefix = "GTK_CELL_RENDERER_MODE_", cheader_filename = "gtk/gtk.h")]
6576         public enum CellRendererMode {
6577                 INERT,
6578                 ACTIVATABLE,
6579                 EDITABLE
6580         }
6581         [CCode (cprefix = "GTK_CELL_RENDERER_", cheader_filename = "gtk/gtk.h")]
6582         [Flags]
6583         public enum CellRendererState {
6584                 SELECTED,
6585                 PRELIT,
6586                 INSENSITIVE,
6587                 SORTED,
6588                 FOCUSED
6589         }
6590         [CCode (cprefix = "GTK_CELL_", cheader_filename = "gtk/gtk.h")]
6591         public enum CellType {
6592                 EMPTY,
6593                 TEXT,
6594                 PIXMAP,
6595                 PIXTEXT,
6596                 WIDGET
6597         }
6598         [CCode (cprefix = "GTK_CORNER_", cheader_filename = "gtk/gtk.h")]
6599         public enum CornerType {
6600                 TOP_LEFT,
6601                 BOTTOM_LEFT,
6602                 TOP_RIGHT,
6603                 BOTTOM_RIGHT
6604         }
6605         [CCode (cprefix = "GTK_CURVE_TYPE_", cheader_filename = "gtk/gtk.h")]
6606         public enum CurveType {
6607                 LINEAR,
6608                 SPLINE,
6609                 FREE
6610         }
6611         [CCode (cprefix = "GTK_DEBUG_", cheader_filename = "gtk/gtk.h")]
6612         [Flags]
6613         public enum DebugFlag {
6614                 MISC,
6615                 PLUGSOCKET,
6616                 TEXT,
6617                 TREE,
6618                 UPDATES,
6619                 KEYBINDINGS,
6620                 MULTIHEAD,
6621                 MODULES,
6622                 GEOMETRY,
6623                 ICONTHEME,
6624                 PRINTING,
6625                 BUILDER
6626         }
6627         [CCode (cprefix = "GTK_DELETE_", cheader_filename = "gtk/gtk.h")]
6628         public enum DeleteType {
6629                 CHARS,
6630                 WORD_ENDS,
6631                 WORDS,
6632                 DISPLAY_LINES,
6633                 DISPLAY_LINE_ENDS,
6634                 PARAGRAPH_ENDS,
6635                 PARAGRAPHS,
6636                 WHITESPACE
6637         }
6638         [CCode (cprefix = "GTK_DEST_DEFAULT_", cheader_filename = "gtk/gtk.h")]
6639         [Flags]
6640         public enum DestDefaults {
6641                 MOTION,
6642                 HIGHLIGHT,
6643                 DROP,
6644                 ALL
6645         }
6646         [CCode (cprefix = "GTK_DIALOG_", cheader_filename = "gtk/gtk.h")]
6647         [Flags]
6648         public enum DialogFlags {
6649                 MODAL,
6650                 DESTROY_WITH_PARENT,
6651                 NO_SEPARATOR
6652         }
6653         [CCode (cprefix = "GTK_DIR_", cheader_filename = "gtk/gtk.h")]
6654         public enum DirectionType {
6655                 TAB_FORWARD,
6656                 TAB_BACKWARD,
6657                 UP,
6658                 DOWN,
6659                 LEFT,
6660                 RIGHT
6661         }
6662         [CCode (cprefix = "GTK_DRAG_RESULT_", cheader_filename = "gtk/gtk.h")]
6663         public enum DragResult {
6664                 SUCCESS,
6665                 NO_TARGET,
6666                 USER_CANCELLED,
6667                 TIMEOUT_EXPIRED,
6668                 GRAB_BROKEN,
6669                 ERROR
6670         }
6671         [CCode (cprefix = "GTK_ENTRY_ICON_", cheader_filename = "gtk/gtk.h")]
6672         public enum EntryIconPosition {
6673                 PRIMARY,
6674                 SECONDARY
6675         }
6676         [CCode (cprefix = "GTK_EXPANDER_", cheader_filename = "gtk/gtk.h")]
6677         public enum ExpanderStyle {
6678                 COLLAPSED,
6679                 SEMI_COLLAPSED,
6680                 SEMI_EXPANDED,
6681                 EXPANDED
6682         }
6683         [CCode (cprefix = "GTK_FILE_CHOOSER_ACTION_", cheader_filename = "gtk/gtk.h")]
6684         public enum FileChooserAction {
6685                 OPEN,
6686                 SAVE,
6687                 SELECT_FOLDER,
6688                 CREATE_FOLDER
6689         }
6690         [CCode (cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_", cheader_filename = "gtk/gtk.h")]
6691         public enum FileChooserConfirmation {
6692                 CONFIRM,
6693                 ACCEPT_FILENAME,
6694                 SELECT_AGAIN
6695         }
6696         [CCode (cprefix = "GTK_FILE_CHOOSER_ERROR_", cheader_filename = "gtk/gtk.h")]
6697         public enum FileChooserError {
6698                 NONEXISTENT,
6699                 BAD_FILENAME,
6700                 ALREADY_EXISTS,
6701                 INCOMPLETE_HOSTNAME
6702         }
6703         [CCode (cprefix = "GTK_FILE_FILTER_", cheader_filename = "gtk/gtk.h")]
6704         [Flags]
6705         public enum FileFilterFlags {
6706                 FILENAME,
6707                 URI,
6708                 DISPLAY_NAME,
6709                 MIME_TYPE
6710         }
6711         [CCode (cprefix = "GTK_IM_PREEDIT_", cheader_filename = "gtk/gtk.h")]
6712         public enum IMPreeditStyle {
6713                 NOTHING,
6714                 CALLBACK,
6715                 NONE
6716         }
6717         [CCode (cprefix = "GTK_IM_STATUS_", cheader_filename = "gtk/gtk.h")]
6718         public enum IMStatusStyle {
6719                 NOTHING,
6720                 CALLBACK,
6721                 NONE
6722         }
6723         [CCode (cprefix = "GTK_ICON_LOOKUP_", cheader_filename = "gtk/gtk.h")]
6724         [Flags]
6725         public enum IconLookupFlags {
6726                 NO_SVG,
6727                 FORCE_SVG,
6728                 USE_BUILTIN,
6729                 GENERIC_FALLBACK,
6730                 FORCE_SIZE
6731         }
6732         [CCode (cprefix = "GTK_ICON_SIZE_", cheader_filename = "gtk/gtk.h")]
6733         public enum IconSize {
6734                 INVALID,
6735                 MENU,
6736                 SMALL_TOOLBAR,
6737                 LARGE_TOOLBAR,
6738                 BUTTON,
6739                 DND,
6740                 DIALOG
6741         }
6742         [CCode (cprefix = "GTK_ICON_THEME_", cheader_filename = "gtk/gtk.h")]
6743         public enum IconThemeError {
6744                 NOT_FOUND,
6745                 FAILED
6746         }
6747         [CCode (cprefix = "GTK_ICON_VIEW_", cheader_filename = "gtk/gtk.h")]
6748         public enum IconViewDropPosition {
6749                 NO_DROP,
6750                 DROP_INTO,
6751                 DROP_LEFT,
6752                 DROP_RIGHT,
6753                 DROP_ABOVE,
6754                 DROP_BELOW
6755         }
6756         [CCode (cprefix = "GTK_IMAGE_", cheader_filename = "gtk/gtk.h")]
6757         public enum ImageType {
6758                 EMPTY,
6759                 PIXMAP,
6760                 IMAGE,
6761                 PIXBUF,
6762                 STOCK,
6763                 ICON_SET,
6764                 ANIMATION,
6765                 ICON_NAME,
6766                 GICON
6767         }
6768         [CCode (cprefix = "GTK_JUSTIFY_", cheader_filename = "gtk/gtk.h")]
6769         public enum Justification {
6770                 LEFT,
6771                 RIGHT,
6772                 CENTER,
6773                 FILL
6774         }
6775         [CCode (cprefix = "GTK_MATCH_", cheader_filename = "gtk/gtk.h")]
6776         public enum MatchType {
6777                 ALL,
6778                 ALL_TAIL,
6779                 HEAD,
6780                 TAIL,
6781                 EXACT,
6782                 LAST
6783         }
6784         [CCode (cprefix = "GTK_MENU_DIR_", cheader_filename = "gtk/gtk.h")]
6785         public enum MenuDirectionType {
6786                 PARENT,
6787                 CHILD,
6788                 NEXT,
6789                 PREV
6790         }
6791         [CCode (cprefix = "GTK_MESSAGE_", cheader_filename = "gtk/gtk.h")]
6792         public enum MessageType {
6793                 INFO,
6794                 WARNING,
6795                 QUESTION,
6796                 ERROR,
6797                 OTHER
6798         }
6799         [CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
6800         public enum MetricType {
6801                 PIXELS,
6802                 INCHES,
6803                 CENTIMETERS
6804         }
6805         [CCode (cprefix = "GTK_MOVEMENT_", cheader_filename = "gtk/gtk.h")]
6806         public enum MovementStep {
6807                 LOGICAL_POSITIONS,
6808                 VISUAL_POSITIONS,
6809                 WORDS,
6810                 DISPLAY_LINES,
6811                 DISPLAY_LINE_ENDS,
6812                 PARAGRAPHS,
6813                 PARAGRAPH_ENDS,
6814                 PAGES,
6815                 BUFFER_ENDS,
6816                 HORIZONTAL_PAGES
6817         }
6818         [CCode (cprefix = "GTK_NOTEBOOK_TAB_", cheader_filename = "gtk/gtk.h")]
6819         public enum NotebookTab {
6820                 FIRST,
6821                 LAST
6822         }
6823         [CCode (cprefix = "GTK_NUMBER_UP_LAYOUT_", cheader_filename = "gtk/gtk.h")]
6824         public enum NumberUpLayout {
6825                 LEFT_TO_RIGHT_TOP_TO_BOTTOM,
6826                 LEFT_TO_RIGHT_BOTTOM_TO_TOP,
6827                 RIGHT_TO_LEFT_TOP_TO_BOTTOM,
6828                 RIGHT_TO_LEFT_BOTTOM_TO_TOP,
6829                 TOP_TO_BOTTOM_LEFT_TO_RIGHT,
6830                 TOP_TO_BOTTOM_RIGHT_TO_LEFT,
6831                 BOTTOM_TO_TOP_LEFT_TO_RIGHT,
6832                 BOTTOM_TO_TOP_RIGHT_TO_LEFT
6833         }
6834         [CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
6835         [Flags]
6836         public enum ObjectFlags {
6837                 IN_DESTRUCTION,
6838                 FLOATING,
6839                 RESERVED_1,
6840                 RESERVED_2
6841         }
6842         [CCode (cprefix = "GTK_ORIENTATION_", cheader_filename = "gtk/gtk.h")]
6843         public enum Orientation {
6844                 HORIZONTAL,
6845                 VERTICAL
6846         }
6847         [CCode (cprefix = "GTK_PACK_DIRECTION_", cheader_filename = "gtk/gtk.h")]
6848         public enum PackDirection {
6849                 LTR,
6850                 RTL,
6851                 TTB,
6852                 BTT
6853         }
6854         [CCode (cprefix = "GTK_PACK_", cheader_filename = "gtk/gtk.h")]
6855         public enum PackType {
6856                 START,
6857                 END
6858         }
6859         [CCode (cprefix = "GTK_PAGE_ORIENTATION_", cheader_filename = "gtk/gtk.h")]
6860         public enum PageOrientation {
6861                 PORTRAIT,
6862                 LANDSCAPE,
6863                 REVERSE_PORTRAIT,
6864                 REVERSE_LANDSCAPE
6865         }
6866         [CCode (cprefix = "GTK_PAGE_SET_", cheader_filename = "gtk/gtk.h")]
6867         public enum PageSet {
6868                 ALL,
6869                 EVEN,
6870                 ODD
6871         }
6872         [CCode (cprefix = "GTK_PATH_PRIO_", cheader_filename = "gtk/gtk.h")]
6873         public enum PathPriorityType {
6874                 LOWEST,
6875                 GTK,
6876                 APPLICATION,
6877                 THEME,
6878                 RC,
6879                 HIGHEST
6880         }
6881         [CCode (cprefix = "GTK_PATH_", cheader_filename = "gtk/gtk.h")]
6882         public enum PathType {
6883                 WIDGET,
6884                 WIDGET_CLASS,
6885                 CLASS
6886         }
6887         [CCode (cprefix = "GTK_POLICY_", cheader_filename = "gtk/gtk.h")]
6888         public enum PolicyType {
6889                 ALWAYS,
6890                 AUTOMATIC,
6891                 NEVER
6892         }
6893         [CCode (cprefix = "GTK_POS_", cheader_filename = "gtk/gtk.h")]
6894         public enum PositionType {
6895                 LEFT,
6896                 RIGHT,
6897                 TOP,
6898                 BOTTOM
6899         }
6900         [CCode (cprefix = "GTK_PREVIEW_", cheader_filename = "gtk/gtk.h")]
6901         public enum PreviewType {
6902                 COLOR,
6903                 GRAYSCALE
6904         }
6905         [CCode (cprefix = "GTK_PRINT_DUPLEX_", cheader_filename = "gtk/gtk.h")]
6906         public enum PrintDuplex {
6907                 SIMPLEX,
6908                 HORIZONTAL,
6909                 VERTICAL
6910         }
6911         [CCode (cprefix = "GTK_PRINT_ERROR_", cheader_filename = "gtk/gtk.h")]
6912         public enum PrintError {
6913                 GENERAL,
6914                 INTERNAL_ERROR,
6915                 NOMEM,
6916                 INVALID_FILE
6917         }
6918         [CCode (cprefix = "GTK_PRINT_OPERATION_ACTION_", cheader_filename = "gtk/gtk.h")]
6919         public enum PrintOperationAction {
6920                 PRINT_DIALOG,
6921                 PRINT,
6922                 PREVIEW,
6923                 EXPORT
6924         }
6925         [CCode (cprefix = "GTK_PRINT_OPERATION_RESULT_", cheader_filename = "gtk/gtk.h")]
6926         public enum PrintOperationResult {
6927                 ERROR,
6928                 APPLY,
6929                 CANCEL,
6930                 IN_PROGRESS
6931         }
6932         [CCode (cprefix = "GTK_PRINT_PAGES_", cheader_filename = "gtk/gtk.h")]
6933         public enum PrintPages {
6934                 ALL,
6935                 CURRENT,
6936                 RANGES,
6937                 SELECTION
6938         }
6939         [CCode (cprefix = "GTK_PRINT_QUALITY_", cheader_filename = "gtk/gtk.h")]
6940         public enum PrintQuality {
6941                 LOW,
6942                 NORMAL,
6943                 HIGH,
6944                 DRAFT
6945         }
6946         [CCode (cprefix = "GTK_PRINT_STATUS_", cheader_filename = "gtk/gtk.h")]
6947         public enum PrintStatus {
6948                 INITIAL,
6949                 PREPARING,
6950                 GENERATING_DATA,
6951                 SENDING_DATA,
6952                 PENDING,
6953                 PENDING_ISSUE,
6954                 PRINTING,
6955                 FINISHED,
6956                 FINISHED_ABORTED
6957         }
6958         [CCode (cprefix = "PRIVATE_GTK_", cheader_filename = "gtk/gtk.h")]
6959         [Flags]
6960         public enum PrivateFlags {
6961                 USER_STYLE,
6962                 RESIZE_PENDING,
6963                 HAS_POINTER,
6964                 SHADOWED,
6965                 HAS_SHAPE_MASK,
6966                 IN_REPARENT,
6967                 DIRECTION_SET,
6968                 DIRECTION_LTR,
6969                 ANCHORED,
6970                 CHILD_VISIBLE,
6971                 REDRAW_ON_ALLOC,
6972                 ALLOC_NEEDED,
6973                 REQUEST_NEEDED
6974         }
6975         [CCode (cprefix = "GTK_PROGRESS_", cheader_filename = "gtk/gtk.h")]
6976         public enum ProgressBarOrientation {
6977                 LEFT_TO_RIGHT,
6978                 RIGHT_TO_LEFT,
6979                 BOTTOM_TO_TOP,
6980                 TOP_TO_BOTTOM
6981         }
6982         [CCode (cprefix = "GTK_PROGRESS_", cheader_filename = "gtk/gtk.h")]
6983         public enum ProgressBarStyle {
6984                 CONTINUOUS,
6985                 DISCRETE
6986         }
6987         [CCode (cprefix = "GTK_RC_", cheader_filename = "gtk/gtk.h")]
6988         [Flags]
6989         public enum RcFlags {
6990                 FG,
6991                 BG,
6992                 TEXT,
6993                 BASE
6994         }
6995         [CCode (cprefix = "GTK_RC_TOKEN_", cheader_filename = "gtk/gtk.h")]
6996         public enum RcTokenType {
6997                 INVALID,
6998                 INCLUDE,
6999                 NORMAL,
7000                 ACTIVE,
7001                 PRELIGHT,
7002                 SELECTED,
7003                 INSENSITIVE,
7004                 FG,
7005                 BG,
7006                 TEXT,
7007                 BASE,
7008                 XTHICKNESS,
7009                 YTHICKNESS,
7010                 FONT,
7011                 FONTSET,
7012                 FONT_NAME,
7013                 BG_PIXMAP,
7014                 PIXMAP_PATH,
7015                 STYLE,
7016                 BINDING,
7017                 BIND,
7018                 WIDGET,
7019                 WIDGET_CLASS,
7020                 CLASS,
7021                 LOWEST,
7022                 GTK,
7023                 APPLICATION,
7024                 THEME,
7025                 RC,
7026                 HIGHEST,
7027                 ENGINE,
7028                 MODULE_PATH,
7029                 IM_MODULE_PATH,
7030                 IM_MODULE_FILE,
7031                 STOCK,
7032                 LTR,
7033                 RTL,
7034                 COLOR,
7035                 UNBIND,
7036                 LAST
7037         }
7038         [CCode (cprefix = "GTK_RECENT_CHOOSER_ERROR_", cheader_filename = "gtk/gtk.h")]
7039         public enum RecentChooserError {
7040                 NOT_FOUND,
7041                 INVALID_URI
7042         }
7043         [CCode (cprefix = "GTK_RECENT_FILTER_", cheader_filename = "gtk/gtk.h")]
7044         [Flags]
7045         public enum RecentFilterFlags {
7046                 URI,
7047                 DISPLAY_NAME,
7048                 MIME_TYPE,
7049                 APPLICATION,
7050                 GROUP,
7051                 AGE
7052         }
7053         [CCode (cprefix = "GTK_RECENT_MANAGER_ERROR_", cheader_filename = "gtk/gtk.h")]
7054         public enum RecentManagerError {
7055                 NOT_FOUND,
7056                 INVALID_URI,
7057                 INVALID_ENCODING,
7058                 NOT_REGISTERED,
7059                 READ,
7060                 WRITE,
7061                 UNKNOWN
7062         }
7063         [CCode (cprefix = "GTK_RECENT_SORT_", cheader_filename = "gtk/gtk.h")]
7064         public enum RecentSortType {
7065                 NONE,
7066                 MRU,
7067                 LRU,
7068                 CUSTOM
7069         }
7070         [CCode (cprefix = "GTK_RELIEF_", cheader_filename = "gtk/gtk.h")]
7071         public enum ReliefStyle {
7072                 NORMAL,
7073                 HALF,
7074                 NONE
7075         }
7076         [CCode (cprefix = "GTK_RESIZE_", cheader_filename = "gtk/gtk.h")]
7077         public enum ResizeMode {
7078                 PARENT,
7079                 QUEUE,
7080                 IMMEDIATE
7081         }
7082         [CCode (cprefix = "GTK_RESPONSE_", cheader_filename = "gtk/gtk.h")]
7083         public enum ResponseType {
7084                 NONE,
7085                 REJECT,
7086                 ACCEPT,
7087                 DELETE_EVENT,
7088                 OK,
7089                 CANCEL,
7090                 CLOSE,
7091                 YES,
7092                 NO,
7093                 APPLY,
7094                 HELP
7095         }
7096         [CCode (cprefix = "GTK_SCROLL_", cheader_filename = "gtk/gtk.h")]
7097         public enum ScrollStep {
7098                 STEPS,
7099                 PAGES,
7100                 ENDS,
7101                 HORIZONTAL_STEPS,
7102                 HORIZONTAL_PAGES,
7103                 HORIZONTAL_ENDS
7104         }
7105         [CCode (cprefix = "GTK_SCROLL_", cheader_filename = "gtk/gtk.h")]
7106         public enum ScrollType {
7107                 NONE,
7108                 JUMP,
7109                 STEP_BACKWARD,
7110                 STEP_FORWARD,
7111                 PAGE_BACKWARD,
7112                 PAGE_FORWARD,
7113                 STEP_UP,
7114                 STEP_DOWN,
7115                 PAGE_UP,
7116                 PAGE_DOWN,
7117                 STEP_LEFT,
7118                 STEP_RIGHT,
7119                 PAGE_LEFT,
7120                 PAGE_RIGHT,
7121                 START,
7122                 END
7123         }
7124         [CCode (cprefix = "GTK_SELECTION_", cheader_filename = "gtk/gtk.h")]
7125         public enum SelectionMode {
7126                 NONE,
7127                 SINGLE,
7128                 BROWSE,
7129                 MULTIPLE,
7130                 EXTENDED
7131         }
7132         [CCode (cprefix = "GTK_SENSITIVITY_", cheader_filename = "gtk/gtk.h")]
7133         public enum SensitivityType {
7134                 AUTO,
7135                 ON,
7136                 OFF
7137         }
7138         [CCode (cprefix = "GTK_SHADOW_", cheader_filename = "gtk/gtk.h")]
7139         public enum ShadowType {
7140                 NONE,
7141                 IN,
7142                 OUT,
7143                 ETCHED_IN,
7144                 ETCHED_OUT
7145         }
7146         [CCode (cprefix = "GTK_SIDE_", cheader_filename = "gtk/gtk.h")]
7147         public enum SideType {
7148                 TOP,
7149                 BOTTOM,
7150                 LEFT,
7151                 RIGHT
7152         }
7153         [CCode (cprefix = "GTK_RUN_", cheader_filename = "gtk/gtk.h")]
7154         [Flags]
7155         public enum SignalRunType {
7156                 FIRST,
7157                 LAST,
7158                 BOTH,
7159                 NO_RECURSE,
7160                 ACTION,
7161                 NO_HOOKS
7162         }
7163         [CCode (cprefix = "GTK_SIZE_GROUP_", cheader_filename = "gtk/gtk.h")]
7164         public enum SizeGroupMode {
7165                 NONE,
7166                 HORIZONTAL,
7167                 VERTICAL,
7168                 BOTH
7169         }
7170         [CCode (cprefix = "GTK_SORT_", cheader_filename = "gtk/gtk.h")]
7171         public enum SortType {
7172                 ASCENDING,
7173                 DESCENDING
7174         }
7175         [CCode (cprefix = "GTK_UPDATE_", cheader_filename = "gtk/gtk.h")]
7176         public enum SpinButtonUpdatePolicy {
7177                 ALWAYS,
7178                 IF_VALID
7179         }
7180         [CCode (cprefix = "GTK_SPIN_", cheader_filename = "gtk/gtk.h")]
7181         public enum SpinType {
7182                 STEP_FORWARD,
7183                 STEP_BACKWARD,
7184                 PAGE_FORWARD,
7185                 PAGE_BACKWARD,
7186                 HOME,
7187                 END,
7188                 USER_DEFINED
7189         }
7190         [CCode (cprefix = "GTK_STATE_", cheader_filename = "gtk/gtk.h")]
7191         public enum StateType {
7192                 NORMAL,
7193                 ACTIVE,
7194                 PRELIGHT,
7195                 SELECTED,
7196                 INSENSITIVE
7197         }
7198         [CCode (cprefix = "GTK_DIRECTION_", cheader_filename = "gtk/gtk.h")]
7199         public enum SubmenuDirection {
7200                 LEFT,
7201                 RIGHT
7202         }
7203         [CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
7204         public enum SubmenuPlacement {
7205                 TOP_BOTTOM,
7206                 LEFT_RIGHT
7207         }
7208         [CCode (cprefix = "GTK_TARGET_", cheader_filename = "gtk/gtk.h")]
7209         [Flags]
7210         public enum TargetFlags {
7211                 SAME_APP,
7212                 SAME_WIDGET,
7213                 OTHER_APP,
7214                 OTHER_WIDGET
7215         }
7216         [CCode (cprefix = "GTK_TEXT_BUFFER_TARGET_INFO_", cheader_filename = "gtk/gtk.h")]
7217         public enum TextBufferTargetInfo {
7218                 BUFFER_CONTENTS,
7219                 RICH_TEXT,
7220                 TEXT
7221         }
7222         [CCode (cprefix = "GTK_TEXT_DIR_", cheader_filename = "gtk/gtk.h")]
7223         public enum TextDirection {
7224                 NONE,
7225                 LTR,
7226                 RTL
7227         }
7228         [CCode (cprefix = "GTK_TEXT_SEARCH_", cheader_filename = "gtk/gtk.h")]
7229         [Flags]
7230         public enum TextSearchFlags {
7231                 VISIBLE_ONLY,
7232                 TEXT_ONLY
7233         }
7234         [CCode (cprefix = "GTK_TEXT_WINDOW_", cheader_filename = "gtk/gtk.h")]
7235         public enum TextWindowType {
7236                 PRIVATE,
7237                 WIDGET,
7238                 TEXT,
7239                 LEFT,
7240                 RIGHT,
7241                 TOP,
7242                 BOTTOM
7243         }
7244         [CCode (cprefix = "GTK_TOOL_PALETTE_DRAG_", cheader_filename = "gtk/gtk.h")]
7245         [Flags]
7246         public enum ToolPaletteDragTargets {
7247                 ITEMS,
7248                 GROUPS
7249         }
7250         [CCode (cprefix = "GTK_TOOLBAR_CHILD_", cheader_filename = "gtk/gtk.h")]
7251         public enum ToolbarChildType {
7252                 SPACE,
7253                 BUTTON,
7254                 TOGGLEBUTTON,
7255                 RADIOBUTTON,
7256                 WIDGET
7257         }
7258         [CCode (cprefix = "GTK_TOOLBAR_SPACE_", cheader_filename = "gtk/gtk.h")]
7259         public enum ToolbarSpaceStyle {
7260                 EMPTY,
7261                 LINE
7262         }
7263         [CCode (cprefix = "GTK_TOOLBAR_", cheader_filename = "gtk/gtk.h")]
7264         public enum ToolbarStyle {
7265                 ICONS,
7266                 TEXT,
7267                 BOTH,
7268                 BOTH_HORIZ
7269         }
7270         [CCode (cprefix = "GTK_TREE_MODEL_", cheader_filename = "gtk/gtk.h")]
7271         [Flags]
7272         public enum TreeModelFlags {
7273                 ITERS_PERSIST,
7274                 LIST_ONLY
7275         }
7276         [CCode (cprefix = "GTK_TREE_VIEW_COLUMN_", cheader_filename = "gtk/gtk.h")]
7277         public enum TreeViewColumnSizing {
7278                 GROW_ONLY,
7279                 AUTOSIZE,
7280                 FIXED
7281         }
7282         [CCode (cprefix = "GTK_TREE_VIEW_DROP_", cheader_filename = "gtk/gtk.h")]
7283         public enum TreeViewDropPosition {
7284                 BEFORE,
7285                 AFTER,
7286                 INTO_OR_BEFORE,
7287                 INTO_OR_AFTER
7288         }
7289         [CCode (cprefix = "GTK_TREE_VIEW_GRID_LINES_", cheader_filename = "gtk/gtk.h")]
7290         public enum TreeViewGridLines {
7291                 NONE,
7292                 HORIZONTAL,
7293                 VERTICAL,
7294                 BOTH
7295         }
7296         [CCode (cprefix = "GTK_TREE_VIEW_", cheader_filename = "gtk/gtk.h")]
7297         public enum TreeViewMode {
7298                 LINE,
7299                 ITEM
7300         }
7301         [CCode (cprefix = "GTK_UI_MANAGER_", cheader_filename = "gtk/gtk.h")]
7302         [Flags]
7303         public enum UIManagerItemType {
7304                 AUTO,
7305                 MENUBAR,
7306                 MENU,
7307                 TOOLBAR,
7308                 PLACEHOLDER,
7309                 POPUP,
7310                 MENUITEM,
7311                 TOOLITEM,
7312                 SEPARATOR,
7313                 ACCELERATOR,
7314                 POPUP_WITH_ACCELS
7315         }
7316         [CCode (cprefix = "GTK_UNIT_", cheader_filename = "gtk/gtk.h")]
7317         public enum Unit {
7318                 PIXEL,
7319                 POINTS,
7320                 INCH,
7321                 MM
7322         }
7323         [CCode (cprefix = "GTK_UPDATE_", cheader_filename = "gtk/gtk.h")]
7324         public enum UpdateType {
7325                 CONTINUOUS,
7326                 DISCONTINUOUS,
7327                 DELAYED
7328         }
7329         [CCode (cprefix = "GTK_VISIBILITY_", cheader_filename = "gtk/gtk.h")]
7330         public enum Visibility {
7331                 NONE,
7332                 PARTIAL,
7333                 FULL
7334         }
7335         [CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
7336         [Flags]
7337         public enum WidgetFlags {
7338                 TOPLEVEL,
7339                 NO_WINDOW,
7340                 REALIZED,
7341                 MAPPED,
7342                 VISIBLE,
7343                 SENSITIVE,
7344                 PARENT_SENSITIVE,
7345                 CAN_FOCUS,
7346                 HAS_FOCUS,
7347                 CAN_DEFAULT,
7348                 HAS_DEFAULT,
7349                 HAS_GRAB,
7350                 RC_STYLE,
7351                 COMPOSITE_CHILD,
7352                 NO_REPARENT,
7353                 APP_PAINTABLE,
7354                 RECEIVES_DEFAULT,
7355                 DOUBLE_BUFFERED,
7356                 NO_SHOW_ALL
7357         }
7358         [CCode (cprefix = "GTK_WIDGET_HELP_", cheader_filename = "gtk/gtk.h")]
7359         public enum WidgetHelpType {
7360                 TOOLTIP,
7361                 WHATS_THIS
7362         }
7363         [CCode (cprefix = "GTK_WIN_POS_", cheader_filename = "gtk/gtk.h")]
7364         public enum WindowPosition {
7365                 NONE,
7366                 CENTER,
7367                 MOUSE,
7368                 CENTER_ALWAYS,
7369                 CENTER_ON_PARENT
7370         }
7371         [CCode (cprefix = "GTK_WINDOW_", cheader_filename = "gtk/gtk.h")]
7372         public enum WindowType {
7373                 TOPLEVEL,
7374                 POPUP
7375         }
7376         [CCode (cprefix = "GTK_WRAP_", cheader_filename = "gtk/gtk.h")]
7377         public enum WrapMode {
7378                 NONE,
7379                 CHAR,
7380                 WORD,
7381                 WORD_CHAR
7382         }
7383         [CCode (cprefix = "GTK_BUILDER_ERROR_", cheader_filename = "gtk/gtk.h")]
7384         public errordomain BuilderError {
7385                 INVALID_TYPE_FUNCTION,
7386                 UNHANDLED_TAG,
7387                 MISSING_ATTRIBUTE,
7388                 INVALID_ATTRIBUTE,
7389                 INVALID_TAG,
7390                 MISSING_PROPERTY_VALUE,
7391                 INVALID_VALUE,
7392                 VERSION_MISMATCH,
7393                 DUPLICATE_ID,
7394         }
7395         [CCode (cheader_filename = "gtk/gtk.h")]
7396         public delegate void AboutDialogActivateLinkFunc (Gtk.AboutDialog about, string link_);
7397         [CCode (cheader_filename = "gtk/gtk.h")]
7398         public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
7399         [CCode (cheader_filename = "gtk/gtk.h")]
7400         public delegate bool AccelGroupFindFunc (Gtk.AccelKey key, GLib.Closure closure);
7401         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7402         public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);
7403         [CCode (cheader_filename = "gtk/gtk.h")]
7404         public delegate void ActionCallback (Gtk.Action action);
7405         [CCode (cheader_filename = "gtk/gtk.h")]
7406         public delegate int AssistantPageFunc (int current_page);
7407         [CCode (cheader_filename = "gtk/gtk.h")]
7408         public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags);
7409         [CCode (cheader_filename = "gtk/gtk.h")]
7410         public delegate string CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
7411         [CCode (cheader_filename = "gtk/gtk.h")]
7412         public delegate void Callback (Gtk.Widget widget);
7413         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7414         public delegate void CallbackMarshal (Gtk.Object object, void* data, Gtk.Arg[] args);
7415         [CCode (cheader_filename = "gtk/gtk.h")]
7416         public delegate void CellLayoutDataFunc (Gtk.CellLayout cell_layout, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
7417         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7418         public delegate void ClipboardClearFunc (Gtk.Clipboard clipboard, void* user_data_or_owner);
7419         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7420         public delegate void ClipboardGetFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data, uint info, void* user_data_or_owner);
7421         [CCode (cheader_filename = "gtk/gtk.h")]
7422         public delegate void ClipboardImageReceivedFunc (Gtk.Clipboard clipboard, Gdk.Pixbuf pixbuf);
7423         [CCode (cheader_filename = "gtk/gtk.h")]
7424         public delegate void ClipboardReceivedFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data);
7425         [CCode (cheader_filename = "gtk/gtk.h")]
7426         public delegate void ClipboardRichTextReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom format, uchar text, size_t length);
7427         [CCode (cheader_filename = "gtk/gtk.h")]
7428         public delegate void ClipboardTargetsReceivedFunc (Gtk.Clipboard clipboard, out Gdk.Atom atoms, int n_atoms);
7429         [CCode (cheader_filename = "gtk/gtk.h")]
7430         public delegate void ClipboardTextReceivedFunc (Gtk.Clipboard clipboard, string text);
7431         [CCode (cheader_filename = "gtk/gtk.h")]
7432         public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, string uris);
7433         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7434         public delegate void ColorSelectionChangePaletteFunc (Gdk.Color colors, int n_colors);
7435         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7436         public delegate void ColorSelectionChangePaletteWithScreenFunc (Gdk.Screen screen, Gdk.Color colors, int n_colors);
7437         [CCode (cheader_filename = "gtk/gtk.h")]
7438         public delegate bool EntryCompletionMatchFunc (Gtk.EntryCompletion completion, string key, Gtk.TreeIter iter);
7439         [CCode (cheader_filename = "gtk/gtk.h")]
7440         public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
7441         [CCode (cheader_filename = "gtk/gtk.h")]
7442         public delegate bool Function ();
7443         [CCode (cheader_filename = "gtk/gtk.h")]
7444         public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
7445         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7446         public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event, void* func_data);
7447         [CCode (cheader_filename = "gtk/gtk.h")]
7448         public delegate void LinkButtonUriFunc (Gtk.LinkButton button, string link_);
7449         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7450         public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
7451         [CCode (cheader_filename = "gtk/gtk.h")]
7452         public delegate void MenuPositionFunc (Gtk.Menu menu, out int x, out int y, out bool push_in);
7453         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7454         public delegate void ModuleDisplayInitFunc (Gdk.Display display);
7455         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7456         public delegate void ModuleInitFunc (int argc, string argv);
7457         [CCode (cheader_filename = "gtk/gtk.h")]
7458         public delegate unowned Gtk.Notebook NotebookWindowCreationFunc (Gtk.Notebook source, Gtk.Widget page, int x, int y);
7459         [CCode (cheader_filename = "gtk/gtk.h")]
7460         public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup);
7461         [CCode (cheader_filename = "gtk/gtk.h")]
7462         public delegate void PrintSettingsFunc (string key, string value);
7463         [CCode (cheader_filename = "gtk/gtk.h")]
7464         public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
7465         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7466         public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
7467         [CCode (cheader_filename = "gtk/gtk.h")]
7468         public delegate bool RecentFilterFunc (Gtk.RecentFilterInfo filter_info);
7469         [CCode (cheader_filename = "gtk/gtk.h")]
7470         public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
7471         [CCode (cheader_filename = "gtk/gtk.h")]
7472         public delegate bool TextBufferDeserializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter iter, uchar data, size_t length, bool create_tags, GLib.Error error);
7473         [CCode (cheader_filename = "gtk/gtk.h")]
7474         public delegate uchar TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
7475         [CCode (cheader_filename = "gtk/gtk.h")]
7476         public delegate bool TextCharPredicate (unichar ch);
7477         [CCode (cheader_filename = "gtk/gtk.h")]
7478         public delegate void TextTagTableForeach (Gtk.TextTag tag);
7479         [CCode (cheader_filename = "gtk/gtk.h")]
7480         public delegate unowned string TranslateFunc (string path);
7481         [CCode (cheader_filename = "gtk/gtk.h")]
7482         public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
7483         [CCode (cheader_filename = "gtk/gtk.h")]
7484         public delegate void TreeDestroyCountFunc (Gtk.TreeView tree_view, Gtk.TreePath path, int children);
7485         [CCode (cheader_filename = "gtk/gtk.h")]
7486         public delegate int TreeIterCompareFunc (Gtk.TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b);
7487         [CCode (cheader_filename = "gtk/gtk.h")]
7488         public delegate void TreeModelFilterModifyFunc (Gtk.TreeModel model, Gtk.TreeIter iter, GLib.Value value, int column);
7489         [CCode (cheader_filename = "gtk/gtk.h")]
7490         public delegate bool TreeModelFilterVisibleFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
7491         [CCode (cheader_filename = "gtk/gtk.h")]
7492         public delegate bool TreeModelForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
7493         [CCode (cheader_filename = "gtk/gtk.h")]
7494         public delegate void TreeSelectionForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
7495         [CCode (cheader_filename = "gtk/gtk.h")]
7496         public delegate bool TreeSelectionFunc (Gtk.TreeSelection selection, Gtk.TreeModel model, Gtk.TreePath path, bool path_currently_selected);
7497         [CCode (cheader_filename = "gtk/gtk.h")]
7498         public delegate bool TreeViewColumnDropFunc (Gtk.TreeView tree_view, Gtk.TreeViewColumn column, Gtk.TreeViewColumn prev_column, Gtk.TreeViewColumn next_column);
7499         [CCode (cheader_filename = "gtk/gtk.h")]
7500         public delegate void TreeViewMappingFunc (Gtk.TreeView tree_view, Gtk.TreePath path);
7501         [CCode (cheader_filename = "gtk/gtk.h")]
7502         public delegate bool TreeViewRowSeparatorFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
7503         [CCode (cheader_filename = "gtk/gtk.h")]
7504         public delegate bool TreeViewSearchEqualFunc (Gtk.TreeModel model, int column, string key, Gtk.TreeIter iter);
7505         [CCode (cheader_filename = "gtk/gtk.h")]
7506         public delegate void TreeViewSearchPositionFunc (Gtk.TreeView tree_view, Gtk.Widget search_dialog);
7507         [CCode (cheader_filename = "gtk/gtk.h")]
7508         public delegate void WindowKeysForeachFunc (Gtk.Window window, uint keyval, Gdk.ModifierType modifiers, bool is_mnemonic);
7509         [CCode (cheader_filename = "gtk/gtk.h")]
7510         public const int ARG_READWRITE;
7511         [CCode (cheader_filename = "gtk/gtk.h")]
7512         public const int BINARY_AGE;
7513         [CCode (cheader_filename = "gtk/gtk.h")]
7514         public const int BUTTONBOX_DEFAULT;
7515         [CCode (cheader_filename = "gtk/gtk.h")]
7516         public const int INPUT_ERROR;
7517         [CCode (cheader_filename = "gtk/gtk.h")]
7518         public const int INTERFACE_AGE;
7519         [CCode (cheader_filename = "gtk/gtk.h")]
7520         public const int MAJOR_VERSION;
7521         [CCode (cheader_filename = "gtk/gtk.h")]
7522         public const int MAX_COMPOSE_LEN;
7523         [CCode (cheader_filename = "gtk/gtk.h")]
7524         public const int MICRO_VERSION;
7525         [CCode (cheader_filename = "gtk/gtk.h")]
7526         public const int MINOR_VERSION;
7527         [CCode (cheader_filename = "gtk/gtk.h")]
7528         public const string PAPER_NAME_A3;
7529         [CCode (cheader_filename = "gtk/gtk.h")]
7530         public const string PAPER_NAME_A4;
7531         [CCode (cheader_filename = "gtk/gtk.h")]
7532         public const string PAPER_NAME_A5;
7533         [CCode (cheader_filename = "gtk/gtk.h")]
7534         public const string PAPER_NAME_B5;
7535         [CCode (cheader_filename = "gtk/gtk.h")]
7536         public const string PAPER_NAME_EXECUTIVE;
7537         [CCode (cheader_filename = "gtk/gtk.h")]
7538         public const string PAPER_NAME_LEGAL;
7539         [CCode (cheader_filename = "gtk/gtk.h")]
7540         public const string PAPER_NAME_LETTER;
7541         [CCode (cheader_filename = "gtk/gtk.h")]
7542         public const int PARAM_READABLE;
7543         [CCode (cheader_filename = "gtk/gtk.h")]
7544         public const int PARAM_READWRITE;
7545         [CCode (cheader_filename = "gtk/gtk.h")]
7546         public const int PARAM_WRITABLE;
7547         [CCode (cheader_filename = "gtk/gtk.h")]
7548         public const int PATH_PRIO_MASK;
7549         [CCode (cheader_filename = "gtk/gtk.h")]
7550         public const string PRINT_SETTINGS_COLLATE;
7551         [CCode (cheader_filename = "gtk/gtk.h")]
7552         public const string PRINT_SETTINGS_DEFAULT_SOURCE;
7553         [CCode (cheader_filename = "gtk/gtk.h")]
7554         public const string PRINT_SETTINGS_DITHER;
7555         [CCode (cheader_filename = "gtk/gtk.h")]
7556         public const string PRINT_SETTINGS_DUPLEX;
7557         [CCode (cheader_filename = "gtk/gtk.h")]
7558         public const string PRINT_SETTINGS_FINISHINGS;
7559         [CCode (cheader_filename = "gtk/gtk.h")]
7560         public const string PRINT_SETTINGS_MEDIA_TYPE;
7561         [CCode (cheader_filename = "gtk/gtk.h")]
7562         public const string PRINT_SETTINGS_NUMBER_UP;
7563         [CCode (cheader_filename = "gtk/gtk.h")]
7564         public const string PRINT_SETTINGS_NUMBER_UP_LAYOUT;
7565         [CCode (cheader_filename = "gtk/gtk.h")]
7566         public const string PRINT_SETTINGS_N_COPIES;
7567         [CCode (cheader_filename = "gtk/gtk.h")]
7568         public const string PRINT_SETTINGS_ORIENTATION;
7569         [CCode (cheader_filename = "gtk/gtk.h")]
7570         public const string PRINT_SETTINGS_OUTPUT_BIN;
7571         [CCode (cheader_filename = "gtk/gtk.h")]
7572         public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT;
7573         [CCode (cheader_filename = "gtk/gtk.h")]
7574         public const string PRINT_SETTINGS_OUTPUT_URI;
7575         [CCode (cheader_filename = "gtk/gtk.h")]
7576         public const string PRINT_SETTINGS_PAGE_RANGES;
7577         [CCode (cheader_filename = "gtk/gtk.h")]
7578         public const string PRINT_SETTINGS_PAGE_SET;
7579         [CCode (cheader_filename = "gtk/gtk.h")]
7580         public const string PRINT_SETTINGS_PAPER_FORMAT;
7581         [CCode (cheader_filename = "gtk/gtk.h")]
7582         public const string PRINT_SETTINGS_PAPER_HEIGHT;
7583         [CCode (cheader_filename = "gtk/gtk.h")]
7584         public const string PRINT_SETTINGS_PAPER_WIDTH;
7585         [CCode (cheader_filename = "gtk/gtk.h")]
7586         public const string PRINT_SETTINGS_PRINTER;
7587         [CCode (cheader_filename = "gtk/gtk.h")]
7588         public const string PRINT_SETTINGS_PRINTER_LPI;
7589         [CCode (cheader_filename = "gtk/gtk.h")]
7590         public const string PRINT_SETTINGS_PRINT_PAGES;
7591         [CCode (cheader_filename = "gtk/gtk.h")]
7592         public const string PRINT_SETTINGS_QUALITY;
7593         [CCode (cheader_filename = "gtk/gtk.h")]
7594         public const string PRINT_SETTINGS_RESOLUTION;
7595         [CCode (cheader_filename = "gtk/gtk.h")]
7596         public const string PRINT_SETTINGS_RESOLUTION_X;
7597         [CCode (cheader_filename = "gtk/gtk.h")]
7598         public const string PRINT_SETTINGS_RESOLUTION_Y;
7599         [CCode (cheader_filename = "gtk/gtk.h")]
7600         public const string PRINT_SETTINGS_REVERSE;
7601         [CCode (cheader_filename = "gtk/gtk.h")]
7602         public const string PRINT_SETTINGS_SCALE;
7603         [CCode (cheader_filename = "gtk/gtk.h")]
7604         public const string PRINT_SETTINGS_USE_COLOR;
7605         [CCode (cheader_filename = "gtk/gtk.h")]
7606         public const string PRINT_SETTINGS_WIN32_DRIVER_EXTRA;
7607         [CCode (cheader_filename = "gtk/gtk.h")]
7608         public const string PRINT_SETTINGS_WIN32_DRIVER_VERSION;
7609         [CCode (cheader_filename = "gtk/gtk.h")]
7610         public const int PRIORITY_REDRAW;
7611         [CCode (cheader_filename = "gtk/gtk.h")]
7612         public const int PRIORITY_RESIZE;
7613         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
7614         [CCode (cheader_filename = "gtk/gtk.h")]
7615         public const string STOCK_ABOUT;
7616         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
7617         [CCode (cheader_filename = "gtk/gtk.h")]
7618         public const string STOCK_ADD;
7619         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
7620         [CCode (cheader_filename = "gtk/gtk.h")]
7621         public const string STOCK_APPLY;
7622         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
7623         [CCode (cheader_filename = "gtk/gtk.h")]
7624         public const string STOCK_BOLD;
7625         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
7626         [CCode (cheader_filename = "gtk/gtk.h")]
7627         public const string STOCK_CANCEL;
7628         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
7629         [CCode (cheader_filename = "gtk/gtk.h")]
7630         public const string STOCK_CAPS_LOCK_WARNING;
7631         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
7632         [CCode (cheader_filename = "gtk/gtk.h")]
7633         public const string STOCK_CDROM;
7634         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
7635         [CCode (cheader_filename = "gtk/gtk.h")]
7636         public const string STOCK_CLEAR;
7637         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
7638         [CCode (cheader_filename = "gtk/gtk.h")]
7639         public const string STOCK_CLOSE;
7640         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
7641         [CCode (cheader_filename = "gtk/gtk.h")]
7642         public const string STOCK_COLOR_PICKER;
7643         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
7644         [CCode (cheader_filename = "gtk/gtk.h")]
7645         public const string STOCK_CONNECT;
7646         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
7647         [CCode (cheader_filename = "gtk/gtk.h")]
7648         public const string STOCK_CONVERT;
7649         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
7650         [CCode (cheader_filename = "gtk/gtk.h")]
7651         public const string STOCK_COPY;
7652         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
7653         [CCode (cheader_filename = "gtk/gtk.h")]
7654         public const string STOCK_CUT;
7655         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
7656         [CCode (cheader_filename = "gtk/gtk.h")]
7657         public const string STOCK_DELETE;
7658         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
7659         [CCode (cheader_filename = "gtk/gtk.h")]
7660         public const string STOCK_DIALOG_AUTHENTICATION;
7661         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
7662         [CCode (cheader_filename = "gtk/gtk.h")]
7663         public const string STOCK_DIALOG_ERROR;
7664         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
7665         [CCode (cheader_filename = "gtk/gtk.h")]
7666         public const string STOCK_DIALOG_INFO;
7667         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
7668         [CCode (cheader_filename = "gtk/gtk.h")]
7669         public const string STOCK_DIALOG_QUESTION;
7670         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
7671         [CCode (cheader_filename = "gtk/gtk.h")]
7672         public const string STOCK_DIALOG_WARNING;
7673         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
7674         [CCode (cheader_filename = "gtk/gtk.h")]
7675         public const string STOCK_DIRECTORY;
7676         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
7677         [CCode (cheader_filename = "gtk/gtk.h")]
7678         public const string STOCK_DISCARD;
7679         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
7680         [CCode (cheader_filename = "gtk/gtk.h")]
7681         public const string STOCK_DISCONNECT;
7682         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DND")]
7683         [CCode (cheader_filename = "gtk/gtk.h")]
7684         public const string STOCK_DND;
7685         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
7686         [CCode (cheader_filename = "gtk/gtk.h")]
7687         public const string STOCK_DND_MULTIPLE;
7688         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
7689         [CCode (cheader_filename = "gtk/gtk.h")]
7690         public const string STOCK_EDIT;
7691         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
7692         [CCode (cheader_filename = "gtk/gtk.h")]
7693         public const string STOCK_EXECUTE;
7694         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
7695         [CCode (cheader_filename = "gtk/gtk.h")]
7696         public const string STOCK_FILE;
7697         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
7698         [CCode (cheader_filename = "gtk/gtk.h")]
7699         public const string STOCK_FIND;
7700         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
7701         [CCode (cheader_filename = "gtk/gtk.h")]
7702         public const string STOCK_FIND_AND_REPLACE;
7703         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
7704         [CCode (cheader_filename = "gtk/gtk.h")]
7705         public const string STOCK_FLOPPY;
7706         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
7707         [CCode (cheader_filename = "gtk/gtk.h")]
7708         public const string STOCK_FULLSCREEN;
7709         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
7710         [CCode (cheader_filename = "gtk/gtk.h")]
7711         public const string STOCK_GOTO_BOTTOM;
7712         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
7713         [CCode (cheader_filename = "gtk/gtk.h")]
7714         public const string STOCK_GOTO_FIRST;
7715         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
7716         [CCode (cheader_filename = "gtk/gtk.h")]
7717         public const string STOCK_GOTO_LAST;
7718         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
7719         [CCode (cheader_filename = "gtk/gtk.h")]
7720         public const string STOCK_GOTO_TOP;
7721         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
7722         [CCode (cheader_filename = "gtk/gtk.h")]
7723         public const string STOCK_GO_BACK;
7724         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
7725         [CCode (cheader_filename = "gtk/gtk.h")]
7726         public const string STOCK_GO_DOWN;
7727         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
7728         [CCode (cheader_filename = "gtk/gtk.h")]
7729         public const string STOCK_GO_FORWARD;
7730         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
7731         [CCode (cheader_filename = "gtk/gtk.h")]
7732         public const string STOCK_GO_UP;
7733         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
7734         [CCode (cheader_filename = "gtk/gtk.h")]
7735         public const string STOCK_HARDDISK;
7736         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
7737         [CCode (cheader_filename = "gtk/gtk.h")]
7738         public const string STOCK_HELP;
7739         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
7740         [CCode (cheader_filename = "gtk/gtk.h")]
7741         public const string STOCK_HOME;
7742         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
7743         [CCode (cheader_filename = "gtk/gtk.h")]
7744         public const string STOCK_INDENT;
7745         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
7746         [CCode (cheader_filename = "gtk/gtk.h")]
7747         public const string STOCK_INDEX;
7748         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
7749         [CCode (cheader_filename = "gtk/gtk.h")]
7750         public const string STOCK_INFO;
7751         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
7752         [CCode (cheader_filename = "gtk/gtk.h")]
7753         public const string STOCK_ITALIC;
7754         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
7755         [CCode (cheader_filename = "gtk/gtk.h")]
7756         public const string STOCK_JUMP_TO;
7757         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
7758         [CCode (cheader_filename = "gtk/gtk.h")]
7759         public const string STOCK_JUSTIFY_CENTER;
7760         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
7761         [CCode (cheader_filename = "gtk/gtk.h")]
7762         public const string STOCK_JUSTIFY_FILL;
7763         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
7764         [CCode (cheader_filename = "gtk/gtk.h")]
7765         public const string STOCK_JUSTIFY_LEFT;
7766         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
7767         [CCode (cheader_filename = "gtk/gtk.h")]
7768         public const string STOCK_JUSTIFY_RIGHT;
7769         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
7770         [CCode (cheader_filename = "gtk/gtk.h")]
7771         public const string STOCK_LEAVE_FULLSCREEN;
7772         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
7773         [CCode (cheader_filename = "gtk/gtk.h")]
7774         public const string STOCK_MEDIA_FORWARD;
7775         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
7776         [CCode (cheader_filename = "gtk/gtk.h")]
7777         public const string STOCK_MEDIA_NEXT;
7778         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
7779         [CCode (cheader_filename = "gtk/gtk.h")]
7780         public const string STOCK_MEDIA_PAUSE;
7781         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
7782         [CCode (cheader_filename = "gtk/gtk.h")]
7783         public const string STOCK_MEDIA_PLAY;
7784         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
7785         [CCode (cheader_filename = "gtk/gtk.h")]
7786         public const string STOCK_MEDIA_PREVIOUS;
7787         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
7788         [CCode (cheader_filename = "gtk/gtk.h")]
7789         public const string STOCK_MEDIA_RECORD;
7790         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
7791         [CCode (cheader_filename = "gtk/gtk.h")]
7792         public const string STOCK_MEDIA_REWIND;
7793         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
7794         [CCode (cheader_filename = "gtk/gtk.h")]
7795         public const string STOCK_MEDIA_STOP;
7796         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
7797         [CCode (cheader_filename = "gtk/gtk.h")]
7798         public const string STOCK_MISSING_IMAGE;
7799         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
7800         [CCode (cheader_filename = "gtk/gtk.h")]
7801         public const string STOCK_NETWORK;
7802         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
7803         [CCode (cheader_filename = "gtk/gtk.h")]
7804         public const string STOCK_NEW;
7805         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NO")]
7806         [CCode (cheader_filename = "gtk/gtk.h")]
7807         public const string STOCK_NO;
7808         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.OK")]
7809         [CCode (cheader_filename = "gtk/gtk.h")]
7810         public const string STOCK_OK;
7811         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
7812         [CCode (cheader_filename = "gtk/gtk.h")]
7813         public const string STOCK_OPEN;
7814         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
7815         [CCode (cheader_filename = "gtk/gtk.h")]
7816         public const string STOCK_ORIENTATION_LANDSCAPE;
7817         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
7818         [CCode (cheader_filename = "gtk/gtk.h")]
7819         public const string STOCK_ORIENTATION_PORTRAIT;
7820         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
7821         [CCode (cheader_filename = "gtk/gtk.h")]
7822         public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE;
7823         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
7824         [CCode (cheader_filename = "gtk/gtk.h")]
7825         public const string STOCK_ORIENTATION_REVERSE_PORTRAIT;
7826         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
7827         [CCode (cheader_filename = "gtk/gtk.h")]
7828         public const string STOCK_PAGE_SETUP;
7829         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
7830         [CCode (cheader_filename = "gtk/gtk.h")]
7831         public const string STOCK_PASTE;
7832         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
7833         [CCode (cheader_filename = "gtk/gtk.h")]
7834         public const string STOCK_PREFERENCES;
7835         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
7836         [CCode (cheader_filename = "gtk/gtk.h")]
7837         public const string STOCK_PRINT;
7838         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
7839         [CCode (cheader_filename = "gtk/gtk.h")]
7840         public const string STOCK_PRINT_ERROR;
7841         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
7842         [CCode (cheader_filename = "gtk/gtk.h")]
7843         public const string STOCK_PRINT_PAUSED;
7844         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
7845         [CCode (cheader_filename = "gtk/gtk.h")]
7846         public const string STOCK_PRINT_PREVIEW;
7847         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
7848         [CCode (cheader_filename = "gtk/gtk.h")]
7849         public const string STOCK_PRINT_REPORT;
7850         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
7851         [CCode (cheader_filename = "gtk/gtk.h")]
7852         public const string STOCK_PRINT_WARNING;
7853         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
7854         [CCode (cheader_filename = "gtk/gtk.h")]
7855         public const string STOCK_PROPERTIES;
7856         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
7857         [CCode (cheader_filename = "gtk/gtk.h")]
7858         public const string STOCK_QUIT;
7859         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
7860         [CCode (cheader_filename = "gtk/gtk.h")]
7861         public const string STOCK_REDO;
7862         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
7863         [CCode (cheader_filename = "gtk/gtk.h")]
7864         public const string STOCK_REFRESH;
7865         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
7866         [CCode (cheader_filename = "gtk/gtk.h")]
7867         public const string STOCK_REMOVE;
7868         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
7869         [CCode (cheader_filename = "gtk/gtk.h")]
7870         public const string STOCK_REVERT_TO_SAVED;
7871         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
7872         [CCode (cheader_filename = "gtk/gtk.h")]
7873         public const string STOCK_SAVE;
7874         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
7875         [CCode (cheader_filename = "gtk/gtk.h")]
7876         public const string STOCK_SAVE_AS;
7877         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
7878         [CCode (cheader_filename = "gtk/gtk.h")]
7879         public const string STOCK_SELECT_ALL;
7880         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
7881         [CCode (cheader_filename = "gtk/gtk.h")]
7882         public const string STOCK_SELECT_COLOR;
7883         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
7884         [CCode (cheader_filename = "gtk/gtk.h")]
7885         public const string STOCK_SELECT_FONT;
7886         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
7887         [CCode (cheader_filename = "gtk/gtk.h")]
7888         public const string STOCK_SORT_ASCENDING;
7889         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
7890         [CCode (cheader_filename = "gtk/gtk.h")]
7891         public const string STOCK_SORT_DESCENDING;
7892         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
7893         [CCode (cheader_filename = "gtk/gtk.h")]
7894         public const string STOCK_SPELL_CHECK;
7895         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
7896         [CCode (cheader_filename = "gtk/gtk.h")]
7897         public const string STOCK_STOP;
7898         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
7899         [CCode (cheader_filename = "gtk/gtk.h")]
7900         public const string STOCK_STRIKETHROUGH;
7901         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
7902         [CCode (cheader_filename = "gtk/gtk.h")]
7903         public const string STOCK_UNDELETE;
7904         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
7905         [CCode (cheader_filename = "gtk/gtk.h")]
7906         public const string STOCK_UNDERLINE;
7907         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
7908         [CCode (cheader_filename = "gtk/gtk.h")]
7909         public const string STOCK_UNDO;
7910         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
7911         [CCode (cheader_filename = "gtk/gtk.h")]
7912         public const string STOCK_UNINDENT;
7913         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.YES")]
7914         [CCode (cheader_filename = "gtk/gtk.h")]
7915         public const string STOCK_YES;
7916         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
7917         [CCode (cheader_filename = "gtk/gtk.h")]
7918         public const string STOCK_ZOOM_100;
7919         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
7920         [CCode (cheader_filename = "gtk/gtk.h")]
7921         public const string STOCK_ZOOM_FIT;
7922         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
7923         [CCode (cheader_filename = "gtk/gtk.h")]
7924         public const string STOCK_ZOOM_IN;
7925         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
7926         [CCode (cheader_filename = "gtk/gtk.h")]
7927         public const string STOCK_ZOOM_OUT;
7928         [CCode (cheader_filename = "gtk/gtk.h")]
7929         public const int TEXT_VIEW_PRIORITY_VALIDATE;
7930         [CCode (cheader_filename = "gtk/gtk.h")]
7931         public const int TYPE_FUNDAMENTAL_LAST;
7932         [CCode (cheader_filename = "gtk/gtk.h")]
7933         public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods);
7934         [CCode (cheader_filename = "gtk/gtk.h")]
7935         public static unowned GLib.SList<Gtk.AccelGroup> accel_groups_from_object (GLib.Object object);
7936         [CCode (cheader_filename = "gtk/gtk.h")]
7937         public static uint accelerator_get_default_mod_mask ();
7938         [CCode (cheader_filename = "gtk/gtk.h")]
7939         public static unowned string accelerator_get_label (uint accelerator_key, Gdk.ModifierType accelerator_mods);
7940         [CCode (cheader_filename = "gtk/gtk.h")]
7941         public static unowned string accelerator_name (uint accelerator_key, Gdk.ModifierType accelerator_mods);
7942         [CCode (cheader_filename = "gtk/gtk.h")]
7943         public static void accelerator_parse (string accelerator, out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
7944         [CCode (cheader_filename = "gtk/gtk.h")]
7945         public static void accelerator_set_default_mod_mask (Gdk.ModifierType default_mod_mask);
7946         [CCode (cheader_filename = "gtk/gtk.h")]
7947         public static bool accelerator_valid (uint keyval, Gdk.ModifierType modifiers);
7948         [CCode (cheader_filename = "gtk/gtk.h")]
7949         public static bool alternative_dialog_button_order (Gdk.Screen screen);
7950         [CCode (cheader_filename = "gtk/gtk.h")]
7951         public static bool bindings_activate (Gtk.Object object, uint keyval, Gdk.ModifierType modifiers);
7952         [CCode (cheader_filename = "gtk/gtk.h")]
7953         public static bool bindings_activate_event (Gtk.Object object, Gdk.EventKey event);
7954         [CCode (cheader_filename = "gtk/gtk.h")]
7955         public static unowned string check_version (uint required_major, uint required_minor, uint required_micro);
7956         [CCode (cheader_filename = "gtk/gtk.h")]
7957         public static void disable_setlocale ();
7958         [CCode (cheader_filename = "gtk/gtk.h")]
7959         public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event event);
7960         [CCode (cheader_filename = "gtk/gtk.h")]
7961         public static bool drag_check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x, int current_y);
7962         [CCode (cheader_filename = "gtk/gtk.h")]
7963         public static void drag_dest_add_image_targets (Gtk.Widget widget);
7964         [CCode (cheader_filename = "gtk/gtk.h")]
7965         public static void drag_dest_add_text_targets (Gtk.Widget widget);
7966         [CCode (cheader_filename = "gtk/gtk.h")]
7967         public static void drag_dest_add_uri_targets (Gtk.Widget widget);
7968         [CCode (cheader_filename = "gtk/gtk.h")]
7969         public static Gdk.Atom drag_dest_find_target (Gtk.Widget widget, Gdk.DragContext context, Gtk.TargetList target_list);
7970         [CCode (cheader_filename = "gtk/gtk.h")]
7971         public static unowned Gtk.TargetList drag_dest_get_target_list (Gtk.Widget widget);
7972         [CCode (cheader_filename = "gtk/gtk.h")]
7973         public static bool drag_dest_get_track_motion (Gtk.Widget widget);
7974         [CCode (cheader_filename = "gtk/gtk.h")]
7975         public static void drag_dest_set (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
7976         [CCode (cheader_filename = "gtk/gtk.h")]
7977         public static void drag_dest_set_proxy (Gtk.Widget widget, Gdk.Window proxy_window, Gdk.DragProtocol protocol, bool use_coordinates);
7978         [CCode (cheader_filename = "gtk/gtk.h")]
7979         public static void drag_dest_set_target_list (Gtk.Widget widget, Gtk.TargetList target_list);
7980         [CCode (cheader_filename = "gtk/gtk.h")]
7981         public static void drag_dest_set_track_motion (Gtk.Widget widget, bool track_motion);
7982         [CCode (cheader_filename = "gtk/gtk.h")]
7983         public static void drag_dest_unset (Gtk.Widget widget);
7984         [CCode (cheader_filename = "gtk/gtk.h")]
7985         public static void drag_finish (Gdk.DragContext context, bool success, bool del, uint32 time_);
7986         [CCode (cheader_filename = "gtk/gtk.h")]
7987         public static void drag_get_data (Gtk.Widget widget, Gdk.DragContext context, Gdk.Atom target, uint32 time_);
7988         [CCode (cheader_filename = "gtk/gtk.h")]
7989         public static unowned Gtk.Widget drag_get_source_widget (Gdk.DragContext context);
7990         [CCode (cheader_filename = "gtk/gtk.h")]
7991         public static void drag_highlight (Gtk.Widget widget);
7992         [CCode (cheader_filename = "gtk/gtk.h")]
7993         public static void drag_set_icon_default (Gdk.DragContext context);
7994         [CCode (cheader_filename = "gtk/gtk.h")]
7995         public static void drag_set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y);
7996         [CCode (cheader_filename = "gtk/gtk.h")]
7997         public static void drag_set_icon_pixbuf (Gdk.DragContext context, Gdk.Pixbuf pixbuf, int hot_x, int hot_y);
7998         [CCode (cheader_filename = "gtk/gtk.h")]
7999         public static void drag_set_icon_pixmap (Gdk.DragContext context, Gdk.Colormap colormap, Gdk.Pixmap pixmap, Gdk.Bitmap mask, int hot_x, int hot_y);
8000         [CCode (cheader_filename = "gtk/gtk.h")]
8001         public static void drag_set_icon_stock (Gdk.DragContext context, string stock_id, int hot_x, int hot_y);
8002         [CCode (cheader_filename = "gtk/gtk.h")]
8003         public static void drag_set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int hot_y);
8004         [CCode (cheader_filename = "gtk/gtk.h")]
8005         public static void drag_source_add_image_targets (Gtk.Widget widget);
8006         [CCode (cheader_filename = "gtk/gtk.h")]
8007         public static void drag_source_add_text_targets (Gtk.Widget widget);
8008         [CCode (cheader_filename = "gtk/gtk.h")]
8009         public static void drag_source_add_uri_targets (Gtk.Widget widget);
8010         [CCode (cheader_filename = "gtk/gtk.h")]
8011         public static unowned Gtk.TargetList drag_source_get_target_list (Gtk.Widget widget);
8012         [CCode (cheader_filename = "gtk/gtk.h")]
8013         public static void drag_source_set (Gtk.Widget widget, Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
8014         [CCode (cheader_filename = "gtk/gtk.h")]
8015         public static void drag_source_set_icon (Gtk.Widget widget, Gdk.Colormap colormap, Gdk.Pixmap pixmap, Gdk.Bitmap mask);
8016         [CCode (cheader_filename = "gtk/gtk.h")]
8017         public static void drag_source_set_icon_name (Gtk.Widget widget, string icon_name);
8018         [CCode (cheader_filename = "gtk/gtk.h")]
8019         public static void drag_source_set_icon_pixbuf (Gtk.Widget widget, Gdk.Pixbuf pixbuf);
8020         [CCode (cheader_filename = "gtk/gtk.h")]
8021         public static void drag_source_set_icon_stock (Gtk.Widget widget, string stock_id);
8022         [CCode (cheader_filename = "gtk/gtk.h")]
8023         public static void drag_source_set_target_list (Gtk.Widget widget, Gtk.TargetList target_list);
8024         [CCode (cheader_filename = "gtk/gtk.h")]
8025         public static void drag_source_unset (Gtk.Widget widget);
8026         [CCode (cheader_filename = "gtk/gtk.h")]
8027         public static void drag_unhighlight (Gtk.Widget widget);
8028         [CCode (cheader_filename = "gtk/gtk.h")]
8029         public static void draw_insertion_cursor (Gtk.Widget widget, Gdk.Drawable drawable, Gdk.Rectangle area, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow);
8030         [CCode (cheader_filename = "gtk/gtk.h")]
8031         public static bool events_pending ();
8032         [CCode (cheader_filename = "gtk/gtk.h")]
8033         public static unowned Gdk.GC gc_get (int depth, Gdk.Colormap colormap, Gdk.GCValues values, Gdk.GCValuesMask values_mask);
8034         [CCode (cheader_filename = "gtk/gtk.h")]
8035         public static void gc_release (Gdk.GC gc);
8036         [CCode (cheader_filename = "gtk/gtk.h")]
8037         public static Gdk.Event get_current_event ();
8038         [CCode (cheader_filename = "gtk/gtk.h")]
8039         public static bool get_current_event_state (out Gdk.ModifierType state);
8040         [CCode (cheader_filename = "gtk/gtk.h")]
8041         public static uint32 get_current_event_time ();
8042         [CCode (cheader_filename = "gtk/gtk.h")]
8043         public static unowned Pango.Language get_default_language ();
8044         [CCode (cheader_filename = "gtk/gtk.h")]
8045         public static unowned Gtk.Widget get_event_widget (Gdk.Event event);
8046         [CCode (cheader_filename = "gtk/gtk.h")]
8047         public static GLib.OptionGroup get_option_group (bool open_default_display);
8048         [CCode (cheader_filename = "gtk/gtk.h")]
8049         public static void grab_add (Gtk.Widget widget);
8050         [CCode (cheader_filename = "gtk/gtk.h")]
8051         public static unowned Gtk.Widget grab_get_current ();
8052         [CCode (cheader_filename = "gtk/gtk.h")]
8053         public static void grab_remove (Gtk.Widget widget);
8054         [CCode (cheader_filename = "gtk/gtk.h")]
8055         public static Gtk.IconSize icon_size_from_name (string name);
8056         [CCode (cheader_filename = "gtk/gtk.h")]
8057         public static unowned string icon_size_get_name (Gtk.IconSize size);
8058         [CCode (cheader_filename = "gtk/gtk.h")]
8059         public static bool icon_size_lookup (Gtk.IconSize size, out int width, out int height);
8060         [CCode (cheader_filename = "gtk/gtk.h")]
8061         public static bool icon_size_lookup_for_settings (Gtk.Settings settings, Gtk.IconSize size, out int width, out int height);
8062         [CCode (cheader_filename = "gtk/gtk.h")]
8063         public static Gtk.IconSize icon_size_register (string name, int width, int height);
8064         [CCode (cheader_filename = "gtk/gtk.h")]
8065         public static void icon_size_register_alias (string alias, Gtk.IconSize target);
8066         [CCode (cheader_filename = "gtk/gtk.h")]
8067         public static GLib.Type identifier_get_type ();
8068         [CCode (cheader_filename = "gtk/gtk.h")]
8069         public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
8070         [CCode (cheader_filename = "gtk/gtk.h")]
8071         public static void init_add (Gtk.Function function, void* data);
8072         [CCode (cheader_filename = "gtk/gtk.h")]
8073         public static bool init_check ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
8074         [CCode (cheader_filename = "gtk/gtk.h")]
8075         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;
8076         [CCode (cheader_filename = "gtk/gtk.h")]
8077         public static uint key_snooper_install (Gtk.KeySnoopFunc snooper, void* func_data);
8078         [CCode (cheader_filename = "gtk/gtk.h")]
8079         public static void key_snooper_remove (uint snooper_handler_id);
8080         [CCode (cheader_filename = "gtk/gtk.h")]
8081         public static void main ();
8082         [CCode (cheader_filename = "gtk/gtk.h")]
8083         public static void main_do_event (Gdk.Event event);
8084         [CCode (cheader_filename = "gtk/gtk.h")]
8085         public static bool main_iteration ();
8086         [CCode (cheader_filename = "gtk/gtk.h")]
8087         public static bool main_iteration_do (bool blocking);
8088         [CCode (cheader_filename = "gtk/gtk.h")]
8089         public static uint main_level ();
8090         [CCode (cheader_filename = "gtk/gtk.h")]
8091         public static void main_quit ();
8092         [CCode (cheader_filename = "gtk/gtk.h")]
8093         public static void paint_arrow (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height);
8094         [CCode (cheader_filename = "gtk/gtk.h")]
8095         public static void paint_box (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
8096         [CCode (cheader_filename = "gtk/gtk.h")]
8097         public static void paint_box_gap (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
8098         [CCode (cheader_filename = "gtk/gtk.h")]
8099         public static void paint_check (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
8100         [CCode (cheader_filename = "gtk/gtk.h")]
8101         public static void paint_diamond (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
8102         [CCode (cheader_filename = "gtk/gtk.h")]
8103         public static void paint_expander (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, Gtk.ExpanderStyle expander_style);
8104         [CCode (cheader_filename = "gtk/gtk.h")]
8105         public static void paint_extension (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side);
8106         [CCode (cheader_filename = "gtk/gtk.h")]
8107         public static void paint_flat_box (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
8108         [CCode (cheader_filename = "gtk/gtk.h")]
8109         public static void paint_focus (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
8110         [CCode (cheader_filename = "gtk/gtk.h")]
8111         public static void paint_handle (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.Orientation orientation);
8112         [CCode (cheader_filename = "gtk/gtk.h")]
8113         public static void paint_hline (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x1, int x2, int y);
8114         [CCode (cheader_filename = "gtk/gtk.h")]
8115         public static void paint_layout (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, bool use_text, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, Pango.Layout layout);
8116         [CCode (cheader_filename = "gtk/gtk.h")]
8117         public static void paint_option (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
8118         [CCode (cheader_filename = "gtk/gtk.h")]
8119         public static void paint_polygon (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, Gdk.Point[] points, bool fill);
8120         [CCode (cheader_filename = "gtk/gtk.h")]
8121         public static void paint_resize_grip (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, Gdk.WindowEdge edge, int x, int y, int width, int height);
8122         [CCode (cheader_filename = "gtk/gtk.h")]
8123         public static void paint_shadow (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
8124         [CCode (cheader_filename = "gtk/gtk.h")]
8125         public static void paint_shadow_gap (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
8126         [CCode (cheader_filename = "gtk/gtk.h")]
8127         public static void paint_slider (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.Orientation orientation);
8128         [CCode (cheader_filename = "gtk/gtk.h")]
8129         public static void paint_spinner (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, uint step, int x, int y, int width, int height);
8130         [CCode (cheader_filename = "gtk/gtk.h")]
8131         public static void paint_tab (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
8132         [CCode (cheader_filename = "gtk/gtk.h")]
8133         public static void paint_vline (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle? area, Gtk.Widget? widget, string? detail, int y1_, int y2_, int x);
8134         [CCode (cheader_filename = "gtk/gtk.h")]
8135         public static bool parse_args (int argc, string[] argv);
8136         [CCode (cheader_filename = "gtk/gtk.h")]
8137         public static GLib.Quark print_error_quark ();
8138         [CCode (cheader_filename = "gtk/gtk.h")]
8139         public static unowned Gtk.PageSetup print_run_page_setup_dialog (Gtk.Window parent, Gtk.PageSetup page_setup, Gtk.PrintSettings settings);
8140         [CCode (cheader_filename = "gtk/gtk.h")]
8141         public static void print_run_page_setup_dialog_async (Gtk.Window parent, Gtk.PageSetup page_setup, Gtk.PrintSettings settings, Gtk.PageSetupDoneFunc done_cb, void* data);
8142         [CCode (cheader_filename = "gtk/gtk.h")]
8143         public static void propagate_event (Gtk.Widget widget, Gdk.Event event);
8144         [CCode (cheader_filename = "gtk/gtk.h")]
8145         public static uint quit_add (uint main_level, Gtk.Function function, void* data);
8146         [CCode (cheader_filename = "gtk/gtk.h")]
8147         public static void quit_add_destroy (uint main_level, Gtk.Object object);
8148         [CCode (cheader_filename = "gtk/gtk.h")]
8149         public static void quit_remove (uint quit_handler_id);
8150         [CCode (cheader_filename = "gtk/gtk.h")]
8151         public static void quit_remove_by_data (void* data);
8152         [CCode (cheader_filename = "gtk/gtk.h")]
8153         public static void rc_add_default_file (string filename);
8154         [CCode (cheader_filename = "gtk/gtk.h")]
8155         public static unowned string rc_find_module_in_path (string module_file);
8156         [CCode (cheader_filename = "gtk/gtk.h")]
8157         public static unowned string rc_find_pixmap_in_path (Gtk.Settings settings, GLib.Scanner scanner, string pixmap_file);
8158         [CCode (cheader_filename = "gtk/gtk.h")]
8159         public static unowned string rc_get_default_files ();
8160         [CCode (cheader_filename = "gtk/gtk.h")]
8161         public static unowned string rc_get_im_module_file ();
8162         [CCode (cheader_filename = "gtk/gtk.h")]
8163         public static unowned string rc_get_im_module_path ();
8164         [CCode (cheader_filename = "gtk/gtk.h")]
8165         public static unowned string rc_get_module_dir ();
8166         [CCode (cheader_filename = "gtk/gtk.h")]
8167         public static unowned Gtk.Style rc_get_style (Gtk.Widget widget);
8168         [CCode (cheader_filename = "gtk/gtk.h")]
8169         public static unowned Gtk.Style? rc_get_style_by_paths (Gtk.Settings settings, string? widget_path, string? class_path, GLib.Type type);
8170         [CCode (cheader_filename = "gtk/gtk.h")]
8171         public static unowned string rc_get_theme_dir ();
8172         [CCode (cheader_filename = "gtk/gtk.h")]
8173         public static void rc_parse (string filename);
8174         [CCode (cheader_filename = "gtk/gtk.h")]
8175         public static uint rc_parse_color (GLib.Scanner scanner, Gdk.Color color);
8176         [CCode (cheader_filename = "gtk/gtk.h")]
8177         public static uint rc_parse_color_full (GLib.Scanner scanner, Gtk.RcStyle style, Gdk.Color color);
8178         [CCode (cheader_filename = "gtk/gtk.h")]
8179         public static uint rc_parse_priority (GLib.Scanner scanner, Gtk.PathPriorityType priority);
8180         [CCode (cheader_filename = "gtk/gtk.h")]
8181         public static uint rc_parse_state (GLib.Scanner scanner, Gtk.StateType state);
8182         [CCode (cheader_filename = "gtk/gtk.h")]
8183         public static void rc_parse_string (string rc_string);
8184         [CCode (cheader_filename = "gtk/gtk.h")]
8185         public static bool rc_reparse_all ();
8186         [CCode (cheader_filename = "gtk/gtk.h")]
8187         public static bool rc_reparse_all_for_settings (Gtk.Settings settings, bool force_load);
8188         [CCode (cheader_filename = "gtk/gtk.h")]
8189         public static void rc_reset_styles (Gtk.Settings settings);
8190         [CCode (cheader_filename = "gtk/gtk.h")]
8191         public static unowned GLib.Scanner rc_scanner_new ();
8192         [CCode (cheader_filename = "gtk/gtk.h")]
8193         public static void rc_set_default_files (string filenames);
8194         [CCode (cheader_filename = "gtk/gtk.h")]
8195         public static void rgb_to_hsv (double r, double g, double b, double h, double s, double v);
8196         [CCode (cheader_filename = "gtk/gtk.h")]
8197         public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info);
8198         [CCode (cheader_filename = "gtk/gtk.h")]
8199         public static void selection_add_targets (Gtk.Widget widget, Gdk.Atom selection, Gtk.TargetEntry[] targets, uint ntargets);
8200         [CCode (cheader_filename = "gtk/gtk.h")]
8201         public static bool selection_clear (Gtk.Widget widget, Gdk.EventSelection event);
8202         [CCode (cheader_filename = "gtk/gtk.h")]
8203         public static void selection_clear_targets (Gtk.Widget widget, Gdk.Atom selection);
8204         [CCode (cheader_filename = "gtk/gtk.h")]
8205         public static bool selection_convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
8206         [CCode (cheader_filename = "gtk/gtk.h")]
8207         public static bool selection_owner_set (Gtk.Widget widget, Gdk.Atom selection, uint32 time_);
8208         [CCode (cheader_filename = "gtk/gtk.h")]
8209         public static bool selection_owner_set_for_display (Gdk.Display display, Gtk.Widget widget, Gdk.Atom selection, uint32 time_);
8210         [CCode (cheader_filename = "gtk/gtk.h")]
8211         public static void selection_remove_all (Gtk.Widget widget);
8212         [CCode (cheader_filename = "gtk/gtk.h")]
8213         public static unowned string set_locale ();
8214         [CCode (cheader_filename = "gtk/gtk.h")]
8215         public static void show_about_dialog (Gtk.Window? parent, ...);
8216         [CCode (cheader_filename = "gtk/gtk.h")]
8217         public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
8218         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.add")]
8219         [CCode (cheader_filename = "gtk/gtk.h")]
8220         public static void stock_add (Gtk.StockItem[] items);
8221         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.add_static")]
8222         [CCode (cheader_filename = "gtk/gtk.h")]
8223         public static void stock_add_static (Gtk.StockItem[] items);
8224         [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.list_ids")]
8225         [CCode (cheader_filename = "gtk/gtk.h")]
8226         public static GLib.SList<string> stock_list_ids ();
8227         [CCode (cheader_filename = "gtk/gtk.h")]
8228         public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
8229         [CCode (cheader_filename = "gtk/gtk.h")]
8230         public static void target_table_free (Gtk.TargetEntry[] targets);
8231         [CCode (cheader_filename = "gtk/gtk.h")]
8232         public static Gtk.TargetEntry target_table_new_from_list (Gtk.TargetList list, int n_targets);
8233         [CCode (cheader_filename = "gtk/gtk.h")]
8234         public static bool targets_include_image (Gdk.Atom[] targets, bool writable);
8235         [CCode (cheader_filename = "gtk/gtk.h")]
8236         public static bool targets_include_rich_text (Gdk.Atom[] targets, Gtk.TextBuffer buffer);
8237         [CCode (cheader_filename = "gtk/gtk.h")]
8238         public static bool targets_include_text (Gdk.Atom[] targets);
8239         [CCode (cheader_filename = "gtk/gtk.h")]
8240         public static bool targets_include_uri (Gdk.Atom[] targets);
8241         [CCode (cheader_filename = "gtk/gtk.h")]
8242         public static unowned Gtk.Widget test_create_simple_window (string window_title, string dialog_text);
8243         [CCode (cheader_filename = "gtk/gtk.h")]
8244         public static unowned Gtk.Widget test_create_widget (GLib.Type widget_type, ...);
8245         [CCode (cheader_filename = "gtk/gtk.h")]
8246         public static unowned Gtk.Widget test_display_button_window (string window_title, string dialog_text);
8247         [CCode (cheader_filename = "gtk/gtk.h")]
8248         public static unowned Gtk.Widget test_find_label (Gtk.Widget widget, string label_pattern);
8249         [CCode (cheader_filename = "gtk/gtk.h")]
8250         public static unowned Gtk.Widget test_find_sibling (Gtk.Widget base_widget, GLib.Type widget_type);
8251         [CCode (cheader_filename = "gtk/gtk.h")]
8252         public static unowned Gtk.Widget test_find_widget (Gtk.Widget widget, string label_pattern, GLib.Type widget_type);
8253         [CCode (cheader_filename = "gtk/gtk.h")]
8254         public static void test_init (int argcp, out unowned string argvp);
8255         [CCode (cheader_filename = "gtk/gtk.h")]
8256         public static unowned GLib.Type[] test_list_all_types (uint n_types);
8257         [CCode (cheader_filename = "gtk/gtk.h")]
8258         public static void test_register_all_types ();
8259         [CCode (cheader_filename = "gtk/gtk.h")]
8260         public static double test_slider_get_value (Gtk.Widget widget);
8261         [CCode (cheader_filename = "gtk/gtk.h")]
8262         public static void test_slider_set_perc (Gtk.Widget widget, double percentage);
8263         [CCode (cheader_filename = "gtk/gtk.h")]
8264         public static bool test_spin_button_click (Gtk.SpinButton spinner, uint button, bool upwards);
8265         [CCode (cheader_filename = "gtk/gtk.h")]
8266         public static unowned string test_text_get (Gtk.Widget widget);
8267         [CCode (cheader_filename = "gtk/gtk.h")]
8268         public static void test_text_set (Gtk.Widget widget, string str);
8269         [CCode (cheader_filename = "gtk/gtk.h")]
8270         public static bool test_widget_click (Gtk.Widget widget, uint button, Gdk.ModifierType modifiers);
8271         [CCode (cheader_filename = "gtk/gtk.h")]
8272         public static bool test_widget_send_key (Gtk.Widget widget, uint keyval, Gdk.ModifierType modifiers);
8273         [CCode (cheader_filename = "gtk/gtk.h")]
8274         public static bool tree_get_row_drag_data (Gtk.SelectionData selection_data, out unowned Gtk.TreeModel tree_model, out unowned Gtk.TreePath path);
8275         [CCode (cheader_filename = "gtk/gtk.h")]
8276         public static bool tree_set_row_drag_data (Gtk.SelectionData selection_data, Gtk.TreeModel tree_model, Gtk.TreePath path);