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