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