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