1 /* gtk+-3.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_", gir_namespace = "Gtk", gir_version = "3.0")]
5 [CCode (cprefix = "GtkStock", lower_case_cprefix = "gtk_stock_")]
7 [CCode (cheader_filename = "gtk/gtk.h")]
8 public const string ABOUT;
9 [CCode (cheader_filename = "gtk/gtk.h")]
10 public const string ADD;
11 [CCode (cheader_filename = "gtk/gtk.h")]
12 public const string APPLY;
13 [CCode (cheader_filename = "gtk/gtk.h")]
14 public const string BOLD;
15 [CCode (cheader_filename = "gtk/gtk.h")]
16 public const string CANCEL;
17 [CCode (cheader_filename = "gtk/gtk.h")]
18 public const string CAPS_LOCK_WARNING;
19 [CCode (cheader_filename = "gtk/gtk.h")]
20 public const string CDROM;
21 [CCode (cheader_filename = "gtk/gtk.h")]
22 public const string CLEAR;
23 [CCode (cheader_filename = "gtk/gtk.h")]
24 public const string CLOSE;
25 [CCode (cheader_filename = "gtk/gtk.h")]
26 public const string COLOR_PICKER;
27 [CCode (cheader_filename = "gtk/gtk.h")]
28 public const string CONNECT;
29 [CCode (cheader_filename = "gtk/gtk.h")]
30 public const string CONVERT;
31 [CCode (cheader_filename = "gtk/gtk.h")]
32 public const string COPY;
33 [CCode (cheader_filename = "gtk/gtk.h")]
34 public const string CUT;
35 [CCode (cheader_filename = "gtk/gtk.h")]
36 public const string DELETE;
37 [CCode (cheader_filename = "gtk/gtk.h")]
38 public const string DIALOG_AUTHENTICATION;
39 [CCode (cheader_filename = "gtk/gtk.h")]
40 public const string DIALOG_ERROR;
41 [CCode (cheader_filename = "gtk/gtk.h")]
42 public const string DIALOG_INFO;
43 [CCode (cheader_filename = "gtk/gtk.h")]
44 public const string DIALOG_QUESTION;
45 [CCode (cheader_filename = "gtk/gtk.h")]
46 public const string DIALOG_WARNING;
47 [CCode (cheader_filename = "gtk/gtk.h")]
48 public const string DIRECTORY;
49 [CCode (cheader_filename = "gtk/gtk.h")]
50 public const string DISCARD;
51 [CCode (cheader_filename = "gtk/gtk.h")]
52 public const string DISCONNECT;
53 [CCode (cheader_filename = "gtk/gtk.h")]
54 public const string DND;
55 [CCode (cheader_filename = "gtk/gtk.h")]
56 public const string DND_MULTIPLE;
57 [CCode (cheader_filename = "gtk/gtk.h")]
58 public const string EDIT;
59 [CCode (cheader_filename = "gtk/gtk.h")]
60 public const string EXECUTE;
61 [CCode (cheader_filename = "gtk/gtk.h")]
62 public const string FILE;
63 [CCode (cheader_filename = "gtk/gtk.h")]
64 public const string FIND;
65 [CCode (cheader_filename = "gtk/gtk.h")]
66 public const string FIND_AND_REPLACE;
67 [CCode (cheader_filename = "gtk/gtk.h")]
68 public const string FLOPPY;
69 [CCode (cheader_filename = "gtk/gtk.h")]
70 public const string FULLSCREEN;
71 [CCode (cheader_filename = "gtk/gtk.h")]
72 public const string GOTO_BOTTOM;
73 [CCode (cheader_filename = "gtk/gtk.h")]
74 public const string GOTO_FIRST;
75 [CCode (cheader_filename = "gtk/gtk.h")]
76 public const string GOTO_LAST;
77 [CCode (cheader_filename = "gtk/gtk.h")]
78 public const string GOTO_TOP;
79 [CCode (cheader_filename = "gtk/gtk.h")]
80 public const string GO_BACK;
81 [CCode (cheader_filename = "gtk/gtk.h")]
82 public const string GO_DOWN;
83 [CCode (cheader_filename = "gtk/gtk.h")]
84 public const string GO_FORWARD;
85 [CCode (cheader_filename = "gtk/gtk.h")]
86 public const string GO_UP;
87 [CCode (cheader_filename = "gtk/gtk.h")]
88 public const string HARDDISK;
89 [CCode (cheader_filename = "gtk/gtk.h")]
90 public const string HELP;
91 [CCode (cheader_filename = "gtk/gtk.h")]
92 public const string HOME;
93 [CCode (cheader_filename = "gtk/gtk.h")]
94 public const string INDENT;
95 [CCode (cheader_filename = "gtk/gtk.h")]
96 public const string INDEX;
97 [CCode (cheader_filename = "gtk/gtk.h")]
98 public const string INFO;
99 [CCode (cheader_filename = "gtk/gtk.h")]
100 public const string ITALIC;
101 [CCode (cheader_filename = "gtk/gtk.h")]
102 public const string JUMP_TO;
103 [CCode (cheader_filename = "gtk/gtk.h")]
104 public const string JUSTIFY_CENTER;
105 [CCode (cheader_filename = "gtk/gtk.h")]
106 public const string JUSTIFY_FILL;
107 [CCode (cheader_filename = "gtk/gtk.h")]
108 public const string JUSTIFY_LEFT;
109 [CCode (cheader_filename = "gtk/gtk.h")]
110 public const string JUSTIFY_RIGHT;
111 [CCode (cheader_filename = "gtk/gtk.h")]
112 public const string LEAVE_FULLSCREEN;
113 [CCode (cheader_filename = "gtk/gtk.h")]
114 public const string MEDIA_FORWARD;
115 [CCode (cheader_filename = "gtk/gtk.h")]
116 public const string MEDIA_NEXT;
117 [CCode (cheader_filename = "gtk/gtk.h")]
118 public const string MEDIA_PAUSE;
119 [CCode (cheader_filename = "gtk/gtk.h")]
120 public const string MEDIA_PLAY;
121 [CCode (cheader_filename = "gtk/gtk.h")]
122 public const string MEDIA_PREVIOUS;
123 [CCode (cheader_filename = "gtk/gtk.h")]
124 public const string MEDIA_RECORD;
125 [CCode (cheader_filename = "gtk/gtk.h")]
126 public const string MEDIA_REWIND;
127 [CCode (cheader_filename = "gtk/gtk.h")]
128 public const string MEDIA_STOP;
129 [CCode (cheader_filename = "gtk/gtk.h")]
130 public const string MISSING_IMAGE;
131 [CCode (cheader_filename = "gtk/gtk.h")]
132 public const string NETWORK;
133 [CCode (cheader_filename = "gtk/gtk.h")]
134 public const string NEW;
135 [CCode (cheader_filename = "gtk/gtk.h")]
136 public const string NO;
137 [CCode (cheader_filename = "gtk/gtk.h")]
138 public const string OK;
139 [CCode (cheader_filename = "gtk/gtk.h")]
140 public const string OPEN;
141 [CCode (cheader_filename = "gtk/gtk.h")]
142 public const string ORIENTATION_LANDSCAPE;
143 [CCode (cheader_filename = "gtk/gtk.h")]
144 public const string ORIENTATION_PORTRAIT;
145 [CCode (cheader_filename = "gtk/gtk.h")]
146 public const string ORIENTATION_REVERSE_LANDSCAPE;
147 [CCode (cheader_filename = "gtk/gtk.h")]
148 public const string ORIENTATION_REVERSE_PORTRAIT;
149 [CCode (cheader_filename = "gtk/gtk.h")]
150 public const string PAGE_SETUP;
151 [CCode (cheader_filename = "gtk/gtk.h")]
152 public const string PASTE;
153 [CCode (cheader_filename = "gtk/gtk.h")]
154 public const string PREFERENCES;
155 [CCode (cheader_filename = "gtk/gtk.h")]
156 public const string PRINT;
157 [CCode (cheader_filename = "gtk/gtk.h")]
158 public const string PRINT_ERROR;
159 [CCode (cheader_filename = "gtk/gtk.h")]
160 public const string PRINT_PAUSED;
161 [CCode (cheader_filename = "gtk/gtk.h")]
162 public const string PRINT_PREVIEW;
163 [CCode (cheader_filename = "gtk/gtk.h")]
164 public const string PRINT_REPORT;
165 [CCode (cheader_filename = "gtk/gtk.h")]
166 public const string PRINT_WARNING;
167 [CCode (cheader_filename = "gtk/gtk.h")]
168 public const string PROPERTIES;
169 [CCode (cheader_filename = "gtk/gtk.h")]
170 public const string QUIT;
171 [CCode (cheader_filename = "gtk/gtk.h")]
172 public const string REDO;
173 [CCode (cheader_filename = "gtk/gtk.h")]
174 public const string REFRESH;
175 [CCode (cheader_filename = "gtk/gtk.h")]
176 public const string REMOVE;
177 [CCode (cheader_filename = "gtk/gtk.h")]
178 public const string REVERT_TO_SAVED;
179 [CCode (cheader_filename = "gtk/gtk.h")]
180 public const string SAVE;
181 [CCode (cheader_filename = "gtk/gtk.h")]
182 public const string SAVE_AS;
183 [CCode (cheader_filename = "gtk/gtk.h")]
184 public const string SELECT_ALL;
185 [CCode (cheader_filename = "gtk/gtk.h")]
186 public const string SELECT_COLOR;
187 [CCode (cheader_filename = "gtk/gtk.h")]
188 public const string SELECT_FONT;
189 [CCode (cheader_filename = "gtk/gtk.h")]
190 public const string SORT_ASCENDING;
191 [CCode (cheader_filename = "gtk/gtk.h")]
192 public const string SORT_DESCENDING;
193 [CCode (cheader_filename = "gtk/gtk.h")]
194 public const string SPELL_CHECK;
195 [CCode (cheader_filename = "gtk/gtk.h")]
196 public const string STOP;
197 [CCode (cheader_filename = "gtk/gtk.h")]
198 public const string STRIKETHROUGH;
199 [CCode (cheader_filename = "gtk/gtk.h")]
200 public const string UNDELETE;
201 [CCode (cheader_filename = "gtk/gtk.h")]
202 public const string UNDERLINE;
203 [CCode (cheader_filename = "gtk/gtk.h")]
204 public const string UNDO;
205 [CCode (cheader_filename = "gtk/gtk.h")]
206 public const string UNINDENT;
207 [CCode (cheader_filename = "gtk/gtk.h")]
208 public const string YES;
209 [CCode (cheader_filename = "gtk/gtk.h")]
210 public const string ZOOM_100;
211 [CCode (cheader_filename = "gtk/gtk.h")]
212 public const string ZOOM_FIT;
213 [CCode (cheader_filename = "gtk/gtk.h")]
214 public const string ZOOM_IN;
215 [CCode (cheader_filename = "gtk/gtk.h")]
216 public const string ZOOM_OUT;
217 [CCode (cheader_filename = "gtk/gtk.h")]
218 public static void add (Gtk.StockItem[] items);
219 [CCode (cheader_filename = "gtk/gtk.h")]
220 public static void add_static (Gtk.StockItem[] items);
221 [CCode (cheader_filename = "gtk/gtk.h")]
222 public static GLib.SList<string> list_ids ();
223 [CCode (cheader_filename = "gtk/gtk.h")]
224 public static bool lookup (string stock_id, out Gtk.StockItem item);
226 [CCode (cheader_filename = "gtk/gtk.h")]
227 public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
228 [CCode (type = "GtkWidget*", has_construct_function = false)]
229 public AboutDialog ();
230 public unowned string get_artists ();
231 public unowned string get_authors ();
232 public unowned string get_comments ();
233 public unowned string get_copyright ();
234 public unowned string get_documenters ();
235 public unowned string get_license ();
236 public Gtk.License get_license_type ();
237 public unowned Gdk.Pixbuf get_logo ();
238 public unowned string get_logo_icon_name ();
239 public unowned string get_program_name ();
240 public unowned string get_translator_credits ();
241 public unowned string get_version ();
242 public unowned string get_website ();
243 public unowned string get_website_label ();
244 public bool get_wrap_license ();
245 public void set_artists ([CCode (array_length = false)] string[] artists);
246 public void set_authors ([CCode (array_length = false)] string[] authors);
247 public void set_comments (string comments);
248 public void set_copyright (string copyright);
249 public void set_documenters ([CCode (array_length = false)] string[] documenters);
250 public void set_license (string license);
251 public void set_license_type (Gtk.License license_type);
252 public void set_logo (Gdk.Pixbuf logo);
253 public void set_logo_icon_name (string icon_name);
254 public void set_program_name (string name);
255 public void set_translator_credits (string translator_credits);
256 public void set_version (string version);
257 public void set_website (string website);
258 public void set_website_label (string website_label);
259 public void set_wrap_license (bool wrap_license);
260 [CCode (array_length = false, array_null_terminated = true)]
261 public string[] artists { get; set; }
262 [CCode (array_length = false, array_null_terminated = true)]
263 public string[] authors { get; set; }
264 public string comments { get; set; }
265 public string copyright { get; set; }
266 [CCode (array_length = false, array_null_terminated = true)]
267 public string[] documenters { get; set; }
268 public string license { get; set; }
269 public Gtk.License license_type { get; set; }
270 public Gdk.Pixbuf logo { get; set; }
271 public string logo_icon_name { get; set; }
272 public string program_name { get; set; }
273 public string translator_credits { get; set; }
274 public string version { get; set; }
275 public string website { get; set; }
276 public string website_label { get; set; }
277 public bool wrap_license { get; set; }
278 public virtual signal bool activate_link (string uri);
280 [CCode (cheader_filename = "gtk/gtk.h")]
281 public class AccelGroup : GLib.Object {
282 [CCode (has_construct_function = false)]
283 public AccelGroup ();
284 public bool activate (GLib.Quark accel_quark, GLib.Object acceleratable, uint accel_key, Gdk.ModifierType accel_mods);
285 public void connect (uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
286 public void connect_by_path (string accel_path, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
287 public bool disconnect (GLib.Closure closure);
288 public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods);
289 public Gtk.AccelKey* find (Gtk.AccelGroupFindFunc find_func);
290 public static unowned Gtk.AccelGroup from_accel_closure (GLib.Closure closure);
291 public bool get_is_locked ();
292 public Gdk.ModifierType get_modifier_mask ();
293 public void @lock ();
294 public unowned Gtk.AccelGroupEntry query (uint accel_key, Gdk.ModifierType accel_mods, uint n_entries);
295 public void unlock ();
296 public bool is_locked { get; }
297 public Gdk.ModifierType modifier_mask { get; }
298 public virtual signal bool accel_activate (GLib.Object p0, uint p1, Gdk.ModifierType p2);
299 public virtual signal void accel_changed (uint keyval, Gdk.ModifierType modifier, GLib.Closure accel_closure);
302 [CCode (cheader_filename = "gtk/gtk.h")]
303 public class AccelGroupEntry {
304 public GLib.Quark accel_path_quark;
305 public weak GLib.Closure closure;
306 public Gtk.AccelKey key;
308 [CCode (cheader_filename = "gtk/gtk.h")]
309 public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
310 [CCode (type = "GtkWidget*", has_construct_function = false)]
311 public AccelLabel (string str);
312 public unowned Gtk.Widget get_accel_widget ();
313 public uint get_accel_width ();
314 public bool refetch ();
315 public void set_accel_closure ([CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate accel_closure);
316 public void set_accel_widget (Gtk.Widget accel_widget);
318 public GLib.Closure accel_closure { owned get; set; }
319 public Gtk.Widget accel_widget { get; set; }
321 [CCode (cheader_filename = "gtk/gtk.h")]
322 public class AccelMap : GLib.Object {
323 [CCode (has_construct_function = false)]
324 protected AccelMap ();
325 public static void add_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
326 public static void add_filter (string filter_pattern);
327 public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace);
328 public static void @foreach (void* data, Gtk.AccelMapForeach foreach_func);
329 public static void foreach_unfiltered (void* data, Gtk.AccelMapForeach foreach_func);
330 public static unowned Gtk.AccelMap @get ();
331 public static void load (string file_name);
332 public static void load_fd (int fd);
333 public static void load_scanner (GLib.Scanner scanner);
334 public static void lock_path (string accel_path);
335 public static bool lookup_entry (string accel_path, out Gtk.AccelKey key);
336 public static void save (string file_name);
337 public static void save_fd (int fd);
338 public static void unlock_path (string accel_path);
339 public virtual signal void changed (string p0, uint p1, Gdk.ModifierType p2);
342 [CCode (cheader_filename = "gtk/gtk.h")]
343 public class AccelMapClass {
345 [CCode (cheader_filename = "gtk/gtk.h")]
346 public class Accessible : Atk.Object {
347 [CCode (has_construct_function = false)]
348 protected Accessible ();
349 public virtual void connect_widget_destroyed ();
350 public unowned Gtk.Widget get_widget ();
351 public void set_widget (Gtk.Widget widget);
353 [CCode (cheader_filename = "gtk/gtk.h")]
354 public class Action : GLib.Object, Gtk.Buildable {
355 [CCode (has_construct_function = false)]
356 public Action (string name, string? label, string? tooltip, string? stock_id);
357 public void block_activate ();
358 public void connect_accelerator ();
360 public virtual void connect_proxy (Gtk.Widget proxy);
361 public unowned Gtk.Widget create_icon (Gtk.IconSize icon_size);
362 public virtual unowned Gtk.Widget create_menu ();
363 public virtual unowned Gtk.Widget create_menu_item ();
364 public virtual unowned Gtk.Widget create_tool_item ();
365 public void disconnect_accelerator ();
367 public virtual void disconnect_proxy (Gtk.Widget proxy);
368 public unowned GLib.Closure get_accel_closure ();
369 public unowned string get_accel_path ();
370 public bool get_always_show_image ();
371 public unowned GLib.Icon get_gicon ();
372 public unowned string get_icon_name ();
373 public bool get_is_important ();
374 public unowned string get_label ();
375 public unowned GLib.SList<Gtk.Widget> get_proxies ();
376 public bool get_sensitive ();
377 public unowned string get_short_label ();
378 public unowned string get_stock_id ();
379 public unowned string get_tooltip ();
380 public bool get_visible ();
381 public bool get_visible_horizontal ();
382 public bool get_visible_vertical ();
383 public bool is_sensitive ();
384 public bool is_visible ();
385 public void set_accel_group (Gtk.AccelGroup accel_group);
386 public void set_accel_path (string accel_path);
387 public void set_always_show_image (bool always_show);
388 public void set_gicon (GLib.Icon icon);
389 public void set_icon_name (string icon_name);
390 public void set_is_important (bool is_important);
391 public void set_label (string label);
392 public void set_sensitive (bool sensitive);
393 public void set_short_label (string short_label);
394 public void set_stock_id (string stock_id);
395 public void set_tooltip (string tooltip);
396 public void set_visible (bool visible);
397 public void set_visible_horizontal (bool visible_horizontal);
398 public void set_visible_vertical (bool visible_vertical);
399 public void unblock_activate ();
401 public Gtk.ActionGroup action_group { owned get; set; }
402 public bool always_show_image { get; set construct; }
403 public GLib.Icon gicon { get; set; }
405 public bool hide_if_empty { get; set; }
406 public string icon_name { get; set; }
407 public bool is_important { get; set; }
408 public string label { get; set; }
409 public string name { get; construct; }
410 public bool sensitive { get; set; }
411 public string short_label { get; set; }
412 public string stock_id { get; set; }
413 public string tooltip { get; set; }
414 public bool visible { get; set; }
415 public bool visible_horizontal { get; set; }
417 public bool visible_overflown { get; set; }
418 public bool visible_vertical { get; set; }
420 public virtual signal void activate ();
422 [CCode (cheader_filename = "gtk/gtk.h")]
423 public class ActionGroup : GLib.Object, Gtk.Buildable {
424 [CCode (has_construct_function = false)]
425 public ActionGroup (string name);
426 public void add_action (Gtk.Action action);
427 public void add_action_with_accel (Gtk.Action action, string? accelerator);
428 public void add_actions (Gtk.ActionEntry[] entries, void* user_data);
429 public void add_actions_full (Gtk.ActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
430 public void add_radio_actions (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change);
431 public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change, GLib.DestroyNotify? destroy);
432 public void add_toggle_actions (Gtk.ToggleActionEntry[] entries, void* user_data);
433 public void add_toggle_actions_full (Gtk.ToggleActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
434 public virtual unowned Gtk.Action get_action (string action_name);
435 public bool get_sensitive ();
436 public bool get_visible ();
437 public GLib.List<weak Gtk.Action> list_actions ();
438 public void remove_action (Gtk.Action action);
439 public void set_sensitive (bool sensitive);
440 public void set_translate_func (owned Gtk.TranslateFunc func);
441 public void set_translation_domain (string domain);
442 public void set_visible (bool visible);
443 public unowned string translate_string (string str);
444 public string name { get; construct; }
445 public bool sensitive { get; set; }
446 public bool visible { get; set; }
447 public virtual signal void connect_proxy (Gtk.Action p0, Gtk.Widget p1);
448 public virtual signal void disconnect_proxy (Gtk.Action p0, Gtk.Widget p1);
449 public virtual signal void post_activate (Gtk.Action p0);
450 public virtual signal void pre_activate (Gtk.Action p0);
452 [CCode (cheader_filename = "gtk/gtk.h")]
453 public class Adjustment : GLib.InitiallyUnowned {
454 [CCode (has_construct_function = false)]
455 public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
456 public void clamp_page (double lower, double upper);
457 public void configure (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
458 public double get_lower ();
459 public double get_page_increment ();
460 public double get_page_size ();
461 public double get_step_increment ();
462 public double get_upper ();
463 public double get_value ();
464 public void set_lower (double lower);
465 public void set_page_increment (double page_increment);
466 public void set_page_size (double page_size);
467 public void set_step_increment (double step_increment);
468 public void set_upper (double upper);
469 public void set_value (double value);
470 public double lower { get; set; }
471 public double page_increment { get; set; }
472 public double page_size { get; set; }
473 public double step_increment { get; set; }
474 public double upper { get; set; }
475 public double value { get; set; }
477 public virtual signal void changed ();
479 public virtual signal void value_changed ();
481 [CCode (cheader_filename = "gtk/gtk.h")]
482 public class Alignment : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
483 [CCode (type = "GtkWidget*", has_construct_function = false)]
484 public Alignment (float xalign, float yalign, float xscale, float yscale);
485 public void get_padding (out uint padding_top, out uint padding_bottom, out uint padding_left, out uint padding_right);
486 public void @set (float xalign, float yalign, float xscale, float yscale);
487 public void set_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right);
489 public uint bottom_padding { get; set; }
491 public uint left_padding { get; set; }
493 public uint right_padding { get; set; }
495 public uint top_padding { get; set; }
497 public float xalign { get; set; }
499 public float xscale { get; set; }
501 public float yalign { get; set; }
503 public float yscale { get; set; }
505 [CCode (cheader_filename = "gtk/gtk.h")]
506 public class AppChooserButton : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable, Gtk.AppChooser {
507 [CCode (type = "GtkWidget*", has_construct_function = false)]
508 public AppChooserButton (string content_type);
509 public void append_custom_item (string name, string label, GLib.Icon icon);
510 public void append_separator ();
511 public unowned string get_heading ();
512 public bool get_show_dialog_item ();
513 public void set_active_custom_item (string name);
514 public void set_heading (string heading);
515 public void set_show_dialog_item (bool setting);
516 public string heading { get; set; }
517 public bool show_dialog_item { get; set construct; }
518 public virtual signal void custom_item_activated (string item_name);
520 [CCode (cheader_filename = "gtk/gtk.h")]
521 public class AppChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.AppChooser {
522 [CCode (type = "GtkWidget*", has_construct_function = false)]
523 public AppChooserDialog (Gtk.Window parent, Gtk.DialogFlags flags, GLib.File file);
524 [CCode (type = "GtkWidget*", has_construct_function = false)]
525 public AppChooserDialog.for_content_type (Gtk.Window parent, Gtk.DialogFlags flags, string content_type);
526 public unowned string get_heading ();
527 public unowned Gtk.Widget get_widget ();
528 public void set_heading (string heading);
530 public GLib.File gfile { owned get; construct; }
531 public string heading { get; set; }
533 [CCode (cheader_filename = "gtk/gtk.h")]
534 public class AppChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.AppChooser {
535 [CCode (type = "GtkWidget*", has_construct_function = false)]
536 public AppChooserWidget (string content_type);
537 public unowned string get_default_text ();
538 public bool get_show_all ();
539 public bool get_show_default ();
540 public bool get_show_fallback ();
541 public bool get_show_other ();
542 public bool get_show_recommended ();
543 public void set_default_text (string text);
544 public void set_show_all (bool setting);
545 public void set_show_default (bool setting);
546 public void set_show_fallback (bool setting);
547 public void set_show_other (bool setting);
548 public void set_show_recommended (bool setting);
549 public string default_text { get; set; }
550 public bool show_all { get; set construct; }
551 public bool show_default { get; set construct; }
552 public bool show_fallback { get; set construct; }
553 public bool show_other { get; set construct; }
554 public bool show_recommended { get; set construct; }
555 public virtual signal void application_activated (GLib.AppInfo app_info);
556 public virtual signal void application_selected (GLib.AppInfo app_info);
557 public virtual signal void populate_popup (Gtk.Menu menu, GLib.AppInfo app_info);
559 [CCode (cheader_filename = "gtk/gtk.h")]
560 public class Application : GLib.Application, GLib.ActionGroup {
561 [CCode (has_construct_function = false)]
562 public Application (string application_id, GLib.ApplicationFlags flags);
563 public void add_window (Gtk.Window window);
564 public unowned GLib.List<weak Gtk.Window> get_windows ();
565 public void remove_window (Gtk.Window window);
567 [CCode (cheader_filename = "gtk/gtk.h")]
568 public class Arrow : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
569 [CCode (type = "GtkWidget*", has_construct_function = false)]
570 public Arrow (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
571 public void @set (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
573 public Gtk.ArrowType arrow_type { get; set; }
575 public Gtk.ShadowType shadow_type { get; set; }
577 [CCode (cheader_filename = "gtk/gtk.h")]
578 public class AspectFrame : Gtk.Frame, Atk.Implementor, Gtk.Buildable {
579 [CCode (type = "GtkWidget*", has_construct_function = false)]
580 public AspectFrame (string label, float xalign, float yalign, float ratio, bool obey_child);
581 public void @set (float xalign, float yalign, float ratio, bool obey_child);
583 public bool obey_child { get; set; }
585 public float ratio { get; set; }
587 public float xalign { get; set; }
589 public float yalign { get; set; }
591 [CCode (cheader_filename = "gtk/gtk.h")]
592 public class Assistant : Gtk.Window, Atk.Implementor, Gtk.Buildable {
593 [CCode (type = "GtkWidget*", has_construct_function = false)]
595 public void add_action_widget (Gtk.Widget child);
596 public int append_page (Gtk.Widget page);
597 public void commit ();
598 public int get_current_page ();
599 public int get_n_pages ();
600 public unowned Gtk.Widget get_nth_page (int page_num);
601 public bool get_page_complete (Gtk.Widget page);
602 public unowned Gdk.Pixbuf get_page_header_image (Gtk.Widget page);
603 public unowned Gdk.Pixbuf get_page_side_image (Gtk.Widget page);
604 public unowned string get_page_title (Gtk.Widget page);
605 public Gtk.AssistantPageType get_page_type (Gtk.Widget page);
606 public int insert_page (Gtk.Widget page, int position);
607 public void next_page ();
608 public int prepend_page (Gtk.Widget page);
609 public void previous_page ();
610 public void remove_action_widget (Gtk.Widget child);
611 public void set_current_page (int page_num);
612 public void set_forward_page_func (owned Gtk.AssistantPageFunc page_func);
613 public void set_page_complete (Gtk.Widget page, bool complete);
614 public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
615 public void set_page_side_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
616 public void set_page_title (Gtk.Widget page, string title);
617 public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type);
618 public void update_buttons_state ();
619 public virtual signal void apply ();
620 public virtual signal void cancel ();
621 public virtual signal void close ();
622 public virtual signal void prepare (Gtk.Widget page);
624 [CCode (cheader_filename = "gtk/gtk.h")]
625 public class Bin : Gtk.Container, Atk.Implementor, Gtk.Buildable {
626 [CCode (has_construct_function = false)]
628 public unowned Gtk.Widget get_child ();
631 [CCode (cheader_filename = "gtk/gtk.h")]
632 public class BindingArg {
633 public GLib.Type arg_type;
636 [CCode (cheader_filename = "gtk/gtk.h")]
637 public class BindingEntry {
638 public weak Gtk.BindingSet binding_set;
639 public uint destroyed;
640 public weak Gtk.BindingEntry hash_next;
641 public uint in_emission;
643 public uint marks_unbound;
644 public Gdk.ModifierType modifiers;
645 public weak Gtk.BindingEntry set_next;
646 public weak Gtk.BindingSignal signals;
647 public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args);
648 public static GLib.TokenType add_signal_from_string (Gtk.BindingSet binding_set, string signal_desc);
649 public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList<Gtk.BindingArg> binding_args);
650 public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
651 public static void skip (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
654 [CCode (cheader_filename = "gtk/gtk.h")]
655 public class BindingSet {
656 public weak Gtk.BindingEntry current;
657 public weak Gtk.BindingEntry entries;
660 public weak string set_name;
661 [CCode (has_construct_function = false)]
662 public BindingSet (string set_name);
663 public bool activate (uint keyval, Gdk.ModifierType modifiers, GLib.Object object);
664 public static unowned Gtk.BindingSet by_class (void* object_class);
665 public static unowned Gtk.BindingSet find (string set_name);
668 [CCode (cheader_filename = "gtk/gtk.h")]
669 public class BindingSignal {
670 public weak Gtk.BindingArg args;
672 public weak Gtk.BindingSignal next;
673 public weak string signal_name;
676 [CCode (copy_function = "gtk_border_copy", type_id = "GTK_TYPE_BORDER", cheader_filename = "gtk/gtk.h")]
677 public class Border {
682 [CCode (has_construct_function = false)]
684 public Gtk.Border copy ();
686 [CCode (cheader_filename = "gtk/gtk.h")]
687 public class Box : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
688 [CCode (type = "GtkWidget*", has_construct_function = false)]
689 public Box (Gtk.Orientation orientation, int spacing);
690 public bool get_homogeneous ();
691 public int get_spacing ();
692 public void pack_end (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
693 public void pack_start (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
694 public void query_child_packing (Gtk.Widget child, out bool expand, out bool fill, out uint padding, out Gtk.PackType pack_type);
695 public void reorder_child (Gtk.Widget child, int position);
696 public void set_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type);
697 public void set_homogeneous (bool homogeneous);
698 public void set_spacing (int spacing);
699 public bool homogeneous { get; set; }
700 public int spacing { get; set; }
702 [CCode (cheader_filename = "gtk/gtk.h")]
703 public class Builder : GLib.Object {
704 [CCode (has_construct_function = false)]
706 public uint add_from_file (string filename) throws GLib.Error;
707 public uint add_from_string (string buffer, size_t length) throws GLib.Error;
708 public uint add_objects_from_file (string filename, [CCode (array_length = false)] string[] object_ids) throws GLib.Error;
709 public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false)] string[] object_ids) throws GLib.Error;
710 public void connect_signals (void* user_data);
711 public void connect_signals_full (Gtk.BuilderConnectFunc func);
712 public static GLib.Quark error_quark ();
713 public unowned GLib.Object get_object (string name);
714 public GLib.SList<weak GLib.Object> get_objects ();
715 public unowned string get_translation_domain ();
716 public virtual GLib.Type get_type_from_name (string type_name);
717 public void set_translation_domain (string domain);
718 public bool value_from_string (GLib.ParamSpec pspec, string str, GLib.Value value) throws GLib.Error;
719 public bool value_from_string_type (GLib.Type type, string str, GLib.Value value) throws GLib.Error;
720 public string translation_domain { get; set; }
722 [CCode (cheader_filename = "gtk/gtk.h")]
723 public class Button : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
724 [CCode (type = "GtkWidget*", has_construct_function = false)]
726 [CCode (type = "GtkWidget*", has_construct_function = false)]
727 public Button.from_stock (string stock_id);
728 public void get_alignment (out float xalign, out float yalign);
729 public unowned Gdk.Window get_event_window ();
730 public bool get_focus_on_click ();
731 public unowned Gtk.Widget get_image ();
732 public Gtk.PositionType get_image_position ();
733 public unowned string get_label ();
734 public Gtk.ReliefStyle get_relief ();
735 public bool get_use_stock ();
736 public bool get_use_underline ();
737 public void set_alignment (float xalign, float yalign);
738 public void set_focus_on_click (bool focus_on_click);
739 public void set_image (Gtk.Widget image);
740 public void set_image_position (Gtk.PositionType position);
741 public void set_label (string label);
742 public void set_relief (Gtk.ReliefStyle newstyle);
743 public void set_use_stock (bool use_stock);
744 public void set_use_underline (bool use_underline);
745 [CCode (type = "GtkWidget*", has_construct_function = false)]
746 public Button.with_label (string label);
747 [CCode (type = "GtkWidget*", has_construct_function = false)]
748 public Button.with_mnemonic (string label);
749 public bool focus_on_click { get; set; }
750 public Gtk.Widget image { get; set; }
751 public Gtk.PositionType image_position { get; set; }
752 public string label { get; set construct; }
753 public Gtk.ReliefStyle relief { get; set; }
754 public bool use_stock { get; set construct; }
755 public bool use_underline { get; set construct; }
757 public float xalign { get; set; }
759 public float yalign { get; set; }
760 public virtual signal void activate ();
762 public virtual signal void clicked ();
764 public virtual signal void enter ();
766 public virtual signal void leave ();
768 public virtual signal void pressed ();
770 public virtual signal void released ();
772 [CCode (cheader_filename = "gtk/gtk.h")]
773 public class ButtonBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
774 [CCode (type = "GtkWidget*", has_construct_function = false)]
775 public ButtonBox (Gtk.Orientation orientation);
776 public bool get_child_secondary (Gtk.Widget child);
777 public Gtk.ButtonBoxStyle get_layout ();
778 public void set_child_secondary (Gtk.Widget child, bool is_secondary);
779 public void set_layout (Gtk.ButtonBoxStyle layout_style);
781 public Gtk.ButtonBoxStyle layout_style { get; set; }
783 [CCode (cheader_filename = "gtk/gtk.h")]
784 public class Calendar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
785 [CCode (type = "GtkWidget*", has_construct_function = false)]
787 public void clear_marks ();
788 public void get_date (out uint year, out uint month, out uint day);
789 public bool get_day_is_marked (uint day);
790 public int get_detail_height_rows ();
791 public int get_detail_width_chars ();
792 public Gtk.CalendarDisplayOptions get_display_options ();
793 public void mark_day (uint day);
794 public void select_day (uint day);
795 public void select_month (uint month, uint year);
796 public void set_detail_func (owned Gtk.CalendarDetailFunc func);
797 public void set_detail_height_rows (int rows);
798 public void set_detail_width_chars (int chars);
799 public void set_display_options (Gtk.CalendarDisplayOptions flags);
800 public void unmark_day (uint day);
802 public int day { get; set; }
803 public int detail_height_rows { get; set; }
804 public int detail_width_chars { get; set; }
806 public int month { get; set; }
808 public bool no_month_change { get; set; }
810 public bool show_day_names { get; set; }
812 public bool show_details { get; set; }
814 public bool show_heading { get; set; }
816 public bool show_week_numbers { get; set; }
818 public int year { get; set; }
819 public virtual signal void day_selected ();
820 public virtual signal void day_selected_double_click ();
821 public virtual signal void month_changed ();
822 public virtual signal void next_month ();
823 public virtual signal void next_year ();
824 public virtual signal void prev_month ();
825 public virtual signal void prev_year ();
827 [CCode (cheader_filename = "gtk/gtk.h")]
828 public class CellArea : GLib.InitiallyUnowned, Gtk.CellLayout, Gtk.Buildable {
829 [CCode (has_construct_function = false)]
830 protected CellArea ();
831 public virtual bool activate (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool edit_only);
832 public bool activate_cell (Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
833 public virtual void add (Gtk.CellRenderer renderer);
834 public void add_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
835 public void add_with_properties (Gtk.CellRenderer renderer, ...);
836 public void attribute_connect (Gtk.CellRenderer renderer, string attribute, int column);
837 public void attribute_disconnect (Gtk.CellRenderer renderer, string attribute);
838 public void cell_get (Gtk.CellRenderer renderer, ...);
839 public void cell_get_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
840 public void cell_get_valist (Gtk.CellRenderer renderer, string first_property_name, void* var_args);
841 public void cell_set (Gtk.CellRenderer renderer, ...);
842 public void cell_set_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
843 public void cell_set_valist (Gtk.CellRenderer renderer, string first_property_name, void* var_args);
844 public virtual unowned Gtk.CellAreaContext copy_context (Gtk.CellAreaContext context);
845 public virtual unowned Gtk.CellAreaContext create_context ();
846 public virtual int event (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
847 [CCode (cname = "gtk_cell_area_class_find_cell_property")]
848 public class unowned GLib.ParamSpec find_cell_property (string property_name);
849 public virtual bool focus (Gtk.DirectionType direction);
850 public virtual void @foreach (Gtk.CellCallback callback, void* callback_data);
851 public virtual void foreach_alloc (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle background_area, Gtk.CellAllocCallback callback, void* callback_data);
852 public void get_cell_allocation (Gtk.CellAreaContext context, Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle allocation);
853 public unowned Gtk.CellRenderer get_cell_at_position (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, int x, int y, Gdk.Rectangle alloc_area);
855 public virtual void get_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
856 public unowned string get_current_path_string ();
857 public unowned Gtk.CellEditable get_edit_widget ();
858 public unowned Gtk.CellRenderer get_edited_cell ();
859 public unowned Gtk.CellRenderer get_focus_cell ();
860 public unowned Gtk.CellRenderer get_focus_from_sibling (Gtk.CellRenderer renderer);
861 public unowned GLib.List get_focus_siblings (Gtk.CellRenderer renderer);
862 public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, int minimum_height, int natural_height);
863 public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, int minimum_height, int natural_height);
864 public virtual void get_preferred_width (Gtk.CellAreaContext context, Gtk.Widget widget, int minimum_width, int natural_width);
865 public virtual void get_preferred_width_for_height (Gtk.CellAreaContext context, Gtk.Widget widget, int height, int minimum_width, int natural_width);
866 public virtual Gtk.SizeRequestMode get_request_mode ();
867 public bool has_renderer (Gtk.CellRenderer renderer);
868 public void inner_cell_area (Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle inner_area);
869 [CCode (cname = "gtk_cell_area_class_install_cell_property")]
870 public class void install_cell_property (uint property_id, GLib.ParamSpec pspec);
871 public virtual bool is_activatable ();
872 public bool is_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
873 [CCode (cname = "gtk_cell_area_class_list_cell_properties")]
874 public class unowned GLib.ParamSpec list_cell_properties (uint n_properties);
875 public virtual void remove (Gtk.CellRenderer renderer);
876 public void remove_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
877 public virtual void render (Gtk.CellAreaContext context, Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool paint_focus);
878 public void request_renderer (Gtk.CellRenderer renderer, Gtk.Orientation orientation, Gtk.Widget widget, int for_size, int minimum_size, int natural_size);
880 public virtual void set_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
881 public void set_focus_cell (Gtk.CellRenderer renderer);
882 public void stop_editing (bool canceled);
883 public Gtk.CellEditable edit_widget { get; }
884 public Gtk.CellRenderer edited_cell { get; }
885 public Gtk.CellRenderer focus_cell { get; set; }
886 public virtual signal void add_editable (Gtk.CellRenderer p0, Gtk.CellEditable p1, Gdk.Rectangle p2, string p3);
888 public virtual signal void apply_attributes (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
889 public virtual signal void focus_changed (Gtk.CellRenderer p0, string p1);
890 public virtual signal void remove_editable (Gtk.CellRenderer p0, Gtk.CellEditable p1);
892 [CCode (cheader_filename = "gtk/gtk.h")]
893 public class CellAreaBox : Gtk.CellArea, Gtk.CellLayout, Gtk.Buildable, Gtk.Orientable {
894 [CCode (type = "GtkCellArea*", has_construct_function = false)]
895 public CellAreaBox ();
896 public int get_spacing ();
897 public void set_spacing (int spacing);
898 public int spacing { get; set; }
900 [CCode (cheader_filename = "gtk/gtk.h")]
901 public class CellAreaContext : GLib.Object {
902 [CCode (has_construct_function = false)]
903 protected CellAreaContext ();
904 public virtual void allocate (int width, int height);
905 public void get_allocation (int width, int height);
906 public unowned Gtk.CellArea get_area ();
907 public void get_preferred_height (int minimum_height, int natural_height);
908 public virtual void get_preferred_height_for_width (int width, int minimum_height, int natural_height);
909 public void get_preferred_width (int minimum_width, int natural_width);
910 public virtual void get_preferred_width_for_height (int height, int minimum_width, int natural_width);
911 public void push_preferred_height (int minimum_height, int natural_height);
912 public void push_preferred_width (int minimum_width, int natural_width);
913 public virtual void reset ();
914 public Gtk.CellArea area { get; construct; }
916 public int minimum_height { get; }
918 public int minimum_width { get; }
920 public int natural_height { get; }
922 public int natural_width { get; }
924 [CCode (cheader_filename = "gtk/gtk.h")]
925 public abstract class CellRenderer : GLib.InitiallyUnowned {
926 [CCode (has_construct_function = false)]
927 protected CellRenderer ();
928 public virtual bool activate (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
929 public virtual void get_aligned_area (Gtk.Widget widget, Gtk.CellRendererState flags, Gdk.Rectangle cell_area, Gdk.Rectangle aligned_area);
930 public void get_alignment (float xalign, float yalign);
931 public void get_fixed_size (out int width, out int height);
932 public void get_padding (int xpad, int ypad);
933 public virtual void get_preferred_height (Gtk.Widget widget, out int minimum_size, out int natural_size);
934 public virtual void get_preferred_height_for_width (Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
935 public void get_preferred_size (Gtk.Widget widget, out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
936 public virtual void get_preferred_width (Gtk.Widget widget, out int minimum_size, out int natural_size);
937 public virtual void get_preferred_width_for_height (Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
938 public virtual Gtk.SizeRequestMode get_request_mode ();
939 public bool get_sensitive ();
941 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);
942 public Gtk.StateFlags get_state (Gtk.Widget widget, Gtk.CellRendererState cell_state);
943 public bool get_visible ();
944 public bool is_activatable ();
945 public abstract void render (Cairo.Context cr, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
946 public void set_alignment (float xalign, float yalign);
947 public void set_fixed_size (int width, int height);
948 public void set_padding (int xpad, int ypad);
949 public void set_sensitive (bool sensitive);
950 public void set_visible (bool visible);
951 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);
952 public void stop_editing (bool canceled);
954 public string cell_background { set; }
956 public Gdk.Color cell_background_gdk { get; set; }
958 public Gdk.RGBA cell_background_rgba { get; set; }
960 public bool cell_background_set { get; set; }
962 public bool editing { get; }
964 public int height { get; set; }
966 public bool is_expanded { get; set; }
968 public bool is_expander { get; set; }
970 public Gtk.CellRendererMode mode { get; set; }
971 public bool sensitive { get; set; }
972 public bool visible { get; set; }
974 public int width { get; set; }
976 public float xalign { get; set; }
978 public uint xpad { get; set; }
980 public float yalign { get; set; }
982 public uint ypad { get; set; }
984 public virtual signal void editing_canceled ();
985 public virtual signal void editing_started (Gtk.CellEditable editable, string path);
987 [CCode (cheader_filename = "gtk/gtk.h")]
988 public class CellRendererAccel : Gtk.CellRendererText {
989 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
990 public CellRendererAccel ();
992 public uint accel_key { get; set; }
994 public Gtk.CellRendererAccelMode accel_mode { get; set; }
996 public Gdk.ModifierType accel_mods { get; set; }
998 public uint keycode { get; set; }
999 public virtual signal void accel_cleared (string path_string);
1000 public virtual signal void accel_edited (string path_string, uint accel_key, Gdk.ModifierType accel_mods, uint hardware_keycode);
1002 [CCode (cheader_filename = "gtk/gtk.h")]
1003 public class CellRendererCombo : Gtk.CellRendererText {
1004 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
1005 public CellRendererCombo ();
1007 public bool has_entry { get; set; }
1009 public Gtk.TreeModel model { owned get; set; }
1011 public int text_column { get; set; }
1012 public virtual signal void changed (string p0, Gtk.TreeIter p1);
1014 [CCode (cheader_filename = "gtk/gtk.h")]
1015 public class CellRendererPixbuf : Gtk.CellRenderer {
1016 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
1017 public CellRendererPixbuf ();
1019 public bool follow_state { get; set; }
1021 public GLib.Icon gicon { owned get; set; }
1023 public string icon_name { owned get; set; }
1025 public Gdk.Pixbuf pixbuf { owned get; set; }
1027 public Gdk.Pixbuf pixbuf_expander_closed { owned get; set; }
1029 public Gdk.Pixbuf pixbuf_expander_open { owned get; set; }
1031 public string stock_detail { owned get; set; }
1033 public string stock_id { owned get; set; }
1035 public uint stock_size { get; set; }
1037 [CCode (cheader_filename = "gtk/gtk.h")]
1038 public class CellRendererProgress : Gtk.CellRenderer, Gtk.Orientable {
1039 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
1040 public CellRendererProgress ();
1042 public bool inverted { get; set; }
1044 public int pulse { get; set; }
1046 public string text { owned get; set; }
1048 public float text_xalign { get; set; }
1050 public float text_yalign { get; set; }
1052 public int value { get; set; }
1054 [CCode (cheader_filename = "gtk/gtk.h")]
1055 public class CellRendererSpin : Gtk.CellRendererText {
1056 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
1057 public CellRendererSpin ();
1059 public Gtk.Adjustment adjustment { owned get; set; }
1061 public double climb_rate { get; set; }
1063 public uint digits { get; set; }
1065 [CCode (cheader_filename = "gtk/gtk.h")]
1066 public class CellRendererSpinner : Gtk.CellRenderer {
1067 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
1068 public CellRendererSpinner ();
1070 public bool active { get; set; }
1072 public uint pulse { get; set; }
1074 public Gtk.IconSize size { get; set; }
1076 [CCode (cheader_filename = "gtk/gtk.h")]
1077 public class CellRendererText : Gtk.CellRenderer {
1078 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
1079 public CellRendererText ();
1080 public void set_fixed_height_from_font (int number_of_rows);
1082 public bool align_set { get; set; }
1084 public Pango.Alignment alignment { get; set; }
1086 public Pango.AttrList attributes { owned get; set; }
1088 public string background { set; }
1090 public Gdk.Color background_gdk { get; set; }
1092 public Gdk.RGBA background_rgba { get; set; }
1094 public bool background_set { get; set; }
1096 public bool editable { get; set; }
1098 public bool editable_set { get; set; }
1100 public Pango.EllipsizeMode ellipsize { get; set; }
1102 public bool ellipsize_set { get; set; }
1104 public string family { owned get; set; }
1106 public bool family_set { get; set; }
1108 public string font { owned get; set; }
1110 public Pango.FontDescription font_desc { owned get; set; }
1112 public string foreground { set; }
1114 public Gdk.Color foreground_gdk { get; set; }
1116 public Gdk.RGBA foreground_rgba { get; set; }
1118 public bool foreground_set { get; set; }
1120 public string language { owned get; set; }
1122 public bool language_set { get; set; }
1124 public string markup { set; }
1126 public int max_width_chars { get; set; }
1128 public int rise { get; set; }
1130 public bool rise_set { get; set; }
1132 public double scale { get; set; }
1134 public bool scale_set { get; set; }
1136 public bool single_paragraph_mode { get; set; }
1138 public int size { get; set; }
1140 public double size_points { get; set; }
1142 public bool size_set { get; set; }
1144 public Pango.Stretch stretch { get; set; }
1146 public bool stretch_set { get; set; }
1148 public bool strikethrough { get; set; }
1150 public bool strikethrough_set { get; set; }
1152 public Pango.Style style { get; set; }
1154 public bool style_set { get; set; }
1156 public string text { owned get; set; }
1158 public Pango.Underline underline { get; set; }
1160 public bool underline_set { get; set; }
1162 public Pango.Variant variant { get; set; }
1164 public bool variant_set { get; set; }
1166 public int weight { get; set; }
1168 public bool weight_set { get; set; }
1170 public int width_chars { get; set; }
1172 public Pango.WrapMode wrap_mode { get; set; }
1174 public int wrap_width { get; set; }
1175 public virtual signal void edited (string path, string new_text);
1177 [CCode (cheader_filename = "gtk/gtk.h")]
1178 public class CellRendererToggle : Gtk.CellRenderer {
1179 [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
1180 public CellRendererToggle ();
1181 public bool get_activatable ();
1182 public bool get_active ();
1183 public bool get_radio ();
1184 public void set_activatable (bool setting);
1185 public void set_active (bool setting);
1186 public void set_radio (bool radio);
1187 public bool activatable { get; set; }
1188 public bool active { get; set; }
1190 public bool inconsistent { get; set; }
1192 public int indicator_size { get; set; }
1193 public bool radio { get; set; }
1194 public virtual signal void toggled (string path);
1196 [CCode (cheader_filename = "gtk/gtk.h")]
1197 public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable {
1198 [CCode (type = "GtkWidget*", has_construct_function = false)]
1200 public unowned Gtk.TreePath get_displayed_row ();
1201 public bool get_draw_sensitive ();
1202 public bool get_fit_model ();
1203 public unowned Gtk.TreeModel get_model ();
1204 public void set_background_color (Gdk.Color color);
1205 public void set_background_rgba (Gdk.RGBA rgba);
1206 public void set_displayed_row (Gtk.TreePath path);
1207 public void set_draw_sensitive (bool draw_sensitive);
1208 public void set_fit_model (bool fit_model);
1209 public void set_model (Gtk.TreeModel? model);
1210 [CCode (type = "GtkWidget*", has_construct_function = false)]
1211 public CellView.with_context (Gtk.CellArea area, Gtk.CellAreaContext context);
1212 [CCode (type = "GtkWidget*", has_construct_function = false)]
1213 public CellView.with_markup (string markup);
1214 [CCode (type = "GtkWidget*", has_construct_function = false)]
1215 public CellView.with_pixbuf (Gdk.Pixbuf pixbuf);
1216 [CCode (type = "GtkWidget*", has_construct_function = false)]
1217 public CellView.with_text (string text);
1219 public string background { set; }
1221 public Gdk.Color background_gdk { get; set; }
1223 public Gdk.RGBA background_rgba { get; set; }
1225 public bool background_set { get; set; }
1227 public Gtk.CellArea cell_area { owned get; construct; }
1229 public Gtk.CellAreaContext cell_area_context { owned get; construct; }
1230 public bool draw_sensitive { get; set; }
1231 public bool fit_model { get; set; }
1232 public Gtk.TreeModel model { get; set; }
1234 [CCode (cheader_filename = "gtk/gtk.h")]
1235 public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1236 [CCode (type = "GtkWidget*", has_construct_function = false)]
1237 public CheckButton ();
1239 public virtual void draw_indicator (Cairo.Context cr);
1240 [CCode (type = "GtkWidget*", has_construct_function = false)]
1241 public CheckButton.with_label (string label);
1242 [CCode (type = "GtkWidget*", has_construct_function = false)]
1243 public CheckButton.with_mnemonic (string label);
1245 [CCode (cheader_filename = "gtk/gtk.h")]
1246 public class CheckMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1247 [CCode (type = "GtkWidget*", has_construct_function = false)]
1248 public CheckMenuItem ();
1250 public virtual void draw_indicator (Cairo.Context cr);
1251 public bool get_active ();
1252 public bool get_draw_as_radio ();
1253 public bool get_inconsistent ();
1254 public void set_active (bool is_active);
1255 public void set_draw_as_radio (bool draw_as_radio);
1256 public void set_inconsistent (bool setting);
1257 [CCode (type = "GtkWidget*", has_construct_function = false)]
1258 public CheckMenuItem.with_label (string label);
1259 [CCode (type = "GtkWidget*", has_construct_function = false)]
1260 public CheckMenuItem.with_mnemonic (string label);
1261 public bool active { get; set; }
1262 public bool draw_as_radio { get; set; }
1263 public bool inconsistent { get; set; }
1265 public virtual signal void toggled ();
1267 [CCode (cheader_filename = "gtk/gtk.h")]
1268 public class Clipboard : GLib.Object {
1269 [CCode (has_construct_function = false)]
1270 protected Clipboard ();
1271 public void clear ();
1272 public static unowned Gtk.Clipboard @get (Gdk.Atom selection);
1273 public unowned Gdk.Display get_display ();
1274 public static unowned Gtk.Clipboard get_for_display (Gdk.Display display, Gdk.Atom selection);
1275 public unowned GLib.Object get_owner ();
1276 public void request_contents (Gdk.Atom target, Gtk.ClipboardReceivedFunc callback);
1277 public void request_image (Gtk.ClipboardImageReceivedFunc callback);
1278 public void request_rich_text (Gtk.TextBuffer buffer, Gtk.ClipboardRichTextReceivedFunc callback);
1279 public void request_targets (Gtk.ClipboardTargetsReceivedFunc callback);
1280 public void request_text (Gtk.ClipboardTextReceivedFunc callback);
1281 public void request_uris (Gtk.ClipboardURIReceivedFunc callback);
1282 public void set_can_store (Gtk.TargetEntry[] targets);
1283 public void set_image (Gdk.Pixbuf pixbuf);
1284 public void set_text (string text, int len);
1285 public bool set_with_data (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func);
1286 public bool set_with_owner (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func, GLib.Object owner);
1287 public void store ();
1288 public Gtk.SelectionData? wait_for_contents (Gdk.Atom target);
1289 public Gdk.Pixbuf? wait_for_image ();
1290 [CCode (array_length_type = "gsize")]
1291 public uint8[]? wait_for_rich_text (Gtk.TextBuffer buffer, out Gdk.Atom format);
1292 public bool wait_for_targets (out Gdk.Atom[] targets);
1293 public string? wait_for_text ();
1294 [CCode (array_length = false, array_null_terminated = true)]
1295 public string[]? wait_for_uris ();
1296 public bool wait_is_image_available ();
1297 public bool wait_is_rich_text_available (Gtk.TextBuffer buffer);
1298 public bool wait_is_target_available (Gdk.Atom target);
1299 public bool wait_is_text_available ();
1300 public bool wait_is_uris_available ();
1301 public virtual signal void owner_change (Gdk.Event p0);
1303 [CCode (cheader_filename = "gtk/gtk.h")]
1304 public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1305 [CCode (type = "GtkWidget*", has_construct_function = false)]
1306 public ColorButton ();
1307 public uint16 get_alpha ();
1308 public void get_color (out Gdk.Color color);
1309 public void get_rgba (Gdk.RGBA rgba);
1310 public unowned string get_title ();
1311 public bool get_use_alpha ();
1312 public void set_alpha (uint16 alpha);
1313 public void set_color (Gdk.Color color);
1314 public void set_rgba (Gdk.RGBA rgba);
1315 public void set_title (string title);
1316 public void set_use_alpha (bool use_alpha);
1317 [CCode (type = "GtkWidget*", has_construct_function = false)]
1318 public ColorButton.with_color (Gdk.Color color);
1319 [CCode (type = "GtkWidget*", has_construct_function = false)]
1320 public ColorButton.with_rgba (Gdk.RGBA rgba);
1321 public uint alpha { get; set; }
1322 public Gdk.Color color { get; set; }
1323 public Gdk.RGBA rgba { get; set; }
1324 public string title { get; set; }
1325 public bool use_alpha { get; set; }
1326 public virtual signal void color_set ();
1328 [CCode (cheader_filename = "gtk/gtk.h")]
1329 public class ColorSelection : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1330 [CCode (type = "GtkWidget*", has_construct_function = false)]
1331 public ColorSelection ();
1332 public uint16 get_current_alpha ();
1333 public void get_current_color (out Gdk.Color color);
1334 public void get_current_rgba (Gdk.RGBA rgba);
1335 public bool get_has_opacity_control ();
1336 public bool get_has_palette ();
1337 public uint16 get_previous_alpha ();
1338 public void get_previous_color (out Gdk.Color color);
1339 public void get_previous_rgba (Gdk.RGBA rgba);
1340 public bool is_adjusting ();
1341 public static bool palette_from_string (string str, Gdk.Color[] colors);
1342 public static unowned string palette_to_string (Gdk.Color[] colors);
1343 public static unowned Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func);
1344 public void set_current_alpha (uint16 alpha);
1345 public void set_current_color (Gdk.Color color);
1346 public void set_current_rgba (Gdk.RGBA rgba);
1347 public void set_has_opacity_control (bool has_opacity);
1348 public void set_has_palette (bool has_palette);
1349 public void set_previous_alpha (uint16 alpha);
1350 public void set_previous_color (Gdk.Color color);
1351 public void set_previous_rgba (Gdk.RGBA rgba);
1352 public uint current_alpha { get; set; }
1353 public Gdk.Color current_color { get; set; }
1354 public Gdk.RGBA current_rgba { get; set; }
1355 public bool has_opacity_control { get; set; }
1356 public bool has_palette { get; set; }
1357 public virtual signal void color_changed ();
1359 [CCode (cheader_filename = "gtk/gtk.h")]
1360 public class ColorSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
1361 [CCode (type = "GtkWidget*", has_construct_function = false)]
1362 public ColorSelectionDialog (string title);
1363 public unowned Gtk.Widget get_color_selection ();
1365 public Gtk.Widget cancel_button { owned get; }
1366 public Gtk.Widget color_selection { get; }
1368 public Gtk.Widget help_button { owned get; }
1370 public Gtk.Widget ok_button { owned get; }
1372 [CCode (cheader_filename = "gtk/gtk.h")]
1373 public class ComboBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable {
1374 [CCode (type = "GtkWidget*", has_construct_function = false)]
1376 public int get_active ();
1377 public unowned string get_active_id ();
1378 public bool get_active_iter (out Gtk.TreeIter iter);
1379 public bool get_add_tearoffs ();
1380 public Gtk.SensitivityType get_button_sensitivity ();
1381 public int get_column_span_column ();
1382 public int get_entry_text_column ();
1383 public bool get_focus_on_click ();
1384 public bool get_has_entry ();
1385 public int get_id_column ();
1386 public unowned Gtk.TreeModel get_model ();
1387 public unowned Atk.Object get_popup_accessible ();
1388 public bool get_popup_fixed_width ();
1389 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
1390 public int get_row_span_column ();
1391 public unowned string get_title ();
1392 public int get_wrap_width ();
1393 public void popup_for_device (Gdk.Device device);
1394 public void set_active (int index_);
1395 public void set_active_id (string active_id);
1396 public void set_active_iter (Gtk.TreeIter iter);
1397 public void set_add_tearoffs (bool add_tearoffs);
1398 public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
1399 public void set_column_span_column (int column_span);
1400 public void set_entry_text_column (int text_column);
1401 public void set_focus_on_click (bool focus_on_click);
1402 public void set_id_column (int id_column);
1403 public void set_model (Gtk.TreeModel? model);
1404 public void set_popup_fixed_width (bool fixed);
1405 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc func);
1406 public void set_row_span_column (int row_span);
1407 public void set_title (string title);
1408 public void set_wrap_width (int width);
1409 [CCode (type = "GtkWidget*", has_construct_function = false)]
1410 public ComboBox.with_area (Gtk.CellArea area);
1411 [CCode (type = "GtkWidget*", has_construct_function = false)]
1412 public ComboBox.with_area_and_entry (Gtk.CellArea area);
1413 [CCode (type = "GtkWidget*", has_construct_function = false)]
1414 public ComboBox.with_entry ();
1415 [CCode (type = "GtkWidget*", has_construct_function = false)]
1416 public ComboBox.with_model (Gtk.TreeModel model);
1417 [CCode (type = "GtkWidget*", has_construct_function = false)]
1418 public ComboBox.with_model_and_entry (Gtk.TreeModel model);
1419 public int active { get; set; }
1420 public string active_id { get; set; }
1421 public bool add_tearoffs { get; set; }
1422 public Gtk.SensitivityType button_sensitivity { get; set; }
1424 public Gtk.CellArea cell_area { owned get; construct; }
1425 public int column_span_column { get; set; }
1426 public int entry_text_column { get; set; }
1427 public bool focus_on_click { get; set; }
1428 public bool has_entry { get; construct; }
1430 public bool has_frame { get; set; }
1431 public int id_column { get; set; }
1432 public Gtk.TreeModel model { get; set; }
1433 public bool popup_fixed_width { get; set; }
1435 public bool popup_shown { get; }
1436 public int row_span_column { get; set; }
1438 public string tearoff_title { owned get; set; }
1439 public int wrap_width { get; set; }
1440 public virtual signal void changed ();
1441 public virtual signal void move_active (Gtk.ScrollType p0);
1443 public virtual signal bool popdown ();
1445 public virtual signal void popup ();
1447 [CCode (cheader_filename = "gtk/gtk.h")]
1448 public class ComboBoxText : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable {
1449 [CCode (type = "GtkWidget*", has_construct_function = false)]
1450 public ComboBoxText ();
1451 public void append (string id, string text);
1452 public void append_text (string text);
1453 public unowned string get_active_text ();
1454 public void insert (int position, string id, string text);
1455 public void insert_text (int position, string text);
1456 public void prepend (string id, string text);
1457 public void prepend_text (string text);
1458 public void remove (int position);
1459 public void remove_all ();
1460 [CCode (type = "GtkWidget*", has_construct_function = false)]
1461 public ComboBoxText.with_entry ();
1463 [CCode (cheader_filename = "gtk/gtk.h")]
1464 public class Container : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1465 [CCode (has_construct_function = false)]
1466 protected Container ();
1467 public void add_with_properties (Gtk.Widget widget, ...);
1468 public void child_get (Gtk.Widget child, ...);
1469 public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value);
1470 public void child_get_valist (Gtk.Widget child, string first_property_name, void* var_args);
1471 public void child_set (Gtk.Widget child, ...);
1472 public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value);
1473 public void child_set_valist (Gtk.Widget child, string first_property_name, void* var_args);
1474 public virtual GLib.Type child_type ();
1475 public static unowned GLib.ParamSpec class_find_child_property (GLib.ObjectClass cclass, string property_name);
1476 public static unowned GLib.ParamSpec class_list_child_properties (GLib.ObjectClass cclass, uint n_properties);
1478 public virtual unowned string composite_name (Gtk.Widget child);
1479 public virtual void forall (Gtk.Callback callback);
1480 [CCode (vfunc_name = "forall")]
1481 public virtual void forall_internal (bool include_internal, Gtk.Callback callback);
1482 public void @foreach (Gtk.Callback callback);
1483 public uint get_border_width ();
1485 public virtual void get_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1486 public GLib.List<weak Gtk.Widget> get_children ();
1487 public bool get_focus_chain (out GLib.List<Gtk.Widget> focusable_widgets);
1488 public unowned Gtk.Widget get_focus_child ();
1489 public unowned Gtk.Adjustment get_focus_hadjustment ();
1490 public unowned Gtk.Adjustment get_focus_vadjustment ();
1491 public virtual unowned Gtk.WidgetPath get_path_for_child (Gtk.Widget child);
1492 public Gtk.ResizeMode get_resize_mode ();
1493 [CCode (cname = "gtk_container_class_handle_border_width")]
1494 public class void handle_border_width ();
1495 [CCode (cname = "gtk_container_class_install_child_property")]
1496 public class void install_child_property (uint property_id, GLib.ParamSpec pspec);
1497 public void propagate_draw (Gtk.Widget child, Cairo.Context cr);
1498 public void resize_children ();
1499 public void set_border_width (uint border_width);
1501 public virtual void set_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1502 public void set_focus_chain (GLib.List<Gtk.Widget> focusable_widgets);
1503 public void set_focus_hadjustment (Gtk.Adjustment adjustment);
1504 public void set_focus_vadjustment (Gtk.Adjustment adjustment);
1505 public void set_reallocate_redraws (bool needs_redraws);
1506 public void set_resize_mode (Gtk.ResizeMode resize_mode);
1507 public void unset_focus_chain ();
1508 public uint border_width { get; set; }
1510 public Gtk.Widget child { set; }
1511 public Gtk.ResizeMode resize_mode { get; set; }
1513 public virtual signal void add (Gtk.Widget widget);
1515 public virtual signal void check_resize ();
1517 public virtual signal void remove (Gtk.Widget widget);
1519 public virtual signal void set_focus_child (Gtk.Widget child);
1521 [CCode (cheader_filename = "gtk/gtk.h")]
1522 public class CssProvider : GLib.Object, Gtk.StyleProvider {
1523 [CCode (has_construct_function = false)]
1524 public CssProvider ();
1525 public static GLib.Quark error_quark ();
1526 public static unowned Gtk.CssProvider get_default ();
1527 public static unowned Gtk.CssProvider get_named (string name, string variant);
1528 public bool load_from_data (string data, ssize_t length) throws GLib.Error;
1529 public bool load_from_file (GLib.File file) throws GLib.Error;
1530 public bool load_from_path (string path) throws GLib.Error;
1532 [CCode (cheader_filename = "gtk/gtk.h")]
1533 public class Dialog : Gtk.Window, Atk.Implementor, Gtk.Buildable {
1534 [CCode (type = "GtkWidget*", has_construct_function = false)]
1536 public void add_action_widget (Gtk.Widget child, int response_id);
1537 public unowned Gtk.Widget add_button (string button_text, int response_id);
1538 public void add_buttons (...);
1539 public unowned Gtk.Widget get_action_area ();
1540 public unowned Gtk.Widget get_content_area ();
1541 public int get_response_for_widget (Gtk.Widget widget);
1542 public unowned Gtk.Widget get_widget_for_response (int response_id);
1544 [CCode (sentinel = "-1")]
1545 public void set_alternative_button_order (...);
1546 public void set_alternative_button_order_from_array (int n_params, int new_order);
1547 public void set_default_response (int response_id);
1548 public void set_response_sensitive (int response_id, bool setting);
1549 [CCode (type = "GtkWidget*", has_construct_function = false)]
1550 public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...);
1551 public virtual signal void close ();
1553 public virtual signal void response (int response_id);
1555 [CCode (cheader_filename = "gtk/gtk.h")]
1556 public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1558 [CCode (type = "GtkWidget*", has_construct_function = false)]
1559 public DrawingArea ();
1561 [CCode (cheader_filename = "gtk/gtk.h")]
1562 public class Entry : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable {
1563 [CCode (type = "GtkWidget*", has_construct_function = false)]
1565 public bool get_activates_default ();
1566 public float get_alignment ();
1567 public unowned Gtk.EntryBuffer get_buffer ();
1568 public unowned Gtk.EntryCompletion get_completion ();
1569 public int get_current_icon_drag_source ();
1570 public unowned Gtk.Adjustment get_cursor_hadjustment ();
1571 public bool get_has_frame ();
1572 public bool get_icon_activatable (Gtk.EntryIconPosition icon_pos);
1573 public void get_icon_area (Gtk.EntryIconPosition icon_pos, Gdk.Rectangle icon_area);
1574 public int get_icon_at_pos (int x, int y);
1575 public unowned GLib.Icon get_icon_gicon (Gtk.EntryIconPosition icon_pos);
1576 public unowned string get_icon_name (Gtk.EntryIconPosition icon_pos);
1577 public unowned Gdk.Pixbuf get_icon_pixbuf (Gtk.EntryIconPosition icon_pos);
1578 public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos);
1579 public unowned string get_icon_stock (Gtk.EntryIconPosition icon_pos);
1580 public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos);
1581 public unowned string get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos);
1582 public unowned string get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos);
1583 public unowned Gtk.Border get_inner_border ();
1584 public unichar get_invisible_char ();
1585 public unowned Pango.Layout get_layout ();
1586 public void get_layout_offsets (int x, int y);
1587 public int get_max_length ();
1588 public bool get_overwrite_mode ();
1589 public double get_progress_fraction ();
1590 public double get_progress_pulse_step ();
1591 public unowned string get_text ();
1592 public void get_text_area (Gdk.Rectangle text_area);
1594 public virtual void get_text_area_size (int x, int y, int width, int height);
1595 public uint16 get_text_length ();
1596 public bool get_visibility ();
1597 public int get_width_chars ();
1598 public bool im_context_filter_keypress (Gdk.EventKey event);
1599 public int layout_index_to_text_index (int layout_index);
1600 public void progress_pulse ();
1601 public void reset_im_context ();
1602 public void set_activates_default (bool setting);
1603 public void set_alignment (float xalign);
1604 public void set_buffer (Gtk.EntryBuffer buffer);
1605 public void set_completion (Gtk.EntryCompletion completion);
1606 public void set_cursor_hadjustment (Gtk.Adjustment adjustment);
1607 public void set_has_frame (bool setting);
1608 public void set_icon_activatable (Gtk.EntryIconPosition icon_pos, bool activatable);
1609 public void set_icon_drag_source (Gtk.EntryIconPosition icon_pos, Gtk.TargetList target_list, Gdk.DragAction actions);
1610 public void set_icon_from_gicon (Gtk.EntryIconPosition icon_pos, GLib.Icon? icon);
1611 public void set_icon_from_icon_name (Gtk.EntryIconPosition icon_pos, string? icon_name);
1612 public void set_icon_from_pixbuf (Gtk.EntryIconPosition icon_pos, Gdk.Pixbuf? pixbuf);
1613 public void set_icon_from_stock (Gtk.EntryIconPosition icon_pos, string? stock_id);
1614 public void set_icon_sensitive (Gtk.EntryIconPosition icon_pos, bool sensitive);
1615 public void set_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos, string? tooltip);
1616 public void set_icon_tooltip_text (Gtk.EntryIconPosition icon_pos, string? tooltip);
1617 public void set_inner_border (Gtk.Border border);
1618 public void set_invisible_char (unichar ch);
1619 public void set_max_length (int max);
1620 public void set_overwrite_mode (bool overwrite);
1621 public void set_progress_fraction (double fraction);
1622 public void set_progress_pulse_step (double fraction);
1623 public void set_text (string text);
1624 public void set_visibility (bool visible);
1625 public void set_width_chars (int n_chars);
1626 public int text_index_to_layout_index (int text_index);
1627 public void unset_invisible_char ();
1628 [CCode (type = "GtkWidget*", has_construct_function = false)]
1629 public Entry.with_buffer (Gtk.EntryBuffer buffer);
1630 public bool activates_default { get; set; }
1631 public Gtk.EntryBuffer buffer { get; set construct; }
1633 public bool caps_lock_warning { get; set; }
1635 public int cursor_position { get; }
1637 public bool editable { get; set; }
1638 public bool has_frame { get; set; }
1640 public string im_module { owned get; set; }
1641 public Gtk.Border inner_border { get; set; }
1642 public uint invisible_char { get; set; }
1644 public bool invisible_char_set { get; set; }
1645 public int max_length { get; set; }
1646 public bool overwrite_mode { get; set; }
1648 public bool primary_icon_activatable { get; set; }
1650 public GLib.Icon primary_icon_gicon { owned get; set; }
1652 public string primary_icon_name { owned get; set; }
1654 public Gdk.Pixbuf primary_icon_pixbuf { owned get; set; }
1656 public bool primary_icon_sensitive { get; set; }
1658 public string primary_icon_stock { owned get; set; }
1660 public Gtk.ImageType primary_icon_storage_type { get; }
1662 public string primary_icon_tooltip_markup { owned get; set; }
1664 public string primary_icon_tooltip_text { owned get; set; }
1665 public double progress_fraction { get; set; }
1666 public double progress_pulse_step { get; set; }
1668 public int scroll_offset { get; }
1670 public bool secondary_icon_activatable { get; set; }
1672 public GLib.Icon secondary_icon_gicon { owned get; set; }
1674 public string secondary_icon_name { owned get; set; }
1676 public Gdk.Pixbuf secondary_icon_pixbuf { owned get; set; }
1678 public bool secondary_icon_sensitive { get; set; }
1680 public string secondary_icon_stock { owned get; set; }
1682 public Gtk.ImageType secondary_icon_storage_type { get; }
1684 public string secondary_icon_tooltip_markup { owned get; set; }
1686 public string secondary_icon_tooltip_text { owned get; set; }
1688 public int selection_bound { get; }
1690 public Gtk.ShadowType shadow_type { get; set; }
1691 public string text { get; set; }
1692 public uint text_length { get; }
1694 public bool truncate_multiline { get; set; }
1695 public bool visibility { get; set; }
1696 public int width_chars { get; set; }
1698 public float xalign { get; set; }
1699 public virtual signal void activate ();
1700 public virtual signal void backspace ();
1701 public virtual signal void copy_clipboard ();
1702 public virtual signal void cut_clipboard ();
1703 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
1704 public virtual signal void icon_press (Gtk.EntryIconPosition p0, Gdk.Event p1);
1705 public virtual signal void icon_release (Gtk.EntryIconPosition p0, Gdk.Event p1);
1706 public virtual signal void insert_at_cursor (string str);
1707 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
1708 public virtual signal void paste_clipboard ();
1709 public virtual signal void populate_popup (Gtk.Menu menu);
1710 public virtual signal void preedit_changed (string p0);
1711 public virtual signal void toggle_overwrite ();
1713 [CCode (cheader_filename = "gtk/gtk.h")]
1714 public class EntryBuffer : GLib.Object {
1715 [CCode (has_construct_function = false)]
1716 public EntryBuffer (uint8[] initial_chars);
1717 public virtual uint delete_text (uint position, int n_chars);
1718 public void emit_deleted_text (uint position, uint n_chars);
1719 public void emit_inserted_text (uint position, uint8[] chars);
1720 public size_t get_bytes ();
1721 public virtual uint get_length ();
1722 public int get_max_length ();
1723 public virtual unowned string get_text ();
1724 public virtual uint insert_text (uint position, uint8[] chars);
1725 public void set_max_length (int max_length);
1726 public void set_text (uint8[] chars);
1727 public uint length { get; }
1728 public int max_length { get; set; }
1729 public string text { get; set; }
1730 public virtual signal void deleted_text (uint position, uint n_chars);
1731 public virtual signal void inserted_text (uint position, string chars, uint n_chars);
1733 [CCode (cheader_filename = "gtk/gtk.h")]
1734 public class EntryCompletion : GLib.Object, Gtk.CellLayout, Gtk.Buildable {
1735 [CCode (has_construct_function = false)]
1736 public EntryCompletion ();
1737 public void complete ();
1738 public void delete_action (int index_);
1739 public unowned string get_completion_prefix ();
1740 public unowned Gtk.Widget get_entry ();
1741 public bool get_inline_completion ();
1742 public bool get_inline_selection ();
1743 public int get_minimum_key_length ();
1744 public unowned Gtk.TreeModel get_model ();
1745 public bool get_popup_completion ();
1746 public bool get_popup_set_width ();
1747 public bool get_popup_single_match ();
1748 public int get_text_column ();
1749 public void insert_action_markup (int index_, string markup);
1750 public void insert_action_text (int index_, string text);
1751 public void set_inline_completion (bool inline_completion);
1752 public void set_inline_selection (bool inline_selection);
1753 public void set_match_func (owned Gtk.EntryCompletionMatchFunc func);
1754 public void set_minimum_key_length (int length);
1755 public void set_model (Gtk.TreeModel? model);
1756 public void set_popup_completion (bool popup_completion);
1757 public void set_popup_set_width (bool popup_set_width);
1758 public void set_popup_single_match (bool popup_single_match);
1759 public void set_text_column (int column);
1760 [CCode (has_construct_function = false)]
1761 public EntryCompletion.with_area (Gtk.CellArea area);
1763 public Gtk.CellArea cell_area { owned get; construct; }
1764 public bool inline_completion { get; set; }
1765 public bool inline_selection { get; set; }
1766 public int minimum_key_length { get; set; }
1767 public Gtk.TreeModel model { get; set; }
1768 public bool popup_completion { get; set; }
1769 public bool popup_set_width { get; set; }
1770 public bool popup_single_match { get; set; }
1771 public int text_column { get; set; }
1772 public virtual signal void action_activated (int index_);
1773 public virtual signal bool cursor_on_match (Gtk.TreeModel model, Gtk.TreeIter iter);
1775 public virtual signal bool insert_prefix (string prefix);
1776 public virtual signal bool match_selected (Gtk.TreeModel model, Gtk.TreeIter iter);
1778 [CCode (cheader_filename = "gtk/gtk.h")]
1779 public class EventBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
1780 [CCode (type = "GtkWidget*", has_construct_function = false)]
1782 public bool get_above_child ();
1783 public bool get_visible_window ();
1784 public void set_above_child (bool above_child);
1785 public void set_visible_window (bool visible_window);
1786 public bool above_child { get; set; }
1787 public bool visible_window { get; set; }
1789 [CCode (cheader_filename = "gtk/gtk.h")]
1790 public class Expander : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
1791 [CCode (type = "GtkWidget*", has_construct_function = false)]
1792 public Expander (string label);
1793 public bool get_expanded ();
1794 public unowned string get_label ();
1795 public bool get_label_fill ();
1796 public unowned Gtk.Widget get_label_widget ();
1797 public int get_spacing ();
1798 public bool get_use_markup ();
1799 public bool get_use_underline ();
1800 public void set_expanded (bool expanded);
1801 public void set_label (string label);
1802 public void set_label_fill (bool label_fill);
1803 public void set_label_widget (Gtk.Widget label_widget);
1804 public void set_spacing (int spacing);
1805 public void set_use_markup (bool use_markup);
1806 public void set_use_underline (bool use_underline);
1807 [CCode (type = "GtkWidget*", has_construct_function = false)]
1808 public Expander.with_mnemonic (string label);
1809 public bool expanded { get; set construct; }
1810 public string label { get; set construct; }
1811 public bool label_fill { get; set construct; }
1812 public Gtk.Widget label_widget { get; set; }
1813 public int spacing { get; set; }
1814 public bool use_markup { get; set construct; }
1815 public bool use_underline { get; set construct; }
1816 public virtual signal void activate ();
1818 [CCode (cheader_filename = "gtk/gtk.h")]
1819 public class FileChooserButton : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser {
1820 [CCode (type = "GtkWidget*", has_construct_function = false)]
1821 public FileChooserButton (string title, Gtk.FileChooserAction action);
1822 public bool get_focus_on_click ();
1823 public unowned string get_title ();
1824 public int get_width_chars ();
1825 public void set_focus_on_click (bool focus_on_click);
1826 public void set_title (string title);
1827 public void set_width_chars (int n_chars);
1828 [CCode (type = "GtkWidget*", has_construct_function = false)]
1829 public FileChooserButton.with_dialog (Gtk.Widget dialog);
1830 public Gtk.FileChooser dialog { construct; }
1831 public bool focus_on_click { get; set; }
1832 public string title { get; set; }
1833 public int width_chars { get; set; }
1834 public virtual signal void file_set ();
1836 [CCode (cheader_filename = "gtk/gtk.h")]
1837 public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
1838 [CCode (type = "GtkWidget*", has_construct_function = false)]
1839 public FileChooserDialog (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, ...);
1841 [CCode (cheader_filename = "gtk/gtk.h")]
1842 public class FileChooserWidget : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser, Gtk.FileChooserEmbed {
1843 [CCode (type = "GtkWidget*", has_construct_function = false)]
1844 public FileChooserWidget (Gtk.FileChooserAction action);
1846 [CCode (cheader_filename = "gtk/gtk.h")]
1847 public class FileFilter : GLib.InitiallyUnowned, Gtk.Buildable {
1848 [CCode (has_construct_function = false)]
1849 public FileFilter ();
1850 public void add_custom (Gtk.FileFilterFlags needed, owned Gtk.FileFilterFunc func);
1851 public void add_mime_type (string mime_type);
1852 public void add_pattern (string pattern);
1853 public void add_pixbuf_formats ();
1854 public bool filter (Gtk.FileFilterInfo filter_info);
1855 public Gtk.FileFilterFlags get_needed ();
1858 [CCode (cheader_filename = "gtk/gtk.h")]
1859 public class FileFilterInfo {
1860 public Gtk.FileFilterFlags contains;
1861 public weak string display_name;
1862 public weak string filename;
1863 public weak string mime_type;
1864 public weak string uri;
1866 [CCode (cheader_filename = "gtk/gtk.h")]
1867 public class Fixed : Gtk.Container, Atk.Implementor, Gtk.Buildable {
1868 [CCode (type = "GtkWidget*", has_construct_function = false)]
1870 public void move (Gtk.Widget widget, int x, int y);
1871 public void put (Gtk.Widget widget, int x, int y);
1874 [CCode (cheader_filename = "gtk/gtk.h")]
1875 public class FixedChild {
1876 public weak Gtk.Widget widget;
1880 [CCode (cheader_filename = "gtk/gtk.h")]
1881 public class FontButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1882 [CCode (type = "GtkWidget*", has_construct_function = false)]
1883 public FontButton ();
1884 public unowned string get_font_name ();
1885 public bool get_show_size ();
1886 public bool get_show_style ();
1887 public unowned string get_title ();
1888 public bool get_use_font ();
1889 public bool get_use_size ();
1890 public bool set_font_name (string fontname);
1891 public void set_show_size (bool show_size);
1892 public void set_show_style (bool show_style);
1893 public void set_title (string title);
1894 public void set_use_font (bool use_font);
1895 public void set_use_size (bool use_size);
1896 [CCode (type = "GtkWidget*", has_construct_function = false)]
1897 public FontButton.with_font (string fontname);
1898 public string font_name { get; set; }
1899 public bool show_size { get; set; }
1900 public bool show_style { get; set; }
1901 public string title { get; set; }
1902 public bool use_font { get; set; }
1903 public bool use_size { get; set; }
1904 public virtual signal void font_set ();
1906 [CCode (cheader_filename = "gtk/gtk.h")]
1907 public class FontSelection : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1908 [CCode (type = "GtkWidget*", has_construct_function = false)]
1909 public FontSelection ();
1910 public unowned Pango.FontFace get_face ();
1911 public unowned Gtk.Widget get_face_list ();
1912 public unowned Pango.FontFamily get_family ();
1913 public unowned Gtk.Widget get_family_list ();
1914 public unowned string get_font_name ();
1915 public unowned Gtk.Widget get_preview_entry ();
1916 public unowned string get_preview_text ();
1917 public int get_size ();
1918 public unowned Gtk.Widget get_size_entry ();
1919 public unowned Gtk.Widget get_size_list ();
1920 public bool set_font_name (string fontname);
1921 public void set_preview_text (string text);
1922 public string font_name { get; set; }
1923 public string preview_text { get; set; }
1925 [CCode (cheader_filename = "gtk/gtk.h")]
1926 public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
1927 [CCode (type = "GtkWidget*", has_construct_function = false)]
1928 public FontSelectionDialog (string title);
1929 public unowned Gtk.Widget get_cancel_button ();
1930 public unowned string get_font_name ();
1931 public unowned Gtk.Widget get_font_selection ();
1932 public unowned Gtk.Widget get_ok_button ();
1933 public unowned string get_preview_text ();
1934 public bool set_font_name (string fontname);
1935 public void set_preview_text (string text);
1937 [CCode (cheader_filename = "gtk/gtk.h")]
1938 public class Frame : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
1939 [CCode (type = "GtkWidget*", has_construct_function = false)]
1940 public Frame (string? label);
1942 public virtual void compute_child_allocation (Gtk.Allocation allocation);
1943 public unowned string get_label ();
1944 public void get_label_align (float xalign, float yalign);
1945 public unowned Gtk.Widget get_label_widget ();
1946 public Gtk.ShadowType get_shadow_type ();
1947 public void set_label (string label);
1948 public void set_label_align (float xalign, float yalign);
1949 public void set_label_widget (Gtk.Widget label_widget);
1950 public void set_shadow_type (Gtk.ShadowType type);
1951 public string label { get; set; }
1952 public Gtk.Widget label_widget { get; set; }
1954 public float label_xalign { get; set; }
1956 public float label_yalign { get; set; }
1957 public Gtk.ShadowType shadow_type { get; set; }
1960 [CCode (ref_function = "gtk_gradient_ref", unref_function = "gtk_gradient_unref", type_id = "GTK_TYPE_GRADIENT", cheader_filename = "gtk/gtk.h")]
1961 public class Gradient {
1962 public void add_color_stop (double offset, Gtk.SymbolicColor color);
1963 [CCode (has_construct_function = false)]
1964 public Gradient.linear (double x0, double y0, double x1, double y1);
1965 [CCode (has_construct_function = false)]
1966 public Gradient.radial (double x0, double y0, double radius0, double x1, double y1, double radius1);
1967 public bool resolve (Gtk.StyleProperties props, out unowned Cairo.Pattern resolved_gradient);
1969 [CCode (cheader_filename = "gtk/gtk.h")]
1970 public class Grid : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1971 [CCode (type = "GtkWidget*", has_construct_function = false)]
1973 public void attach (Gtk.Widget child, int left, int top, int width, int height);
1974 public void attach_next_to (Gtk.Widget child, Gtk.Widget sibling, Gtk.PositionType side, int width, int height);
1975 public bool get_column_homogeneous ();
1976 public uint get_column_spacing ();
1977 public bool get_row_homogeneous ();
1978 public uint get_row_spacing ();
1979 public void set_column_homogeneous (bool homogeneous);
1980 public void set_column_spacing (uint spacing);
1981 public void set_row_homogeneous (bool homogeneous);
1982 public void set_row_spacing (uint spacing);
1983 public bool column_homogeneous { get; set; }
1984 public int column_spacing { get; set; }
1985 public bool row_homogeneous { get; set; }
1986 public int row_spacing { get; set; }
1988 [CCode (cheader_filename = "gtk/gtk.h")]
1989 public class HBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1990 [CCode (type = "GtkWidget*", has_construct_function = false)]
1991 public HBox (bool homogeneous, int spacing);
1993 [CCode (cheader_filename = "gtk/gtk.h")]
1994 public class HButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1995 [CCode (type = "GtkWidget*", has_construct_function = false)]
1996 public HButtonBox ();
1998 [CCode (cheader_filename = "gtk/gtk.h")]
1999 public class HPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2000 [CCode (type = "GtkWidget*", has_construct_function = false)]
2003 [CCode (cheader_filename = "gtk/gtk.h")]
2004 public class HSV : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2005 [CCode (type = "GtkWidget*", has_construct_function = false)]
2007 public void get_color (double h, double s, double v);
2008 public void get_metrics (int size, int ring_width);
2009 public bool is_adjusting ();
2010 public void set_color (double h, double s, double v);
2011 public void set_metrics (int size, int ring_width);
2012 public static void to_rgb (double h, double s, double v, double r, double g, double b);
2013 public virtual signal void changed ();
2014 public virtual signal void move (Gtk.DirectionType type);
2016 [CCode (cheader_filename = "gtk/gtk.h")]
2017 public class HScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2018 [CCode (type = "GtkWidget*", has_construct_function = false)]
2019 public HScale (Gtk.Adjustment? adjustment);
2020 [CCode (type = "GtkWidget*", has_construct_function = false)]
2021 public HScale.with_range (double min, double max, double step);
2023 [CCode (cheader_filename = "gtk/gtk.h")]
2024 public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2025 [CCode (type = "GtkWidget*", has_construct_function = false)]
2026 public HScrollbar (Gtk.Adjustment? adjustment);
2028 [CCode (cheader_filename = "gtk/gtk.h")]
2029 public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2030 [CCode (type = "GtkWidget*", has_construct_function = false)]
2031 public HSeparator ();
2033 [CCode (cheader_filename = "gtk/gtk.h")]
2034 public class HandleBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2035 [CCode (type = "GtkWidget*", has_construct_function = false)]
2036 public HandleBox ();
2037 public bool get_child_detached ();
2038 public Gtk.PositionType get_handle_position ();
2039 public Gtk.ShadowType get_shadow_type ();
2040 public Gtk.PositionType get_snap_edge ();
2041 public void set_handle_position (Gtk.PositionType position);
2042 public void set_shadow_type (Gtk.ShadowType type);
2043 public void set_snap_edge (Gtk.PositionType edge);
2044 public bool child_detached { get; }
2045 public Gtk.PositionType handle_position { get; set; }
2046 public Gtk.ShadowType shadow_type { get; set; }
2047 public Gtk.PositionType snap_edge { get; set; }
2049 public bool snap_edge_set { get; set; }
2050 public virtual signal void child_attached (Gtk.Widget child);
2052 [CCode (cheader_filename = "gtk/gtk.h")]
2053 public class IMContext : GLib.Object {
2054 [CCode (has_construct_function = false)]
2055 protected IMContext ();
2056 public virtual bool filter_keypress (Gdk.EventKey event);
2057 public virtual void focus_in ();
2058 public virtual void focus_out ();
2059 public virtual void get_preedit_string (out unowned string str, out Pango.AttrList attrs, out int cursor_pos);
2060 public virtual bool get_surrounding (out unowned string text, out int cursor_index);
2061 public virtual void reset ();
2062 public virtual void set_client_window (Gdk.Window window);
2063 public virtual void set_cursor_location (Gdk.Rectangle area);
2064 public virtual void set_surrounding (string text, int len, int cursor_index);
2065 public virtual void set_use_preedit (bool use_preedit);
2066 public virtual signal void commit (string str);
2068 public virtual signal bool delete_surrounding (int offset, int n_chars);
2069 public virtual signal void preedit_changed ();
2070 public virtual signal void preedit_end ();
2071 public virtual signal void preedit_start ();
2072 public virtual signal bool retrieve_surrounding ();
2074 [CCode (cheader_filename = "gtk/gtk.h")]
2075 public class IMContextSimple : Gtk.IMContext {
2076 [CCode (type = "GtkIMContext*", has_construct_function = false)]
2077 public IMContextSimple ();
2078 public void add_table (uint16 data, int max_seq_len, int n_seqs);
2080 [CCode (cheader_filename = "gtk/gtk.h")]
2081 public class IMMulticontext : Gtk.IMContext {
2082 [CCode (type = "GtkIMContext*", has_construct_function = false)]
2083 public IMMulticontext ();
2084 public void append_menuitems (Gtk.MenuShell menushell);
2085 public unowned string get_context_id ();
2086 public void set_context_id (string context_id);
2088 [CCode (cheader_filename = "gtk/gtk.h")]
2089 public class IconFactory : GLib.Object, Gtk.Buildable {
2090 [CCode (has_construct_function = false)]
2091 public IconFactory ();
2092 public void add (string stock_id, Gtk.IconSet icon_set);
2093 public void add_default ();
2094 public unowned Gtk.IconSet lookup (string stock_id);
2095 public static unowned Gtk.IconSet lookup_default (string stock_id);
2096 public void remove_default ();
2099 [CCode (copy_function = "gtk_icon_info_copy", type_id = "GTK_TYPE_ICON_INFO", cheader_filename = "gtk/gtk.h")]
2100 public class IconInfo {
2101 public Gtk.IconInfo copy ();
2102 [CCode (has_construct_function = false)]
2103 public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf);
2104 public bool get_attach_points (Gdk.Point[] points);
2105 public int get_base_size ();
2106 public unowned Gdk.Pixbuf get_builtin_pixbuf ();
2107 public unowned string get_display_name ();
2108 public bool get_embedded_rect (out Gdk.Rectangle rectangle);
2109 public unowned string get_filename ();
2110 public Gdk.Pixbuf load_icon () throws GLib.Error;
2111 public unowned Gdk.Pixbuf load_symbolic (Gdk.RGBA fg, Gdk.RGBA success_color, Gdk.RGBA warning_color, Gdk.RGBA error_color, bool was_symbolic) throws GLib.Error;
2112 public unowned Gdk.Pixbuf load_symbolic_for_context (Gtk.StyleContext context, bool was_symbolic) throws GLib.Error;
2113 public void set_raw_coordinates (bool raw_coordinates);
2116 [CCode (ref_function = "gtk_icon_set_ref", unref_function = "gtk_icon_set_unref", type_id = "GTK_TYPE_ICON_SET", cheader_filename = "gtk/gtk.h")]
2117 public class IconSet {
2118 [CCode (has_construct_function = false)]
2120 public void add_source (Gtk.IconSource source);
2121 public Gtk.IconSet copy ();
2122 [CCode (has_construct_function = false)]
2123 public IconSet.from_pixbuf (Gdk.Pixbuf pixbuf);
2124 public void get_sizes (Gtk.IconSize[] sizes);
2125 public unowned Gdk.Pixbuf render_icon (Gtk.Style style, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail);
2126 public unowned Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSize size);
2129 [CCode (copy_function = "gtk_icon_source_copy", type_id = "GTK_TYPE_ICON_SOURCE", cheader_filename = "gtk/gtk.h")]
2130 public class IconSource {
2131 [CCode (has_construct_function = false)]
2132 public IconSource ();
2133 public Gtk.IconSource copy ();
2134 public Gtk.TextDirection get_direction ();
2135 public bool get_direction_wildcarded ();
2136 public unowned string get_filename ();
2137 public unowned string get_icon_name ();
2138 public unowned Gdk.Pixbuf get_pixbuf ();
2139 public Gtk.IconSize get_size ();
2140 public bool get_size_wildcarded ();
2141 public Gtk.StateType get_state ();
2142 public bool get_state_wildcarded ();
2143 public void set_direction (Gtk.TextDirection direction);
2144 public void set_direction_wildcarded (bool setting);
2145 public void set_filename (string filename);
2146 public void set_icon_name (string icon_name);
2147 public void set_pixbuf (Gdk.Pixbuf pixbuf);
2148 public void set_size (Gtk.IconSize size);
2149 public void set_size_wildcarded (bool setting);
2150 public void set_state (Gtk.StateType state);
2151 public void set_state_wildcarded (bool setting);
2153 [CCode (cheader_filename = "gtk/gtk.h")]
2154 public class IconTheme : GLib.Object {
2155 [CCode (has_construct_function = false)]
2156 public IconTheme ();
2157 public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf);
2158 public void append_search_path (string path);
2159 public Gtk.IconInfo choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
2160 public static GLib.Quark error_quark ();
2161 public static unowned Gtk.IconTheme get_default ();
2162 public unowned string get_example_icon_name ();
2163 public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen);
2164 public int get_icon_sizes (string icon_name);
2165 public void get_search_path (string path, int n_elements);
2166 public bool has_icon (string icon_name);
2167 public GLib.List<string> list_contexts ();
2168 public GLib.List<string> list_icons (string context);
2169 public Gdk.Pixbuf? load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
2170 public Gtk.IconInfo lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
2171 public Gtk.IconInfo lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
2172 public void prepend_search_path (string path);
2173 public bool rescan_if_needed ();
2174 public void set_custom_theme (string theme_name);
2175 public void set_screen (Gdk.Screen screen);
2176 public void set_search_path (string[] path, int n_elements);
2177 public virtual signal void changed ();
2179 [CCode (cheader_filename = "gtk/gtk.h")]
2180 public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Scrollable {
2181 [CCode (type = "GtkWidget*", has_construct_function = false)]
2183 public void convert_widget_to_bin_window_coords (int wx, int wy, int bx, int by);
2184 public unowned Cairo.Surface create_drag_icon (Gtk.TreePath path);
2185 public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
2186 public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
2187 public int get_column_spacing ();
2188 public int get_columns ();
2189 public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
2190 public bool get_dest_item_at_pos (int drag_x, int drag_y, out unowned Gtk.TreePath path, Gtk.IconViewDropPosition pos);
2191 public void get_drag_dest_item (out unowned Gtk.TreePath path, Gtk.IconViewDropPosition pos);
2192 public bool get_item_at_pos (int x, int y, out unowned Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
2193 public int get_item_column (Gtk.TreePath path);
2194 public Gtk.Orientation get_item_orientation ();
2195 public int get_item_padding ();
2196 public int get_item_row (Gtk.TreePath path);
2197 public int get_item_width ();
2198 public int get_margin ();
2199 public int get_markup_column ();
2200 public unowned Gtk.TreeModel get_model ();
2201 public unowned Gtk.TreePath get_path_at_pos (int x, int y);
2202 public int get_pixbuf_column ();
2203 public bool get_reorderable ();
2204 public int get_row_spacing ();
2205 public GLib.List<Gtk.TreePath> get_selected_items ();
2206 public Gtk.SelectionMode get_selection_mode ();
2207 public int get_spacing ();
2208 public int get_text_column ();
2209 public int get_tooltip_column ();
2210 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);
2211 public bool get_visible_range (out unowned Gtk.TreePath start_path, out unowned Gtk.TreePath end_path);
2212 public bool path_is_selected (Gtk.TreePath path);
2213 public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
2214 public void select_path (Gtk.TreePath path);
2215 public void selected_foreach (Gtk.IconViewForeachFunc func);
2216 public void set_column_spacing (int column_spacing);
2217 public void set_columns (int columns);
2218 public void set_cursor (Gtk.TreePath path, Gtk.CellRenderer? cell, bool start_editing);
2219 public void set_drag_dest_item (Gtk.TreePath path, Gtk.IconViewDropPosition pos);
2220 public void set_item_orientation (Gtk.Orientation orientation);
2221 public void set_item_padding (int item_padding);
2222 public void set_item_width (int item_width);
2223 public void set_margin (int margin);
2224 public void set_markup_column (int column);
2225 public void set_model (Gtk.TreeModel? model);
2226 public void set_pixbuf_column (int column);
2227 public void set_reorderable (bool reorderable);
2228 public void set_row_spacing (int row_spacing);
2229 public void set_selection_mode (Gtk.SelectionMode mode);
2230 public void set_spacing (int spacing);
2231 public void set_text_column (int column);
2232 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.CellRenderer cell);
2233 public void set_tooltip_column (int column);
2234 public void set_tooltip_item (Gtk.Tooltip tooltip, Gtk.TreePath path);
2235 public void unselect_path (Gtk.TreePath path);
2236 public void unset_model_drag_dest ();
2237 public void unset_model_drag_source ();
2238 [CCode (type = "GtkWidget*", has_construct_function = false)]
2239 public IconView.with_area (Gtk.CellArea area);
2240 [CCode (type = "GtkWidget*", has_construct_function = false)]
2241 public IconView.with_model (Gtk.TreeModel model);
2243 public Gtk.CellArea cell_area { owned get; construct; }
2244 public int column_spacing { get; set; }
2245 public int columns { get; set; }
2246 public Gtk.Orientation item_orientation { get; set; }
2247 public int item_padding { get; set; }
2248 public int item_width { get; set; }
2249 public int margin { get; set; }
2250 public int markup_column { get; set; }
2251 public Gtk.TreeModel model { get; set; }
2252 public int pixbuf_column { get; set; }
2253 public bool reorderable { get; set; }
2254 public int row_spacing { get; set; }
2255 public Gtk.SelectionMode selection_mode { get; set; }
2256 public int spacing { get; set; }
2257 public int text_column { get; set; }
2258 public int tooltip_column { get; set; }
2259 public virtual signal bool activate_cursor_item ();
2261 public virtual signal void item_activated (Gtk.TreePath path);
2262 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
2263 public virtual signal void select_all ();
2264 public virtual signal void select_cursor_item ();
2265 public virtual signal void selection_changed ();
2266 public virtual signal void toggle_cursor_item ();
2267 public virtual signal void unselect_all ();
2269 [CCode (cheader_filename = "gtk/gtk.h")]
2270 public class Image : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
2271 [CCode (type = "GtkWidget*", has_construct_function = false)]
2273 public void clear ();
2274 [CCode (type = "GtkWidget*", has_construct_function = false)]
2275 public Image.from_animation (Gdk.PixbufAnimation animation);
2276 [CCode (type = "GtkWidget*", has_construct_function = false)]
2277 public Image.from_file (string filename);
2278 [CCode (type = "GtkWidget*", has_construct_function = false)]
2279 public Image.from_gicon (GLib.Icon icon, Gtk.IconSize size);
2280 [CCode (type = "GtkWidget*", has_construct_function = false)]
2281 public Image.from_icon_name (string icon_name, Gtk.IconSize size);
2282 [CCode (type = "GtkWidget*", has_construct_function = false)]
2283 public Image.from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
2284 [CCode (type = "GtkWidget*", has_construct_function = false)]
2285 public Image.from_pixbuf (Gdk.Pixbuf pixbuf);
2286 [CCode (type = "GtkWidget*", has_construct_function = false)]
2287 public Image.from_stock (string stock_id, Gtk.IconSize size);
2288 public unowned Gdk.PixbufAnimation get_animation ();
2289 public void get_gicon (out unowned GLib.Icon gicon, Gtk.IconSize size);
2290 public void get_icon_name (out unowned string icon_name, out Gtk.IconSize size);
2291 public void get_icon_set (out unowned Gtk.IconSet icon_set, out Gtk.IconSize size);
2292 public unowned Gdk.Pixbuf get_pixbuf ();
2293 public int get_pixel_size ();
2294 public void get_stock (out string stock_id, out Gtk.IconSize size);
2295 public Gtk.ImageType get_storage_type ();
2296 public void set_from_animation (Gdk.PixbufAnimation animation);
2297 public void set_from_file (string filename);
2298 public void set_from_gicon (GLib.Icon icon, Gtk.IconSize size);
2299 public void set_from_icon_name (string icon_name, Gtk.IconSize size);
2300 public void set_from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
2301 public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
2302 public void set_from_stock (string stock_id, Gtk.IconSize size);
2303 public void set_pixel_size (int pixel_size);
2305 public string file { owned get; set; }
2307 public GLib.Icon gicon { owned get; set; }
2309 public string icon_name { owned get; set; }
2311 public Gtk.IconSet icon_set { owned get; set; }
2313 public int icon_size { get; set; }
2315 public Gdk.Pixbuf pixbuf { owned get; set; }
2317 public Gdk.PixbufAnimation pixbuf_animation { owned get; set; }
2318 public int pixel_size { get; set; }
2320 public string stock { owned get; set; }
2321 public Gtk.ImageType storage_type { get; }
2323 public bool use_fallback { get; set; }
2325 [CCode (cheader_filename = "gtk/gtk.h")]
2326 public class ImageMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2327 [CCode (type = "GtkWidget*", has_construct_function = false)]
2328 public ImageMenuItem ();
2329 [CCode (type = "GtkWidget*", has_construct_function = false)]
2330 public ImageMenuItem.from_stock (string stock_id, Gtk.AccelGroup? accel_group);
2331 public bool get_always_show_image ();
2332 public unowned Gtk.Widget get_image ();
2333 public bool get_use_stock ();
2334 public void set_accel_group (Gtk.AccelGroup accel_group);
2335 public void set_always_show_image (bool always_show);
2336 public void set_image (Gtk.Widget image);
2337 public void set_use_stock (bool use_stock);
2338 [CCode (type = "GtkWidget*", has_construct_function = false)]
2339 public ImageMenuItem.with_label (string label);
2340 [CCode (type = "GtkWidget*", has_construct_function = false)]
2341 public ImageMenuItem.with_mnemonic (string label);
2342 public Gtk.AccelGroup accel_group { set; }
2343 public bool always_show_image { get; set construct; }
2344 public Gtk.Widget image { get; set; }
2345 public bool use_stock { get; set construct; }
2347 [CCode (cheader_filename = "gtk/gtk.h")]
2348 public class InfoBar : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2349 [CCode (type = "GtkWidget*", has_construct_function = false)]
2351 public void add_action_widget (Gtk.Widget child, int response_id);
2352 public unowned Gtk.Widget add_button (string button_text, int response_id);
2353 public void add_buttons (...);
2354 public unowned Gtk.Widget get_action_area ();
2355 public unowned Gtk.Widget get_content_area ();
2356 public Gtk.MessageType get_message_type ();
2357 public void set_default_response (int response_id);
2358 public void set_message_type (Gtk.MessageType message_type);
2359 public void set_response_sensitive (int response_id, bool setting);
2360 [CCode (type = "GtkWidget*", has_construct_function = false)]
2361 public InfoBar.with_buttons (...);
2362 public Gtk.MessageType message_type { get; set construct; }
2363 public virtual signal void close ();
2365 public virtual signal void response (int response_id);
2367 [CCode (cheader_filename = "gtk/gtk.h")]
2368 public class Invisible : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2369 [CCode (type = "GtkWidget*", has_construct_function = false)]
2370 public Invisible ();
2371 [CCode (type = "GtkWidget*", has_construct_function = false)]
2372 public Invisible.for_screen (Gdk.Screen screen);
2373 public unowned Gdk.Screen get_screen ();
2374 public void set_screen (Gdk.Screen screen);
2375 public Gdk.Screen screen { get; set; }
2377 [CCode (cheader_filename = "gtk/gtk.h")]
2378 public class Label : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
2379 [CCode (type = "GtkWidget*", has_construct_function = false)]
2380 public Label (string? str);
2381 public double get_angle ();
2382 public unowned Pango.AttrList get_attributes ();
2383 public unowned string get_current_uri ();
2384 public Pango.EllipsizeMode get_ellipsize ();
2385 public Gtk.Justification get_justify ();
2386 public unowned string get_label ();
2387 public unowned Pango.Layout get_layout ();
2388 public void get_layout_offsets (int x, int y);
2389 public bool get_line_wrap ();
2390 public Pango.WrapMode get_line_wrap_mode ();
2391 public int get_max_width_chars ();
2392 public uint get_mnemonic_keyval ();
2393 public unowned Gtk.Widget get_mnemonic_widget ();
2394 public bool get_selectable ();
2395 public bool get_selection_bounds (out int start, out int end);
2396 public bool get_single_line_mode ();
2397 public unowned string get_text ();
2398 public bool get_track_visited_links ();
2399 public bool get_use_markup ();
2400 public bool get_use_underline ();
2401 public int get_width_chars ();
2402 public void select_region (int start_offset, int end_offset);
2403 public void set_angle (double angle);
2404 public void set_attributes (Pango.AttrList attrs);
2405 public void set_ellipsize (Pango.EllipsizeMode mode);
2406 public void set_justify (Gtk.Justification jtype);
2407 public void set_label (string str);
2408 public void set_line_wrap (bool wrap);
2409 public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
2410 public void set_markup (string str);
2411 public void set_markup_with_mnemonic (string str);
2412 public void set_max_width_chars (int n_chars);
2413 public void set_mnemonic_widget (Gtk.Widget widget);
2414 public void set_pattern (string pattern);
2415 public void set_selectable (bool setting);
2416 public void set_single_line_mode (bool single_line_mode);
2417 public void set_text (string str);
2418 public void set_text_with_mnemonic (string str);
2419 public void set_track_visited_links (bool track_links);
2420 public void set_use_markup (bool setting);
2421 public void set_use_underline (bool setting);
2422 public void set_width_chars (int n_chars);
2423 [CCode (type = "GtkWidget*", has_construct_function = false)]
2424 public Label.with_mnemonic (string str);
2425 public double angle { get; set; }
2426 public Pango.AttrList attributes { get; set; }
2428 public int cursor_position { get; }
2429 public Pango.EllipsizeMode ellipsize { get; set; }
2430 public Gtk.Justification justify { get; set; }
2431 public string label { get; set; }
2432 public int max_width_chars { get; set; }
2433 public uint mnemonic_keyval { get; }
2434 public Gtk.Widget mnemonic_widget { get; set; }
2435 public string pattern { set; }
2436 public bool selectable { get; set; }
2438 public int selection_bound { get; }
2439 public bool single_line_mode { get; set; }
2440 public bool track_visited_links { get; set; }
2441 public bool use_markup { get; set; }
2442 public bool use_underline { get; set; }
2443 public int width_chars { get; set; }
2445 public bool wrap { get; set; }
2447 public Pango.WrapMode wrap_mode { get; set; }
2448 public virtual signal void activate_current_link ();
2449 public virtual signal bool activate_link (string uri);
2450 public virtual signal void copy_clipboard ();
2451 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
2452 public virtual signal void populate_popup (Gtk.Menu menu);
2455 [CCode (cheader_filename = "gtk/gtk.h")]
2456 public class LabelSelectionInfo {
2458 [CCode (cheader_filename = "gtk/gtk.h")]
2459 public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
2460 [CCode (type = "GtkWidget*", has_construct_function = false)]
2461 public Layout (Gtk.Adjustment? hadjustment = null, Gtk.Adjustment? vadjustment = null);
2462 public unowned Gdk.Window get_bin_window ();
2463 public unowned Gtk.Adjustment get_hadjustment ();
2464 public void get_size (out uint width, out uint height);
2465 public unowned Gtk.Adjustment get_vadjustment ();
2466 public void move (Gtk.Widget child_widget, int x, int y);
2467 public void put (Gtk.Widget child_widget, int x, int y);
2468 public void set_hadjustment (Gtk.Adjustment adjustment);
2469 public void set_size (uint width, uint height);
2470 public void set_vadjustment (Gtk.Adjustment adjustment);
2472 public uint height { get; set; }
2474 public uint width { get; set; }
2476 [CCode (cheader_filename = "gtk/gtk.h")]
2477 public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2478 [CCode (type = "GtkWidget*", has_construct_function = false)]
2479 public LinkButton (string uri);
2480 public unowned string get_uri ();
2481 public bool get_visited ();
2482 public void set_uri (string uri);
2483 public void set_visited (bool visited);
2484 [CCode (type = "GtkWidget*", has_construct_function = false)]
2485 public LinkButton.with_label (string uri, string label);
2486 public string uri { get; set; }
2487 public bool visited { get; set; }
2488 public virtual signal bool activate_link ();
2490 [CCode (cheader_filename = "gtk/gtk.h")]
2491 public class ListStore : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable, Gtk.Buildable {
2492 [CCode (sentinel = "", has_construct_function = false)]
2493 public ListStore (int n_columns, ...);
2494 public void append (out Gtk.TreeIter iter);
2495 public void clear ();
2496 public void insert (out Gtk.TreeIter iter, int position);
2497 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
2498 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
2499 [CCode (sentinel = "-1")]
2500 public void insert_with_values (out Gtk.TreeIter iter, int position, ...);
2501 public void insert_with_valuesv (out Gtk.TreeIter iter, int position, int columns, GLib.Value[] values);
2502 public bool iter_is_valid (Gtk.TreeIter iter);
2503 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
2504 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
2505 [CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
2506 public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
2507 public void prepend (out Gtk.TreeIter iter);
2508 public bool remove (Gtk.TreeIter iter);
2509 public void reorder (int new_order);
2510 [CCode (sentinel = "-1")]
2511 public void @set (Gtk.TreeIter iter, ...);
2512 public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
2513 public void set_valist (Gtk.TreeIter iter, void* var_args);
2514 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
2515 public void set_valuesv (Gtk.TreeIter iter, int columns, GLib.Value[] values);
2516 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
2518 [CCode (cheader_filename = "gtk/gtk.h")]
2519 public class Menu : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
2520 [CCode (type = "GtkWidget*", has_construct_function = false)]
2522 public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
2523 public void attach_to_widget (Gtk.Widget attach_widget, Gtk.MenuDetachFunc? detacher);
2524 public void detach ();
2525 public unowned Gtk.AccelGroup get_accel_group ();
2526 public unowned string get_accel_path ();
2527 public unowned Gtk.Widget get_active ();
2528 public unowned Gtk.Widget get_attach_widget ();
2529 public static unowned GLib.List<Gtk.Menu> get_for_attach_widget (Gtk.Widget widget);
2530 public int get_monitor ();
2531 public bool get_reserve_toggle_size ();
2532 public bool get_tearoff_state ();
2533 public unowned string get_title ();
2534 public void popdown ();
2535 public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
2536 public void popup_for_device (Gdk.Device device, Gtk.Widget parent_menu_shell, Gtk.Widget parent_menu_item, Gtk.MenuPositionFunc func, void* data, GLib.DestroyNotify destroy, uint button, uint32 activate_time);
2537 public void reorder_child (Gtk.Widget child, int position);
2538 public void reposition ();
2539 public void set_accel_group (Gtk.AccelGroup accel_group);
2540 public void set_accel_path (string accel_path);
2541 public void set_active (uint index);
2542 public void set_monitor (int monitor_num);
2543 public void set_reserve_toggle_size (bool reserve_toggle_size);
2544 public void set_screen (Gdk.Screen? screen);
2545 public void set_tearoff_state (bool torn_off);
2546 public void set_title (string title);
2547 public Gtk.AccelGroup accel_group { get; set; }
2548 public string accel_path { get; set; }
2549 public int active { get; set; }
2551 public Gtk.Widget attach_widget { owned get; set; }
2552 public int monitor { get; set; }
2553 public bool reserve_toggle_size { get; set; }
2554 public bool tearoff_state { get; set; }
2556 public string tearoff_title { owned get; set; }
2557 public virtual signal void move_scroll (Gtk.ScrollType p0);
2559 [CCode (cheader_filename = "gtk/gtk.h")]
2560 public class MenuBar : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
2561 [CCode (type = "GtkWidget*", has_construct_function = false)]
2563 public Gtk.PackDirection get_child_pack_direction ();
2564 public Gtk.PackDirection get_pack_direction ();
2565 public void set_child_pack_direction (Gtk.PackDirection child_pack_dir);
2566 public void set_pack_direction (Gtk.PackDirection pack_dir);
2567 public Gtk.PackDirection child_pack_direction { get; set; }
2568 public Gtk.PackDirection pack_direction { get; set; }
2570 [CCode (cheader_filename = "gtk/gtk.h")]
2571 public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2572 [CCode (type = "GtkWidget*", has_construct_function = false)]
2574 public unowned string get_accel_path ();
2575 public virtual unowned string get_label ();
2576 public bool get_reserve_indicator ();
2577 public bool get_right_justified ();
2578 public unowned Gtk.Widget get_submenu ();
2579 public bool get_use_underline ();
2580 public void set_accel_path (string accel_path);
2581 public virtual void set_label (string label);
2582 public void set_reserve_indicator (bool reserve);
2583 public void set_right_justified (bool right_justified);
2584 public void set_submenu (Gtk.Widget submenu);
2585 public void set_use_underline (bool setting);
2586 [CCode (type = "GtkWidget*", has_construct_function = false)]
2587 public MenuItem.with_label (string label);
2588 [CCode (type = "GtkWidget*", has_construct_function = false)]
2589 public MenuItem.with_mnemonic (string label);
2590 public string accel_path { get; set; }
2591 public string label { get; set; }
2592 public bool right_justified { get; set; }
2593 public Gtk.Menu submenu { get; set; }
2594 public bool use_underline { get; set; }
2596 public virtual signal void activate ();
2597 public virtual signal void activate_item ();
2598 public virtual signal void deselect ();
2599 public virtual signal void select ();
2601 public virtual signal void toggle_size_allocate (int allocation);
2603 public virtual signal void toggle_size_request (void* requisition);
2605 [CCode (cheader_filename = "gtk/gtk.h")]
2606 public class MenuShell : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2607 [CCode (has_construct_function = false)]
2608 protected MenuShell ();
2609 public void activate_item (Gtk.Widget menu_item, bool force_deactivate);
2610 public void append ([CCode (type = "GtkWidget*")] Gtk.MenuItem child);
2611 public void deselect ();
2612 public unowned Gtk.Widget get_parent_shell ();
2614 public virtual int get_popup_delay ();
2615 public unowned Gtk.Widget get_selected_item ();
2616 public bool get_take_focus ();
2617 public virtual void insert (Gtk.Widget child, int position);
2618 public void prepend (Gtk.Widget child);
2619 public void select_first (bool search_sensitive);
2620 public virtual void select_item (Gtk.Widget menu_item);
2621 public void set_take_focus (bool take_focus);
2622 public bool take_focus { get; set; }
2623 public virtual signal void activate_current (bool force_hide);
2625 public virtual signal void cancel ();
2626 public virtual signal void cycle_focus (Gtk.DirectionType p0);
2628 public virtual signal void deactivate ();
2629 public virtual signal void move_current (Gtk.MenuDirectionType direction);
2630 public virtual signal bool move_selected (int distance);
2631 public virtual signal void selection_done ();
2633 [CCode (cheader_filename = "gtk/gtk.h")]
2634 public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2635 [CCode (type = "GtkToolItem*", has_construct_function = false)]
2636 public MenuToolButton (Gtk.Widget? icon_widget, string? label);
2637 [CCode (type = "GtkToolItem*", has_construct_function = false)]
2638 public MenuToolButton.from_stock (string stock_id);
2639 public unowned Gtk.Widget get_menu ();
2640 public void set_arrow_tooltip_markup (string markup);
2641 public void set_arrow_tooltip_text (string text);
2642 public void set_menu (Gtk.Widget menu);
2643 public Gtk.Menu menu { get; set; }
2644 public virtual signal void show_menu ();
2646 [CCode (cheader_filename = "gtk/gtk.h")]
2647 public class MessageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
2649 [CCode (type = "GtkWidget*", has_construct_function = false)]
2650 public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
2651 public void format_secondary_markup (string message_format, ...);
2652 public void format_secondary_text (string message_format, ...);
2653 public unowned Gtk.Widget get_image ();
2654 public unowned Gtk.Widget get_message_area ();
2655 public void set_image (Gtk.Widget image);
2656 public void set_markup (string str);
2657 [CCode (type = "GtkWidget*", has_construct_function = false)]
2658 public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
2660 public Gtk.ButtonsType buttons { construct; }
2661 public Gtk.Widget image { get; set; }
2662 public Gtk.Widget message_area { get; }
2664 public Gtk.MessageType message_type { get; set construct; }
2666 public string secondary_text { owned get; set; }
2668 public bool secondary_use_markup { get; set; }
2670 public string text { owned get; set; }
2672 public bool use_markup { get; set; }
2674 [CCode (cheader_filename = "gtk/gtk.h")]
2675 public class Misc : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2676 [CCode (has_construct_function = false)]
2678 public void get_alignment (float xalign, float yalign);
2679 public void get_padding (int xpad, int ypad);
2680 public void set_alignment (float xalign, float yalign);
2681 public void set_padding (int xpad, int ypad);
2683 public float xalign { get; set; }
2685 public int xpad { get; set; }
2687 public float yalign { get; set; }
2689 public int ypad { get; set; }
2691 [CCode (cheader_filename = "gtk/gtk.h")]
2692 public class MountOperation : GLib.MountOperation {
2693 [CCode (type = "GMountOperation*", has_construct_function = false)]
2694 public MountOperation (Gtk.Window? parent);
2695 public unowned Gtk.Window get_parent ();
2696 public unowned Gdk.Screen get_screen ();
2697 public void set_parent (Gtk.Window parent);
2698 public void set_screen (Gdk.Screen screen);
2700 public bool is_showing { get; }
2701 public Gtk.Window parent { get; set; }
2702 public Gdk.Screen screen { get; set; }
2704 [CCode (cheader_filename = "gtk/gtk.h")]
2705 public class Notebook : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2706 [CCode (type = "GtkWidget*", has_construct_function = false)]
2708 public int append_page (Gtk.Widget child, Gtk.Widget? tab_label);
2709 public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
2710 public unowned Gtk.Widget get_action_widget (Gtk.PackType pack_type);
2711 public int get_current_page ();
2712 public unowned string get_group_name ();
2713 public unowned Gtk.Widget get_menu_label (Gtk.Widget child);
2714 public unowned string get_menu_label_text (Gtk.Widget child);
2715 public int get_n_pages ();
2716 public unowned Gtk.Widget get_nth_page (int page_num);
2717 public bool get_scrollable ();
2718 public bool get_show_border ();
2719 public bool get_show_tabs ();
2720 public bool get_tab_detachable (Gtk.Widget child);
2721 public uint16 get_tab_hborder ();
2722 public unowned Gtk.Widget get_tab_label (Gtk.Widget child);
2723 public unowned string get_tab_label_text (Gtk.Widget child);
2724 public Gtk.PositionType get_tab_pos ();
2725 public bool get_tab_reorderable (Gtk.Widget child);
2726 public uint16 get_tab_vborder ();
2727 public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
2728 [CCode (vfunc_name = "insert_page")]
2729 public virtual int insert_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label, int position);
2730 public void next_page ();
2731 public int page_num (Gtk.Widget child);
2732 public void popup_disable ();
2733 public void popup_enable ();
2734 public int prepend_page (Gtk.Widget child, Gtk.Widget? tab_label);
2735 public int prepend_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
2736 public void prev_page ();
2737 public void remove_page (int page_num);
2738 public void reorder_child (Gtk.Widget child, int position);
2739 public void set_action_widget (Gtk.Widget widget, Gtk.PackType pack_type);
2740 public void set_current_page (int page_num);
2741 public void set_group_name (string group_name);
2742 public void set_menu_label (Gtk.Widget child, Gtk.Widget? menu_label);
2743 public void set_menu_label_text (Gtk.Widget child, string menu_text);
2744 public void set_scrollable (bool scrollable);
2745 public void set_show_border (bool show_border);
2746 public void set_show_tabs (bool show_tabs);
2747 public void set_tab_detachable (Gtk.Widget child, bool detachable);
2748 public void set_tab_label (Gtk.Widget child, Gtk.Widget? tab_label);
2749 public void set_tab_label_text (Gtk.Widget child, string tab_text);
2750 public void set_tab_pos (Gtk.PositionType pos);
2751 public void set_tab_reorderable (Gtk.Widget child, bool reorderable);
2753 public bool enable_popup { get; set; }
2754 public string group_name { get; set; }
2756 public int page { get; set; }
2757 public bool scrollable { get; set; }
2758 public bool show_border { get; set; }
2759 public bool show_tabs { get; set; }
2760 public Gtk.PositionType tab_pos { get; set; }
2761 public virtual signal bool change_current_page (int offset);
2762 public virtual signal unowned Gtk.Notebook create_window (Gtk.Widget page, int x, int y);
2763 public virtual signal bool focus_tab (Gtk.NotebookTab type);
2764 public virtual signal void move_focus_out (Gtk.DirectionType direction);
2765 public virtual signal void page_added (Gtk.Widget child, uint page_num);
2766 public virtual signal void page_removed (Gtk.Widget child, uint page_num);
2767 public virtual signal void page_reordered (Gtk.Widget child, uint page_num);
2768 public virtual signal bool reorder_tab (Gtk.DirectionType direction, bool move_to_last);
2769 public virtual signal bool select_page (bool move_focus);
2770 public virtual signal void switch_page (Gtk.Widget page, uint page_num);
2772 [CCode (cheader_filename = "gtk/gtk.h")]
2773 public class NumerableIcon : GLib.EmblemedIcon, GLib.Icon {
2774 [CCode (type = "GIcon*", has_construct_function = false)]
2775 public NumerableIcon (GLib.Icon base_icon);
2776 public unowned GLib.Icon get_background_gicon ();
2777 public unowned string get_background_icon_name ();
2778 public int get_count ();
2779 public unowned string get_label ();
2780 public unowned Gtk.StyleContext get_style_context ();
2781 public void set_background_gicon (GLib.Icon icon);
2782 public void set_background_icon_name (string icon_name);
2783 public void set_count (int count);
2784 public void set_label (string label);
2785 public void set_style_context (Gtk.StyleContext style);
2786 [CCode (type = "GIcon*", has_construct_function = false)]
2787 public NumerableIcon.with_style_context (GLib.Icon base_icon, Gtk.StyleContext context);
2789 public GLib.Icon background_icon { owned get; set; }
2790 public string background_icon_name { get; set; }
2791 public int count { get; set; }
2792 public string label { get; set; }
2793 public Gtk.StyleContext style_context { get; set; }
2795 [CCode (cheader_filename = "gtk/gtk.h")]
2796 public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
2797 [CCode (type = "GtkWidget*", has_construct_function = false)]
2798 public OffscreenWindow ();
2799 public unowned Gdk.Pixbuf get_pixbuf ();
2800 public unowned Cairo.Surface get_surface ();
2803 [CCode (cheader_filename = "gtk/gtk.h")]
2804 public class PageRange {
2808 [CCode (cheader_filename = "gtk/gtk.h")]
2809 public class PageSetup : GLib.Object {
2810 [CCode (has_construct_function = false)]
2811 public PageSetup ();
2812 public Gtk.PageSetup copy ();
2813 [CCode (has_construct_function = false)]
2814 public PageSetup.from_file (string file_name) throws GLib.Error;
2815 [CCode (has_construct_function = false)]
2816 public PageSetup.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
2817 public double get_bottom_margin (Gtk.Unit unit);
2818 public double get_left_margin (Gtk.Unit unit);
2819 public Gtk.PageOrientation get_orientation ();
2820 public double get_page_height (Gtk.Unit unit);
2821 public double get_page_width (Gtk.Unit unit);
2822 public double get_paper_height (Gtk.Unit unit);
2823 public unowned Gtk.PaperSize get_paper_size ();
2824 public double get_paper_width (Gtk.Unit unit);
2825 public double get_right_margin (Gtk.Unit unit);
2826 public double get_top_margin (Gtk.Unit unit);
2827 public bool load_file (string file_name) throws GLib.Error;
2828 public bool load_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
2829 public void set_bottom_margin (double margin, Gtk.Unit unit);
2830 public void set_left_margin (double margin, Gtk.Unit unit);
2831 public void set_orientation (Gtk.PageOrientation orientation);
2832 public void set_paper_size (Gtk.PaperSize size);
2833 public void set_paper_size_and_default_margins (Gtk.PaperSize size);
2834 public void set_right_margin (double margin, Gtk.Unit unit);
2835 public void set_top_margin (double margin, Gtk.Unit unit);
2836 public bool to_file (string file_name) throws GLib.Error;
2837 public void to_key_file (GLib.KeyFile key_file, string group_name);
2839 [CCode (cheader_filename = "gtk/gtk.h")]
2840 public class Paned : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2841 [CCode (type = "GtkWidget*", has_construct_function = false)]
2842 public Paned (Gtk.Orientation orientation);
2843 public void add1 (Gtk.Widget child);
2844 public void add2 (Gtk.Widget child);
2845 public unowned Gtk.Widget get_child1 ();
2846 public unowned Gtk.Widget get_child2 ();
2847 public unowned Gdk.Window get_handle_window ();
2848 public int get_position ();
2849 public void pack1 (Gtk.Widget child, bool resize, bool shrink);
2850 public void pack2 (Gtk.Widget child, bool resize, bool shrink);
2851 public void set_position (int position);
2853 public int max_position { get; }
2855 public int min_position { get; }
2856 public int position { get; set; }
2858 public bool position_set { get; set; }
2859 public virtual signal bool accept_position ();
2860 public virtual signal bool cancel_position ();
2861 public virtual signal bool cycle_child_focus (bool reverse);
2862 public virtual signal bool cycle_handle_focus (bool reverse);
2863 public virtual signal bool move_handle (Gtk.ScrollType scroll);
2864 public virtual signal bool toggle_handle_focus ();
2867 [CCode (copy_function = "gtk_paper_size_copy", type_id = "GTK_TYPE_PAPER_SIZE", cheader_filename = "gtk/gtk.h")]
2868 public class PaperSize {
2869 [CCode (has_construct_function = false)]
2870 public PaperSize (string name);
2871 public Gtk.PaperSize copy ();
2872 [CCode (has_construct_function = false)]
2873 public PaperSize.custom (string name, string display_name, double width, double height, Gtk.Unit unit);
2874 [CCode (has_construct_function = false)]
2875 public PaperSize.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
2876 [CCode (has_construct_function = false)]
2877 public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height);
2878 public static unowned string get_default ();
2879 public double get_default_bottom_margin (Gtk.Unit unit);
2880 public double get_default_left_margin (Gtk.Unit unit);
2881 public double get_default_right_margin (Gtk.Unit unit);
2882 public double get_default_top_margin (Gtk.Unit unit);
2883 public unowned string get_display_name ();
2884 public double get_height (Gtk.Unit unit);
2885 public unowned string get_name ();
2886 public static GLib.List<Gtk.PaperSize> get_paper_sizes (bool include_custom);
2887 public unowned string get_ppd_name ();
2888 public double get_width (Gtk.Unit unit);
2889 public bool is_custom ();
2890 public bool is_equal (Gtk.PaperSize size2);
2891 public void set_size (double width, double height, Gtk.Unit unit);
2892 public void to_key_file (GLib.KeyFile key_file, string group_name);
2894 [CCode (cheader_filename = "gtk/gtk.h")]
2895 public class Plug : Gtk.Window, Atk.Implementor, Gtk.Buildable {
2896 [CCode (type = "GtkWidget*", has_construct_function = false)]
2897 public Plug (Gtk.Window socket_id);
2898 public void @construct (Gtk.Window socket_id);
2899 public void construct_for_display (Gdk.Display display, Gtk.Window socket_id);
2900 [CCode (type = "GtkWidget*", has_construct_function = false)]
2901 public Plug.for_display (Gdk.Display display, Gtk.Window socket_id);
2902 public bool get_embedded ();
2903 public unowned Gtk.Window get_id ();
2904 public unowned Gdk.Window get_socket_window ();
2905 public bool embedded { get; }
2906 public Gdk.Window socket_window { get; }
2908 [CCode (cheader_filename = "gtk/gtk.h")]
2909 public class PrintContext : GLib.Object {
2910 [CCode (has_construct_function = false)]
2911 protected PrintContext ();
2912 public unowned Pango.Context create_pango_context ();
2913 public unowned Pango.Layout create_pango_layout ();
2914 public unowned Cairo.Context get_cairo_context ();
2915 public double get_dpi_x ();
2916 public double get_dpi_y ();
2917 public bool get_hard_margins (double top, double bottom, double left, double right);
2918 public double get_height ();
2919 public unowned Gtk.PageSetup get_page_setup ();
2920 public unowned Pango.FontMap get_pango_fontmap ();
2921 public double get_width ();
2922 public void set_cairo_context (Cairo.Context cr, double dpi_x, double dpi_y);
2924 [CCode (cheader_filename = "gtk/gtk.h")]
2925 public class PrintOperation : GLib.Object, Gtk.PrintOperationPreview {
2926 [CCode (has_construct_function = false)]
2927 public PrintOperation ();
2928 public void cancel ();
2929 public void draw_page_finish ();
2930 public unowned Gtk.PageSetup get_default_page_setup ();
2931 public bool get_embed_page_setup ();
2932 public void get_error () throws GLib.Error;
2933 public bool get_has_selection ();
2934 public int get_n_pages_to_print ();
2935 public unowned Gtk.PrintSettings get_print_settings ();
2936 public Gtk.PrintStatus get_status ();
2937 public unowned string get_status_string ();
2938 public bool get_support_selection ();
2939 public bool is_finished ();
2940 public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window parent) throws GLib.Error;
2941 public void set_allow_async (bool allow_async);
2942 public void set_current_page (int current_page);
2943 public void set_custom_tab_label (string label);
2944 public void set_default_page_setup (Gtk.PageSetup default_page_setup);
2945 public void set_defer_drawing ();
2946 public void set_embed_page_setup (bool embed);
2947 public void set_export_filename (string filename);
2948 public void set_has_selection (bool has_selection);
2949 public void set_job_name (string job_name);
2950 public void set_n_pages (int n_pages);
2951 public void set_print_settings (Gtk.PrintSettings print_settings);
2952 public void set_show_progress (bool show_progress);
2953 public void set_support_selection (bool support_selection);
2954 public void set_track_print_status (bool track_status);
2955 public void set_unit (Gtk.Unit unit);
2956 public void set_use_full_page (bool full_page);
2958 public bool allow_async { get; set; }
2960 public int current_page { get; set; }
2962 public string custom_tab_label { owned get; set; }
2963 public Gtk.PageSetup default_page_setup { get; set; }
2964 public bool embed_page_setup { get; set; }
2966 public string export_filename { owned get; set; }
2967 public bool has_selection { get; set; }
2969 public string job_name { owned get; set; }
2971 public int n_pages { get; set; }
2972 public int n_pages_to_print { get; }
2973 public Gtk.PrintSettings print_settings { get; set; }
2975 public bool show_progress { get; set; }
2976 public Gtk.PrintStatus status { get; }
2977 public string status_string { get; }
2978 public bool support_selection { get; set; }
2980 public bool track_print_status { get; set; }
2982 public Gtk.Unit unit { get; set; }
2984 public bool use_full_page { get; set; }
2985 public virtual signal void begin_print (Gtk.PrintContext context);
2986 public virtual signal unowned GLib.Object create_custom_widget ();
2987 public virtual signal void custom_widget_apply (Gtk.Widget widget);
2988 public virtual signal void done (Gtk.PrintOperationResult result);
2989 public virtual signal void draw_page (Gtk.PrintContext context, int page_nr);
2990 public virtual signal void end_print (Gtk.PrintContext context);
2991 public virtual signal bool paginate (Gtk.PrintContext context);
2992 public virtual signal bool preview (Gtk.PrintOperationPreview preview, Gtk.PrintContext context, Gtk.Window parent);
2993 public virtual signal void request_page_setup (Gtk.PrintContext context, int page_nr, Gtk.PageSetup setup);
2994 public virtual signal void status_changed ();
2995 public virtual signal void update_custom_widget (Gtk.Widget widget, Gtk.PageSetup setup, Gtk.PrintSettings settings);
2997 [CCode (cheader_filename = "gtk/gtk.h")]
2998 public class PrintSettings : GLib.Object {
2999 [CCode (has_construct_function = false)]
3000 public PrintSettings ();
3001 public Gtk.PrintSettings copy ();
3002 public void @foreach (Gtk.PrintSettingsFunc func);
3003 [CCode (has_construct_function = false)]
3004 public PrintSettings.from_file (string file_name) throws GLib.Error;
3005 [CCode (has_construct_function = false)]
3006 public PrintSettings.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3007 public unowned string @get (string key);
3008 public bool get_bool (string key);
3009 public bool get_collate ();
3010 public unowned string get_default_source ();
3011 public unowned string get_dither ();
3012 public double get_double (string key);
3013 public double get_double_with_default (string key, double def);
3014 public Gtk.PrintDuplex get_duplex ();
3015 public unowned string get_finishings ();
3016 public int get_int (string key);
3017 public int get_int_with_default (string key, int def);
3018 public double get_length (string key, Gtk.Unit unit);
3019 public unowned string get_media_type ();
3020 public int get_n_copies ();
3021 public int get_number_up ();
3022 public Gtk.NumberUpLayout get_number_up_layout ();
3023 public Gtk.PageOrientation get_orientation ();
3024 public unowned string get_output_bin ();
3025 public unowned Gtk.PageRange get_page_ranges (int num_ranges);
3026 public Gtk.PageSet get_page_set ();
3027 public double get_paper_height (Gtk.Unit unit);
3028 public unowned Gtk.PaperSize get_paper_size ();
3029 public double get_paper_width (Gtk.Unit unit);
3030 public Gtk.PrintPages get_print_pages ();
3031 public unowned string get_printer ();
3032 public double get_printer_lpi ();
3033 public Gtk.PrintQuality get_quality ();
3034 public int get_resolution ();
3035 public int get_resolution_x ();
3036 public int get_resolution_y ();
3037 public bool get_reverse ();
3038 public double get_scale ();
3039 public bool get_use_color ();
3040 public bool has_key (string key);
3041 public bool load_file (string file_name) throws GLib.Error;
3042 public bool load_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3043 public void @set (string key, string value);
3044 public void set_bool (string key, bool value);
3045 public void set_collate (bool collate);
3046 public void set_default_source (string default_source);
3047 public void set_dither (string dither);
3048 public void set_double (string key, double value);
3049 public void set_duplex (Gtk.PrintDuplex duplex);
3050 public void set_finishings (string finishings);
3051 public void set_int (string key, int value);
3052 public void set_length (string key, double value, Gtk.Unit unit);
3053 public void set_media_type (string media_type);
3054 public void set_n_copies (int num_copies);
3055 public void set_number_up (int number_up);
3056 public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout);
3057 public void set_orientation (Gtk.PageOrientation orientation);
3058 public void set_output_bin (string output_bin);
3059 public void set_page_ranges (Gtk.PageRange page_ranges, int num_ranges);
3060 public void set_page_set (Gtk.PageSet page_set);
3061 public void set_paper_height (double height, Gtk.Unit unit);
3062 public void set_paper_size (Gtk.PaperSize paper_size);
3063 public void set_paper_width (double width, Gtk.Unit unit);
3064 public void set_print_pages (Gtk.PrintPages pages);
3065 public void set_printer (string printer);
3066 public void set_printer_lpi (double lpi);
3067 public void set_quality (Gtk.PrintQuality quality);
3068 public void set_resolution (int resolution);
3069 public void set_resolution_xy (int resolution_x, int resolution_y);
3070 public void set_reverse (bool reverse);
3071 public void set_scale (double scale);
3072 public void set_use_color (bool use_color);
3073 public bool to_file (string file_name) throws GLib.Error;
3074 public void to_key_file (GLib.KeyFile key_file, string group_name);
3075 public void unset (string key);
3077 [CCode (cheader_filename = "gtk/gtk.h")]
3078 public class ProgressBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3079 [CCode (type = "GtkWidget*", has_construct_function = false)]
3080 public ProgressBar ();
3081 public Pango.EllipsizeMode get_ellipsize ();
3082 public double get_fraction ();
3083 public bool get_inverted ();
3084 public double get_pulse_step ();
3085 public bool get_show_text ();
3086 public unowned string get_text ();
3087 public void pulse ();
3088 public void set_ellipsize (Pango.EllipsizeMode mode);
3089 public void set_fraction (double fraction);
3090 public void set_inverted (bool inverted);
3091 public void set_pulse_step (double fraction);
3092 public void set_show_text (bool show_text);
3093 public void set_text (string text);
3094 public Pango.EllipsizeMode ellipsize { get; set; }
3095 public double fraction { get; set; }
3096 public bool inverted { get; set; }
3097 public double pulse_step { get; set; }
3098 public bool show_text { get; set; }
3099 public string text { get; set; }
3101 [CCode (cheader_filename = "gtk/gtk.h")]
3102 public class RadioAction : Gtk.ToggleAction, Gtk.Buildable {
3103 [CCode (has_construct_function = false)]
3104 public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
3105 public int get_current_value ();
3106 public unowned GLib.SList<Gtk.RadioAction> get_group ();
3107 public void join_group (Gtk.RadioAction group_source);
3108 public void set_current_value (int current_value);
3109 public void set_group (GLib.SList<Gtk.RadioAction> group);
3110 public int current_value { get; set; }
3112 public Gtk.RadioAction group { set; }
3114 public int value { get; set; }
3115 public virtual signal void changed (Gtk.RadioAction current);
3117 [CCode (cheader_filename = "gtk/gtk.h")]
3118 public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3119 [CCode (type = "GtkWidget*", has_construct_function = false)]
3120 public RadioButton (GLib.SList<Gtk.RadioButton>? group);
3121 [CCode (type = "GtkWidget*", has_construct_function = false)]
3122 public RadioButton.from_widget (Gtk.RadioButton radio_group_member);
3123 public unowned GLib.SList<Gtk.RadioButton> get_group ();
3124 public void join_group (Gtk.RadioButton group_source);
3125 public void set_group (GLib.SList<Gtk.RadioButton> group);
3126 [CCode (type = "GtkWidget*", has_construct_function = false)]
3127 public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
3128 [CCode (type = "GtkWidget*", has_construct_function = false)]
3129 public RadioButton.with_label_from_widget (Gtk.RadioButton radio_group_member, string label);
3130 [CCode (type = "GtkWidget*", has_construct_function = false)]
3131 public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
3132 [CCode (type = "GtkWidget*", has_construct_function = false)]
3133 public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton radio_group_member, string label);
3135 public Gtk.RadioButton group { set; }
3136 public virtual signal void group_changed ();
3138 [CCode (cheader_filename = "gtk/gtk.h")]
3139 public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3140 [CCode (type = "GtkWidget*", has_construct_function = false)]
3141 public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem> group);
3142 [CCode (type = "GtkWidget*", has_construct_function = false)]
3143 public RadioMenuItem.from_widget (Gtk.RadioMenuItem group);
3144 public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
3145 public void set_group (GLib.SList<Gtk.RadioMenuItem> group);
3146 [CCode (type = "GtkWidget*", has_construct_function = false)]
3147 public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem> group, string label);
3148 [CCode (type = "GtkWidget*", has_construct_function = false)]
3149 public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem group, string label);
3150 [CCode (type = "GtkWidget*", has_construct_function = false)]
3151 public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem> group, string label);
3152 [CCode (type = "GtkWidget*", has_construct_function = false)]
3153 public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem group, string label);
3154 public Gtk.RadioMenuItem group { set; }
3155 public virtual signal void group_changed ();
3157 [CCode (cheader_filename = "gtk/gtk.h")]
3158 public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3159 [CCode (type = "GtkToolItem*", has_construct_function = false)]
3160 public RadioToolButton (GLib.SList<Gtk.RadioToolButton>? group);
3161 [CCode (type = "GtkToolItem*", has_construct_function = false)]
3162 public RadioToolButton.from_stock (GLib.SList<Gtk.RadioToolButton>? group, string stock_id);
3163 [CCode (type = "GtkToolItem*", has_construct_function = false)]
3164 public RadioToolButton.from_widget (Gtk.RadioToolButton group);
3165 public unowned GLib.SList<Gtk.RadioToolButton> get_group ();
3166 public void set_group (GLib.SList<Gtk.RadioToolButton> group);
3167 [CCode (type = "GtkToolItem*", has_construct_function = false)]
3168 public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton group, string stock_id);
3169 public Gtk.RadioToolButton group { set; }
3171 [CCode (cheader_filename = "gtk/gtk.h")]
3172 public class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3173 [CCode (has_construct_function = false)]
3175 public unowned Gtk.Adjustment get_adjustment ();
3176 public double get_fill_level ();
3177 public bool get_flippable ();
3178 public bool get_inverted ();
3179 public Gtk.SensitivityType get_lower_stepper_sensitivity ();
3180 public int get_min_slider_size ();
3182 public virtual void get_range_border (Gtk.Border border_);
3183 public void get_range_rect (Gdk.Rectangle range_rect);
3184 public bool get_restrict_to_fill_level ();
3185 public int get_round_digits ();
3186 public bool get_show_fill_level ();
3187 public void get_slider_range (int slider_start, int slider_end);
3188 public bool get_slider_size_fixed ();
3189 public Gtk.SensitivityType get_upper_stepper_sensitivity ();
3190 public double get_value ();
3191 public void set_adjustment (Gtk.Adjustment adjustment);
3192 public void set_fill_level (double fill_level);
3193 public void set_flippable (bool flippable);
3194 public void set_increments (double step, double page);
3195 public void set_inverted (bool setting);
3196 public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
3197 public void set_min_slider_size (int min_size);
3198 public void set_range (double min, double max);
3199 public void set_restrict_to_fill_level (bool restrict_to_fill_level);
3200 public void set_round_digits (int round_digits);
3201 public void set_show_fill_level (bool show_fill_level);
3202 public void set_slider_size_fixed (bool size_fixed);
3203 public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
3204 public void set_value (double value);
3205 public Gtk.Adjustment adjustment { get; set construct; }
3206 public double fill_level { get; set; }
3207 public bool inverted { get; set; }
3208 public Gtk.SensitivityType lower_stepper_sensitivity { get; set; }
3209 public bool restrict_to_fill_level { get; set; }
3210 public int round_digits { get; set; }
3211 public bool show_fill_level { get; set; }
3212 public Gtk.SensitivityType upper_stepper_sensitivity { get; set; }
3213 public virtual signal void adjust_bounds (double new_value);
3214 public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
3215 public virtual signal void move_slider (Gtk.ScrollType scroll);
3216 public virtual signal void value_changed ();
3219 [CCode (cheader_filename = "gtk/gtk.h")]
3220 public class RcContext {
3223 [CCode (cheader_filename = "gtk/gtk.h")]
3224 public class RcProperty {
3225 public weak string origin;
3226 public GLib.Quark property_name;
3227 public GLib.Quark type_name;
3228 public GLib.Value value;
3229 public static bool parse_border (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3230 public static bool parse_color (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3231 public static bool parse_enum (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3232 public static bool parse_flags (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3233 public static bool parse_requisition (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3235 [CCode (cheader_filename = "gtk/gtk.h")]
3236 public class RcStyle : GLib.Object {
3237 [CCode (array_length = false)]
3238 public weak Gdk.Color[] @base;
3239 [CCode (array_length = false)]
3240 public weak Gdk.Color[] bg;
3241 [CCode (array_length = false)]
3242 public weak string[] bg_pixmap_name;
3243 [CCode (array_length = false)]
3244 public weak Gtk.RcFlags[] color_flags;
3245 public uint engine_specified;
3246 [CCode (array_length = false)]
3247 public weak Gdk.Color[] fg;
3248 public weak Pango.FontDescription font_desc;
3249 public weak GLib.SList icon_factories;
3250 public weak string name;
3251 public weak GLib.Array rc_properties;
3252 public weak GLib.SList rc_style_lists;
3253 [CCode (array_length = false)]
3254 public weak Gdk.Color[] text;
3255 public int xthickness;
3256 public int ythickness;
3257 [CCode (has_construct_function = false)]
3259 public Gtk.RcStyle copy ();
3261 public virtual unowned Gtk.RcStyle create_rc_style ();
3263 public virtual Gtk.Style create_style ();
3265 public virtual void merge (Gtk.RcStyle src);
3267 public virtual uint parse (Gtk.Settings settings, GLib.Scanner scanner);
3269 [CCode (cheader_filename = "gtk/gtk.h")]
3270 public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser {
3271 [CCode (type = "GtkAction*", has_construct_function = false)]
3272 public RecentAction (string name, string label, string tooltip, string stock_id);
3273 [CCode (type = "GtkAction*", has_construct_function = false)]
3274 public RecentAction.for_manager (string name, string label, string tooltip, string stock_id, Gtk.RecentManager manager);
3275 public bool get_show_numbers ();
3276 public void set_show_numbers (bool show_numbers);
3277 public bool show_numbers { get; set; }
3279 [CCode (cheader_filename = "gtk/gtk.h")]
3280 public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
3281 [CCode (type = "GtkWidget*", has_construct_function = false)]
3282 public RecentChooserDialog (string title, Gtk.Window parent, ...);
3283 [CCode (type = "GtkWidget*", has_construct_function = false)]
3284 public RecentChooserDialog.for_manager (string title, Gtk.Window parent, Gtk.RecentManager manager, ...);
3286 [CCode (cheader_filename = "gtk/gtk.h")]
3287 public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser, Gtk.Activatable {
3288 [CCode (type = "GtkWidget*", has_construct_function = false)]
3289 public RecentChooserMenu ();
3290 [CCode (type = "GtkWidget*", has_construct_function = false)]
3291 public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
3292 public bool get_show_numbers ();
3294 public virtual void gtk_recent1 ();
3296 public virtual void gtk_recent2 ();
3298 public virtual void gtk_recent3 ();
3300 public virtual void gtk_recent4 ();
3301 public void set_show_numbers (bool show_numbers);
3302 public bool show_numbers { get; set; }
3304 [CCode (cheader_filename = "gtk/gtk.h")]
3305 public class RecentChooserWidget : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
3306 [CCode (type = "GtkWidget*", has_construct_function = false)]
3307 public RecentChooserWidget ();
3308 [CCode (type = "GtkWidget*", has_construct_function = false)]
3309 public RecentChooserWidget.for_manager (Gtk.RecentManager manager);
3311 [CCode (cheader_filename = "gtk/gtk.h")]
3312 public class RecentFilter : GLib.InitiallyUnowned, Gtk.Buildable {
3313 [CCode (has_construct_function = false)]
3314 public RecentFilter ();
3315 public void add_age (int days);
3316 public void add_application (string application);
3317 public void add_custom (Gtk.RecentFilterFlags needed, owned Gtk.RecentFilterFunc func);
3318 public void add_group (string group);
3319 public void add_mime_type (string mime_type);
3320 public void add_pattern (string pattern);
3321 public void add_pixbuf_formats ();
3322 public bool filter (Gtk.RecentFilterInfo filter_info);
3323 public Gtk.RecentFilterFlags get_needed ();
3326 [CCode (cheader_filename = "gtk/gtk.h")]
3327 public class RecentFilterInfo {
3329 public weak string applications;
3330 public Gtk.RecentFilterFlags contains;
3331 public weak string display_name;
3332 public weak string groups;
3333 public weak string mime_type;
3334 public weak string uri;
3337 [CCode (ref_function = "gtk_recent_info_ref", unref_function = "gtk_recent_info_unref", type_id = "GTK_TYPE_RECENT_INFO", cheader_filename = "gtk/gtk.h")]
3338 public class RecentInfo {
3339 public unowned GLib.AppInfo create_app_info (string app_name) throws GLib.Error;
3340 public bool exists ();
3341 public ulong get_added ();
3342 public int get_age ();
3343 public bool get_application_info (string app_name, out unowned string app_exec, out uint count, out ulong time_);
3344 [CCode (array_length_type = "gsize")]
3345 public string[] get_applications ();
3346 public unowned string get_description ();
3347 public unowned string get_display_name ();
3348 public unowned GLib.Icon get_gicon ();
3349 [CCode (array_length_type = "gsize")]
3350 public string[] get_groups ();
3351 public Gdk.Pixbuf? get_icon (int size);
3352 public unowned string get_mime_type ();
3353 public ulong get_modified ();
3354 public bool get_private_hint ();
3355 public string get_short_name ();
3356 public unowned string get_uri ();
3357 public string? get_uri_display ();
3358 public ulong get_visited ();
3359 public bool has_application (string app_name);
3360 public bool has_group (string group_name);
3361 public bool is_local ();
3362 public string last_application ();
3363 public bool match (Gtk.RecentInfo info_b);
3365 [CCode (cheader_filename = "gtk/gtk.h")]
3366 public class RecentManager : GLib.Object {
3367 [CCode (has_construct_function = false)]
3368 public RecentManager ();
3369 public bool add_full (string uri, Gtk.RecentData recent_data);
3370 public bool add_item (string uri);
3371 public static GLib.Quark error_quark ();
3372 public static unowned Gtk.RecentManager get_default ();
3373 public GLib.List<Gtk.RecentInfo> get_items ();
3374 public bool has_item (string uri);
3375 public unowned Gtk.RecentInfo lookup_item (string uri) throws GLib.Error;
3376 public bool move_item (string uri, string new_uri) throws GLib.Error;
3377 public int purge_items () throws GLib.Error;
3378 public bool remove_item (string uri) throws GLib.Error;
3380 public string filename { owned get; construct; }
3382 public int size { get; }
3383 public virtual signal void changed ();
3386 [CCode (cheader_filename = "gtk/gtk.h")]
3387 public class RequestedSize {
3389 public int minimum_size;
3390 public int natural_size;
3392 [CCode (cheader_filename = "gtk/gtk.h")]
3393 public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3394 [CCode (type = "GtkWidget*", has_construct_function = false)]
3395 public Scale (Gtk.Orientation orientation, Gtk.Adjustment adjustment);
3396 public void add_mark (double value, Gtk.PositionType position, string? markup);
3397 public void clear_marks ();
3398 public int get_digits ();
3399 public bool get_draw_value ();
3400 public unowned Pango.Layout get_layout ();
3401 public virtual void get_layout_offsets (int x, int y);
3402 public Gtk.PositionType get_value_pos ();
3403 public void set_digits (int digits);
3404 public void set_draw_value (bool draw_value);
3405 public void set_value_pos (Gtk.PositionType pos);
3406 [CCode (type = "GtkWidget*", has_construct_function = false)]
3407 public Scale.with_range (Gtk.Orientation orientation, double min, double max, double step);
3408 public int digits { get; set; }
3409 public bool draw_value { get; set; }
3410 public Gtk.PositionType value_pos { get; set; }
3411 public virtual signal string format_value (double value);
3413 [CCode (cheader_filename = "gtk/gtk.h")]
3414 public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Orientable {
3415 [CCode (type = "GtkWidget*", has_construct_function = false)]
3416 public ScaleButton (Gtk.IconSize size, double min, double max, double step, [CCode (array_length = false)] string[] icons);
3417 public unowned Gtk.Adjustment get_adjustment ();
3418 public unowned Gtk.Widget get_minus_button ();
3419 public unowned Gtk.Widget get_plus_button ();
3420 public unowned Gtk.Widget get_popup ();
3421 public double get_value ();
3422 public void set_adjustment (Gtk.Adjustment adjustment);
3423 public void set_icons ([CCode (array_length = false)] string[] icons);
3424 public void set_value (double value);
3425 public Gtk.Adjustment adjustment { get; set; }
3427 [CCode (array_length = false, array_null_terminated = true)]
3428 public string[] icons { owned get; set; }
3430 public Gtk.IconSize size { get; set; }
3431 public double value { get; set; }
3432 public virtual signal void popdown ();
3433 public virtual signal void popup ();
3434 public virtual signal void value_changed (double value);
3436 [CCode (cheader_filename = "gtk/gtk.h")]
3437 public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3438 [CCode (type = "GtkWidget*", has_construct_function = false)]
3439 public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment adjustment);
3441 [CCode (cheader_filename = "gtk/gtk.h")]
3442 public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3443 [CCode (type = "GtkWidget*", has_construct_function = false)]
3444 public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
3445 public void add_with_viewport (Gtk.Widget child);
3446 public unowned Gtk.Adjustment get_hadjustment ();
3447 public unowned Gtk.Widget get_hscrollbar ();
3448 public int get_min_content_height ();
3449 public int get_min_content_width ();
3450 public Gtk.CornerType get_placement ();
3451 public void get_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
3452 public Gtk.ShadowType get_shadow_type ();
3453 public unowned Gtk.Adjustment get_vadjustment ();
3454 public unowned Gtk.Widget get_vscrollbar ();
3455 public void set_hadjustment (Gtk.Adjustment hadjustment);
3456 public void set_min_content_height (int height);
3457 public void set_min_content_width (int width);
3458 public void set_placement (Gtk.CornerType window_placement);
3459 public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
3460 public void set_shadow_type (Gtk.ShadowType type);
3461 public void set_vadjustment (Gtk.Adjustment vadjustment);
3462 public void unset_placement ();
3463 public Gtk.Adjustment hadjustment { get; set construct; }
3465 public Gtk.PolicyType hscrollbar_policy { get; set; }
3466 public int min_content_height { get; set; }
3467 public int min_content_width { get; set; }
3468 public Gtk.ShadowType shadow_type { get; set; }
3469 public Gtk.Adjustment vadjustment { get; set construct; }
3471 public Gtk.PolicyType vscrollbar_policy { get; set; }
3473 public Gtk.CornerType window_placement { get; set; }
3475 public bool window_placement_set { get; set; }
3476 public virtual signal void move_focus_out (Gtk.DirectionType direction);
3477 public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
3480 [CCode (copy_function = "gtk_selection_data_copy", type_id = "GTK_TYPE_SELECTION_DATA", cheader_filename = "gtk/gtk.h")]
3481 public class SelectionData {
3482 public Gtk.SelectionData copy ();
3483 [CCode (array_length = false)]
3484 public unowned uchar[] get_data ();
3485 public Gdk.Atom get_data_type ();
3486 public unowned uchar[] get_data_with_length (int length);
3487 public unowned Gdk.Display get_display ();
3488 public int get_format ();
3489 public int get_length ();
3490 public Gdk.Pixbuf? get_pixbuf ();
3491 public Gdk.Atom get_selection ();
3492 public Gdk.Atom get_target ();
3493 public bool get_targets (out Gdk.Atom targets, int n_atoms);
3494 public string? get_text ();
3495 [CCode (array_length = false, array_null_terminated = true)]
3496 public string[] get_uris ();
3497 public void @set (Gdk.Atom type, int format, uchar[] data);
3498 public bool set_pixbuf (Gdk.Pixbuf pixbuf);
3499 public bool set_text (string str, int len);
3500 public bool set_uris ([CCode (array_length = false)] string[] uris);
3501 public bool targets_include_image (bool writable);
3502 public bool targets_include_rich_text (Gtk.TextBuffer buffer);
3503 public bool targets_include_text ();
3504 public bool targets_include_uri ();
3506 [CCode (cheader_filename = "gtk/gtk.h")]
3507 public class Separator : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3508 [CCode (type = "GtkWidget*", has_construct_function = false)]
3509 public Separator (Gtk.Orientation orientation);
3511 [CCode (cheader_filename = "gtk/gtk.h")]
3512 public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3513 [CCode (type = "GtkWidget*", has_construct_function = false)]
3514 public SeparatorMenuItem ();
3516 [CCode (cheader_filename = "gtk/gtk.h")]
3517 public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3518 [CCode (type = "GtkToolItem*", has_construct_function = false)]
3519 public SeparatorToolItem ();
3520 public bool get_draw ();
3521 public void set_draw (bool draw);
3522 public bool draw { get; set; }
3524 [CCode (cheader_filename = "gtk/gtk.h")]
3525 public class Settings : GLib.Object, Gtk.StyleProvider {
3526 [CCode (has_construct_function = false)]
3527 protected Settings ();
3528 public static unowned Gtk.Settings get_default ();
3529 public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
3530 public static void install_property (GLib.ParamSpec pspec);
3531 public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
3532 public void set_double_property (string name, double v_double, string origin);
3533 public void set_long_property (string name, long v_long, string origin);
3534 public void set_property_value (string name, Gtk.SettingsValue svalue);
3535 public void set_string_property (string name, string v_string, string origin);
3537 public GLib.HashTable<string,Gdk.Color> color_hash { owned get; }
3539 public bool gtk_alternative_button_order { get; set; }
3541 public bool gtk_alternative_sort_arrows { get; set; }
3543 public bool gtk_application_prefer_dark_theme { get; set; }
3545 public bool gtk_auto_mnemonics { get; set; }
3547 public bool gtk_button_images { get; set; }
3549 public bool gtk_can_change_accels { get; set; }
3551 public string gtk_color_palette { owned get; set; }
3553 public string gtk_color_scheme { owned get; set; }
3555 public bool gtk_cursor_blink { get; set; }
3557 public int gtk_cursor_blink_time { get; set; }
3559 public int gtk_cursor_blink_timeout { get; set; }
3561 public string gtk_cursor_theme_name { owned get; set; }
3563 public int gtk_cursor_theme_size { get; set; }
3565 public int gtk_dnd_drag_threshold { get; set; }
3567 public int gtk_double_click_distance { get; set; }
3569 public int gtk_double_click_time { get; set; }
3571 public bool gtk_enable_accels { get; set; }
3573 public bool gtk_enable_animations { get; set; }
3575 public bool gtk_enable_event_sounds { get; set; }
3577 public bool gtk_enable_input_feedback_sounds { get; set; }
3579 public bool gtk_enable_mnemonics { get; set; }
3581 public bool gtk_enable_tooltips { get; set; }
3583 public uint gtk_entry_password_hint_timeout { get; set; }
3585 public bool gtk_entry_select_on_focus { get; set; }
3587 public bool gtk_error_bell { get; set; }
3589 public string gtk_fallback_icon_theme { owned get; set; }
3591 public string gtk_file_chooser_backend { owned get; set; }
3593 public string gtk_font_name { owned get; set; }
3595 public uint gtk_fontconfig_timestamp { get; set; }
3597 public string gtk_icon_sizes { owned get; set; }
3599 public string gtk_icon_theme_name { owned get; set; }
3601 public string gtk_im_module { owned get; set; }
3603 public Gtk.IMPreeditStyle gtk_im_preedit_style { get; set; }
3605 public Gtk.IMStatusStyle gtk_im_status_style { get; set; }
3607 public string gtk_key_theme_name { owned get; set; }
3609 public bool gtk_keynav_cursor_only { get; set; }
3611 public bool gtk_keynav_wrap_around { get; set; }
3613 public bool gtk_label_select_on_focus { get; set; }
3615 public string gtk_menu_bar_accel { owned get; set; }
3617 public int gtk_menu_bar_popup_delay { get; set; }
3619 public bool gtk_menu_images { get; set; }
3621 public int gtk_menu_popdown_delay { get; set; }
3623 public int gtk_menu_popup_delay { get; set; }
3625 public string gtk_modules { owned get; set; }
3627 public string gtk_print_backends { owned get; set; }
3629 public string gtk_print_preview_command { owned get; set; }
3631 public int gtk_recent_files_limit { get; set; }
3633 public int gtk_recent_files_max_age { get; set; }
3635 public Gtk.CornerType gtk_scrolled_window_placement { get; set; }
3637 public bool gtk_show_input_method_menu { get; set; }
3639 public bool gtk_show_unicode_menu { get; set; }
3641 public string gtk_sound_theme_name { owned get; set; }
3643 public bool gtk_split_cursor { get; set; }
3645 public string gtk_theme_name { owned get; set; }
3647 public int gtk_timeout_expand { get; set; }
3649 public int gtk_timeout_initial { get; set; }
3651 public int gtk_timeout_repeat { get; set; }
3653 public Gtk.IconSize gtk_toolbar_icon_size { get; set; }
3655 public Gtk.ToolbarStyle gtk_toolbar_style { get; set; }
3657 public int gtk_tooltip_browse_mode_timeout { get; set; }
3659 public int gtk_tooltip_browse_timeout { get; set; }
3661 public int gtk_tooltip_timeout { get; set; }
3663 public bool gtk_touchscreen_mode { get; set; }
3665 public int gtk_xft_antialias { get; set; }
3667 public int gtk_xft_dpi { get; set; }
3669 public int gtk_xft_hinting { get; set; }
3671 public string gtk_xft_hintstyle { owned get; set; }
3673 public string gtk_xft_rgba { owned get; set; }
3676 [CCode (cheader_filename = "gtk/gtk.h")]
3677 public class SettingsValue {
3678 public weak string origin;
3679 public GLib.Value value;
3681 [CCode (cheader_filename = "gtk/gtk.h")]
3682 public class SizeGroup : GLib.Object, Gtk.Buildable {
3683 [CCode (has_construct_function = false)]
3684 public SizeGroup (Gtk.SizeGroupMode mode);
3685 public void add_widget (Gtk.Widget widget);
3686 public bool get_ignore_hidden ();
3687 public Gtk.SizeGroupMode get_mode ();
3688 public unowned GLib.SList<Gtk.Widget> get_widgets ();
3689 public void remove_widget (Gtk.Widget widget);
3690 public void set_ignore_hidden (bool ignore_hidden);
3691 public void set_mode (Gtk.SizeGroupMode mode);
3692 public bool ignore_hidden { get; set; }
3693 public Gtk.SizeGroupMode mode { get; set; }
3695 [CCode (cheader_filename = "gtk/gtk.h")]
3696 public class Socket : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3697 [CCode (type = "GtkWidget*", has_construct_function = false)]
3699 public void add_id (Gtk.Window window);
3700 public unowned Gtk.Window get_id ();
3701 public unowned Gdk.Window get_plug_window ();
3702 public virtual signal void plug_added ();
3703 public virtual signal bool plug_removed ();
3705 [CCode (cheader_filename = "gtk/gtk.h")]
3706 public class SpinButton : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable {
3707 [CCode (type = "GtkWidget*", has_construct_function = false)]
3708 public SpinButton (Gtk.Adjustment adjustment, double climb_rate, uint digits);
3709 public void configure (Gtk.Adjustment adjustment, double climb_rate, uint digits);
3710 public unowned Gtk.Adjustment get_adjustment ();
3711 public uint get_digits ();
3712 public void get_increments (double step, double page);
3713 public bool get_numeric ();
3714 public void get_range (out double min, out double max);
3715 public bool get_snap_to_ticks ();
3716 public Gtk.SpinButtonUpdatePolicy get_update_policy ();
3717 public double get_value ();
3718 public int get_value_as_int ();
3719 public bool get_wrap ();
3720 public void set_adjustment (Gtk.Adjustment adjustment);
3721 public void set_digits (uint digits);
3722 public void set_increments (double step, double page);
3723 public void set_numeric (bool numeric);
3724 public void set_range (double min, double max);
3725 public void set_snap_to_ticks (bool snap_to_ticks);
3726 public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
3727 public void set_value (double value);
3728 public void set_wrap (bool wrap);
3729 public void spin (Gtk.SpinType direction, double increment);
3730 public void update ();
3731 [CCode (type = "GtkWidget*", has_construct_function = false)]
3732 public SpinButton.with_range (double min, double max, double step);
3733 public Gtk.Adjustment adjustment { get; set; }
3735 public double climb_rate { get; set; }
3736 public uint digits { get; set; }
3737 public bool numeric { get; set; }
3738 public bool snap_to_ticks { get; set; }
3739 public Gtk.SpinButtonUpdatePolicy update_policy { get; set; }
3740 public double value { get; set; }
3741 public bool wrap { get; set; }
3742 public virtual signal void change_value (Gtk.ScrollType scroll);
3743 public virtual signal int input (void* new_value);
3744 public virtual signal bool output ();
3745 public virtual signal void value_changed ();
3746 public virtual signal void wrapped ();
3748 [CCode (cheader_filename = "gtk/gtk.h")]
3749 public class Spinner : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
3750 [CCode (type = "GtkWidget*", has_construct_function = false)]
3752 public void start ();
3753 public void stop ();
3755 public bool active { get; set; }
3757 [CCode (cheader_filename = "gtk/gtk.h")]
3758 public class StatusIcon : GLib.Object {
3759 [CCode (has_construct_function = false)]
3760 public StatusIcon ();
3761 [CCode (has_construct_function = false)]
3762 public StatusIcon.from_file (string filename);
3763 [CCode (has_construct_function = false)]
3764 public StatusIcon.from_gicon (GLib.Icon icon);
3765 [CCode (has_construct_function = false)]
3766 public StatusIcon.from_icon_name (string icon_name);
3767 [CCode (has_construct_function = false)]
3768 public StatusIcon.from_pixbuf (Gdk.Pixbuf pixbuf);
3769 [CCode (has_construct_function = false)]
3770 public StatusIcon.from_stock (string stock_id);
3771 public bool get_geometry (out unowned Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation);
3772 public unowned GLib.Icon get_gicon ();
3773 public bool get_has_tooltip ();
3774 public unowned string get_icon_name ();
3775 public unowned Gdk.Pixbuf get_pixbuf ();
3776 public unowned Gdk.Screen get_screen ();
3777 public int get_size ();
3778 public unowned string get_stock ();
3779 public Gtk.ImageType get_storage_type ();
3780 public unowned string get_title ();
3781 public unowned string get_tooltip_markup ();
3782 public unowned string get_tooltip_text ();
3783 public bool get_visible ();
3784 public uint32 get_x11_window_id ();
3785 public bool is_embedded ();
3786 [CCode (instance_pos = -1)]
3787 public void position_menu (Gtk.Menu menu, out int x, out int y, out bool push_in);
3788 public void set_from_file (string filename);
3789 public void set_from_gicon (GLib.Icon icon);
3790 public void set_from_icon_name (string icon_name);
3791 public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
3792 public void set_from_stock (string stock_id);
3793 public void set_has_tooltip (bool has_tooltip);
3794 public void set_name (string name);
3795 public void set_screen (Gdk.Screen screen);
3796 public void set_title (string title);
3797 public void set_tooltip_markup (string markup);
3798 public void set_tooltip_text (string text);
3799 public void set_visible (bool visible);
3801 public bool embedded { get; }
3803 public string file { set; }
3805 public GLib.Icon gicon { owned get; set; }
3806 public bool has_tooltip { get; set; }
3808 public string icon_name { owned get; set; }
3810 public Gtk.Orientation orientation { get; }
3812 public Gdk.Pixbuf pixbuf { owned get; set; }
3813 public Gdk.Screen screen { get; set; }
3814 public int size { get; }
3816 public string stock { owned get; set; }
3817 public Gtk.ImageType storage_type { get; }
3818 public string title { get; set; }
3819 public string tooltip_markup { get; set; }
3820 public string tooltip_text { get; set; }
3821 public bool visible { get; set; }
3822 public virtual signal void activate ();
3823 public virtual signal bool button_press_event (Gdk.EventButton event);
3824 public virtual signal bool button_release_event (Gdk.EventButton event);
3825 public virtual signal void popup_menu (uint button, uint activate_time);
3826 public virtual signal bool query_tooltip (int x, int y, bool keyboard_mode, Gtk.Tooltip tooltip);
3827 public virtual signal bool scroll_event (Gdk.Event event);
3828 public virtual signal bool size_changed (int size);
3830 [CCode (cheader_filename = "gtk/gtk.h")]
3831 public class Statusbar : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3832 [CCode (type = "GtkWidget*", has_construct_function = false)]
3833 public Statusbar ();
3834 public uint get_context_id (string context_description);
3835 public unowned Gtk.Widget get_message_area ();
3836 public void pop (uint context_id);
3837 public uint push (uint context_id, string text);
3838 public void remove (uint context_id, uint message_id);
3839 public void remove_all (uint context_id);
3840 public virtual signal void text_popped (uint context_id, string text);
3841 public virtual signal void text_pushed (uint context_id, string text);
3843 [CCode (cheader_filename = "gtk/gtk.h")]
3844 public class Style : GLib.Object {
3845 public int attach_count;
3846 [CCode (array_length = false)]
3847 public weak Cairo.Pattern[] background;
3848 [CCode (array_length = false)]
3849 public Gdk.Color[] @base;
3850 [CCode (array_length = false)]
3851 public Gdk.Color[] bg;
3852 public Gdk.Color black;
3853 [CCode (array_length = false)]
3854 public Gdk.Color[] dark;
3855 [CCode (array_length = false)]
3856 public Gdk.Color[] fg;
3857 public weak Pango.FontDescription font_desc;
3858 public weak GLib.SList icon_factories;
3859 [CCode (array_length = false)]
3860 public Gdk.Color[] light;
3861 [CCode (array_length = false)]
3862 public Gdk.Color[] mid;
3863 public weak GLib.Array property_cache;
3864 public weak Gtk.RcStyle rc_style;
3865 public weak GLib.SList styles;
3866 [CCode (array_length = false)]
3867 public Gdk.Color[] text;
3868 [CCode (array_length = false)]
3869 public Gdk.Color[] text_aa;
3870 public weak Gdk.Visual visual;
3871 public Gdk.Color white;
3872 public int xthickness;
3873 public int ythickness;
3874 [CCode (has_construct_function = false)]
3876 public void apply_default_background (Cairo.Context cr, Gdk.Window window, Gtk.StateType state_type, int x, int y, int width, int height);
3877 public unowned Gtk.Style attach (Gdk.Window window);
3879 public virtual unowned Gtk.Style clone ();
3880 public virtual Gtk.Style copy ();
3881 public void detach ();
3883 public virtual void draw_arrow (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height);
3885 public virtual void draw_box (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
3887 public virtual void draw_box_gap (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
3889 public virtual void draw_check (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
3891 public virtual void draw_diamond (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
3893 public virtual void draw_expander (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x, int y, Gtk.ExpanderStyle expander_style);
3895 public virtual void draw_extension (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side);
3897 public virtual void draw_flat_box (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
3899 public virtual void draw_focus (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
3901 public virtual void draw_handle (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.Orientation orientation);
3903 public virtual void draw_hline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x1, int x2, int y);
3905 public virtual void draw_layout (Cairo.Context cr, Gtk.StateType state_type, bool use_text, Gtk.Widget widget, string detail, int x, int y, Pango.Layout layout);
3907 public virtual void draw_option (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
3909 public virtual void draw_resize_grip (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, Gdk.WindowEdge edge, int x, int y, int width, int height);
3911 public virtual void draw_shadow (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
3913 public virtual void draw_shadow_gap (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
3915 public virtual void draw_slider (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.Orientation orientation);
3917 public virtual void draw_spinner (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, uint step, int x, int y, int width, int height);
3919 public virtual void draw_tab (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget widget, string detail, int x, int y, int width, int height);
3921 public virtual void draw_vline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int y1_, int y2_, int x);
3922 public void @get (GLib.Type widget_type, ...);
3923 public void get_style_property (GLib.Type widget_type, string property_name, out GLib.Value value);
3924 public void get_valist (GLib.Type widget_type, string first_property_name, void* var_args);
3925 public bool has_context ();
3927 public virtual void init_from_rc (Gtk.RcStyle rc_style);
3928 public bool lookup_color (string color_name, out Gdk.Color color);
3929 public unowned Gtk.IconSet lookup_icon_set (string stock_id);
3930 public virtual unowned Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail);
3931 public virtual void set_background (Gdk.Window window, Gtk.StateType state_type);
3933 public Gtk.StyleContext context { owned get; construct; }
3934 public virtual signal void realize ();
3935 public virtual signal void unrealize ();
3937 [CCode (cheader_filename = "gtk/gtk.h")]
3938 public class StyleContext : GLib.Object {
3939 [CCode (has_construct_function = false)]
3940 public StyleContext ();
3941 public void add_class (string class_name);
3942 public void add_provider (Gtk.StyleProvider provider, uint priority);
3943 public static void add_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider, uint priority);
3944 public void add_region (string region_name, Gtk.RegionFlags flags);
3945 public void cancel_animations (void* region_id);
3946 public void @get (Gtk.StateFlags state);
3947 public void get_background_color (Gtk.StateFlags state, Gdk.RGBA color);
3948 public void get_border (Gtk.StateFlags state, Gtk.Border border);
3949 public void get_border_color (Gtk.StateFlags state, Gdk.RGBA color);
3950 public void get_color (Gtk.StateFlags state, Gdk.RGBA color);
3951 public Gtk.TextDirection get_direction ();
3952 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
3953 public Gtk.JunctionSides get_junction_sides ();
3954 public void get_margin (Gtk.StateFlags state, Gtk.Border margin);
3955 public void get_padding (Gtk.StateFlags state, Gtk.Border padding);
3956 public unowned Gtk.WidgetPath get_path ();
3957 public void get_property (string property, Gtk.StateFlags state, GLib.Value value);
3958 public unowned Gdk.Screen get_screen ();
3959 public Gtk.StateFlags get_state ();
3960 public void get_style ();
3961 public void get_style_property (string property_name, GLib.Value value);
3962 public void get_style_valist (void* args);
3963 public void get_valist (Gtk.StateFlags state, void* args);
3964 public bool has_class (string class_name);
3965 public bool has_region (string region_name, Gtk.RegionFlags flags_return);
3966 public void invalidate ();
3967 public unowned GLib.List list_classes ();
3968 public unowned GLib.List list_regions ();
3969 public bool lookup_color (string color_name, Gdk.RGBA color);
3970 public unowned Gtk.IconSet lookup_icon_set (string stock_id);
3971 public void notify_state_change (Gdk.Window window, void* region_id, Gtk.StateType state, bool state_value);
3972 public void pop_animatable_region ();
3973 public void push_animatable_region (void* region_id);
3974 public void remove_class (string class_name);
3975 public void remove_provider (Gtk.StyleProvider provider);
3976 public static void remove_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider);
3977 public void remove_region (string region_name);
3978 public static void reset_widgets (Gdk.Screen screen);
3979 public void restore ();
3980 public void save ();
3981 public void scroll_animations (Gdk.Window window, int dx, int dy);
3982 public void set_background (Gdk.Window window);
3983 public void set_direction (Gtk.TextDirection direction);
3984 public void set_junction_sides (Gtk.JunctionSides sides);
3985 public void set_path (Gtk.WidgetPath path);
3986 public void set_screen (Gdk.Screen screen);
3987 public void set_state (Gtk.StateFlags flags);
3988 public bool state_is_running (Gtk.StateType state, double progress);
3989 public Gtk.TextDirection direction { get; set; }
3990 public Gdk.Screen screen { get; set; }
3991 public virtual signal void changed ();
3993 [CCode (cheader_filename = "gtk/gtk.h")]
3994 public class StyleProperties : GLib.Object, Gtk.StyleProvider {
3995 [CCode (has_construct_function = false)]
3996 public StyleProperties ();
3997 public void clear ();
3998 public void @get (Gtk.StateFlags state);
3999 public bool get_property (string property, Gtk.StateFlags state, GLib.Value value);
4000 public void get_valist (Gtk.StateFlags state, void* args);
4001 public unowned Gtk.SymbolicColor lookup_color (string name);
4002 public static bool lookup_property (string property_name, Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec);
4003 public void map_color (string name, Gtk.SymbolicColor color);
4004 public void merge (Gtk.StyleProperties props_to_merge, bool replace);
4005 public static void register_property (Gtk.StylePropertyParser parse_func, GLib.ParamSpec pspec);
4006 public void @set (Gtk.StateFlags state);
4007 public void set_property (string property, Gtk.StateFlags state, GLib.Value value);
4008 public void set_valist (Gtk.StateFlags state, void* args);
4009 public void unset_property (string property, Gtk.StateFlags state);
4011 [CCode (cheader_filename = "gtk/gtk.h")]
4012 public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4013 [CCode (type = "GtkWidget*", has_construct_function = false)]
4015 public bool get_active ();
4016 public void set_active (bool is_active);
4017 public bool active { get; set; }
4018 public virtual signal void activate ();
4021 [CCode (ref_function = "gtk_symbolic_color_ref", unref_function = "gtk_symbolic_color_unref", type_id = "GTK_TYPE_SYMBOLIC_COLOR", cheader_filename = "gtk/gtk.h")]
4022 public class SymbolicColor {
4023 [CCode (has_construct_function = false)]
4024 public SymbolicColor.alpha (Gtk.SymbolicColor color, double factor);
4025 [CCode (has_construct_function = false)]
4026 public SymbolicColor.literal (Gdk.RGBA color);
4027 [CCode (has_construct_function = false)]
4028 public SymbolicColor.mix (Gtk.SymbolicColor color1, Gtk.SymbolicColor color2, double factor);
4029 [CCode (has_construct_function = false)]
4030 public SymbolicColor.name (string name);
4031 public bool resolve (Gtk.StyleProperties props, Gdk.RGBA resolved_color);
4032 [CCode (has_construct_function = false)]
4033 public SymbolicColor.shade (Gtk.SymbolicColor color, double factor);
4035 [CCode (cheader_filename = "gtk/gtk.h")]
4036 public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4037 [CCode (type = "GtkWidget*", has_construct_function = false)]
4038 public Table (uint rows, uint columns, bool homogeneous);
4039 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);
4040 public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
4041 public uint get_col_spacing (uint column);
4042 public uint get_default_col_spacing ();
4043 public uint get_default_row_spacing ();
4044 public bool get_homogeneous ();
4045 public uint get_row_spacing (uint row);
4046 public void get_size (uint rows, uint columns);
4047 public void resize (uint rows, uint columns);
4048 public void set_col_spacing (uint column, uint spacing);
4049 public void set_col_spacings (uint spacing);
4050 public void set_homogeneous (bool homogeneous);
4051 public void set_row_spacing (uint row, uint spacing);
4052 public void set_row_spacings (uint spacing);
4054 public uint column_spacing { get; set; }
4055 public bool homogeneous { get; set; }
4057 public uint n_columns { get; set; }
4059 public uint n_rows { get; set; }
4061 public uint row_spacing { get; set; }
4064 [CCode (cheader_filename = "gtk/gtk.h")]
4065 public class TableChild {
4066 public uint16 bottom_attach;
4067 public uint16 left_attach;
4068 public uint16 right_attach;
4069 public uint16 top_attach;
4070 public weak Gtk.Widget widget;
4071 public uint xexpand;
4073 public uint16 xpadding;
4074 public uint xshrink;
4075 public uint yexpand;
4077 public uint16 ypadding;
4078 public uint yshrink;
4081 [CCode (cheader_filename = "gtk/gtk.h")]
4082 public class TableRowCol {
4083 public uint16 allocation;
4086 public uint need_expand;
4087 public uint need_shrink;
4088 public uint16 requisition;
4090 public uint16 spacing;
4093 [CCode (ref_function = "gtk_target_list_ref", unref_function = "gtk_target_list_unref", type_id = "GTK_TYPE_TARGET_LIST", cheader_filename = "gtk/gtk.h")]
4094 public class TargetList {
4095 [CCode (has_construct_function = false)]
4096 public TargetList (Gtk.TargetEntry[] targets);
4097 public void add (Gdk.Atom target, uint flags, uint info);
4098 public void add_image_targets (uint info, bool writable);
4099 public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
4100 public void add_table (Gtk.TargetEntry[] targets, uint ntargets);
4101 public void add_text_targets (uint info);
4102 public void add_uri_targets (uint info);
4103 public bool find (Gdk.Atom target, uint info);
4104 public void remove (Gdk.Atom target);
4106 [CCode (cheader_filename = "gtk/gtk.h")]
4107 public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4108 [CCode (type = "GtkWidget*", has_construct_function = false)]
4109 public TearoffMenuItem ();
4112 [CCode (cheader_filename = "gtk/gtk.h")]
4113 public class TextAppearance {
4114 public Gdk.Color bg_color;
4115 public uint draw_bg;
4116 public Gdk.Color fg_color;
4117 public uint inside_selection;
4118 public uint is_text;
4119 [CCode (array_length = false)]
4120 public weak uint[] padding;
4122 public uint strikethrough;
4123 public uint underline;
4126 [CCode (ref_function = "gtk_text_attributes_ref", unref_function = "gtk_text_attributes_unref", type_id = "GTK_TYPE_TEXT_ATTRIBUTES", cheader_filename = "gtk/gtk.h")]
4127 public class TextAttributes {
4128 public weak Gtk.TextAppearance appearance;
4129 public uint bg_full_height;
4130 public Gtk.TextDirection direction;
4131 public uint editable;
4132 public weak Pango.FontDescription font;
4133 public double font_scale;
4135 public uint invisible;
4136 public Gtk.Justification justification;
4137 public weak Pango.Language language;
4138 public int left_margin;
4139 [CCode (array_length = false)]
4140 public weak uint[] padding;
4141 public Gdk.Color pg_bg_color;
4142 public int pixels_above_lines;
4143 public int pixels_below_lines;
4144 public int pixels_inside_wrap;
4145 public uint refcount;
4146 public int right_margin;
4147 public weak Pango.TabArray tabs;
4148 public Gtk.WrapMode wrap_mode;
4149 [CCode (has_construct_function = false)]
4150 public TextAttributes ();
4151 public Gtk.TextAttributes copy ();
4152 public void copy_values (Gtk.TextAttributes dest);
4155 [CCode (cheader_filename = "gtk/gtk.h")]
4156 public class TextBTree {
4158 [CCode (cheader_filename = "gtk/gtk.h")]
4159 public class TextBuffer : GLib.Object {
4160 [CCode (has_construct_function = false)]
4161 public TextBuffer (Gtk.TextTagTable? table);
4162 public void add_mark (Gtk.TextMark mark, Gtk.TextIter where);
4163 public void add_selection_clipboard (Gtk.Clipboard clipboard);
4164 public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
4165 public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
4166 public void copy_clipboard (Gtk.Clipboard clipboard);
4167 public unowned Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
4168 public unowned Gtk.TextMark create_mark (string? mark_name, Gtk.TextIter where, bool left_gravity);
4169 public unowned Gtk.TextTag create_tag (string tag_name, ...);
4170 public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable);
4171 public void @delete (Gtk.TextIter start, Gtk.TextIter end);
4172 public bool delete_interactive (Gtk.TextIter start_iter, Gtk.TextIter end_iter, bool default_editable);
4173 public void delete_mark (Gtk.TextMark mark);
4174 public void delete_mark_by_name (string name);
4175 public bool delete_selection (bool interactive, bool default_editable);
4176 public bool deserialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter iter, [CCode (array_length_type = "gsize")] uint8[] data) throws GLib.Error;
4177 public bool deserialize_get_can_create_tags (Gdk.Atom format);
4178 public void deserialize_set_can_create_tags (Gdk.Atom format, bool can_create_tags);
4179 public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
4180 public int get_char_count ();
4181 public unowned Gtk.TargetList get_copy_target_list ();
4182 public Gdk.Atom[] get_deserialize_formats ();
4183 public void get_end_iter (out Gtk.TextIter iter);
4184 public bool get_has_selection ();
4185 public unowned Gtk.TextMark get_insert ();
4186 public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
4187 public void get_iter_at_line (out Gtk.TextIter iter, int line_number);
4188 public void get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
4189 public void get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
4190 public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
4191 public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
4192 public int get_line_count ();
4193 public unowned Gtk.TextMark get_mark (string name);
4194 public bool get_modified ();
4195 public unowned Gtk.TargetList get_paste_target_list ();
4196 public unowned Gtk.TextMark get_selection_bound ();
4197 public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
4198 public Gdk.Atom[] get_serialize_formats ();
4199 public unowned string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
4200 public void get_start_iter (out Gtk.TextIter iter);
4201 public unowned Gtk.TextTagTable get_tag_table ();
4202 public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
4203 public void insert (Gtk.TextIter iter, string text, int len);
4204 public void insert_at_cursor (string text, int len);
4205 public bool insert_interactive (Gtk.TextIter iter, string text, int len, bool default_editable);
4206 public bool insert_interactive_at_cursor (string text, int len, bool default_editable);
4207 public void insert_range (Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end);
4208 public bool insert_range_interactive (Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable);
4209 public void insert_with_tags (Gtk.TextIter iter, string text, int len, ...);
4210 public void insert_with_tags_by_name (Gtk.TextIter iter, string text, int len, ...);
4211 public void move_mark (Gtk.TextMark mark, Gtk.TextIter where);
4212 public void move_mark_by_name (string name, Gtk.TextIter where);
4213 public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter? override_location, bool default_editable);
4214 public void place_cursor (Gtk.TextIter where);
4215 public Gdk.Atom register_deserialize_format (string mime_type, owned Gtk.TextBufferDeserializeFunc function);
4216 public Gdk.Atom register_deserialize_tagset (string tagset_name);
4217 public Gdk.Atom register_serialize_format (string mime_type, owned Gtk.TextBufferSerializeFunc function);
4218 public Gdk.Atom register_serialize_tagset (string tagset_name);
4219 public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end);
4220 public void remove_selection_clipboard (Gtk.Clipboard clipboard);
4221 public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
4222 public void select_range (Gtk.TextIter ins, Gtk.TextIter bound);
4223 [CCode (array_length_type = "gsize")]
4224 public uint8[] serialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end);
4225 public void set_modified (bool setting);
4226 public void set_text (string text, int len = -1);
4227 public void unregister_deserialize_format (Gdk.Atom format);
4228 public void unregister_serialize_format (Gdk.Atom format);
4229 public Gtk.TargetList copy_target_list { get; }
4231 public int cursor_position { get; }
4232 public bool has_selection { get; }
4233 public Gtk.TargetList paste_target_list { get; }
4234 public Gtk.TextTagTable tag_table { get; construct; }
4236 public string text { owned get; set; }
4238 public virtual signal void apply_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
4240 public virtual signal void begin_user_action ();
4241 public virtual signal void changed ();
4242 public virtual signal void delete_range (Gtk.TextIter start, Gtk.TextIter end);
4244 public virtual signal void end_user_action ();
4246 public virtual signal void insert_child_anchor (Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
4248 public virtual signal void insert_pixbuf (Gtk.TextIter iter, Gdk.Pixbuf pixbuf);
4249 public virtual signal void insert_text (Gtk.TextIter pos, string new_text, int new_text_length);
4250 public virtual signal void mark_deleted (Gtk.TextMark mark);
4251 public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
4252 public virtual signal void modified_changed ();
4253 public virtual signal void paste_done (Gtk.Clipboard clipboard);
4255 public virtual signal void remove_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
4257 [CCode (cheader_filename = "gtk/gtk.h")]
4258 public class TextChildAnchor : GLib.Object {
4259 public void* segment;
4260 [CCode (has_construct_function = false)]
4261 public TextChildAnchor ();
4262 public bool get_deleted ();
4263 public GLib.List<weak Gtk.Widget> get_widgets ();
4265 [CCode (cheader_filename = "gtk/gtk.h")]
4266 public class TextMark : GLib.Object {
4267 public void* segment;
4268 [CCode (has_construct_function = false)]
4269 public TextMark (string name, bool left_gravity);
4270 public unowned Gtk.TextBuffer get_buffer ();
4271 public bool get_deleted ();
4272 public bool get_left_gravity ();
4273 public unowned string get_name ();
4274 public bool get_visible ();
4275 public void set_visible (bool setting);
4276 public bool left_gravity { get; construct; }
4277 public string name { get; construct; }
4279 [CCode (cheader_filename = "gtk/gtk.h")]
4280 public class TextTag : GLib.Object {
4281 [CCode (has_construct_function = false)]
4282 public TextTag (string name);
4283 public int get_priority ();
4284 public void set_priority (int priority);
4286 public bool accumulative_margin { get; set; }
4288 public string background { set; }
4290 public bool background_full_height { get; set; }
4292 public bool background_full_height_set { get; set; }
4294 public Gdk.Color background_gdk { get; set; }
4296 public bool background_set { get; set; }
4298 public Gtk.TextDirection direction { get; set; }
4300 public bool editable { get; set; }
4302 public bool editable_set { get; set; }
4304 public string family { owned get; set; }
4306 public bool family_set { get; set; }
4308 public string font { owned get; set; }
4310 public Pango.FontDescription font_desc { owned get; set; }
4312 public string foreground { set; }
4314 public Gdk.Color foreground_gdk { get; set; }
4316 public bool foreground_set { get; set; }
4318 public int indent { get; set; }
4320 public bool indent_set { get; set; }
4322 public bool invisible { get; set; }
4324 public bool invisible_set { get; set; }
4326 public Gtk.Justification justification { get; set; }
4328 public bool justification_set { get; set; }
4330 public string language { owned get; set; }
4332 public bool language_set { get; set; }
4334 public int left_margin { get; set; }
4336 public bool left_margin_set { get; set; }
4338 public string name { owned get; construct; }
4340 public string paragraph_background { set; }
4342 public Gdk.Color paragraph_background_gdk { get; set; }
4344 public bool paragraph_background_set { get; set; }
4346 public int pixels_above_lines { get; set; }
4348 public bool pixels_above_lines_set { get; set; }
4350 public int pixels_below_lines { get; set; }
4352 public bool pixels_below_lines_set { get; set; }
4354 public int pixels_inside_wrap { get; set; }
4356 public bool pixels_inside_wrap_set { get; set; }
4358 public int right_margin { get; set; }
4360 public bool right_margin_set { get; set; }
4362 public int rise { get; set; }
4364 public bool rise_set { get; set; }
4366 public double scale { get; set; }
4368 public bool scale_set { get; set; }
4370 public int size { get; set; }
4372 public double size_points { get; set; }
4374 public bool size_set { get; set; }
4376 public Pango.Stretch stretch { get; set; }
4378 public bool stretch_set { get; set; }
4380 public bool strikethrough { get; set; }
4382 public bool strikethrough_set { get; set; }
4384 public Pango.Style style { get; set; }
4386 public bool style_set { get; set; }
4388 public Pango.TabArray tabs { owned get; set; }
4390 public bool tabs_set { get; set; }
4392 public Pango.Underline underline { get; set; }
4394 public bool underline_set { get; set; }
4396 public Pango.Variant variant { get; set; }
4398 public bool variant_set { get; set; }
4400 public int weight { get; set; }
4402 public bool weight_set { get; set; }
4404 public Gtk.WrapMode wrap_mode { get; set; }
4406 public bool wrap_mode_set { get; set; }
4408 public virtual signal bool event (GLib.Object event_object, Gdk.Event event, Gtk.TextIter iter);
4410 [CCode (cheader_filename = "gtk/gtk.h")]
4411 public class TextTagTable : GLib.Object, Gtk.Buildable {
4412 [CCode (has_construct_function = false)]
4413 public TextTagTable ();
4414 public void add (Gtk.TextTag tag);
4415 public void @foreach (Gtk.TextTagTableForeach func);
4416 public int get_size ();
4417 public unowned Gtk.TextTag lookup (string name);
4418 public void remove (Gtk.TextTag tag);
4419 public virtual signal void tag_added (Gtk.TextTag tag);
4420 public virtual signal void tag_changed (Gtk.TextTag tag, bool size_changed);
4421 public virtual signal void tag_removed (Gtk.TextTag tag);
4423 [CCode (cheader_filename = "gtk/gtk.h")]
4424 public class TextView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
4425 [CCode (type = "GtkWidget*", has_construct_function = false)]
4427 public void add_child_at_anchor (Gtk.Widget child, Gtk.TextChildAnchor anchor);
4428 public void add_child_in_window (Gtk.Widget child, Gtk.TextWindowType which_window, int xpos, int ypos);
4429 public bool backward_display_line (Gtk.TextIter iter);
4430 public bool backward_display_line_start (Gtk.TextIter iter);
4431 public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y);
4432 public bool forward_display_line (Gtk.TextIter iter);
4433 public bool forward_display_line_end (Gtk.TextIter iter);
4434 public bool get_accepts_tab ();
4435 public int get_border_window_size (Gtk.TextWindowType type);
4436 public unowned Gtk.TextBuffer get_buffer ();
4437 public void get_cursor_locations (Gtk.TextIter iter, Gdk.Rectangle strong, Gdk.Rectangle @weak);
4438 public bool get_cursor_visible ();
4439 public unowned Gtk.TextAttributes get_default_attributes ();
4440 public bool get_editable ();
4441 public int get_indent ();
4442 public void get_iter_at_location (out Gtk.TextIter iter, int x, int y);
4443 public void get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
4444 public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
4445 public Gtk.Justification get_justification ();
4446 public int get_left_margin ();
4447 public void get_line_at_y (out Gtk.TextIter target_iter, int y, out int line_top);
4448 public void get_line_yrange (Gtk.TextIter iter, out int y, out int height);
4449 public bool get_overwrite ();
4450 public int get_pixels_above_lines ();
4451 public int get_pixels_below_lines ();
4452 public int get_pixels_inside_wrap ();
4453 public int get_right_margin ();
4454 public unowned Pango.TabArray get_tabs ();
4455 public void get_visible_rect (out Gdk.Rectangle visible_rect);
4456 public unowned Gdk.Window get_window (Gtk.TextWindowType win);
4457 public Gtk.TextWindowType get_window_type (Gdk.Window window);
4458 public Gtk.WrapMode get_wrap_mode ();
4459 public bool im_context_filter_keypress (Gdk.EventKey event);
4460 public void move_child (Gtk.Widget child, int xpos, int ypos);
4461 public bool move_mark_onscreen (Gtk.TextMark mark);
4462 public bool move_visually (Gtk.TextIter iter, int count);
4463 public bool place_cursor_onscreen ();
4464 public void reset_im_context ();
4465 public void scroll_mark_onscreen (Gtk.TextMark mark);
4466 public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
4467 public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
4468 public void set_accepts_tab (bool accepts_tab);
4469 public void set_border_window_size (Gtk.TextWindowType type, int size);
4470 public void set_buffer (Gtk.TextBuffer buffer);
4471 public void set_cursor_visible (bool setting);
4472 public void set_editable (bool setting);
4473 public void set_indent (int indent);
4474 public void set_justification (Gtk.Justification justification);
4475 public void set_left_margin (int left_margin);
4476 public void set_overwrite (bool overwrite);
4477 public void set_pixels_above_lines (int pixels_above_lines);
4478 public void set_pixels_below_lines (int pixels_below_lines);
4479 public void set_pixels_inside_wrap (int pixels_inside_wrap);
4480 public void set_right_margin (int right_margin);
4481 public void set_tabs (Pango.TabArray tabs);
4482 public void set_wrap_mode (Gtk.WrapMode wrap_mode);
4483 public bool starts_display_line (Gtk.TextIter iter);
4484 public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y);
4485 [CCode (type = "GtkWidget*", has_construct_function = false)]
4486 public TextView.with_buffer (Gtk.TextBuffer buffer);
4487 public bool accepts_tab { get; set; }
4488 public Gtk.TextBuffer buffer { get; set; }
4489 public bool cursor_visible { get; set; }
4490 public bool editable { get; set; }
4492 public string im_module { owned get; set; }
4493 public int indent { get; set; }
4494 public Gtk.Justification justification { get; set; }
4495 public int left_margin { get; set; }
4496 public bool overwrite { get; set; }
4497 public int pixels_above_lines { get; set; }
4498 public int pixels_below_lines { get; set; }
4499 public int pixels_inside_wrap { get; set; }
4500 public int right_margin { get; set; }
4501 public Pango.TabArray tabs { get; set; }
4502 public Gtk.WrapMode wrap_mode { get; set; }
4503 public virtual signal void backspace ();
4504 public virtual signal void copy_clipboard ();
4505 public virtual signal void cut_clipboard ();
4506 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
4507 public virtual signal void insert_at_cursor (string str);
4508 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
4509 public virtual signal void move_viewport (Gtk.ScrollStep p0, int p1);
4510 public virtual signal void paste_clipboard ();
4511 public virtual signal void populate_popup (Gtk.Menu menu);
4512 public virtual signal void preedit_changed (string p0);
4513 public virtual signal void select_all (bool p0);
4514 public virtual signal void set_anchor ();
4515 public virtual signal void toggle_cursor_visible ();
4516 public virtual signal void toggle_overwrite ();
4519 [CCode (cheader_filename = "gtk/gtk.h")]
4520 public class ThemeEngine {
4522 [CCode (cheader_filename = "gtk/gtk.h")]
4523 public class ThemingEngine : GLib.Object {
4524 [CCode (has_construct_function = false)]
4525 protected ThemingEngine ();
4526 public void @get (Gtk.StateFlags state);
4527 public void get_background_color (Gtk.StateFlags state, Gdk.RGBA color);
4528 public void get_border (Gtk.StateFlags state, Gtk.Border border);
4529 public void get_border_color (Gtk.StateFlags state, Gdk.RGBA color);
4530 public void get_color (Gtk.StateFlags state, Gdk.RGBA color);
4531 public Gtk.TextDirection get_direction ();
4532 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
4533 public Gtk.JunctionSides get_junction_sides ();
4534 public void get_margin (Gtk.StateFlags state, Gtk.Border margin);
4535 public void get_padding (Gtk.StateFlags state, Gtk.Border padding);
4536 public unowned Gtk.WidgetPath get_path ();
4537 public void get_property (string property, Gtk.StateFlags state, GLib.Value value);
4538 public unowned Gdk.Screen get_screen ();
4539 public Gtk.StateFlags get_state ();
4540 public void get_style ();
4541 public void get_style_property (string property_name, GLib.Value value);
4542 public void get_style_valist (void* args);
4543 public void get_valist (Gtk.StateFlags state, void* args);
4544 public bool has_class (string style_class);
4545 public bool has_region (string style_region, Gtk.RegionFlags flags);
4546 public static unowned Gtk.ThemingEngine load (string name);
4547 public bool lookup_color (string color_name, Gdk.RGBA color);
4548 public static void register_property (string name_space, Gtk.StylePropertyParser parse_func, GLib.ParamSpec pspec);
4550 public virtual void render_activity (Cairo.Context cr, double x, double y, double width, double height);
4552 public virtual void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
4554 public virtual void render_background (Cairo.Context cr, double x, double y, double width, double height);
4556 public virtual void render_check (Cairo.Context cr, double x, double y, double width, double height);
4558 public virtual void render_expander (Cairo.Context cr, double x, double y, double width, double height);
4560 public virtual void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
4562 public virtual void render_focus (Cairo.Context cr, double x, double y, double width, double height);
4564 public virtual void render_frame (Cairo.Context cr, double x, double y, double width, double height);
4566 public virtual void render_frame_gap (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side, double xy0_gap, double xy1_gap);
4568 public virtual void render_handle (Cairo.Context cr, double x, double y, double width, double height);
4570 public virtual unowned Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
4572 public virtual void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
4574 public virtual void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
4576 public virtual void render_option (Cairo.Context cr, double x, double y, double width, double height);
4578 public virtual void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
4579 public bool state_is_running (Gtk.StateType state, double progress);
4581 public string name { owned get; construct; }
4583 [CCode (cheader_filename = "gtk/gtk.h")]
4584 public class ToggleAction : Gtk.Action, Gtk.Buildable {
4585 [CCode (has_construct_function = false)]
4586 public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
4587 public bool get_active ();
4588 public bool get_draw_as_radio ();
4589 public void set_active (bool is_active);
4590 public void set_draw_as_radio (bool draw_as_radio);
4591 public bool active { get; set; }
4592 public bool draw_as_radio { get; set; }
4594 public virtual signal void toggled ();
4596 [CCode (cheader_filename = "gtk/gtk.h")]
4597 public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4598 [CCode (type = "GtkWidget*", has_construct_function = false)]
4599 public ToggleButton ();
4600 public bool get_active ();
4601 public bool get_inconsistent ();
4602 public bool get_mode ();
4603 public void set_active (bool is_active);
4604 public void set_inconsistent (bool setting);
4605 public void set_mode (bool draw_indicator);
4606 [CCode (type = "GtkWidget*", has_construct_function = false)]
4607 public ToggleButton.with_label (string label);
4608 [CCode (type = "GtkWidget*", has_construct_function = false)]
4609 public ToggleButton.with_mnemonic (string label);
4610 public bool active { get; set; }
4612 public bool draw_indicator { get; set; }
4613 public bool inconsistent { get; set; }
4615 public virtual signal void toggled ();
4617 [CCode (cheader_filename = "gtk/gtk.h")]
4618 public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4619 [CCode (type = "GtkToolItem*", has_construct_function = false)]
4620 public ToggleToolButton ();
4621 [CCode (type = "GtkToolItem*", has_construct_function = false)]
4622 public ToggleToolButton.from_stock (string stock_id);
4623 public bool get_active ();
4624 public void set_active (bool is_active);
4625 public bool active { get; set; }
4626 public virtual signal void toggled ();
4628 [CCode (cheader_filename = "gtk/gtk.h")]
4629 public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4630 [CCode (type = "GtkToolItem*", has_construct_function = false)]
4631 public ToolButton (Gtk.Widget? icon_widget, string? label);
4632 [CCode (type = "GtkToolItem*", has_construct_function = false)]
4633 public ToolButton.from_stock (string stock_id);
4634 public unowned string get_icon_name ();
4635 public unowned Gtk.Widget get_icon_widget ();
4636 public unowned string get_label ();
4637 public unowned Gtk.Widget get_label_widget ();
4638 public unowned string get_stock_id ();
4639 public bool get_use_underline ();
4640 public void set_icon_name (string icon_name);
4641 public void set_icon_widget (Gtk.Widget icon_widget);
4642 public void set_label (string label);
4643 public void set_label_widget (Gtk.Widget label_widget);
4644 public void set_stock_id (string stock_id);
4645 public void set_use_underline (bool use_underline);
4646 public string icon_name { get; set; }
4647 public Gtk.Widget icon_widget { get; set; }
4648 public string label { get; set; }
4649 public Gtk.Widget label_widget { get; set; }
4650 public string stock_id { get; set; }
4651 public bool use_underline { get; set; }
4652 public virtual signal void clicked ();
4654 [CCode (cheader_filename = "gtk/gtk.h")]
4655 public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4656 [CCode (has_construct_function = false)]
4658 public Pango.EllipsizeMode get_ellipsize_mode ();
4659 public bool get_expand ();
4660 public bool get_homogeneous ();
4661 public Gtk.IconSize get_icon_size ();
4662 public bool get_is_important ();
4663 public Gtk.Orientation get_orientation ();
4664 public unowned Gtk.Widget get_proxy_menu_item (string menu_item_id);
4665 public Gtk.ReliefStyle get_relief_style ();
4666 public float get_text_alignment ();
4667 public Gtk.Orientation get_text_orientation ();
4668 public unowned Gtk.SizeGroup get_text_size_group ();
4669 public Gtk.ToolbarStyle get_toolbar_style ();
4670 public bool get_use_drag_window ();
4671 public bool get_visible_horizontal ();
4672 public bool get_visible_vertical ();
4673 public void rebuild_menu ();
4674 public unowned Gtk.Widget retrieve_proxy_menu_item ();
4675 public void set_expand (bool expand);
4676 public void set_homogeneous (bool homogeneous);
4677 public void set_is_important (bool is_important);
4678 public void set_proxy_menu_item (string menu_item_id, Gtk.Widget menu_item);
4679 public void set_tooltip_markup (string markup);
4680 public void set_tooltip_text (string text);
4681 public void set_use_drag_window (bool use_drag_window);
4682 public void set_visible_horizontal (bool visible_horizontal);
4683 public void set_visible_vertical (bool visible_vertical);
4684 public bool is_important { get; set; }
4685 public bool visible_horizontal { get; set; }
4686 public bool visible_vertical { get; set; }
4687 public virtual signal bool create_menu_proxy ();
4688 public virtual signal void toolbar_reconfigured ();
4690 [CCode (cheader_filename = "gtk/gtk.h")]
4691 public class ToolItemGroup : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
4692 [CCode (type = "GtkWidget*", has_construct_function = false)]
4693 public ToolItemGroup (string label);
4694 public bool get_collapsed ();
4695 public unowned Gtk.ToolItem get_drop_item (int x, int y);
4696 public Pango.EllipsizeMode get_ellipsize ();
4697 public Gtk.ReliefStyle get_header_relief ();
4698 public int get_item_position (Gtk.ToolItem item);
4699 public unowned string get_label ();
4700 public unowned Gtk.Widget get_label_widget ();
4701 public uint get_n_items ();
4702 public unowned Gtk.ToolItem get_nth_item (uint index);
4703 public void insert (Gtk.ToolItem item, int position);
4704 public void set_collapsed (bool collapsed);
4705 public void set_ellipsize (Pango.EllipsizeMode ellipsize);
4706 public void set_header_relief (Gtk.ReliefStyle style);
4707 public void set_item_position (Gtk.ToolItem item, int position);
4708 public void set_label (string label);
4709 public void set_label_widget (Gtk.Widget label_widget);
4710 public bool collapsed { get; set; }
4711 public Pango.EllipsizeMode ellipsize { get; set; }
4712 public Gtk.ReliefStyle header_relief { get; set; }
4713 public string label { get; set; }
4714 public Gtk.Widget label_widget { get; set; }
4716 [CCode (cheader_filename = "gtk/gtk.h")]
4717 public class ToolPalette : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Scrollable {
4718 [CCode (type = "GtkWidget*", has_construct_function = false)]
4719 public ToolPalette ();
4720 public void add_drag_dest (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.ToolPaletteDragTargets targets, Gdk.DragAction actions);
4721 public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
4722 public static Gtk.TargetEntry get_drag_target_group ();
4723 public static Gtk.TargetEntry get_drag_target_item ();
4724 public unowned Gtk.ToolItemGroup get_drop_group (int x, int y);
4725 public unowned Gtk.ToolItem get_drop_item (int x, int y);
4726 public bool get_exclusive (Gtk.ToolItemGroup group);
4727 public bool get_expand (Gtk.ToolItemGroup group);
4728 public int get_group_position (Gtk.ToolItemGroup group);
4729 public Gtk.IconSize get_icon_size ();
4730 public Gtk.ToolbarStyle get_style ();
4731 public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
4732 public void set_exclusive (Gtk.ToolItemGroup group, bool exclusive);
4733 public void set_expand (Gtk.ToolItemGroup group, bool expand);
4734 public void set_group_position (Gtk.ToolItemGroup group, int position);
4735 public void set_icon_size (Gtk.IconSize icon_size);
4736 public void set_style (Gtk.ToolbarStyle style);
4737 public void unset_icon_size ();
4738 public void unset_style ();
4739 public Gtk.IconSize icon_size { get; set; }
4741 public bool icon_size_set { get; set; }
4743 public Gtk.ToolbarStyle toolbar_style { get; set; }
4745 [CCode (cheader_filename = "gtk/gtk.h")]
4746 public class Toolbar : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell, Gtk.Orientable {
4747 [CCode (type = "GtkWidget*", has_construct_function = false)]
4749 public int get_drop_index (int x, int y);
4750 public int get_item_index (Gtk.ToolItem item);
4751 public int get_n_items ();
4752 public unowned Gtk.ToolItem get_nth_item (int n);
4753 public bool get_show_arrow ();
4754 public void insert (Gtk.ToolItem item, int pos);
4755 public void set_drop_highlight_item (Gtk.ToolItem tool_item, int index_);
4756 public void set_icon_size (Gtk.IconSize icon_size);
4757 public void set_show_arrow (bool show_arrow);
4758 public void set_style (Gtk.ToolbarStyle style);
4759 public void unset_icon_size ();
4760 public void unset_style ();
4761 public int icon_size { get; set; }
4763 public bool icon_size_set { get; set; }
4764 public bool show_arrow { get; set; }
4766 public Gtk.ToolbarStyle toolbar_style { get; set; }
4767 public virtual signal bool focus_home_or_end (bool p0);
4768 public virtual signal void orientation_changed (Gtk.Orientation orientation);
4769 public virtual signal bool popup_context_menu (int x, int y, int button_number);
4770 public virtual signal void style_changed (Gtk.ToolbarStyle style);
4772 [CCode (cheader_filename = "gtk/gtk.h")]
4773 public class Tooltip : GLib.Object {
4774 [CCode (has_construct_function = false)]
4775 protected Tooltip ();
4776 public void set_custom (Gtk.Widget custom_widget);
4777 public void set_icon (Gdk.Pixbuf pixbuf);
4778 public void set_icon_from_gicon (GLib.Icon gicon, Gtk.IconSize size);
4779 public void set_icon_from_icon_name (string icon_name, Gtk.IconSize size);
4780 public void set_icon_from_stock (string stock_id, Gtk.IconSize size);
4781 public void set_markup (string markup);
4782 public void set_text (string text);
4783 public void set_tip_area (Gdk.Rectangle rect);
4784 public static void trigger_tooltip_query (Gdk.Display display);
4786 [CCode (cheader_filename = "gtk/gtk.h")]
4787 public class TreeModelFilter : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource {
4788 [CCode (type = "GtkTreeModel*", has_construct_function = false)]
4789 public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root);
4790 public void clear_cache ();
4791 public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter);
4792 public unowned Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path);
4793 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter);
4794 public unowned Gtk.TreePath convert_path_to_child_path (Gtk.TreePath filter_path);
4795 public unowned Gtk.TreeModel get_model ();
4797 public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column);
4798 public void refilter ();
4799 public void set_modify_func ([CCode (array_length_pos = 0.9)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
4800 public void set_visible_column (int column);
4801 public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
4803 public virtual bool visible (Gtk.TreeModel child_model, Gtk.TreeIter iter);
4805 public Gtk.TreeModel child_model { owned get; construct; }
4807 public Gtk.TreePath virtual_root { owned get; construct; }
4809 [CCode (cheader_filename = "gtk/gtk.h")]
4810 public class TreeModelSort : GLib.Object, Gtk.TreeModel, Gtk.TreeSortable, Gtk.TreeDragSource {
4811 [CCode (has_construct_function = false)]
4812 protected TreeModelSort ();
4813 public void clear_cache ();
4814 public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter);
4815 public unowned Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path);
4816 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter);
4817 public unowned Gtk.TreePath convert_path_to_child_path (Gtk.TreePath sorted_path);
4818 public unowned Gtk.TreeModel get_model ();
4819 public bool iter_is_valid (Gtk.TreeIter iter);
4820 public void reset_default_sort_func ();
4821 [CCode (type = "GtkTreeModel*", has_construct_function = false)]
4822 public TreeModelSort.with_model (Gtk.TreeModel child_model);
4823 public Gtk.TreeModel model { get; construct; }
4827 [CCode (copy_function = "gtk_tree_path_copy", const_cname = "GtkTreePath", type_id = "GTK_TYPE_TREE_PATH", cheader_filename = "gtk/gtk.h")]
4828 public class TreePath {
4829 [CCode (has_construct_function = false)]
4831 public void append_index (int index_);
4832 public int compare (Gtk.TreePath b);
4833 public Gtk.TreePath copy ();
4834 public void down ();
4835 [CCode (has_construct_function = false)]
4836 public TreePath.first ();
4837 [CCode (sentinel = "-1", has_construct_function = false)]
4838 public TreePath.from_indices (...);
4839 [CCode (has_construct_function = false)]
4840 public TreePath.from_string (string path);
4841 public int get_depth ();
4842 [CCode (cname = "gtk_tree_path_get_indices_with_depth")]
4843 public unowned int[] get_indices ();
4844 public bool is_ancestor (Gtk.TreePath descendant);
4845 public bool is_descendant (Gtk.TreePath ancestor);
4846 public void next ();
4847 public void prepend_index (int index_);
4848 public bool prev ();
4849 public unowned string to_string ();
4854 [CCode (copy_function = "gtk_tree_row_reference_copy", type_id = "GTK_TYPE_TREE_ROW_REFERENCE", cheader_filename = "gtk/gtk.h")]
4855 public class TreeRowReference {
4856 [CCode (has_construct_function = false)]
4857 public TreeRowReference (Gtk.TreeModel model, Gtk.TreePath path);
4858 public Gtk.TreeRowReference copy ();
4859 public static void deleted (GLib.Object proxy, Gtk.TreePath path);
4860 public unowned Gtk.TreeModel get_model ();
4861 public Gtk.TreePath get_path ();
4862 public static void inserted (GLib.Object proxy, Gtk.TreePath path);
4863 [CCode (has_construct_function = false)]
4864 public TreeRowReference.proxy (GLib.Object proxy, Gtk.TreeModel model, Gtk.TreePath path);
4865 public static void reordered (GLib.Object proxy, Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order);
4866 public bool valid ();
4868 [CCode (cheader_filename = "gtk/gtk.h")]
4869 public class TreeSelection : GLib.Object {
4870 [CCode (has_construct_function = false)]
4871 protected TreeSelection ();
4872 public int count_selected_rows ();
4873 public Gtk.SelectionMode get_mode ();
4874 public unowned Gtk.TreeSelectionFunc get_select_function ();
4875 public bool get_selected (out unowned Gtk.TreeModel model, out Gtk.TreeIter iter);
4876 public GLib.List<Gtk.TreePath> get_selected_rows (out unowned Gtk.TreeModel model);
4877 public unowned Gtk.TreeView get_tree_view ();
4878 public void* get_user_data ();
4879 public bool iter_is_selected (Gtk.TreeIter iter);
4880 public bool path_is_selected (Gtk.TreePath path);
4881 public void select_all ();
4882 public void select_iter (Gtk.TreeIter iter);
4883 public void select_path (Gtk.TreePath path);
4884 public void select_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
4885 public void selected_foreach (Gtk.TreeSelectionForeachFunc func);
4886 public void set_mode (Gtk.SelectionMode type);
4887 public void set_select_function (owned Gtk.TreeSelectionFunc func);
4888 public void unselect_all ();
4889 public void unselect_iter (Gtk.TreeIter iter);
4890 public void unselect_path (Gtk.TreePath path);
4891 public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
4892 public virtual signal void changed ();
4894 [CCode (cheader_filename = "gtk/gtk.h")]
4895 public class TreeStore : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable, Gtk.Buildable {
4896 [CCode (sentinel = "", has_construct_function = false)]
4897 public TreeStore (int n_columns, ...);
4898 public void append (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
4899 public void clear ();
4900 public void insert (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position);
4901 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
4902 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
4903 [CCode (sentinel = "-1")]
4904 public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...);
4905 public void insert_with_valuesv (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, int columns, GLib.Value[] values);
4906 public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant);
4907 public int iter_depth (Gtk.TreeIter iter);
4908 public bool iter_is_valid (Gtk.TreeIter iter);
4909 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
4910 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
4911 [CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
4912 public TreeStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
4913 public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
4914 public bool remove (Gtk.TreeIter iter);
4915 public void reorder (Gtk.TreeIter? parent, int new_order);
4916 [CCode (sentinel = "-1")]
4917 public void @set (Gtk.TreeIter iter, ...);
4918 public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
4919 public void set_valist (Gtk.TreeIter iter, void* var_args);
4920 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
4921 public void set_valuesv (Gtk.TreeIter iter, int columns, GLib.Value[] values);
4922 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
4924 [CCode (cheader_filename = "gtk/gtk.h")]
4925 public class TreeView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
4926 [CCode (type = "GtkWidget*", has_construct_function = false)]
4928 public int append_column (Gtk.TreeViewColumn column);
4929 public void collapse_all ();
4930 public bool collapse_row (Gtk.TreePath path);
4931 public void columns_autosize ();
4932 public void convert_bin_window_to_tree_coords (int bx, int by, out int tx, out int ty);
4933 public void convert_bin_window_to_widget_coords (int bx, int by, out int wx, out int wy);
4934 public void convert_tree_to_bin_window_coords (int tx, int ty, out int bx, out int by);
4935 public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy);
4936 public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
4937 public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty);
4938 public unowned Cairo.Surface create_row_drag_icon (Gtk.TreePath path);
4939 public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
4940 public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
4941 public void expand_all ();
4942 public bool expand_row (Gtk.TreePath path, bool open_all);
4943 public void expand_to_path (Gtk.TreePath path);
4944 public void get_background_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
4945 public unowned Gdk.Window get_bin_window ();
4946 public void get_cell_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
4947 public unowned Gtk.TreeViewColumn get_column (int n);
4948 public GLib.List<weak Gtk.TreeViewColumn> get_columns ();
4949 public void get_cursor (out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? focus_column);
4950 public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
4951 public void get_drag_dest_row (out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
4952 public bool get_enable_search ();
4953 public bool get_enable_tree_lines ();
4954 public unowned Gtk.TreeViewColumn get_expander_column ();
4955 public bool get_fixed_height_mode ();
4956 public Gtk.TreeViewGridLines get_grid_lines ();
4957 public bool get_headers_clickable ();
4958 public bool get_headers_visible ();
4959 public bool get_hover_expand ();
4960 public bool get_hover_selection ();
4961 public int get_level_indentation ();
4962 public unowned Gtk.TreeModel get_model ();
4963 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);
4964 public bool get_reorderable ();
4965 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
4966 public bool get_rubber_banding ();
4967 public bool get_rules_hint ();
4968 public int get_search_column ();
4969 public unowned Gtk.Entry get_search_entry ();
4970 public unowned Gtk.TreeViewSearchEqualFunc get_search_equal_func ();
4971 public unowned Gtk.TreeViewSearchPositionFunc get_search_position_func ();
4972 public unowned Gtk.TreeSelection get_selection ();
4973 public bool get_show_expanders ();
4974 public int get_tooltip_column ();
4975 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);
4976 public bool get_visible_range (out unowned Gtk.TreePath start_path, out unowned Gtk.TreePath end_path);
4977 public void get_visible_rect (out Gdk.Rectangle visible_rect);
4978 public int insert_column (Gtk.TreeViewColumn column, int position);
4979 public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...);
4980 public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func);
4981 public bool is_blank_at_pos (int x, int y, out unowned Gtk.TreePath path, out unowned Gtk.TreeViewColumn column, int cell_x, int cell_y);
4982 [CCode (cname = "gtk_tree_view_row_expanded")]
4983 public bool is_row_expanded (Gtk.TreePath path);
4984 public bool is_rubber_banding_active ();
4985 public void map_expanded_rows (Gtk.TreeViewMappingFunc func, void* data);
4986 public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn base_column);
4987 public int remove_column (Gtk.TreeViewColumn column);
4988 public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align);
4989 public void scroll_to_point (int tree_x, int tree_y);
4990 public void set_column_drag_function (owned Gtk.TreeViewColumnDropFunc func);
4991 public void set_cursor (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, bool start_editing);
4992 public void set_cursor_on_cell (Gtk.TreePath path, Gtk.TreeViewColumn focus_column, Gtk.CellRenderer focus_cell, bool start_editing);
4993 public void set_destroy_count_func (owned Gtk.TreeDestroyCountFunc func);
4994 public void set_drag_dest_row (Gtk.TreePath? path, Gtk.TreeViewDropPosition pos);
4995 public void set_enable_search (bool enable_search);
4996 public void set_enable_tree_lines (bool enabled);
4997 public void set_expander_column (Gtk.TreeViewColumn column);
4998 public void set_fixed_height_mode (bool enable);
4999 public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
5000 public void set_headers_clickable (bool setting);
5001 public void set_headers_visible (bool headers_visible);
5002 public void set_hover_expand (bool expand);
5003 public void set_hover_selection (bool hover);
5004 public void set_level_indentation (int indentation);
5005 public void set_model (Gtk.TreeModel? model);
5006 public void set_reorderable (bool reorderable);
5007 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc func);
5008 public void set_rubber_banding (bool enable);
5009 public void set_rules_hint (bool setting);
5010 public void set_search_column (int column);
5011 public void set_search_entry (Gtk.Entry entry);
5012 public void set_search_equal_func (owned Gtk.TreeViewSearchEqualFunc search_equal_func);
5013 public void set_search_position_func (owned Gtk.TreeViewSearchPositionFunc func);
5014 public void set_show_expanders (bool enabled);
5015 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.TreeViewColumn column, Gtk.CellRenderer cell);
5016 public void set_tooltip_column (int column);
5017 public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
5018 public void unset_rows_drag_dest ();
5019 public void unset_rows_drag_source ();
5020 [CCode (type = "GtkWidget*", has_construct_function = false)]
5021 public TreeView.with_model (Gtk.TreeModel model);
5023 public Gtk.TreeViewGridLines enable_grid_lines { get; set; }
5024 public bool enable_search { get; set; }
5025 public bool enable_tree_lines { get; set; }
5026 public Gtk.TreeViewColumn expander_column { get; set; }
5027 public bool fixed_height_mode { get; set; }
5028 public bool headers_clickable { get; set; }
5029 public bool headers_visible { get; set; }
5030 public bool hover_expand { get; set; }
5031 public bool hover_selection { get; set; }
5032 public int level_indentation { get; set; }
5033 public Gtk.TreeModel model { get; set; }
5034 public bool reorderable { get; set; }
5035 public bool rubber_banding { get; set; }
5036 public bool rules_hint { get; set; }
5037 public int search_column { get; set; }
5038 public bool show_expanders { get; set; }
5039 public int tooltip_column { get; set; }
5040 public virtual signal void columns_changed ();
5041 public virtual signal void cursor_changed ();
5042 public virtual signal bool expand_collapse_cursor_row (bool logical, bool expand, bool open_all);
5043 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
5045 public virtual signal void row_activated (Gtk.TreePath path, Gtk.TreeViewColumn column);
5046 public virtual signal void row_collapsed (Gtk.TreeIter iter, Gtk.TreePath path);
5047 public virtual signal void row_expanded (Gtk.TreeIter iter, Gtk.TreePath path);
5048 public virtual signal bool select_all ();
5049 public virtual signal bool select_cursor_parent ();
5050 public virtual signal bool select_cursor_row (bool start_editing);
5051 public virtual signal bool start_interactive_search ();
5052 public virtual signal bool test_collapse_row (Gtk.TreeIter iter, Gtk.TreePath path);
5053 public virtual signal bool test_expand_row (Gtk.TreeIter iter, Gtk.TreePath path);
5054 public virtual signal bool toggle_cursor_row ();
5055 public virtual signal bool unselect_all ();
5057 [CCode (cheader_filename = "gtk/gtk.h")]
5058 public class TreeViewColumn : GLib.InitiallyUnowned, Gtk.CellLayout, Gtk.Buildable {
5059 [CCode (has_construct_function = false)]
5060 public TreeViewColumn ();
5061 public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int x_offset, out int width);
5062 public void cell_get_size (out Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height);
5063 public bool cell_is_visible ();
5064 public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
5065 public void focus_cell (Gtk.CellRenderer cell);
5066 public float get_alignment ();
5067 public unowned Gtk.Widget get_button ();
5068 public bool get_clickable ();
5069 public bool get_expand ();
5070 public int get_fixed_width ();
5071 public int get_max_width ();
5072 public int get_min_width ();
5073 public bool get_reorderable ();
5074 public bool get_resizable ();
5075 public Gtk.TreeViewColumnSizing get_sizing ();
5076 public int get_sort_column_id ();
5077 public bool get_sort_indicator ();
5078 public Gtk.SortType get_sort_order ();
5079 public int get_spacing ();
5080 public unowned string get_title ();
5081 public unowned Gtk.Widget get_tree_view ();
5082 public bool get_visible ();
5083 public unowned Gtk.Widget get_widget ();
5084 public int get_width ();
5085 public void queue_resize ();
5086 public void set_alignment (float xalign);
5087 public void set_attributes (Gtk.CellRenderer cell_renderer, ...);
5088 public void set_clickable (bool clickable);
5089 public void set_expand (bool expand);
5090 public void set_fixed_width (int fixed_width);
5091 public void set_max_width (int max_width);
5092 public void set_min_width (int min_width);
5093 public void set_reorderable (bool reorderable);
5094 public void set_resizable (bool resizable);
5095 public void set_sizing (Gtk.TreeViewColumnSizing type);
5096 public void set_sort_column_id (int sort_column_id);
5097 public void set_sort_indicator (bool setting);
5098 public void set_sort_order (Gtk.SortType order);
5099 public void set_spacing (int spacing);
5100 public void set_title (string title);
5101 public void set_visible (bool visible);
5102 public void set_widget (Gtk.Widget widget);
5103 [CCode (has_construct_function = false)]
5104 public TreeViewColumn.with_area (Gtk.CellArea area);
5105 [CCode (has_construct_function = false)]
5106 public TreeViewColumn.with_attributes (string? title, Gtk.CellRenderer cell, ...);
5107 public float alignment { get; set; }
5109 public Gtk.CellArea cell_area { owned get; construct; }
5110 public bool clickable { get; set; }
5111 public bool expand { get; set; }
5112 public int fixed_width { get; set; }
5113 public int max_width { get; set; }
5114 public int min_width { get; set; }
5115 public bool reorderable { get; set; }
5116 public bool resizable { get; set; }
5117 public Gtk.TreeViewColumnSizing sizing { get; set; }
5118 public int sort_column_id { get; set; }
5119 public bool sort_indicator { get; set; }
5120 public Gtk.SortType sort_order { get; set; }
5121 public int spacing { get; set; }
5122 public string title { get; set; }
5123 public bool visible { get; set; }
5124 public Gtk.Widget widget { get; set; }
5125 public int width { get; }
5127 public virtual signal void clicked ();
5129 [CCode (cheader_filename = "gtk/gtk.h")]
5130 public class UIManager : GLib.Object, Gtk.Buildable {
5131 [CCode (has_construct_function = false)]
5132 public UIManager ();
5133 public void add_ui (uint merge_id, string path, string name, string action, Gtk.UIManagerItemType type, bool top);
5134 public uint add_ui_from_file (string filename) throws GLib.Error;
5135 public uint add_ui_from_string (string buffer, ssize_t length) throws GLib.Error;
5136 public void ensure_update ();
5137 public unowned Gtk.AccelGroup get_accel_group ();
5138 public virtual unowned Gtk.Action get_action (string path);
5139 public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
5140 public bool get_add_tearoffs ();
5141 public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
5142 public unowned string get_ui ();
5143 public virtual unowned Gtk.Widget get_widget (string path);
5144 public void insert_action_group (Gtk.ActionGroup action_group, int pos);
5145 public uint new_merge_id ();
5146 public void remove_action_group (Gtk.ActionGroup action_group);
5147 public void remove_ui (uint merge_id);
5148 public void set_add_tearoffs (bool add_tearoffs);
5149 public bool add_tearoffs { get; set; }
5150 public string ui { get; }
5151 public virtual signal void actions_changed ();
5152 public virtual signal void add_widget (Gtk.Widget widget);
5153 public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy);
5154 public virtual signal void disconnect_proxy (Gtk.Action action, Gtk.Widget proxy);
5155 public virtual signal void post_activate (Gtk.Action action);
5156 public virtual signal void pre_activate (Gtk.Action action);
5158 [CCode (cheader_filename = "gtk/gtk.h")]
5159 public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5160 [CCode (type = "GtkWidget*", has_construct_function = false)]
5161 public VBox (bool homogeneous, int spacing);
5163 [CCode (cheader_filename = "gtk/gtk.h")]
5164 public class VButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5165 [CCode (type = "GtkWidget*", has_construct_function = false)]
5166 public VButtonBox ();
5168 [CCode (cheader_filename = "gtk/gtk.h")]
5169 public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5170 [CCode (type = "GtkWidget*", has_construct_function = false)]
5173 [CCode (cheader_filename = "gtk/gtk.h")]
5174 public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5175 [CCode (type = "GtkWidget*", has_construct_function = false)]
5176 public VScale (Gtk.Adjustment? adjustment);
5177 [CCode (type = "GtkWidget*", has_construct_function = false)]
5178 public VScale.with_range (double min, double max, double step);
5180 [CCode (cheader_filename = "gtk/gtk.h")]
5181 public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5182 [CCode (type = "GtkWidget*", has_construct_function = false)]
5183 public VScrollbar (Gtk.Adjustment? adjustment);
5185 [CCode (cheader_filename = "gtk/gtk.h")]
5186 public class VSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5187 [CCode (type = "GtkWidget*", has_construct_function = false)]
5188 public VSeparator ();
5190 [CCode (cheader_filename = "gtk/gtk.h")]
5191 public class Viewport : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
5192 [CCode (type = "GtkWidget*", has_construct_function = false)]
5193 public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
5194 public unowned Gdk.Window get_bin_window ();
5195 public unowned Gtk.Adjustment get_hadjustment ();
5196 public Gtk.ShadowType get_shadow_type ();
5197 public unowned Gtk.Adjustment get_vadjustment ();
5198 public unowned Gdk.Window get_view_window ();
5199 public void set_hadjustment (Gtk.Adjustment adjustment);
5200 public void set_shadow_type (Gtk.ShadowType type);
5201 public void set_vadjustment (Gtk.Adjustment adjustment);
5202 public Gtk.ShadowType shadow_type { get; set; }
5204 [CCode (cheader_filename = "gtk/gtk.h")]
5205 public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Orientable {
5206 [CCode (type = "GtkWidget*", has_construct_function = false)]
5207 public VolumeButton ();
5209 public bool use_symbolic { get; set; }
5211 [CCode (cheader_filename = "gtk/gtk.h")]
5212 public class Widget : GLib.InitiallyUnowned, Atk.Implementor, Gtk.Buildable {
5213 [CCode (has_new_function = false, construct_function = "gtk_widget_new")]
5214 public Widget (...);
5215 public bool activate ();
5216 public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
5217 public void add_device_events (Gdk.Device device, Gdk.EventMask events);
5218 public void add_events (int events);
5219 public void add_mnemonic_label (Gtk.Widget label);
5221 public virtual void adjust_size_allocation (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size, ref int allocated_pos, ref int allocated_size);
5223 public virtual void adjust_size_request (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size);
5224 public bool child_focus (Gtk.DirectionType direction);
5225 public void class_path (out uint path_length, out unowned string path, out unowned string path_reversed);
5226 public virtual void compute_expand (Gtk.Orientation orientation);
5227 public Pango.Context create_pango_context ();
5228 public Pango.Layout create_pango_layout (string? text);
5229 public void destroyed (out unowned Gtk.Widget widget_pointer);
5230 public bool device_is_shadowed (Gdk.Device device);
5232 public virtual void dispatch_child_properties_changed (uint n_pspecs, out unowned GLib.ParamSpec pspecs);
5233 public void ensure_style ();
5234 public void error_bell ();
5235 [CCode (cname = "gtk_widget_class_find_style_property")]
5236 public class unowned GLib.ParamSpec find_style_property (string property_name);
5237 public void freeze_child_notify ();
5238 public virtual unowned Atk.Object get_accessible ();
5239 public int get_allocated_height ();
5240 public int get_allocated_width ();
5241 public void get_allocation (out Gtk.Allocation allocation);
5242 public unowned Gtk.Widget get_ancestor (GLib.Type widget_type);
5243 public bool get_app_paintable ();
5244 public bool get_can_default ();
5245 public bool get_can_focus ();
5246 public bool get_child_visible ();
5247 public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
5248 public unowned string get_composite_name ();
5249 public static Gtk.TextDirection get_default_direction ();
5250 public static unowned Gtk.Style get_default_style ();
5251 public bool get_device_enabled (Gdk.Device device);
5252 public Gdk.EventMask get_device_events (Gdk.Device device);
5253 public Gtk.TextDirection get_direction ();
5254 public unowned Gdk.Display get_display ();
5255 public bool get_double_buffered ();
5256 public int get_events ();
5257 public Gtk.Align get_halign ();
5258 public bool get_has_tooltip ();
5259 public bool get_has_window ();
5260 public bool get_hexpand ();
5261 public bool get_hexpand_set ();
5262 public bool get_mapped ();
5263 public int get_margin_bottom ();
5264 public int get_margin_left ();
5265 public int get_margin_right ();
5266 public int get_margin_top ();
5267 public unowned Gtk.RcStyle get_modifier_style ();
5268 public bool get_no_show_all ();
5269 public unowned Pango.Context get_pango_context ();
5270 public unowned Gtk.Widget get_parent ();
5271 public unowned Gdk.Window get_parent_window ();
5272 public unowned Gtk.WidgetPath get_path ();
5273 public void get_pointer (out int x, out int y);
5274 public virtual void get_preferred_height (out int minimum_height, out int natural_height);
5275 public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
5276 public void get_preferred_size (out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
5277 public virtual void get_preferred_width (out int minimum_width, int natural_width);
5278 public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
5279 public bool get_realized ();
5280 public bool get_receives_default ();
5281 public virtual Gtk.SizeRequestMode get_request_mode ();
5282 public void get_requisition (Gtk.Requisition requisition);
5283 public unowned Gdk.Window get_root_window ();
5284 public unowned Gdk.Screen get_screen ();
5285 public bool get_sensitive ();
5286 public unowned Gtk.Settings get_settings ();
5287 public void get_size_request (out int width, out int height);
5288 public Gtk.StateType get_state ();
5289 public Gtk.StateFlags get_state_flags ();
5290 public unowned Gtk.Style get_style ();
5291 public unowned Gtk.StyleContext get_style_context ();
5292 public bool get_support_multidevice ();
5293 public unowned string get_tooltip_markup ();
5294 public unowned string get_tooltip_text ();
5295 public unowned Gtk.Window get_tooltip_window ();
5296 public unowned Gtk.Widget get_toplevel ();
5297 public Gtk.Align get_valign ();
5298 public bool get_vexpand ();
5299 public bool get_vexpand_set ();
5300 public bool get_visible ();
5301 public unowned Gdk.Visual get_visual ();
5302 public unowned Gdk.Window get_window ();
5303 public void grab_default ();
5304 public bool has_rc_style ();
5305 public bool has_screen ();
5306 public bool hide_on_delete ();
5307 public bool in_destruction ();
5308 public void input_shape_combine_region (Cairo.Region region);
5309 [CCode (cname = "gtk_widget_class_install_style_property")]
5310 public class void install_style_property (GLib.ParamSpec pspec);
5311 [CCode (cname = "gtk_widget_class_install_style_property_parser")]
5312 public class void install_style_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
5313 public bool intersect (Gdk.Rectangle area, Gdk.Rectangle? intersection);
5314 public bool is_ancestor (Gtk.Widget ancestor);
5315 public bool is_composited ();
5316 public bool is_sensitive ();
5317 public bool is_toplevel ();
5318 public GLib.List<GLib.Closure> list_accel_closures ();
5319 public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
5320 [CCode (cname = "gtk_widget_class_list_style_properties")]
5321 public class unowned GLib.ParamSpec list_style_properties (uint n_properties);
5322 public void modify_base (Gtk.StateType state, Gdk.Color? color);
5323 public void modify_bg (Gtk.StateType state, Gdk.Color? color);
5324 public void modify_cursor (Gdk.Color? primary, Gdk.Color? secondary);
5325 public void modify_fg (Gtk.StateType state, Gdk.Color? color);
5326 public void modify_font (Pango.FontDescription? font_desc);
5327 public void modify_style (Gtk.RcStyle style);
5328 public void modify_text (Gtk.StateType state, Gdk.Color? color);
5329 public void override_background_color (Gtk.StateFlags state, Gdk.RGBA color);
5330 public void override_color (Gtk.StateFlags state, Gdk.RGBA color);
5331 public void override_cursor (Gdk.RGBA cursor, Gdk.RGBA secondary_cursor);
5332 public void override_font (Pango.FontDescription font_desc);
5333 public void override_symbolic_color (string name, Gdk.RGBA color);
5334 public void path (out uint path_length, out unowned string path, out unowned string path_reversed);
5335 public static void pop_composite_child ();
5336 public static void push_composite_child ();
5337 public void queue_compute_expand ();
5338 public void queue_draw ();
5339 public void queue_draw_area (int x, int y, int width, int height);
5340 public void queue_draw_region (Cairo.Region region);
5341 public void queue_resize ();
5342 public void queue_resize_no_redraw ();
5343 public unowned Cairo.Region region_intersect (Cairo.Region region);
5344 public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);
5345 public void remove_mnemonic_label (Gtk.Widget label);
5346 public Gdk.Pixbuf render_icon (string stock_id, Gtk.IconSize size, string? detail);
5347 public unowned Gdk.Pixbuf render_icon_pixbuf (string stock_id, Gtk.IconSize size);
5348 public void reparent (Gtk.Widget new_parent);
5349 public void reset_rc_styles ();
5350 public void reset_style ();
5351 public int send_expose (Gdk.Event event);
5352 public bool send_focus_change (Gdk.Event event);
5353 public void set_accel_path (string accel_path, Gtk.AccelGroup accel_group);
5354 public void set_allocation (Gtk.Allocation allocation);
5355 public void set_app_paintable (bool app_paintable);
5356 public void set_can_default (bool can_default);
5357 public void set_can_focus (bool can_focus);
5358 public void set_child_visible (bool is_visible);
5359 public void set_composite_name (string name);
5360 public static void set_default_direction (Gtk.TextDirection dir);
5361 public void set_device_enabled (Gdk.Device device, bool enabled);
5362 public void set_device_events (Gdk.Device device, Gdk.EventMask events);
5363 public void set_direction (Gtk.TextDirection dir);
5364 public void set_double_buffered (bool double_buffered);
5365 public void set_events (int events);
5366 public void set_halign (Gtk.Align align);
5367 public void set_has_tooltip (bool has_tooltip);
5368 public void set_has_window (bool has_window);
5369 public void set_hexpand (bool expand);
5370 public void set_hexpand_set (bool @set);
5371 public void set_mapped (bool mapped);
5372 public void set_margin_bottom (int margin);
5373 public void set_margin_left (int margin);
5374 public void set_margin_right (int margin);
5375 public void set_margin_top (int margin);
5376 public void set_no_show_all (bool no_show_all);
5377 public void set_parent (Gtk.Widget parent);
5378 public void set_parent_window (Gdk.Window parent_window);
5379 public void set_realized (bool realized);
5380 public void set_receives_default (bool receives_default);
5381 public void set_redraw_on_allocate (bool redraw_on_allocate);
5382 public void set_sensitive (bool sensitive);
5383 public void set_size_request (int width, int height);
5384 public void set_state (Gtk.StateType state);
5385 public void set_state_flags (Gtk.StateFlags flags, bool clear);
5386 public void set_style (Gtk.Style? style);
5387 public void set_support_multidevice (bool support_multidevice);
5388 public void set_tooltip_markup (string markup);
5389 public void set_tooltip_text (string text);
5390 public void set_tooltip_window (Gtk.Window custom_window);
5391 public void set_valign (Gtk.Align align);
5392 public void set_vexpand (bool expand);
5393 public void set_vexpand_set (bool @set);
5394 public void set_visible (bool visible);
5395 public void set_visual (Gdk.Visual visual);
5396 public void set_window (Gdk.Window window);
5397 public void shape_combine_region (Cairo.Region region);
5398 public virtual void show_all ();
5399 public void show_now ();
5400 public void style_attach ();
5401 public void style_get (...);
5402 public void style_get_property (string property_name, out GLib.Value value);
5403 public void style_get_valist (string first_property_name, void* var_args);
5404 public void thaw_child_notify ();
5405 public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);
5406 public void trigger_tooltip_query ();
5407 public void unparent ();
5408 public void unset_state_flags (Gtk.StateFlags flags);
5409 public bool app_paintable { get; set; }
5410 public bool can_default { get; set; }
5412 public bool can_focus { get; set; }
5414 public bool composite_child { get; }
5415 public bool double_buffered { get; set; }
5416 public Gdk.EventMask events { get; set; }
5418 public bool expand { get; set; }
5419 public Gtk.Align halign { get; set; }
5421 public bool has_default { get; set; }
5423 public bool has_focus { get; set; }
5424 public bool has_tooltip { get; set; }
5426 public int height_request { get; set; }
5427 public bool hexpand { get; set; }
5428 public bool hexpand_set { get; set; }
5430 public bool is_focus { get; set; }
5432 public int margin { get; set; }
5433 public int margin_bottom { get; set; }
5434 public int margin_left { get; set; }
5435 public int margin_right { get; set; }
5436 public int margin_top { get; set; }
5437 public string name { get; set; }
5438 public bool no_show_all { get; set; }
5439 public Gtk.Container parent { get; set; }
5440 public bool receives_default { get; set; }
5441 public bool sensitive { get; set; }
5442 public Gtk.Style style { get; set; }
5443 public string tooltip_markup { get; set; }
5444 public string tooltip_text { get; set; }
5445 public Gtk.Align valign { get; set; }
5446 public bool vexpand { get; set; }
5447 public bool vexpand_set { get; set; }
5448 public bool visible { get; set; }
5450 public int width_request { get; set; }
5451 public virtual signal void accel_closures_changed ();
5452 public virtual signal bool button_press_event (Gdk.EventButton event);
5453 public virtual signal bool button_release_event (Gdk.EventButton event);
5455 public virtual signal bool can_activate_accel (uint signal_id);
5457 public virtual signal void child_notify (GLib.ParamSpec pspec);
5458 public virtual signal void composited_changed ();
5459 public virtual signal bool configure_event (Gdk.EventConfigure event);
5460 public virtual signal bool damage_event (Gdk.Event event);
5461 public virtual signal bool delete_event (Gdk.Event event);
5463 public virtual signal void destroy ();
5464 public virtual signal bool destroy_event (Gdk.Event event);
5465 public virtual signal void direction_changed (Gtk.TextDirection previous_direction);
5466 public virtual signal void drag_begin (Gdk.DragContext context);
5467 public virtual signal void drag_data_delete (Gdk.DragContext context);
5468 public virtual signal void drag_data_get (Gdk.DragContext context, Gtk.SelectionData selection_data, uint info, uint time_);
5469 public virtual signal void drag_data_received (Gdk.DragContext context, int x, int y, Gtk.SelectionData selection_data, uint info, uint time_);
5470 public virtual signal bool drag_drop (Gdk.DragContext context, int x, int y, uint time_);
5471 public virtual signal void drag_end (Gdk.DragContext context);
5472 public virtual signal bool drag_failed (Gdk.DragContext context, Gtk.DragResult result);
5473 public virtual signal void drag_leave (Gdk.DragContext context, uint time_);
5474 public virtual signal bool drag_motion (Gdk.DragContext context, int x, int y, uint time_);
5476 public virtual signal bool draw (Cairo.Context cr);
5477 public virtual signal bool enter_notify_event (Gdk.EventCrossing event);
5479 public virtual signal bool event (Gdk.Event event);
5480 public virtual signal void event_after (Gdk.Event p0);
5481 public virtual signal bool focus (Gtk.DirectionType direction);
5482 public virtual signal bool focus_in_event (Gdk.EventFocus event);
5483 public virtual signal bool focus_out_event (Gdk.EventFocus event);
5484 public virtual signal bool grab_broken_event (Gdk.Event event);
5486 public virtual signal void grab_focus ();
5487 public virtual signal void grab_notify (bool was_grabbed);
5489 public virtual signal void hide ();
5490 public virtual signal void hierarchy_changed (Gtk.Widget? previous_toplevel);
5491 public virtual signal bool key_press_event (Gdk.EventKey event);
5492 public virtual signal bool key_release_event (Gdk.EventKey event);
5494 public virtual signal bool keynav_failed (Gtk.DirectionType direction);
5495 public virtual signal bool leave_notify_event (Gdk.EventCrossing event);
5497 public virtual signal void map ();
5498 public virtual signal bool map_event (Gdk.Event event);
5500 public virtual signal bool mnemonic_activate (bool group_cycling);
5501 public virtual signal bool motion_notify_event (Gdk.EventMotion event);
5502 public virtual signal void move_focus (Gtk.DirectionType direction);
5503 public virtual signal void parent_set (Gtk.Widget? previous_parent);
5504 public virtual signal bool popup_menu ();
5505 public virtual signal bool property_notify_event (Gdk.EventProperty event);
5506 public virtual signal bool proximity_in_event (Gdk.EventProximity event);
5507 public virtual signal bool proximity_out_event (Gdk.EventProximity event);
5508 public virtual signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
5510 public virtual signal void realize ();
5511 public virtual signal void screen_changed (Gdk.Screen previous_screen);
5512 public virtual signal bool scroll_event (Gdk.EventScroll event);
5513 public virtual signal bool selection_clear_event (Gdk.EventSelection event);
5514 public virtual signal void selection_get (Gtk.SelectionData selection_data, uint info, uint time_);
5515 public virtual signal bool selection_notify_event (Gdk.EventSelection event);
5516 public virtual signal void selection_received (Gtk.SelectionData selection_data, uint time_);
5517 public virtual signal bool selection_request_event (Gdk.EventSelection event);
5519 public virtual signal void show ();
5520 public virtual signal bool show_help (Gtk.WidgetHelpType help_type);
5522 public virtual signal void size_allocate (Gdk.Rectangle allocation);
5523 public virtual signal void state_changed (Gtk.StateType previous_state);
5524 public virtual signal void state_flags_changed (Gtk.StateFlags previous_state_flags);
5525 public virtual signal void style_set (Gtk.Style? previous_style);
5526 public virtual signal void style_updated ();
5528 public virtual signal void unmap ();
5529 public virtual signal bool unmap_event (Gdk.Event event);
5531 public virtual signal void unrealize ();
5532 public virtual signal bool visibility_notify_event (Gdk.Event event);
5533 public virtual signal bool window_state_event (Gdk.EventWindowState event);
5536 [CCode (cheader_filename = "gtk/gtk.h")]
5537 public class WidgetAuxInfo {
5540 public weak Gtk.Border margin;
5545 [CCode (copy_function = "gtk_widget_path_copy", type_id = "GTK_TYPE_WIDGET_PATH", cheader_filename = "gtk/gtk.h")]
5546 public class WidgetPath {
5547 [CCode (has_construct_function = false)]
5548 public WidgetPath ();
5549 public int append_type (GLib.Type type);
5550 public unowned Gtk.WidgetPath copy ();
5551 public GLib.Type get_object_type ();
5552 public bool has_parent (GLib.Type type);
5553 public bool is_type (GLib.Type type);
5554 public void iter_add_class (int pos, string name);
5555 public void iter_add_region (int pos, string name, Gtk.RegionFlags flags);
5556 public void iter_clear_classes (int pos);
5557 public void iter_clear_regions (int pos);
5558 public unowned string iter_get_name (int pos);
5559 public GLib.Type iter_get_object_type (int pos);
5560 public bool iter_has_class (int pos, string name);
5561 public bool iter_has_name (int pos, string name);
5562 public bool iter_has_qclass (int pos, GLib.Quark qname);
5563 public bool iter_has_qname (int pos, GLib.Quark qname);
5564 public bool iter_has_qregion (int pos, GLib.Quark qname, Gtk.RegionFlags flags);
5565 public bool iter_has_region (int pos, string name, Gtk.RegionFlags flags);
5566 public unowned GLib.SList iter_list_classes (int pos);
5567 public unowned GLib.SList iter_list_regions (int pos);
5568 public void iter_remove_class (int pos, string name);
5569 public void iter_remove_region (int pos, string name);
5570 public void iter_set_name (int pos, string name);
5571 public void iter_set_object_type (int pos, GLib.Type type);
5572 public int length ();
5573 public void prepend_type (GLib.Type type);
5575 [CCode (cheader_filename = "gtk/gtk.h")]
5576 public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
5577 [CCode (type = "GtkWidget*", has_construct_function = false)]
5578 public Window (Gtk.WindowType type = Gtk.WindowType.TOPLEVEL);
5579 public bool activate_default ();
5580 public bool activate_focus ();
5581 public bool activate_key (Gdk.EventKey event);
5582 public void add_accel_group (Gtk.AccelGroup accel_group);
5583 public void add_mnemonic (uint keyval, Gtk.Widget target);
5584 public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
5585 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
5586 public void deiconify ();
5587 public void fullscreen ();
5588 public bool get_accept_focus ();
5589 public unowned Gtk.Application get_application ();
5590 public bool get_decorated ();
5591 public static GLib.List<weak Gdk.Pixbuf> get_default_icon_list ();
5592 public static unowned string get_default_icon_name ();
5593 public void get_default_size (out int width, out int height);
5594 public unowned Gtk.Widget get_default_widget ();
5595 public bool get_deletable ();
5596 public bool get_destroy_with_parent ();
5597 public unowned Gtk.Widget get_focus ();
5598 public bool get_focus_on_map ();
5599 public Gdk.Gravity get_gravity ();
5600 public unowned Gtk.WindowGroup get_group ();
5601 public bool get_has_resize_grip ();
5602 public unowned Gdk.Pixbuf get_icon ();
5603 public GLib.List<weak Gdk.Pixbuf> get_icon_list ();
5604 public unowned string get_icon_name ();
5605 public Gdk.ModifierType get_mnemonic_modifier ();
5606 public bool get_mnemonics_visible ();
5607 public bool get_modal ();
5608 public double get_opacity ();
5609 public void get_position (out int root_x, out int root_y);
5610 public bool get_resizable ();
5611 public bool get_resize_grip_area (Gdk.Rectangle rect);
5612 public unowned string get_role ();
5613 public unowned Gdk.Screen get_screen ();
5614 public void get_size (out int width, out int height);
5615 public bool get_skip_pager_hint ();
5616 public bool get_skip_taskbar_hint ();
5617 public unowned string get_title ();
5618 public unowned Gtk.Window get_transient_for ();
5619 public Gdk.WindowTypeHint get_type_hint ();
5620 public bool get_urgency_hint ();
5621 public Gtk.WindowType get_window_type ();
5622 public bool has_group ();
5623 public void iconify ();
5624 public static GLib.List<weak Gtk.Window> list_toplevels ();
5625 public void maximize ();
5626 public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier);
5627 public void move (int x, int y);
5628 public bool parse_geometry (string geometry);
5629 public void present ();
5630 public void present_with_time (uint32 timestamp);
5631 public bool propagate_key_event (Gdk.EventKey event);
5632 public void remove_accel_group (Gtk.AccelGroup accel_group);
5633 public void remove_mnemonic (uint keyval, Gtk.Widget target);
5634 public void reshow_with_initial_size ();
5635 public void resize (int width, int height);
5636 public bool resize_grip_is_visible ();
5637 public void resize_to_geometry (int width, int height);
5638 public void set_accept_focus (bool setting);
5639 public void set_application (Gtk.Application application);
5640 public static void set_auto_startup_notification (bool setting);
5641 public void set_decorated (bool setting);
5642 public void set_default (Gtk.Widget default_widget);
5643 public void set_default_geometry (int width, int height);
5644 public static void set_default_icon (Gdk.Pixbuf icon);
5645 public static bool set_default_icon_from_file (string filename) throws GLib.Error;
5646 public static void set_default_icon_list (GLib.List<Gdk.Pixbuf> list);
5647 public static void set_default_icon_name (string name);
5648 public void set_default_size (int width, int height);
5649 public void set_deletable (bool setting);
5650 public void set_destroy_with_parent (bool setting);
5651 public void set_focus_on_map (bool setting);
5652 public void set_geometry_hints (Gtk.Widget geometry_widget, Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
5653 public void set_gravity (Gdk.Gravity gravity);
5654 public void set_has_resize_grip (bool value);
5655 public void set_has_user_ref_count (bool setting);
5656 public void set_icon (Gdk.Pixbuf icon);
5657 public bool set_icon_from_file (string filename) throws GLib.Error;
5658 public void set_icon_list (GLib.List<Gdk.Pixbuf> list);
5659 public void set_icon_name (string name);
5660 public void set_keep_above (bool setting);
5661 public void set_keep_below (bool setting);
5662 public void set_mnemonic_modifier (Gdk.ModifierType modifier);
5663 public void set_mnemonics_visible (bool setting);
5664 public void set_modal (bool modal);
5665 public void set_opacity (double opacity);
5666 public void set_position (Gtk.WindowPosition position);
5667 public void set_resizable (bool resizable);
5668 public void set_role (string role);
5669 public void set_screen (Gdk.Screen screen);
5670 public void set_skip_pager_hint (bool setting);
5671 public void set_skip_taskbar_hint (bool setting);
5672 public void set_startup_id (string startup_id);
5673 public void set_title (string title);
5674 public void set_transient_for (Gtk.Window parent);
5675 public void set_type_hint (Gdk.WindowTypeHint hint);
5676 public void set_urgency_hint (bool setting);
5677 public void set_wmclass (string wmclass_name, string wmclass_class);
5678 public void stick ();
5679 public void unfullscreen ();
5680 public void unmaximize ();
5681 public void unstick ();
5682 public bool accept_focus { get; set; }
5683 public Gtk.Application application { get; set; }
5684 public bool decorated { get; set; }
5686 public int default_height { get; set; }
5688 public int default_width { get; set; }
5689 public bool deletable { get; set; }
5690 public bool destroy_with_parent { get; set; }
5691 public bool focus_on_map { get; set; }
5692 public Gdk.Gravity gravity { get; set; }
5693 public bool has_resize_grip { get; set; }
5695 public bool has_toplevel_focus { get; }
5696 public Gdk.Pixbuf icon { get; set; }
5697 public string icon_name { get; set; }
5699 public bool is_active { get; }
5700 public bool mnemonics_visible { get; set; }
5701 public bool modal { get; set; }
5702 public double opacity { get; set; }
5703 public bool resizable { get; set; }
5705 public bool resize_grip_visible { get; }
5706 public string role { get; set; }
5707 public Gdk.Screen screen { get; set; }
5708 public bool skip_pager_hint { get; set; }
5709 public bool skip_taskbar_hint { get; set; }
5710 public string startup_id { set; }
5711 public string title { get; set; }
5712 public Gtk.Window transient_for { get; set construct; }
5714 public Gtk.WindowType type { get; construct; }
5715 public Gdk.WindowTypeHint type_hint { get; set; }
5716 public bool urgency_hint { get; set; }
5718 public Gtk.WindowPosition window_position { get; set; }
5720 public virtual signal void default_activated ();
5722 public virtual signal void focus_activated ();
5723 public virtual signal void keys_changed ();
5725 public virtual signal void set_focus (Gtk.Widget? focus);
5728 [CCode (cheader_filename = "gtk/gtk.h")]
5729 public class WindowGeometryInfo {
5731 [CCode (cheader_filename = "gtk/gtk.h")]
5732 public class WindowGroup : GLib.Object {
5733 [CCode (has_construct_function = false)]
5734 public WindowGroup ();
5735 public void add_window (Gtk.Window window);
5736 public unowned Gtk.Widget get_current_device_grab (Gdk.Device device);
5737 public unowned Gtk.Widget get_current_grab ();
5738 public GLib.List<weak Gtk.Window> list_windows ();
5739 public void remove_window (Gtk.Window window);
5741 [CCode (cheader_filename = "gtk/gtk.h")]
5742 public interface Activatable : GLib.Object {
5743 public void do_set_related_action (Gtk.Action action);
5744 public unowned Gtk.Action get_related_action ();
5745 public bool get_use_action_appearance ();
5746 public void set_related_action (Gtk.Action action);
5747 public void set_use_action_appearance (bool use_appearance);
5748 public abstract void sync_action_properties (Gtk.Action action);
5750 public abstract void update (Gtk.Action action, string property_name);
5751 public Gtk.Action related_action { get; set; }
5752 public bool use_action_appearance { get; set; }
5754 [CCode (cheader_filename = "gtk/gtk.h")]
5755 public interface AppChooser : Gtk.Widget {
5756 public unowned GLib.AppInfo get_app_info ();
5757 public unowned string get_content_type ();
5758 public void refresh ();
5759 public string content_type { get; construct; }
5761 [CCode (cheader_filename = "gtk/gtk.h")]
5762 public interface Buildable : GLib.Object {
5763 public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type);
5764 public abstract unowned GLib.Object construct_child (Gtk.Builder builder, string name);
5765 public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
5766 public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, out void* data);
5767 public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data);
5768 public abstract unowned GLib.Object get_internal_child (Gtk.Builder builder, string childname);
5769 public abstract unowned string get_name ();
5770 public abstract void parser_finished (Gtk.Builder builder);
5771 public abstract void set_buildable_property (Gtk.Builder builder, string name, GLib.Value value);
5772 public abstract void set_name (string name);
5774 [CCode (cheader_filename = "gtk/gtk.h")]
5775 public interface CellEditable : Gtk.Widget {
5776 public abstract void start_editing (Gdk.Event event);
5777 public bool editing_canceled { get; set; }
5779 public signal void editing_done ();
5781 public signal void remove_widget ();
5783 [CCode (cheader_filename = "gtk/gtk.h")]
5784 public interface CellLayout : GLib.Object {
5785 public abstract void add_attribute (Gtk.CellRenderer cell, string attribute, int column);
5786 public abstract void clear ();
5787 public abstract void clear_attributes (Gtk.CellRenderer cell);
5788 public abstract unowned Gtk.CellArea get_area ();
5789 public abstract GLib.List<weak Gtk.CellRenderer> get_cells ();
5790 public abstract void pack_end (Gtk.CellRenderer cell, bool expand);
5791 public abstract void pack_start (Gtk.CellRenderer cell, bool expand);
5792 public abstract void reorder (Gtk.CellRenderer cell, int position);
5793 public void set_attributes (Gtk.CellRenderer cell, ...);
5794 public abstract void set_cell_data_func (Gtk.CellRenderer cell, owned Gtk.CellLayoutDataFunc func);
5796 [CCode (cheader_filename = "gtk/gtk.h")]
5797 public interface Editable {
5798 public void copy_clipboard ();
5799 public void cut_clipboard ();
5800 public void delete_selection ();
5802 public abstract void do_delete_text (int start_pos, int end_pos);
5804 public abstract void do_insert_text (string new_text, int new_text_length, int position);
5805 public abstract unowned string get_chars (int start_pos, int end_pos);
5806 public bool get_editable ();
5807 public abstract int get_position ();
5808 public abstract bool get_selection_bounds (out int start_pos, out int end_pos);
5809 public void paste_clipboard ();
5810 [CCode (vfunc_name = "set_selection_bounds")]
5811 public abstract void select_region (int start_pos, int end_pos);
5812 public void set_editable (bool is_editable);
5813 public abstract void set_position (int position);
5814 public signal void changed ();
5816 public signal void delete_text (int start_pos, int end_pos);
5818 public signal void insert_text (string new_text, int new_text_length, void* position);
5820 [CCode (cheader_filename = "gtk/gtk.h")]
5821 public interface FileChooser : Gtk.Widget {
5822 public void add_filter (Gtk.FileFilter filter);
5823 public bool add_shortcut_folder (string folder) throws GLib.Error;
5824 public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
5825 public static GLib.Quark error_quark ();
5826 public Gtk.FileChooserAction get_action ();
5827 public bool get_create_folders ();
5828 public string get_current_folder ();
5829 public unowned GLib.File get_current_folder_file ();
5830 public string get_current_folder_uri ();
5831 public bool get_do_overwrite_confirmation ();
5832 public unowned Gtk.Widget get_extra_widget ();
5833 public unowned GLib.File get_file ();
5834 public string get_filename ();
5835 public GLib.SList<string> get_filenames ();
5836 public GLib.SList<GLib.File> get_files ();
5837 public unowned Gtk.FileFilter get_filter ();
5838 public bool get_local_only ();
5839 public unowned GLib.File get_preview_file ();
5840 public string get_preview_filename ();
5841 public string get_preview_uri ();
5842 public unowned Gtk.Widget get_preview_widget ();
5843 public bool get_preview_widget_active ();
5844 public bool get_select_multiple ();
5845 public bool get_show_hidden ();
5846 public string get_uri ();
5847 public GLib.SList<string> get_uris ();
5848 public bool get_use_preview_label ();
5849 public GLib.SList<weak Gtk.FileFilter> list_filters ();
5850 public GLib.SList<string>? list_shortcut_folder_uris ();
5851 public GLib.SList<string>? list_shortcut_folders ();
5852 public void remove_filter (Gtk.FileFilter filter);
5853 public bool remove_shortcut_folder (string folder) throws GLib.Error;
5854 public bool remove_shortcut_folder_uri (string uri) throws GLib.Error;
5855 public void select_all ();
5856 public bool select_file (GLib.File file) throws GLib.Error;
5857 public bool select_filename (string filename);
5858 public bool select_uri (string uri);
5859 public void set_action (Gtk.FileChooserAction action);
5860 public void set_create_folders (bool create_folders);
5861 public bool set_current_folder (string filename);
5862 public bool set_current_folder_file (GLib.File file) throws GLib.Error;
5863 public bool set_current_folder_uri (string uri);
5864 public void set_current_name (string name);
5865 public void set_do_overwrite_confirmation (bool do_overwrite_confirmation);
5866 public void set_extra_widget (Gtk.Widget extra_widget);
5867 public bool set_file (GLib.File file) throws GLib.Error;
5868 public bool set_filename (string filename);
5869 public void set_filter (Gtk.FileFilter filter);
5870 public void set_local_only (bool local_only);
5871 public void set_preview_widget (Gtk.Widget preview_widget);
5872 public void set_preview_widget_active (bool active);
5873 public void set_select_multiple (bool select_multiple);
5874 public void set_show_hidden (bool show_hidden);
5875 public bool set_uri (string uri);
5876 public void set_use_preview_label (bool use_label);
5877 public void unselect_all ();
5878 public void unselect_file (GLib.File file);
5879 public void unselect_filename (string filename);
5880 public void unselect_uri (string uri);
5881 public Gtk.FileChooserAction action { get; set; }
5882 public bool create_folders { get; set; }
5883 public bool do_overwrite_confirmation { get; set; }
5884 public Gtk.Widget extra_widget { get; set; }
5885 public Gtk.FileFilter filter { get; set; }
5886 public bool local_only { get; set; }
5887 public Gtk.Widget preview_widget { get; set; }
5888 public bool preview_widget_active { get; set; }
5889 public bool select_multiple { get; set; }
5890 public bool show_hidden { get; set; }
5891 public bool use_preview_label { get; set; }
5892 public signal Gtk.FileChooserConfirmation confirm_overwrite ();
5893 public signal void current_folder_changed ();
5894 public signal void file_activated ();
5895 public signal void selection_changed ();
5896 public signal void update_preview ();
5898 [CCode (cheader_filename = "gtk/gtk.h")]
5899 public interface FileChooserEmbed {
5901 [CCode (cheader_filename = "gtk/gtk.h")]
5902 public interface Orientable : GLib.Object {
5903 public Gtk.Orientation get_orientation ();
5904 public void set_orientation (Gtk.Orientation orientation);
5905 public Gtk.Orientation orientation { get; set; }
5907 [CCode (cheader_filename = "gtk/gtk.h")]
5908 public interface PrintOperationPreview : GLib.Object {
5909 public abstract void end_preview ();
5910 public abstract bool is_selected (int page_nr);
5911 public abstract void render_page (int page_nr);
5912 public signal void got_page_size (Gtk.PrintContext context, Gtk.PageSetup page_setup);
5913 public signal void ready (Gtk.PrintContext context);
5915 [CCode (cheader_filename = "gtk/gtk.h")]
5916 public interface RecentChooser : GLib.Object {
5917 public abstract void add_filter (Gtk.RecentFilter filter);
5918 public static GLib.Quark error_quark ();
5919 public unowned Gtk.RecentInfo get_current_item ();
5920 public abstract unowned string get_current_uri ();
5921 public unowned Gtk.RecentFilter get_filter ();
5922 public abstract GLib.List<Gtk.RecentInfo> get_items ();
5923 public int get_limit ();
5924 public bool get_local_only ();
5926 public abstract unowned Gtk.RecentManager get_recent_manager ();
5927 public bool get_select_multiple ();
5928 public bool get_show_icons ();
5929 public bool get_show_not_found ();
5930 public bool get_show_private ();
5931 public bool get_show_tips ();
5932 public Gtk.RecentSortType get_sort_type ();
5933 public unowned string get_uris (size_t length);
5934 public abstract GLib.SList<weak Gtk.RecentFilter> list_filters ();
5935 public abstract void remove_filter (Gtk.RecentFilter filter);
5936 public abstract void select_all ();
5937 public abstract bool select_uri (string uri) throws GLib.Error;
5938 public abstract bool set_current_uri (string uri) throws GLib.Error;
5939 public void set_filter (Gtk.RecentFilter filter);
5940 public void set_limit (int limit);
5941 public void set_local_only (bool local_only);
5942 public void set_select_multiple (bool select_multiple);
5943 public void set_show_icons (bool show_icons);
5944 public void set_show_not_found (bool show_not_found);
5945 public void set_show_private (bool show_private);
5946 public void set_show_tips (bool show_tips);
5947 public abstract void set_sort_func (owned Gtk.RecentSortFunc sort_func);
5948 public void set_sort_type (Gtk.RecentSortType sort_type);
5949 public abstract void unselect_all ();
5950 public abstract void unselect_uri (string uri);
5951 public Gtk.RecentFilter filter { get; set; }
5952 public int limit { get; set; }
5953 public bool local_only { get; set; }
5954 public Gtk.RecentManager recent_manager { construct; }
5955 public bool select_multiple { get; set; }
5956 public bool show_icons { get; set; }
5957 public bool show_not_found { get; set; }
5958 public bool show_private { get; set; }
5959 public bool show_tips { get; set; }
5960 public Gtk.RecentSortType sort_type { get; set; }
5961 public signal void item_activated ();
5962 public signal void selection_changed ();
5964 [CCode (cheader_filename = "gtk/gtk.h")]
5965 public interface Scrollable : GLib.Object {
5966 public unowned Gtk.Adjustment get_hadjustment ();
5967 public Gtk.ScrollablePolicy get_hscroll_policy ();
5968 public unowned Gtk.Adjustment get_vadjustment ();
5969 public Gtk.ScrollablePolicy get_vscroll_policy ();
5970 public void set_hadjustment (Gtk.Adjustment hadjustment);
5971 public void set_hscroll_policy (Gtk.ScrollablePolicy policy);
5972 public void set_vadjustment (Gtk.Adjustment vadjustment);
5973 public void set_vscroll_policy (Gtk.ScrollablePolicy policy);
5974 public Gtk.Adjustment hadjustment { get; set construct; }
5975 public Gtk.ScrollablePolicy hscroll_policy { get; set; }
5976 public Gtk.Adjustment vadjustment { get; set construct; }
5977 public Gtk.ScrollablePolicy vscroll_policy { get; set; }
5979 [CCode (cheader_filename = "gtk/gtk.h")]
5980 public interface StyleProvider {
5981 public abstract unowned Gtk.IconFactory get_icon_factory (Gtk.WidgetPath path);
5982 public abstract unowned Gtk.StyleProperties get_style (Gtk.WidgetPath path);
5983 public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state, GLib.ParamSpec pspec, GLib.Value value);
5985 [CCode (cheader_filename = "gtk/gtk.h")]
5986 public interface ToolShell : Gtk.Widget {
5987 public abstract Pango.EllipsizeMode get_ellipsize_mode ();
5988 public abstract Gtk.IconSize get_icon_size ();
5989 public abstract Gtk.Orientation get_orientation ();
5990 public abstract Gtk.ReliefStyle get_relief_style ();
5991 public abstract Gtk.ToolbarStyle get_style ();
5992 public abstract float get_text_alignment ();
5993 public abstract Gtk.Orientation get_text_orientation ();
5994 public abstract unowned Gtk.SizeGroup get_text_size_group ();
5995 public abstract void rebuild_menu ();
5997 [CCode (cheader_filename = "gtk/gtk.h")]
5998 public interface TreeDragDest {
5999 public abstract bool drag_data_received (Gtk.TreePath dest, Gtk.SelectionData selection_data);
6000 public abstract bool row_drop_possible (Gtk.TreePath dest_path, Gtk.SelectionData selection_data);
6002 [CCode (cheader_filename = "gtk/gtk.h")]
6003 public interface TreeDragSource {
6004 public abstract bool drag_data_delete (Gtk.TreePath path);
6005 public abstract bool drag_data_get (Gtk.TreePath path, Gtk.SelectionData selection_data);
6006 public abstract bool row_draggable (Gtk.TreePath path);
6008 [CCode (cheader_filename = "gtk/gtk.h")]
6009 public interface TreeModel : GLib.Object {
6010 public void @foreach (Gtk.TreeModelForeachFunc func);
6011 [CCode (sentinel = "-1")]
6012 public void @get (Gtk.TreeIter iter, ...);
6013 public abstract GLib.Type get_column_type (int index_);
6014 public abstract Gtk.TreeModelFlags get_flags ();
6015 public abstract bool get_iter (out Gtk.TreeIter iter, Gtk.TreePath path);
6016 public bool get_iter_first (out Gtk.TreeIter iter);
6017 public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
6018 public abstract int get_n_columns ();
6019 public abstract Gtk.TreePath get_path (Gtk.TreeIter iter);
6020 public string get_string_from_iter (Gtk.TreeIter iter);
6021 public void get_valist (Gtk.TreeIter iter, void* var_args);
6022 public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
6023 public abstract bool iter_children (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
6024 public abstract bool iter_has_child (Gtk.TreeIter iter);
6025 public abstract int iter_n_children (Gtk.TreeIter? iter);
6026 public abstract bool iter_next (ref Gtk.TreeIter iter);
6027 public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
6028 public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
6029 public virtual bool iter_previous (ref Gtk.TreeIter iter);
6030 public abstract void ref_node (Gtk.TreeIter iter);
6031 public abstract void unref_node (Gtk.TreeIter iter);
6033 public signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter);
6035 public signal void row_deleted (Gtk.TreePath path);
6037 public signal void row_has_child_toggled (Gtk.TreePath path, Gtk.TreeIter iter);
6039 public signal void row_inserted (Gtk.TreePath path, Gtk.TreeIter iter);
6041 public signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter iter, void* new_order);
6043 [CCode (cheader_filename = "gtk/gtk.h")]
6044 public interface TreeSortable : Gtk.TreeModel, GLib.Object {
6045 public abstract bool get_sort_column_id (out int sort_column_id, out Gtk.SortType order);
6046 public abstract bool has_default_sort_func ();
6047 public abstract void set_default_sort_func (owned Gtk.TreeIterCompareFunc sort_func);
6048 public abstract void set_sort_column_id (int sort_column_id, Gtk.SortType order);
6049 public abstract void set_sort_func (int sort_column_id, owned Gtk.TreeIterCompareFunc sort_func);
6051 public signal void sort_column_changed ();
6053 [CCode (type_id = "GTK_TYPE_ACCEL_KEY", cheader_filename = "gtk/gtk.h")]
6054 public struct AccelKey {
6055 public uint accel_key;
6056 public Gdk.ModifierType accel_mods;
6057 public uint accel_flags;
6059 [CCode (type_id = "GTK_TYPE_ACTION_ENTRY", cheader_filename = "gtk/gtk.h")]
6060 public struct ActionEntry {
6061 public weak string name;
6062 public weak string stock_id;
6063 public weak string label;
6064 public weak string accelerator;
6065 public weak string tooltip;
6066 [CCode (type = "GCallback")]
6067 public weak Gtk.ActionCallback callback;
6069 [CCode (type_id = "GTK_TYPE_ALLOCATION", cheader_filename = "gtk/gtk.h")]
6070 public struct Allocation {
6076 [CCode (type_id = "GTK_TYPE_IM_CONTEXT_INFO", cheader_filename = "gtk/gtk.h")]
6077 public struct IMContextInfo {
6078 public weak string context_id;
6079 public weak string context_name;
6080 public weak string domain;
6081 public weak string domain_dirname;
6082 public weak string default_locales;
6084 [CCode (type_id = "GTK_TYPE_RADIO_ACTION_ENTRY", cheader_filename = "gtk/gtk.h")]
6085 public struct RadioActionEntry {
6086 public weak string name;
6087 public weak string stock_id;
6088 public weak string label;
6089 public weak string accelerator;
6090 public weak string tooltip;
6093 [CCode (type_id = "GTK_TYPE_RECENT_DATA", has_copy_function = false, has_destroy_function = false, cheader_filename = "gtk/gtk.h")]
6094 public struct RecentData {
6095 public string display_name;
6096 public string description;
6097 public string mime_type;
6098 public string app_name;
6099 public string app_exec;
6100 [CCode (array_length = false, array_null_terminated = true)]
6101 public string[] groups;
6102 public bool is_private;
6104 [CCode (type_id = "GTK_TYPE_REQUISITION", cheader_filename = "gtk/gtk.h")]
6105 public struct Requisition {
6108 [CCode (cname = "gtk_requisition_new", has_construct_function = false)]
6109 public Requisition ();
6110 public Gtk.Requisition copy ();
6111 public void free ();
6113 [CCode (type_id = "GTK_TYPE_STOCK_ITEM", cheader_filename = "gtk/gtk.h")]
6114 public struct StockItem {
6115 public weak string stock_id;
6116 public weak string label;
6117 public Gdk.ModifierType modifier;
6119 public weak string translation_domain;
6120 public Gtk.StockItem copy ();
6121 public void free ();
6123 [CCode (type_id = "GTK_TYPE_TARGET_ENTRY", cheader_filename = "gtk/gtk.h")]
6124 public struct TargetEntry {
6125 public weak string target;
6128 [CCode (cname = "gtk_target_entry_new", has_construct_function = false)]
6129 public TargetEntry (string target, uint flags, uint info);
6130 public Gtk.TargetEntry copy ();
6131 public void free ();
6133 [CCode (type_id = "GTK_TYPE_TEXT_ITER", cheader_filename = "gtk/gtk.h")]
6134 public struct TextIter {
6135 public void* dummy1;
6136 public void* dummy2;
6143 public void* dummy9;
6144 public void* dummy10;
6148 public void* dummy14;
6149 public bool backward_char ();
6150 public bool backward_chars (int count);
6151 public bool backward_cursor_position ();
6152 public bool backward_cursor_positions (int count);
6153 public bool backward_find_char (Gtk.TextCharPredicate pred, Gtk.TextIter limit);
6154 public bool backward_line ();
6155 public bool backward_lines (int count);
6156 public bool backward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
6157 public bool backward_sentence_start ();
6158 public bool backward_sentence_starts (int count);
6159 public bool backward_to_tag_toggle (Gtk.TextTag? tag);
6160 public bool backward_visible_cursor_position ();
6161 public bool backward_visible_cursor_positions (int count);
6162 public bool backward_visible_line ();
6163 public bool backward_visible_lines (int count);
6164 public bool backward_visible_word_start ();
6165 public bool backward_visible_word_starts (int count);
6166 public bool backward_word_start ();
6167 public bool backward_word_starts (int count);
6168 public bool begins_tag (Gtk.TextTag? tag);
6169 public bool can_insert (bool default_editability);
6170 public int compare (Gtk.TextIter rhs);
6171 public Gtk.TextIter copy ();
6172 public bool editable (bool default_setting);
6173 public bool ends_line ();
6174 public bool ends_sentence ();
6175 public bool ends_tag (Gtk.TextTag? tag);
6176 public bool ends_word ();
6177 public bool equal (Gtk.TextIter rhs);
6178 public bool forward_char ();
6179 public bool forward_chars (int count);
6180 public bool forward_cursor_position ();
6181 public bool forward_cursor_positions (int count);
6182 public bool forward_find_char (Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
6183 public bool forward_line ();
6184 public bool forward_lines (int count);
6185 public bool forward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
6186 public bool forward_sentence_end ();
6187 public bool forward_sentence_ends (int count);
6188 public void forward_to_end ();
6189 public bool forward_to_line_end ();
6190 public bool forward_to_tag_toggle (Gtk.TextTag? tag);
6191 public bool forward_visible_cursor_position ();
6192 public bool forward_visible_cursor_positions (int count);
6193 public bool forward_visible_line ();
6194 public bool forward_visible_lines (int count);
6195 public bool forward_visible_word_end ();
6196 public bool forward_visible_word_ends (int count);
6197 public bool forward_word_end ();
6198 public bool forward_word_ends (int count);
6199 public void free ();
6200 public bool get_attributes (Gtk.TextAttributes values);
6201 public unowned Gtk.TextBuffer get_buffer ();
6202 public int get_bytes_in_line ();
6203 public unichar get_char ();
6204 public int get_chars_in_line ();
6205 public unowned Gtk.TextChildAnchor get_child_anchor ();
6206 public unowned Pango.Language get_language ();
6207 public int get_line ();
6208 public int get_line_index ();
6209 public int get_line_offset ();
6210 public GLib.SList<weak Gtk.TextMark> get_marks ();
6211 public int get_offset ();
6212 public unowned Gdk.Pixbuf get_pixbuf ();
6213 public unowned string get_slice (Gtk.TextIter end);
6214 public GLib.SList<weak Gtk.TextTag> get_tags ();
6215 public unowned string get_text (Gtk.TextIter end);
6216 public GLib.SList<weak Gtk.TextTag> get_toggled_tags (bool toggled_on);
6217 public int get_visible_line_index ();
6218 public int get_visible_line_offset ();
6219 public unowned string get_visible_slice (Gtk.TextIter end);
6220 public unowned string get_visible_text (Gtk.TextIter end);
6221 public bool has_tag (Gtk.TextTag tag);
6222 public bool in_range (Gtk.TextIter start, Gtk.TextIter end);
6223 public bool inside_sentence ();
6224 public bool inside_word ();
6225 public bool is_cursor_position ();
6226 public bool is_end ();
6227 public bool is_start ();
6228 public void order (Gtk.TextIter second);
6229 public void set_line (int line_number);
6230 public void set_line_index (int byte_on_line);
6231 public void set_line_offset (int char_on_line);
6232 public void set_offset (int char_offset);
6233 public void set_visible_line_index (int byte_on_line);
6234 public void set_visible_line_offset (int char_on_line);
6235 public bool starts_line ();
6236 public bool starts_sentence ();
6237 public bool starts_word ();
6238 public bool toggles_tag (Gtk.TextTag tag);
6240 [CCode (type_id = "GTK_TYPE_TOGGLE_ACTION_ENTRY", cheader_filename = "gtk/gtk.h")]
6241 public struct ToggleActionEntry {
6242 public weak string name;
6243 public weak string stock_id;
6244 public weak string label;
6245 public weak string accelerator;
6246 public weak string tooltip;
6247 [CCode (type = "GCallback")]
6248 public weak Gtk.ActionCallback callback;
6249 public bool is_active;
6251 [CCode (type_id = "GTK_TYPE_TREE_ITER", cheader_filename = "gtk/gtk.h")]
6252 public struct TreeIter {
6254 public void* user_data;
6255 public void* user_data2;
6256 public void* user_data3;
6258 [CCode (cprefix = "GTK_ACCEL_", cheader_filename = "gtk/gtk.h")]
6260 public enum AccelFlags {
6265 [CCode (cprefix = "GTK_ALIGN_", cheader_filename = "gtk/gtk.h")]
6272 [CCode (cprefix = "GTK_ARROWS_", cheader_filename = "gtk/gtk.h")]
6273 public enum ArrowPlacement {
6278 [CCode (cprefix = "GTK_ARROW_", cheader_filename = "gtk/gtk.h")]
6279 public enum ArrowType {
6286 [CCode (cprefix = "GTK_ASSISTANT_PAGE_", cheader_filename = "gtk/gtk.h")]
6287 public enum AssistantPageType {
6295 [CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
6297 public enum AttachOptions {
6302 [CCode (cprefix = "GTK_BORDER_STYLE_", cheader_filename = "gtk/gtk.h")]
6303 public enum BorderStyle {
6309 [CCode (cprefix = "GTK_BUTTONBOX_", cheader_filename = "gtk/gtk.h")]
6310 public enum ButtonBoxStyle {
6317 [CCode (cprefix = "GTK_BUTTONS_", cheader_filename = "gtk/gtk.h")]
6318 public enum ButtonsType {
6326 [CCode (cprefix = "GTK_CALENDAR_", cheader_filename = "gtk/gtk.h")]
6328 public enum CalendarDisplayOptions {
6335 [CCode (cprefix = "GTK_CELL_RENDERER_ACCEL_MODE_", cheader_filename = "gtk/gtk.h")]
6336 public enum CellRendererAccelMode {
6340 [CCode (cprefix = "GTK_CELL_RENDERER_MODE_", cheader_filename = "gtk/gtk.h")]
6341 public enum CellRendererMode {
6346 [CCode (cprefix = "GTK_CELL_RENDERER_", cheader_filename = "gtk/gtk.h")]
6348 public enum CellRendererState {
6355 [CCode (cprefix = "GTK_CORNER_", cheader_filename = "gtk/gtk.h")]
6356 public enum CornerType {
6362 [CCode (cprefix = "GTK_CSS_PROVIDER_ERROR_", cheader_filename = "gtk/gtk.h")]
6363 public enum CssProviderError {
6366 [CCode (cprefix = "GTK_DEBUG_", cheader_filename = "gtk/gtk.h")]
6368 public enum DebugFlag {
6383 [CCode (cprefix = "GTK_DELETE_", cheader_filename = "gtk/gtk.h")]
6384 public enum DeleteType {
6394 [CCode (cprefix = "GTK_DEST_DEFAULT_", cheader_filename = "gtk/gtk.h")]
6396 public enum DestDefaults {
6402 [CCode (cprefix = "GTK_DIALOG_", cheader_filename = "gtk/gtk.h")]
6404 public enum DialogFlags {
6408 [CCode (cprefix = "GTK_DIR_", cheader_filename = "gtk/gtk.h")]
6409 public enum DirectionType {
6417 [CCode (cprefix = "GTK_DRAG_RESULT_", cheader_filename = "gtk/gtk.h")]
6418 public enum DragResult {
6426 [CCode (cprefix = "GTK_ENTRY_ICON_", cheader_filename = "gtk/gtk.h")]
6427 public enum EntryIconPosition {
6431 [CCode (cprefix = "GTK_EXPANDER_", cheader_filename = "gtk/gtk.h")]
6432 public enum ExpanderStyle {
6438 [CCode (cprefix = "GTK_FILE_CHOOSER_ACTION_", cheader_filename = "gtk/gtk.h")]
6439 public enum FileChooserAction {
6445 [CCode (cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_", cheader_filename = "gtk/gtk.h")]
6446 public enum FileChooserConfirmation {
6451 [CCode (cprefix = "GTK_FILE_CHOOSER_ERROR_", cheader_filename = "gtk/gtk.h")]
6452 public enum FileChooserError {
6458 [CCode (cprefix = "GTK_FILE_FILTER_", cheader_filename = "gtk/gtk.h")]
6460 public enum FileFilterFlags {
6466 [CCode (cprefix = "GTK_IM_PREEDIT_", cheader_filename = "gtk/gtk.h")]
6467 public enum IMPreeditStyle {
6472 [CCode (cprefix = "GTK_IM_STATUS_", cheader_filename = "gtk/gtk.h")]
6473 public enum IMStatusStyle {
6478 [CCode (cprefix = "GTK_ICON_LOOKUP_", cheader_filename = "gtk/gtk.h")]
6480 public enum IconLookupFlags {
6487 [CCode (cprefix = "GTK_ICON_SIZE_", cheader_filename = "gtk/gtk.h")]
6488 public enum IconSize {
6497 [CCode (cprefix = "GTK_ICON_THEME_", cheader_filename = "gtk/gtk.h")]
6498 public enum IconThemeError {
6502 [CCode (cprefix = "GTK_ICON_VIEW_", cheader_filename = "gtk/gtk.h")]
6503 public enum IconViewDropPosition {
6511 [CCode (cprefix = "GTK_IMAGE_", cheader_filename = "gtk/gtk.h")]
6512 public enum ImageType {
6521 [CCode (cprefix = "GTK_JUNCTION_", cheader_filename = "gtk/gtk.h")]
6523 public enum JunctionSides {
6534 [CCode (cprefix = "GTK_JUSTIFY_", cheader_filename = "gtk/gtk.h")]
6535 public enum Justification {
6541 [CCode (cprefix = "GTK_LICENSE_", cheader_filename = "gtk/gtk.h")]
6542 public enum License {
6553 [CCode (cprefix = "GTK_MENU_DIR_", cheader_filename = "gtk/gtk.h")]
6554 public enum MenuDirectionType {
6560 [CCode (cprefix = "GTK_MESSAGE_", cheader_filename = "gtk/gtk.h")]
6561 public enum MessageType {
6568 [CCode (cprefix = "GTK_MOVEMENT_", cheader_filename = "gtk/gtk.h")]
6569 public enum MovementStep {
6581 [CCode (cprefix = "GTK_NOTEBOOK_TAB_", cheader_filename = "gtk/gtk.h")]
6582 public enum NotebookTab {
6586 [CCode (cprefix = "GTK_NUMBER_UP_LAYOUT_", cheader_filename = "gtk/gtk.h")]
6587 public enum NumberUpLayout {
6588 LEFT_TO_RIGHT_TOP_TO_BOTTOM,
6589 LEFT_TO_RIGHT_BOTTOM_TO_TOP,
6590 RIGHT_TO_LEFT_TOP_TO_BOTTOM,
6591 RIGHT_TO_LEFT_BOTTOM_TO_TOP,
6592 TOP_TO_BOTTOM_LEFT_TO_RIGHT,
6593 TOP_TO_BOTTOM_RIGHT_TO_LEFT,
6594 BOTTOM_TO_TOP_LEFT_TO_RIGHT,
6595 BOTTOM_TO_TOP_RIGHT_TO_LEFT
6597 [CCode (cprefix = "GTK_ORIENTATION_", cheader_filename = "gtk/gtk.h")]
6598 public enum Orientation {
6602 [CCode (cprefix = "GTK_PACK_DIRECTION_", cheader_filename = "gtk/gtk.h")]
6603 public enum PackDirection {
6609 [CCode (cprefix = "GTK_PACK_", cheader_filename = "gtk/gtk.h")]
6610 public enum PackType {
6614 [CCode (cprefix = "GTK_PAGE_ORIENTATION_", cheader_filename = "gtk/gtk.h")]
6615 public enum PageOrientation {
6621 [CCode (cprefix = "GTK_PAGE_SET_", cheader_filename = "gtk/gtk.h")]
6622 public enum PageSet {
6627 [CCode (cprefix = "GTK_PATH_PRIO_", cheader_filename = "gtk/gtk.h")]
6628 public enum PathPriorityType {
6636 [CCode (cprefix = "GTK_PATH_", cheader_filename = "gtk/gtk.h")]
6637 public enum PathType {
6642 [CCode (cprefix = "GTK_POLICY_", cheader_filename = "gtk/gtk.h")]
6643 public enum PolicyType {
6648 [CCode (cprefix = "GTK_POS_", cheader_filename = "gtk/gtk.h")]
6649 public enum PositionType {
6655 [CCode (cprefix = "GTK_PRINT_DUPLEX_", cheader_filename = "gtk/gtk.h")]
6656 public enum PrintDuplex {
6661 [CCode (cprefix = "GTK_PRINT_ERROR_", cheader_filename = "gtk/gtk.h")]
6662 public enum PrintError {
6668 [CCode (cprefix = "GTK_PRINT_OPERATION_ACTION_", cheader_filename = "gtk/gtk.h")]
6669 public enum PrintOperationAction {
6675 [CCode (cprefix = "GTK_PRINT_OPERATION_RESULT_", cheader_filename = "gtk/gtk.h")]
6676 public enum PrintOperationResult {
6682 [CCode (cprefix = "GTK_PRINT_PAGES_", cheader_filename = "gtk/gtk.h")]
6683 public enum PrintPages {
6689 [CCode (cprefix = "GTK_PRINT_QUALITY_", cheader_filename = "gtk/gtk.h")]
6690 public enum PrintQuality {
6696 [CCode (cprefix = "GTK_PRINT_STATUS_", cheader_filename = "gtk/gtk.h")]
6697 public enum PrintStatus {
6708 [CCode (cprefix = "GTK_RC_", cheader_filename = "gtk/gtk.h")]
6710 public enum RcFlags {
6716 [CCode (cprefix = "GTK_RC_TOKEN_", cheader_filename = "gtk/gtk.h")]
6717 public enum RcTokenType {
6759 [CCode (cprefix = "GTK_RECENT_CHOOSER_ERROR_", cheader_filename = "gtk/gtk.h")]
6760 public enum RecentChooserError {
6764 [CCode (cprefix = "GTK_RECENT_FILTER_", cheader_filename = "gtk/gtk.h")]
6766 public enum RecentFilterFlags {
6774 [CCode (cprefix = "GTK_RECENT_MANAGER_ERROR_", cheader_filename = "gtk/gtk.h")]
6775 public enum RecentManagerError {
6784 [CCode (cprefix = "GTK_RECENT_SORT_", cheader_filename = "gtk/gtk.h")]
6785 public enum RecentSortType {
6791 [CCode (cprefix = "GTK_REGION_", cheader_filename = "gtk/gtk.h")]
6793 public enum RegionFlags {
6800 [CCode (cprefix = "GTK_RELIEF_", cheader_filename = "gtk/gtk.h")]
6801 public enum ReliefStyle {
6806 [CCode (cprefix = "GTK_RESIZE_", cheader_filename = "gtk/gtk.h")]
6807 public enum ResizeMode {
6812 [CCode (cprefix = "GTK_RESPONSE_", cheader_filename = "gtk/gtk.h")]
6813 public enum ResponseType {
6826 [CCode (cprefix = "GTK_SCROLL_", cheader_filename = "gtk/gtk.h")]
6827 public enum ScrollStep {
6835 [CCode (cprefix = "GTK_SCROLL_", cheader_filename = "gtk/gtk.h")]
6836 public enum ScrollType {
6854 [CCode (cprefix = "GTK_SCROLL_", cheader_filename = "gtk/gtk.h")]
6855 public enum ScrollablePolicy {
6859 [CCode (cprefix = "GTK_SELECTION_", cheader_filename = "gtk/gtk.h")]
6860 public enum SelectionMode {
6866 [CCode (cprefix = "GTK_SENSITIVITY_", cheader_filename = "gtk/gtk.h")]
6867 public enum SensitivityType {
6872 [CCode (cprefix = "GTK_SHADOW_", cheader_filename = "gtk/gtk.h")]
6873 public enum ShadowType {
6880 [CCode (cprefix = "GTK_SIZE_GROUP_", cheader_filename = "gtk/gtk.h")]
6881 public enum SizeGroupMode {
6887 [CCode (cprefix = "GTK_SIZE_REQUEST_", cheader_filename = "gtk/gtk.h")]
6888 public enum SizeRequestMode {
6892 [CCode (cprefix = "GTK_SORT_", cheader_filename = "gtk/gtk.h")]
6893 public enum SortType {
6897 [CCode (cprefix = "GTK_UPDATE_", cheader_filename = "gtk/gtk.h")]
6898 public enum SpinButtonUpdatePolicy {
6902 [CCode (cprefix = "GTK_SPIN_", cheader_filename = "gtk/gtk.h")]
6903 public enum SpinType {
6912 [CCode (cprefix = "GTK_STATE_FLAG_", cheader_filename = "gtk/gtk.h")]
6914 public enum StateFlags {
6923 [CCode (cprefix = "GTK_STATE_", cheader_filename = "gtk/gtk.h")]
6924 public enum StateType {
6933 [CCode (cprefix = "GTK_TARGET_", cheader_filename = "gtk/gtk.h")]
6935 public enum TargetFlags {
6941 [CCode (cprefix = "GTK_TEXT_BUFFER_TARGET_INFO_", cheader_filename = "gtk/gtk.h")]
6942 public enum TextBufferTargetInfo {
6947 [CCode (cprefix = "GTK_TEXT_DIR_", cheader_filename = "gtk/gtk.h")]
6948 public enum TextDirection {
6953 [CCode (cprefix = "GTK_TEXT_SEARCH_", cheader_filename = "gtk/gtk.h")]
6955 public enum TextSearchFlags {
6960 [CCode (cprefix = "GTK_TEXT_WINDOW_", cheader_filename = "gtk/gtk.h")]
6961 public enum TextWindowType {
6970 [CCode (cprefix = "GTK_TOOL_PALETTE_DRAG_", cheader_filename = "gtk/gtk.h")]
6972 public enum ToolPaletteDragTargets {
6976 [CCode (cprefix = "GTK_TOOLBAR_SPACE_", cheader_filename = "gtk/gtk.h")]
6977 public enum ToolbarSpaceStyle {
6981 [CCode (cprefix = "GTK_TOOLBAR_", cheader_filename = "gtk/gtk.h")]
6982 public enum ToolbarStyle {
6988 [CCode (cprefix = "GTK_TREE_MODEL_", cheader_filename = "gtk/gtk.h")]
6990 public enum TreeModelFlags {
6994 [CCode (cprefix = "GTK_TREE_VIEW_COLUMN_", cheader_filename = "gtk/gtk.h")]
6995 public enum TreeViewColumnSizing {
7000 [CCode (cprefix = "GTK_TREE_VIEW_DROP_", cheader_filename = "gtk/gtk.h")]
7001 public enum TreeViewDropPosition {
7007 [CCode (cprefix = "GTK_TREE_VIEW_GRID_LINES_", cheader_filename = "gtk/gtk.h")]
7008 public enum TreeViewGridLines {
7014 [CCode (cprefix = "GTK_UI_MANAGER_", cheader_filename = "gtk/gtk.h")]
7016 public enum UIManagerItemType {
7029 [CCode (cprefix = "GTK_UNIT_", cheader_filename = "gtk/gtk.h")]
7036 [CCode (cprefix = "GTK_WIDGET_HELP_", cheader_filename = "gtk/gtk.h")]
7037 public enum WidgetHelpType {
7041 [CCode (cprefix = "GTK_WIN_POS_", cheader_filename = "gtk/gtk.h")]
7042 public enum WindowPosition {
7049 [CCode (cprefix = "GTK_WINDOW_", cheader_filename = "gtk/gtk.h")]
7050 public enum WindowType {
7054 [CCode (cprefix = "GTK_WRAP_", cheader_filename = "gtk/gtk.h")]
7055 public enum WrapMode {
7061 [CCode (cprefix = "GTK_BUILDER_ERROR_", cheader_filename = "gtk/gtk.h")]
7062 public errordomain BuilderError {
7063 INVALID_TYPE_FUNCTION,
7068 MISSING_PROPERTY_VALUE,
7073 [CCode (cheader_filename = "gtk/gtk.h")]
7074 public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
7075 [CCode (cheader_filename = "gtk/gtk.h")]
7076 public delegate bool AccelGroupFindFunc (Gtk.AccelKey key, GLib.Closure closure);
7077 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7078 public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);
7079 [CCode (cheader_filename = "gtk/gtk.h")]
7080 public delegate void ActionCallback (Gtk.Action action);
7081 [CCode (cheader_filename = "gtk/gtk.h")]
7082 public delegate int AssistantPageFunc (int current_page);
7083 [CCode (cheader_filename = "gtk/gtk.h")]
7084 public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags);
7085 [CCode (cheader_filename = "gtk/gtk.h")]
7086 public delegate string CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
7087 [CCode (cheader_filename = "gtk/gtk.h")]
7088 public delegate void Callback (Gtk.Widget widget);
7089 [CCode (cheader_filename = "gtk/gtk.h")]
7090 public delegate bool CellAllocCallback (Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle cell_background);
7091 [CCode (cheader_filename = "gtk/gtk.h")]
7092 public delegate bool CellCallback (Gtk.CellRenderer renderer);
7093 [CCode (cheader_filename = "gtk/gtk.h")]
7094 public delegate void CellLayoutDataFunc (Gtk.CellLayout cell_layout, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
7095 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7096 public delegate void ClipboardClearFunc (Gtk.Clipboard clipboard, void* user_data_or_owner);
7097 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7098 public delegate void ClipboardGetFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data, uint info, void* user_data_or_owner);
7099 [CCode (cheader_filename = "gtk/gtk.h")]
7100 public delegate void ClipboardImageReceivedFunc (Gtk.Clipboard clipboard, Gdk.Pixbuf pixbuf);
7101 [CCode (cheader_filename = "gtk/gtk.h")]
7102 public delegate void ClipboardReceivedFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data);
7103 [CCode (cheader_filename = "gtk/gtk.h")]
7104 public delegate void ClipboardRichTextReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom format, [CCode (array_length_type = "gsize")] uint8[] text);
7105 [CCode (cheader_filename = "gtk/gtk.h")]
7106 public delegate void ClipboardTargetsReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom[] atoms);
7107 [CCode (cheader_filename = "gtk/gtk.h")]
7108 public delegate void ClipboardTextReceivedFunc (Gtk.Clipboard clipboard, string? text);
7109 [CCode (cheader_filename = "gtk/gtk.h")]
7110 public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length = false, array_null_terminated = true)] string[] uris);
7111 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7112 public delegate void ColorSelectionChangePaletteFunc (Gdk.Color colors, int n_colors);
7113 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7114 public delegate void ColorSelectionChangePaletteWithScreenFunc (Gdk.Screen screen, Gdk.Color colors, int n_colors);
7115 [CCode (cheader_filename = "gtk/gtk.h")]
7116 public delegate bool EntryCompletionMatchFunc (Gtk.EntryCompletion completion, string key, Gtk.TreeIter iter);
7117 [CCode (cheader_filename = "gtk/gtk.h")]
7118 public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
7119 [CCode (cheader_filename = "gtk/gtk.h")]
7120 public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
7121 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7122 public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event, void* func_data);
7123 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7124 public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
7125 [CCode (cheader_filename = "gtk/gtk.h")]
7126 public delegate void MenuPositionFunc (Gtk.Menu menu, out int x, out int y, out bool push_in);
7127 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7128 public delegate void ModuleDisplayInitFunc (Gdk.Display display);
7129 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7130 public delegate void ModuleInitFunc (int argc, string argv);
7131 [CCode (cheader_filename = "gtk/gtk.h")]
7132 public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup);
7133 [CCode (cheader_filename = "gtk/gtk.h")]
7134 public delegate void PrintSettingsFunc (string key, string value);
7135 [CCode (cheader_filename = "gtk/gtk.h")]
7136 public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
7137 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7138 public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
7139 [CCode (cheader_filename = "gtk/gtk.h")]
7140 public delegate bool RecentFilterFunc (Gtk.RecentFilterInfo filter_info);
7141 [CCode (cheader_filename = "gtk/gtk.h")]
7142 public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
7143 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
7144 public delegate bool StylePropertyParser (string str, GLib.Value value, GLib.Error error);
7145 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
7146 public delegate bool TextBufferDeserializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter iter, [CCode (array_length_type = "gsize")] uint8[] data, bool create_tags, GLib.Error error);
7147 [CCode (cheader_filename = "gtk/gtk.h")]
7148 public delegate uchar TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
7149 [CCode (cheader_filename = "gtk/gtk.h")]
7150 public delegate bool TextCharPredicate (unichar ch);
7151 [CCode (cheader_filename = "gtk/gtk.h")]
7152 public delegate void TextTagTableForeach (Gtk.TextTag tag);
7153 [CCode (cheader_filename = "gtk/gtk.h")]
7154 public delegate unowned string TranslateFunc (string path);
7155 [CCode (cheader_filename = "gtk/gtk.h")]
7156 public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
7157 [CCode (cheader_filename = "gtk/gtk.h")]
7158 public delegate void TreeDestroyCountFunc (Gtk.TreeView tree_view, Gtk.TreePath path, int children);
7159 [CCode (cheader_filename = "gtk/gtk.h")]
7160 public delegate int TreeIterCompareFunc (Gtk.TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b);
7161 [CCode (cheader_filename = "gtk/gtk.h")]
7162 public delegate void TreeModelFilterModifyFunc (Gtk.TreeModel model, Gtk.TreeIter iter, GLib.Value value, int column);
7163 [CCode (cheader_filename = "gtk/gtk.h")]
7164 public delegate bool TreeModelFilterVisibleFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
7165 [CCode (cheader_filename = "gtk/gtk.h")]
7166 public delegate bool TreeModelForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
7167 [CCode (cheader_filename = "gtk/gtk.h")]
7168 public delegate void TreeSelectionForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
7169 [CCode (cheader_filename = "gtk/gtk.h")]
7170 public delegate bool TreeSelectionFunc (Gtk.TreeSelection selection, Gtk.TreeModel model, Gtk.TreePath path, bool path_currently_selected);
7171 [CCode (cheader_filename = "gtk/gtk.h")]
7172 public delegate bool TreeViewColumnDropFunc (Gtk.TreeView tree_view, Gtk.TreeViewColumn column, Gtk.TreeViewColumn prev_column, Gtk.TreeViewColumn next_column);
7173 [CCode (cheader_filename = "gtk/gtk.h")]
7174 public delegate void TreeViewMappingFunc (Gtk.TreeView tree_view, Gtk.TreePath path);
7175 [CCode (cheader_filename = "gtk/gtk.h")]
7176 public delegate bool TreeViewRowSeparatorFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
7177 [CCode (cheader_filename = "gtk/gtk.h")]
7178 public delegate bool TreeViewSearchEqualFunc (Gtk.TreeModel model, int column, string key, Gtk.TreeIter iter);
7179 [CCode (cheader_filename = "gtk/gtk.h")]
7180 public delegate void TreeViewSearchPositionFunc (Gtk.TreeView tree_view, Gtk.Widget search_dialog);
7181 [CCode (cheader_filename = "gtk/gtk.h")]
7182 public const int BINARY_AGE;
7183 [CCode (cheader_filename = "gtk/gtk.h")]
7184 public const int INPUT_ERROR;
7185 [CCode (cheader_filename = "gtk/gtk.h")]
7186 public const int INTERFACE_AGE;
7187 [CCode (cheader_filename = "gtk/gtk.h")]
7188 public const int MAJOR_VERSION;
7189 [CCode (cheader_filename = "gtk/gtk.h")]
7190 public const int MAX_COMPOSE_LEN;
7191 [CCode (cheader_filename = "gtk/gtk.h")]
7192 public const int MICRO_VERSION;
7193 [CCode (cheader_filename = "gtk/gtk.h")]
7194 public const int MINOR_VERSION;
7195 [CCode (cheader_filename = "gtk/gtk.h")]
7196 public const string PAPER_NAME_A3;
7197 [CCode (cheader_filename = "gtk/gtk.h")]
7198 public const string PAPER_NAME_A4;
7199 [CCode (cheader_filename = "gtk/gtk.h")]
7200 public const string PAPER_NAME_A5;
7201 [CCode (cheader_filename = "gtk/gtk.h")]
7202 public const string PAPER_NAME_B5;
7203 [CCode (cheader_filename = "gtk/gtk.h")]
7204 public const string PAPER_NAME_EXECUTIVE;
7205 [CCode (cheader_filename = "gtk/gtk.h")]
7206 public const string PAPER_NAME_LEGAL;
7207 [CCode (cheader_filename = "gtk/gtk.h")]
7208 public const string PAPER_NAME_LETTER;
7209 [CCode (cheader_filename = "gtk/gtk.h")]
7210 public const int PATH_PRIO_MASK;
7211 [CCode (cheader_filename = "gtk/gtk.h")]
7212 public const string PRINT_SETTINGS_COLLATE;
7213 [CCode (cheader_filename = "gtk/gtk.h")]
7214 public const string PRINT_SETTINGS_DEFAULT_SOURCE;
7215 [CCode (cheader_filename = "gtk/gtk.h")]
7216 public const string PRINT_SETTINGS_DITHER;
7217 [CCode (cheader_filename = "gtk/gtk.h")]
7218 public const string PRINT_SETTINGS_DUPLEX;
7219 [CCode (cheader_filename = "gtk/gtk.h")]
7220 public const string PRINT_SETTINGS_FINISHINGS;
7221 [CCode (cheader_filename = "gtk/gtk.h")]
7222 public const string PRINT_SETTINGS_MEDIA_TYPE;
7223 [CCode (cheader_filename = "gtk/gtk.h")]
7224 public const string PRINT_SETTINGS_NUMBER_UP;
7225 [CCode (cheader_filename = "gtk/gtk.h")]
7226 public const string PRINT_SETTINGS_NUMBER_UP_LAYOUT;
7227 [CCode (cheader_filename = "gtk/gtk.h")]
7228 public const string PRINT_SETTINGS_N_COPIES;
7229 [CCode (cheader_filename = "gtk/gtk.h")]
7230 public const string PRINT_SETTINGS_ORIENTATION;
7231 [CCode (cheader_filename = "gtk/gtk.h")]
7232 public const string PRINT_SETTINGS_OUTPUT_BIN;
7233 [CCode (cheader_filename = "gtk/gtk.h")]
7234 public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT;
7235 [CCode (cheader_filename = "gtk/gtk.h")]
7236 public const string PRINT_SETTINGS_OUTPUT_URI;
7237 [CCode (cheader_filename = "gtk/gtk.h")]
7238 public const string PRINT_SETTINGS_PAGE_RANGES;
7239 [CCode (cheader_filename = "gtk/gtk.h")]
7240 public const string PRINT_SETTINGS_PAGE_SET;
7241 [CCode (cheader_filename = "gtk/gtk.h")]
7242 public const string PRINT_SETTINGS_PAPER_FORMAT;
7243 [CCode (cheader_filename = "gtk/gtk.h")]
7244 public const string PRINT_SETTINGS_PAPER_HEIGHT;
7245 [CCode (cheader_filename = "gtk/gtk.h")]
7246 public const string PRINT_SETTINGS_PAPER_WIDTH;
7247 [CCode (cheader_filename = "gtk/gtk.h")]
7248 public const string PRINT_SETTINGS_PRINTER;
7249 [CCode (cheader_filename = "gtk/gtk.h")]
7250 public const string PRINT_SETTINGS_PRINTER_LPI;
7251 [CCode (cheader_filename = "gtk/gtk.h")]
7252 public const string PRINT_SETTINGS_PRINT_PAGES;
7253 [CCode (cheader_filename = "gtk/gtk.h")]
7254 public const string PRINT_SETTINGS_QUALITY;
7255 [CCode (cheader_filename = "gtk/gtk.h")]
7256 public const string PRINT_SETTINGS_RESOLUTION;
7257 [CCode (cheader_filename = "gtk/gtk.h")]
7258 public const string PRINT_SETTINGS_RESOLUTION_X;
7259 [CCode (cheader_filename = "gtk/gtk.h")]
7260 public const string PRINT_SETTINGS_RESOLUTION_Y;
7261 [CCode (cheader_filename = "gtk/gtk.h")]
7262 public const string PRINT_SETTINGS_REVERSE;
7263 [CCode (cheader_filename = "gtk/gtk.h")]
7264 public const string PRINT_SETTINGS_SCALE;
7265 [CCode (cheader_filename = "gtk/gtk.h")]
7266 public const string PRINT_SETTINGS_USE_COLOR;
7267 [CCode (cheader_filename = "gtk/gtk.h")]
7268 public const string PRINT_SETTINGS_WIN32_DRIVER_EXTRA;
7269 [CCode (cheader_filename = "gtk/gtk.h")]
7270 public const string PRINT_SETTINGS_WIN32_DRIVER_VERSION;
7271 [CCode (cheader_filename = "gtk/gtk.h")]
7272 public const int PRIORITY_RESIZE;
7273 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
7274 [CCode (cheader_filename = "gtk/gtk.h")]
7275 public const string STOCK_ABOUT;
7276 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
7277 [CCode (cheader_filename = "gtk/gtk.h")]
7278 public const string STOCK_ADD;
7279 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
7280 [CCode (cheader_filename = "gtk/gtk.h")]
7281 public const string STOCK_APPLY;
7282 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
7283 [CCode (cheader_filename = "gtk/gtk.h")]
7284 public const string STOCK_BOLD;
7285 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
7286 [CCode (cheader_filename = "gtk/gtk.h")]
7287 public const string STOCK_CANCEL;
7288 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
7289 [CCode (cheader_filename = "gtk/gtk.h")]
7290 public const string STOCK_CAPS_LOCK_WARNING;
7291 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
7292 [CCode (cheader_filename = "gtk/gtk.h")]
7293 public const string STOCK_CDROM;
7294 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
7295 [CCode (cheader_filename = "gtk/gtk.h")]
7296 public const string STOCK_CLEAR;
7297 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
7298 [CCode (cheader_filename = "gtk/gtk.h")]
7299 public const string STOCK_CLOSE;
7300 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
7301 [CCode (cheader_filename = "gtk/gtk.h")]
7302 public const string STOCK_COLOR_PICKER;
7303 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
7304 [CCode (cheader_filename = "gtk/gtk.h")]
7305 public const string STOCK_CONNECT;
7306 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
7307 [CCode (cheader_filename = "gtk/gtk.h")]
7308 public const string STOCK_CONVERT;
7309 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
7310 [CCode (cheader_filename = "gtk/gtk.h")]
7311 public const string STOCK_COPY;
7312 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
7313 [CCode (cheader_filename = "gtk/gtk.h")]
7314 public const string STOCK_CUT;
7315 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
7316 [CCode (cheader_filename = "gtk/gtk.h")]
7317 public const string STOCK_DELETE;
7318 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
7319 [CCode (cheader_filename = "gtk/gtk.h")]
7320 public const string STOCK_DIALOG_AUTHENTICATION;
7321 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
7322 [CCode (cheader_filename = "gtk/gtk.h")]
7323 public const string STOCK_DIALOG_ERROR;
7324 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
7325 [CCode (cheader_filename = "gtk/gtk.h")]
7326 public const string STOCK_DIALOG_INFO;
7327 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
7328 [CCode (cheader_filename = "gtk/gtk.h")]
7329 public const string STOCK_DIALOG_QUESTION;
7330 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
7331 [CCode (cheader_filename = "gtk/gtk.h")]
7332 public const string STOCK_DIALOG_WARNING;
7333 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
7334 [CCode (cheader_filename = "gtk/gtk.h")]
7335 public const string STOCK_DIRECTORY;
7336 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
7337 [CCode (cheader_filename = "gtk/gtk.h")]
7338 public const string STOCK_DISCARD;
7339 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
7340 [CCode (cheader_filename = "gtk/gtk.h")]
7341 public const string STOCK_DISCONNECT;
7342 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DND")]
7343 [CCode (cheader_filename = "gtk/gtk.h")]
7344 public const string STOCK_DND;
7345 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
7346 [CCode (cheader_filename = "gtk/gtk.h")]
7347 public const string STOCK_DND_MULTIPLE;
7348 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
7349 [CCode (cheader_filename = "gtk/gtk.h")]
7350 public const string STOCK_EDIT;
7351 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
7352 [CCode (cheader_filename = "gtk/gtk.h")]
7353 public const string STOCK_EXECUTE;
7354 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
7355 [CCode (cheader_filename = "gtk/gtk.h")]
7356 public const string STOCK_FILE;
7357 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
7358 [CCode (cheader_filename = "gtk/gtk.h")]
7359 public const string STOCK_FIND;
7360 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
7361 [CCode (cheader_filename = "gtk/gtk.h")]
7362 public const string STOCK_FIND_AND_REPLACE;
7363 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
7364 [CCode (cheader_filename = "gtk/gtk.h")]
7365 public const string STOCK_FLOPPY;
7366 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
7367 [CCode (cheader_filename = "gtk/gtk.h")]
7368 public const string STOCK_FULLSCREEN;
7369 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
7370 [CCode (cheader_filename = "gtk/gtk.h")]
7371 public const string STOCK_GOTO_BOTTOM;
7372 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
7373 [CCode (cheader_filename = "gtk/gtk.h")]
7374 public const string STOCK_GOTO_FIRST;
7375 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
7376 [CCode (cheader_filename = "gtk/gtk.h")]
7377 public const string STOCK_GOTO_LAST;
7378 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
7379 [CCode (cheader_filename = "gtk/gtk.h")]
7380 public const string STOCK_GOTO_TOP;
7381 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
7382 [CCode (cheader_filename = "gtk/gtk.h")]
7383 public const string STOCK_GO_BACK;
7384 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
7385 [CCode (cheader_filename = "gtk/gtk.h")]
7386 public const string STOCK_GO_DOWN;
7387 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
7388 [CCode (cheader_filename = "gtk/gtk.h")]
7389 public const string STOCK_GO_FORWARD;
7390 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
7391 [CCode (cheader_filename = "gtk/gtk.h")]
7392 public const string STOCK_GO_UP;
7393 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
7394 [CCode (cheader_filename = "gtk/gtk.h")]
7395 public const string STOCK_HARDDISK;
7396 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
7397 [CCode (cheader_filename = "gtk/gtk.h")]
7398 public const string STOCK_HELP;
7399 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
7400 [CCode (cheader_filename = "gtk/gtk.h")]
7401 public const string STOCK_HOME;
7402 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
7403 [CCode (cheader_filename = "gtk/gtk.h")]
7404 public const string STOCK_INDENT;
7405 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
7406 [CCode (cheader_filename = "gtk/gtk.h")]
7407 public const string STOCK_INDEX;
7408 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
7409 [CCode (cheader_filename = "gtk/gtk.h")]
7410 public const string STOCK_INFO;
7411 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
7412 [CCode (cheader_filename = "gtk/gtk.h")]
7413 public const string STOCK_ITALIC;
7414 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
7415 [CCode (cheader_filename = "gtk/gtk.h")]
7416 public const string STOCK_JUMP_TO;
7417 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
7418 [CCode (cheader_filename = "gtk/gtk.h")]
7419 public const string STOCK_JUSTIFY_CENTER;
7420 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
7421 [CCode (cheader_filename = "gtk/gtk.h")]
7422 public const string STOCK_JUSTIFY_FILL;
7423 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
7424 [CCode (cheader_filename = "gtk/gtk.h")]
7425 public const string STOCK_JUSTIFY_LEFT;
7426 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
7427 [CCode (cheader_filename = "gtk/gtk.h")]
7428 public const string STOCK_JUSTIFY_RIGHT;
7429 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
7430 [CCode (cheader_filename = "gtk/gtk.h")]
7431 public const string STOCK_LEAVE_FULLSCREEN;
7432 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
7433 [CCode (cheader_filename = "gtk/gtk.h")]
7434 public const string STOCK_MEDIA_FORWARD;
7435 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
7436 [CCode (cheader_filename = "gtk/gtk.h")]
7437 public const string STOCK_MEDIA_NEXT;
7438 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
7439 [CCode (cheader_filename = "gtk/gtk.h")]
7440 public const string STOCK_MEDIA_PAUSE;
7441 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
7442 [CCode (cheader_filename = "gtk/gtk.h")]
7443 public const string STOCK_MEDIA_PLAY;
7444 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
7445 [CCode (cheader_filename = "gtk/gtk.h")]
7446 public const string STOCK_MEDIA_PREVIOUS;
7447 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
7448 [CCode (cheader_filename = "gtk/gtk.h")]
7449 public const string STOCK_MEDIA_RECORD;
7450 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
7451 [CCode (cheader_filename = "gtk/gtk.h")]
7452 public const string STOCK_MEDIA_REWIND;
7453 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
7454 [CCode (cheader_filename = "gtk/gtk.h")]
7455 public const string STOCK_MEDIA_STOP;
7456 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
7457 [CCode (cheader_filename = "gtk/gtk.h")]
7458 public const string STOCK_MISSING_IMAGE;
7459 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
7460 [CCode (cheader_filename = "gtk/gtk.h")]
7461 public const string STOCK_NETWORK;
7462 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
7463 [CCode (cheader_filename = "gtk/gtk.h")]
7464 public const string STOCK_NEW;
7465 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.NO")]
7466 [CCode (cheader_filename = "gtk/gtk.h")]
7467 public const string STOCK_NO;
7468 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.OK")]
7469 [CCode (cheader_filename = "gtk/gtk.h")]
7470 public const string STOCK_OK;
7471 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
7472 [CCode (cheader_filename = "gtk/gtk.h")]
7473 public const string STOCK_OPEN;
7474 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
7475 [CCode (cheader_filename = "gtk/gtk.h")]
7476 public const string STOCK_ORIENTATION_LANDSCAPE;
7477 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
7478 [CCode (cheader_filename = "gtk/gtk.h")]
7479 public const string STOCK_ORIENTATION_PORTRAIT;
7480 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
7481 [CCode (cheader_filename = "gtk/gtk.h")]
7482 public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE;
7483 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
7484 [CCode (cheader_filename = "gtk/gtk.h")]
7485 public const string STOCK_ORIENTATION_REVERSE_PORTRAIT;
7486 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
7487 [CCode (cheader_filename = "gtk/gtk.h")]
7488 public const string STOCK_PAGE_SETUP;
7489 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
7490 [CCode (cheader_filename = "gtk/gtk.h")]
7491 public const string STOCK_PASTE;
7492 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
7493 [CCode (cheader_filename = "gtk/gtk.h")]
7494 public const string STOCK_PREFERENCES;
7495 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
7496 [CCode (cheader_filename = "gtk/gtk.h")]
7497 public const string STOCK_PRINT;
7498 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
7499 [CCode (cheader_filename = "gtk/gtk.h")]
7500 public const string STOCK_PRINT_ERROR;
7501 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
7502 [CCode (cheader_filename = "gtk/gtk.h")]
7503 public const string STOCK_PRINT_PAUSED;
7504 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
7505 [CCode (cheader_filename = "gtk/gtk.h")]
7506 public const string STOCK_PRINT_PREVIEW;
7507 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
7508 [CCode (cheader_filename = "gtk/gtk.h")]
7509 public const string STOCK_PRINT_REPORT;
7510 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
7511 [CCode (cheader_filename = "gtk/gtk.h")]
7512 public const string STOCK_PRINT_WARNING;
7513 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
7514 [CCode (cheader_filename = "gtk/gtk.h")]
7515 public const string STOCK_PROPERTIES;
7516 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
7517 [CCode (cheader_filename = "gtk/gtk.h")]
7518 public const string STOCK_QUIT;
7519 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
7520 [CCode (cheader_filename = "gtk/gtk.h")]
7521 public const string STOCK_REDO;
7522 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
7523 [CCode (cheader_filename = "gtk/gtk.h")]
7524 public const string STOCK_REFRESH;
7525 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
7526 [CCode (cheader_filename = "gtk/gtk.h")]
7527 public const string STOCK_REMOVE;
7528 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
7529 [CCode (cheader_filename = "gtk/gtk.h")]
7530 public const string STOCK_REVERT_TO_SAVED;
7531 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
7532 [CCode (cheader_filename = "gtk/gtk.h")]
7533 public const string STOCK_SAVE;
7534 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
7535 [CCode (cheader_filename = "gtk/gtk.h")]
7536 public const string STOCK_SAVE_AS;
7537 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
7538 [CCode (cheader_filename = "gtk/gtk.h")]
7539 public const string STOCK_SELECT_ALL;
7540 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
7541 [CCode (cheader_filename = "gtk/gtk.h")]
7542 public const string STOCK_SELECT_COLOR;
7543 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
7544 [CCode (cheader_filename = "gtk/gtk.h")]
7545 public const string STOCK_SELECT_FONT;
7546 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
7547 [CCode (cheader_filename = "gtk/gtk.h")]
7548 public const string STOCK_SORT_ASCENDING;
7549 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
7550 [CCode (cheader_filename = "gtk/gtk.h")]
7551 public const string STOCK_SORT_DESCENDING;
7552 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
7553 [CCode (cheader_filename = "gtk/gtk.h")]
7554 public const string STOCK_SPELL_CHECK;
7555 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
7556 [CCode (cheader_filename = "gtk/gtk.h")]
7557 public const string STOCK_STOP;
7558 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
7559 [CCode (cheader_filename = "gtk/gtk.h")]
7560 public const string STOCK_STRIKETHROUGH;
7561 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
7562 [CCode (cheader_filename = "gtk/gtk.h")]
7563 public const string STOCK_UNDELETE;
7564 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
7565 [CCode (cheader_filename = "gtk/gtk.h")]
7566 public const string STOCK_UNDERLINE;
7567 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
7568 [CCode (cheader_filename = "gtk/gtk.h")]
7569 public const string STOCK_UNDO;
7570 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
7571 [CCode (cheader_filename = "gtk/gtk.h")]
7572 public const string STOCK_UNINDENT;
7573 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.YES")]
7574 [CCode (cheader_filename = "gtk/gtk.h")]
7575 public const string STOCK_YES;
7576 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
7577 [CCode (cheader_filename = "gtk/gtk.h")]
7578 public const string STOCK_ZOOM_100;
7579 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
7580 [CCode (cheader_filename = "gtk/gtk.h")]
7581 public const string STOCK_ZOOM_FIT;
7582 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
7583 [CCode (cheader_filename = "gtk/gtk.h")]
7584 public const string STOCK_ZOOM_IN;
7585 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
7586 [CCode (cheader_filename = "gtk/gtk.h")]
7587 public const string STOCK_ZOOM_OUT;
7588 [CCode (cheader_filename = "gtk/gtk.h")]
7589 public const string STYLE_CLASS_ACCELERATOR;
7590 [CCode (cheader_filename = "gtk/gtk.h")]
7591 public const string STYLE_CLASS_BACKGROUND;
7592 [CCode (cheader_filename = "gtk/gtk.h")]
7593 public const string STYLE_CLASS_BUTTON;
7594 [CCode (cheader_filename = "gtk/gtk.h")]
7595 public const string STYLE_CLASS_CALENDAR;
7596 [CCode (cheader_filename = "gtk/gtk.h")]
7597 public const string STYLE_CLASS_CELL;
7598 [CCode (cheader_filename = "gtk/gtk.h")]
7599 public const string STYLE_CLASS_CHECK;
7600 [CCode (cheader_filename = "gtk/gtk.h")]
7601 public const string STYLE_CLASS_DEFAULT;
7602 [CCode (cheader_filename = "gtk/gtk.h")]
7603 public const string STYLE_CLASS_DND;
7604 [CCode (cheader_filename = "gtk/gtk.h")]
7605 public const string STYLE_CLASS_DOCK;
7606 [CCode (cheader_filename = "gtk/gtk.h")]
7607 public const string STYLE_CLASS_ENTRY;
7608 [CCode (cheader_filename = "gtk/gtk.h")]
7609 public const string STYLE_CLASS_ERROR;
7610 [CCode (cheader_filename = "gtk/gtk.h")]
7611 public const string STYLE_CLASS_EXPANDER;
7612 [CCode (cheader_filename = "gtk/gtk.h")]
7613 public const string STYLE_CLASS_FRAME;
7614 [CCode (cheader_filename = "gtk/gtk.h")]
7615 public const string STYLE_CLASS_GRIP;
7616 [CCode (cheader_filename = "gtk/gtk.h")]
7617 public const string STYLE_CLASS_HEADER;
7618 [CCode (cheader_filename = "gtk/gtk.h")]
7619 public const string STYLE_CLASS_HIGHLIGHT;
7620 [CCode (cheader_filename = "gtk/gtk.h")]
7621 public const string STYLE_CLASS_HORIZONTAL;
7622 [CCode (cheader_filename = "gtk/gtk.h")]
7623 public const string STYLE_CLASS_INFO;
7624 [CCode (cheader_filename = "gtk/gtk.h")]
7625 public const string STYLE_CLASS_INLINE_TOOLBAR;
7626 [CCode (cheader_filename = "gtk/gtk.h")]
7627 public const string STYLE_CLASS_MARK;
7628 [CCode (cheader_filename = "gtk/gtk.h")]
7629 public const string STYLE_CLASS_MENU;
7630 [CCode (cheader_filename = "gtk/gtk.h")]
7631 public const string STYLE_CLASS_MENUBAR;
7632 [CCode (cheader_filename = "gtk/gtk.h")]
7633 public const string STYLE_CLASS_MENUITEM;
7634 [CCode (cheader_filename = "gtk/gtk.h")]
7635 public const string STYLE_CLASS_NOTEBOOK;
7636 [CCode (cheader_filename = "gtk/gtk.h")]
7637 public const string STYLE_CLASS_PANE_SEPARATOR;
7638 [CCode (cheader_filename = "gtk/gtk.h")]
7639 public const string STYLE_CLASS_PRIMARY_TOOLBAR;
7640 [CCode (cheader_filename = "gtk/gtk.h")]
7641 public const string STYLE_CLASS_PROGRESSBAR;
7642 [CCode (cheader_filename = "gtk/gtk.h")]
7643 public const string STYLE_CLASS_QUESTION;
7644 [CCode (cheader_filename = "gtk/gtk.h")]
7645 public const string STYLE_CLASS_RADIO;
7646 [CCode (cheader_filename = "gtk/gtk.h")]
7647 public const string STYLE_CLASS_RAISED;
7648 [CCode (cheader_filename = "gtk/gtk.h")]
7649 public const string STYLE_CLASS_RUBBERBAND;
7650 [CCode (cheader_filename = "gtk/gtk.h")]
7651 public const string STYLE_CLASS_SCALE;
7652 [CCode (cheader_filename = "gtk/gtk.h")]
7653 public const string STYLE_CLASS_SCALE_HAS_MARKS_ABOVE;
7654 [CCode (cheader_filename = "gtk/gtk.h")]
7655 public const string STYLE_CLASS_SCALE_HAS_MARKS_BELOW;
7656 [CCode (cheader_filename = "gtk/gtk.h")]
7657 public const string STYLE_CLASS_SCROLLBAR;
7658 [CCode (cheader_filename = "gtk/gtk.h")]
7659 public const string STYLE_CLASS_SEPARATOR;
7660 [CCode (cheader_filename = "gtk/gtk.h")]
7661 public const string STYLE_CLASS_SIDEBAR;
7662 [CCode (cheader_filename = "gtk/gtk.h")]
7663 public const string STYLE_CLASS_SLIDER;
7664 [CCode (cheader_filename = "gtk/gtk.h")]
7665 public const string STYLE_CLASS_SPINBUTTON;
7666 [CCode (cheader_filename = "gtk/gtk.h")]
7667 public const string STYLE_CLASS_SPINNER;
7668 [CCode (cheader_filename = "gtk/gtk.h")]
7669 public const string STYLE_CLASS_TOOLBAR;
7670 [CCode (cheader_filename = "gtk/gtk.h")]
7671 public const string STYLE_CLASS_TOOLTIP;
7672 [CCode (cheader_filename = "gtk/gtk.h")]
7673 public const string STYLE_CLASS_TROUGH;
7674 [CCode (cheader_filename = "gtk/gtk.h")]
7675 public const string STYLE_CLASS_VERTICAL;
7676 [CCode (cheader_filename = "gtk/gtk.h")]
7677 public const string STYLE_CLASS_VIEW;
7678 [CCode (cheader_filename = "gtk/gtk.h")]
7679 public const string STYLE_CLASS_WARNING;
7680 [CCode (cheader_filename = "gtk/gtk.h")]
7681 public const string STYLE_PROPERTY_BACKGROUND_COLOR;
7682 [CCode (cheader_filename = "gtk/gtk.h")]
7683 public const string STYLE_PROPERTY_BACKGROUND_IMAGE;
7684 [CCode (cheader_filename = "gtk/gtk.h")]
7685 public const string STYLE_PROPERTY_BORDER_COLOR;
7686 [CCode (cheader_filename = "gtk/gtk.h")]
7687 public const string STYLE_PROPERTY_BORDER_RADIUS;
7688 [CCode (cheader_filename = "gtk/gtk.h")]
7689 public const string STYLE_PROPERTY_BORDER_STYLE;
7690 [CCode (cheader_filename = "gtk/gtk.h")]
7691 public const string STYLE_PROPERTY_BORDER_WIDTH;
7692 [CCode (cheader_filename = "gtk/gtk.h")]
7693 public const string STYLE_PROPERTY_COLOR;
7694 [CCode (cheader_filename = "gtk/gtk.h")]
7695 public const string STYLE_PROPERTY_FONT;
7696 [CCode (cheader_filename = "gtk/gtk.h")]
7697 public const string STYLE_PROPERTY_MARGIN;
7698 [CCode (cheader_filename = "gtk/gtk.h")]
7699 public const string STYLE_PROPERTY_PADDING;
7700 [CCode (cheader_filename = "gtk/gtk.h")]
7701 public const int STYLE_PROVIDER_PRIORITY_APPLICATION;
7702 [CCode (cheader_filename = "gtk/gtk.h")]
7703 public const int STYLE_PROVIDER_PRIORITY_FALLBACK;
7704 [CCode (cheader_filename = "gtk/gtk.h")]
7705 public const int STYLE_PROVIDER_PRIORITY_SETTINGS;
7706 [CCode (cheader_filename = "gtk/gtk.h")]
7707 public const int STYLE_PROVIDER_PRIORITY_THEME;
7708 [CCode (cheader_filename = "gtk/gtk.h")]
7709 public const int STYLE_PROVIDER_PRIORITY_USER;
7710 [CCode (cheader_filename = "gtk/gtk.h")]
7711 public const string STYLE_REGION_COLUMN;
7712 [CCode (cheader_filename = "gtk/gtk.h")]
7713 public const string STYLE_REGION_COLUMN_HEADER;
7714 [CCode (cheader_filename = "gtk/gtk.h")]
7715 public const string STYLE_REGION_ROW;
7716 [CCode (cheader_filename = "gtk/gtk.h")]
7717 public const string STYLE_REGION_TAB;
7718 [CCode (cheader_filename = "gtk/gtk.h")]
7719 public const int TEXT_VIEW_PRIORITY_VALIDATE;
7720 [CCode (cheader_filename = "gtk/gtk.h")]
7721 public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods);
7722 [CCode (cheader_filename = "gtk/gtk.h")]
7723 public static unowned GLib.SList<Gtk.AccelGroup> accel_groups_from_object (GLib.Object object);
7724 [CCode (cheader_filename = "gtk/gtk.h")]
7725 public static Gdk.ModifierType accelerator_get_default_mod_mask ();
7726 [CCode (cheader_filename = "gtk/gtk.h")]
7727 public static unowned string accelerator_get_label (uint accelerator_key, Gdk.ModifierType accelerator_mods);
7728 [CCode (cheader_filename = "gtk/gtk.h")]
7729 public static unowned string accelerator_name (uint accelerator_key, Gdk.ModifierType accelerator_mods);
7730 [CCode (cheader_filename = "gtk/gtk.h")]
7731 public static void accelerator_parse (string accelerator, out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
7732 [CCode (cheader_filename = "gtk/gtk.h")]
7733 public static void accelerator_set_default_mod_mask (Gdk.ModifierType default_mod_mask);
7734 [CCode (cheader_filename = "gtk/gtk.h")]
7735 public static bool accelerator_valid (uint keyval, Gdk.ModifierType modifiers);
7736 [CCode (cheader_filename = "gtk/gtk.h")]
7737 public static bool alternative_dialog_button_order (Gdk.Screen screen);
7738 [CCode (cheader_filename = "gtk/gtk.h")]
7739 public static bool bindings_activate (GLib.Object object, uint keyval, Gdk.ModifierType modifiers);
7740 [CCode (cheader_filename = "gtk/gtk.h")]
7741 public static bool bindings_activate_event (GLib.Object object, Gdk.EventKey event);
7742 [CCode (cheader_filename = "gtk/gtk.h")]
7743 public static bool cairo_should_draw_window (Cairo.Context cr, Gdk.Window window);
7744 [CCode (cheader_filename = "gtk/gtk.h")]
7745 public static void cairo_transform_to_window (Cairo.Context cr, Gtk.Widget widget, Gdk.Window window);
7746 [CCode (cheader_filename = "gtk/gtk.h")]
7747 public static unowned string check_version (uint required_major, uint required_minor, uint required_micro);
7748 [CCode (cheader_filename = "gtk/gtk.h")]
7749 public static void device_grab_add (Gtk.Widget widget, Gdk.Device device, bool block_others);
7750 [CCode (cheader_filename = "gtk/gtk.h")]
7751 public static void device_grab_remove (Gtk.Widget widget, Gdk.Device device);
7752 [CCode (cheader_filename = "gtk/gtk.h")]
7753 public static void disable_setlocale ();
7754 [CCode (cheader_filename = "gtk/gtk.h")]
7755 public static int distribute_natural_allocation (int extra_space, uint n_requested_sizes, Gtk.RequestedSize sizes);
7756 [CCode (cheader_filename = "gtk/gtk.h")]
7757 public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event event);
7758 [CCode (cheader_filename = "gtk/gtk.h")]
7759 public static bool drag_check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x, int current_y);
7760 [CCode (cheader_filename = "gtk/gtk.h")]
7761 public static void drag_dest_add_image_targets (Gtk.Widget widget);
7762 [CCode (cheader_filename = "gtk/gtk.h")]
7763 public static void drag_dest_add_text_targets (Gtk.Widget widget);
7764 [CCode (cheader_filename = "gtk/gtk.h")]
7765 public static void drag_dest_add_uri_targets (Gtk.Widget widget);
7766 [CCode (cheader_filename = "gtk/gtk.h")]
7767 public static Gdk.Atom drag_dest_find_target (Gtk.Widget widget, Gdk.DragContext context, Gtk.TargetList target_list);
7768 [CCode (cheader_filename = "gtk/gtk.h")]
7769 public static unowned Gtk.TargetList drag_dest_get_target_list (Gtk.Widget widget);
7770 [CCode (cheader_filename = "gtk/gtk.h")]
7771 public static bool drag_dest_get_track_motion (Gtk.Widget widget);
7772 [CCode (cheader_filename = "gtk/gtk.h")]
7773 public static void drag_dest_set (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
7774 [CCode (cheader_filename = "gtk/gtk.h")]
7775 public static void drag_dest_set_proxy (Gtk.Widget widget, Gdk.Window proxy_window, Gdk.DragProtocol protocol, bool use_coordinates);
7776 [CCode (cheader_filename = "gtk/gtk.h")]
7777 public static void drag_dest_set_target_list (Gtk.Widget widget, Gtk.TargetList target_list);
7778 [CCode (cheader_filename = "gtk/gtk.h")]
7779 public static void drag_dest_set_track_motion (Gtk.Widget widget, bool track_motion);
7780 [CCode (cheader_filename = "gtk/gtk.h")]
7781 public static void drag_dest_unset (Gtk.Widget widget);
7782 [CCode (cheader_filename = "gtk/gtk.h")]
7783 public static void drag_finish (Gdk.DragContext context, bool success, bool del, uint32 time_);
7784 [CCode (cheader_filename = "gtk/gtk.h")]
7785 public static void drag_get_data (Gtk.Widget widget, Gdk.DragContext context, Gdk.Atom target, uint32 time_);
7786 [CCode (cheader_filename = "gtk/gtk.h")]
7787 public static unowned Gtk.Widget drag_get_source_widget (Gdk.DragContext context);
7788 [CCode (cheader_filename = "gtk/gtk.h")]
7789 public static void drag_highlight (Gtk.Widget widget);
7790 [CCode (cheader_filename = "gtk/gtk.h")]
7791 public static void drag_set_icon_default (Gdk.DragContext context);
7792 [CCode (cheader_filename = "gtk/gtk.h")]
7793 public static void drag_set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y);
7794 [CCode (cheader_filename = "gtk/gtk.h")]
7795 public static void drag_set_icon_pixbuf (Gdk.DragContext context, Gdk.Pixbuf pixbuf, int hot_x, int hot_y);
7796 [CCode (cheader_filename = "gtk/gtk.h")]
7797 public static void drag_set_icon_stock (Gdk.DragContext context, string stock_id, int hot_x, int hot_y);
7798 [CCode (cheader_filename = "gtk/gtk.h")]
7799 public static void drag_set_icon_surface (Gdk.DragContext context, Cairo.Surface surface);
7800 [CCode (cheader_filename = "gtk/gtk.h")]
7801 public static void drag_set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int hot_y);
7802 [CCode (cheader_filename = "gtk/gtk.h")]
7803 public static void drag_source_add_image_targets (Gtk.Widget widget);
7804 [CCode (cheader_filename = "gtk/gtk.h")]
7805 public static void drag_source_add_text_targets (Gtk.Widget widget);
7806 [CCode (cheader_filename = "gtk/gtk.h")]
7807 public static void drag_source_add_uri_targets (Gtk.Widget widget);
7808 [CCode (cheader_filename = "gtk/gtk.h")]
7809 public static unowned Gtk.TargetList drag_source_get_target_list (Gtk.Widget widget);
7810 [CCode (cheader_filename = "gtk/gtk.h")]
7811 public static void drag_source_set (Gtk.Widget widget, Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
7812 [CCode (cheader_filename = "gtk/gtk.h")]
7813 public static void drag_source_set_icon_name (Gtk.Widget widget, string icon_name);
7814 [CCode (cheader_filename = "gtk/gtk.h")]
7815 public static void drag_source_set_icon_pixbuf (Gtk.Widget widget, Gdk.Pixbuf pixbuf);
7816 [CCode (cheader_filename = "gtk/gtk.h")]
7817 public static void drag_source_set_icon_stock (Gtk.Widget widget, string stock_id);
7818 [CCode (cheader_filename = "gtk/gtk.h")]
7819 public static void drag_source_set_target_list (Gtk.Widget widget, Gtk.TargetList target_list);
7820 [CCode (cheader_filename = "gtk/gtk.h")]
7821 public static void drag_source_unset (Gtk.Widget widget);
7822 [CCode (cheader_filename = "gtk/gtk.h")]
7823 public static void drag_unhighlight (Gtk.Widget widget);
7824 [CCode (cheader_filename = "gtk/gtk.h")]
7825 public static void draw_insertion_cursor (Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow);
7826 [CCode (cheader_filename = "gtk/gtk.h")]
7827 public static bool events_pending ();
7828 [CCode (cheader_filename = "gtk/gtk.h")]
7829 public static uint get_binary_age ();
7830 [CCode (cheader_filename = "gtk/gtk.h")]
7831 public static Gdk.Event get_current_event ();
7832 [CCode (cheader_filename = "gtk/gtk.h")]
7833 public static unowned Gdk.Device get_current_event_device ();
7834 [CCode (cheader_filename = "gtk/gtk.h")]
7835 public static bool get_current_event_state (out Gdk.ModifierType state);
7836 [CCode (cheader_filename = "gtk/gtk.h")]
7837 public static uint32 get_current_event_time ();
7838 [CCode (cheader_filename = "gtk/gtk.h")]
7839 public static uint get_debug_flags ();
7840 [CCode (cheader_filename = "gtk/gtk.h")]
7841 public static unowned Pango.Language get_default_language ();
7842 [CCode (cheader_filename = "gtk/gtk.h")]
7843 public static unowned Gtk.Widget get_event_widget (Gdk.Event event);
7844 [CCode (cheader_filename = "gtk/gtk.h")]
7845 public static uint get_interface_age ();
7846 [CCode (cheader_filename = "gtk/gtk.h")]
7847 public static uint get_major_version ();
7848 [CCode (cheader_filename = "gtk/gtk.h")]
7849 public static uint get_micro_version ();
7850 [CCode (cheader_filename = "gtk/gtk.h")]
7851 public static uint get_minor_version ();
7852 [CCode (cheader_filename = "gtk/gtk.h")]
7853 public static GLib.OptionGroup get_option_group (bool open_default_display);
7854 [CCode (cheader_filename = "gtk/gtk.h")]
7855 public static void grab_add (Gtk.Widget widget);
7856 [CCode (cheader_filename = "gtk/gtk.h")]
7857 public static unowned Gtk.Widget grab_get_current ();
7858 [CCode (cheader_filename = "gtk/gtk.h")]
7859 public static void grab_remove (Gtk.Widget widget);
7860 [CCode (cheader_filename = "gtk/gtk.h")]
7861 public static Gtk.IconSize icon_size_from_name (string name);
7862 [CCode (cheader_filename = "gtk/gtk.h")]
7863 public static unowned string icon_size_get_name (Gtk.IconSize size);
7864 [CCode (cheader_filename = "gtk/gtk.h")]
7865 public static bool icon_size_lookup (Gtk.IconSize size, out int width, out int height);
7866 [CCode (cheader_filename = "gtk/gtk.h")]
7867 public static bool icon_size_lookup_for_settings (Gtk.Settings settings, Gtk.IconSize size, out int width, out int height);
7868 [CCode (cheader_filename = "gtk/gtk.h")]
7869 public static Gtk.IconSize icon_size_register (string name, int width, int height);
7870 [CCode (cheader_filename = "gtk/gtk.h")]
7871 public static void icon_size_register_alias (string alias, Gtk.IconSize target);
7872 [CCode (cheader_filename = "gtk/gtk.h")]
7873 public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
7874 [CCode (cheader_filename = "gtk/gtk.h")]
7875 public static bool init_check ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
7876 [CCode (cheader_filename = "gtk/gtk.h")]
7877 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;
7878 [CCode (cheader_filename = "gtk/gtk.h")]
7879 public static uint key_snooper_install (Gtk.KeySnoopFunc snooper, void* func_data);
7880 [CCode (cheader_filename = "gtk/gtk.h")]
7881 public static void key_snooper_remove (uint snooper_handler_id);
7882 [CCode (cheader_filename = "gtk/gtk.h")]
7883 public static void main ();
7884 [CCode (cheader_filename = "gtk/gtk.h")]
7885 public static void main_do_event (Gdk.Event event);
7886 [CCode (cheader_filename = "gtk/gtk.h")]
7887 public static bool main_iteration ();
7888 [CCode (cheader_filename = "gtk/gtk.h")]
7889 public static bool main_iteration_do (bool blocking);
7890 [CCode (cheader_filename = "gtk/gtk.h")]
7891 public static uint main_level ();
7892 [CCode (cheader_filename = "gtk/gtk.h")]
7893 public static void main_quit ();
7894 [CCode (cheader_filename = "gtk/gtk.h")]
7895 public static void paint_arrow (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height);
7896 [CCode (cheader_filename = "gtk/gtk.h")]
7897 public static void paint_box (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
7898 [CCode (cheader_filename = "gtk/gtk.h")]
7899 public static void paint_box_gap (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
7900 [CCode (cheader_filename = "gtk/gtk.h")]
7901 public static void paint_check (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
7902 [CCode (cheader_filename = "gtk/gtk.h")]
7903 public static void paint_diamond (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
7904 [CCode (cheader_filename = "gtk/gtk.h")]
7905 public static void paint_expander (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x, int y, Gtk.ExpanderStyle expander_style);
7906 [CCode (cheader_filename = "gtk/gtk.h")]
7907 public static void paint_extension (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side);
7908 [CCode (cheader_filename = "gtk/gtk.h")]
7909 public static void paint_flat_box (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
7910 [CCode (cheader_filename = "gtk/gtk.h")]
7911 public static void paint_focus (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
7912 [CCode (cheader_filename = "gtk/gtk.h")]
7913 public static void paint_handle (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.Orientation orientation);
7914 [CCode (cheader_filename = "gtk/gtk.h")]
7915 public static void paint_hline (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x1, int x2, int y);
7916 [CCode (cheader_filename = "gtk/gtk.h")]
7917 public static void paint_layout (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, bool use_text, Gtk.Widget? widget, string? detail, int x, int y, Pango.Layout layout);
7918 [CCode (cheader_filename = "gtk/gtk.h")]
7919 public static void paint_option (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
7920 [CCode (cheader_filename = "gtk/gtk.h")]
7921 public static void paint_resize_grip (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, Gdk.WindowEdge edge, int x, int y, int width, int height);
7922 [CCode (cheader_filename = "gtk/gtk.h")]
7923 public static void paint_shadow (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
7924 [CCode (cheader_filename = "gtk/gtk.h")]
7925 public static void paint_shadow_gap (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
7926 [CCode (cheader_filename = "gtk/gtk.h")]
7927 public static void paint_slider (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.Orientation orientation);
7928 [CCode (cheader_filename = "gtk/gtk.h")]
7929 public static void paint_spinner (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, uint step, int x, int y, int width, int height);
7930 [CCode (cheader_filename = "gtk/gtk.h")]
7931 public static void paint_tab (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
7932 [CCode (cheader_filename = "gtk/gtk.h")]
7933 public static void paint_vline (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int y1_, int y2_, int x);
7934 [CCode (cheader_filename = "gtk/gtk.h")]
7935 public static bool parse_args (int argc, string[] argv);
7936 [CCode (cheader_filename = "gtk/gtk.h")]
7937 public static GLib.Quark print_error_quark ();
7938 [CCode (cheader_filename = "gtk/gtk.h")]
7939 public static unowned Gtk.PageSetup print_run_page_setup_dialog (Gtk.Window parent, Gtk.PageSetup page_setup, Gtk.PrintSettings settings);
7940 [CCode (cheader_filename = "gtk/gtk.h")]
7941 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);
7942 [CCode (cheader_filename = "gtk/gtk.h")]
7943 public static void propagate_event (Gtk.Widget widget, Gdk.Event event);
7944 [CCode (cheader_filename = "gtk/gtk.h")]
7945 public static void rc_add_default_file (string filename);
7946 [CCode (cheader_filename = "gtk/gtk.h")]
7947 public static unowned string rc_find_module_in_path (string module_file);
7948 [CCode (cheader_filename = "gtk/gtk.h")]
7949 public static unowned string rc_find_pixmap_in_path (Gtk.Settings settings, GLib.Scanner scanner, string pixmap_file);
7950 [CCode (cheader_filename = "gtk/gtk.h")]
7951 public static unowned string rc_get_default_files ();
7952 [CCode (cheader_filename = "gtk/gtk.h")]
7953 public static unowned string rc_get_im_module_file ();
7954 [CCode (cheader_filename = "gtk/gtk.h")]
7955 public static unowned string rc_get_im_module_path ();
7956 [CCode (cheader_filename = "gtk/gtk.h")]
7957 public static unowned string rc_get_module_dir ();
7958 [CCode (cheader_filename = "gtk/gtk.h")]
7959 public static unowned Gtk.Style rc_get_style (Gtk.Widget widget);
7960 [CCode (cheader_filename = "gtk/gtk.h")]
7961 public static unowned Gtk.Style? rc_get_style_by_paths (Gtk.Settings settings, string? widget_path, string? class_path, GLib.Type type);
7962 [CCode (cheader_filename = "gtk/gtk.h")]
7963 public static unowned string rc_get_theme_dir ();
7964 [CCode (cheader_filename = "gtk/gtk.h")]
7965 public static void rc_parse (string filename);
7966 [CCode (cheader_filename = "gtk/gtk.h")]
7967 public static uint rc_parse_color (GLib.Scanner scanner, Gdk.Color color);
7968 [CCode (cheader_filename = "gtk/gtk.h")]
7969 public static uint rc_parse_color_full (GLib.Scanner scanner, Gtk.RcStyle style, Gdk.Color color);
7970 [CCode (cheader_filename = "gtk/gtk.h")]
7971 public static uint rc_parse_priority (GLib.Scanner scanner, Gtk.PathPriorityType priority);
7972 [CCode (cheader_filename = "gtk/gtk.h")]
7973 public static uint rc_parse_state (GLib.Scanner scanner, Gtk.StateType state);
7974 [CCode (cheader_filename = "gtk/gtk.h")]
7975 public static void rc_parse_string (string rc_string);
7976 [CCode (cheader_filename = "gtk/gtk.h")]
7977 public static bool rc_reparse_all ();
7978 [CCode (cheader_filename = "gtk/gtk.h")]
7979 public static bool rc_reparse_all_for_settings (Gtk.Settings settings, bool force_load);
7980 [CCode (cheader_filename = "gtk/gtk.h")]
7981 public static void rc_reset_styles (Gtk.Settings settings);
7982 [CCode (cheader_filename = "gtk/gtk.h")]
7983 public static unowned GLib.Scanner rc_scanner_new ();
7984 [CCode (cheader_filename = "gtk/gtk.h")]
7985 public static void rc_set_default_files (string filenames);
7986 [CCode (cheader_filename = "gtk/gtk.h")]
7987 public static void render_activity (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
7988 [CCode (cheader_filename = "gtk/gtk.h")]
7989 public static void render_arrow (Gtk.StyleContext context, Cairo.Context cr, double angle, double x, double y, double size);
7990 [CCode (cheader_filename = "gtk/gtk.h")]
7991 public static void render_background (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
7992 [CCode (cheader_filename = "gtk/gtk.h")]
7993 public static void render_check (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
7994 [CCode (cheader_filename = "gtk/gtk.h")]
7995 public static void render_expander (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
7996 [CCode (cheader_filename = "gtk/gtk.h")]
7997 public static void render_extension (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
7998 [CCode (cheader_filename = "gtk/gtk.h")]
7999 public static void render_focus (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
8000 [CCode (cheader_filename = "gtk/gtk.h")]
8001 public static void render_frame (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
8002 [CCode (cheader_filename = "gtk/gtk.h")]
8003 public static void render_frame_gap (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side, double xy0_gap, double xy1_gap);
8004 [CCode (cheader_filename = "gtk/gtk.h")]
8005 public static void render_handle (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
8006 [CCode (cheader_filename = "gtk/gtk.h")]
8007 public static unowned Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSource source, Gtk.IconSize size);
8008 [CCode (cheader_filename = "gtk/gtk.h")]
8009 public static void render_layout (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout);
8010 [CCode (cheader_filename = "gtk/gtk.h")]
8011 public static void render_line (Gtk.StyleContext context, Cairo.Context cr, double x0, double y0, double x1, double y1);
8012 [CCode (cheader_filename = "gtk/gtk.h")]
8013 public static void render_option (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
8014 [CCode (cheader_filename = "gtk/gtk.h")]
8015 public static void render_slider (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
8016 [CCode (cheader_filename = "gtk/gtk.h")]
8017 public static void rgb_to_hsv (double r, double g, double b, double h, double s, double v);
8018 [CCode (cheader_filename = "gtk/gtk.h")]
8019 public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info);
8020 [CCode (cheader_filename = "gtk/gtk.h")]
8021 public static void selection_add_targets (Gtk.Widget widget, Gdk.Atom selection, Gtk.TargetEntry[] targets, uint ntargets);
8022 [CCode (cheader_filename = "gtk/gtk.h")]
8023 public static void selection_clear_targets (Gtk.Widget widget, Gdk.Atom selection);
8024 [CCode (cheader_filename = "gtk/gtk.h")]
8025 public static bool selection_convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
8026 [CCode (cheader_filename = "gtk/gtk.h")]
8027 public static bool selection_owner_set (Gtk.Widget widget, Gdk.Atom selection, uint32 time_);
8028 [CCode (cheader_filename = "gtk/gtk.h")]
8029 public static bool selection_owner_set_for_display (Gdk.Display display, Gtk.Widget widget, Gdk.Atom selection, uint32 time_);
8030 [CCode (cheader_filename = "gtk/gtk.h")]
8031 public static void selection_remove_all (Gtk.Widget widget);
8032 [CCode (cheader_filename = "gtk/gtk.h")]
8033 public static void set_debug_flags (uint flags);
8034 [CCode (cheader_filename = "gtk/gtk.h")]
8035 public static void show_about_dialog (Gtk.Window? parent, ...);
8036 [CCode (cheader_filename = "gtk/gtk.h")]
8037 public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
8038 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.add")]
8039 [CCode (cheader_filename = "gtk/gtk.h")]
8040 public static void stock_add (Gtk.StockItem[] items);
8041 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.add_static")]
8042 [CCode (cheader_filename = "gtk/gtk.h")]
8043 public static void stock_add_static (Gtk.StockItem[] items);
8044 [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.list_ids")]
8045 [CCode (cheader_filename = "gtk/gtk.h")]
8046 public static GLib.SList<string> stock_list_ids ();
8047 [CCode (cheader_filename = "gtk/gtk.h")]
8048 public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
8049 [CCode (cheader_filename = "gtk/gtk.h")]
8050 public static void target_table_free (Gtk.TargetEntry[] targets);
8051 [CCode (cheader_filename = "gtk/gtk.h")]
8052 public static Gtk.TargetEntry target_table_new_from_list (Gtk.TargetList list, int n_targets);
8053 [CCode (cheader_filename = "gtk/gtk.h")]
8054 public static bool targets_include_image (Gdk.Atom[] targets, bool writable);
8055 [CCode (cheader_filename = "gtk/gtk.h")]
8056 public static bool targets_include_rich_text (Gdk.Atom[] targets, Gtk.TextBuffer buffer);
8057 [CCode (cheader_filename = "gtk/gtk.h")]
8058 public static bool targets_include_text (Gdk.Atom[] targets);
8059 [CCode (cheader_filename = "gtk/gtk.h")]
8060 public static bool targets_include_uri (Gdk.Atom[] targets);
8061 [CCode (cheader_filename = "gtk/gtk.h")]
8062 public static unowned Gtk.Widget test_create_simple_window (string window_title, string dialog_text);
8063 [CCode (cheader_filename = "gtk/gtk.h")]
8064 public static unowned Gtk.Widget test_create_widget (GLib.Type widget_type, ...);
8065 [CCode (cheader_filename = "gtk/gtk.h")]
8066 public static unowned Gtk.Widget test_display_button_window (string window_title, string dialog_text);
8067 [CCode (cheader_filename = "gtk/gtk.h")]
8068 public static unowned Gtk.Widget test_find_label (Gtk.Widget widget, string label_pattern);
8069 [CCode (cheader_filename = "gtk/gtk.h")]
8070 public static unowned Gtk.Widget test_find_sibling (Gtk.Widget base_widget, GLib.Type widget_type);
8071 [CCode (cheader_filename = "gtk/gtk.h")]
8072 public static unowned Gtk.Widget test_find_widget (Gtk.Widget widget, string label_pattern, GLib.Type widget_type);
8073 [CCode (cheader_filename = "gtk/gtk.h")]
8074 public static void test_init (int argcp, out unowned string argvp);
8075 [CCode (cheader_filename = "gtk/gtk.h")]
8076 public static unowned GLib.Type[] test_list_all_types (uint n_types);
8077 [CCode (cheader_filename = "gtk/gtk.h")]
8078 public static void test_register_all_types ();
8079 [CCode (cheader_filename = "gtk/gtk.h")]
8080 public static double test_slider_get_value (Gtk.Widget widget);
8081 [CCode (cheader_filename = "gtk/gtk.h")]
8082 public static void test_slider_set_perc (Gtk.Widget widget, double percentage);
8083 [CCode (cheader_filename = "gtk/gtk.h")]
8084 public static bool test_spin_button_click (Gtk.SpinButton spinner, uint button, bool upwards);
8085 [CCode (cheader_filename = "gtk/gtk.h")]
8086 public static unowned string test_text_get (Gtk.Widget widget);
8087 [CCode (cheader_filename = "gtk/gtk.h")]
8088 public static void test_text_set (Gtk.Widget widget, string str);
8089 [CCode (cheader_filename = "gtk/gtk.h")]
8090 public static bool test_widget_click (Gtk.Widget widget, uint button, Gdk.ModifierType modifiers);
8091 [CCode (cheader_filename = "gtk/gtk.h")]
8092 public static bool test_widget_send_key (Gtk.Widget widget, uint keyval, Gdk.ModifierType modifiers);
8093 [CCode (cheader_filename = "gtk/gtk.h")]
8094 public static bool tree_get_row_drag_data (Gtk.SelectionData selection_data, out unowned Gtk.TreeModel tree_model, out unowned Gtk.TreePath path);
8095 [CCode (cheader_filename = "gtk/gtk.h")]
8096 public static bool tree_set_row_drag_data (Gtk.SelectionData selection_data, Gtk.TreeModel tree_model, Gtk.TreePath path);