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