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