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