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