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