1 /* gtk+-3.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gtk", gir_namespace = "Gtk", gir_version = "3.0", lower_case_cprefix = "gtk_")]
5 [Version (deprecated_since = "3.10")]
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);
225 [CCode (cheader_filename = "gtk/gtk.h")]
226 public static void set_translate_func (string domain, owned Gtk.TranslateFunc func);
228 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_about_dialog_get_type ()")]
229 public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
230 [CCode (has_construct_function = false, type = "GtkWidget*")]
231 public AboutDialog ();
232 public void add_credit_section (string section_name, [CCode (array_length = false, array_null_terminated = true)] string[] people);
233 [CCode (array_length = false, array_null_terminated = true)]
234 public unowned string[] get_artists ();
235 [CCode (array_length = false, array_null_terminated = true)]
236 public unowned string[] get_authors ();
237 public unowned string get_comments ();
238 public unowned string get_copyright ();
239 [CCode (array_length = false, array_null_terminated = true)]
240 public unowned string[] get_documenters ();
241 public unowned string get_license ();
242 public Gtk.License get_license_type ();
243 public unowned Gdk.Pixbuf get_logo ();
244 public unowned string get_logo_icon_name ();
245 public unowned string get_program_name ();
246 public unowned string get_translator_credits ();
247 public unowned string get_version ();
248 public unowned string get_website ();
249 public unowned string get_website_label ();
250 public bool get_wrap_license ();
251 public void set_artists ([CCode (array_length = false, array_null_terminated = true)] string[] artists);
252 public void set_authors ([CCode (array_length = false, array_null_terminated = true)] string[] authors);
253 public void set_comments (string? comments);
254 public void set_copyright (string? copyright);
255 public void set_documenters ([CCode (array_length = false, array_null_terminated = true)] string[] documenters);
256 public void set_license (string? license);
257 public void set_license_type (Gtk.License license_type);
258 public void set_logo (Gdk.Pixbuf? logo);
259 public void set_logo_icon_name (string? icon_name);
260 public void set_program_name (string name);
261 public void set_translator_credits (string? translator_credits);
262 public void set_version (string? version);
263 public void set_website (string? website);
264 public void set_website_label (string website_label);
265 public void set_wrap_license (bool wrap_license);
266 [CCode (array_length = false, array_null_terminated = true)]
267 public string[] artists { get; set; }
268 [CCode (array_length = false, array_null_terminated = true)]
269 public string[] authors { get; set; }
270 public string comments { get; set; }
271 public string copyright { get; set; }
272 [CCode (array_length = false, array_null_terminated = true)]
273 public string[] documenters { get; set; }
274 public string license { get; set; }
275 public Gtk.License license_type { get; set; }
276 public Gdk.Pixbuf logo { get; set; }
277 public string logo_icon_name { get; set; }
278 public string program_name { get; set; }
279 public string translator_credits { get; set; }
280 public string version { get; set; }
281 public string website { get; set; }
282 public string website_label { get; set; }
283 public bool wrap_license { get; set; }
284 public virtual signal bool activate_link (string uri);
286 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_group_get_type ()")]
287 public class AccelGroup : GLib.Object {
288 [CCode (has_construct_function = false)]
289 public AccelGroup ();
290 public bool activate (GLib.Quark accel_quark, GLib.Object acceleratable, uint accel_key, Gdk.ModifierType accel_mods);
291 public void connect (uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
292 public void connect_by_path (string accel_path, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
293 public bool disconnect (GLib.Closure? closure);
294 public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods);
295 public Gtk.AccelKey* find (Gtk.AccelGroupFindFunc find_func);
296 public static unowned Gtk.AccelGroup? from_accel_closure (GLib.Closure closure);
297 public bool get_is_locked ();
298 public Gdk.ModifierType get_modifier_mask ();
299 public void @lock ();
300 [CCode (array_length_type = "guint")]
301 public unowned Gtk.AccelGroupEntry[]? query (uint accel_key, Gdk.ModifierType accel_mods);
302 public void unlock ();
303 public bool is_locked { get; }
304 public Gdk.ModifierType modifier_mask { get; }
305 public virtual signal bool accel_activate (GLib.Object p0, uint p1, Gdk.ModifierType p2);
306 public virtual signal void accel_changed (uint keyval, Gdk.ModifierType modifier, GLib.Closure accel_closure);
308 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_label_get_type ()")]
309 public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
310 [CCode (has_construct_function = false, type = "GtkWidget*")]
311 public AccelLabel (string str);
312 public void get_accel (out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
313 public unowned Gtk.Widget? get_accel_widget ();
314 public uint get_accel_width ();
315 public bool refetch ();
316 public void set_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods);
317 public void set_accel_closure ([CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate accel_closure);
318 public void set_accel_widget (Gtk.Widget accel_widget);
320 public GLib.Closure accel_closure { owned get; set; }
321 public Gtk.Widget accel_widget { get; set; }
323 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_map_get_type ()")]
324 public class AccelMap : GLib.Object {
325 [CCode (has_construct_function = false)]
326 protected AccelMap ();
327 public static void add_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
328 public static void add_filter (string filter_pattern);
329 public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace);
330 public static void @foreach (void* data, Gtk.AccelMapForeach foreach_func);
331 public static void foreach_unfiltered (void* data, Gtk.AccelMapForeach foreach_func);
332 public static unowned Gtk.AccelMap @get ();
333 public static void load (string file_name);
334 public static void load_fd (int fd);
335 public static void load_scanner (GLib.Scanner scanner);
336 public static void lock_path (string accel_path);
337 public static bool lookup_entry (string accel_path, out Gtk.AccelKey key);
338 public static void save (string file_name);
339 public static void save_fd (int fd);
340 public static void unlock_path (string accel_path);
341 public virtual signal void changed (string p0, uint p1, Gdk.ModifierType p2);
343 [CCode (cheader_filename = "gtk/gtk.h")]
345 public class AccelMapClass {
347 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_accessible_get_type ()")]
348 public class Accessible : Atk.Object {
349 [CCode (has_construct_function = false)]
350 protected Accessible ();
351 [Version (deprecated_since = "3.4", replacement = "Accessible.set_widget")]
352 public virtual void connect_widget_destroyed ();
353 public unowned Gtk.Widget get_widget ();
354 public void set_widget (Gtk.Widget? widget);
356 public virtual void widget_set ();
358 public virtual void widget_unset ();
359 public Gtk.Widget widget { get; set; }
361 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_get_type ()")]
362 [Version (deprecated_since = "3.10", replacement = "GLib.Action")]
363 public class Action : GLib.Object, Gtk.Buildable {
364 [CCode (has_construct_function = false)]
365 public Action (string name, string? label, string? tooltip, string? stock_id);
366 public void block_activate ();
367 public void connect_accelerator ();
369 public virtual void connect_proxy (Gtk.Widget proxy);
370 public unowned Gtk.Widget create_icon (Gtk.IconSize icon_size);
371 public virtual unowned Gtk.Widget create_menu ();
372 public virtual unowned Gtk.Widget create_menu_item ();
373 public virtual unowned Gtk.Widget create_tool_item ();
374 public void disconnect_accelerator ();
376 public virtual void disconnect_proxy (Gtk.Widget proxy);
377 public unowned GLib.Closure get_accel_closure ();
378 public unowned string get_accel_path ();
379 public bool get_always_show_image ();
380 public unowned GLib.Icon get_gicon ();
381 public unowned string get_icon_name ();
382 public bool get_is_important ();
383 public unowned string get_label ();
384 public unowned GLib.SList<Gtk.Widget> get_proxies ();
385 public bool get_sensitive ();
386 public unowned string get_short_label ();
387 public unowned string get_stock_id ();
388 public unowned string get_tooltip ();
389 public bool get_visible ();
390 public bool get_visible_horizontal ();
391 public bool get_visible_vertical ();
392 public bool is_sensitive ();
393 public bool is_visible ();
394 public void set_accel_group (Gtk.AccelGroup? accel_group);
395 public void set_accel_path (string accel_path);
396 public void set_always_show_image (bool always_show);
397 public void set_gicon (GLib.Icon icon);
398 public void set_icon_name (string icon_name);
399 public void set_is_important (bool is_important);
400 public void set_label (string label);
401 public void set_sensitive (bool sensitive);
402 public void set_short_label (string short_label);
403 public void set_stock_id (string stock_id);
404 public void set_tooltip (string tooltip);
405 public void set_visible (bool visible);
406 public void set_visible_horizontal (bool visible_horizontal);
407 public void set_visible_vertical (bool visible_vertical);
408 public void unblock_activate ();
410 public Gtk.ActionGroup action_group { owned get; set; }
411 public bool always_show_image { get; set construct; }
412 public GLib.Icon gicon { get; set; }
414 public bool hide_if_empty { get; set; }
415 public string icon_name { get; set; }
416 public bool is_important { get; set; }
417 public string label { get; set; }
418 public string name { get; construct; }
419 public bool sensitive { get; set; }
420 public string short_label { get; set; }
421 public string stock_id { get; set; }
422 public string tooltip { get; set; }
423 public bool visible { get; set; }
424 public bool visible_horizontal { get; set; }
426 public bool visible_overflown { get; set; }
427 public bool visible_vertical { get; set; }
429 public virtual signal void activate ();
431 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_bar_get_type ()")]
432 public class ActionBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
433 [CCode (has_construct_function = false, type = "GtkWidget*")]
435 public unowned Gtk.Widget get_center_widget ();
436 public void pack_end (Gtk.Widget child);
437 public void pack_start (Gtk.Widget child);
438 public void set_center_widget (Gtk.Widget? center_widget);
440 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_group_get_type ()")]
441 [Version (deprecated_since = "3.10")]
442 public class ActionGroup : GLib.Object, Gtk.Buildable {
443 [CCode (has_construct_function = false)]
444 public ActionGroup (string name);
445 public void add_action (Gtk.Action action);
446 public void add_action_with_accel (Gtk.Action action, string? accelerator);
447 public void add_actions (Gtk.ActionEntry[] entries, void* user_data);
448 public void add_actions_full (Gtk.ActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
449 public void add_radio_actions (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change);
450 public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] owned Gtk.RadioActionCallback on_change);
451 public void add_toggle_actions (Gtk.ToggleActionEntry[] entries, void* user_data);
452 public void add_toggle_actions_full (Gtk.ToggleActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
453 public unowned Gtk.AccelGroup get_accel_group ();
454 public virtual unowned Gtk.Action get_action (string action_name);
455 public bool get_sensitive ();
456 public bool get_visible ();
457 public GLib.List<weak Gtk.Action> list_actions ();
458 public void remove_action (Gtk.Action action);
459 public void set_accel_group (Gtk.AccelGroup? accel_group);
460 public void set_sensitive (bool sensitive);
461 public void set_translate_func (owned Gtk.TranslateFunc func);
462 public void set_translation_domain (string? domain);
463 public void set_visible (bool visible);
464 public unowned string translate_string (string str);
465 public Gtk.AccelGroup accel_group { get; set; }
466 public string name { get; construct; }
467 public bool sensitive { get; set; }
468 public bool visible { get; set; }
469 public virtual signal void connect_proxy (Gtk.Action p0, Gtk.Widget p1);
470 public virtual signal void disconnect_proxy (Gtk.Action p0, Gtk.Widget p1);
471 public virtual signal void post_activate (Gtk.Action p0);
472 public virtual signal void pre_activate (Gtk.Action p0);
474 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_adjustment_get_type ()")]
475 public class Adjustment : GLib.InitiallyUnowned {
476 [CCode (has_construct_function = false)]
477 public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
478 public void clamp_page (double lower, double upper);
479 public void configure (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
480 public double get_lower ();
481 public double get_minimum_increment ();
482 public double get_page_increment ();
483 public double get_page_size ();
484 public double get_step_increment ();
485 public double get_upper ();
486 public double get_value ();
487 public void set_lower (double lower);
488 public void set_page_increment (double page_increment);
489 public void set_page_size (double page_size);
490 public void set_step_increment (double step_increment);
491 public void set_upper (double upper);
492 public void set_value (double value);
493 public double lower { get; set; }
494 public double page_increment { get; set; }
495 public double page_size { get; set; }
496 public double step_increment { get; set; }
497 public double upper { get; set; }
498 public double value { get; set; }
500 public virtual signal void changed ();
502 public virtual signal void value_changed ();
504 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_alignment_get_type ()")]
505 public class Alignment : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
506 [CCode (has_construct_function = false, type = "GtkWidget*")]
507 public Alignment (float xalign, float yalign, float xscale, float yscale);
508 public void get_padding (out uint padding_top, out uint padding_bottom, out uint padding_left, out uint padding_right);
509 public void @set (float xalign, float yalign, float xscale, float yscale);
510 public void set_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right);
512 public uint bottom_padding { get; set; }
514 public uint left_padding { get; set; }
516 public uint right_padding { get; set; }
518 public uint top_padding { get; set; }
520 public float xalign { get; set; }
522 public float xscale { get; set; }
524 public float yalign { get; set; }
526 public float yscale { get; set; }
528 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_button_get_type ()")]
529 public class AppChooserButton : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable, Gtk.AppChooser {
530 [CCode (has_construct_function = false, type = "GtkWidget*")]
531 public AppChooserButton (string content_type);
532 public void append_custom_item (string name, string label, GLib.Icon icon);
533 public void append_separator ();
534 public unowned string? get_heading ();
535 public bool get_show_default_item ();
536 public bool get_show_dialog_item ();
537 public void set_active_custom_item (string name);
538 public void set_heading (string heading);
539 public void set_show_default_item (bool setting);
540 public void set_show_dialog_item (bool setting);
541 public string heading { get; set; }
542 public bool show_default_item { get; set construct; }
543 public bool show_dialog_item { get; set construct; }
544 public virtual signal void custom_item_activated (string item_name);
546 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_dialog_get_type ()")]
547 public class AppChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.AppChooser {
548 [CCode (has_construct_function = false, type = "GtkWidget*")]
549 public AppChooserDialog (Gtk.Window? parent, Gtk.DialogFlags flags, GLib.File file);
550 [CCode (has_construct_function = false, type = "GtkWidget*")]
551 public AppChooserDialog.for_content_type (Gtk.Window? parent, Gtk.DialogFlags flags, string content_type);
552 public unowned string? get_heading ();
553 public unowned Gtk.Widget get_widget ();
554 public void set_heading (string heading);
556 public GLib.File gfile { owned get; construct; }
557 public string heading { get; set; }
559 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_widget_get_type ()")]
560 public class AppChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.AppChooser {
561 [CCode (has_construct_function = false, type = "GtkWidget*")]
562 public AppChooserWidget (string content_type);
563 public unowned string get_default_text ();
564 public bool get_show_all ();
565 public bool get_show_default ();
566 public bool get_show_fallback ();
567 public bool get_show_other ();
568 public bool get_show_recommended ();
569 public void set_default_text (string text);
570 public void set_show_all (bool setting);
571 public void set_show_default (bool setting);
572 public void set_show_fallback (bool setting);
573 public void set_show_other (bool setting);
574 public void set_show_recommended (bool setting);
575 public string default_text { get; set; }
576 public bool show_all { get; set construct; }
577 public bool show_default { get; set construct; }
578 public bool show_fallback { get; set construct; }
579 public bool show_other { get; set construct; }
580 public bool show_recommended { get; set construct; }
581 public virtual signal void application_activated (GLib.AppInfo app_info);
582 public virtual signal void application_selected (GLib.AppInfo app_info);
583 public virtual signal void populate_popup (Gtk.Menu menu, GLib.AppInfo app_info);
585 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_application_get_type ()")]
586 public class Application : GLib.Application, GLib.ActionGroup, GLib.ActionMap {
587 [CCode (has_construct_function = false)]
588 public Application (string? application_id, GLib.ApplicationFlags flags);
589 public void add_accelerator (string accelerator, string action_name, GLib.Variant? parameter);
590 public void add_window (Gtk.Window window);
591 [CCode (array_length = false, array_null_terminated = true)]
592 public string[] get_accels_for_action (string detailed_action_name);
593 [CCode (array_length = false, array_null_terminated = true)]
594 public string[] get_actions_for_accel (string accel);
595 public unowned Gtk.Window get_active_window ();
596 public unowned GLib.MenuModel get_app_menu ();
597 public unowned GLib.Menu get_menu_by_id (string id);
598 public unowned GLib.MenuModel get_menubar ();
599 public unowned Gtk.Window? get_window_by_id (uint id);
600 public unowned GLib.List<weak Gtk.Window> get_windows ();
601 public uint inhibit (Gtk.Window? window, Gtk.ApplicationInhibitFlags flags, string? reason);
602 public bool is_inhibited (Gtk.ApplicationInhibitFlags flags);
603 [CCode (array_length = false, array_null_terminated = true)]
604 public string[] list_action_descriptions ();
605 public bool prefers_app_menu ();
606 public void remove_accelerator (string action_name, GLib.Variant? parameter);
607 public void remove_window (Gtk.Window window);
608 public void set_accels_for_action (string detailed_action_name, [CCode (array_length = false, array_null_terminated = true)] string[] accels);
609 public void set_app_menu (GLib.MenuModel? app_menu);
610 public void set_menubar (GLib.MenuModel? menubar);
611 public void uninhibit (uint cookie);
612 public Gtk.Window active_window { get; }
613 public GLib.MenuModel app_menu { get; set; }
614 public GLib.MenuModel menubar { get; set; }
616 public bool register_session { get; set; }
617 public virtual signal void window_added (Gtk.Window window);
618 public virtual signal void window_removed (Gtk.Window window);
620 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_application_window_get_type ()")]
621 public class ApplicationWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable, GLib.ActionGroup, GLib.ActionMap {
622 [CCode (has_construct_function = false, type = "GtkWidget*")]
623 public ApplicationWindow (Gtk.Application application);
624 public unowned Gtk.ShortcutsWindow? get_help_overlay ();
625 public uint get_id ();
626 public bool get_show_menubar ();
627 public void set_help_overlay (Gtk.ShortcutsWindow? help_overlay);
628 public void set_show_menubar (bool show_menubar);
629 public bool show_menubar { get; set construct; }
631 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_arrow_get_type ()")]
632 public class Arrow : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
633 [CCode (has_construct_function = false, type = "GtkWidget*")]
634 public Arrow (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
635 public void @set (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
637 public Gtk.ArrowType arrow_type { get; set; }
639 public Gtk.ShadowType shadow_type { get; set; }
641 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_arrow_accessible_get_type ()")]
642 public class ArrowAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
643 [CCode (has_construct_function = false)]
644 protected ArrowAccessible ();
646 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_aspect_frame_get_type ()")]
647 public class AspectFrame : Gtk.Frame, Atk.Implementor, Gtk.Buildable {
648 [CCode (has_construct_function = false, type = "GtkWidget*")]
649 public AspectFrame (string? label, float xalign, float yalign, float ratio, bool obey_child);
650 public void @set (float xalign, float yalign, float ratio, bool obey_child);
652 public bool obey_child { get; set; }
654 public float ratio { get; set; }
656 public float xalign { get; set; }
658 public float yalign { get; set; }
660 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_assistant_get_type ()")]
661 public class Assistant : Gtk.Window, Atk.Implementor, Gtk.Buildable {
662 [CCode (has_construct_function = false, type = "GtkWidget*")]
664 public void add_action_widget (Gtk.Widget child);
665 public int append_page (Gtk.Widget page);
666 public void commit ();
667 public int get_current_page ();
668 public int get_n_pages ();
669 public unowned Gtk.Widget? get_nth_page (int page_num);
670 public bool get_page_complete (Gtk.Widget page);
671 public bool get_page_has_padding (Gtk.Widget page);
672 [Version (deprecated_since = "3.2")]
673 public unowned Gdk.Pixbuf get_page_header_image (Gtk.Widget page);
674 [Version (deprecated_since = "3.2")]
675 public unowned Gdk.Pixbuf get_page_side_image (Gtk.Widget page);
676 public unowned string get_page_title (Gtk.Widget page);
677 public Gtk.AssistantPageType get_page_type (Gtk.Widget page);
678 public int insert_page (Gtk.Widget page, int position);
679 public void next_page ();
680 public int prepend_page (Gtk.Widget page);
681 public void previous_page ();
682 public void remove_action_widget (Gtk.Widget child);
683 public void remove_page (int page_num);
684 public void set_current_page (int page_num);
685 public void set_forward_page_func (owned Gtk.AssistantPageFunc? page_func);
686 public void set_page_complete (Gtk.Widget page, bool complete);
687 public void set_page_has_padding (Gtk.Widget page, bool has_padding);
688 [Version (deprecated_since = "3.2")]
689 public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf? pixbuf);
690 [Version (deprecated_since = "3.2")]
691 public void set_page_side_image (Gtk.Widget page, Gdk.Pixbuf? pixbuf);
692 public void set_page_title (Gtk.Widget page, string title);
693 public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type);
694 public void update_buttons_state ();
696 public int use_header_bar { get; construct; }
697 public virtual signal void apply ();
698 public virtual signal void cancel ();
699 public virtual signal void close ();
700 public virtual signal void escape ();
701 public virtual signal void prepare (Gtk.Widget page);
703 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_bin_get_type ()")]
704 public abstract class Bin : Gtk.Container, Atk.Implementor, Gtk.Buildable {
705 [CCode (has_construct_function = false)]
707 public unowned Gtk.Widget get_child ();
709 [CCode (cheader_filename = "gtk/gtk.h")]
711 public class BindingEntry {
712 public weak Gtk.BindingSet binding_set;
713 public uint destroyed;
714 public weak Gtk.BindingEntry hash_next;
715 public uint in_emission;
717 public uint marks_unbound;
718 public Gdk.ModifierType modifiers;
719 public weak Gtk.BindingEntry set_next;
720 public weak Gtk.BindingSignal signals;
721 public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args, ...);
722 public static GLib.TokenType add_signal_from_string (Gtk.BindingSet binding_set, string signal_desc);
723 public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList<Gtk.BindingArg?> binding_args);
724 public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
725 public static void skip (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
727 [CCode (cheader_filename = "gtk/gtk.h")]
729 public class BindingSet {
730 public weak Gtk.BindingEntry current;
731 public weak Gtk.BindingEntry entries;
734 public weak string set_name;
735 public bool activate (uint keyval, Gdk.ModifierType modifiers, GLib.Object object);
736 [Version (deprecated_since = "3.0")]
737 public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority);
738 public static unowned Gtk.BindingSet by_class (GLib.ObjectClass object_class);
739 public static unowned Gtk.BindingSet? find (string set_name);
740 public static unowned Gtk.BindingSet @new (string name);
742 [CCode (cheader_filename = "gtk/gtk.h")]
744 public class BindingSignal {
745 [CCode (array_length_cname = "n_args", array_length_type = "guint")]
746 public weak Gtk.BindingArg[] args;
748 public weak Gtk.BindingSignal next;
749 public weak string signal_name;
751 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_boolean_cell_accessible_get_type ()")]
752 public class BooleanCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component {
753 [CCode (has_construct_function = false)]
754 protected BooleanCellAccessible ();
756 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_box_get_type ()")]
757 public class Box : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
758 [CCode (has_construct_function = false, type = "GtkWidget*")]
759 public Box (Gtk.Orientation orientation, int spacing);
760 public Gtk.BaselinePosition get_baseline_position ();
761 public unowned Gtk.Widget? get_center_widget ();
762 public bool get_homogeneous ();
763 public int get_spacing ();
764 public void pack_end (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
765 public void pack_start (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
766 public void query_child_packing (Gtk.Widget child, out bool expand, out bool fill, out uint padding, out Gtk.PackType pack_type);
767 public void reorder_child (Gtk.Widget child, int position);
768 public void set_baseline_position (Gtk.BaselinePosition position);
769 public void set_center_widget (Gtk.Widget? widget);
770 public void set_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type);
771 public void set_homogeneous (bool homogeneous);
772 public void set_spacing (int spacing);
773 public Gtk.BaselinePosition baseline_position { get; set; }
774 public bool homogeneous { get; set; }
775 public int spacing { get; set; }
777 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_builder_get_type ()")]
778 public class Builder : GLib.Object {
779 [CCode (has_construct_function = false)]
781 public void add_callback_symbol (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
782 public void add_callback_symbols (string first_callback_name, ...);
783 public uint add_from_file (string filename) throws GLib.Error;
784 public uint add_from_resource (string resource_path) throws GLib.Error;
785 public uint add_from_string (string buffer, size_t length) throws GLib.Error;
786 public uint add_objects_from_file (string filename, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
787 public uint add_objects_from_resource (string resource_path, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
788 public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
789 public void connect_signals (void* user_data);
790 public void connect_signals_full (Gtk.BuilderConnectFunc func);
791 public void expose_object (string name, GLib.Object object);
792 public uint extend_with_template (Gtk.Widget widget, GLib.Type template_type, string buffer, size_t length) throws GLib.Error;
793 [CCode (has_construct_function = false)]
794 public Builder.from_file (string filename);
795 [CCode (has_construct_function = false)]
796 public Builder.from_resource (string resource_path);
797 [CCode (has_construct_function = false)]
798 public Builder.from_string (string str, ssize_t length);
799 public unowned Gtk.Application? get_application ();
800 public unowned GLib.Object? get_object (string name);
801 public GLib.SList<weak GLib.Object> get_objects ();
802 public unowned string get_translation_domain ();
803 public virtual GLib.Type get_type_from_name (string type_name);
804 public unowned GLib.Callback lookup_callback_symbol (string callback_name);
805 public void set_application (Gtk.Application application);
806 public void set_translation_domain (string domain);
807 public bool value_from_string (GLib.ParamSpec pspec, string str, out GLib.Value value) throws GLib.Error;
808 public bool value_from_string_type (GLib.Type type, string str, out GLib.Value value) throws GLib.Error;
809 public string translation_domain { get; set; }
811 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_button_get_type ()")]
812 public class Button : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
813 [CCode (has_construct_function = false, type = "GtkWidget*")]
815 [CCode (has_construct_function = false, type = "GtkWidget*")]
816 public Button.from_icon_name (string icon_name, Gtk.IconSize size = Gtk.IconSize.BUTTON);
817 [CCode (has_construct_function = false, type = "GtkWidget*")]
818 public Button.from_stock (string stock_id);
819 public void get_alignment (out float xalign, out float yalign);
820 public bool get_always_show_image ();
821 public unowned Gdk.Window get_event_window ();
822 public bool get_focus_on_click ();
823 public unowned Gtk.Widget? get_image ();
824 public Gtk.PositionType get_image_position ();
825 public unowned string get_label ();
826 public Gtk.ReliefStyle get_relief ();
827 public bool get_use_stock ();
828 public bool get_use_underline ();
829 public void set_alignment (float xalign, float yalign);
830 public void set_always_show_image (bool always_show);
831 public void set_focus_on_click (bool focus_on_click);
832 public void set_image (Gtk.Widget image);
833 public void set_image_position (Gtk.PositionType position);
834 public void set_label (string? label);
835 public void set_relief (Gtk.ReliefStyle relief);
836 public void set_use_stock (bool use_stock);
837 public void set_use_underline (bool use_underline);
838 [CCode (has_construct_function = false, type = "GtkWidget*")]
839 public Button.with_label (string label);
840 [CCode (has_construct_function = false, type = "GtkWidget*")]
841 public Button.with_mnemonic (string label);
842 public bool always_show_image { get; set construct; }
843 public Gtk.Widget image { get; set; }
844 public Gtk.PositionType image_position { get; set; }
845 public string label { get; set construct; }
846 public Gtk.ReliefStyle relief { get; set; }
847 public bool use_stock { get; set construct; }
848 public bool use_underline { get; set construct; }
850 public float xalign { get; set; }
852 public float yalign { get; set; }
853 public virtual signal void activate ();
855 public virtual signal void clicked ();
857 [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.enter_notify_event")]
858 public virtual signal void enter ();
860 [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.leave_notify_event")]
861 public virtual signal void leave ();
863 [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.button_press_event")]
864 public virtual signal void pressed ();
866 [Version (deprecated_since = "2.8", replacement = "Gtk.Widget.button_release_event")]
867 public virtual signal void released ();
869 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_button_accessible_get_type ()")]
870 public class ButtonAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Action, Atk.Image {
871 [CCode (has_construct_function = false)]
872 protected ButtonAccessible ();
874 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_button_box_get_type ()")]
875 public class ButtonBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
876 [CCode (has_construct_function = false, type = "GtkWidget*")]
877 public ButtonBox (Gtk.Orientation orientation);
878 public bool get_child_non_homogeneous (Gtk.Widget child);
879 public bool get_child_secondary (Gtk.Widget child);
880 public Gtk.ButtonBoxStyle get_layout ();
881 public void set_child_non_homogeneous (Gtk.Widget child, bool non_homogeneous);
882 public void set_child_secondary (Gtk.Widget child, bool is_secondary);
883 public void set_layout (Gtk.ButtonBoxStyle layout_style);
885 public Gtk.ButtonBoxStyle layout_style { get; set; }
887 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_calendar_get_type ()")]
888 public class Calendar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
889 [CCode (has_construct_function = false, type = "GtkWidget*")]
891 public void clear_marks ();
892 public void get_date (out uint year, out uint month, out uint day);
893 public bool get_day_is_marked (uint day);
894 public int get_detail_height_rows ();
895 public int get_detail_width_chars ();
896 public Gtk.CalendarDisplayOptions get_display_options ();
897 public void mark_day (uint day);
898 public void select_day (uint day);
899 public void select_month (uint month, uint year);
900 public void set_detail_func (owned Gtk.CalendarDetailFunc func);
901 public void set_detail_height_rows (int rows);
902 public void set_detail_width_chars (int chars);
903 public void set_display_options (Gtk.CalendarDisplayOptions flags);
904 public void unmark_day (uint day);
906 public int day { get; set; }
907 public int detail_height_rows { get; set; }
908 public int detail_width_chars { get; set; }
910 public int month { get; set; }
912 public bool no_month_change { get; set; }
914 public bool show_day_names { get; set; }
916 public bool show_details { get; set; }
918 public bool show_heading { get; set; }
920 public bool show_week_numbers { get; set; }
922 public int year { get; set; }
923 public virtual signal void day_selected ();
924 public virtual signal void day_selected_double_click ();
925 public virtual signal void month_changed ();
926 public virtual signal void next_month ();
927 public virtual signal void next_year ();
928 public virtual signal void prev_month ();
929 public virtual signal void prev_year ();
931 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_cell_accessible_get_type ()")]
932 public class CellAccessible : Gtk.Accessible, Atk.Action, Atk.Component {
933 [CCode (has_construct_function = false)]
934 protected CellAccessible ();
936 public virtual void update_cache (bool emit_signal);
938 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_get_type ()")]
939 public abstract class CellArea : GLib.InitiallyUnowned, Gtk.CellLayout, Gtk.Buildable {
940 [CCode (has_construct_function = false)]
941 protected CellArea ();
942 public virtual bool activate (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool edit_only);
943 public bool activate_cell (Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
944 public virtual void add (Gtk.CellRenderer renderer);
945 public void add_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
946 public void add_with_properties (Gtk.CellRenderer renderer, ...);
947 public void attribute_connect (Gtk.CellRenderer renderer, string attribute, int column);
948 public void attribute_disconnect (Gtk.CellRenderer renderer, string attribute);
949 public int attribute_get_column (Gtk.CellRenderer renderer, string attribute);
950 public void cell_get (Gtk.CellRenderer renderer, ...);
951 public void cell_get_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
952 public void cell_get_valist (Gtk.CellRenderer renderer, string first_property_name, va_list var_args);
953 public void cell_set (Gtk.CellRenderer renderer, ...);
954 public void cell_set_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
955 public void cell_set_valist (Gtk.CellRenderer renderer, string first_property_name, va_list var_args);
956 public virtual Gtk.CellAreaContext copy_context (Gtk.CellAreaContext context);
957 public virtual Gtk.CellAreaContext create_context ();
958 public virtual int event (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
959 [CCode (cname = "gtk_cell_area_class_find_cell_property")]
960 public class unowned GLib.ParamSpec find_cell_property (string property_name);
961 public virtual bool focus (Gtk.DirectionType direction);
962 public virtual void @foreach (Gtk.CellCallback callback);
963 public virtual void foreach_alloc (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle background_area, Gtk.CellAllocCallback callback);
964 public Gdk.Rectangle get_cell_allocation (Gtk.CellAreaContext context, Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Rectangle cell_area);
965 public unowned Gtk.CellRenderer get_cell_at_position (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, int x, int y, out Gdk.Rectangle alloc_area);
967 public virtual void get_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
968 public unowned string get_current_path_string ();
969 public unowned Gtk.CellEditable get_edit_widget ();
970 public unowned Gtk.CellRenderer get_edited_cell ();
971 public unowned Gtk.CellRenderer get_focus_cell ();
972 public unowned Gtk.CellRenderer? get_focus_from_sibling (Gtk.CellRenderer renderer);
973 public unowned GLib.List<Gtk.CellRenderer> get_focus_siblings (Gtk.CellRenderer renderer);
974 public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_height, out int natural_height);
975 public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
976 public virtual void get_preferred_width (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_width, out int natural_width);
977 public virtual void get_preferred_width_for_height (Gtk.CellAreaContext context, Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
978 public virtual Gtk.SizeRequestMode get_request_mode ();
979 public bool has_renderer (Gtk.CellRenderer renderer);
980 public Gdk.Rectangle inner_cell_area (Gtk.Widget widget, Gdk.Rectangle cell_area);
981 [CCode (cname = "gtk_cell_area_class_install_cell_property")]
982 public class void install_cell_property (uint property_id, GLib.ParamSpec pspec);
983 public virtual bool is_activatable ();
984 public bool is_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
985 [CCode (cname = "gtk_cell_area_class_list_cell_properties")]
986 public class (unowned GLib.ParamSpec)[] list_cell_properties ();
987 public virtual void remove (Gtk.CellRenderer renderer);
988 public void remove_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
989 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);
990 public void request_renderer (Gtk.CellRenderer renderer, Gtk.Orientation orientation, Gtk.Widget widget, int for_size, out int minimum_size, out int natural_size);
992 public virtual void set_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
993 public void set_focus_cell (Gtk.CellRenderer renderer);
994 public void stop_editing (bool canceled);
995 public Gtk.CellEditable edit_widget { get; }
996 public Gtk.CellRenderer edited_cell { get; }
997 public Gtk.CellRenderer focus_cell { get; set; }
998 public virtual signal void add_editable (Gtk.CellRenderer p0, Gtk.CellEditable p1, Gdk.Rectangle p2, string p3);
1000 public virtual signal void apply_attributes (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
1001 public virtual signal void focus_changed (Gtk.CellRenderer p0, string p1);
1002 public virtual signal void remove_editable (Gtk.CellRenderer p0, Gtk.CellEditable p1);
1004 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_box_get_type ()")]
1005 public class CellAreaBox : Gtk.CellArea, Gtk.CellLayout, Gtk.Buildable, Gtk.Orientable {
1006 [CCode (has_construct_function = false, type = "GtkCellArea*")]
1007 public CellAreaBox ();
1008 public int get_spacing ();
1009 public void set_spacing (int spacing);
1010 public int spacing { get; set; }
1012 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_context_get_type ()")]
1013 public class CellAreaContext : GLib.Object {
1014 [CCode (has_construct_function = false)]
1015 protected CellAreaContext ();
1016 public virtual void allocate (int width, int height);
1017 public void get_allocation (out int width, out int height);
1018 public unowned Gtk.CellArea get_area ();
1019 public void get_preferred_height (out int minimum_height, out int natural_height);
1020 public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
1021 public void get_preferred_width (out int minimum_width, out int natural_width);
1022 public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
1023 public void push_preferred_height (int minimum_height, int natural_height);
1024 public void push_preferred_width (int minimum_width, int natural_width);
1025 public virtual void reset ();
1026 public Gtk.CellArea area { get; construct; }
1028 public int minimum_height { get; }
1030 public int minimum_width { get; }
1032 public int natural_height { get; }
1034 public int natural_width { get; }
1036 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_get_type ()")]
1037 public abstract class CellRenderer : GLib.InitiallyUnowned {
1038 [CCode (has_construct_function = false)]
1039 protected CellRenderer ();
1040 public virtual bool activate (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1041 public virtual Gdk.Rectangle get_aligned_area (Gtk.Widget widget, Gtk.CellRendererState flags, Gdk.Rectangle cell_area);
1042 public void get_alignment (out float xalign, out float yalign);
1043 public void get_fixed_size (out int width, out int height);
1044 public void get_padding (out int xpad, out int ypad);
1045 public virtual void get_preferred_height (Gtk.Widget widget, out int minimum_size, out int natural_size);
1046 public virtual void get_preferred_height_for_width (Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
1047 public void get_preferred_size (Gtk.Widget widget, out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
1048 public virtual void get_preferred_width (Gtk.Widget widget, out int minimum_size, out int natural_size);
1049 public virtual void get_preferred_width_for_height (Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
1050 public virtual Gtk.SizeRequestMode get_request_mode ();
1051 public bool get_sensitive ();
1052 [Version (deprecated_since = "3.0", replacement = "get_preferred_size")]
1053 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);
1054 public Gtk.StateFlags get_state (Gtk.Widget widget, Gtk.CellRendererState cell_state);
1055 public bool get_visible ();
1056 public bool is_activatable ();
1057 public abstract void render (Cairo.Context cr, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1058 [CCode (cname = "gtk_cell_renderer_class_set_accessible_type")]
1059 public class void set_accessible_type (GLib.Type type);
1060 public void set_alignment (float xalign, float yalign);
1061 public void set_fixed_size (int width, int height);
1062 public void set_padding (int xpad, int ypad);
1063 public void set_sensitive (bool sensitive);
1064 public void set_visible (bool visible);
1065 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);
1066 public void stop_editing (bool canceled);
1068 public string cell_background { set; }
1070 [Version (deprecated_since = "3.4", replacement = "Gtk.CellRenderer.cell_background_rgba")]
1071 public Gdk.Color cell_background_gdk { get; set; }
1073 public Gdk.RGBA cell_background_rgba { get; set; }
1075 public bool cell_background_set { get; set; }
1077 public bool editing { get; }
1079 public int height { get; set; }
1081 public bool is_expanded { get; set; }
1083 public bool is_expander { get; set; }
1085 public Gtk.CellRendererMode mode { get; set; }
1086 public bool sensitive { get; set; }
1087 public bool visible { get; set; }
1089 public int width { get; set; }
1091 public float xalign { get; set; }
1093 public uint xpad { get; set; }
1095 public float yalign { get; set; }
1097 public uint ypad { get; set; }
1099 public virtual signal void editing_canceled ();
1100 public virtual signal void editing_started (Gtk.CellEditable editable, string path);
1102 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_accel_get_type ()")]
1103 public class CellRendererAccel : Gtk.CellRendererText {
1104 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1105 public CellRendererAccel ();
1107 public uint accel_key { get; set; }
1109 public Gtk.CellRendererAccelMode accel_mode { get; set; }
1111 public Gdk.ModifierType accel_mods { get; set; }
1113 public uint keycode { get; set; }
1114 public virtual signal void accel_cleared (string path_string);
1115 public virtual signal void accel_edited (string path_string, uint accel_key, Gdk.ModifierType accel_mods, uint hardware_keycode);
1117 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_combo_get_type ()")]
1118 public class CellRendererCombo : Gtk.CellRendererText {
1119 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1120 public CellRendererCombo ();
1122 public bool has_entry { get; set; }
1124 public Gtk.TreeModel model { owned get; set; }
1126 public int text_column { get; set; }
1127 public virtual signal void changed (string p0, Gtk.TreeIter p1);
1129 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_pixbuf_get_type ()")]
1130 public class CellRendererPixbuf : Gtk.CellRenderer {
1131 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1132 public CellRendererPixbuf ();
1134 public bool follow_state { get; set; }
1136 public GLib.Icon gicon { owned get; set; }
1138 public string icon_name { owned get; set; }
1140 public Gdk.Pixbuf pixbuf { owned get; set; }
1142 public Gdk.Pixbuf pixbuf_expander_closed { owned get; set; }
1144 public Gdk.Pixbuf pixbuf_expander_open { owned get; set; }
1146 public string stock_detail { owned get; set; }
1148 public string stock_id { owned get; set; }
1150 public uint stock_size { get; set; }
1152 public Cairo.Surface surface { owned get; set; }
1154 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_progress_get_type ()")]
1155 public class CellRendererProgress : Gtk.CellRenderer, Gtk.Orientable {
1156 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1157 public CellRendererProgress ();
1159 public bool inverted { get; set; }
1161 public int pulse { get; set; }
1163 public string text { owned get; set; }
1165 public float text_xalign { get; set; }
1167 public float text_yalign { get; set; }
1169 public int value { get; set; }
1171 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_spin_get_type ()")]
1172 public class CellRendererSpin : Gtk.CellRendererText {
1173 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1174 public CellRendererSpin ();
1176 public Gtk.Adjustment adjustment { owned get; set; }
1178 public double climb_rate { get; set; }
1180 public uint digits { get; set; }
1182 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_spinner_get_type ()")]
1183 public class CellRendererSpinner : Gtk.CellRenderer {
1184 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1185 public CellRendererSpinner ();
1187 public bool active { get; set; }
1189 public uint pulse { get; set; }
1191 public Gtk.IconSize size { get; set; }
1193 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_text_get_type ()")]
1194 public class CellRendererText : Gtk.CellRenderer {
1195 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1196 public CellRendererText ();
1197 public void set_fixed_height_from_font (int number_of_rows);
1199 public bool align_set { get; set; }
1201 public Pango.Alignment alignment { get; set; }
1203 public Pango.AttrList attributes { owned get; set; }
1205 public string background { set; }
1207 [Version (deprecated_since = "3.4", replacement = "background_rgba")]
1208 public Gdk.Color background_gdk { get; set; }
1210 public Gdk.RGBA background_rgba { get; set; }
1212 public bool background_set { get; set; }
1214 public bool editable { get; set; }
1216 public bool editable_set { get; set; }
1218 public Pango.EllipsizeMode ellipsize { get; set; }
1220 public bool ellipsize_set { get; set; }
1222 public string family { owned get; set; }
1224 public bool family_set { get; set; }
1226 public string font { owned get; set; }
1228 public Pango.FontDescription font_desc { owned get; set; }
1230 public string foreground { set; }
1232 [Version (deprecated_since = "3.4", replacement = "foreground_rgba")]
1233 public Gdk.Color foreground_gdk { get; set; }
1235 public Gdk.RGBA foreground_rgba { get; set; }
1237 public bool foreground_set { get; set; }
1239 public string language { owned get; set; }
1241 public bool language_set { get; set; }
1243 public string markup { set; }
1245 public int max_width_chars { get; set; }
1247 public string placeholder_text { owned get; set; }
1249 public int rise { get; set; }
1251 public bool rise_set { get; set; }
1253 public double scale { get; set; }
1255 public bool scale_set { get; set; }
1257 public bool single_paragraph_mode { get; set; }
1259 public int size { get; set; }
1261 public double size_points { get; set; }
1263 public bool size_set { get; set; }
1265 public Pango.Stretch stretch { get; set; }
1267 public bool stretch_set { get; set; }
1269 public bool strikethrough { get; set; }
1271 public bool strikethrough_set { get; set; }
1273 public Pango.Style style { get; set; }
1275 public bool style_set { get; set; }
1277 public string text { owned get; set; }
1279 public Pango.Underline underline { get; set; }
1281 public bool underline_set { get; set; }
1283 public Pango.Variant variant { get; set; }
1285 public bool variant_set { get; set; }
1287 public int weight { get; set; }
1289 public bool weight_set { get; set; }
1291 public int width_chars { get; set; }
1293 public Pango.WrapMode wrap_mode { get; set; }
1295 public int wrap_width { get; set; }
1296 public virtual signal void edited (string path, string new_text);
1298 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_toggle_get_type ()")]
1299 public class CellRendererToggle : Gtk.CellRenderer {
1300 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1301 public CellRendererToggle ();
1302 public bool get_activatable ();
1303 public bool get_active ();
1304 public bool get_radio ();
1305 public void set_activatable (bool setting);
1306 public void set_active (bool setting);
1307 public void set_radio (bool radio);
1308 public bool activatable { get; set; }
1309 public bool active { get; set; }
1311 public bool inconsistent { get; set; }
1313 public int indicator_size { get; set; }
1314 public bool radio { get; set; }
1315 public virtual signal void toggled (string path);
1317 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_view_get_type ()")]
1318 public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable {
1319 [CCode (has_construct_function = false, type = "GtkWidget*")]
1321 public Gtk.TreePath? get_displayed_row ();
1322 public bool get_draw_sensitive ();
1323 public bool get_fit_model ();
1324 public unowned Gtk.TreeModel? get_model ();
1325 public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition);
1326 [Version (deprecated_since = "3.4", replacement = "set_background_rgba")]
1327 public void set_background_color (Gdk.Color color);
1328 public void set_background_rgba (Gdk.RGBA rgba);
1329 public void set_displayed_row (Gtk.TreePath? path);
1330 public void set_draw_sensitive (bool draw_sensitive);
1331 public void set_fit_model (bool fit_model);
1332 public void set_model (Gtk.TreeModel? model);
1333 [CCode (has_construct_function = false, type = "GtkWidget*")]
1334 public CellView.with_context (Gtk.CellArea area, Gtk.CellAreaContext context);
1335 [CCode (has_construct_function = false, type = "GtkWidget*")]
1336 public CellView.with_markup (string markup);
1337 [CCode (has_construct_function = false, type = "GtkWidget*")]
1338 public CellView.with_pixbuf (Gdk.Pixbuf pixbuf);
1339 [CCode (has_construct_function = false, type = "GtkWidget*")]
1340 public CellView.with_text (string text);
1342 public string background { set; }
1344 [Version (deprecated_since = "3.4", replacement = "background_rgba")]
1345 public Gdk.Color background_gdk { get; set; }
1347 public Gdk.RGBA background_rgba { get; set; }
1349 public bool background_set { get; set; }
1351 public Gtk.CellArea cell_area { owned get; construct; }
1353 public Gtk.CellAreaContext cell_area_context { owned get; construct; }
1354 public bool draw_sensitive { get; set; }
1355 public bool fit_model { get; set; }
1356 public Gtk.TreeModel model { get; set; }
1358 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_check_button_get_type ()")]
1359 public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
1360 [CCode (has_construct_function = false, type = "GtkWidget*")]
1361 public CheckButton ();
1363 public virtual void draw_indicator (Cairo.Context cr);
1364 [CCode (has_construct_function = false, type = "GtkWidget*")]
1365 public CheckButton.with_label (string label);
1366 [CCode (has_construct_function = false, type = "GtkWidget*")]
1367 public CheckButton.with_mnemonic (string label);
1369 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_check_menu_item_get_type ()")]
1370 public class CheckMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
1371 [CCode (has_construct_function = false, type = "GtkWidget*")]
1372 public CheckMenuItem ();
1374 public virtual void draw_indicator (Cairo.Context cr);
1375 public bool get_active ();
1376 public bool get_draw_as_radio ();
1377 public bool get_inconsistent ();
1378 public void set_active (bool is_active);
1379 public void set_draw_as_radio (bool draw_as_radio);
1380 public void set_inconsistent (bool setting);
1381 [CCode (has_construct_function = false, type = "GtkWidget*")]
1382 public CheckMenuItem.with_label (string label);
1383 [CCode (has_construct_function = false, type = "GtkWidget*")]
1384 public CheckMenuItem.with_mnemonic (string label);
1385 public bool active { get; set; }
1386 public bool draw_as_radio { get; set; }
1387 public bool inconsistent { get; set; }
1389 public virtual signal void toggled ();
1391 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_check_menu_item_accessible_get_type ()")]
1392 public class CheckMenuItemAccessible : Gtk.MenuItemAccessible, Atk.Component, Atk.Action, Atk.Selection {
1393 [CCode (has_construct_function = false)]
1394 protected CheckMenuItemAccessible ();
1396 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_clipboard_get_type ()")]
1397 public class Clipboard : GLib.Object {
1398 [CCode (has_construct_function = false)]
1399 protected Clipboard ();
1400 public void clear ();
1401 public static unowned Gtk.Clipboard @get (Gdk.Atom selection);
1402 public static unowned Gtk.Clipboard get_default (Gdk.Display display);
1403 public unowned Gdk.Display get_display ();
1404 public static unowned Gtk.Clipboard get_for_display (Gdk.Display display, Gdk.Atom selection);
1405 public unowned GLib.Object? get_owner ();
1406 public Gdk.Atom get_selection ();
1407 public void request_contents (Gdk.Atom target, [CCode (scope = "async")] Gtk.ClipboardReceivedFunc callback);
1408 public void request_image ([CCode (scope = "async")] Gtk.ClipboardImageReceivedFunc callback);
1409 public void request_rich_text (Gtk.TextBuffer buffer, [CCode (scope = "async")] Gtk.ClipboardRichTextReceivedFunc callback);
1410 public void request_targets ([CCode (scope = "async")] Gtk.ClipboardTargetsReceivedFunc callback);
1411 public void request_text ([CCode (scope = "async")] Gtk.ClipboardTextReceivedFunc callback);
1412 public void request_uris ([CCode (scope = "async")] Gtk.ClipboardURIReceivedFunc callback);
1413 public void set_can_store (Gtk.TargetEntry[]? targets);
1414 public void set_image (Gdk.Pixbuf pixbuf);
1415 public void set_text (string text, int len);
1416 public bool set_with_data (Gtk.TargetEntry[] targets, [CCode (scope = "async")] Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func);
1417 public bool set_with_owner (Gtk.TargetEntry[] targets, [CCode (scope = "async")] Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func, GLib.Object owner);
1418 public void store ();
1419 public Gtk.SelectionData? wait_for_contents (Gdk.Atom target);
1420 public Gdk.Pixbuf? wait_for_image ();
1421 [CCode (array_length_type = "gsize")]
1422 public uint8[]? wait_for_rich_text (Gtk.TextBuffer buffer, out Gdk.Atom format);
1423 public bool wait_for_targets (out Gdk.Atom[] targets);
1424 public string? wait_for_text ();
1425 [CCode (array_length = false, array_null_terminated = true)]
1426 public string[]? wait_for_uris ();
1427 public bool wait_is_image_available ();
1428 public bool wait_is_rich_text_available (Gtk.TextBuffer buffer);
1429 public bool wait_is_target_available (Gdk.Atom target);
1430 public bool wait_is_text_available ();
1431 public bool wait_is_uris_available ();
1432 public virtual signal void owner_change (Gdk.Event p0);
1434 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_button_get_type ()")]
1435 public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.ColorChooser {
1436 [CCode (has_construct_function = false, type = "GtkWidget*")]
1437 public ColorButton ();
1438 public uint16 get_alpha ();
1439 public void get_color (out Gdk.Color color);
1440 public unowned string get_title ();
1441 public bool get_use_alpha ();
1442 public void set_alpha (uint16 alpha);
1443 public void set_color (Gdk.Color color);
1444 public void set_title (string title);
1445 public void set_use_alpha (bool use_alpha);
1446 [CCode (has_construct_function = false, type = "GtkWidget*")]
1447 public ColorButton.with_color (Gdk.Color color);
1448 [CCode (has_construct_function = false, type = "GtkWidget*")]
1449 public ColorButton.with_rgba (Gdk.RGBA rgba);
1450 public uint alpha { get; set; }
1451 [Version (deprecated_since = "3.4", replacement = "rgba")]
1452 public Gdk.Color color { get; set; }
1453 public Gdk.RGBA rgba { get; set; }
1455 public bool show_editor { get; set; }
1456 public string title { get; set; }
1457 public bool use_alpha { get; set; }
1458 public virtual signal void color_set ();
1460 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_chooser_dialog_get_type ()")]
1461 public class ColorChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser {
1462 [CCode (has_construct_function = false, type = "GtkWidget*")]
1463 public ColorChooserDialog (string? title, Gtk.Window? parent);
1465 public bool show_editor { get; set; }
1467 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_chooser_widget_get_type ()")]
1468 public class ColorChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.ColorChooser {
1469 [CCode (has_construct_function = false, type = "GtkWidget*")]
1470 public ColorChooserWidget ();
1472 public bool show_editor { get; set; }
1474 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_selection_get_type ()")]
1475 public class ColorSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1476 [CCode (has_construct_function = false, type = "GtkWidget*")]
1477 public ColorSelection ();
1478 public uint16 get_current_alpha ();
1479 [Version (deprecated_since = "3.4", replacement = "get_current_rgba")]
1480 public void get_current_color (out Gdk.Color color);
1481 public Gdk.RGBA get_current_rgba ();
1482 public bool get_has_opacity_control ();
1483 public bool get_has_palette ();
1484 public uint16 get_previous_alpha ();
1485 public void get_previous_color (out Gdk.Color color);
1486 public Gdk.RGBA get_previous_rgba ();
1487 public bool is_adjusting ();
1488 public static bool palette_from_string (string str, out Gdk.Color[] colors);
1489 public static string palette_to_string (Gdk.Color[] colors);
1490 public static unowned Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func);
1491 public void set_current_alpha (uint16 alpha);
1492 [Version (deprecated_since = "3.4", replacement = "set_current_rgba")]
1493 public void set_current_color (Gdk.Color color);
1494 public void set_current_rgba (Gdk.RGBA rgba);
1495 public void set_has_opacity_control (bool has_opacity);
1496 public void set_has_palette (bool has_palette);
1497 public void set_previous_alpha (uint16 alpha);
1498 public void set_previous_color (Gdk.Color color);
1499 public void set_previous_rgba (Gdk.RGBA rgba);
1500 public uint current_alpha { get; set; }
1501 [Version (deprecated_since = "3.4", replacement = "current_rgba")]
1502 public Gdk.Color current_color { get; set; }
1503 public Gdk.RGBA current_rgba { get; set; }
1504 public bool has_opacity_control { get; set; }
1505 public bool has_palette { get; set; }
1506 public virtual signal void color_changed ();
1508 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_selection_dialog_get_type ()")]
1509 public class ColorSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
1510 [CCode (has_construct_function = false, type = "GtkWidget*")]
1511 public ColorSelectionDialog (string title);
1512 public unowned Gtk.ColorSelection get_color_selection ();
1514 public Gtk.Widget cancel_button { owned get; }
1515 public Gtk.Widget color_selection { get; }
1517 public Gtk.Widget help_button { owned get; }
1519 public Gtk.Widget ok_button { owned get; }
1521 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_combo_box_get_type ()")]
1522 public class ComboBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable {
1523 [CCode (has_construct_function = false, type = "GtkWidget*")]
1525 public int get_active ();
1526 public unowned string? get_active_id ();
1527 public bool get_active_iter (out Gtk.TreeIter iter);
1528 public bool get_add_tearoffs ();
1529 public Gtk.SensitivityType get_button_sensitivity ();
1530 public int get_column_span_column ();
1531 public int get_entry_text_column ();
1532 public bool get_focus_on_click ();
1533 public bool get_has_entry ();
1534 public int get_id_column ();
1535 public unowned Gtk.TreeModel get_model ();
1536 public unowned Atk.Object get_popup_accessible ();
1537 public bool get_popup_fixed_width ();
1538 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
1539 public int get_row_span_column ();
1540 public unowned string get_title ();
1541 public int get_wrap_width ();
1542 public void popup_for_device (Gdk.Device device);
1543 public void set_active (int index_);
1544 public bool set_active_id (string? active_id);
1545 public void set_active_iter (Gtk.TreeIter? iter);
1546 public void set_add_tearoffs (bool add_tearoffs);
1547 public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
1548 public void set_column_span_column (int column_span);
1549 public void set_entry_text_column (int text_column);
1550 public void set_focus_on_click (bool focus_on_click);
1551 public void set_id_column (int id_column);
1552 public void set_model (Gtk.TreeModel? model);
1553 public void set_popup_fixed_width (bool fixed);
1554 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc func);
1555 public void set_row_span_column (int row_span);
1556 public void set_title (string title);
1557 public void set_wrap_width (int width);
1558 [CCode (has_construct_function = false, type = "GtkWidget*")]
1559 public ComboBox.with_area (Gtk.CellArea area);
1560 [CCode (has_construct_function = false, type = "GtkWidget*")]
1561 public ComboBox.with_area_and_entry (Gtk.CellArea area);
1562 [CCode (has_construct_function = false, type = "GtkWidget*")]
1563 public ComboBox.with_entry ();
1564 [CCode (has_construct_function = false, type = "GtkWidget*")]
1565 public ComboBox.with_model (Gtk.TreeModel model);
1566 [CCode (has_construct_function = false, type = "GtkWidget*")]
1567 public ComboBox.with_model_and_entry (Gtk.TreeModel model);
1568 public int active { get; set; }
1569 public string? active_id { get; set; }
1570 public bool add_tearoffs { get; set; }
1571 public Gtk.SensitivityType button_sensitivity { get; set; }
1573 public Gtk.CellArea cell_area { owned get; construct; }
1574 public int column_span_column { get; set; }
1575 public int entry_text_column { get; set; }
1576 public bool has_entry { get; construct; }
1578 public bool has_frame { get; set; }
1579 public int id_column { get; set; }
1580 public Gtk.TreeModel model { get; set; }
1581 public bool popup_fixed_width { get; set; }
1583 public bool popup_shown { get; }
1584 public int row_span_column { get; set; }
1586 public string tearoff_title { owned get; set; }
1587 public int wrap_width { get; set; }
1588 public virtual signal void changed ();
1589 public virtual signal string format_entry_text (string path);
1590 public virtual signal void move_active (Gtk.ScrollType p0);
1592 public virtual signal bool popdown ();
1594 public virtual signal void popup ();
1596 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_combo_box_accessible_get_type ()")]
1597 public class ComboBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Action, Atk.Selection {
1598 [CCode (has_construct_function = false)]
1599 protected ComboBoxAccessible ();
1601 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_combo_box_text_get_type ()")]
1602 public class ComboBoxText : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable {
1603 [CCode (has_construct_function = false, type = "GtkWidget*")]
1604 public ComboBoxText ();
1605 public void append (string? id, string text);
1606 public void append_text (string text);
1607 public string get_active_text ();
1608 public void insert (int position, string? id, string text);
1609 public void insert_text (int position, string text);
1610 public void prepend (string? id, string text);
1611 public void prepend_text (string text);
1612 public void remove (int position);
1613 public void remove_all ();
1614 [CCode (has_construct_function = false, type = "GtkWidget*")]
1615 public ComboBoxText.with_entry ();
1617 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_container_get_type ()")]
1618 public abstract class Container : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1619 [CCode (has_construct_function = false)]
1620 protected Container ();
1621 public void add_with_properties (Gtk.Widget widget, ...);
1622 public void child_get (Gtk.Widget child, ...);
1623 public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value);
1624 public void child_get_valist (Gtk.Widget child, string first_property_name, va_list var_args);
1625 public void child_notify (Gtk.Widget child, string child_property);
1626 public void child_notify_by_pspec (Gtk.Widget child, GLib.ParamSpec pspec);
1627 public void child_set (Gtk.Widget child, ...);
1628 public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value);
1629 public void child_set_valist (Gtk.Widget child, string first_property_name, va_list var_args);
1630 public virtual GLib.Type child_type ();
1631 public class unowned GLib.ParamSpec? class_find_child_property (string property_name);
1632 public class (unowned GLib.ParamSpec)[] class_list_child_properties ();
1634 public virtual string composite_name (Gtk.Widget child);
1635 public void forall (Gtk.Callback callback);
1636 [CCode (vfunc_name = "forall")]
1638 public virtual void forall_internal (bool include_internal, Gtk.Callback callback);
1639 public void @foreach (Gtk.Callback callback);
1640 public uint get_border_width ();
1642 public virtual void get_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1643 public GLib.List<weak Gtk.Widget> get_children ();
1644 public bool get_focus_chain (out GLib.List<weak Gtk.Widget> focusable_widgets);
1645 public unowned Gtk.Widget? get_focus_child ();
1646 public unowned Gtk.Adjustment? get_focus_hadjustment ();
1647 public unowned Gtk.Adjustment? get_focus_vadjustment ();
1648 public virtual Gtk.WidgetPath get_path_for_child (Gtk.Widget child);
1649 public Gtk.ResizeMode get_resize_mode ();
1650 [CCode (cname = "gtk_container_class_handle_border_width")]
1651 public class void handle_border_width ();
1652 [CCode (cname = "gtk_container_class_install_child_properties")]
1653 public class void install_child_properties ([CCode (array_length_pos = 0.5)] GLib.ParamSpec[] pspecs);
1654 [CCode (cname = "gtk_container_class_install_child_property")]
1655 public class void install_child_property (uint property_id, GLib.ParamSpec pspec);
1656 public void propagate_draw (Gtk.Widget child, Cairo.Context cr);
1657 public void resize_children ();
1658 public void set_border_width (uint border_width);
1660 public virtual void set_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1661 public void set_focus_chain (GLib.List<Gtk.Widget> focusable_widgets);
1662 public void set_focus_hadjustment (Gtk.Adjustment adjustment);
1663 public void set_focus_vadjustment (Gtk.Adjustment adjustment);
1664 public void set_reallocate_redraws (bool needs_redraws);
1665 public void set_resize_mode (Gtk.ResizeMode resize_mode);
1666 public void unset_focus_chain ();
1667 public uint border_width { get; set; }
1669 public Gtk.Widget child { set; }
1670 public Gtk.ResizeMode resize_mode { get; set; }
1672 public virtual signal void add (Gtk.Widget widget);
1674 public virtual signal void check_resize ();
1676 public virtual signal void remove (Gtk.Widget widget);
1678 public virtual signal void set_focus_child (Gtk.Widget? child);
1680 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_container_accessible_get_type ()")]
1681 public class ContainerAccessible : Gtk.WidgetAccessible, Atk.Component {
1682 [CCode (has_construct_function = false)]
1683 protected ContainerAccessible ();
1685 public virtual int add_gtk (Gtk.Container container, Gtk.Widget widget, void* data);
1687 public virtual int remove_gtk (Gtk.Container container, Gtk.Widget widget, void* data);
1689 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_container_cell_accessible_get_type ()")]
1690 public class ContainerCellAccessible : Gtk.CellAccessible, Atk.Action, Atk.Component {
1691 [CCode (has_construct_function = false)]
1692 public ContainerCellAccessible ();
1693 public void add_child (Gtk.CellAccessible child);
1694 public unowned GLib.List<Gtk.CellAccessible> get_children ();
1695 public void remove_child (Gtk.CellAccessible child);
1697 [CCode (cheader_filename = "gtk/gtk.h")]
1698 public class CssProvider : GLib.Object, Gtk.StyleProvider {
1699 [CCode (has_construct_function = false)]
1700 public CssProvider ();
1701 public static unowned Gtk.CssProvider get_default ();
1702 public static unowned Gtk.CssProvider get_named (string name, string? variant);
1703 [CCode (cname = "gtk_css_provider_load_from_data")]
1704 public bool load_from_buffer ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gssize")] uint8[] data) throws GLib.Error;
1705 public bool load_from_data (string data, ssize_t length = -1) throws GLib.Error;
1706 public bool load_from_file (GLib.File file) throws GLib.Error;
1707 public bool load_from_path (string path) throws GLib.Error;
1708 public void load_from_resource (string resource_path);
1709 public string to_string ();
1710 public virtual signal void parsing_error (Gtk.CssSection section, GLib.Error error);
1712 [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_css_section_ref", type_id = "gtk_css_section_get_type ()", unref_function = "gtk_css_section_unref")]
1714 public class CssSection {
1715 public uint get_end_line ();
1716 public uint get_end_position ();
1717 public unowned GLib.File get_file ();
1718 public unowned Gtk.CssSection? get_parent ();
1719 public Gtk.CssSectionType get_section_type ();
1720 public uint get_start_line ();
1721 public uint get_start_position ();
1723 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_dialog_get_type ()")]
1724 public class Dialog : Gtk.Window, Atk.Implementor, Gtk.Buildable {
1725 [CCode (has_construct_function = false, type = "GtkWidget*")]
1727 public void add_action_widget (Gtk.Widget child, int response_id);
1728 public unowned Gtk.Widget add_button (string button_text, int response_id);
1729 public void add_buttons (...);
1730 public unowned Gtk.Widget get_action_area ();
1731 [CCode (type = "GtkWidget*")]
1732 public unowned Gtk.Box get_content_area ();
1733 public unowned Gtk.Widget get_header_bar ();
1734 public int get_response_for_widget (Gtk.Widget widget);
1735 public unowned Gtk.Widget? get_widget_for_response (int response_id);
1737 [CCode (sentinel = "-1")]
1738 public void set_alternative_button_order (...);
1739 public void set_alternative_button_order_from_array ([CCode (array_length_pos = 0.5)] int[] new_order);
1740 public void set_default_response (int response_id);
1741 public void set_response_sensitive (int response_id, bool setting);
1742 [CCode (has_construct_function = false, type = "GtkWidget*")]
1743 public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...);
1745 public int use_header_bar { get; construct; }
1746 public virtual signal void close ();
1748 public virtual signal void response (int response_id);
1750 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_drawing_area_get_type ()")]
1751 public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1752 [CCode (has_construct_function = false, type = "GtkWidget*")]
1753 public DrawingArea ();
1755 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_get_type ()")]
1756 public class Entry : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable {
1757 [CCode (has_construct_function = false, type = "GtkWidget*")]
1759 public bool get_activates_default ();
1760 public float get_alignment ();
1761 public unowned Pango.AttrList? get_attributes ();
1762 public unowned Gtk.EntryBuffer get_buffer ();
1763 public unowned Gtk.EntryCompletion get_completion ();
1764 public int get_current_icon_drag_source ();
1765 public unowned Gtk.Adjustment? get_cursor_hadjustment ();
1767 public virtual void get_frame_size (out int x, out int y, out int width, out int height);
1768 public bool get_has_frame ();
1769 public bool get_icon_activatable (Gtk.EntryIconPosition icon_pos);
1770 public Gdk.Rectangle get_icon_area (Gtk.EntryIconPosition icon_pos);
1771 public int get_icon_at_pos (int x, int y);
1772 public unowned GLib.Icon? get_icon_gicon (Gtk.EntryIconPosition icon_pos);
1773 public unowned string? get_icon_name (Gtk.EntryIconPosition icon_pos);
1774 public unowned Gdk.Pixbuf? get_icon_pixbuf (Gtk.EntryIconPosition icon_pos);
1775 public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos);
1776 public unowned string get_icon_stock (Gtk.EntryIconPosition icon_pos);
1777 public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos);
1778 public string? get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos);
1779 public string? get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos);
1780 public unowned Gtk.Border? get_inner_border ();
1781 public Gtk.InputHints get_input_hints ();
1782 public Gtk.InputPurpose get_input_purpose ();
1783 public unichar get_invisible_char ();
1784 public unowned Pango.Layout get_layout ();
1785 public void get_layout_offsets (out int x, out int y);
1786 public int get_max_length ();
1787 public int get_max_width_chars ();
1788 public bool get_overwrite_mode ();
1789 public unowned string get_placeholder_text ();
1790 public double get_progress_fraction ();
1791 public double get_progress_pulse_step ();
1792 public unowned Pango.TabArray? get_tabs ();
1793 public unowned string get_text ();
1794 public void get_text_area (out Gdk.Rectangle text_area);
1796 public virtual void get_text_area_size (out int x, out int y, out int width, out int height);
1797 public uint16 get_text_length ();
1798 public bool get_visibility ();
1799 public int get_width_chars ();
1800 public void grab_focus_without_selecting ();
1801 public bool im_context_filter_keypress (Gdk.EventKey event);
1802 public int layout_index_to_text_index (int layout_index);
1803 public void progress_pulse ();
1804 public void reset_im_context ();
1805 public void set_activates_default (bool setting);
1806 public void set_alignment (float xalign);
1807 public void set_attributes (Pango.AttrList attrs);
1808 public void set_buffer (Gtk.EntryBuffer buffer);
1809 public void set_completion (Gtk.EntryCompletion? completion);
1810 public void set_cursor_hadjustment (Gtk.Adjustment? adjustment);
1811 public void set_has_frame (bool setting);
1812 public void set_icon_activatable (Gtk.EntryIconPosition icon_pos, bool activatable);
1813 public void set_icon_drag_source (Gtk.EntryIconPosition icon_pos, Gtk.TargetList target_list, Gdk.DragAction actions);
1814 public void set_icon_from_gicon (Gtk.EntryIconPosition icon_pos, GLib.Icon? icon);
1815 public void set_icon_from_icon_name (Gtk.EntryIconPosition icon_pos, string? icon_name);
1816 public void set_icon_from_pixbuf (Gtk.EntryIconPosition icon_pos, Gdk.Pixbuf? pixbuf);
1817 public void set_icon_from_stock (Gtk.EntryIconPosition icon_pos, string? stock_id);
1818 public void set_icon_sensitive (Gtk.EntryIconPosition icon_pos, bool sensitive);
1819 public void set_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos, string? tooltip);
1820 public void set_icon_tooltip_text (Gtk.EntryIconPosition icon_pos, string? tooltip);
1821 [Version (deprecated_since = "3.4")]
1822 public void set_inner_border (Gtk.Border? border);
1823 public void set_input_hints (Gtk.InputHints hints);
1824 public void set_input_purpose (Gtk.InputPurpose purpose);
1825 public void set_invisible_char (unichar ch);
1826 public void set_max_length (int max);
1827 public void set_max_width_chars (int n_chars);
1828 public void set_overwrite_mode (bool overwrite);
1829 public void set_placeholder_text (string? text);
1830 public void set_progress_fraction (double fraction);
1831 public void set_progress_pulse_step (double fraction);
1832 public void set_tabs (Pango.TabArray tabs);
1833 public void set_text (string text);
1834 public void set_visibility (bool visible);
1835 public void set_width_chars (int n_chars);
1836 public int text_index_to_layout_index (int text_index);
1837 public void unset_invisible_char ();
1838 [CCode (has_construct_function = false, type = "GtkWidget*")]
1839 public Entry.with_buffer (Gtk.EntryBuffer buffer);
1840 public bool activates_default { get; set; }
1841 public Pango.AttrList attributes { get; set; }
1842 public Gtk.EntryBuffer buffer { get; set construct; }
1844 public bool caps_lock_warning { get; set; }
1845 public Gtk.EntryCompletion completion { get; set; }
1847 public int cursor_position { get; }
1849 public bool editable { get; set; }
1850 public bool has_frame { get; set; }
1852 public string im_module { owned get; set; }
1853 [Version (deprecated_since = "3.4")]
1854 public Gtk.Border inner_border { get; set; }
1855 public Gtk.InputHints input_hints { get; set; }
1856 public Gtk.InputPurpose input_purpose { get; set; }
1857 public uint invisible_char { get; set; }
1859 public bool invisible_char_set { get; set; }
1860 public int max_length { get; set; }
1861 public int max_width_chars { get; set; }
1862 public bool overwrite_mode { get; set; }
1863 public string placeholder_text { get; set; }
1865 public bool populate_all { get; set; }
1867 public bool primary_icon_activatable { get; set; }
1869 public GLib.Icon primary_icon_gicon { owned get; set; }
1871 public string primary_icon_name { owned get; set; }
1873 public Gdk.Pixbuf primary_icon_pixbuf { owned get; set; }
1875 public bool primary_icon_sensitive { get; set; }
1877 public string primary_icon_stock { owned get; set; }
1879 public Gtk.ImageType primary_icon_storage_type { get; }
1881 public string primary_icon_tooltip_markup { owned get; set; }
1883 public string primary_icon_tooltip_text { owned get; set; }
1884 public double progress_fraction { get; set; }
1885 public double progress_pulse_step { get; set; }
1887 public int scroll_offset { get; }
1889 public bool secondary_icon_activatable { get; set; }
1891 public GLib.Icon secondary_icon_gicon { owned get; set; }
1893 public string secondary_icon_name { owned get; set; }
1895 public Gdk.Pixbuf secondary_icon_pixbuf { owned get; set; }
1897 public bool secondary_icon_sensitive { get; set; }
1899 public string secondary_icon_stock { owned get; set; }
1901 public Gtk.ImageType secondary_icon_storage_type { get; }
1903 public string secondary_icon_tooltip_markup { owned get; set; }
1905 public string secondary_icon_tooltip_text { owned get; set; }
1907 public int selection_bound { get; }
1909 public Gtk.ShadowType shadow_type { get; set; }
1910 public Pango.TabArray tabs { get; set; }
1911 public string text { get; set; }
1912 public uint text_length { get; }
1914 public bool truncate_multiline { get; set; }
1915 public bool visibility { get; set; }
1916 public int width_chars { get; set; }
1918 public float xalign { get; set; }
1919 public virtual signal void activate ();
1920 public virtual signal void backspace ();
1921 public virtual signal void copy_clipboard ();
1922 public virtual signal void cut_clipboard ();
1923 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
1924 public virtual signal void icon_press (Gtk.EntryIconPosition p0, Gdk.Event p1);
1925 public virtual signal void icon_release (Gtk.EntryIconPosition p0, Gdk.Event p1);
1926 public virtual signal void insert_at_cursor (string str);
1927 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
1928 public virtual signal void paste_clipboard ();
1929 public virtual signal void populate_popup (Gtk.Menu popup);
1930 public virtual signal void preedit_changed (string p0);
1931 public virtual signal void toggle_overwrite ();
1933 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_entry_accessible_get_type ()")]
1934 public class EntryAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.EditableText, Atk.Text, Atk.Action {
1935 [CCode (has_construct_function = false)]
1936 protected EntryAccessible ();
1938 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_buffer_get_type ()")]
1939 public class EntryBuffer : GLib.Object {
1940 [CCode (has_construct_function = false)]
1941 public EntryBuffer (uint8[]? initial_chars = null);
1942 public virtual uint delete_text (uint position, int n_chars);
1943 public void emit_deleted_text (uint position, uint n_chars);
1944 public void emit_inserted_text (uint position, uint8[] chars);
1945 public size_t get_bytes ();
1946 public virtual uint get_length ();
1947 public int get_max_length ();
1948 public virtual unowned string get_text ();
1949 public virtual uint insert_text (uint position, uint8[] chars);
1950 public void set_max_length (int max_length);
1951 public void set_text (uint8[] chars);
1952 public uint length { get; }
1953 public int max_length { get; set; }
1954 public string text { get; set; }
1955 public virtual signal void deleted_text (uint position, uint n_chars);
1956 public virtual signal void inserted_text (uint position, string chars, uint n_chars);
1958 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_completion_get_type ()")]
1959 public class EntryCompletion : GLib.Object, Gtk.CellLayout, Gtk.Buildable {
1960 [CCode (has_construct_function = false)]
1961 public EntryCompletion ();
1962 public void complete ();
1963 public string? compute_prefix (string key);
1964 public void delete_action (int index_);
1965 public unowned string get_completion_prefix ();
1966 public unowned Gtk.Widget get_entry ();
1967 public bool get_inline_completion ();
1968 public bool get_inline_selection ();
1969 public int get_minimum_key_length ();
1970 public unowned Gtk.TreeModel? get_model ();
1971 public bool get_popup_completion ();
1972 public bool get_popup_set_width ();
1973 public bool get_popup_single_match ();
1974 public int get_text_column ();
1975 public void insert_action_markup (int index_, string markup);
1976 public void insert_action_text (int index_, string text);
1977 public void set_inline_completion (bool inline_completion);
1978 public void set_inline_selection (bool inline_selection);
1979 public void set_match_func (owned Gtk.EntryCompletionMatchFunc func);
1980 public void set_minimum_key_length (int length);
1981 public void set_model (Gtk.TreeModel? model);
1982 public void set_popup_completion (bool popup_completion);
1983 public void set_popup_set_width (bool popup_set_width);
1984 public void set_popup_single_match (bool popup_single_match);
1985 public void set_text_column (int column);
1986 [CCode (has_construct_function = false)]
1987 public EntryCompletion.with_area (Gtk.CellArea area);
1989 public Gtk.CellArea cell_area { owned get; construct; }
1990 public bool inline_completion { get; set; }
1991 public bool inline_selection { get; set; }
1992 public int minimum_key_length { get; set; }
1993 public Gtk.TreeModel model { get; set; }
1994 public bool popup_completion { get; set; }
1995 public bool popup_set_width { get; set; }
1996 public bool popup_single_match { get; set; }
1997 public int text_column { get; set; }
1998 public virtual signal void action_activated (int index_);
1999 public virtual signal bool cursor_on_match (Gtk.TreeModel model, Gtk.TreeIter iter);
2001 public virtual signal bool insert_prefix (string prefix);
2002 public virtual signal bool match_selected (Gtk.TreeModel model, Gtk.TreeIter iter);
2003 public virtual signal void no_matches ();
2005 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_entry_icon_accessible_get_type ()")]
2006 public class EntryIconAccessible : Atk.Object, Atk.Action, Atk.Component {
2007 [CCode (has_construct_function = false)]
2008 protected EntryIconAccessible ();
2010 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_box_get_type ()")]
2011 public class EventBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2012 [CCode (has_construct_function = false, type = "GtkWidget*")]
2014 public bool get_above_child ();
2015 public bool get_visible_window ();
2016 public void set_above_child (bool above_child);
2017 public void set_visible_window (bool visible_window);
2018 public bool above_child { get; set; }
2019 public bool visible_window { get; set; }
2021 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_controller_get_type ()")]
2022 public abstract class EventController : GLib.Object {
2023 [CCode (has_construct_function = false)]
2024 protected EventController ();
2025 public Gtk.PropagationPhase get_propagation_phase ();
2026 public unowned Gtk.Widget get_widget ();
2027 public bool handle_event (Gdk.Event event);
2028 public void reset ();
2029 public void set_propagation_phase (Gtk.PropagationPhase phase);
2030 public Gtk.PropagationPhase propagation_phase { get; set; }
2031 public Gtk.Widget widget { get; construct; }
2033 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_expander_get_type ()")]
2034 public class Expander : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2035 [CCode (has_construct_function = false, type = "GtkWidget*")]
2036 public Expander (string label);
2037 public bool get_expanded ();
2038 public unowned string? get_label ();
2039 public bool get_label_fill ();
2040 public unowned Gtk.Widget get_label_widget ();
2041 public bool get_resize_toplevel ();
2042 public int get_spacing ();
2043 public bool get_use_markup ();
2044 public bool get_use_underline ();
2045 public void set_expanded (bool expanded);
2046 public void set_label (string? label);
2047 public void set_label_fill (bool label_fill);
2048 public void set_label_widget (Gtk.Widget? label_widget);
2049 public void set_resize_toplevel (bool resize_toplevel);
2050 public void set_spacing (int spacing);
2051 public void set_use_markup (bool use_markup);
2052 public void set_use_underline (bool use_underline);
2053 [CCode (has_construct_function = false, type = "GtkWidget*")]
2054 public Expander.with_mnemonic (string? label);
2055 public bool expanded { get; set construct; }
2056 public string label { get; set construct; }
2057 public bool label_fill { get; set construct; }
2058 public Gtk.Widget label_widget { get; set; }
2059 public bool resize_toplevel { get; set; }
2060 public int spacing { get; set; }
2061 public bool use_markup { get; set construct; }
2062 public bool use_underline { get; set construct; }
2063 public virtual signal void activate ();
2065 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_expander_accessible_get_type ()")]
2066 public class ExpanderAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Action {
2067 [CCode (has_construct_function = false)]
2068 protected ExpanderAccessible ();
2070 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_button_get_type ()")]
2071 public class FileChooserButton : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser {
2072 [CCode (has_construct_function = false, type = "GtkWidget*")]
2073 public FileChooserButton (string title, Gtk.FileChooserAction action);
2074 public bool get_focus_on_click ();
2075 public unowned string get_title ();
2076 public int get_width_chars ();
2077 public void set_focus_on_click (bool focus_on_click);
2078 public void set_title (string title);
2079 public void set_width_chars (int n_chars);
2080 [CCode (has_construct_function = false, type = "GtkWidget*")]
2081 public FileChooserButton.with_dialog (Gtk.Dialog dialog);
2082 public Gtk.FileChooser dialog { construct; }
2083 public string title { get; set; }
2084 public int width_chars { get; set; }
2085 public virtual signal void file_set ();
2087 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_dialog_get_type ()")]
2088 public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
2089 [CCode (has_construct_function = false, type = "GtkWidget*")]
2090 public FileChooserDialog (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, ...);
2092 [CCode (cheader_filename = "gtk/gtk.h")]
2093 public class FileChooserNative : Gtk.NativeDialog, Gtk.FileChooser {
2094 [CCode (has_construct_function = false)]
2095 public FileChooserNative (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, string? accept_label, string? cancel_label);
2096 public unowned string? get_accept_label ();
2097 public unowned string? get_cancel_label ();
2098 public void set_accept_label (string? accept_label);
2099 public void set_cancel_label (string? cancel_label);
2100 public string? accept_label { get; set; }
2101 public string? cancel_label { get; set; }
2103 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_widget_get_type ()")]
2104 public class FileChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser, Gtk.FileChooserEmbed {
2105 [CCode (has_construct_function = false, type = "GtkWidget*")]
2106 public FileChooserWidget (Gtk.FileChooserAction action);
2108 public bool search_mode { get; set; }
2110 public string subtitle { owned get; }
2111 public virtual signal void desktop_folder ();
2112 public virtual signal void down_folder ();
2113 public virtual signal void home_folder ();
2114 public virtual signal void location_popup (string p0);
2115 public virtual signal void location_popup_on_paste ();
2116 public virtual signal void location_toggle_popup ();
2117 public virtual signal void places_shortcut ();
2118 public virtual signal void quick_bookmark (int p0);
2119 public virtual signal void recent_shortcut ();
2120 public virtual signal void search_shortcut ();
2121 public virtual signal void show_hidden ();
2122 public virtual signal void up_folder ();
2124 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_filter_get_type ()")]
2125 public class FileFilter : GLib.InitiallyUnowned, Gtk.Buildable {
2126 [CCode (has_construct_function = false)]
2127 public FileFilter ();
2128 public void add_custom (Gtk.FileFilterFlags needed, owned Gtk.FileFilterFunc func);
2129 public void add_mime_type (string mime_type);
2130 public void add_pattern (string pattern);
2131 public void add_pixbuf_formats ();
2132 public bool filter (Gtk.FileFilterInfo filter_info);
2133 [CCode (has_construct_function = false)]
2134 public FileFilter.from_gvariant (GLib.Variant variant);
2135 [CCode (cname = "gtk_file_filter_get_name")]
2136 public unowned string? get_filter_name ();
2137 public Gtk.FileFilterFlags get_needed ();
2138 [CCode (cname = "gtk_file_filter_set_name")]
2139 public void set_filter_name (string? name);
2140 [CCode (returns_floating_reference = true)]
2141 public GLib.Variant to_gvariant ();
2143 [CCode (cheader_filename = "gtk/gtk.h")]
2145 public class FileFilterInfo {
2146 public Gtk.FileFilterFlags contains;
2147 public weak string display_name;
2148 public weak string filename;
2149 public weak string mime_type;
2150 public weak string uri;
2152 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_fixed_get_type ()")]
2153 public class Fixed : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2154 [CCode (has_construct_function = false, type = "GtkWidget*")]
2156 public void move (Gtk.Widget widget, int x, int y);
2157 public void put (Gtk.Widget widget, int x, int y);
2159 [CCode (cheader_filename = "gtk/gtk.h")]
2161 public class FixedChild {
2162 public weak Gtk.Widget widget;
2166 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_get_type ()")]
2167 public class FlowBox : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2168 [CCode (has_construct_function = false, type = "GtkWidget*")]
2170 public void bind_model (GLib.ListModel? model, owned Gtk.FlowBoxCreateWidgetFunc? create_widget_func);
2171 public bool get_activate_on_single_click ();
2172 public unowned Gtk.FlowBoxChild? get_child_at_index (int idx);
2173 public unowned Gtk.FlowBoxChild? get_child_at_pos (int x, int y);
2174 public uint get_column_spacing ();
2175 public bool get_homogeneous ();
2176 public uint get_max_children_per_line ();
2177 public uint get_min_children_per_line ();
2178 public uint get_row_spacing ();
2179 public GLib.List<weak Gtk.FlowBoxChild> get_selected_children ();
2180 public Gtk.SelectionMode get_selection_mode ();
2181 public void insert (Gtk.Widget widget, int position);
2182 public void invalidate_filter ();
2183 public void invalidate_sort ();
2184 public void select_child (Gtk.FlowBoxChild child);
2185 public void selected_foreach (Gtk.FlowBoxForeachFunc func);
2186 public void set_activate_on_single_click (bool single);
2187 public void set_column_spacing (uint spacing);
2188 public void set_filter_func (owned Gtk.FlowBoxFilterFunc? filter_func);
2189 public void set_hadjustment (Gtk.Adjustment adjustment);
2190 public void set_homogeneous (bool homogeneous);
2191 public void set_max_children_per_line (uint n_children);
2192 public void set_min_children_per_line (uint n_children);
2193 public void set_row_spacing (uint spacing);
2194 public void set_selection_mode (Gtk.SelectionMode mode);
2195 public void set_sort_func (owned Gtk.FlowBoxSortFunc? sort_func);
2196 public void set_vadjustment (Gtk.Adjustment adjustment);
2197 public void unselect_child (Gtk.FlowBoxChild child);
2198 public bool activate_on_single_click { get; set; }
2199 public uint column_spacing { get; set; }
2200 public bool homogeneous { get; set; }
2201 public uint max_children_per_line { get; set; }
2202 public uint min_children_per_line { get; set; }
2203 public uint row_spacing { get; set; }
2204 public Gtk.SelectionMode selection_mode { get; set; }
2205 public virtual signal void activate_cursor_child ();
2206 public virtual signal void child_activated (Gtk.FlowBoxChild child);
2207 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
2209 public virtual signal void select_all ();
2210 public virtual signal void selected_children_changed ();
2211 public virtual signal void toggle_cursor_child ();
2213 public virtual signal void unselect_all ();
2215 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_flow_box_accessible_get_type ()")]
2216 public class FlowBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
2217 [CCode (has_construct_function = false)]
2218 protected FlowBoxAccessible ();
2220 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_child_get_type ()")]
2221 public class FlowBoxChild : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2222 [CCode (has_construct_function = false, type = "GtkWidget*")]
2223 public FlowBoxChild ();
2224 public void changed ();
2225 public int get_index ();
2226 public bool is_selected ();
2227 public virtual signal void activate ();
2229 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_flow_box_child_accessible_get_type ()")]
2230 public class FlowBoxChildAccessible : Gtk.ContainerAccessible, Atk.Component {
2231 [CCode (has_construct_function = false)]
2232 protected FlowBoxChildAccessible ();
2234 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_button_get_type ()")]
2235 public class FontButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.FontChooser {
2236 [CCode (has_construct_function = false, type = "GtkWidget*")]
2237 public FontButton ();
2238 public unowned string get_font_name ();
2239 public bool get_show_size ();
2240 public bool get_show_style ();
2241 public unowned string get_title ();
2242 public bool get_use_font ();
2243 public bool get_use_size ();
2244 public bool set_font_name (string fontname);
2245 public void set_show_size (bool show_size);
2246 public void set_show_style (bool show_style);
2247 public void set_title (string title);
2248 public void set_use_font (bool use_font);
2249 public void set_use_size (bool use_size);
2250 [CCode (has_construct_function = false, type = "GtkWidget*")]
2251 public FontButton.with_font (string fontname);
2252 public string font_name { get; set; }
2253 public bool show_size { get; set; }
2254 public bool show_style { get; set; }
2255 public string title { get; set; }
2256 public bool use_font { get; set; }
2257 public bool use_size { get; set; }
2258 public virtual signal void font_set ();
2260 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_dialog_get_type ()")]
2261 public class FontChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser {
2262 [CCode (has_construct_function = false, type = "GtkWidget*")]
2263 public FontChooserDialog (string? title, Gtk.Window? parent);
2265 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_widget_get_type ()")]
2266 public class FontChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FontChooser {
2267 [CCode (has_construct_function = false, type = "GtkWidget*")]
2268 public FontChooserWidget ();
2270 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_selection_get_type ()")]
2271 public class FontSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2272 [CCode (has_construct_function = false, type = "GtkWidget*")]
2273 public FontSelection ();
2274 public unowned Pango.FontFace get_face ();
2275 public unowned Gtk.Widget get_face_list ();
2276 public unowned Pango.FontFamily get_family ();
2277 public unowned Gtk.Widget get_family_list ();
2278 public string get_font_name ();
2279 public unowned Gtk.Widget get_preview_entry ();
2280 public unowned string get_preview_text ();
2281 public int get_size ();
2282 public unowned Gtk.Widget get_size_entry ();
2283 public unowned Gtk.Widget get_size_list ();
2284 public bool set_font_name (string fontname);
2285 public void set_preview_text (string text);
2286 public string font_name { owned get; set; }
2287 public string preview_text { get; set; }
2289 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_selection_dialog_get_type ()")]
2290 [Version (deprecated_since = "3.2", replacement = "FontChooserDialog")]
2291 public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
2292 [CCode (has_construct_function = false, type = "GtkWidget*")]
2293 public FontSelectionDialog (string title);
2294 public unowned Gtk.Widget get_cancel_button ();
2295 public string get_font_name ();
2296 public unowned Gtk.Widget get_font_selection ();
2297 public unowned Gtk.Widget get_ok_button ();
2298 public unowned string get_preview_text ();
2299 public bool set_font_name (string fontname);
2300 public void set_preview_text (string text);
2302 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_frame_get_type ()")]
2303 public class Frame : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2304 [CCode (has_construct_function = false, type = "GtkWidget*")]
2305 public Frame (string? label);
2307 public virtual void compute_child_allocation (Gtk.Allocation allocation);
2308 public unowned string? get_label ();
2309 public void get_label_align (out float xalign, out float yalign);
2310 public unowned Gtk.Widget? get_label_widget ();
2311 public Gtk.ShadowType get_shadow_type ();
2312 public void set_label (string? label);
2313 public void set_label_align (float xalign, float yalign);
2314 public void set_label_widget (Gtk.Widget? label_widget);
2315 public void set_shadow_type (Gtk.ShadowType type);
2316 public string label { get; set; }
2317 public Gtk.Widget label_widget { get; set; }
2319 public float label_xalign { get; set; }
2321 public float label_yalign { get; set; }
2322 public Gtk.ShadowType shadow_type { get; set; }
2324 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_frame_accessible_get_type ()")]
2325 public class FrameAccessible : Gtk.ContainerAccessible, Atk.Component {
2326 [CCode (has_construct_function = false)]
2327 protected FrameAccessible ();
2329 [CCode (cheader_filename = "gtk/gtk.h")]
2330 public class GLArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2331 [CCode (has_construct_function = false, type = "GtkWidget*")]
2333 public void attach_buffers ();
2334 public bool get_auto_render ();
2335 public unowned Gdk.GLContext get_context ();
2336 public unowned GLib.Error? get_error ();
2337 public bool get_has_alpha ();
2338 public bool get_has_depth_buffer ();
2339 public bool get_has_stencil_buffer ();
2340 public void get_required_version (out int major, out int minor);
2341 public bool get_use_es ();
2342 public void make_current ();
2343 public void queue_render ();
2344 public void set_auto_render (bool auto_render);
2345 public void set_error (GLib.Error? error);
2346 public void set_has_alpha (bool has_alpha);
2347 public void set_has_depth_buffer (bool has_depth_buffer);
2348 public void set_has_stencil_buffer (bool has_stencil_buffer);
2349 public void set_required_version (int major, int minor);
2350 public void set_use_es (bool use_es);
2351 public bool auto_render { get; set; }
2352 public Gdk.GLContext context { get; }
2353 public bool has_alpha { get; set; }
2354 public bool has_depth_buffer { get; set; }
2355 public bool has_stencil_buffer { get; set; }
2356 public bool use_es { get; set; }
2357 public virtual signal Gdk.GLContext create_context ();
2358 public virtual signal bool render (Gdk.GLContext context);
2359 public virtual signal void resize (int width, int height);
2361 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_get_type ()")]
2362 public abstract class Gesture : Gtk.EventController {
2363 [CCode (has_construct_function = false)]
2364 protected Gesture ();
2365 public bool get_bounding_box (out Gdk.Rectangle rect);
2366 public bool get_bounding_box_center (out double x, out double y);
2367 public unowned Gdk.Device? get_device ();
2368 public GLib.List<weak Gtk.Gesture> get_group ();
2369 public unowned Gdk.Event? get_last_event (Gdk.EventSequence sequence);
2370 public unowned Gdk.EventSequence? get_last_updated_sequence ();
2371 public bool get_point (Gdk.EventSequence? sequence, out double? x = null, out double? y = null);
2372 public Gtk.EventSequenceState get_sequence_state (Gdk.EventSequence sequence);
2373 public GLib.List<weak Gdk.EventSequence> get_sequences ();
2374 public unowned Gdk.Window? get_window ();
2375 public void group (Gtk.Gesture gesture);
2376 public bool handles_sequence (Gdk.EventSequence sequence);
2377 public bool is_active ();
2378 public bool is_grouped_with (Gtk.Gesture other);
2379 public bool is_recognized ();
2380 public bool set_sequence_state (Gdk.EventSequence sequence, Gtk.EventSequenceState state);
2381 public bool set_state (Gtk.EventSequenceState state);
2382 public void set_window (Gdk.Window? window);
2383 public void ungroup ();
2385 public uint n_points { get; construct; }
2386 public Gdk.Window window { get; set; }
2387 public virtual signal void begin (Gdk.EventSequence p0);
2388 public virtual signal void cancel (Gdk.EventSequence p0);
2389 public virtual signal void end (Gdk.EventSequence p0);
2390 public virtual signal void sequence_state_changed (Gdk.EventSequence p0, Gtk.EventSequenceState p1);
2391 public virtual signal void update (Gdk.EventSequence p0);
2393 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_drag_get_type ()")]
2394 public class GestureDrag : Gtk.GestureSingle {
2395 [CCode (has_construct_function = false, type = "GtkGesture*")]
2396 public GestureDrag (Gtk.Widget widget);
2397 public bool get_offset (out double? x, out double? y);
2398 public bool get_start_point (out double? x, out double? y);
2399 public virtual signal void drag_begin (double p0, double p1);
2400 public virtual signal void drag_end (double p0, double p1);
2401 public virtual signal void drag_update (double p0, double p1);
2403 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_long_press_get_type ()")]
2404 public class GestureLongPress : Gtk.GestureSingle {
2405 [CCode (has_construct_function = false, type = "GtkGesture*")]
2406 public GestureLongPress (Gtk.Widget widget);
2408 public double delay_factor { get; set; }
2409 public virtual signal void cancelled ();
2410 public virtual signal void pressed (double p0, double p1);
2412 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_multi_press_get_type ()")]
2413 public class GestureMultiPress : Gtk.GestureSingle {
2414 [CCode (has_construct_function = false, type = "GtkGesture*")]
2415 public GestureMultiPress (Gtk.Widget widget);
2416 public bool get_area (out Gdk.Rectangle rect);
2417 public void set_area (Gdk.Rectangle? rect);
2418 public virtual signal void pressed (int p0, double p1, double p2);
2419 public virtual signal void released (int p0, double p1, double p2);
2420 public virtual signal void stopped ();
2422 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_pan_get_type ()")]
2423 public class GesturePan : Gtk.GestureDrag {
2424 [CCode (has_construct_function = false, type = "GtkGesture*")]
2425 public GesturePan (Gtk.Widget widget, Gtk.Orientation orientation);
2426 public Gtk.Orientation get_orientation ();
2427 public void set_orientation (Gtk.Orientation orientation);
2428 public Gtk.Orientation orientation { get; set; }
2429 public virtual signal void pan (Gtk.PanDirection p0, double p1);
2431 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_rotate_get_type ()")]
2432 public class GestureRotate : Gtk.Gesture {
2433 [CCode (has_construct_function = false, type = "GtkGesture*")]
2434 public GestureRotate (Gtk.Widget widget);
2435 public double get_angle_delta ();
2436 public virtual signal void angle_changed (double p0, double p1);
2438 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_single_get_type ()")]
2439 public class GestureSingle : Gtk.Gesture {
2440 [CCode (has_construct_function = false)]
2441 protected GestureSingle ();
2442 public uint get_button ();
2443 public uint get_current_button ();
2444 public Gdk.EventSequence? get_current_sequence ();
2445 public bool get_exclusive ();
2446 public bool get_touch_only ();
2447 public void set_button (uint button);
2448 public void set_exclusive (bool exclusive);
2449 public void set_touch_only (bool touch_only);
2450 public uint button { get; set; }
2451 public bool exclusive { get; set; }
2452 public bool touch_only { get; set; }
2454 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_swipe_get_type ()")]
2455 public class GestureSwipe : Gtk.GestureSingle {
2456 [CCode (has_construct_function = false, type = "GtkGesture*")]
2457 public GestureSwipe (Gtk.Widget widget);
2458 public bool get_velocity (out double velocity_x, out double velocity_y);
2459 public virtual signal void swipe (double p0, double p1);
2461 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_zoom_get_type ()")]
2462 public class GestureZoom : Gtk.Gesture {
2463 [CCode (has_construct_function = false, type = "GtkGesture*")]
2464 public GestureZoom (Gtk.Widget widget);
2465 public double get_scale_delta ();
2466 public virtual signal void scale_changed (double p0);
2468 [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_gradient_ref", type_id = "gtk_gradient_get_type ()", unref_function = "gtk_gradient_unref")]
2470 public class Gradient {
2471 public void add_color_stop (double offset, Gtk.SymbolicColor color);
2472 [CCode (has_construct_function = false)]
2473 public Gradient.linear (double x0, double y0, double x1, double y1);
2474 [CCode (has_construct_function = false)]
2475 public Gradient.radial (double x0, double y0, double radius0, double x1, double y1, double radius1);
2476 public bool resolve (Gtk.StyleProperties props, out Cairo.Pattern resolved_gradient);
2477 public Cairo.Pattern resolve_for_context (Gtk.StyleContext context);
2478 public string to_string ();
2480 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_grid_get_type ()")]
2481 public class Grid : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2482 [CCode (has_construct_function = false, type = "GtkWidget*")]
2484 public void attach (Gtk.Widget child, int left, int top, int width = 1, int height = 1);
2485 public void attach_next_to (Gtk.Widget child, Gtk.Widget? sibling, Gtk.PositionType side, int width = 1, int height = 1);
2486 public int get_baseline_row ();
2487 public unowned Gtk.Widget? get_child_at (int left, int top);
2488 public bool get_column_homogeneous ();
2489 public uint get_column_spacing ();
2490 public Gtk.BaselinePosition get_row_baseline_position (int row);
2491 public bool get_row_homogeneous ();
2492 public uint get_row_spacing ();
2493 public void insert_column (int position);
2494 public void insert_next_to (Gtk.Widget sibling, Gtk.PositionType side);
2495 public void insert_row (int position);
2496 public void remove_column (int position);
2497 public void remove_row (int position);
2498 public void set_baseline_row (int row);
2499 public void set_column_homogeneous (bool homogeneous);
2500 public void set_column_spacing (uint spacing);
2501 public void set_row_baseline_position (int row, Gtk.BaselinePosition pos);
2502 public void set_row_homogeneous (bool homogeneous);
2503 public void set_row_spacing (uint spacing);
2504 public int baseline_row { get; set; }
2505 public bool column_homogeneous { get; set; }
2506 public int column_spacing { get; set; }
2507 public bool row_homogeneous { get; set; }
2508 public int row_spacing { get; set; }
2510 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hbox_get_type ()")]
2511 [Version (deprecated_since = "3.2", replacement = "Grid")]
2512 public class HBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2513 [CCode (has_construct_function = false, type = "GtkWidget*")]
2514 public HBox (bool homogeneous, int spacing);
2516 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hbutton_box_get_type ()")]
2517 public class HButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2518 [CCode (has_construct_function = false, type = "GtkWidget*")]
2519 public HButtonBox ();
2521 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hpaned_get_type ()")]
2522 [Version (deprecated_since = "3.2", replacement = "Paned")]
2523 public class HPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2524 [CCode (has_construct_function = false, type = "GtkWidget*")]
2527 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hsv_get_type ()")]
2528 public class HSV : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2529 [CCode (has_construct_function = false, type = "GtkWidget*")]
2531 public void get_color (out double h, out double s, out double v);
2532 public void get_metrics (out int size, out int ring_width);
2533 public bool is_adjusting ();
2534 public void set_color (double h, double s, double v);
2535 public void set_metrics (int size, int ring_width);
2536 public static void to_rgb (double h, double s, double v, out double r, out double g, out double b);
2537 public virtual signal void changed ();
2538 public virtual signal void move (Gtk.DirectionType type);
2540 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hscale_get_type ()")]
2541 [Version (deprecated_since = "3.2")]
2542 public class HScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2543 [CCode (has_construct_function = false, type = "GtkWidget*")]
2544 public HScale (Gtk.Adjustment? adjustment);
2545 [CCode (has_construct_function = false, type = "GtkWidget*")]
2546 public HScale.with_range (double min, double max, double step);
2548 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hscrollbar_get_type ()")]
2549 [Version (deprecated_since = "3.2")]
2550 public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2551 [CCode (has_construct_function = false, type = "GtkWidget*")]
2552 public HScrollbar (Gtk.Adjustment? adjustment);
2554 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hseparator_get_type ()")]
2555 [Version (deprecated_since = "3.2", replacement = "Separator")]
2556 public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2557 [CCode (has_construct_function = false, type = "GtkWidget*")]
2558 public HSeparator ();
2560 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_handle_box_get_type ()")]
2561 [Version (deprecated_since = "3.4")]
2562 public class HandleBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2563 [CCode (has_construct_function = false, type = "GtkWidget*")]
2564 public HandleBox ();
2565 public bool get_child_detached ();
2566 public Gtk.PositionType get_handle_position ();
2567 public Gtk.ShadowType get_shadow_type ();
2568 public Gtk.PositionType get_snap_edge ();
2569 public void set_handle_position (Gtk.PositionType position);
2570 public void set_shadow_type (Gtk.ShadowType type);
2571 public void set_snap_edge (Gtk.PositionType edge);
2572 public bool child_detached { get; }
2573 public Gtk.PositionType handle_position { get; set; }
2574 public Gtk.ShadowType shadow_type { get; set; }
2575 public Gtk.PositionType snap_edge { get; set; }
2577 public bool snap_edge_set { get; set; }
2578 public virtual signal void child_attached (Gtk.Widget child);
2580 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_header_bar_get_type ()")]
2581 public class HeaderBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2582 [CCode (has_construct_function = false, type = "GtkWidget*")]
2583 public HeaderBar ();
2584 public unowned Gtk.Widget? get_custom_title ();
2585 public unowned string get_decoration_layout ();
2586 public bool get_has_subtitle ();
2587 public bool get_show_close_button ();
2588 public unowned string? get_subtitle ();
2589 public unowned string? get_title ();
2590 public void pack_end (Gtk.Widget child);
2591 public void pack_start (Gtk.Widget child);
2592 public void set_custom_title (Gtk.Widget? title_widget);
2593 public void set_decoration_layout (string? layout);
2594 public void set_has_subtitle (bool setting);
2595 public void set_show_close_button (bool setting);
2596 public void set_subtitle (string? subtitle);
2597 public void set_title (string? title);
2598 public Gtk.Widget custom_title { get; set; }
2599 public string decoration_layout { get; set; }
2601 public bool decoration_layout_set { get; set; }
2602 public bool has_subtitle { get; set; }
2603 public bool show_close_button { get; set; }
2605 public int spacing { get; set; }
2606 public string subtitle { get; set; }
2607 public string title { get; set; }
2609 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h", type_id = "gtk_im_context_get_type ()")]
2610 public abstract class IMContext : GLib.Object {
2611 [CCode (has_construct_function = false)]
2612 protected IMContext ();
2613 public virtual bool filter_keypress (Gdk.EventKey event);
2614 public virtual void focus_in ();
2615 public virtual void focus_out ();
2616 public virtual void get_preedit_string (out string str, out Pango.AttrList attrs, out int cursor_pos);
2617 public virtual bool get_surrounding (out string text, out int cursor_index);
2618 public virtual void reset ();
2619 public virtual void set_client_window (Gdk.Window? window);
2620 public virtual void set_cursor_location (Gdk.Rectangle area);
2621 public virtual void set_surrounding (string text, int len, int cursor_index);
2622 public virtual void set_use_preedit (bool use_preedit);
2624 public Gtk.InputHints input_hints { get; set; }
2626 public Gtk.InputPurpose input_purpose { get; set; }
2627 public virtual signal void commit (string str);
2629 public virtual signal bool delete_surrounding (int offset, int n_chars);
2630 public virtual signal void preedit_changed ();
2631 public virtual signal void preedit_end ();
2632 public virtual signal void preedit_start ();
2633 public virtual signal bool retrieve_surrounding ();
2635 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_im_context_simple_get_type ()")]
2636 public class IMContextSimple : Gtk.IMContext {
2637 [CCode (has_construct_function = false, type = "GtkIMContext*")]
2638 public IMContextSimple ();
2639 public void add_compose_file (string compose_file);
2640 public void add_table ([CCode (array_length = false)] uint16[] data, int max_seq_len, int n_seqs);
2642 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_im_multicontext_get_type ()")]
2643 public class IMMulticontext : Gtk.IMContext {
2644 [CCode (has_construct_function = false, type = "GtkIMContext*")]
2645 public IMMulticontext ();
2646 public void append_menuitems (Gtk.MenuShell menushell);
2647 public unowned string get_context_id ();
2648 public void set_context_id (string context_id);
2650 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_factory_get_type ()")]
2651 [Version (deprecated_since = "3.10", replacement = "Gtk.IconTheme")]
2652 public class IconFactory : GLib.Object, Gtk.Buildable {
2653 [CCode (has_construct_function = false)]
2654 public IconFactory ();
2655 public void add (string stock_id, Gtk.IconSet icon_set);
2656 public void add_default ();
2657 public unowned Gtk.IconSet lookup (string stock_id);
2658 public static unowned Gtk.IconSet lookup_default (string stock_id);
2659 public void remove_default ();
2661 [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_icon_info_copy", free_function = "gtk_icon_info_free", type_id = "gtk_icon_info_get_type ()")]
2663 public class IconInfo {
2664 [CCode (has_construct_function = false)]
2665 protected IconInfo ();
2666 public Gtk.IconInfo copy ();
2667 [CCode (has_construct_function = false)]
2668 public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf);
2669 public void free ();
2670 public bool get_attach_points (out Gdk.Point[] points);
2671 public int get_base_scale ();
2672 public int get_base_size ();
2673 public unowned Gdk.Pixbuf get_builtin_pixbuf ();
2674 public unowned string get_display_name ();
2675 public bool get_embedded_rect (out Gdk.Rectangle rectangle);
2676 public unowned string? get_filename ();
2677 public bool is_symbolic ();
2678 public Gdk.Pixbuf load_icon () throws GLib.Error;
2679 public async Gdk.Pixbuf load_icon_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
2680 public Cairo.Surface load_surface (Gdk.Window? for_window) throws GLib.Error;
2681 public Gdk.Pixbuf load_symbolic (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, out bool was_symbolic = null) throws GLib.Error;
2682 public async Gdk.Pixbuf load_symbolic_async (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, GLib.Cancellable? cancellable = null, out bool was_symbolic = null) throws GLib.Error;
2683 public Gdk.Pixbuf load_symbolic_for_context (Gtk.StyleContext context, out bool was_symbolic = null) throws GLib.Error;
2684 public async Gdk.Pixbuf load_symbolic_for_context_async (Gtk.StyleContext context, GLib.Cancellable? cancellable = null, out bool was_symbolic = null) throws GLib.Error;
2685 [Version (deprecated_since = "3.0", replacement = "load_symbolic_for_context")]
2686 public Gdk.Pixbuf load_symbolic_for_style (Gtk.Style style, Gtk.StateType state, out bool was_symbolic = null) throws GLib.Error;
2687 public void set_raw_coordinates (bool raw_coordinates);
2689 [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_icon_set_ref", type_id = "gtk_icon_set_get_type ()", unref_function = "gtk_icon_set_unref")]
2691 [Version (deprecated_since = "3.10", replacement = "Gtk.IconTheme")]
2692 public class IconSet {
2693 [CCode (has_construct_function = false)]
2695 public void add_source (Gtk.IconSource source);
2696 public Gtk.IconSet copy ();
2697 [CCode (has_construct_function = false)]
2698 public IconSet.from_pixbuf (Gdk.Pixbuf pixbuf);
2699 public void get_sizes (out Gtk.IconSize[] sizes);
2700 [Version (deprecated_since = "3.0", replacement = "set_render_icon_pixbuf")]
2701 public Gdk.Pixbuf render_icon (Gtk.Style? style, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget? widget, string? detail);
2702 [Version (deprecated_since = "3.10")]
2703 public Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSize size);
2704 [Version (deprecated_since = "3.10")]
2705 public Cairo.Surface render_icon_surface (Gtk.StyleContext context, Gtk.IconSize size, int scale, Gdk.Window? for_window);
2707 [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_icon_source_copy", type_id = "gtk_icon_source_get_type ()")]
2709 [Version (deprecated_since = "3.10", replacement = "Gtk.IconTheme")]
2710 public class IconSource {
2711 [CCode (has_construct_function = false)]
2712 public IconSource ();
2713 public Gtk.IconSource copy ();
2714 public Gtk.TextDirection get_direction ();
2715 public bool get_direction_wildcarded ();
2716 public unowned string get_filename ();
2717 public unowned string get_icon_name ();
2718 public unowned Gdk.Pixbuf get_pixbuf ();
2719 public Gtk.IconSize get_size ();
2720 public bool get_size_wildcarded ();
2721 public Gtk.StateType get_state ();
2722 public bool get_state_wildcarded ();
2723 public void set_direction (Gtk.TextDirection direction);
2724 public void set_direction_wildcarded (bool setting);
2725 public void set_filename (string filename);
2726 public void set_icon_name (string? icon_name);
2727 public void set_pixbuf (Gdk.Pixbuf pixbuf);
2728 public void set_size (Gtk.IconSize size);
2729 public void set_size_wildcarded (bool setting);
2730 public void set_state (Gtk.StateType state);
2731 public void set_state_wildcarded (bool setting);
2733 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_theme_get_type ()")]
2734 public class IconTheme : GLib.Object {
2735 [CCode (has_construct_function = false)]
2736 public IconTheme ();
2737 public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf);
2738 public void add_resource_path (string path);
2739 public void append_search_path (string path);
2740 public Gtk.IconInfo? choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
2741 public Gtk.IconInfo? choose_icon_for_scale ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, int scale, Gtk.IconLookupFlags flags);
2742 public static unowned Gtk.IconTheme get_default ();
2743 public string? get_example_icon_name ();
2744 public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen);
2745 [CCode (array_length = false, array_null_terminated = true)]
2746 public int[] get_icon_sizes (string icon_name);
2747 public void get_search_path (out string[] path);
2748 public bool has_icon (string icon_name);
2749 public GLib.List<string> list_contexts ();
2750 public GLib.List<string> list_icons (string? context);
2751 public Gdk.Pixbuf? load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
2752 public Gdk.Pixbuf? load_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags) throws GLib.Error;
2753 public Cairo.Surface? load_surface (string icon_name, int size, int scale, Gdk.Window? for_window, Gtk.IconLookupFlags flags) throws GLib.Error;
2754 public Gtk.IconInfo? lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
2755 public Gtk.IconInfo? lookup_by_gicon_for_scale (GLib.Icon icon, int size, int scale, Gtk.IconLookupFlags flags);
2756 public Gtk.IconInfo? lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
2757 public Gtk.IconInfo? lookup_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags);
2758 public void prepend_search_path (string path);
2759 public bool rescan_if_needed ();
2760 public void set_custom_theme (string? theme_name);
2761 public void set_screen (Gdk.Screen screen);
2762 public void set_search_path (string[] path);
2763 public virtual signal void changed ();
2765 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_view_get_type ()")]
2766 public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Scrollable {
2767 [CCode (has_construct_function = false, type = "GtkWidget*")]
2769 public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
2770 public Cairo.Surface create_drag_icon (Gtk.TreePath path);
2771 public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
2772 public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
2773 public bool get_activate_on_single_click ();
2774 public bool get_cell_rect (Gtk.TreePath path, Gtk.CellRenderer? cell, out Gdk.Rectangle rect);
2775 public int get_column_spacing ();
2776 public int get_columns ();
2777 public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
2778 public bool get_dest_item_at_pos (int drag_x, int drag_y, out unowned Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
2779 public void get_drag_dest_item (out unowned Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
2780 public bool get_item_at_pos (int x, int y, out unowned Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
2781 public int get_item_column (Gtk.TreePath path);
2782 public Gtk.Orientation get_item_orientation ();
2783 public int get_item_padding ();
2784 public int get_item_row (Gtk.TreePath path);
2785 public int get_item_width ();
2786 public int get_margin ();
2787 public int get_markup_column ();
2788 public unowned Gtk.TreeModel? get_model ();
2789 public Gtk.TreePath? get_path_at_pos (int x, int y);
2790 public int get_pixbuf_column ();
2791 public bool get_reorderable ();
2792 public int get_row_spacing ();
2793 public GLib.List<Gtk.TreePath> get_selected_items ();
2794 public Gtk.SelectionMode get_selection_mode ();
2795 public int get_spacing ();
2796 public int get_text_column ();
2797 public int get_tooltip_column ();
2798 public bool get_tooltip_context (ref int x, ref int y, bool keyboard_tip, out unowned Gtk.TreeModel model, out Gtk.TreePath path, out Gtk.TreeIter iter);
2799 public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
2800 public bool path_is_selected (Gtk.TreePath path);
2801 public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
2802 public void select_path (Gtk.TreePath path);
2803 public void selected_foreach (Gtk.IconViewForeachFunc func);
2804 public void set_activate_on_single_click (bool single);
2805 public void set_column_spacing (int column_spacing);
2806 public void set_columns (int columns);
2807 public void set_cursor (Gtk.TreePath path, Gtk.CellRenderer? cell, bool start_editing);
2808 public void set_drag_dest_item (Gtk.TreePath? path, Gtk.IconViewDropPosition pos);
2809 public void set_item_orientation (Gtk.Orientation orientation);
2810 public void set_item_padding (int item_padding);
2811 public void set_item_width (int item_width);
2812 public void set_margin (int margin);
2813 public void set_markup_column (int column);
2814 public void set_model (Gtk.TreeModel? model);
2815 public void set_pixbuf_column (int column);
2816 public void set_reorderable (bool reorderable);
2817 public void set_row_spacing (int row_spacing);
2818 public void set_selection_mode (Gtk.SelectionMode mode);
2819 public void set_spacing (int spacing);
2820 public void set_text_column (int column);
2821 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.CellRenderer? cell);
2822 public void set_tooltip_column (int column);
2823 public void set_tooltip_item (Gtk.Tooltip tooltip, Gtk.TreePath path);
2824 public void unselect_path (Gtk.TreePath path);
2825 public void unset_model_drag_dest ();
2826 public void unset_model_drag_source ();
2827 [CCode (has_construct_function = false, type = "GtkWidget*")]
2828 public IconView.with_area (Gtk.CellArea area);
2829 [CCode (has_construct_function = false, type = "GtkWidget*")]
2830 public IconView.with_model (Gtk.TreeModel model);
2831 public bool activate_on_single_click { get; set; }
2833 public Gtk.CellArea cell_area { owned get; construct; }
2834 public int column_spacing { get; set; }
2835 public int columns { get; set; }
2836 public Gtk.Orientation item_orientation { get; set; }
2837 public int item_padding { get; set; }
2838 public int item_width { get; set; }
2839 public int margin { get; set; }
2840 public int markup_column { get; set; }
2841 public Gtk.TreeModel model { get; set; }
2842 public int pixbuf_column { get; set; }
2843 public bool reorderable { get; set; }
2844 public int row_spacing { get; set; }
2845 public Gtk.SelectionMode selection_mode { get; set; }
2846 public int spacing { get; set; }
2847 public int text_column { get; set; }
2848 public int tooltip_column { get; set; }
2849 public virtual signal bool activate_cursor_item ();
2851 public virtual signal void item_activated (Gtk.TreePath path);
2852 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
2853 public virtual signal void select_all ();
2854 public virtual signal void select_cursor_item ();
2855 public virtual signal void selection_changed ();
2856 public virtual signal void toggle_cursor_item ();
2857 public virtual signal void unselect_all ();
2859 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_icon_view_accessible_get_type ()")]
2860 public class IconViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
2861 [CCode (has_construct_function = false)]
2862 protected IconViewAccessible ();
2864 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_image_get_type ()")]
2865 public class Image : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
2866 [CCode (has_construct_function = false, type = "GtkWidget*")]
2868 public void clear ();
2869 [CCode (has_construct_function = false, type = "GtkWidget*")]
2870 public Image.from_animation (Gdk.PixbufAnimation animation);
2871 [CCode (has_construct_function = false, type = "GtkWidget*")]
2872 public Image.from_file (string filename);
2873 [CCode (has_construct_function = false, type = "GtkWidget*")]
2874 public Image.from_gicon (GLib.Icon icon, Gtk.IconSize size);
2875 [CCode (has_construct_function = false, type = "GtkWidget*")]
2876 public Image.from_icon_name (string icon_name, Gtk.IconSize size);
2877 [CCode (has_construct_function = false, type = "GtkWidget*")]
2878 public Image.from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
2879 [CCode (has_construct_function = false, type = "GtkWidget*")]
2880 public Image.from_pixbuf (Gdk.Pixbuf pixbuf);
2881 [CCode (has_construct_function = false, type = "GtkWidget*")]
2882 public Image.from_resource (string resource_path);
2883 [CCode (has_construct_function = false, type = "GtkWidget*")]
2884 public Image.from_stock (string stock_id, Gtk.IconSize size);
2885 [CCode (has_construct_function = false, type = "GtkWidget*")]
2886 public Image.from_surface (Cairo.Surface surface);
2887 public unowned Gdk.PixbufAnimation? get_animation ();
2888 public void get_gicon (out unowned GLib.Icon gicon, out Gtk.IconSize size);
2889 public void get_icon_name (out unowned string icon_name, out Gtk.IconSize size);
2890 public void get_icon_set (out unowned Gtk.IconSet icon_set, out Gtk.IconSize size);
2891 public unowned Gdk.Pixbuf? get_pixbuf ();
2892 public int get_pixel_size ();
2893 public void get_stock (out string stock_id, out Gtk.IconSize size);
2894 public Gtk.ImageType get_storage_type ();
2895 public void set_from_animation (Gdk.PixbufAnimation animation);
2896 public void set_from_file (string? filename);
2897 public void set_from_gicon (GLib.Icon icon, Gtk.IconSize size);
2898 public void set_from_icon_name (string icon_name, Gtk.IconSize size);
2899 public void set_from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
2900 public void set_from_pixbuf (Gdk.Pixbuf? pixbuf);
2901 public void set_from_resource (string? resource_path);
2902 public void set_from_stock (string stock_id, Gtk.IconSize size);
2903 public void set_from_surface (Cairo.Surface surface);
2904 public void set_pixel_size (int pixel_size);
2906 public string file { owned get; set; }
2908 public GLib.Icon gicon { owned get; set; }
2910 public string icon_name { owned get; set; }
2912 public Gtk.IconSet icon_set { owned get; set; }
2914 public int icon_size { get; set; }
2916 public Gdk.Pixbuf pixbuf { owned get; set; }
2918 public Gdk.PixbufAnimation pixbuf_animation { owned get; set; }
2919 public int pixel_size { get; set; }
2921 public string resource { owned get; set; }
2923 public string stock { owned get; set; }
2924 public Gtk.ImageType storage_type { get; }
2926 public Cairo.Surface surface { owned get; set; }
2928 public bool use_fallback { get; set; }
2930 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_image_accessible_get_type ()")]
2931 public class ImageAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
2932 [CCode (has_construct_function = false)]
2933 protected ImageAccessible ();
2935 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_image_cell_accessible_get_type ()")]
2936 public class ImageCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component, Atk.Image {
2937 [CCode (has_construct_function = false)]
2938 protected ImageCellAccessible ();
2940 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_image_menu_item_get_type ()")]
2941 public class ImageMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
2942 [CCode (has_construct_function = false, type = "GtkWidget*")]
2943 public ImageMenuItem ();
2944 [CCode (has_construct_function = false, type = "GtkWidget*")]
2945 public ImageMenuItem.from_stock (string stock_id, Gtk.AccelGroup? accel_group);
2946 public bool get_always_show_image ();
2947 public unowned Gtk.Widget get_image ();
2948 public bool get_use_stock ();
2949 public void set_accel_group (Gtk.AccelGroup accel_group);
2950 public void set_always_show_image (bool always_show);
2951 public void set_image (Gtk.Widget? image);
2952 public void set_use_stock (bool use_stock);
2953 [CCode (has_construct_function = false, type = "GtkWidget*")]
2954 public ImageMenuItem.with_label (string label);
2955 [CCode (has_construct_function = false, type = "GtkWidget*")]
2956 public ImageMenuItem.with_mnemonic (string label);
2957 public Gtk.AccelGroup accel_group { set; }
2958 public bool always_show_image { get; set construct; }
2959 public Gtk.Widget image { get; set; }
2960 public bool use_stock { get; set construct; }
2962 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_info_bar_get_type ()")]
2963 public class InfoBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2964 [CCode (has_construct_function = false, type = "GtkWidget*")]
2966 public void add_action_widget (Gtk.Widget child, int response_id);
2967 public unowned Gtk.Button add_button (string button_text, int response_id);
2968 public void add_buttons (...);
2969 public unowned Gtk.Widget get_action_area ();
2970 public unowned Gtk.Container get_content_area ();
2971 public Gtk.MessageType get_message_type ();
2972 public bool get_show_close_button ();
2973 public void set_default_response (int response_id);
2974 public void set_message_type (Gtk.MessageType message_type);
2975 public void set_response_sensitive (int response_id, bool setting);
2976 public void set_show_close_button (bool setting);
2977 [CCode (has_construct_function = false, type = "GtkWidget*")]
2978 public InfoBar.with_buttons (...);
2979 public Gtk.MessageType message_type { get; set construct; }
2980 public bool show_close_button { get; set construct; }
2981 public virtual signal void close ();
2983 public virtual signal void response (int response_id);
2985 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_invisible_get_type ()")]
2986 public class Invisible : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2987 [CCode (has_construct_function = false, type = "GtkWidget*")]
2988 public Invisible ();
2989 [CCode (has_construct_function = false, type = "GtkWidget*")]
2990 public Invisible.for_screen (Gdk.Screen screen);
2991 public unowned Gdk.Screen get_screen ();
2992 public void set_screen (Gdk.Screen screen);
2993 public Gdk.Screen screen { get; set; }
2995 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_label_get_type ()")]
2996 public class Label : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
2997 [CCode (has_construct_function = false, type = "GtkWidget*")]
2998 public Label (string? str);
2999 public double get_angle ();
3000 public unowned Pango.AttrList? get_attributes ();
3001 public unowned string get_current_uri ();
3002 public Pango.EllipsizeMode get_ellipsize ();
3003 public Gtk.Justification get_justify ();
3004 public unowned string get_label ();
3005 public unowned Pango.Layout get_layout ();
3006 public void get_layout_offsets (out int x, out int y);
3007 public bool get_line_wrap ();
3008 public Pango.WrapMode get_line_wrap_mode ();
3009 public int get_lines ();
3010 public int get_max_width_chars ();
3011 public uint get_mnemonic_keyval ();
3012 public unowned Gtk.Widget? get_mnemonic_widget ();
3013 public bool get_selectable ();
3014 public bool get_selection_bounds (out int start, out int end);
3015 public bool get_single_line_mode ();
3016 public unowned string get_text ();
3017 public bool get_track_visited_links ();
3018 public bool get_use_markup ();
3019 public bool get_use_underline ();
3020 public int get_width_chars ();
3021 public float get_xalign ();
3022 public float get_yalign ();
3023 public void select_region (int start_offset, int end_offset);
3024 public void set_angle (double angle);
3025 public void set_attributes (Pango.AttrList? attrs);
3026 public void set_ellipsize (Pango.EllipsizeMode mode);
3027 public void set_justify (Gtk.Justification jtype);
3028 public void set_label (string str);
3029 public void set_line_wrap (bool wrap);
3030 public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
3031 public void set_lines (int lines);
3032 public void set_markup (string str);
3033 public void set_markup_with_mnemonic (string str);
3034 public void set_max_width_chars (int n_chars);
3035 public void set_mnemonic_widget (Gtk.Widget? widget);
3036 public void set_pattern (string pattern);
3037 public void set_selectable (bool setting);
3038 public void set_single_line_mode (bool single_line_mode);
3039 public void set_text (string str);
3040 public void set_text_with_mnemonic (string str);
3041 public void set_track_visited_links (bool track_links);
3042 public void set_use_markup (bool setting);
3043 public void set_use_underline (bool setting);
3044 public void set_width_chars (int n_chars);
3045 public void set_xalign (float xalign);
3046 public void set_yalign (float yalign);
3047 [CCode (has_construct_function = false, type = "GtkWidget*")]
3048 public Label.with_mnemonic (string? str);
3049 public double angle { get; set; }
3050 public Pango.AttrList attributes { get; set; }
3052 public int cursor_position { get; }
3053 public Pango.EllipsizeMode ellipsize { get; set; }
3054 public Gtk.Justification justify { get; set; }
3055 public string label { get; set; }
3056 public int lines { get; set; }
3057 public int max_width_chars { get; set; }
3058 public uint mnemonic_keyval { get; }
3059 public Gtk.Widget mnemonic_widget { get; set; }
3060 public string pattern { set; }
3061 public bool selectable { get; set; }
3063 public int selection_bound { get; }
3064 public bool single_line_mode { get; set; }
3065 public bool track_visited_links { get; set; }
3066 public bool use_markup { get; set; }
3067 public bool use_underline { get; set; }
3068 public int width_chars { get; set; }
3070 public bool wrap { get; set; }
3072 public Pango.WrapMode wrap_mode { get; set; }
3073 public float xalign { get; set; }
3074 public float yalign { get; set; }
3075 public virtual signal void activate_current_link ();
3076 public virtual signal bool activate_link (string uri);
3077 public virtual signal void copy_clipboard ();
3078 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
3079 public virtual signal void populate_popup (Gtk.Menu menu);
3081 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_label_accessible_get_type ()")]
3082 public class LabelAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Text, Atk.Hypertext {
3083 [CCode (has_construct_function = false)]
3084 protected LabelAccessible ();
3086 [CCode (cheader_filename = "gtk/gtk.h")]
3088 public class LabelSelectionInfo {
3090 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_layout_get_type ()")]
3091 public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
3092 [CCode (has_construct_function = false, type = "GtkWidget*")]
3093 public Layout (Gtk.Adjustment? hadjustment = null, Gtk.Adjustment? vadjustment = null);
3094 public unowned Gdk.Window get_bin_window ();
3095 public unowned Gtk.Adjustment get_hadjustment ();
3096 public void get_size (out uint width, out uint height);
3097 public unowned Gtk.Adjustment get_vadjustment ();
3098 public void move (Gtk.Widget child_widget, int x, int y);
3099 public void put (Gtk.Widget child_widget, int x, int y);
3100 public void set_hadjustment (Gtk.Adjustment? adjustment);
3101 public void set_size (uint width, uint height);
3102 public void set_vadjustment (Gtk.Adjustment? adjustment);
3104 public uint height { get; set; }
3106 public uint width { get; set; }
3108 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_level_bar_get_type ()")]
3109 public class LevelBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3110 [CCode (has_construct_function = false, type = "GtkWidget*")]
3112 public void add_offset_value (string name, double value);
3113 [CCode (has_construct_function = false, type = "GtkWidget*")]
3114 public LevelBar.for_interval (double min_value, double max_value);
3115 public bool get_inverted ();
3116 public double get_max_value ();
3117 public double get_min_value ();
3118 public Gtk.LevelBarMode get_mode ();
3119 public bool get_offset_value (string? name, out double value);
3120 public double get_value ();
3121 public void remove_offset_value (string? name);
3122 public void set_inverted (bool inverted);
3123 public void set_max_value (double value);
3124 public void set_min_value (double value);
3125 public void set_mode (Gtk.LevelBarMode mode);
3126 public void set_value (double value);
3127 public bool inverted { get; set; }
3128 public double max_value { get; set; }
3129 public double min_value { get; set; }
3130 public Gtk.LevelBarMode mode { get; set; }
3131 public double value { get; set; }
3132 public virtual signal void offset_changed (string name);
3134 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_level_bar_accessible_get_type ()")]
3135 public class LevelBarAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
3136 [CCode (has_construct_function = false)]
3137 protected LevelBarAccessible ();
3139 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_link_button_get_type ()")]
3140 public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
3141 [CCode (has_construct_function = false, type = "GtkWidget*")]
3142 public LinkButton (string uri);
3143 public unowned string get_uri ();
3144 public bool get_visited ();
3145 public void set_uri (string uri);
3146 public void set_visited (bool visited);
3147 [CCode (has_construct_function = false, type = "GtkWidget*")]
3148 public LinkButton.with_label (string uri, string? label);
3149 public string uri { get; set; }
3150 public bool visited { get; set; }
3151 public virtual signal bool activate_link ();
3153 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_link_button_accessible_get_type ()")]
3154 public class LinkButtonAccessible : Gtk.ButtonAccessible, Atk.Component, Atk.Action, Atk.Image, Atk.HyperlinkImpl {
3155 [CCode (has_construct_function = false)]
3156 protected LinkButtonAccessible ();
3158 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_get_type ()")]
3159 public class ListBox : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3160 [CCode (has_construct_function = false, type = "GtkWidget*")]
3162 public void bind_model (GLib.ListModel? model, owned Gtk.ListBoxCreateWidgetFunc? create_widget_func);
3163 public void drag_highlight_row (Gtk.ListBoxRow row);
3164 public void drag_unhighlight_row ();
3165 public bool get_activate_on_single_click ();
3166 public unowned Gtk.Adjustment get_adjustment ();
3167 public unowned Gtk.ListBoxRow? get_row_at_index (int index_);
3168 public unowned Gtk.ListBoxRow? get_row_at_y (int y);
3169 public unowned Gtk.ListBoxRow get_selected_row ();
3170 public GLib.List<weak Gtk.ListBoxRow> get_selected_rows ();
3171 public Gtk.SelectionMode get_selection_mode ();
3172 public void insert (Gtk.Widget child, int position);
3173 public void invalidate_filter ();
3174 public void invalidate_headers ();
3175 public void invalidate_sort ();
3176 public void prepend (Gtk.Widget child);
3177 public void select_row (Gtk.ListBoxRow? row);
3178 public void selected_foreach (Gtk.ListBoxForeachFunc func);
3179 public void set_activate_on_single_click (bool single);
3180 public void set_adjustment (Gtk.Adjustment? adjustment);
3181 public void set_filter_func (owned Gtk.ListBoxFilterFunc? filter_func);
3182 public void set_header_func (owned Gtk.ListBoxUpdateHeaderFunc? update_header);
3183 public void set_placeholder (Gtk.Widget? placeholder);
3184 public void set_selection_mode (Gtk.SelectionMode mode);
3185 public void set_sort_func (owned Gtk.ListBoxSortFunc? sort_func);
3186 public void unselect_row (Gtk.ListBoxRow row);
3187 public bool activate_on_single_click { get; set; }
3188 public Gtk.SelectionMode selection_mode { get; set; }
3189 public virtual signal void activate_cursor_row ();
3190 public virtual signal void move_cursor (Gtk.MovementStep step, int count);
3191 public virtual signal void row_activated (Gtk.ListBoxRow row);
3192 public virtual signal void row_selected (Gtk.ListBoxRow? row);
3194 public virtual signal void select_all ();
3195 public virtual signal void selected_rows_changed ();
3196 public virtual signal void toggle_cursor_row ();
3198 public virtual signal void unselect_all ();
3200 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_accessible_get_type ()")]
3201 public class ListBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
3202 [CCode (has_construct_function = false)]
3203 protected ListBoxAccessible ();
3205 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_row_get_type ()")]
3206 public class ListBoxRow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3207 [CCode (has_construct_function = false, type = "GtkWidget*")]
3208 public ListBoxRow ();
3209 public void changed ();
3210 public bool get_activatable ();
3211 public unowned Gtk.Widget? get_header ();
3212 public int get_index ();
3213 public bool get_selectable ();
3214 public bool is_selected ();
3215 public void set_activatable (bool activatable);
3216 public void set_header (Gtk.Widget? header);
3217 public void set_selectable (bool selectable);
3218 public bool activatable { get; set; }
3219 public bool selectable { get; set; }
3220 public virtual signal void activate ();
3222 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_row_accessible_get_type ()")]
3223 public class ListBoxRowAccessible : Gtk.ContainerAccessible, Atk.Component {
3224 [CCode (has_construct_function = false)]
3225 protected ListBoxRowAccessible ();
3227 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_store_get_type ()")]
3228 public class ListStore : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable, Gtk.Buildable {
3229 [CCode (has_construct_function = false, sentinel = "-1")]
3230 public ListStore (int n_columns, ...);
3231 public void append (out Gtk.TreeIter iter);
3232 public void clear ();
3233 public void insert (out Gtk.TreeIter iter, int position);
3234 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
3235 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
3236 [CCode (sentinel = "-1")]
3237 public void insert_with_values (out Gtk.TreeIter iter, int position, ...);
3238 public void insert_with_valuesv (out Gtk.TreeIter iter, int position, [CCode (array_length_pos = 4.1)] int[] columns, [CCode (array_length_pos = 4.1)] GLib.Value[] values);
3239 public bool iter_is_valid (Gtk.TreeIter iter);
3240 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
3241 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
3242 [CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
3243 public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
3244 public void prepend (out Gtk.TreeIter iter);
3245 public bool remove (ref Gtk.TreeIter iter);
3246 public void reorder ([CCode (array_length = false)] int[] new_order);
3247 [CCode (sentinel = "-1")]
3248 public void @set (Gtk.TreeIter iter, ...);
3249 public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
3250 public void set_valist (Gtk.TreeIter iter, va_list var_args);
3251 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
3252 public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_pos = 3.1)] int[] columns, [CCode (array_length_pos = 3.1)] GLib.Value[] values);
3253 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
3255 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_lock_button_get_type ()")]
3256 public class LockButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
3257 [CCode (has_construct_function = false, type = "GtkWidget*")]
3258 public LockButton (GLib.Permission? permission);
3259 public unowned GLib.Permission get_permission ();
3260 public void set_permission (GLib.Permission? permission);
3261 public GLib.Permission permission { get; set; }
3263 public string text_lock { owned get; set construct; }
3265 public string text_unlock { owned get; set construct; }
3267 public string tooltip_lock { owned get; set construct; }
3269 public string tooltip_not_authorized { owned get; set construct; }
3271 public string tooltip_unlock { owned get; set construct; }
3273 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_lock_button_accessible_get_type ()")]
3274 public class LockButtonAccessible : Gtk.ButtonAccessible, Atk.Component, Atk.Action, Atk.Image {
3275 [CCode (has_construct_function = false)]
3276 protected LockButtonAccessible ();
3278 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_get_type ()")]
3279 public class Menu : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
3280 [CCode (has_construct_function = false, type = "GtkWidget*")]
3282 public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
3283 public void attach_to_widget (Gtk.Widget attach_widget, [CCode (scope = "async")] Gtk.MenuDetachFunc? detacher);
3284 public void detach ();
3285 [CCode (has_construct_function = false, type = "GtkWidget*")]
3286 public Menu.from_model (GLib.MenuModel model);
3287 public unowned Gtk.AccelGroup get_accel_group ();
3288 public unowned string get_accel_path ();
3289 public unowned Gtk.Widget get_active ();
3290 public unowned Gtk.Widget get_attach_widget ();
3291 public static unowned GLib.List<Gtk.Menu> get_for_attach_widget (Gtk.Widget widget);
3292 public int get_monitor ();
3293 public bool get_reserve_toggle_size ();
3294 public bool get_tearoff_state ();
3295 public unowned string get_title ();
3296 public void place_on_monitor (Gdk.Monitor monitor);
3297 public void popdown ();
3298 public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode (scope = "async")] Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
3299 public void popup_at_pointer (Gdk.Event? trigger_event = null);
3300 public void popup_at_rect (Gdk.Window rect_window, Gdk.Rectangle rect, Gdk.Gravity rect_anchor, Gdk.Gravity menu_anchor, Gdk.Event? trigger_event = null);
3301 public void popup_at_widget (Gtk.Widget widget, Gdk.Gravity widget_anchor, Gdk.Gravity menu_anchor, Gdk.Event? trigger_event = null);
3302 public void popup_for_device (Gdk.Device? device, Gtk.Widget parent_menu_shell, Gtk.Widget parent_menu_item, owned Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
3303 public void reorder_child (Gtk.Widget child, int position);
3304 public void reposition ();
3305 public void set_accel_group (Gtk.AccelGroup? accel_group);
3306 public void set_accel_path (string? accel_path);
3307 public void set_active (uint index);
3308 public void set_monitor (int monitor_num);
3309 public void set_reserve_toggle_size (bool reserve_toggle_size);
3310 public void set_screen (Gdk.Screen? screen);
3311 public void set_tearoff_state (bool torn_off);
3312 public void set_title (string title);
3313 public Gtk.AccelGroup accel_group { get; set; }
3314 public string accel_path { get; set; }
3315 public int active { get; set; }
3317 public Gdk.AnchorHints anchor_hints { get; set construct; }
3319 public Gtk.Widget attach_widget { owned get; set; }
3321 public Gdk.WindowTypeHint menu_type_hint { get; set construct; }
3322 public int monitor { get; set; }
3324 public int rect_anchor_dx { get; set construct; }
3326 public int rect_anchor_dy { get; set construct; }
3327 public bool reserve_toggle_size { get; set; }
3328 public bool tearoff_state { get; set; }
3330 public string tearoff_title { owned get; set; }
3331 public virtual signal void move_scroll (Gtk.ScrollType p0);
3332 public virtual signal void popped_up (Gdk.Rectangle p0, Gdk.Rectangle p1, bool p2, bool p3);
3334 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_accessible_get_type ()")]
3335 public class MenuAccessible : Gtk.MenuShellAccessible, Atk.Component, Atk.Selection {
3336 [CCode (has_construct_function = false)]
3337 protected MenuAccessible ();
3339 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_bar_get_type ()")]
3340 public class MenuBar : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
3341 [CCode (has_construct_function = false, type = "GtkWidget*")]
3343 [CCode (has_construct_function = false, type = "GtkWidget*")]
3344 public MenuBar.from_model (GLib.MenuModel model);
3345 public Gtk.PackDirection get_child_pack_direction ();
3346 public Gtk.PackDirection get_pack_direction ();
3347 public void set_child_pack_direction (Gtk.PackDirection child_pack_dir);
3348 public void set_pack_direction (Gtk.PackDirection pack_dir);
3349 public Gtk.PackDirection child_pack_direction { get; set; }
3350 public Gtk.PackDirection pack_direction { get; set; }
3352 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_button_get_type ()")]
3353 public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
3354 [CCode (has_construct_function = false, type = "GtkWidget*")]
3355 public MenuButton ();
3356 public unowned Gtk.Widget? get_align_widget ();
3357 public Gtk.ArrowType get_direction ();
3358 public unowned GLib.MenuModel? get_menu_model ();
3359 public unowned Gtk.Popover? get_popover ();
3360 public unowned Gtk.Menu? get_popup ();
3361 public bool get_use_popover ();
3362 public void set_align_widget (Gtk.Widget? align_widget);
3363 public void set_direction (Gtk.ArrowType direction);
3364 public void set_menu_model (GLib.MenuModel? menu_model);
3365 public void set_popover (Gtk.Widget? popover);
3366 public void set_popup (Gtk.Widget? menu);
3367 public void set_use_popover (bool use_popover);
3368 public Gtk.Container align_widget { get; set; }
3369 public Gtk.ArrowType direction { get; set; }
3370 public GLib.MenuModel menu_model { get; set; }
3371 public Gtk.Popover popover { get; set; }
3372 public Gtk.Menu popup { get; set; }
3373 public bool use_popover { get; set; }
3375 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_button_accessible_get_type ()")]
3376 public class MenuButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Component, Atk.Action, Atk.Image {
3377 [CCode (has_construct_function = false)]
3378 protected MenuButtonAccessible ();
3380 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_item_get_type ()")]
3381 public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
3382 [CCode (has_construct_function = false, type = "GtkWidget*")]
3384 public unowned string? get_accel_path ();
3385 public virtual unowned string get_label ();
3386 public bool get_reserve_indicator ();
3387 [Version (deprecated_since = "3.2", replacement = "Widget.get_hexpand and Widget.get_halign")]
3388 public bool get_right_justified ();
3389 public unowned Gtk.Widget? get_submenu ();
3390 public bool get_use_underline ();
3391 public void set_accel_path (string? accel_path);
3392 public virtual void set_label (string label);
3393 public void set_reserve_indicator (bool reserve);
3394 [Version (deprecated_since = "3.2", replacement = "Widget.set_hexpand and Widget.set_halign")]
3395 public void set_right_justified (bool right_justified);
3396 public void set_submenu (Gtk.Widget? submenu);
3397 public void set_use_underline (bool setting);
3398 [CCode (has_construct_function = false, type = "GtkWidget*")]
3399 public MenuItem.with_label (string label);
3400 [CCode (has_construct_function = false, type = "GtkWidget*")]
3401 public MenuItem.with_mnemonic (string label);
3402 public string accel_path { get; set; }
3403 public string label { get; set; }
3404 public bool right_justified { get; set; }
3405 public Gtk.Menu submenu { get; set; }
3406 public bool use_underline { get; set; }
3408 public virtual signal void activate ();
3409 public virtual signal void activate_item ();
3410 public virtual signal void deselect ();
3411 public virtual signal void select ();
3413 public virtual signal void toggle_size_allocate (int allocation);
3415 public virtual signal void toggle_size_request (void* requisition);
3417 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_item_accessible_get_type ()")]
3418 public class MenuItemAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Action, Atk.Selection {
3419 [CCode (has_construct_function = false)]
3420 protected MenuItemAccessible ();
3422 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_shell_get_type ()")]
3423 public abstract class MenuShell : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3424 [CCode (has_construct_function = false)]
3425 protected MenuShell ();
3426 public void activate_item (Gtk.Widget menu_item, bool force_deactivate);
3427 public void append ([CCode (type = "GtkWidget*")] Gtk.MenuItem child);
3428 public void bind_model (GLib.MenuModel? model, string? action_namespace, bool with_separators);
3429 public void deselect ();
3430 public unowned Gtk.Widget get_parent_shell ();
3432 public virtual int get_popup_delay ();
3433 public unowned Gtk.Widget get_selected_item ();
3434 public bool get_take_focus ();
3435 public void prepend (Gtk.Widget child);
3436 public void select_first (bool search_sensitive);
3437 public virtual void select_item (Gtk.Widget menu_item);
3438 public void set_take_focus (bool take_focus);
3439 public bool take_focus { get; set; }
3440 public virtual signal void activate_current (bool force_hide);
3442 public virtual signal void cancel ();
3443 public virtual signal void cycle_focus (Gtk.DirectionType p0);
3445 public virtual signal void deactivate ();
3447 public virtual signal void insert (Gtk.Widget child, int position);
3448 public virtual signal void move_current (Gtk.MenuDirectionType direction);
3449 public virtual signal bool move_selected (int distance);
3450 public virtual signal void selection_done ();
3452 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_shell_accessible_get_type ()")]
3453 public class MenuShellAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
3454 [CCode (has_construct_function = false)]
3455 protected MenuShellAccessible ();
3457 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_tool_button_get_type ()")]
3458 public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
3459 [CCode (has_construct_function = false, type = "GtkToolItem*")]
3460 public MenuToolButton (Gtk.Widget? icon_widget, string? label);
3461 [CCode (has_construct_function = false, type = "GtkToolItem*")]
3462 public MenuToolButton.from_stock (string stock_id);
3463 public unowned Gtk.Widget get_menu ();
3464 public void set_arrow_tooltip_markup (string markup);
3465 public void set_arrow_tooltip_text (string text);
3466 public void set_menu (Gtk.Widget menu);
3467 public Gtk.Menu menu { get; set; }
3468 public virtual signal void show_menu ();
3470 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_message_dialog_get_type ()")]
3471 public class MessageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
3472 [CCode (has_construct_function = false, type = "GtkWidget*")]
3474 public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
3476 public void format_secondary_markup (string message_format, ...);
3478 public void format_secondary_text (string message_format, ...);
3479 public unowned Gtk.Widget get_image ();
3480 public unowned Gtk.Widget get_message_area ();
3481 public void set_image (Gtk.Widget image);
3482 public void set_markup (string str);
3483 [CCode (has_construct_function = false, type = "GtkWidget*")]
3485 public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
3487 public Gtk.ButtonsType buttons { construct; }
3488 public Gtk.Widget image { get; set; }
3489 public Gtk.Widget message_area { get; }
3491 public Gtk.MessageType message_type { get; set construct; }
3493 public string secondary_text { owned get; set; }
3495 public bool secondary_use_markup { get; set; }
3497 public string text { owned get; set; }
3499 public bool use_markup { get; set; }
3501 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_misc_get_type ()")]
3502 public abstract class Misc : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
3503 [CCode (has_construct_function = false)]
3505 public void get_alignment (out float xalign, out float yalign);
3506 public void get_padding (out int xpad, out int ypad);
3507 public void set_alignment (float xalign, float yalign);
3508 public void set_padding (int xpad, int ypad);
3510 public float xalign { get; set; }
3512 public int xpad { get; set; }
3514 public float yalign { get; set; }
3516 public int ypad { get; set; }
3518 [CCode (cheader_filename = "gtk/gtk.h")]
3519 public class ModelButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
3520 [CCode (has_construct_function = false, type = "GtkWidget*")]
3521 public ModelButton ();
3523 public bool active { get; set; }
3525 public bool centered { get; set; }
3527 public GLib.Icon? icon { owned get; set; }
3529 public bool iconic { get; set; }
3531 public bool inverted { get; set; }
3533 public string menu_name { owned get; set; }
3535 public Gtk.ButtonRole role { get; set; }
3537 public string text { owned get; set; }
3539 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_mount_operation_get_type ()")]
3540 public class MountOperation : GLib.MountOperation {
3541 [CCode (has_construct_function = false, type = "GMountOperation*")]
3542 public MountOperation (Gtk.Window? parent);
3543 public unowned Gtk.Window get_parent ();
3544 public unowned Gdk.Screen get_screen ();
3545 public void set_parent (Gtk.Window? parent);
3546 public void set_screen (Gdk.Screen screen);
3548 public bool is_showing { get; }
3549 public Gtk.Window parent { get; set; }
3550 public Gdk.Screen screen { get; set; }
3552 [CCode (cheader_filename = "gtk/gtk.h")]
3553 public abstract class NativeDialog : GLib.Object {
3554 [CCode (has_construct_function = false)]
3555 protected NativeDialog ();
3556 public void destroy ();
3557 public bool get_modal ();
3558 public unowned string get_title ();
3559 public unowned Gtk.Window get_transient_for ();
3560 public bool get_visible ();
3561 public virtual void hide ();
3563 public void set_modal (bool modal);
3564 public void set_title (string title);
3565 public void set_transient_for (Gtk.Window parent);
3566 public virtual void show ();
3567 public bool modal { get; set; }
3568 public string? title { get; set; }
3569 public Gtk.Window? transient_for { get; set construct; }
3571 public bool visible { get; set; }
3572 public virtual signal void response (int response_id);
3574 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_notebook_get_type ()")]
3575 public class Notebook : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3576 [CCode (has_construct_function = false, type = "GtkWidget*")]
3578 public int append_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
3579 public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
3580 public void detach_tab (Gtk.Widget child);
3581 public unowned Gtk.Widget? get_action_widget (Gtk.PackType pack_type);
3582 public int get_current_page ();
3583 public unowned string? get_group_name ();
3584 public unowned Gtk.Widget? get_menu_label (Gtk.Widget child);
3585 public unowned string? get_menu_label_text (Gtk.Widget child);
3586 public int get_n_pages ();
3587 public unowned Gtk.Widget? get_nth_page (int page_num);
3588 public bool get_scrollable ();
3589 public bool get_show_border ();
3590 public bool get_show_tabs ();
3591 public bool get_tab_detachable (Gtk.Widget child);
3592 [Version (deprecated_since = "3.4")]
3593 public uint16 get_tab_hborder ();
3594 public unowned Gtk.Widget get_tab_label (Gtk.Widget child);
3595 public unowned string? get_tab_label_text (Gtk.Widget child);
3596 public Gtk.PositionType get_tab_pos ();
3597 public bool get_tab_reorderable (Gtk.Widget child);
3598 [Version (deprecated_since = "3.4")]
3599 public uint16 get_tab_vborder ();
3600 public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
3601 [CCode (vfunc_name = "insert_page")]
3602 public virtual int insert_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label, int position);
3603 public void next_page ();
3604 public int page_num (Gtk.Widget child);
3605 public void popup_disable ();
3606 public void popup_enable ();
3607 public int prepend_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
3608 public int prepend_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
3609 public void prev_page ();
3610 public void remove_page (int page_num);
3611 public void reorder_child (Gtk.Widget child, int position);
3612 public void set_action_widget (Gtk.Widget widget, Gtk.PackType pack_type);
3613 public void set_current_page (int page_num);
3614 public void set_group_name (string? group_name);
3615 public void set_menu_label (Gtk.Widget child, Gtk.Widget? menu_label);
3616 public void set_menu_label_text (Gtk.Widget child, string menu_text);
3617 public void set_scrollable (bool scrollable);
3618 public void set_show_border (bool show_border);
3619 public void set_show_tabs (bool show_tabs);
3620 public void set_tab_detachable (Gtk.Widget child, bool detachable);
3621 public void set_tab_label (Gtk.Widget child, Gtk.Widget? tab_label);
3622 public void set_tab_label_text (Gtk.Widget child, string tab_text);
3623 public void set_tab_pos (Gtk.PositionType pos);
3624 public void set_tab_reorderable (Gtk.Widget child, bool reorderable);
3626 public bool enable_popup { get; set; }
3627 public string group_name { get; set; }
3629 public int page { get; set; }
3630 public bool scrollable { get; set; }
3631 public bool show_border { get; set; }
3632 public bool show_tabs { get; set; }
3633 public Gtk.PositionType tab_pos { get; set; }
3634 public virtual signal bool change_current_page (int offset);
3635 public virtual signal unowned Gtk.Notebook create_window (Gtk.Widget page, int x, int y);
3636 public virtual signal bool focus_tab (Gtk.NotebookTab type);
3637 public virtual signal void move_focus_out (Gtk.DirectionType direction);
3638 public virtual signal void page_added (Gtk.Widget child, uint page_num);
3639 public virtual signal void page_removed (Gtk.Widget child, uint page_num);
3640 public virtual signal void page_reordered (Gtk.Widget child, uint page_num);
3641 public virtual signal bool reorder_tab (Gtk.DirectionType direction, bool move_to_last);
3642 public virtual signal bool select_page (bool move_focus);
3643 public virtual signal void switch_page (Gtk.Widget page, uint page_num);
3645 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_notebook_accessible_get_type ()")]
3646 public class NotebookAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
3647 [CCode (has_construct_function = false)]
3648 protected NotebookAccessible ();
3650 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_notebook_page_accessible_get_type ()")]
3651 public class NotebookPageAccessible : Atk.Object, Atk.Component {
3652 [CCode (has_construct_function = false, type = "AtkObject*")]
3653 public NotebookPageAccessible (Gtk.NotebookAccessible notebook, Gtk.Widget child);
3654 public void invalidate ();
3656 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_numerable_icon_get_type ()")]
3657 public class NumerableIcon : GLib.EmblemedIcon, GLib.Icon {
3658 [CCode (has_construct_function = false, type = "GIcon*")]
3659 public NumerableIcon (GLib.Icon base_icon);
3660 public unowned GLib.Icon get_background_gicon ();
3661 public unowned string get_background_icon_name ();
3662 public int get_count ();
3663 public unowned string get_label ();
3664 public unowned Gtk.StyleContext get_style_context ();
3665 public void set_background_gicon (GLib.Icon? icon);
3666 public void set_background_icon_name (string? icon_name);
3667 public void set_count (int count);
3668 public void set_label (string? label);
3669 public void set_style_context (Gtk.StyleContext style);
3670 [CCode (has_construct_function = false, type = "GIcon*")]
3671 public NumerableIcon.with_style_context (GLib.Icon base_icon, Gtk.StyleContext context);
3673 public GLib.Icon background_icon { owned get; set; }
3674 public string background_icon_name { get; set; }
3675 public int count { get; set; }
3676 public string label { get; set; }
3677 public Gtk.StyleContext style_context { get; set; }
3679 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_offscreen_window_get_type ()")]
3680 public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
3681 [CCode (has_construct_function = false, type = "GtkWidget*")]
3682 public OffscreenWindow ();
3683 public Gdk.Pixbuf? get_pixbuf ();
3684 public unowned Cairo.Surface? get_surface ();
3686 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_overlay_get_type ()")]
3687 public class Overlay : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3688 [CCode (has_construct_function = false, type = "GtkWidget*")]
3690 public void add_overlay (Gtk.Widget widget);
3691 public bool get_overlay_pass_through (Gtk.Widget widget);
3692 public void reorder_overlay (Gtk.Widget child, int position);
3693 public void set_overlay_pass_through (Gtk.Widget widget, bool pass_through);
3694 public virtual signal bool get_child_position (Gtk.Widget widget, out Gdk.Rectangle allocation);
3696 [CCode (cheader_filename = "gtk/gtk.h")]
3697 public class PadController : Gtk.EventController {
3698 [CCode (has_construct_function = false)]
3699 public PadController (Gtk.Window window, GLib.ActionGroup group, Gdk.Device pad);
3700 public void set_action (Gtk.PadActionType type, int index, int mode, string label, string action_name);
3701 public void set_action_entries (Gtk.PadActionEntry[] entries);
3703 public GLib.ActionGroup action_group { owned get; construct; }
3705 public Gdk.Device pad { owned get; construct; }
3707 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_page_setup_get_type ()")]
3708 public class PageSetup : GLib.Object {
3709 [CCode (has_construct_function = false)]
3710 public PageSetup ();
3711 public Gtk.PageSetup copy ();
3712 [CCode (has_construct_function = false)]
3713 public PageSetup.from_file (string file_name) throws GLib.Error;
3714 [CCode (has_construct_function = false)]
3715 public PageSetup.from_gvariant (GLib.Variant variant);
3716 [CCode (has_construct_function = false)]
3717 public PageSetup.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
3718 public double get_bottom_margin (Gtk.Unit unit);
3719 public double get_left_margin (Gtk.Unit unit);
3720 public Gtk.PageOrientation get_orientation ();
3721 public double get_page_height (Gtk.Unit unit);
3722 public double get_page_width (Gtk.Unit unit);
3723 public double get_paper_height (Gtk.Unit unit);
3724 public unowned Gtk.PaperSize get_paper_size ();
3725 public double get_paper_width (Gtk.Unit unit);
3726 public double get_right_margin (Gtk.Unit unit);
3727 public double get_top_margin (Gtk.Unit unit);
3728 public bool load_file (string file_name) throws GLib.Error;
3729 public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
3730 public void set_bottom_margin (double margin, Gtk.Unit unit);
3731 public void set_left_margin (double margin, Gtk.Unit unit);
3732 public void set_orientation (Gtk.PageOrientation orientation);
3733 public void set_paper_size (Gtk.PaperSize size);
3734 public void set_paper_size_and_default_margins (Gtk.PaperSize size);
3735 public void set_right_margin (double margin, Gtk.Unit unit);
3736 public void set_top_margin (double margin, Gtk.Unit unit);
3737 public bool to_file (string file_name) throws GLib.Error;
3738 [CCode (returns_floating_reference = true)]
3739 public GLib.Variant to_gvariant ();
3740 public void to_key_file (GLib.KeyFile key_file, string group_name);
3742 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_paned_get_type ()")]
3743 public class Paned : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3744 [CCode (has_construct_function = false, type = "GtkWidget*")]
3745 public Paned (Gtk.Orientation orientation);
3746 public void add1 (Gtk.Widget child);
3747 public void add2 (Gtk.Widget child);
3748 public unowned Gtk.Widget? get_child1 ();
3749 public unowned Gtk.Widget? get_child2 ();
3750 public unowned Gdk.Window get_handle_window ();
3751 public int get_position ();
3752 public bool get_wide_handle ();
3753 public void pack1 (Gtk.Widget child, bool resize, bool shrink);
3754 public void pack2 (Gtk.Widget child, bool resize, bool shrink);
3755 public void set_position (int position);
3756 public void set_wide_handle (bool wide);
3758 public int max_position { get; }
3760 public int min_position { get; }
3761 public int position { get; set; }
3763 public bool position_set { get; set; }
3764 public bool wide_handle { get; set; }
3765 public virtual signal bool accept_position ();
3766 public virtual signal bool cancel_position ();
3767 public virtual signal bool cycle_child_focus (bool reverse);
3768 public virtual signal bool cycle_handle_focus (bool reverse);
3769 public virtual signal bool move_handle (Gtk.ScrollType scroll);
3770 public virtual signal bool toggle_handle_focus ();
3772 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_paned_accessible_get_type ()")]
3773 public class PanedAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Value {
3774 [CCode (has_construct_function = false)]
3775 protected PanedAccessible ();
3777 [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_paper_size_copy", type_id = "gtk_paper_size_get_type ()")]
3779 public class PaperSize {
3780 [CCode (has_construct_function = false)]
3781 public PaperSize (string? name);
3782 public Gtk.PaperSize copy ();
3783 [CCode (has_construct_function = false)]
3784 public PaperSize.custom (string name, string display_name, double width, double height, Gtk.Unit unit);
3785 [CCode (has_construct_function = false)]
3786 public PaperSize.from_gvariant (GLib.Variant variant);
3787 [CCode (has_construct_function = false)]
3788 public PaperSize.from_ipp (string ipp_name, double width, double height);
3789 [CCode (has_construct_function = false)]
3790 public PaperSize.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3791 [CCode (has_construct_function = false)]
3792 public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height);
3793 public static unowned string get_default ();
3794 public double get_default_bottom_margin (Gtk.Unit unit);
3795 public double get_default_left_margin (Gtk.Unit unit);
3796 public double get_default_right_margin (Gtk.Unit unit);
3797 public double get_default_top_margin (Gtk.Unit unit);
3798 public unowned string get_display_name ();
3799 public double get_height (Gtk.Unit unit);
3800 public unowned string get_name ();
3801 public static GLib.List<Gtk.PaperSize> get_paper_sizes (bool include_custom);
3802 public unowned string get_ppd_name ();
3803 public double get_width (Gtk.Unit unit);
3804 public bool is_custom ();
3805 public bool is_equal (Gtk.PaperSize size2);
3806 public bool is_ipp ();
3807 public void set_size (double width, double height, Gtk.Unit unit);
3808 [CCode (returns_floating_reference = true)]
3809 public GLib.Variant to_gvariant ();
3810 public void to_key_file (GLib.KeyFile key_file, string group_name);
3812 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_places_sidebar_get_type ()")]
3813 public class PlacesSidebar : Gtk.ScrolledWindow, Atk.Implementor, Gtk.Buildable {
3814 [CCode (has_construct_function = false, type = "GtkWidget*")]
3815 public PlacesSidebar ();
3816 public void add_shortcut (GLib.File location);
3817 public bool get_local_only ();
3818 public GLib.File? get_location ();
3819 public GLib.File? get_nth_bookmark (int n);
3820 public Gtk.PlacesOpenFlags get_open_flags ();
3821 public bool get_show_connect_to_server ();
3822 public bool get_show_desktop ();
3823 public bool get_show_enter_location ();
3824 public bool get_show_other_locations ();
3825 public bool get_show_recent ();
3826 public bool get_show_trash ();
3827 public GLib.SList<GLib.File> list_shortcuts ();
3828 public void remove_shortcut (GLib.File location);
3829 public void set_drop_targets_visible (bool visible, Gdk.DragContext context);
3830 public void set_local_only (bool local_only);
3831 public void set_location (GLib.File? location);
3832 public void set_open_flags (Gtk.PlacesOpenFlags flags);
3833 public void set_show_connect_to_server (bool show_connect_to_server);
3834 public void set_show_desktop (bool show_desktop);
3835 public void set_show_enter_location (bool show_enter_location);
3836 public void set_show_other_locations (bool show_other_locations);
3837 public void set_show_recent (bool show_recent);
3838 public void set_show_trash (bool show_trash);
3839 public bool local_only { get; set; }
3840 public GLib.File location { owned get; set; }
3841 public Gtk.PlacesOpenFlags open_flags { get; set; }
3843 public bool populate_all { get; set; }
3844 public bool show_connect_to_server { get; set; }
3845 public bool show_desktop { get; set; }
3846 public bool show_enter_location { get; set; }
3847 public bool show_other_locations { get; set; }
3848 public bool show_recent { get; set; }
3849 public bool show_trash { get; set; }
3850 public virtual signal int drag_action_ask (int p0);
3851 public virtual signal int drag_action_requested (Gdk.DragContext p0, GLib.File p1, GLib.List<GLib.File> p2);
3852 public virtual signal void drag_perform_drop (GLib.File p0, GLib.List<GLib.File> p1, int p2);
3853 public virtual signal void mount (GLib.MountOperation p0);
3854 public virtual signal void open_location (GLib.File p0, Gtk.PlacesOpenFlags p1);
3855 public virtual signal void populate_popup (Gtk.Menu p0, GLib.File? p1, GLib.Volume? p2);
3856 public virtual signal void show_error_message (string p0, string p1);
3857 [CCode (cname = "show_other_locations")]
3858 [Version (experimental = true)]
3859 public virtual signal void show_other_locations_requested ();
3860 public virtual signal void show_other_locations_with_flags (Gtk.PlacesOpenFlags p0);
3861 public virtual signal void unmount (GLib.MountOperation p0);
3863 [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_plug_get_type ()")]
3864 public class Plug : Gtk.Window, Atk.Implementor, Gtk.Buildable {
3865 [CCode (has_construct_function = false, type = "GtkWidget*")]
3866 public Plug (X.Window socket_id);
3867 public void @construct (X.Window socket_id);
3868 public void construct_for_display (Gdk.Display display, X.Window socket_id);
3869 [CCode (has_construct_function = false, type = "GtkWidget*")]
3870 public Plug.for_display (Gdk.Display display, X.Window socket_id);
3871 public bool get_embedded ();
3872 public X.Window get_id ();
3873 public unowned Gdk.Window? get_socket_window ();
3874 public bool embedded { get; }
3875 public Gdk.Window socket_window { get; }
3877 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_get_type ()")]
3878 public class Popover : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3879 [CCode (has_construct_function = false, type = "GtkWidget*")]
3880 public Popover (Gtk.Widget? relative_to);
3881 public void bind_model (GLib.MenuModel? model, string? action_namespace);
3882 [CCode (has_construct_function = false, type = "GtkWidget*")]
3883 public Popover.from_model (Gtk.Widget? relative_to, GLib.MenuModel model);
3884 public Gtk.PopoverConstraint get_constrain_to ();
3885 public unowned Gtk.Widget? get_default_widget ();
3886 public bool get_modal ();
3887 public bool get_pointing_to (out Gdk.Rectangle rect);
3888 public Gtk.PositionType get_position ();
3889 public unowned Gtk.Widget get_relative_to ();
3890 public bool get_transitions_enabled ();
3891 public void popdown ();
3892 public void popup ();
3893 public void set_constrain_to (Gtk.PopoverConstraint constraint);
3894 public void set_default_widget (Gtk.Widget? widget);
3895 public void set_modal (bool modal);
3896 public void set_pointing_to (Gdk.Rectangle rect);
3897 public void set_position (Gtk.PositionType position);
3898 public void set_relative_to (Gtk.Widget? relative_to);
3899 public void set_transitions_enabled (bool transitions_enabled);
3900 public Gtk.PopoverConstraint constrain_to { get; set; }
3901 public bool modal { get; set; }
3902 public Gdk.Rectangle pointing_to { get; set; }
3903 public Gtk.PositionType position { get; set; }
3904 public Gtk.Widget relative_to { get; set; }
3905 public bool transitions_enabled { get; set; }
3906 public virtual signal void closed ();
3908 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_popover_accessible_get_type ()")]
3909 public class PopoverAccessible : Gtk.ContainerAccessible, Atk.Component {
3910 [CCode (has_construct_function = false)]
3911 protected PopoverAccessible ();
3913 [CCode (cheader_filename = "gtk/gtk.h")]
3914 public class PopoverMenu : Gtk.Popover, Atk.Implementor, Gtk.Buildable {
3915 [CCode (has_construct_function = false, type = "GtkWidget*")]
3916 public PopoverMenu ();
3917 public void open_submenu (string name);
3919 public string visible_submenu { owned get; set; }
3921 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_context_get_type ()")]
3922 public class PrintContext : GLib.Object {
3923 [CCode (has_construct_function = false)]
3924 protected PrintContext ();
3925 public Pango.Context create_pango_context ();
3926 public Pango.Layout create_pango_layout ();
3927 public unowned Cairo.Context get_cairo_context ();
3928 public double get_dpi_x ();
3929 public double get_dpi_y ();
3930 public bool get_hard_margins (out double top, out double bottom, out double left, out double right);
3931 public double get_height ();
3932 public unowned Gtk.PageSetup get_page_setup ();
3933 public unowned Pango.FontMap get_pango_fontmap ();
3934 public double get_width ();
3935 public void set_cairo_context (Cairo.Context cr, double dpi_x, double dpi_y);
3937 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_get_type ()")]
3938 public class PrintOperation : GLib.Object, Gtk.PrintOperationPreview {
3939 [CCode (has_construct_function = false)]
3940 public PrintOperation ();
3941 public void cancel ();
3942 public void draw_page_finish ();
3943 public unowned Gtk.PageSetup get_default_page_setup ();
3944 public bool get_embed_page_setup ();
3945 public void get_error () throws GLib.Error;
3946 public bool get_has_selection ();
3947 public int get_n_pages_to_print ();
3948 public unowned Gtk.PrintSettings get_print_settings ();
3949 public Gtk.PrintStatus get_status ();
3950 public unowned string get_status_string ();
3951 public bool get_support_selection ();
3952 public bool is_finished ();
3953 public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window? parent) throws GLib.Error;
3954 public void set_allow_async (bool allow_async);
3955 public void set_current_page (int current_page);
3956 public void set_custom_tab_label (string? label);
3957 public void set_default_page_setup (Gtk.PageSetup? default_page_setup);
3958 public void set_defer_drawing ();
3959 public void set_embed_page_setup (bool embed);
3960 public void set_export_filename (string filename);
3961 public void set_has_selection (bool has_selection);
3962 public void set_job_name (string job_name);
3963 public void set_n_pages (int n_pages);
3964 public void set_print_settings (Gtk.PrintSettings? print_settings);
3965 public void set_show_progress (bool show_progress);
3966 public void set_support_selection (bool support_selection);
3967 public void set_track_print_status (bool track_status);
3968 public void set_unit (Gtk.Unit unit);
3969 public void set_use_full_page (bool full_page);
3971 public bool allow_async { get; set; }
3973 public int current_page { get; set; }
3975 public string custom_tab_label { owned get; set; }
3976 public Gtk.PageSetup default_page_setup { get; set; }
3977 public bool embed_page_setup { get; set; }
3979 public string export_filename { owned get; set; }
3980 public bool has_selection { get; set; }
3982 public string job_name { owned get; set; }
3984 public int n_pages { get; set; }
3985 public int n_pages_to_print { get; }
3986 public Gtk.PrintSettings print_settings { get; set; }
3988 public bool show_progress { get; set; }
3989 public Gtk.PrintStatus status { get; }
3990 public string status_string { get; }
3991 public bool support_selection { get; set; }
3993 public bool track_print_status { get; set; }
3995 public Gtk.Unit unit { get; set; }
3997 public bool use_full_page { get; set; }
3998 public virtual signal void begin_print (Gtk.PrintContext context);
3999 public virtual signal unowned GLib.Object create_custom_widget ();
4000 public virtual signal void custom_widget_apply (Gtk.Widget widget);
4001 public virtual signal void done (Gtk.PrintOperationResult result);
4002 public virtual signal void draw_page (Gtk.PrintContext context, int page_nr);
4003 public virtual signal void end_print (Gtk.PrintContext context);
4004 public virtual signal bool paginate (Gtk.PrintContext context);
4005 public virtual signal bool preview (Gtk.PrintOperationPreview preview, Gtk.PrintContext context, Gtk.Window? parent);
4006 public virtual signal void request_page_setup (Gtk.PrintContext context, int page_nr, Gtk.PageSetup setup);
4007 public virtual signal void status_changed ();
4008 public virtual signal void update_custom_widget (Gtk.Widget widget, Gtk.PageSetup setup, Gtk.PrintSettings settings);
4010 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_settings_get_type ()")]
4011 public class PrintSettings : GLib.Object {
4012 [CCode (has_construct_function = false)]
4013 public PrintSettings ();
4014 public Gtk.PrintSettings copy ();
4015 public void @foreach (Gtk.PrintSettingsFunc func);
4016 [CCode (has_construct_function = false)]
4017 public PrintSettings.from_file (string file_name) throws GLib.Error;
4018 [CCode (has_construct_function = false)]
4019 public PrintSettings.from_gvariant (GLib.Variant variant);
4020 [CCode (has_construct_function = false)]
4021 public PrintSettings.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
4022 public unowned string @get (string key);
4023 public bool get_bool (string key);
4024 public bool get_collate ();
4025 public unowned string get_default_source ();
4026 public unowned string get_dither ();
4027 public double get_double (string key);
4028 public double get_double_with_default (string key, double def);
4029 public Gtk.PrintDuplex get_duplex ();
4030 public unowned string get_finishings ();
4031 public int get_int (string key);
4032 public int get_int_with_default (string key, int def);
4033 public double get_length (string key, Gtk.Unit unit);
4034 public unowned string get_media_type ();
4035 public int get_n_copies ();
4036 public int get_number_up ();
4037 public Gtk.NumberUpLayout get_number_up_layout ();
4038 public Gtk.PageOrientation get_orientation ();
4039 public unowned string get_output_bin ();
4040 public Gtk.PageRange[] get_page_ranges ();
4041 public Gtk.PageSet get_page_set ();
4042 public double get_paper_height (Gtk.Unit unit);
4043 public Gtk.PaperSize get_paper_size ();
4044 public double get_paper_width (Gtk.Unit unit);
4045 public Gtk.PrintPages get_print_pages ();
4046 public unowned string get_printer ();
4047 public double get_printer_lpi ();
4048 public Gtk.PrintQuality get_quality ();
4049 public int get_resolution ();
4050 public int get_resolution_x ();
4051 public int get_resolution_y ();
4052 public bool get_reverse ();
4053 public double get_scale ();
4054 public bool get_use_color ();
4055 public bool has_key (string key);
4056 public bool load_file (string file_name) throws GLib.Error;
4057 public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
4058 public void @set (string key, string? value);
4059 public void set_bool (string key, bool value);
4060 public void set_collate (bool collate);
4061 public void set_default_source (string default_source);
4062 public void set_dither (string dither);
4063 public void set_double (string key, double value);
4064 public void set_duplex (Gtk.PrintDuplex duplex);
4065 public void set_finishings (string finishings);
4066 public void set_int (string key, int value);
4067 public void set_length (string key, double value, Gtk.Unit unit);
4068 public void set_media_type (string media_type);
4069 public void set_n_copies (int num_copies);
4070 public void set_number_up (int number_up);
4071 public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout);
4072 public void set_orientation (Gtk.PageOrientation orientation);
4073 public void set_output_bin (string output_bin);
4074 public void set_page_ranges ([CCode (array_length_pos = 1.1)] Gtk.PageRange[] page_ranges);
4075 public void set_page_set (Gtk.PageSet page_set);
4076 public void set_paper_height (double height, Gtk.Unit unit);
4077 public void set_paper_size (Gtk.PaperSize paper_size);
4078 public void set_paper_width (double width, Gtk.Unit unit);
4079 public void set_print_pages (Gtk.PrintPages pages);
4080 public void set_printer (string printer);
4081 public void set_printer_lpi (double lpi);
4082 public void set_quality (Gtk.PrintQuality quality);
4083 public void set_resolution (int resolution);
4084 public void set_resolution_xy (int resolution_x, int resolution_y);
4085 public void set_reverse (bool reverse);
4086 public void set_scale (double scale);
4087 public void set_use_color (bool use_color);
4088 public bool to_file (string file_name) throws GLib.Error;
4089 [CCode (returns_floating_reference = true)]
4090 public GLib.Variant to_gvariant ();
4091 public void to_key_file (GLib.KeyFile key_file, string group_name);
4092 public void unset (string key);
4094 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_progress_bar_get_type ()")]
4095 public class ProgressBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4096 [CCode (has_construct_function = false, type = "GtkWidget*")]
4097 public ProgressBar ();
4098 public Pango.EllipsizeMode get_ellipsize ();
4099 public double get_fraction ();
4100 public bool get_inverted ();
4101 public double get_pulse_step ();
4102 public bool get_show_text ();
4103 public unowned string? get_text ();
4104 public void pulse ();
4105 public void set_ellipsize (Pango.EllipsizeMode mode);
4106 public void set_fraction (double fraction);
4107 public void set_inverted (bool inverted);
4108 public void set_pulse_step (double fraction);
4109 public void set_show_text (bool show_text);
4110 public void set_text (string? text);
4111 public Pango.EllipsizeMode ellipsize { get; set; }
4112 public double fraction { get; set; }
4113 public bool inverted { get; set; }
4114 public double pulse_step { get; set; }
4115 public bool show_text { get; set; }
4116 public string text { get; set; }
4118 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_progress_bar_accessible_get_type ()")]
4119 public class ProgressBarAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
4120 [CCode (has_construct_function = false)]
4121 protected ProgressBarAccessible ();
4123 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_action_get_type ()")]
4124 public class RadioAction : Gtk.ToggleAction, Gtk.Buildable {
4125 [CCode (has_construct_function = false)]
4126 public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
4127 public int get_current_value ();
4128 public unowned GLib.SList<Gtk.RadioAction> get_group ();
4129 public void join_group (Gtk.RadioAction? group_source);
4130 public void set_current_value (int current_value);
4131 public void set_group (GLib.SList<Gtk.RadioAction>? group);
4132 public int current_value { get; set; }
4134 public Gtk.RadioAction group { set; }
4136 public int value { get; set; }
4137 public virtual signal void changed (Gtk.RadioAction current);
4139 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_button_get_type ()")]
4140 public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
4141 [CCode (has_construct_function = false, type = "GtkWidget*")]
4142 public RadioButton (GLib.SList<Gtk.RadioButton>? group);
4143 [CCode (has_construct_function = false, type = "GtkWidget*")]
4144 public RadioButton.from_widget (Gtk.RadioButton? radio_group_member);
4145 public unowned GLib.SList<Gtk.RadioButton> get_group ();
4146 public void join_group (Gtk.RadioButton? group_source);
4147 public void set_group (GLib.SList<Gtk.RadioButton>? group);
4148 [CCode (has_construct_function = false, type = "GtkWidget*")]
4149 public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
4150 [CCode (has_construct_function = false, type = "GtkWidget*")]
4151 public RadioButton.with_label_from_widget (Gtk.RadioButton? radio_group_member, string label);
4152 [CCode (has_construct_function = false, type = "GtkWidget*")]
4153 public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
4154 [CCode (has_construct_function = false, type = "GtkWidget*")]
4155 public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton? radio_group_member, string label);
4157 public Gtk.RadioButton group { set; }
4158 public virtual signal void group_changed ();
4160 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_button_accessible_get_type ()")]
4161 public class RadioButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Component, Atk.Action, Atk.Image {
4162 [CCode (has_construct_function = false)]
4163 protected RadioButtonAccessible ();
4165 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_menu_item_get_type ()")]
4166 public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
4167 [CCode (has_construct_function = false, type = "GtkWidget*")]
4168 public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem>? group);
4169 [CCode (has_construct_function = false, type = "GtkWidget*")]
4170 public RadioMenuItem.from_widget (Gtk.RadioMenuItem? group);
4171 public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
4172 public void join_group (Gtk.RadioMenuItem? group_source);
4173 public void set_group (GLib.SList<Gtk.RadioMenuItem>? group);
4174 [CCode (has_construct_function = false, type = "GtkWidget*")]
4175 public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem>? group, string label);
4176 [CCode (has_construct_function = false, type = "GtkWidget*")]
4177 public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem? group, string label);
4178 [CCode (has_construct_function = false, type = "GtkWidget*")]
4179 public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem>? group, string label);
4180 [CCode (has_construct_function = false, type = "GtkWidget*")]
4181 public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem? group, string label);
4182 public Gtk.RadioMenuItem group { set; }
4183 public virtual signal void group_changed ();
4185 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_menu_item_accessible_get_type ()")]
4186 public class RadioMenuItemAccessible : Gtk.CheckMenuItemAccessible, Atk.Component, Atk.Action, Atk.Selection {
4187 [CCode (has_construct_function = false)]
4188 protected RadioMenuItemAccessible ();
4190 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_tool_button_get_type ()")]
4191 public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
4192 [CCode (has_construct_function = false, type = "GtkToolItem*")]
4193 public RadioToolButton (GLib.SList<Gtk.RadioToolButton>? group);
4194 [CCode (has_construct_function = false, type = "GtkToolItem*")]
4195 public RadioToolButton.from_stock (GLib.SList<Gtk.RadioToolButton>? group, string stock_id);
4196 [CCode (has_construct_function = false, type = "GtkToolItem*")]
4197 public RadioToolButton.from_widget (Gtk.RadioToolButton? group);
4198 public unowned GLib.SList<Gtk.RadioToolButton>? get_group ();
4199 public void set_group (GLib.SList<Gtk.RadioToolButton>? group);
4200 [CCode (has_construct_function = false, type = "GtkToolItem*")]
4201 public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton? group, string stock_id);
4202 public Gtk.RadioToolButton group { set; }
4204 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")]
4205 public abstract class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4206 [CCode (has_construct_function = false)]
4208 public unowned Gtk.Adjustment get_adjustment ();
4209 public double get_fill_level ();
4210 public bool get_flippable ();
4211 public bool get_inverted ();
4212 public Gtk.SensitivityType get_lower_stepper_sensitivity ();
4213 public int get_min_slider_size ();
4215 public virtual Gtk.Border get_range_border ();
4216 public Gdk.Rectangle get_range_rect ();
4218 public virtual void get_range_size_request (Gtk.Orientation orientation, out int minimum, out int natural);
4219 public bool get_restrict_to_fill_level ();
4220 public int get_round_digits ();
4221 public bool get_show_fill_level ();
4222 public void get_slider_range (out int slider_start, out int slider_end);
4223 public bool get_slider_size_fixed ();
4224 public Gtk.SensitivityType get_upper_stepper_sensitivity ();
4225 public double get_value ();
4226 public void set_adjustment (Gtk.Adjustment adjustment);
4227 public void set_fill_level (double fill_level);
4228 public void set_flippable (bool flippable);
4229 public void set_increments (double step, double page);
4230 public void set_inverted (bool setting);
4231 public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
4232 public void set_min_slider_size (int min_size);
4233 public void set_range (double min, double max);
4234 public void set_restrict_to_fill_level (bool restrict_to_fill_level);
4235 public void set_round_digits (int round_digits);
4236 public void set_show_fill_level (bool show_fill_level);
4237 public void set_slider_size_fixed (bool size_fixed);
4238 public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
4239 public void set_value (double value);
4240 public Gtk.Adjustment adjustment { get; set construct; }
4241 public double fill_level { get; set; }
4242 public bool inverted { get; set; }
4243 public Gtk.SensitivityType lower_stepper_sensitivity { get; set; }
4244 public bool restrict_to_fill_level { get; set; }
4245 public int round_digits { get; set; }
4246 public bool show_fill_level { get; set; }
4247 public Gtk.SensitivityType upper_stepper_sensitivity { get; set; }
4248 public virtual signal void adjust_bounds (double new_value);
4249 public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
4250 public virtual signal void move_slider (Gtk.ScrollType scroll);
4251 public virtual signal void value_changed ();
4253 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_range_accessible_get_type ()")]
4254 public class RangeAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
4255 [CCode (has_construct_function = false)]
4256 protected RangeAccessible ();
4258 [CCode (cheader_filename = "gtk/gtk.h")]
4260 public class RcContext {
4262 [CCode (cheader_filename = "gtk/gtk.h")]
4264 public class RcProperty {
4265 public weak string origin;
4266 public GLib.Quark property_name;
4267 public GLib.Quark type_name;
4268 public GLib.Value value;
4269 public static bool parse_border (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
4270 public static bool parse_color (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
4271 public static bool parse_enum (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
4272 public static bool parse_flags (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
4273 public static bool parse_requisition (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
4275 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_rc_style_get_type ()")]
4276 [Version (deprecated_since = "3.0", replacement = "CssProvider")]
4277 public class RcStyle : GLib.Object {
4278 [CCode (array_length = false)]
4279 public weak Gdk.Color[] @base;
4280 [CCode (array_length = false)]
4281 public weak Gdk.Color[] bg;
4282 [CCode (array_length = false)]
4283 public weak string[] bg_pixmap_name;
4284 [CCode (array_length = false)]
4285 public weak Gtk.RcFlags[] color_flags;
4286 public uint engine_specified;
4287 [CCode (array_length = false)]
4288 public weak Gdk.Color[] fg;
4289 public weak Pango.FontDescription font_desc;
4290 public weak GLib.SList icon_factories;
4291 public weak string name;
4292 public weak GLib.Array rc_properties;
4293 public weak GLib.SList rc_style_lists;
4294 [CCode (array_length = false)]
4295 public weak Gdk.Color[] text;
4296 public int xthickness;
4297 public int ythickness;
4298 [CCode (has_construct_function = false)]
4300 public Gtk.RcStyle copy ();
4302 public virtual Gtk.RcStyle create_rc_style ();
4304 public virtual Gtk.Style create_style ();
4306 public virtual void merge (Gtk.RcStyle src);
4308 public virtual uint parse (Gtk.Settings settings, GLib.Scanner scanner);
4310 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_action_get_type ()")]
4311 public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser {
4312 [CCode (has_construct_function = false, type = "GtkAction*")]
4313 public RecentAction (string name, string? label, string? tooltip, string? stock_id);
4314 [CCode (has_construct_function = false, type = "GtkAction*")]
4315 public RecentAction.for_manager (string name, string? label, string? tooltip, string? stock_id, Gtk.RecentManager? manager);
4316 public bool get_show_numbers ();
4317 public void set_show_numbers (bool show_numbers);
4318 public bool show_numbers { get; set; }
4320 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_dialog_get_type ()")]
4321 public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
4322 [CCode (has_construct_function = false, type = "GtkWidget*")]
4323 public RecentChooserDialog (string? title, Gtk.Window? parent, ...);
4324 [CCode (has_construct_function = false, type = "GtkWidget*")]
4325 public RecentChooserDialog.for_manager (string? title, Gtk.Window? parent, Gtk.RecentManager manager, ...);
4327 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_menu_get_type ()")]
4328 public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser, Gtk.Activatable {
4329 [CCode (has_construct_function = false, type = "GtkWidget*")]
4330 public RecentChooserMenu ();
4331 [CCode (has_construct_function = false, type = "GtkWidget*")]
4332 public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
4333 public bool get_show_numbers ();
4334 public void set_show_numbers (bool show_numbers);
4335 public bool show_numbers { get; set; }
4337 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_widget_get_type ()")]
4338 public class RecentChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
4339 [CCode (has_construct_function = false, type = "GtkWidget*")]
4340 public RecentChooserWidget ();
4341 [CCode (has_construct_function = false, type = "GtkWidget*")]
4342 public RecentChooserWidget.for_manager (Gtk.RecentManager manager);
4344 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_filter_get_type ()")]
4345 public class RecentFilter : GLib.InitiallyUnowned, Gtk.Buildable {
4346 [CCode (has_construct_function = false)]
4347 public RecentFilter ();
4348 public void add_age (int days);
4349 public void add_application (string application);
4350 public void add_custom (Gtk.RecentFilterFlags needed, owned Gtk.RecentFilterFunc func);
4351 public void add_group (string group);
4352 public void add_mime_type (string mime_type);
4353 public void add_pattern (string pattern);
4354 public void add_pixbuf_formats ();
4355 public bool filter (Gtk.RecentFilterInfo filter_info);
4356 public Gtk.RecentFilterFlags get_needed ();
4358 [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_recent_info_ref", type_id = "gtk_recent_info_get_type ()", unref_function = "gtk_recent_info_unref")]
4360 public class RecentInfo {
4361 public GLib.AppInfo create_app_info (string? app_name) throws GLib.Error;
4362 public bool exists ();
4363 public ulong get_added ();
4364 public int get_age ();
4365 public bool get_application_info (string app_name, out unowned string app_exec, out uint count, out ulong time_);
4366 [CCode (array_length_type = "gsize")]
4367 public string[] get_applications ();
4368 public unowned string get_description ();
4369 public unowned string get_display_name ();
4370 public GLib.Icon? get_gicon ();
4371 [CCode (array_length_type = "gsize")]
4372 public string[] get_groups ();
4373 public Gdk.Pixbuf? get_icon (int size);
4374 public unowned string get_mime_type ();
4375 public ulong get_modified ();
4376 public bool get_private_hint ();
4377 public string get_short_name ();
4378 public unowned string get_uri ();
4379 public string? get_uri_display ();
4380 public ulong get_visited ();
4381 public bool has_application (string app_name);
4382 public bool has_group (string group_name);
4383 public bool is_local ();
4384 public string last_application ();
4385 public bool match (Gtk.RecentInfo info_b);
4387 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_manager_get_type ()")]
4388 public class RecentManager : GLib.Object {
4389 [CCode (has_construct_function = false)]
4390 public RecentManager ();
4391 public bool add_full (string uri, Gtk.RecentData recent_data);
4392 public bool add_item (string uri);
4393 public static unowned Gtk.RecentManager get_default ();
4394 public GLib.List<Gtk.RecentInfo> get_items ();
4395 public bool has_item (string uri);
4396 public Gtk.RecentInfo? lookup_item (string uri) throws GLib.Error;
4397 public bool move_item (string uri, string? new_uri) throws GLib.Error;
4398 public int purge_items () throws GLib.Error;
4399 public bool remove_item (string uri) throws GLib.Error;
4401 public string filename { owned get; construct; }
4403 public int size { get; }
4404 public virtual signal void changed ();
4406 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_renderer_cell_accessible_get_type ()")]
4407 public class RendererCellAccessible : Gtk.CellAccessible, Atk.Action, Atk.Component {
4408 [CCode (has_construct_function = false, type = "AtkObject*")]
4409 public RendererCellAccessible (Gtk.CellRenderer renderer);
4411 public Gtk.CellRenderer renderer { owned get; construct; }
4413 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_revealer_get_type ()")]
4414 public class Revealer : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
4415 [CCode (has_construct_function = false, type = "GtkWidget*")]
4417 public bool get_child_revealed ();
4418 public bool get_reveal_child ();
4419 public uint get_transition_duration ();
4420 public Gtk.RevealerTransitionType get_transition_type ();
4421 public void set_reveal_child (bool reveal_child);
4422 public void set_transition_duration (uint duration);
4423 public void set_transition_type (Gtk.RevealerTransitionType transition);
4424 public bool child_revealed { get; }
4425 public bool reveal_child { get; set construct; }
4426 public uint transition_duration { get; set construct; }
4427 public Gtk.RevealerTransitionType transition_type { get; set construct; }
4429 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_get_type ()")]
4430 public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4431 [CCode (has_construct_function = false, type = "GtkWidget*")]
4432 public Scale (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
4433 public void add_mark (double value, Gtk.PositionType position, string? markup);
4434 public void clear_marks ();
4435 public int get_digits ();
4436 public bool get_draw_value ();
4437 public bool get_has_origin ();
4438 public unowned Pango.Layout? get_layout ();
4439 public virtual void get_layout_offsets (out int x, out int y);
4440 public Gtk.PositionType get_value_pos ();
4441 public void set_digits (int digits);
4442 public void set_draw_value (bool draw_value);
4443 public void set_has_origin (bool has_origin);
4444 public void set_value_pos (Gtk.PositionType pos);
4445 [CCode (has_construct_function = false, type = "GtkWidget*")]
4446 public Scale.with_range (Gtk.Orientation orientation, double min, double max, double step);
4447 public int digits { get; set; }
4448 public bool draw_value { get; set; }
4449 public bool has_origin { get; set; }
4450 public Gtk.PositionType value_pos { get; set; }
4451 public virtual signal string format_value (double value);
4453 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_accessible_get_type ()")]
4454 public class ScaleAccessible : Gtk.RangeAccessible, Atk.Component, Atk.Value {
4455 [CCode (has_construct_function = false)]
4456 protected ScaleAccessible ();
4458 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_button_get_type ()")]
4459 public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.Orientable {
4460 [CCode (has_construct_function = false, type = "GtkWidget*")]
4461 public ScaleButton (Gtk.IconSize size, double min = 0.0, double max = 100.0, double step = 2.0, [CCode (array_length = false, array_null_terminated = true)] string[]? icons = null);
4462 public unowned Gtk.Adjustment get_adjustment ();
4463 public unowned Gtk.Widget get_minus_button ();
4464 public unowned Gtk.Widget get_plus_button ();
4465 public unowned Gtk.Widget get_popup ();
4466 public double get_value ();
4467 public void set_adjustment (Gtk.Adjustment adjustment);
4468 public void set_icons ([CCode (array_length = false, array_null_terminated = true)] string[] icons);
4469 public void set_value (double value);
4470 public Gtk.Adjustment adjustment { get; set; }
4471 [CCode (array_length = false, array_null_terminated = true)]
4473 public string[] icons { owned get; set; }
4475 public Gtk.IconSize size { get; set; }
4476 public double value { get; set; }
4477 public virtual signal void popdown ();
4478 public virtual signal void popup ();
4479 public virtual signal void value_changed (double value);
4481 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_button_accessible_get_type ()")]
4482 public class ScaleButtonAccessible : Gtk.ButtonAccessible, Atk.Component, Atk.Action, Atk.Image, Atk.Value {
4483 [CCode (has_construct_function = false)]
4484 protected ScaleButtonAccessible ();
4486 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrollbar_get_type ()")]
4487 public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4488 [CCode (has_construct_function = false, type = "GtkWidget*")]
4489 public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
4491 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrolled_window_get_type ()")]
4492 public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
4493 [CCode (has_construct_function = false, type = "GtkWidget*")]
4494 public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
4495 public void add_with_viewport (Gtk.Widget child);
4496 public bool get_capture_button_press ();
4497 public unowned Gtk.Adjustment get_hadjustment ();
4498 public unowned Gtk.Widget get_hscrollbar ();
4499 public bool get_kinetic_scrolling ();
4500 public int get_max_content_height ();
4501 public int get_max_content_width ();
4502 public int get_min_content_height ();
4503 public int get_min_content_width ();
4504 public bool get_overlay_scrolling ();
4505 public Gtk.CornerType get_placement ();
4506 public void get_policy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy);
4507 public bool get_propagate_natural_height ();
4508 public bool get_propagate_natural_width ();
4509 public Gtk.ShadowType get_shadow_type ();
4510 public unowned Gtk.Adjustment get_vadjustment ();
4511 public unowned Gtk.Widget get_vscrollbar ();
4512 public void set_capture_button_press (bool capture_button_press);
4513 public void set_hadjustment (Gtk.Adjustment hadjustment);
4514 public void set_kinetic_scrolling (bool kinetic_scrolling);
4515 public void set_max_content_height (int height);
4516 public void set_max_content_width (int width);
4517 public void set_min_content_height (int height);
4518 public void set_min_content_width (int width);
4519 public void set_overlay_scrolling (bool overlay_scrolling);
4520 public void set_placement (Gtk.CornerType window_placement);
4521 public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
4522 public void set_propagate_natural_height (bool propagate);
4523 public void set_propagate_natural_width (bool propagate);
4524 public void set_shadow_type (Gtk.ShadowType type);
4525 public void set_vadjustment (Gtk.Adjustment vadjustment);
4526 public void unset_placement ();
4527 public Gtk.Adjustment hadjustment { get; set construct; }
4529 public Gtk.PolicyType hscrollbar_policy { get; set; }
4530 public bool kinetic_scrolling { get; set; }
4531 public int max_content_height { get; set; }
4532 public int max_content_width { get; set; }
4533 public int min_content_height { get; set; }
4534 public int min_content_width { get; set; }
4535 public bool overlay_scrolling { get; set; }
4536 public bool propagate_natural_height { get; set; }
4537 public bool propagate_natural_width { get; set; }
4538 public Gtk.ShadowType shadow_type { get; set; }
4539 public Gtk.Adjustment vadjustment { get; set construct; }
4541 public Gtk.PolicyType vscrollbar_policy { get; set; }
4543 public Gtk.CornerType window_placement { get; set; }
4545 public bool window_placement_set { get; set; }
4546 public virtual signal void edge_overshot (Gtk.PositionType p0);
4547 public virtual signal void edge_reached (Gtk.PositionType p0);
4548 public virtual signal void move_focus_out (Gtk.DirectionType direction);
4549 public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
4551 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scrolled_window_accessible_get_type ()")]
4552 public class ScrolledWindowAccessible : Gtk.ContainerAccessible, Atk.Component {
4553 [CCode (has_construct_function = false)]
4554 protected ScrolledWindowAccessible ();
4556 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_bar_get_type ()")]
4557 public class SearchBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
4558 [CCode (has_construct_function = false, type = "GtkWidget*")]
4559 public SearchBar ();
4560 public void connect_entry (Gtk.Entry entry);
4561 public bool get_search_mode ();
4562 public bool get_show_close_button ();
4563 public bool handle_event (Gdk.Event event);
4564 public void set_search_mode (bool search_mode);
4565 public void set_show_close_button (bool visible);
4567 public bool search_mode_enabled { get; set; }
4568 public bool show_close_button { get; set construct; }
4570 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_entry_get_type ()")]
4571 public class SearchEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable {
4572 [CCode (has_construct_function = false, type = "GtkWidget*")]
4573 public SearchEntry ();
4574 public bool handle_event (Gdk.Event event);
4575 public virtual signal void next_match ();
4576 public virtual signal void previous_match ();
4577 public virtual signal void search_changed ();
4578 public virtual signal void stop_search ();
4580 [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_selection_data_copy", type_id = "gtk_selection_data_get_type ()")]
4582 public class SelectionData {
4583 public Gtk.SelectionData copy ();
4584 [CCode (array_length = false)]
4585 public unowned uchar[] get_data ();
4586 public Gdk.Atom get_data_type ();
4587 public unowned uchar[] get_data_with_length ();
4588 public unowned Gdk.Display get_display ();
4589 public int get_format ();
4590 public int get_length ();
4591 public Gdk.Pixbuf? get_pixbuf ();
4592 public Gdk.Atom get_selection ();
4593 public Gdk.Atom get_target ();
4594 public bool get_targets (out Gdk.Atom[] targets);
4595 public string? get_text ();
4596 [CCode (array_length = false, array_null_terminated = true)]
4597 public string[] get_uris ();
4598 public void @set (Gdk.Atom type, int format, uchar[] data);
4599 public bool set_pixbuf (Gdk.Pixbuf pixbuf);
4600 public bool set_text (string str, int len);
4601 public bool set_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uris);
4602 public bool targets_include_image (bool writable);
4603 public bool targets_include_rich_text (Gtk.TextBuffer buffer);
4604 public bool targets_include_text ();
4605 public bool targets_include_uri ();
4607 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_get_type ()")]
4608 public class Separator : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4609 [CCode (has_construct_function = false, type = "GtkWidget*")]
4610 public Separator (Gtk.Orientation orientation);
4612 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_menu_item_get_type ()")]
4613 public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
4614 [CCode (has_construct_function = false, type = "GtkWidget*")]
4615 public SeparatorMenuItem ();
4617 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_tool_item_get_type ()")]
4618 public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4619 [CCode (has_construct_function = false, type = "GtkToolItem*")]
4620 public SeparatorToolItem ();
4621 public bool get_draw ();
4622 public void set_draw (bool draw);
4623 public bool draw { get; set; }
4625 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_settings_get_type ()")]
4626 public class Settings : GLib.Object, Gtk.StyleProvider {
4627 [CCode (has_construct_function = false)]
4628 protected Settings ();
4629 public static unowned Gtk.Settings get_default ();
4630 public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
4631 public static void install_property (GLib.ParamSpec pspec);
4632 public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
4633 public void reset_property (string name);
4634 public void set_double_property (string name, double v_double, string origin);
4635 public void set_long_property (string name, long v_long, string origin);
4636 public void set_property_value (string name, Gtk.SettingsValue svalue);
4637 public void set_string_property (string name, string v_string, string origin);
4639 public GLib.HashTable<string,Gdk.Color> color_hash { owned get; }
4641 public bool gtk_alternative_button_order { get; set; }
4643 public bool gtk_alternative_sort_arrows { get; set; }
4645 public bool gtk_application_prefer_dark_theme { get; set; }
4647 public bool gtk_auto_mnemonics { get; set; }
4649 public bool gtk_button_images { get; set; }
4651 public bool gtk_can_change_accels { get; set; }
4653 public string gtk_color_palette { owned get; set; }
4655 public string gtk_color_scheme { owned get; set; }
4657 public bool gtk_cursor_blink { get; set; }
4659 public int gtk_cursor_blink_time { get; set; }
4661 public int gtk_cursor_blink_timeout { get; set; }
4663 public string gtk_cursor_theme_name { owned get; set; }
4665 public int gtk_cursor_theme_size { get; set; }
4667 public string gtk_decoration_layout { owned get; set; }
4669 public bool gtk_dialogs_use_header { get; set; }
4671 public int gtk_dnd_drag_threshold { get; set; }
4673 public int gtk_double_click_distance { get; set; }
4675 public int gtk_double_click_time { get; set; }
4677 public bool gtk_enable_accels { get; set; }
4679 public bool gtk_enable_animations { get; set; }
4681 public bool gtk_enable_event_sounds { get; set; }
4683 public bool gtk_enable_input_feedback_sounds { get; set; }
4685 public bool gtk_enable_mnemonics { get; set; }
4687 public bool gtk_enable_primary_paste { get; set; }
4689 public bool gtk_enable_tooltips { get; set; }
4691 public uint gtk_entry_password_hint_timeout { get; set; }
4693 public bool gtk_entry_select_on_focus { get; set; }
4695 public bool gtk_error_bell { get; set; }
4697 public string gtk_fallback_icon_theme { owned get; set; }
4699 public string gtk_file_chooser_backend { owned get; set; }
4701 public string gtk_font_name { owned get; set; }
4703 public uint gtk_fontconfig_timestamp { get; set; }
4705 public string gtk_icon_sizes { owned get; set; }
4707 public string gtk_icon_theme_name { owned get; set; }
4709 public string gtk_im_module { owned get; set; }
4711 public Gtk.IMPreeditStyle gtk_im_preedit_style { get; set; }
4713 public Gtk.IMStatusStyle gtk_im_status_style { get; set; }
4715 public string gtk_key_theme_name { owned get; set; }
4717 public bool gtk_keynav_cursor_only { get; set; }
4719 public bool gtk_keynav_use_caret { get; set; }
4721 public bool gtk_keynav_wrap_around { get; set; }
4723 public bool gtk_label_select_on_focus { get; set; }
4725 public uint gtk_long_press_time { get; set; }
4727 public string gtk_menu_bar_accel { owned get; set; }
4729 public int gtk_menu_bar_popup_delay { get; set; }
4731 public bool gtk_menu_images { get; set; }
4733 public int gtk_menu_popdown_delay { get; set; }
4735 public int gtk_menu_popup_delay { get; set; }
4737 public string gtk_modules { owned get; set; }
4739 public bool gtk_primary_button_warps_slider { get; set; }
4741 public string gtk_print_backends { owned get; set; }
4743 public string gtk_print_preview_command { owned get; set; }
4745 public bool gtk_recent_files_enabled { get; set; }
4747 public int gtk_recent_files_limit { get; set; }
4749 public int gtk_recent_files_max_age { get; set; }
4751 public Gtk.CornerType gtk_scrolled_window_placement { get; set; }
4753 public bool gtk_shell_shows_app_menu { get; set; }
4755 public bool gtk_shell_shows_desktop { get; set; }
4757 public bool gtk_shell_shows_menubar { get; set; }
4759 public bool gtk_show_input_method_menu { get; set; }
4761 public bool gtk_show_unicode_menu { get; set; }
4763 public string gtk_sound_theme_name { owned get; set; }
4765 public bool gtk_split_cursor { get; set; }
4767 public string gtk_theme_name { owned get; set; }
4769 public int gtk_timeout_expand { get; set; }
4771 public int gtk_timeout_initial { get; set; }
4773 public int gtk_timeout_repeat { get; set; }
4775 public string gtk_titlebar_double_click { owned get; set; }
4777 public string gtk_titlebar_middle_click { owned get; set; }
4779 public string gtk_titlebar_right_click { owned get; set; }
4781 public Gtk.IconSize gtk_toolbar_icon_size { get; set; }
4783 public Gtk.ToolbarStyle gtk_toolbar_style { get; set; }
4785 public int gtk_tooltip_browse_mode_timeout { get; set; }
4787 public int gtk_tooltip_browse_timeout { get; set; }
4789 public int gtk_tooltip_timeout { get; set; }
4791 [Version (deprecated_since = "3.4", replacement = "Gdk.Event.get_source_device")]
4792 public bool gtk_touchscreen_mode { get; set; }
4794 public Gtk.PolicyType gtk_visible_focus { get; set; }
4796 public int gtk_xft_antialias { get; set; }
4798 public int gtk_xft_dpi { get; set; }
4800 public int gtk_xft_hinting { get; set; }
4802 public string gtk_xft_hintstyle { owned get; set; }
4804 public string gtk_xft_rgba { owned get; set; }
4806 [CCode (cheader_filename = "gtk/gtk.h")]
4807 public class ShortcutLabel : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4808 [CCode (has_construct_function = false, type = "GtkWidget*")]
4809 public ShortcutLabel (string accelerator);
4810 public unowned string get_accelerator ();
4811 public unowned string get_disabled_text ();
4812 public void set_accelerator (string accelerator);
4813 public void set_disabled_text (string disabled_text);
4814 public string accelerator { get; set; }
4815 public string disabled_text { get; set; }
4817 [CCode (cheader_filename = "gtk/gtk.h")]
4818 public class ShortcutsGroup : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4819 [CCode (has_construct_function = false)]
4820 protected ShortcutsGroup ();
4822 public Gtk.SizeGroup accel_size_group { set; }
4824 public uint height { get; }
4826 public string title { owned get; set; }
4828 public Gtk.SizeGroup title_size_group { set; }
4830 public string view { owned get; set; }
4832 [CCode (cheader_filename = "gtk/gtk.h")]
4833 public class ShortcutsSection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4834 [CCode (has_construct_function = false)]
4835 protected ShortcutsSection ();
4837 public uint max_height { get; set; }
4839 public string section_name { owned get; set; }
4841 public string title { owned get; set; }
4843 public string view_name { owned get; set; }
4844 public virtual signal bool change_current_page (int p0);
4846 [CCode (cheader_filename = "gtk/gtk.h")]
4847 public class ShortcutsShortcut : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4848 [CCode (has_construct_function = false)]
4849 protected ShortcutsShortcut ();
4851 public Gtk.SizeGroup accel_size_group { set; }
4853 public string accelerator { owned get; set; }
4855 public string action_name { owned get; set; }
4857 public Gtk.TextDirection direction { get; set; }
4859 public GLib.Icon icon { owned get; set; }
4861 public bool icon_set { get; set; }
4863 public Gtk.ShortcutType shortcut_type { get; set; }
4865 public string subtitle { owned get; set; }
4867 public bool subtitle_set { get; set; }
4869 public string title { owned get; set; }
4871 public Gtk.SizeGroup title_size_group { set; }
4873 [CCode (cheader_filename = "gtk/gtk.h")]
4874 public class ShortcutsWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
4875 [CCode (has_construct_function = false)]
4876 protected ShortcutsWindow ();
4878 public string section_name { owned get; set; }
4880 public string view_name { owned get; set; }
4881 public virtual signal void close ();
4882 public virtual signal void search ();
4884 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_size_group_get_type ()")]
4885 public class SizeGroup : GLib.Object, Gtk.Buildable {
4886 [CCode (has_construct_function = false)]
4887 public SizeGroup (Gtk.SizeGroupMode mode);
4888 public void add_widget (Gtk.Widget widget);
4889 public bool get_ignore_hidden ();
4890 public Gtk.SizeGroupMode get_mode ();
4891 public unowned GLib.SList<Gtk.Widget> get_widgets ();
4892 public void remove_widget (Gtk.Widget widget);
4893 public void set_ignore_hidden (bool ignore_hidden);
4894 public void set_mode (Gtk.SizeGroupMode mode);
4895 public bool ignore_hidden { get; set; }
4896 public Gtk.SizeGroupMode mode { get; set; }
4898 [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_socket_get_type ()")]
4899 public class Socket : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4900 [CCode (has_construct_function = false, type = "GtkWidget*")]
4902 public void add_id (X.Window window);
4903 public X.Window get_id ();
4904 public unowned Gdk.Window? get_plug_window ();
4905 public virtual signal void plug_added ();
4906 public virtual signal bool plug_removed ();
4908 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
4909 public class SpinButton : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable, Gtk.Orientable {
4910 [CCode (has_construct_function = false, type = "GtkWidget*")]
4911 public SpinButton (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
4912 public void configure (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
4913 public unowned Gtk.Adjustment get_adjustment ();
4914 public uint get_digits ();
4915 public void get_increments (out double step, out double page);
4916 public bool get_numeric ();
4917 public void get_range (out double min, out double max);
4918 public bool get_snap_to_ticks ();
4919 public Gtk.SpinButtonUpdatePolicy get_update_policy ();
4920 public double get_value ();
4921 public int get_value_as_int ();
4922 public bool get_wrap ();
4923 public void set_adjustment (Gtk.Adjustment adjustment);
4924 public void set_digits (uint digits);
4925 public void set_increments (double step, double page);
4926 public void set_numeric (bool numeric);
4927 public void set_range (double min, double max);
4928 public void set_snap_to_ticks (bool snap_to_ticks);
4929 public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
4930 public void set_value (double value);
4931 public void set_wrap (bool wrap);
4932 public void spin (Gtk.SpinType direction, double increment);
4933 public void update ();
4934 [CCode (has_construct_function = false, type = "GtkWidget*")]
4935 public SpinButton.with_range (double min, double max, double step);
4936 public Gtk.Adjustment adjustment { get; set; }
4938 public double climb_rate { get; set; }
4939 public uint digits { get; set; }
4940 public bool numeric { get; set; }
4941 public bool snap_to_ticks { get; set; }
4942 public Gtk.SpinButtonUpdatePolicy update_policy { get; set; }
4943 public double value { get; set; }
4944 public bool wrap { get; set; }
4945 public virtual signal void change_value (Gtk.ScrollType scroll);
4946 public virtual signal int input (out double new_value);
4947 public virtual signal bool output ();
4948 public virtual signal void value_changed ();
4949 public virtual signal void wrapped ();
4951 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spin_button_accessible_get_type ()")]
4952 public class SpinButtonAccessible : Gtk.EntryAccessible, Atk.Component, Atk.EditableText, Atk.Text, Atk.Action, Atk.Value {
4953 [CCode (has_construct_function = false)]
4954 protected SpinButtonAccessible ();
4956 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spinner_get_type ()")]
4957 public class Spinner : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
4958 [CCode (has_construct_function = false, type = "GtkWidget*")]
4960 public void start ();
4961 public void stop ();
4963 public bool active { get; set; }
4965 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spinner_accessible_get_type ()")]
4966 public class SpinnerAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
4967 [CCode (has_construct_function = false)]
4968 protected SpinnerAccessible ();
4970 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_get_type ()")]
4971 public class Stack : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4972 [CCode (has_construct_function = false, type = "GtkWidget*")]
4974 public void add_named (Gtk.Widget child, string name);
4975 public void add_titled (Gtk.Widget child, string name, string title);
4976 public unowned Gtk.Widget? get_child_by_name (string name);
4977 public bool get_hhomogeneous ();
4978 public bool get_homogeneous ();
4979 public bool get_interpolate_size ();
4980 public uint get_transition_duration ();
4981 public bool get_transition_running ();
4982 public Gtk.StackTransitionType get_transition_type ();
4983 public bool get_vhomogeneous ();
4984 public unowned Gtk.Widget? get_visible_child ();
4985 public unowned string? get_visible_child_name ();
4986 public void set_hhomogeneous (bool hhomogeneous);
4987 public void set_homogeneous (bool homogeneous);
4988 public void set_interpolate_size (bool interpolate_size);
4989 public void set_transition_duration (uint duration);
4990 public void set_transition_type (Gtk.StackTransitionType transition);
4991 public void set_vhomogeneous (bool vhomogeneous);
4992 public void set_visible_child (Gtk.Widget child);
4993 public void set_visible_child_full (string name, Gtk.StackTransitionType transition);
4994 public void set_visible_child_name (string name);
4995 public bool hhomogeneous { get; set; }
4996 public bool homogeneous { get; set; }
4997 public bool interpolate_size { get; set; }
4998 public uint transition_duration { get; set; }
4999 public bool transition_running { get; }
5000 public Gtk.StackTransitionType transition_type { get; set; }
5001 public bool vhomogeneous { get; set; }
5002 public Gtk.Widget visible_child { get; set; }
5003 public string visible_child_name { get; set; }
5005 [CCode (cheader_filename = "gtk/gtk.h")]
5006 public class StackAccessible : Gtk.ContainerAccessible, Atk.Component {
5007 [CCode (has_construct_function = false)]
5008 protected StackAccessible ();
5010 [CCode (cheader_filename = "gtk/gtk.h")]
5011 public class StackSidebar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
5012 [CCode (has_construct_function = false, type = "GtkWidget*")]
5013 public StackSidebar ();
5014 public unowned Gtk.Stack get_stack ();
5015 public void set_stack (Gtk.Stack stack);
5016 public Gtk.Stack stack { get; set; }
5018 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_switcher_get_type ()")]
5019 public class StackSwitcher : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5020 [CCode (has_construct_function = false, type = "GtkWidget*")]
5021 public StackSwitcher ();
5022 public unowned Gtk.Stack? get_stack ();
5023 public void set_stack (Gtk.Stack? stack);
5025 public int icon_size { get; set; }
5026 public Gtk.Stack stack { get; set construct; }
5028 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_status_icon_get_type ()")]
5029 public class StatusIcon : GLib.Object {
5030 [CCode (has_construct_function = false)]
5031 public StatusIcon ();
5032 [CCode (has_construct_function = false)]
5033 public StatusIcon.from_file (string filename);
5034 [CCode (has_construct_function = false)]
5035 public StatusIcon.from_gicon (GLib.Icon icon);
5036 [CCode (has_construct_function = false)]
5037 public StatusIcon.from_icon_name (string icon_name);
5038 [CCode (has_construct_function = false)]
5039 public StatusIcon.from_pixbuf (Gdk.Pixbuf pixbuf);
5040 [CCode (has_construct_function = false)]
5041 public StatusIcon.from_stock (string stock_id);
5042 public bool get_geometry (out unowned Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation);
5043 public unowned GLib.Icon get_gicon ();
5044 public bool get_has_tooltip ();
5045 public unowned string get_icon_name ();
5046 public unowned Gdk.Pixbuf get_pixbuf ();
5047 public unowned Gdk.Screen get_screen ();
5048 public int get_size ();
5049 public unowned string get_stock ();
5050 public Gtk.ImageType get_storage_type ();
5051 public unowned string get_title ();
5052 public string get_tooltip_markup ();
5053 public string get_tooltip_text ();
5054 public bool get_visible ();
5055 public uint32 get_x11_window_id ();
5056 public bool is_embedded ();
5057 [CCode (instance_pos = -1)]
5058 public void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
5059 public void set_from_file (string filename);
5060 public void set_from_gicon (GLib.Icon icon);
5061 public void set_from_icon_name (string icon_name);
5062 public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
5063 public void set_from_stock (string stock_id);
5064 public void set_has_tooltip (bool has_tooltip);
5065 public void set_name (string name);
5066 public void set_screen (Gdk.Screen screen);
5067 public void set_title (string title);
5068 public void set_tooltip_markup (string markup);
5069 public void set_tooltip_text (string text);
5070 public void set_visible (bool visible);
5072 public bool embedded { get; }
5074 public string file { set; }
5076 public GLib.Icon gicon { owned get; set; }
5077 public bool has_tooltip { get; set; }
5079 public string icon_name { owned get; set; }
5081 public Gtk.Orientation orientation { get; }
5083 public Gdk.Pixbuf pixbuf { owned get; set; }
5084 public Gdk.Screen screen { get; set; }
5085 public int size { get; }
5087 public string stock { owned get; set; }
5088 public Gtk.ImageType storage_type { get; }
5089 public string title { get; set; }
5090 public string tooltip_markup { owned get; set; }
5091 public string tooltip_text { owned get; set; }
5092 public bool visible { get; set; }
5093 public virtual signal void activate ();
5094 public virtual signal bool button_press_event (Gdk.EventButton event);
5095 public virtual signal bool button_release_event (Gdk.EventButton event);
5096 public virtual signal void popup_menu (uint button, uint activate_time);
5097 public virtual signal bool query_tooltip (int x, int y, bool keyboard_mode, Gtk.Tooltip tooltip);
5098 public virtual signal bool scroll_event (Gdk.EventScroll event);
5099 public virtual signal bool size_changed (int size);
5101 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_statusbar_get_type ()")]
5102 public class Statusbar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5103 [CCode (has_construct_function = false, type = "GtkWidget*")]
5104 public Statusbar ();
5105 public uint get_context_id (string context_description);
5106 public unowned Gtk.Container get_message_area ();
5107 public void pop (uint context_id);
5108 public uint push (uint context_id, string text);
5109 public void remove (uint context_id, uint message_id);
5110 public void remove_all (uint context_id);
5111 public virtual signal void text_popped (uint context_id, string text);
5112 public virtual signal void text_pushed (uint context_id, string text);
5114 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_statusbar_accessible_get_type ()")]
5115 public class StatusbarAccessible : Gtk.ContainerAccessible, Atk.Component {
5116 [CCode (has_construct_function = false)]
5117 protected StatusbarAccessible ();
5119 [CCode (cheader_filename = "gtk/gtk.h")]
5120 [Version (deprecated_since = "3.0", replacement = "StyleContext")]
5121 public class Style : GLib.Object {
5122 public int attach_count;
5123 [CCode (array_length = false)]
5124 public weak Cairo.Pattern[] background;
5125 [CCode (array_length = false)]
5126 public Gdk.Color[] @base;
5127 [CCode (array_length = false)]
5128 public Gdk.Color[] bg;
5129 public Gdk.Color black;
5130 [CCode (array_length = false)]
5131 public Gdk.Color[] dark;
5132 [CCode (array_length = false)]
5133 public Gdk.Color[] fg;
5134 public weak Pango.FontDescription font_desc;
5135 public weak GLib.SList icon_factories;
5136 [CCode (array_length = false)]
5137 public Gdk.Color[] light;
5138 [CCode (array_length = false)]
5139 public Gdk.Color[] mid;
5140 public weak GLib.Array property_cache;
5141 public weak Gtk.RcStyle rc_style;
5142 public weak GLib.SList styles;
5143 [CCode (array_length = false)]
5144 public Gdk.Color[] text;
5145 [CCode (array_length = false)]
5146 public Gdk.Color[] text_aa;
5147 public weak Gdk.Visual visual;
5148 public Gdk.Color white;
5149 public int xthickness;
5150 public int ythickness;
5151 [CCode (has_construct_function = false)]
5153 public void apply_default_background (Cairo.Context cr, Gdk.Window window, Gtk.StateType state_type, int x, int y, int width, int height);
5154 public unowned Gtk.Style attach (Gdk.Window window);
5156 public virtual Gtk.Style clone ();
5157 public Gtk.Style copy ();
5158 [CCode (instance_pos = -1, vfunc_name = "copy")]
5160 public virtual void copy_to (Gtk.Style dest);
5161 public void detach ();
5163 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);
5165 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);
5167 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);
5169 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);
5171 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);
5173 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);
5175 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);
5177 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);
5179 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);
5181 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);
5183 public virtual void draw_hline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x1, int x2, int y);
5185 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);
5187 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);
5189 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);
5191 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);
5193 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);
5195 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);
5197 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);
5199 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);
5201 public virtual void draw_vline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int y1_, int y2_, int x);
5202 public void @get (GLib.Type widget_type, ...);
5203 public void get_style_property (GLib.Type widget_type, string property_name, out GLib.Value value);
5204 public void get_valist (GLib.Type widget_type, string first_property_name, void* var_args);
5205 public bool has_context ();
5207 public virtual void init_from_rc (Gtk.RcStyle rc_style);
5208 public bool lookup_color (string color_name, out Gdk.Color color);
5209 public unowned Gtk.IconSet lookup_icon_set (string stock_id);
5210 public virtual Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget? widget, string? detail);
5211 public virtual void set_background (Gdk.Window window, Gtk.StateType state_type);
5213 public Gtk.StyleContext context { owned get; construct; }
5214 public virtual signal void realize ();
5215 public virtual signal void unrealize ();
5217 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_context_get_type ()")]
5218 public class StyleContext : GLib.Object {
5219 [CCode (has_construct_function = false)]
5220 public StyleContext ();
5221 public void add_class (string class_name);
5222 public void add_provider (Gtk.StyleProvider provider, uint priority);
5223 public static void add_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider, uint priority);
5224 public void add_region (string region_name, Gtk.RegionFlags flags);
5225 public void cancel_animations (void* region_id);
5226 public void @get (Gtk.StateFlags state, ...);
5227 public Gdk.RGBA get_background_color (Gtk.StateFlags state);
5228 public Gtk.Border get_border (Gtk.StateFlags state);
5229 public Gdk.RGBA get_border_color (Gtk.StateFlags state);
5230 public Gdk.RGBA get_color (Gtk.StateFlags state);
5231 public Gtk.TextDirection get_direction ();
5232 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
5233 public unowned Gdk.FrameClock? get_frame_clock ();
5234 public Gtk.JunctionSides get_junction_sides ();
5235 public Gtk.Border get_margin (Gtk.StateFlags state);
5236 public Gtk.Border get_padding (Gtk.StateFlags state);
5237 public unowned Gtk.StyleContext? get_parent ();
5238 public unowned Gtk.WidgetPath get_path ();
5239 public GLib.Value get_property (string property, Gtk.StateFlags state);
5240 public int get_scale ();
5241 public unowned Gdk.Screen get_screen ();
5242 public unowned Gtk.CssSection get_section (string property);
5243 public Gtk.StateFlags get_state ();
5244 public void get_style (...);
5245 public void get_style_property (string property_name, GLib.Value value);
5246 public void get_style_valist (va_list args);
5247 public void get_valist (Gtk.StateFlags state, va_list args);
5248 public bool has_class (string class_name);
5249 public bool has_region (string region_name, out Gtk.RegionFlags flags_return);
5250 public void invalidate ();
5251 public GLib.List<weak string> list_classes ();
5252 public GLib.List<weak string> list_regions ();
5253 public bool lookup_color (string color_name, out Gdk.RGBA color);
5254 public unowned Gtk.IconSet lookup_icon_set (string stock_id);
5255 public void notify_state_change (Gdk.Window window, void* region_id, Gtk.StateType state, bool state_value);
5256 public void pop_animatable_region ();
5257 public void push_animatable_region (void* region_id);
5258 public void remove_class (string class_name);
5259 public void remove_provider (Gtk.StyleProvider provider);
5260 public static void remove_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider);
5261 public void remove_region (string region_name);
5262 [CCode (cname = "gtk_render_activity")]
5263 public void render_activity (Cairo.Context cr, double x, double y, double width, double height);
5264 [CCode (cname = "gtk_render_arrow")]
5265 public void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
5266 [CCode (cname = "gtk_render_background")]
5267 public void render_background (Cairo.Context cr, double x, double y, double width, double height);
5268 [CCode (cname = "gtk_render_background_get_clip")]
5269 public Gdk.Rectangle render_background_get_clip (double x, double y, double width, double height);
5270 [CCode (cname = "gtk_render_check")]
5271 public void render_check (Cairo.Context cr, double x, double y, double width, double height);
5272 [CCode (cname = "gtk_render_expander")]
5273 public void render_expander (Cairo.Context cr, double x, double y, double width, double height);
5274 [CCode (cname = "gtk_render_extension")]
5275 public void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
5276 [CCode (cname = "gtk_render_focus")]
5277 public void render_focus (Cairo.Context cr, double x, double y, double width, double height);
5278 [CCode (cname = "gtk_render_frame")]
5279 public void render_frame (Cairo.Context cr, double x, double y, double width, double height);
5280 [CCode (cname = "gtk_render_frame_gap")]
5281 public 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);
5282 [CCode (cname = "gtk_render_handle")]
5283 public void render_handle (Cairo.Context cr, double x, double y, double width, double height);
5284 [CCode (cname = "gtk_render_icon")]
5285 public void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
5286 [CCode (cname = "gtk_render_icon_pixbuf")]
5287 public Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
5288 [CCode (cname = "gtk_render_layout")]
5289 public void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
5290 [CCode (cname = "gtk_render_line")]
5291 public void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
5292 [CCode (cname = "gtk_render_option")]
5293 public void render_option (Cairo.Context cr, double x, double y, double width, double height);
5294 [CCode (cname = "gtk_render_slider")]
5295 public void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
5296 public static void reset_widgets (Gdk.Screen screen);
5297 public void restore ();
5298 public void save ();
5299 public void scroll_animations (Gdk.Window window, int dx, int dy);
5300 public void set_background (Gdk.Window window);
5301 public void set_direction (Gtk.TextDirection direction);
5302 public void set_frame_clock (Gdk.FrameClock frame_clock);
5303 public void set_junction_sides (Gtk.JunctionSides sides);
5304 public void set_parent (Gtk.StyleContext? parent);
5305 public void set_path (Gtk.WidgetPath path);
5306 public void set_scale (int scale);
5307 public void set_screen (Gdk.Screen screen);
5308 public void set_state (Gtk.StateFlags flags);
5309 public bool state_is_running (Gtk.StateType state, out double progress);
5310 public string to_string (Gtk.StyleContextPrintFlags flags);
5311 public Gtk.TextDirection direction { get; set; }
5313 public Gdk.FrameClock paint_clock { owned get; set; }
5314 public Gtk.StyleContext parent { get; set; }
5315 public Gdk.Screen screen { get; set; }
5316 public virtual signal void changed ();
5318 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_properties_get_type ()")]
5319 public class StyleProperties : GLib.Object, Gtk.StyleProvider {
5320 [CCode (has_construct_function = false)]
5321 public StyleProperties ();
5322 public void clear ();
5323 public void @get (Gtk.StateFlags state, ...);
5324 public bool get_property (string property, Gtk.StateFlags state, out GLib.Value value);
5325 public void get_valist (Gtk.StateFlags state, va_list args);
5326 public unowned Gtk.SymbolicColor lookup_color (string name);
5327 public static bool lookup_property (string property_name, out unowned Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec);
5328 public void map_color (string name, Gtk.SymbolicColor color);
5329 public void merge (Gtk.StyleProperties props_to_merge, bool replace);
5330 public static void register_property (Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
5331 public void @set (Gtk.StateFlags state, ...);
5332 public void set_property (string property, Gtk.StateFlags state, GLib.Value value);
5333 public void set_valist (Gtk.StateFlags state, va_list args);
5334 public void unset_property (string property, Gtk.StateFlags state);
5336 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_switch_get_type ()")]
5337 public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
5338 [CCode (has_construct_function = false, type = "GtkWidget*")]
5340 public bool get_active ();
5341 public bool get_state ();
5342 public void set_active (bool is_active);
5343 public void set_state (bool state);
5344 public bool active { get; set; }
5345 public bool state { get; set; }
5346 public virtual signal void activate ();
5347 public virtual signal bool state_set (bool state);
5349 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_switch_accessible_get_type ()")]
5350 public class SwitchAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Action {
5351 [CCode (has_construct_function = false)]
5352 protected SwitchAccessible ();
5354 [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_symbolic_color_ref", type_id = "gtk_symbolic_color_get_type ()", unref_function = "gtk_symbolic_color_unref")]
5356 public class SymbolicColor {
5357 [CCode (has_construct_function = false)]
5358 public SymbolicColor.alpha (Gtk.SymbolicColor color, double factor);
5359 [CCode (has_construct_function = false)]
5360 public SymbolicColor.literal (Gdk.RGBA color);
5361 [CCode (has_construct_function = false)]
5362 public SymbolicColor.mix (Gtk.SymbolicColor color1, Gtk.SymbolicColor color2, double factor);
5363 [CCode (has_construct_function = false)]
5364 public SymbolicColor.name (string name);
5365 public bool resolve (Gtk.StyleProperties? props, out Gdk.RGBA resolved_color);
5366 [CCode (has_construct_function = false)]
5367 public SymbolicColor.shade (Gtk.SymbolicColor color, double factor);
5368 public string to_string ();
5369 [CCode (has_construct_function = false)]
5370 public SymbolicColor.win32 (string theme_class, int id);
5372 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_table_get_type ()")]
5373 [Version (deprecated_since = "3.4", replacement = "Grid")]
5374 public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
5375 [CCode (has_construct_function = false, type = "GtkWidget*")]
5376 public Table (uint rows, uint columns, bool homogeneous);
5377 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);
5378 public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
5379 public uint get_col_spacing (uint column);
5380 public uint get_default_col_spacing ();
5381 public uint get_default_row_spacing ();
5382 public bool get_homogeneous ();
5383 public uint get_row_spacing (uint row);
5384 public void get_size (out uint rows, out uint columns);
5385 public void resize (uint rows, uint columns);
5386 public void set_col_spacing (uint column, uint spacing);
5387 public void set_col_spacings (uint spacing);
5388 public void set_homogeneous (bool homogeneous);
5389 public void set_row_spacing (uint row, uint spacing);
5390 public void set_row_spacings (uint spacing);
5392 public uint column_spacing { get; set; }
5393 public bool homogeneous { get; set; }
5395 public uint n_columns { get; set; }
5397 public uint n_rows { get; set; }
5399 public uint row_spacing { get; set; }
5401 [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_target_list_ref", type_id = "gtk_target_list_get_type ()", unref_function = "gtk_target_list_unref")]
5403 public class TargetList {
5404 [CCode (has_construct_function = false)]
5405 public TargetList (Gtk.TargetEntry[]? targets);
5406 public void add (Gdk.Atom target, uint flags, uint info);
5407 public void add_image_targets (uint info, bool writable);
5408 public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
5409 public void add_table (Gtk.TargetEntry[] targets);
5410 public void add_text_targets (uint info);
5411 public void add_uri_targets (uint info);
5412 public bool find (Gdk.Atom target, out uint info);
5413 public void remove (Gdk.Atom target);
5415 [CCode (cheader_filename = "gtk/gtk.h")]
5417 public class TargetPair {
5420 public Gdk.Atom target;
5422 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tearoff_menu_item_get_type ()")]
5423 [Version (deprecated_since = "3.4")]
5424 public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
5425 [CCode (has_construct_function = false, type = "GtkWidget*")]
5426 public TearoffMenuItem ();
5428 [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_text_attributes_ref", type_id = "gtk_text_attributes_get_type ()", unref_function = "gtk_text_attributes_unref")]
5430 public class TextAttributes {
5431 public Gtk.TextAppearance appearance;
5432 public uint bg_full_height;
5433 public Gtk.TextDirection direction;
5434 public uint editable;
5435 public Pango.FontDescription font;
5436 public string font_features;
5437 public double font_scale;
5439 public uint invisible;
5440 public Gtk.Justification justification;
5441 public Pango.Language language;
5442 public int left_margin;
5443 public int letter_spacing;
5444 public uint no_fallback;
5445 public Gdk.Color pg_bg_color;
5446 public Gdk.RGBA pg_bg_rgba;
5447 public int pixels_above_lines;
5448 public int pixels_below_lines;
5449 public int pixels_inside_wrap;
5450 public uint refcount;
5451 public int right_margin;
5452 public Pango.TabArray tabs;
5453 public Gtk.WrapMode wrap_mode;
5454 [CCode (has_construct_function = false)]
5455 public TextAttributes ();
5456 public Gtk.TextAttributes copy ();
5457 public void copy_values (Gtk.TextAttributes dest);
5459 [CCode (cheader_filename = "gtk/gtk.h")]
5461 public class TextBTree {
5463 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_buffer_get_type ()")]
5464 public class TextBuffer : GLib.Object {
5465 [CCode (has_construct_function = false)]
5466 public TextBuffer (Gtk.TextTagTable? table);
5467 public void add_mark (Gtk.TextMark mark, Gtk.TextIter where);
5468 public void add_selection_clipboard (Gtk.Clipboard clipboard);
5469 public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
5470 public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
5471 public void copy_clipboard (Gtk.Clipboard clipboard);
5472 public unowned Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
5473 public unowned Gtk.TextMark create_mark (string? mark_name, Gtk.TextIter where, bool left_gravity);
5474 public unowned Gtk.TextTag create_tag (string? tag_name, ...);
5475 public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable);
5476 public void @delete (ref Gtk.TextIter start, ref Gtk.TextIter end);
5477 public bool delete_interactive (ref Gtk.TextIter start_iter, ref Gtk.TextIter end_iter, bool default_editable);
5478 public void delete_mark (Gtk.TextMark mark);
5479 public void delete_mark_by_name (string name);
5480 public bool delete_selection (bool interactive, bool default_editable);
5481 public bool deserialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter iter, [CCode (array_length_type = "gsize")] uint8[] data) throws GLib.Error;
5482 public bool deserialize_get_can_create_tags (Gdk.Atom format);
5483 public void deserialize_set_can_create_tags (Gdk.Atom format, bool can_create_tags);
5484 public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
5485 public int get_char_count ();
5486 public unowned Gtk.TargetList get_copy_target_list ();
5487 public Gdk.Atom[] get_deserialize_formats ();
5488 public void get_end_iter (out Gtk.TextIter iter);
5489 public bool get_has_selection ();
5490 public unowned Gtk.TextMark get_insert ();
5491 public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
5492 public void get_iter_at_line (out Gtk.TextIter iter, int line_number);
5493 public void get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
5494 public void get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
5495 public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
5496 public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
5497 public int get_line_count ();
5498 public unowned Gtk.TextMark? get_mark (string name);
5499 public bool get_modified ();
5500 public unowned Gtk.TargetList get_paste_target_list ();
5501 public unowned Gtk.TextMark get_selection_bound ();
5502 public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
5503 public Gdk.Atom[] get_serialize_formats ();
5504 public string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
5505 public void get_start_iter (out Gtk.TextIter iter);
5506 public unowned Gtk.TextTagTable get_tag_table ();
5507 public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
5508 public void insert (ref Gtk.TextIter iter, string text, int len);
5509 public void insert_at_cursor (string text, int len);
5510 public bool insert_interactive (ref Gtk.TextIter iter, string text, int len, bool default_editable);
5511 public bool insert_interactive_at_cursor (string text, int len, bool default_editable);
5512 public void insert_markup (ref Gtk.TextIter iter, string markup, int len);
5513 public void insert_range (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end);
5514 public bool insert_range_interactive (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable);
5515 public void insert_with_tags (ref Gtk.TextIter iter, string text, int len, ...);
5516 public void insert_with_tags_by_name (ref Gtk.TextIter iter, string text, int len, ...);
5517 public void move_mark (Gtk.TextMark mark, Gtk.TextIter where);
5518 public void move_mark_by_name (string name, Gtk.TextIter where);
5519 public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter? override_location, bool default_editable);
5520 public void place_cursor (Gtk.TextIter where);
5521 public Gdk.Atom register_deserialize_format (string mime_type, owned Gtk.TextBufferDeserializeFunc function);
5522 public Gdk.Atom register_deserialize_tagset (string? tagset_name);
5523 public Gdk.Atom register_serialize_format (string mime_type, owned Gtk.TextBufferSerializeFunc function);
5524 public Gdk.Atom register_serialize_tagset (string? tagset_name);
5525 public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end);
5526 public void remove_selection_clipboard (Gtk.Clipboard clipboard);
5527 public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
5528 public void select_range (Gtk.TextIter ins, Gtk.TextIter bound);
5529 [CCode (array_length_type = "gsize")]
5530 public uint8[] serialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end);
5531 public void set_modified (bool setting);
5532 public void set_text (string text, int len = -1);
5533 public void unregister_deserialize_format (Gdk.Atom format);
5534 public void unregister_serialize_format (Gdk.Atom format);
5535 public Gtk.TargetList copy_target_list { get; }
5537 public int cursor_position { get; }
5538 public bool has_selection { get; }
5539 public Gtk.TargetList paste_target_list { get; }
5540 public Gtk.TextTagTable tag_table { get; construct; }
5542 public string text { owned get; set; }
5544 public virtual signal void apply_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
5546 public virtual signal void begin_user_action ();
5547 public virtual signal void changed ();
5548 public virtual signal void delete_range (Gtk.TextIter start, Gtk.TextIter end);
5550 public virtual signal void end_user_action ();
5552 public virtual signal void insert_child_anchor (Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
5554 public virtual signal void insert_pixbuf (Gtk.TextIter iter, Gdk.Pixbuf pixbuf);
5555 public virtual signal void insert_text (ref Gtk.TextIter pos, string new_text, int new_text_length);
5556 public virtual signal void mark_deleted (Gtk.TextMark mark);
5557 public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
5558 public virtual signal void modified_changed ();
5559 public virtual signal void paste_done (Gtk.Clipboard clipboard);
5561 public virtual signal void remove_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
5563 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_cell_accessible_get_type ()")]
5564 public class TextCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component, Atk.Text {
5565 [CCode (has_construct_function = false)]
5566 protected TextCellAccessible ();
5568 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_child_anchor_get_type ()")]
5569 public class TextChildAnchor : GLib.Object {
5570 public void* segment;
5571 [CCode (has_construct_function = false)]
5572 public TextChildAnchor ();
5573 public bool get_deleted ();
5574 public GLib.List<weak Gtk.Widget> get_widgets ();
5576 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_mark_get_type ()")]
5577 public class TextMark : GLib.Object {
5578 public void* segment;
5579 [CCode (has_construct_function = false)]
5580 public TextMark (string? name, bool left_gravity = false);
5581 public unowned Gtk.TextBuffer get_buffer ();
5582 public bool get_deleted ();
5583 public bool get_left_gravity ();
5584 public unowned string get_name ();
5585 public bool get_visible ();
5586 public void set_visible (bool setting);
5587 public bool left_gravity { get; construct; }
5588 public string name { get; construct; }
5590 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_get_type ()")]
5591 public class TextTag : GLib.Object {
5592 [CCode (has_construct_function = false)]
5593 public TextTag (string? name = null);
5594 public void changed (bool size_changed);
5595 public int get_priority ();
5596 public void set_priority (int priority);
5598 public bool accumulative_margin { get; set; }
5600 public string background { set; }
5602 public bool background_full_height { get; set; }
5604 public bool background_full_height_set { get; set; }
5606 [Version (deprecated_since = "3.4", replacement = "background_rgba")]
5607 public Gdk.Color background_gdk { get; set; }
5609 public Gdk.RGBA background_rgba { get; set; }
5611 public bool background_set { get; set; }
5613 public Gtk.TextDirection direction { get; set; }
5615 public bool editable { get; set; }
5617 public bool editable_set { get; set; }
5619 public bool fallback { get; set; }
5621 public bool fallback_set { get; set; }
5623 public string family { owned get; set; }
5625 public bool family_set { get; set; }
5627 public string font { owned get; set; }
5629 public Pango.FontDescription font_desc { owned get; set; }
5631 public string font_features { owned get; set; }
5633 public bool font_features_set { get; set; }
5635 public string foreground { set; }
5637 [Version (deprecated_since = "3.4", replacement = "foreground_rgba")]
5638 public Gdk.Color foreground_gdk { get; set; }
5640 public Gdk.RGBA foreground_rgba { get; set; }
5642 public bool foreground_set { get; set; }
5644 public int indent { get; set; }
5646 public bool indent_set { get; set; }
5648 public bool invisible { get; set; }
5650 public bool invisible_set { get; set; }
5652 public Gtk.Justification justification { get; set; }
5654 public bool justification_set { get; set; }
5656 public string language { owned get; set; }
5658 public bool language_set { get; set; }
5660 public int left_margin { get; set; }
5662 public bool left_margin_set { get; set; }
5664 public int letter_spacing { get; set; }
5666 public bool letter_spacing_set { get; set; }
5668 public string name { owned get; construct; }
5670 public string paragraph_background { set; }
5672 [Version (deprecated_since = "3.4", replacement = "paragraph_background_rgba")]
5673 public Gdk.Color paragraph_background_gdk { get; set; }
5675 public Gdk.RGBA paragraph_background_rgba { get; set; }
5677 public bool paragraph_background_set { get; set; }
5679 public int pixels_above_lines { get; set; }
5681 public bool pixels_above_lines_set { get; set; }
5683 public int pixels_below_lines { get; set; }
5685 public bool pixels_below_lines_set { get; set; }
5687 public int pixels_inside_wrap { get; set; }
5689 public bool pixels_inside_wrap_set { get; set; }
5691 public int right_margin { get; set; }
5693 public bool right_margin_set { get; set; }
5695 public int rise { get; set; }
5697 public bool rise_set { get; set; }
5699 public double scale { get; set; }
5701 public bool scale_set { get; set; }
5703 public int size { get; set; }
5705 public double size_points { get; set; }
5707 public bool size_set { get; set; }
5709 public Pango.Stretch stretch { get; set; }
5711 public bool stretch_set { get; set; }
5713 public bool strikethrough { get; set; }
5715 public Gdk.RGBA strikethrough_rgba { get; set; }
5717 public bool strikethrough_rgba_set { get; set; }
5719 public bool strikethrough_set { get; set; }
5721 public Pango.Style style { get; set; }
5723 public bool style_set { get; set; }
5725 public Pango.TabArray tabs { owned get; set; }
5727 public bool tabs_set { get; set; }
5729 public Pango.Underline underline { get; set; }
5731 public Gdk.RGBA underline_rgba { get; set; }
5733 public bool underline_rgba_set { get; set; }
5735 public bool underline_set { get; set; }
5737 public Pango.Variant variant { get; set; }
5739 public bool variant_set { get; set; }
5741 public int weight { get; set; }
5743 public bool weight_set { get; set; }
5745 public Gtk.WrapMode wrap_mode { get; set; }
5747 public bool wrap_mode_set { get; set; }
5749 public virtual signal bool event (GLib.Object event_object, Gdk.Event event, Gtk.TextIter iter);
5751 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_table_get_type ()")]
5752 public class TextTagTable : GLib.Object, Gtk.Buildable {
5753 [CCode (has_construct_function = false)]
5754 public TextTagTable ();
5755 public bool add (Gtk.TextTag tag);
5756 public void @foreach (Gtk.TextTagTableForeach func);
5757 public int get_size ();
5758 public unowned Gtk.TextTag? lookup (string name);
5759 public void remove (Gtk.TextTag tag);
5760 public virtual signal void tag_added (Gtk.TextTag tag);
5761 public virtual signal void tag_changed (Gtk.TextTag tag, bool size_changed);
5762 public virtual signal void tag_removed (Gtk.TextTag tag);
5764 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_view_get_type ()")]
5765 public class TextView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
5766 [CCode (has_construct_function = false, type = "GtkWidget*")]
5768 public void add_child_at_anchor (Gtk.Widget child, Gtk.TextChildAnchor anchor);
5769 public void add_child_in_window (Gtk.Widget child, Gtk.TextWindowType which_window, int xpos, int ypos);
5770 public bool backward_display_line (Gtk.TextIter iter);
5771 public bool backward_display_line_start (Gtk.TextIter iter);
5772 public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y);
5774 public virtual Gtk.TextBuffer create_buffer ();
5776 public virtual void draw_layer (Gtk.TextViewLayer layer, Cairo.Context cr);
5777 public bool forward_display_line (Gtk.TextIter iter);
5778 public bool forward_display_line_end (Gtk.TextIter iter);
5779 public bool get_accepts_tab ();
5780 public int get_border_window_size (Gtk.TextWindowType type);
5781 public int get_bottom_margin ();
5782 public unowned Gtk.TextBuffer get_buffer ();
5783 public void get_cursor_locations (Gtk.TextIter? iter, out Gdk.Rectangle strong, out Gdk.Rectangle @weak);
5784 public bool get_cursor_visible ();
5785 public Gtk.TextAttributes get_default_attributes ();
5786 public bool get_editable ();
5787 public unowned Gtk.Adjustment get_hadjustment ();
5788 public int get_indent ();
5789 public Gtk.InputHints get_input_hints ();
5790 public Gtk.InputPurpose get_input_purpose ();
5791 public bool get_iter_at_location (out Gtk.TextIter iter, int x, int y);
5792 public bool get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
5793 public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
5794 public Gtk.Justification get_justification ();
5795 public int get_left_margin ();
5796 public void get_line_at_y (out Gtk.TextIter target_iter, int y, out int line_top);
5797 public void get_line_yrange (Gtk.TextIter iter, out int y, out int height);
5798 public bool get_monospace ();
5799 public bool get_overwrite ();
5800 public int get_pixels_above_lines ();
5801 public int get_pixels_below_lines ();
5802 public int get_pixels_inside_wrap ();
5803 public int get_right_margin ();
5804 public Pango.TabArray? get_tabs ();
5805 public int get_top_margin ();
5806 public unowned Gtk.Adjustment get_vadjustment ();
5807 public void get_visible_rect (out Gdk.Rectangle visible_rect);
5808 public unowned Gdk.Window? get_window (Gtk.TextWindowType win);
5809 public Gtk.TextWindowType get_window_type (Gdk.Window window);
5810 public Gtk.WrapMode get_wrap_mode ();
5811 public bool im_context_filter_keypress (Gdk.EventKey event);
5812 public void move_child (Gtk.Widget child, int xpos, int ypos);
5813 public bool move_mark_onscreen (Gtk.TextMark mark);
5814 public bool move_visually (Gtk.TextIter iter, int count);
5815 public bool place_cursor_onscreen ();
5816 public void reset_cursor_blink ();
5817 public void reset_im_context ();
5818 public void scroll_mark_onscreen (Gtk.TextMark mark);
5819 public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
5820 public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
5821 public void set_accepts_tab (bool accepts_tab);
5822 public void set_border_window_size (Gtk.TextWindowType type, int size);
5823 public void set_bottom_margin (int bottom_margin);
5824 public void set_buffer (Gtk.TextBuffer? buffer);
5825 public void set_cursor_visible (bool setting);
5826 public void set_editable (bool setting);
5827 public void set_indent (int indent);
5828 public void set_input_hints (Gtk.InputHints hints);
5829 public void set_input_purpose (Gtk.InputPurpose purpose);
5830 public void set_justification (Gtk.Justification justification);
5831 public void set_left_margin (int left_margin);
5832 public void set_monospace (bool monospace);
5833 public void set_overwrite (bool overwrite);
5834 public void set_pixels_above_lines (int pixels_above_lines);
5835 public void set_pixels_below_lines (int pixels_below_lines);
5836 public void set_pixels_inside_wrap (int pixels_inside_wrap);
5837 public void set_right_margin (int right_margin);
5838 public void set_tabs (Pango.TabArray tabs);
5839 public void set_top_margin (int top_margin);
5840 public void set_wrap_mode (Gtk.WrapMode wrap_mode);
5841 public bool starts_display_line (Gtk.TextIter iter);
5842 public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y);
5843 [CCode (has_construct_function = false, type = "GtkWidget*")]
5844 public TextView.with_buffer (Gtk.TextBuffer buffer);
5845 public bool accepts_tab { get; set; }
5846 public int bottom_margin { get; set; }
5847 public Gtk.TextBuffer buffer { get; set; }
5848 public bool cursor_visible { get; set; }
5849 public bool editable { get; set; }
5851 public string im_module { owned get; set; }
5852 public int indent { get; set; }
5853 public Gtk.InputHints input_hints { get; set; }
5854 public Gtk.InputPurpose input_purpose { get; set; }
5855 public Gtk.Justification justification { get; set; }
5856 public int left_margin { get; set; }
5857 public bool monospace { get; set; }
5858 public bool overwrite { get; set; }
5859 public int pixels_above_lines { get; set; }
5860 public int pixels_below_lines { get; set; }
5861 public int pixels_inside_wrap { get; set; }
5863 public bool populate_all { get; set; }
5864 public int right_margin { get; set; }
5865 public Pango.TabArray tabs { owned get; set; }
5866 public int top_margin { get; set; }
5867 public Gtk.WrapMode wrap_mode { get; set; }
5868 public virtual signal void backspace ();
5869 public virtual signal void copy_clipboard ();
5870 public virtual signal void cut_clipboard ();
5871 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
5872 public virtual signal bool extend_selection (Gtk.TextExtendSelection granularity, Gtk.TextIter location, Gtk.TextIter start, Gtk.TextIter end);
5873 public virtual signal void insert_at_cursor (string str);
5874 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
5875 public virtual signal void move_viewport (Gtk.ScrollStep p0, int p1);
5876 public virtual signal void paste_clipboard ();
5877 public virtual signal void populate_popup (Gtk.Menu popup);
5878 public virtual signal void preedit_changed (string p0);
5879 public virtual signal void select_all (bool p0);
5880 public virtual signal void set_anchor ();
5881 public virtual signal void toggle_cursor_visible ();
5882 public virtual signal void toggle_overwrite ();
5884 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_view_accessible_get_type ()")]
5885 public class TextViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.EditableText, Atk.Text, Atk.StreamableContent {
5886 [CCode (has_construct_function = false)]
5887 protected TextViewAccessible ();
5889 [CCode (cheader_filename = "gtk/gtk.h")]
5891 public class ThemeEngine {
5893 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_theming_engine_get_type ()")]
5894 public class ThemingEngine : GLib.Object {
5895 [CCode (has_construct_function = false)]
5896 protected ThemingEngine ();
5897 public void @get (Gtk.StateFlags state, ...);
5898 public Gdk.RGBA get_background_color (Gtk.StateFlags state);
5899 public Gtk.Border get_border (Gtk.StateFlags state);
5900 public Gdk.RGBA get_border_color (Gtk.StateFlags state);
5901 public Gdk.RGBA get_color (Gtk.StateFlags state);
5902 public Gtk.TextDirection get_direction ();
5903 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
5904 public Gtk.JunctionSides get_junction_sides ();
5905 public Gtk.Border get_margin (Gtk.StateFlags state);
5906 public Gtk.Border get_padding (Gtk.StateFlags state);
5907 public unowned Gtk.WidgetPath get_path ();
5908 public GLib.Value get_property (string property, Gtk.StateFlags state);
5909 public unowned Gdk.Screen get_screen ();
5910 public Gtk.StateFlags get_state ();
5911 public void get_style (...);
5912 public GLib.Value get_style_property (string property_name);
5913 public void get_style_valist (va_list args);
5914 public void get_valist (Gtk.StateFlags state, va_list args);
5915 public bool has_class (string style_class);
5916 public bool has_region (string style_region, out Gtk.RegionFlags flags);
5917 public static unowned Gtk.ThemingEngine load (string name);
5918 public bool lookup_color (string color_name, out Gdk.RGBA color);
5919 public static void register_property (string name_space, Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
5921 public virtual void render_activity (Cairo.Context cr, double x, double y, double width, double height);
5923 public virtual void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
5925 public virtual void render_background (Cairo.Context cr, double x, double y, double width, double height);
5927 public virtual void render_check (Cairo.Context cr, double x, double y, double width, double height);
5929 public virtual void render_expander (Cairo.Context cr, double x, double y, double width, double height);
5931 public virtual void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
5933 public virtual void render_focus (Cairo.Context cr, double x, double y, double width, double height);
5935 public virtual void render_frame (Cairo.Context cr, double x, double y, double width, double height);
5937 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);
5939 public virtual void render_handle (Cairo.Context cr, double x, double y, double width, double height);
5941 public virtual void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
5943 public virtual Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
5945 public virtual void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
5947 public virtual void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
5949 public virtual void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
5951 public virtual void render_option (Cairo.Context cr, double x, double y, double width, double height);
5953 public virtual void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
5954 [Version (deprecated_since = "3.6")]
5955 public bool state_is_running (Gtk.StateType state, out double progress);
5957 public string name { owned get; construct; }
5959 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_action_get_type ()")]
5960 public class ToggleAction : Gtk.Action, Gtk.Buildable {
5961 [CCode (has_construct_function = false)]
5962 public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
5963 public bool get_active ();
5964 public bool get_draw_as_radio ();
5965 public void set_active (bool is_active);
5966 public void set_draw_as_radio (bool draw_as_radio);
5967 public bool active { get; set; }
5968 public bool draw_as_radio { get; set; }
5970 public virtual signal void toggled ();
5972 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_button_get_type ()")]
5973 public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
5974 [CCode (has_construct_function = false, type = "GtkWidget*")]
5975 public ToggleButton ();
5976 public bool get_active ();
5977 public bool get_inconsistent ();
5978 public bool get_mode ();
5979 public void set_active (bool is_active);
5980 public void set_inconsistent (bool setting);
5981 public void set_mode (bool draw_indicator);
5982 [CCode (has_construct_function = false, type = "GtkWidget*")]
5983 public ToggleButton.with_label (string label);
5984 [CCode (has_construct_function = false, type = "GtkWidget*")]
5985 public ToggleButton.with_mnemonic (string label);
5986 public bool active { get; set; }
5988 public bool draw_indicator { get; set; }
5989 public bool inconsistent { get; set; }
5991 public virtual signal void toggled ();
5993 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toggle_button_accessible_get_type ()")]
5994 public class ToggleButtonAccessible : Gtk.ButtonAccessible, Atk.Component, Atk.Action, Atk.Image {
5995 [CCode (has_construct_function = false)]
5996 protected ToggleButtonAccessible ();
5998 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_tool_button_get_type ()")]
5999 public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
6000 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6001 public ToggleToolButton ();
6002 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6003 public ToggleToolButton.from_stock (string stock_id);
6004 public bool get_active ();
6005 public void set_active (bool is_active);
6006 public bool active { get; set; }
6007 public virtual signal void toggled ();
6009 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_button_get_type ()")]
6010 public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
6011 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6012 public ToolButton (Gtk.Widget? icon_widget, string? label);
6013 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6014 public ToolButton.from_stock (string stock_id);
6015 public unowned string? get_icon_name ();
6016 public unowned Gtk.Widget? get_icon_widget ();
6017 public unowned string? get_label ();
6018 public unowned Gtk.Widget? get_label_widget ();
6019 public unowned string get_stock_id ();
6020 public bool get_use_underline ();
6021 public void set_icon_name (string? icon_name);
6022 public void set_icon_widget (Gtk.Widget? icon_widget);
6023 public void set_label (string? label);
6024 public void set_label_widget (Gtk.Widget? label_widget);
6025 public void set_stock_id (string? stock_id);
6026 public void set_use_underline (bool use_underline);
6027 public string icon_name { get; set; }
6028 public Gtk.Widget icon_widget { get; set; }
6029 public string label { get; set; }
6030 public Gtk.Widget label_widget { get; set; }
6031 public string stock_id { get; set; }
6032 public bool use_underline { get; set; }
6033 public virtual signal void clicked ();
6035 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_get_type ()")]
6036 public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
6037 [CCode (has_construct_function = false)]
6039 public Pango.EllipsizeMode get_ellipsize_mode ();
6040 public bool get_expand ();
6041 public bool get_homogeneous ();
6042 public Gtk.IconSize get_icon_size ();
6043 public bool get_is_important ();
6044 public Gtk.Orientation get_orientation ();
6045 public unowned Gtk.Widget get_proxy_menu_item (string menu_item_id);
6046 public Gtk.ReliefStyle get_relief_style ();
6047 public float get_text_alignment ();
6048 public Gtk.Orientation get_text_orientation ();
6049 public unowned Gtk.SizeGroup get_text_size_group ();
6050 public Gtk.ToolbarStyle get_toolbar_style ();
6051 public bool get_use_drag_window ();
6052 public bool get_visible_horizontal ();
6053 public bool get_visible_vertical ();
6054 public void rebuild_menu ();
6055 public unowned Gtk.Widget retrieve_proxy_menu_item ();
6056 public void set_expand (bool expand);
6057 public void set_homogeneous (bool homogeneous);
6058 public void set_is_important (bool is_important);
6059 public void set_proxy_menu_item (string menu_item_id, Gtk.Widget menu_item);
6060 public void set_tooltip_markup (string markup);
6061 public void set_tooltip_text (string text);
6062 public void set_use_drag_window (bool use_drag_window);
6063 public void set_visible_horizontal (bool visible_horizontal);
6064 public void set_visible_vertical (bool visible_vertical);
6065 public bool is_important { get; set; }
6066 public bool visible_horizontal { get; set; }
6067 public bool visible_vertical { get; set; }
6068 public virtual signal bool create_menu_proxy ();
6069 public virtual signal void toolbar_reconfigured ();
6071 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_group_get_type ()")]
6072 public class ToolItemGroup : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
6073 [CCode (has_construct_function = false, type = "GtkWidget*")]
6074 public ToolItemGroup (string label);
6075 public bool get_collapsed ();
6076 public unowned Gtk.ToolItem get_drop_item (int x, int y);
6077 public Pango.EllipsizeMode get_ellipsize ();
6078 public Gtk.ReliefStyle get_header_relief ();
6079 public int get_item_position (Gtk.ToolItem item);
6080 public unowned string get_label ();
6081 public unowned Gtk.Widget get_label_widget ();
6082 public uint get_n_items ();
6083 public unowned Gtk.ToolItem get_nth_item (uint index);
6084 public void insert (Gtk.ToolItem item, int position);
6085 public void set_collapsed (bool collapsed);
6086 public void set_ellipsize (Pango.EllipsizeMode ellipsize);
6087 public void set_header_relief (Gtk.ReliefStyle style);
6088 public void set_item_position (Gtk.ToolItem item, int position);
6089 public void set_label (string label);
6090 public void set_label_widget (Gtk.Widget label_widget);
6091 public bool collapsed { get; set; }
6092 public Pango.EllipsizeMode ellipsize { get; set; }
6093 public Gtk.ReliefStyle header_relief { get; set; }
6094 public string label { get; set; }
6095 public Gtk.Widget label_widget { get; set; }
6097 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_palette_get_type ()")]
6098 public class ToolPalette : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Scrollable {
6099 [CCode (has_construct_function = false, type = "GtkWidget*")]
6100 public ToolPalette ();
6101 public void add_drag_dest (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.ToolPaletteDragTargets targets, Gdk.DragAction actions);
6102 public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
6103 public static Gtk.TargetEntry get_drag_target_group ();
6104 public static Gtk.TargetEntry get_drag_target_item ();
6105 public unowned Gtk.ToolItemGroup? get_drop_group (int x, int y);
6106 public unowned Gtk.ToolItem? get_drop_item (int x, int y);
6107 public bool get_exclusive (Gtk.ToolItemGroup group);
6108 public bool get_expand (Gtk.ToolItemGroup group);
6109 public int get_group_position (Gtk.ToolItemGroup group);
6110 public unowned Gtk.Adjustment get_hadjustment ();
6111 public Gtk.IconSize get_icon_size ();
6112 public Gtk.ToolbarStyle get_style ();
6113 public unowned Gtk.Adjustment get_vadjustment ();
6114 public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
6115 public void set_exclusive (Gtk.ToolItemGroup group, bool exclusive);
6116 public void set_expand (Gtk.ToolItemGroup group, bool expand);
6117 public void set_group_position (Gtk.ToolItemGroup group, int position);
6118 public void set_icon_size (Gtk.IconSize icon_size);
6119 public void set_style (Gtk.ToolbarStyle style);
6120 public void unset_icon_size ();
6121 public void unset_style ();
6122 public Gtk.IconSize icon_size { get; set; }
6124 public bool icon_size_set { get; set; }
6126 public Gtk.ToolbarStyle toolbar_style { get; set; }
6128 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toolbar_get_type ()")]
6129 public class Toolbar : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell, Gtk.Orientable {
6130 [CCode (has_construct_function = false, type = "GtkWidget*")]
6132 public int get_drop_index (int x, int y);
6133 public int get_item_index (Gtk.ToolItem item);
6134 public int get_n_items ();
6135 public unowned Gtk.ToolItem? get_nth_item (int n);
6136 public bool get_show_arrow ();
6137 public void insert (Gtk.ToolItem item, int pos);
6138 public void set_drop_highlight_item (Gtk.ToolItem? tool_item, int index_);
6139 public void set_icon_size (Gtk.IconSize icon_size);
6140 public void set_show_arrow (bool show_arrow);
6141 public void set_style (Gtk.ToolbarStyle style);
6142 public void unset_icon_size ();
6143 public void unset_style ();
6144 public Gtk.IconSize icon_size { get; set; }
6146 public bool icon_size_set { get; set; }
6147 public bool show_arrow { get; set; }
6149 public Gtk.ToolbarStyle toolbar_style { get; set; }
6150 public virtual signal bool focus_home_or_end (bool p0);
6151 public virtual signal void orientation_changed (Gtk.Orientation orientation);
6152 public virtual signal bool popup_context_menu (int x, int y, int button_number);
6153 public virtual signal void style_changed (Gtk.ToolbarStyle style);
6155 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tooltip_get_type ()")]
6156 public class Tooltip : GLib.Object {
6157 [CCode (has_construct_function = false)]
6158 protected Tooltip ();
6159 public void set_custom (Gtk.Widget? custom_widget);
6160 public void set_icon (Gdk.Pixbuf? pixbuf);
6161 public void set_icon_from_gicon (GLib.Icon? gicon, Gtk.IconSize size);
6162 public void set_icon_from_icon_name (string? icon_name, Gtk.IconSize size);
6163 public void set_icon_from_stock (string? stock_id, Gtk.IconSize size);
6164 public void set_markup (string? markup);
6165 public void set_text (string? text);
6166 public void set_tip_area (Gdk.Rectangle rect);
6167 public static void trigger_tooltip_query (Gdk.Display display);
6169 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toplevel_accessible_get_type ()")]
6170 public class ToplevelAccessible : Atk.Object {
6171 [CCode (has_construct_function = false)]
6172 protected ToplevelAccessible ();
6173 public unowned GLib.List<Gtk.Window> get_children ();
6175 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_filter_get_type ()")]
6176 public class TreeModelFilter : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource {
6177 [CCode (has_construct_function = false, type = "GtkTreeModel*")]
6178 public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root);
6179 public void clear_cache ();
6180 public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter);
6181 public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
6182 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter);
6183 public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath filter_path);
6184 public unowned Gtk.TreeModel get_model ();
6186 public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column);
6187 public void refilter ();
6188 public void set_modify_func ([CCode (array_length_pos = 0.9)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
6189 public void set_visible_column (int column);
6190 public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
6192 public virtual bool visible (Gtk.TreeModel child_model, Gtk.TreeIter iter);
6194 public Gtk.TreeModel child_model { owned get; construct; }
6196 public Gtk.TreePath virtual_root { owned get; construct; }
6198 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_sort_get_type ()")]
6199 public class TreeModelSort : GLib.Object, Gtk.TreeModel, Gtk.TreeSortable, Gtk.TreeDragSource {
6200 [CCode (has_construct_function = false)]
6201 protected TreeModelSort ();
6202 public void clear_cache ();
6203 public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter);
6204 public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
6205 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter);
6206 public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath sorted_path);
6207 public unowned Gtk.TreeModel get_model ();
6208 public bool iter_is_valid (Gtk.TreeIter iter);
6209 public void reset_default_sort_func ();
6210 [CCode (has_construct_function = false, type = "GtkTreeModel*")]
6211 public TreeModelSort.with_model (Gtk.TreeModel child_model);
6212 public Gtk.TreeModel model { get; construct; }
6214 [CCode (cheader_filename = "gtk/gtk.h", const_cname = "GtkTreePath", copy_function = "gtk_tree_path_copy", type_id = "gtk_tree_path_get_type ()")]
6217 public class TreePath {
6218 [CCode (has_construct_function = false)]
6220 public void append_index (int index_);
6221 public int compare (Gtk.TreePath b);
6222 public Gtk.TreePath copy ();
6223 public void down ();
6224 [CCode (has_construct_function = false)]
6225 public TreePath.first ();
6226 [CCode (has_construct_function = false, sentinel = "-1")]
6227 public TreePath.from_indices (...);
6228 [CCode (has_construct_function = false)]
6229 public TreePath.from_indicesv ([CCode (array_length_pos = 1.9)] int[] indices);
6230 [CCode (has_construct_function = false)]
6231 public TreePath.from_string (string path);
6232 public int get_depth ();
6233 [CCode (cname = "gtk_tree_path_get_indices_with_depth")]
6234 public unowned int[] get_indices ();
6235 public bool is_ancestor (Gtk.TreePath descendant);
6236 public bool is_descendant (Gtk.TreePath ancestor);
6237 public void next ();
6238 public void prepend_index (int index_);
6239 public bool prev ();
6240 public string to_string ();
6243 [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_tree_row_reference_copy", type_id = "gtk_tree_row_reference_get_type ()")]
6246 public class TreeRowReference {
6247 [CCode (has_construct_function = false)]
6248 public TreeRowReference (Gtk.TreeModel model, Gtk.TreePath path);
6249 public Gtk.TreeRowReference copy ();
6250 public static void deleted (GLib.Object proxy, Gtk.TreePath path);
6251 public unowned Gtk.TreeModel get_model ();
6252 public Gtk.TreePath? get_path ();
6253 public static void inserted (GLib.Object proxy, Gtk.TreePath path);
6254 [CCode (has_construct_function = false)]
6255 public TreeRowReference.proxy (GLib.Object proxy, Gtk.TreeModel model, Gtk.TreePath path);
6256 public static void reordered (GLib.Object proxy, Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order);
6257 public bool valid ();
6259 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_selection_get_type ()")]
6260 public class TreeSelection : GLib.Object {
6261 [CCode (has_construct_function = false)]
6262 protected TreeSelection ();
6263 public int count_selected_rows ();
6264 public Gtk.SelectionMode get_mode ();
6265 public unowned Gtk.TreeSelectionFunc get_select_function ();
6266 public bool get_selected (out unowned Gtk.TreeModel model, out Gtk.TreeIter iter);
6267 public GLib.List<Gtk.TreePath> get_selected_rows (out unowned Gtk.TreeModel model);
6268 public unowned Gtk.TreeView get_tree_view ();
6269 public void* get_user_data ();
6270 public bool iter_is_selected (Gtk.TreeIter iter);
6271 public bool path_is_selected (Gtk.TreePath path);
6272 public void select_all ();
6273 public void select_iter (Gtk.TreeIter iter);
6274 public void select_path (Gtk.TreePath path);
6275 public void select_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
6276 public void selected_foreach (Gtk.TreeSelectionForeachFunc func);
6277 public void set_mode (Gtk.SelectionMode type);
6278 public void set_select_function (owned Gtk.TreeSelectionFunc func);
6279 public void unselect_all ();
6280 public void unselect_iter (Gtk.TreeIter iter);
6281 public void unselect_path (Gtk.TreePath path);
6282 public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
6283 public Gtk.SelectionMode mode { get; set; }
6284 public virtual signal void changed ();
6286 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_store_get_type ()")]
6287 public class TreeStore : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable, Gtk.Buildable {
6288 [CCode (has_construct_function = false, sentinel = "")]
6289 public TreeStore (int n_columns, ...);
6290 public void append (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
6291 public void clear ();
6292 public void insert (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position);
6293 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
6294 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
6295 [CCode (sentinel = "-1")]
6296 public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...);
6297 public void insert_with_valuesv (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, [CCode (array_length_pos = 5.1)] int[] columns, [CCode (array_length_pos = 5.1)] GLib.Value[] values);
6298 public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant);
6299 public int iter_depth (Gtk.TreeIter iter);
6300 public bool iter_is_valid (Gtk.TreeIter iter);
6301 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
6302 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
6303 [CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
6304 public TreeStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
6305 public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
6306 public bool remove (ref Gtk.TreeIter iter);
6307 public void reorder (Gtk.TreeIter? parent, [CCode (array_length = false)] int[] new_order);
6308 [CCode (sentinel = "-1")]
6309 public void @set (Gtk.TreeIter iter, ...);
6310 public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
6311 public void set_valist (Gtk.TreeIter iter, va_list var_args);
6312 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
6313 public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_pos = 3.1)] int[] columns, [CCode (array_length_pos = 3.1)] GLib.Value[] values);
6314 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
6316 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_get_type ()")]
6317 public class TreeView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
6318 [CCode (has_construct_function = false, type = "GtkWidget*")]
6320 public int append_column (Gtk.TreeViewColumn column);
6321 public void collapse_all ();
6322 public bool collapse_row (Gtk.TreePath path);
6323 public void columns_autosize ();
6324 public void convert_bin_window_to_tree_coords (int bx, int by, out int tx, out int ty);
6325 public void convert_bin_window_to_widget_coords (int bx, int by, out int wx, out int wy);
6326 public void convert_tree_to_bin_window_coords (int tx, int ty, out int bx, out int by);
6327 public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy);
6328 public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
6329 public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty);
6330 public Cairo.Surface create_row_drag_icon (Gtk.TreePath path);
6331 public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
6332 public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
6333 public void expand_all ();
6334 public bool expand_row (Gtk.TreePath path, bool open_all);
6335 public void expand_to_path (Gtk.TreePath path);
6336 public bool get_activate_on_single_click ();
6337 public void get_background_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
6338 public unowned Gdk.Window? get_bin_window ();
6339 public void get_cell_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
6340 public unowned Gtk.TreeViewColumn? get_column (int n);
6341 public GLib.List<weak Gtk.TreeViewColumn> get_columns ();
6342 public void get_cursor (out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? focus_column);
6343 public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
6344 public void get_drag_dest_row (out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
6345 public bool get_enable_search ();
6346 public bool get_enable_tree_lines ();
6347 public unowned Gtk.TreeViewColumn get_expander_column ();
6348 public bool get_fixed_height_mode ();
6349 public Gtk.TreeViewGridLines get_grid_lines ();
6350 public unowned Gtk.Adjustment get_hadjustment ();
6351 public bool get_headers_clickable ();
6352 public bool get_headers_visible ();
6353 public bool get_hover_expand ();
6354 public bool get_hover_selection ();
6355 public int get_level_indentation ();
6356 public unowned Gtk.TreeModel? get_model ();
6357 public uint get_n_columns ();
6358 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);
6359 public bool get_reorderable ();
6360 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
6361 public bool get_rubber_banding ();
6362 public bool get_rules_hint ();
6363 public int get_search_column ();
6364 public unowned Gtk.Entry get_search_entry ();
6365 public unowned Gtk.TreeViewSearchEqualFunc get_search_equal_func ();
6366 public unowned Gtk.TreeViewSearchPositionFunc get_search_position_func ();
6367 public unowned Gtk.TreeSelection get_selection ();
6368 public bool get_show_expanders ();
6369 public int get_tooltip_column ();
6370 public bool get_tooltip_context (ref int x, ref int y, bool keyboard_tip, out unowned Gtk.TreeModel? model, out Gtk.TreePath path, out Gtk.TreeIter iter);
6371 public unowned Gtk.Adjustment get_vadjustment ();
6372 public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
6373 public void get_visible_rect (out Gdk.Rectangle visible_rect);
6374 public int insert_column (Gtk.TreeViewColumn column, int position);
6375 public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...);
6376 public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func);
6377 public bool is_blank_at_pos (int x, int y, out Gtk.TreePath path, out Gtk.TreeViewColumn column, out int cell_x, out int cell_y);
6378 [CCode (cname = "gtk_tree_view_row_expanded")]
6379 public bool is_row_expanded (Gtk.TreePath path);
6380 public bool is_rubber_banding_active ();
6381 public void map_expanded_rows (Gtk.TreeViewMappingFunc func);
6382 public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn? base_column);
6383 public int remove_column (Gtk.TreeViewColumn column);
6384 public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align);
6385 public void scroll_to_point (int tree_x, int tree_y);
6386 public void set_activate_on_single_click (bool single);
6387 public void set_column_drag_function (owned Gtk.TreeViewColumnDropFunc? func);
6388 public void set_cursor (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, bool start_editing);
6389 public void set_cursor_on_cell (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, Gtk.CellRenderer? focus_cell, bool start_editing);
6390 public void set_destroy_count_func (owned Gtk.TreeDestroyCountFunc? func);
6391 public void set_drag_dest_row (Gtk.TreePath? path, Gtk.TreeViewDropPosition pos);
6392 public void set_enable_search (bool enable_search);
6393 public void set_enable_tree_lines (bool enabled);
6394 public void set_expander_column (Gtk.TreeViewColumn column);
6395 public void set_fixed_height_mode (bool enable);
6396 public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
6397 public void set_hadjustment (Gtk.Adjustment? adjustment);
6398 public void set_headers_clickable (bool setting);
6399 public void set_headers_visible (bool headers_visible);
6400 public void set_hover_expand (bool expand);
6401 public void set_hover_selection (bool hover);
6402 public void set_level_indentation (int indentation);
6403 public void set_model (Gtk.TreeModel? model);
6404 public void set_reorderable (bool reorderable);
6405 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc? func);
6406 public void set_rubber_banding (bool enable);
6407 public void set_rules_hint (bool setting);
6408 public void set_search_column (int column);
6409 public void set_search_entry (Gtk.Entry? entry);
6410 public void set_search_equal_func (owned Gtk.TreeViewSearchEqualFunc search_equal_func);
6411 public void set_search_position_func (owned Gtk.TreeViewSearchPositionFunc? func);
6412 public void set_show_expanders (bool enabled);
6413 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath? path, Gtk.TreeViewColumn? column, Gtk.CellRenderer? cell);
6414 public void set_tooltip_column (int column);
6415 public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
6416 public void set_vadjustment (Gtk.Adjustment? adjustment);
6417 public void unset_rows_drag_dest ();
6418 public void unset_rows_drag_source ();
6419 [CCode (has_construct_function = false, type = "GtkWidget*")]
6420 public TreeView.with_model (Gtk.TreeModel model);
6421 public bool activate_on_single_click { get; set; }
6423 public Gtk.TreeViewGridLines enable_grid_lines { get; set; }
6424 public bool enable_search { get; set; }
6425 public bool enable_tree_lines { get; set; }
6426 public Gtk.TreeViewColumn expander_column { get; set; }
6427 public bool fixed_height_mode { get; set; }
6428 public bool headers_clickable { get; set; }
6429 public bool headers_visible { get; set; }
6430 public bool hover_expand { get; set; }
6431 public bool hover_selection { get; set; }
6432 public int level_indentation { get; set; }
6433 public Gtk.TreeModel model { get; set; }
6434 public bool reorderable { get; set; }
6435 public bool rubber_banding { get; set; }
6436 public bool rules_hint { get; set; }
6437 public int search_column { get; set; }
6438 public bool show_expanders { get; set; }
6439 public int tooltip_column { get; set; }
6440 public virtual signal void columns_changed ();
6441 public virtual signal void cursor_changed ();
6442 public virtual signal bool expand_collapse_cursor_row (bool logical, bool expand, bool open_all);
6443 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
6445 public virtual signal void row_activated (Gtk.TreePath path, Gtk.TreeViewColumn column);
6446 public virtual signal void row_collapsed (Gtk.TreeIter iter, Gtk.TreePath path);
6447 public virtual signal void row_expanded (Gtk.TreeIter iter, Gtk.TreePath path);
6448 public virtual signal bool select_all ();
6449 public virtual signal bool select_cursor_parent ();
6450 public virtual signal bool select_cursor_row (bool start_editing);
6451 public virtual signal bool start_interactive_search ();
6452 public virtual signal bool test_collapse_row (Gtk.TreeIter iter, Gtk.TreePath path);
6453 public virtual signal bool test_expand_row (Gtk.TreeIter iter, Gtk.TreePath path);
6454 public virtual signal bool toggle_cursor_row ();
6455 public virtual signal bool unselect_all ();
6457 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_tree_view_accessible_get_type ()")]
6458 public class TreeViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Table, Atk.Selection, Gtk.CellAccessibleParent {
6459 [CCode (has_construct_function = false)]
6460 protected TreeViewAccessible ();
6462 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_column_get_type ()")]
6463 public class TreeViewColumn : GLib.InitiallyUnowned, Gtk.CellLayout, Gtk.Buildable {
6464 [CCode (has_construct_function = false)]
6465 public TreeViewColumn ();
6466 public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int x_offset, out int width);
6467 public void cell_get_size (Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
6468 public bool cell_is_visible ();
6469 public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
6470 public void focus_cell (Gtk.CellRenderer cell);
6471 public float get_alignment ();
6472 public unowned Gtk.Widget get_button ();
6473 public bool get_clickable ();
6474 public bool get_expand ();
6475 public int get_fixed_width ();
6476 public int get_max_width ();
6477 public int get_min_width ();
6478 public bool get_reorderable ();
6479 public bool get_resizable ();
6480 public Gtk.TreeViewColumnSizing get_sizing ();
6481 public int get_sort_column_id ();
6482 public bool get_sort_indicator ();
6483 public Gtk.SortType get_sort_order ();
6484 public int get_spacing ();
6485 public unowned string get_title ();
6486 public unowned Gtk.Widget? get_tree_view ();
6487 public bool get_visible ();
6488 public unowned Gtk.Widget? get_widget ();
6489 public int get_width ();
6490 public int get_x_offset ();
6491 public void queue_resize ();
6492 public void set_alignment (float xalign);
6493 public void set_attributes (Gtk.CellRenderer cell_renderer, ...);
6494 public void set_clickable (bool clickable);
6495 public void set_expand (bool expand);
6496 public void set_fixed_width (int fixed_width);
6497 public void set_max_width (int max_width);
6498 public void set_min_width (int min_width);
6499 public void set_reorderable (bool reorderable);
6500 public void set_resizable (bool resizable);
6501 public void set_sizing (Gtk.TreeViewColumnSizing type);
6502 public void set_sort_column_id (int sort_column_id);
6503 public void set_sort_indicator (bool setting);
6504 public void set_sort_order (Gtk.SortType order);
6505 public void set_spacing (int spacing);
6506 public void set_title (string title);
6507 public void set_visible (bool visible);
6508 public void set_widget (Gtk.Widget? widget);
6509 [CCode (has_construct_function = false)]
6510 public TreeViewColumn.with_area (Gtk.CellArea area);
6511 [CCode (has_construct_function = false)]
6512 public TreeViewColumn.with_attributes (string? title, Gtk.CellRenderer cell, ...);
6513 public float alignment { get; set; }
6515 public Gtk.CellArea cell_area { owned get; construct; }
6516 public bool clickable { get; set; }
6517 public bool expand { get; set; }
6518 public int fixed_width { get; set; }
6519 public int max_width { get; set; }
6520 public int min_width { get; set; }
6521 public bool reorderable { get; set; }
6522 public bool resizable { get; set; }
6523 public Gtk.TreeViewColumnSizing sizing { get; set; }
6524 public int sort_column_id { get; set; }
6525 public bool sort_indicator { get; set; }
6526 public Gtk.SortType sort_order { get; set; }
6527 public int spacing { get; set; }
6528 public string title { get; set; }
6529 public bool visible { get; set; }
6530 public Gtk.Widget widget { get; set; }
6531 public int width { get; }
6532 public int x_offset { get; }
6534 public virtual signal void clicked ();
6536 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_ui_manager_get_type ()")]
6537 public class UIManager : GLib.Object, Gtk.Buildable {
6538 [CCode (has_construct_function = false)]
6539 public UIManager ();
6540 public void add_ui (uint merge_id, string path, string name, string? action, Gtk.UIManagerItemType type, bool top);
6541 public uint add_ui_from_file (string filename) throws GLib.Error;
6542 public uint add_ui_from_resource (string resource_path) throws GLib.Error;
6543 public uint add_ui_from_string (string buffer, ssize_t length) throws GLib.Error;
6544 public void ensure_update ();
6545 public unowned Gtk.AccelGroup get_accel_group ();
6546 public virtual unowned Gtk.Action get_action (string path);
6547 public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
6548 [Version (deprecated_since = "3.4")]
6549 public bool get_add_tearoffs ();
6550 public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
6551 public string get_ui ();
6552 public virtual unowned Gtk.Widget get_widget (string path);
6553 public void insert_action_group (Gtk.ActionGroup action_group, int pos);
6554 public uint new_merge_id ();
6555 public void remove_action_group (Gtk.ActionGroup action_group);
6556 public void remove_ui (uint merge_id);
6557 [Version (deprecated_since = "3.4")]
6558 public void set_add_tearoffs (bool add_tearoffs);
6559 [Version (deprecated_since = "3.4")]
6560 public bool add_tearoffs { get; set; }
6561 public string ui { owned get; }
6562 public virtual signal void actions_changed ();
6563 public virtual signal void add_widget (Gtk.Widget widget);
6564 public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy);
6565 public virtual signal void disconnect_proxy (Gtk.Action action, Gtk.Widget proxy);
6566 public virtual signal void post_activate (Gtk.Action action);
6567 public virtual signal void pre_activate (Gtk.Action action);
6569 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbox_get_type ()")]
6570 [Version (deprecated_since = "3.2", replacement = "Box")]
6571 public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6572 [CCode (has_construct_function = false, type = "GtkWidget*")]
6573 public VBox (bool homogeneous, int spacing);
6575 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbutton_box_get_type ()")]
6576 public class VButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6577 [CCode (has_construct_function = false, type = "GtkWidget*")]
6578 public VButtonBox ();
6580 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vpaned_get_type ()")]
6581 [Version (deprecated_since = "3.2", replacement = "Paned")]
6582 public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6583 [CCode (has_construct_function = false, type = "GtkWidget*")]
6586 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscale_get_type ()")]
6587 [Version (deprecated_since = "3.2", replacement = "Scale")]
6588 public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6589 [CCode (has_construct_function = false, type = "GtkWidget*")]
6590 public VScale (Gtk.Adjustment? adjustment);
6591 [CCode (has_construct_function = false, type = "GtkWidget*")]
6592 public VScale.with_range (double min, double max, double step);
6594 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscrollbar_get_type ()")]
6595 [Version (deprecated_since = "3.2", replacement = "Scrollbar")]
6596 public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6597 [CCode (has_construct_function = false, type = "GtkWidget*")]
6598 public VScrollbar (Gtk.Adjustment? adjustment);
6600 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vseparator_get_type ()")]
6601 public class VSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6602 [CCode (has_construct_function = false, type = "GtkWidget*")]
6603 public VSeparator ();
6605 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_viewport_get_type ()")]
6606 public class Viewport : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
6607 [CCode (has_construct_function = false, type = "GtkWidget*")]
6608 public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
6609 public unowned Gdk.Window get_bin_window ();
6610 public unowned Gtk.Adjustment? get_hadjustment ();
6611 public Gtk.ShadowType get_shadow_type ();
6612 public unowned Gtk.Adjustment? get_vadjustment ();
6613 public unowned Gdk.Window get_view_window ();
6614 public void set_hadjustment (Gtk.Adjustment? adjustment);
6615 public void set_shadow_type (Gtk.ShadowType type);
6616 public void set_vadjustment (Gtk.Adjustment? adjustment);
6617 public Gtk.ShadowType shadow_type { get; set; }
6619 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_volume_button_get_type ()")]
6620 public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.Orientable {
6621 [CCode (has_construct_function = false, type = "GtkWidget*")]
6622 public VolumeButton ();
6624 public bool use_symbolic { get; set construct; }
6626 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_widget_get_type ()")]
6627 public class Widget : GLib.InitiallyUnowned, Atk.Implementor, Gtk.Buildable {
6628 public class uint activate_signal;
6629 [CCode (construct_function = "gtk_widget_new", has_new_function = false)]
6630 public Widget (...);
6631 public bool activate ();
6632 public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
6633 public void add_device_events (Gdk.Device device, Gdk.EventMask events);
6634 public void add_events (int events);
6635 public void add_mnemonic_label (Gtk.Widget label);
6636 public uint add_tick_callback (owned Gtk.TickCallback callback);
6638 public virtual void adjust_baseline_allocation (int baseline);
6640 public virtual void adjust_baseline_request (int minimum_baseline, int natural_baseline);
6642 public virtual void adjust_size_allocation (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size, ref int allocated_pos, ref int allocated_size);
6644 public virtual void adjust_size_request (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size);
6645 [CCode (cname = "gtk_widget_class_bind_template_callback_full")]
6646 public class void bind_template_callback_full (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
6647 [CCode (cname = "gtk_widget_class_bind_template_child_full")]
6648 public class void bind_template_child_full (string name, bool internal_child, ssize_t struct_offset);
6649 public bool child_focus (Gtk.DirectionType direction);
6650 [Version (deprecated_since = "3.0", replacement = "get_path")]
6651 public void class_path (out uint path_length, out string path, out string path_reversed);
6652 public virtual bool compute_expand (Gtk.Orientation orientation);
6653 [CCode (vfunc_name = "compute_expand")]
6655 public virtual void compute_expand_internal (out bool hexpand, out bool vexpand);
6656 public Pango.Context create_pango_context ();
6657 public Pango.Layout create_pango_layout (string? text);
6658 public void destroyed (out unowned Gtk.Widget widget_pointer);
6659 public bool device_is_shadowed (Gdk.Device device);
6661 public virtual void dispatch_child_properties_changed ([CCode (array_length_pos = 0.5)] GLib.ParamSpec[] pspecs);
6662 [Version (deprecated_since = "3.0", replacement = "StyleContext")]
6663 public void ensure_style ();
6664 public void error_bell ();
6665 [CCode (cname = "gtk_widget_class_find_style_property")]
6666 public class unowned GLib.ParamSpec find_style_property (string property_name);
6667 public void freeze_child_notify ();
6668 public virtual unowned Atk.Object get_accessible ();
6669 public unowned GLib.ActionGroup? get_action_group (string prefix);
6670 public int get_allocated_baseline ();
6671 public int get_allocated_height ();
6672 public void get_allocated_size (out Gtk.Allocation allocation, out int baseline);
6673 public int get_allocated_width ();
6674 public void get_allocation (out Gtk.Allocation allocation);
6675 public unowned Gtk.Widget? get_ancestor (GLib.Type widget_type);
6676 public bool get_app_paintable ();
6677 public bool get_can_default ();
6678 public bool get_can_focus ();
6679 [Version (deprecated_since = "3.0", replacement = "get_preferred_size")]
6680 public void get_child_requisition (out Gtk.Requisition requisition);
6681 public bool get_child_visible ();
6682 public void get_clip (out Gtk.Allocation clip);
6683 public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
6684 public string get_composite_name ();
6685 [CCode (cname = "gtk_widget_class_get_css_name")]
6686 public class unowned string get_css_name ();
6687 public static Gtk.TextDirection get_default_direction ();
6688 [Version (deprecated_since = "3.0", replacement = "StyleContext, and CssProvider.get_default() to obtain a Gtk.StyleProvider with the default widget style information")]
6689 public static unowned Gtk.Style get_default_style ();
6690 public bool get_device_enabled (Gdk.Device device);
6691 public Gdk.EventMask get_device_events (Gdk.Device device);
6692 public Gtk.TextDirection get_direction ();
6693 public unowned Gdk.Display get_display ();
6694 public bool get_double_buffered ();
6695 public int get_events ();
6696 public bool get_focus_on_click ();
6697 public unowned Pango.FontMap? get_font_map ();
6698 public unowned Cairo.FontOptions? get_font_options ();
6699 public unowned Gdk.FrameClock? get_frame_clock ();
6700 public Gtk.Align get_halign ();
6701 public bool get_has_tooltip ();
6702 public bool get_has_window ();
6703 public bool get_hexpand ();
6704 public bool get_hexpand_set ();
6705 public bool get_mapped ();
6706 public int get_margin_bottom ();
6707 public int get_margin_end ();
6708 public int get_margin_left ();
6709 public int get_margin_right ();
6710 public int get_margin_start ();
6711 public int get_margin_top ();
6712 public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
6713 [Version (deprecated_since = "3.0", replacement = "StyleContext with a custom StyleProvider")]
6714 public unowned Gtk.RcStyle get_modifier_style ();
6715 public bool get_no_show_all ();
6716 public double get_opacity ();
6717 public unowned Pango.Context get_pango_context ();
6718 [CCode (type = "GtkWidget*")]
6719 public unowned Gtk.Container? get_parent ();
6720 public unowned Gdk.Window get_parent_window ();
6721 public unowned Gtk.WidgetPath get_path ();
6722 [Version (deprecated_since = "3.4", replacement = "Gdk.Window.get_device_position")]
6723 public void get_pointer (out int x, out int y);
6724 public virtual void get_preferred_height (out int minimum_height, out int natural_height);
6725 public virtual void get_preferred_height_and_baseline_for_width (int width, out int minimum_height, out int natural_height, out int minimum_baseline, out int natural_baseline);
6726 public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
6727 [CCode (vfunc_name = "get_preferred_height_for_width")]
6729 public virtual void get_preferred_height_for_width_internal (int width, out int minimum_height, out int natural_height);
6730 [CCode (vfunc_name = "get_preferred_height")]
6732 public virtual void get_preferred_height_internal (out int minimum_height, out int natural_height);
6733 public void get_preferred_size (out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
6734 public virtual void get_preferred_width (out int minimum_width, out int natural_width);
6735 public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
6736 [CCode (vfunc_name = "get_preferred_width_for_height")]
6738 public virtual void get_preferred_width_for_height_internal (int height, out int minimum_width, out int natural_width);
6739 [CCode (vfunc_name = "get_preferred_width")]
6741 public virtual void get_preferred_width_internal (out int minimum_width, out int natural_width);
6742 public bool get_realized ();
6743 public bool get_receives_default ();
6744 public virtual Gtk.SizeRequestMode get_request_mode ();
6745 public Gtk.Requisition get_requisition ();
6746 public unowned Gdk.Window get_root_window ();
6747 public int get_scale_factor ();
6748 public unowned Gdk.Screen get_screen ();
6749 public bool get_sensitive ();
6750 public unowned Gtk.Settings get_settings ();
6751 public void get_size_request (out int width, out int height);
6752 [Version (deprecated_since = "3.0", replacement = "get_state_flags")]
6753 public Gtk.StateType get_state ();
6754 public Gtk.StateFlags get_state_flags ();
6755 [Version (deprecated_since = "3.0", replacement = "StyleContext")]
6756 public unowned Gtk.Style get_style ();
6757 public unowned Gtk.StyleContext get_style_context ();
6758 public bool get_support_multidevice ();
6759 public unowned GLib.Object get_template_child (GLib.Type widget_type, string name);
6760 public string? get_tooltip_markup ();
6761 public string? get_tooltip_text ();
6762 public unowned Gtk.Window get_tooltip_window ();
6763 public unowned Gtk.Widget get_toplevel ();
6764 public Gtk.Align get_valign ();
6765 public Gtk.Align get_valign_with_baseline ();
6766 public bool get_vexpand ();
6767 public bool get_vexpand_set ();
6768 public bool get_visible ();
6769 public unowned Gdk.Visual get_visual ();
6770 public unowned Gdk.Window? get_window ();
6771 public void grab_default ();
6772 public bool has_grab ();
6773 [Version (deprecated_since = "3.0", replacement = "StyleContext")]
6774 public bool has_rc_style ();
6775 public bool has_screen ();
6776 public bool has_visible_focus ();
6777 public bool hide_on_delete ();
6778 public bool in_destruction ();
6779 public void init_template ();
6780 public void input_shape_combine_region (Cairo.Region? region);
6781 public void insert_action_group (string name, GLib.ActionGroup? group);
6782 [CCode (cname = "gtk_widget_class_install_style_property")]
6783 public class void install_style_property (GLib.ParamSpec pspec);
6784 [CCode (cname = "gtk_widget_class_install_style_property_parser")]
6785 public class void install_style_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
6786 public bool intersect (Gdk.Rectangle area, out Gdk.Rectangle? intersection = null);
6787 public bool is_ancestor (Gtk.Widget ancestor);
6788 public bool is_composited ();
6789 public bool is_sensitive ();
6790 public bool is_toplevel ();
6791 public bool is_visible ();
6792 public GLib.List<weak GLib.Closure> list_accel_closures ();
6793 [CCode (array_length = false, array_null_terminated = true)]
6794 public (unowned string)[] list_action_prefixes ();
6795 public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
6796 [CCode (array_length_type = "guint", cname = "gtk_widget_class_list_style_properties")]
6797 public class (unowned GLib.ParamSpec)[] list_style_properties ();
6798 [Version (deprecated_since = "3.0", replacement = "override_background_color")]
6799 public void modify_base (Gtk.StateType state, Gdk.Color? color);
6800 [Version (deprecated_since = "3.0", replacement = "override_background_color")]
6801 public void modify_bg (Gtk.StateType state, Gdk.Color? color);
6802 [Version (deprecated_since = "3.0", replacement = "override_cursor")]
6803 public void modify_cursor (Gdk.Color? primary, Gdk.Color? secondary);
6804 [Version (deprecated_since = "3.0", replacement = "override_color")]
6805 public void modify_fg (Gtk.StateType state, Gdk.Color? color);
6806 [Version (deprecated_since = "3.0", replacement = "override_font")]
6807 public void modify_font (Pango.FontDescription? font_desc);
6808 [Version (deprecated_since = "3.0", replacement = "StyleContext with a custom StyleProvider")]
6809 public void modify_style (Gtk.RcStyle style);
6810 [Version (deprecated_since = "3.0", replacement = "override_color")]
6811 public void modify_text (Gtk.StateType state, Gdk.Color? color);
6812 [Version (deprecated_since = "3.16")]
6813 public void override_background_color (Gtk.StateFlags state, Gdk.RGBA? color);
6814 [Version (deprecated_since = "3.16")]
6815 public void override_color (Gtk.StateFlags state, Gdk.RGBA? color);
6816 [Version (deprecated_since = "3.16")]
6817 public void override_cursor (Gdk.RGBA? cursor, Gdk.RGBA? secondary_cursor);
6818 [Version (deprecated_since = "3.16")]
6819 public void override_font (Pango.FontDescription? font_desc);
6820 [Version (deprecated_since = "3.16")]
6821 public void override_symbolic_color (string name, Gdk.RGBA? color);
6822 [Version (deprecated_since = "3.0", replacement = "get_path")]
6823 public void path (out uint path_length, out string path, out string path_reversed);
6824 public static void pop_composite_child ();
6825 public static void push_composite_child ();
6826 public void queue_allocate ();
6827 public void queue_compute_expand ();
6828 public void queue_draw ();
6829 public void queue_draw_area (int x, int y, int width, int height);
6830 public virtual void queue_draw_region (Cairo.Region region);
6831 public void queue_resize ();
6832 public void queue_resize_no_redraw ();
6833 public Cairo.Region region_intersect (Cairo.Region region);
6834 public void register_window (Gdk.Window window);
6835 public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);
6836 public void remove_mnemonic_label (Gtk.Widget label);
6837 public void remove_tick_callback (uint id);
6838 public Gdk.Pixbuf render_icon (string stock_id, Gtk.IconSize size, string? detail);
6839 public Gdk.Pixbuf render_icon_pixbuf (string stock_id, Gtk.IconSize size);
6840 public void reparent (Gtk.Widget new_parent);
6841 [Version (deprecated_since = "3.0", replacement = "reset_style")]
6842 public void reset_rc_styles ();
6843 public void reset_style ();
6844 public int send_expose (Gdk.Event event);
6845 public bool send_focus_change (Gdk.Event event);
6846 public void set_accel_path (string? accel_path, Gtk.AccelGroup? accel_group);
6847 [CCode (cname = "gtk_widget_class_set_accessible_role")]
6848 public class void set_accessible_role (Atk.Role role);
6849 [CCode (cname = "gtk_widget_class_set_accessible_type")]
6850 public class void set_accessible_type (GLib.Type type);
6851 public void set_allocation (Gtk.Allocation allocation);
6852 public void set_app_paintable (bool app_paintable);
6853 public void set_can_default (bool can_default);
6854 public void set_can_focus (bool can_focus);
6855 public void set_child_visible (bool is_visible);
6856 public void set_clip (Gtk.Allocation clip);
6857 public void set_composite_name (string name);
6858 [CCode (cname = "gtk_widget_class_set_connect_func")]
6859 public class void set_connect_func (owned Gtk.BuilderConnectFunc connect_func);
6860 [CCode (cname = "gtk_widget_class_set_css_name")]
6861 public class void set_css_name (string name);
6862 public static void set_default_direction (Gtk.TextDirection dir);
6863 public void set_device_enabled (Gdk.Device device, bool enabled);
6864 public void set_device_events (Gdk.Device device, Gdk.EventMask events);
6865 public void set_direction (Gtk.TextDirection dir);
6866 public void set_double_buffered (bool double_buffered);
6867 public void set_events (int events);
6868 public void set_focus_on_click (bool focus_on_click);
6869 public void set_font_map (Pango.FontMap? font_map);
6870 public void set_font_options (Cairo.FontOptions? options);
6871 public void set_halign (Gtk.Align align);
6872 public void set_has_tooltip (bool has_tooltip);
6873 public void set_has_window (bool has_window);
6874 public void set_hexpand (bool expand);
6875 public void set_hexpand_set (bool @set);
6876 public void set_mapped (bool mapped);
6877 public void set_margin_bottom (int margin);
6878 public void set_margin_end (int margin);
6879 public void set_margin_left (int margin);
6880 public void set_margin_right (int margin);
6881 public void set_margin_start (int margin);
6882 public void set_margin_top (int margin);
6883 public void set_no_show_all (bool no_show_all);
6884 public void set_opacity (double opacity);
6885 public void set_parent ([CCode (type = "GtkWidget*")] Gtk.Container parent);
6886 public void set_parent_window (Gdk.Window parent_window);
6887 public void set_realized (bool realized);
6888 public void set_receives_default (bool receives_default);
6889 public void set_redraw_on_allocate (bool redraw_on_allocate);
6890 public void set_sensitive (bool sensitive);
6891 public void set_size_request (int width, int height);
6892 [Version (deprecated_since = "3.0", replacement = "set_state_flags")]
6893 public void set_state (Gtk.StateType state);
6894 public void set_state_flags (Gtk.StateFlags flags, bool clear);
6895 [Version (deprecated_since = "3.0", replacement = "StyleContext")]
6896 public void set_style (Gtk.Style? style);
6897 public void set_support_multidevice (bool support_multidevice);
6898 [CCode (cname = "gtk_widget_class_set_template")]
6899 public class void set_template (GLib.Bytes template_bytes);
6900 [CCode (cname = "gtk_widget_class_set_template_from_resource")]
6901 public class void set_template_from_resource (string resource_name);
6902 public void set_tooltip_markup (string? markup);
6903 public void set_tooltip_text (string? text);
6904 public void set_tooltip_window (Gtk.Window? custom_window);
6905 public void set_valign (Gtk.Align align);
6906 public void set_vexpand (bool expand);
6907 public void set_vexpand_set (bool @set);
6908 public void set_visible (bool visible);
6909 public void set_visual (Gdk.Visual? visual);
6910 public void set_window (owned Gdk.Window window);
6911 public void shape_combine_region (Cairo.Region? region);
6912 public virtual void show_all ();
6913 public void show_now ();
6914 public void size_allocate_with_baseline (Gtk.Allocation allocation, int baseline);
6915 [Version (deprecated_since = "3.0", replacement = "StyleContext")]
6916 public void style_attach ();
6917 public void style_get (...);
6918 public void style_get_property (string property_name, ref GLib.Value value);
6919 public void style_get_valist (string first_property_name, va_list var_args);
6920 public void thaw_child_notify ();
6921 public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);
6922 public void trigger_tooltip_query ();
6923 public void unparent ();
6924 public void unregister_window (Gdk.Window window);
6925 public void unset_state_flags (Gtk.StateFlags flags);
6926 public bool app_paintable { get; set; }
6927 public bool can_default { get; set; }
6929 public bool can_focus { get; set; }
6931 public bool composite_child { get; }
6932 public bool double_buffered { get; set; }
6933 public Gdk.EventMask events { get; set; }
6935 public bool expand { get; set; }
6936 public bool focus_on_click { get; set; }
6937 public Gtk.Align halign { get; set; }
6939 public bool has_default { get; set; }
6941 public bool has_focus { get; set; }
6942 public bool has_tooltip { get; set; }
6944 public int height_request { get; set; }
6945 public bool hexpand { get; set; }
6946 public bool hexpand_set { get; set; }
6948 public bool is_focus { get; set; }
6950 public int margin { get; set; }
6951 public int margin_bottom { get; set; }
6952 public int margin_end { get; set; }
6953 public int margin_left { get; set; }
6954 public int margin_right { get; set; }
6955 public int margin_start { get; set; }
6956 public int margin_top { get; set; }
6957 public string name { get; set; }
6958 public bool no_show_all { get; set; }
6959 public double opacity { get; set; }
6960 public Gtk.Container parent { get; set; }
6961 public bool receives_default { get; set; }
6962 public int scale_factor { get; }
6963 public bool sensitive { get; set; }
6964 public Gtk.Style style { get; set; }
6965 public string tooltip_markup { owned get; set; }
6966 public string tooltip_text { owned get; set; }
6967 public Gtk.Align valign { get; set; }
6968 public bool vexpand { get; set; }
6969 public bool vexpand_set { get; set; }
6970 public bool visible { get; set; }
6972 public int width_request { get; set; }
6973 public virtual signal void accel_closures_changed ();
6974 public virtual signal bool button_press_event (Gdk.EventButton event);
6975 public virtual signal bool button_release_event (Gdk.EventButton event);
6977 public virtual signal bool can_activate_accel (uint signal_id);
6979 public virtual signal void child_notify (GLib.ParamSpec child_property);
6980 public virtual signal void composited_changed ();
6981 public virtual signal bool configure_event (Gdk.EventConfigure event);
6982 public virtual signal bool damage_event (Gdk.EventExpose event);
6983 public virtual signal bool delete_event (Gdk.EventAny event);
6985 public virtual signal void destroy ();
6986 public virtual signal bool destroy_event (Gdk.EventAny event);
6987 public virtual signal void direction_changed (Gtk.TextDirection previous_direction);
6988 public virtual signal void drag_begin (Gdk.DragContext context);
6989 public virtual signal void drag_data_delete (Gdk.DragContext context);
6990 public virtual signal void drag_data_get (Gdk.DragContext context, Gtk.SelectionData selection_data, uint info, uint time_);
6991 public virtual signal void drag_data_received (Gdk.DragContext context, int x, int y, Gtk.SelectionData selection_data, uint info, uint time_);
6992 public virtual signal bool drag_drop (Gdk.DragContext context, int x, int y, uint time_);
6993 public virtual signal void drag_end (Gdk.DragContext context);
6994 public virtual signal bool drag_failed (Gdk.DragContext context, Gtk.DragResult result);
6995 public virtual signal void drag_leave (Gdk.DragContext context, uint time_);
6996 public virtual signal bool drag_motion (Gdk.DragContext context, int x, int y, uint time_);
6998 public virtual signal bool draw (Cairo.Context cr);
6999 public virtual signal bool enter_notify_event (Gdk.EventCrossing event);
7001 public virtual signal bool event (Gdk.Event event);
7002 public virtual signal void event_after (Gdk.Event p0);
7003 public virtual signal bool focus (Gtk.DirectionType direction);
7004 public virtual signal bool focus_in_event (Gdk.EventFocus event);
7005 public virtual signal bool focus_out_event (Gdk.EventFocus event);
7006 public virtual signal bool grab_broken_event (Gdk.EventGrabBroken event);
7008 public virtual signal void grab_focus ();
7009 public virtual signal void grab_notify (bool was_grabbed);
7011 public virtual signal void hide ();
7012 public virtual signal void hierarchy_changed (Gtk.Widget? previous_toplevel);
7013 public virtual signal bool key_press_event (Gdk.EventKey event);
7014 public virtual signal bool key_release_event (Gdk.EventKey event);
7016 public virtual signal bool keynav_failed (Gtk.DirectionType direction);
7017 public virtual signal bool leave_notify_event (Gdk.EventCrossing event);
7019 public virtual signal void map ();
7020 public virtual signal bool map_event (Gdk.EventAny event);
7022 public virtual signal bool mnemonic_activate (bool group_cycling);
7023 public virtual signal bool motion_notify_event (Gdk.EventMotion event);
7024 public virtual signal void move_focus (Gtk.DirectionType direction);
7025 public virtual signal void parent_set (Gtk.Widget? previous_parent);
7026 public virtual signal bool popup_menu ();
7027 public virtual signal bool property_notify_event (Gdk.EventProperty event);
7028 public virtual signal bool proximity_in_event (Gdk.EventProximity event);
7029 public virtual signal bool proximity_out_event (Gdk.EventProximity event);
7030 public virtual signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
7032 public virtual signal void realize ();
7033 public virtual signal void screen_changed (Gdk.Screen? previous_screen);
7034 public virtual signal bool scroll_event (Gdk.EventScroll event);
7035 public virtual signal bool selection_clear_event (Gdk.EventSelection event);
7036 public virtual signal void selection_get (Gtk.SelectionData selection_data, uint info, uint time_);
7037 public virtual signal bool selection_notify_event (Gdk.EventSelection event);
7038 public virtual signal void selection_received (Gtk.SelectionData selection_data, uint time_);
7039 public virtual signal bool selection_request_event (Gdk.EventSelection event);
7041 public virtual signal void show ();
7042 public virtual signal bool show_help (Gtk.WidgetHelpType help_type);
7044 public virtual signal void size_allocate (Gtk.Allocation allocation);
7045 public virtual signal void state_changed (Gtk.StateType previous_state);
7046 public virtual signal void state_flags_changed (Gtk.StateFlags previous_state_flags);
7047 public virtual signal void style_set (Gtk.Style? previous_style);
7048 public virtual signal void style_updated ();
7049 public virtual signal bool touch_event (Gdk.EventTouch event);
7051 public virtual signal void unmap ();
7052 public virtual signal bool unmap_event (Gdk.EventAny event);
7054 public virtual signal void unrealize ();
7055 public virtual signal bool visibility_notify_event (Gdk.EventVisibility event);
7056 public virtual signal bool window_state_event (Gdk.EventWindowState event);
7058 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_widget_accessible_get_type ()")]
7059 public class WidgetAccessible : Gtk.Accessible, Atk.Component {
7060 [CCode (has_construct_function = false)]
7061 protected WidgetAccessible ();
7063 public virtual void notify_gtk (GLib.Object object, GLib.ParamSpec pspec);
7065 [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_widget_path_ref", type_id = "gtk_widget_path_get_type ()", unref_function = "gtk_widget_path_unref")]
7067 public class WidgetPath {
7068 [CCode (has_construct_function = false)]
7069 public WidgetPath ();
7070 public int append_for_widget (Gtk.Widget widget);
7071 public int append_type (GLib.Type type);
7072 public int append_with_siblings (Gtk.WidgetPath siblings, uint sibling_index);
7073 public Gtk.WidgetPath copy ();
7074 public GLib.Type get_object_type ();
7075 public bool has_parent (GLib.Type type);
7076 public bool is_type (GLib.Type type);
7077 public void iter_add_class (int pos, string name);
7078 public void iter_add_region (int pos, string name, Gtk.RegionFlags flags);
7079 public void iter_clear_classes (int pos);
7080 public void iter_clear_regions (int pos);
7081 public unowned string iter_get_name (int pos);
7082 public unowned string? iter_get_object_name (int pos);
7083 public GLib.Type iter_get_object_type (int pos);
7084 public uint iter_get_sibling_index (int pos);
7085 public unowned Gtk.WidgetPath iter_get_siblings (int pos);
7086 public Gtk.StateFlags iter_get_state (int pos);
7087 public bool iter_has_class (int pos, string name);
7088 public bool iter_has_name (int pos, string name);
7089 public bool iter_has_qclass (int pos, GLib.Quark qname);
7090 public bool iter_has_qname (int pos, GLib.Quark qname);
7091 public bool iter_has_qregion (int pos, GLib.Quark qname, out Gtk.RegionFlags flags);
7092 public bool iter_has_region (int pos, string name, out Gtk.RegionFlags flags);
7093 public GLib.SList<weak string> iter_list_classes (int pos);
7094 public GLib.SList<weak string> iter_list_regions (int pos);
7095 public void iter_remove_class (int pos, string name);
7096 public void iter_remove_region (int pos, string name);
7097 public void iter_set_name (int pos, string name);
7098 public void iter_set_object_name (int pos, string? name);
7099 public void iter_set_object_type (int pos, GLib.Type type);
7100 public void iter_set_state (int pos, Gtk.StateFlags state);
7101 public int length ();
7102 public void prepend_type (GLib.Type type);
7103 public string to_string ();
7105 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_get_type ()")]
7106 public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
7107 [CCode (has_construct_function = false, type = "GtkWidget*")]
7108 public Window (Gtk.WindowType type = Gtk.WindowType.TOPLEVEL);
7109 public bool activate_default ();
7110 public bool activate_focus ();
7111 public bool activate_key (Gdk.EventKey event);
7112 public void add_accel_group (Gtk.AccelGroup accel_group);
7113 public void add_mnemonic (uint keyval, Gtk.Widget target);
7114 public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
7115 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
7116 public void close ();
7117 public void deiconify ();
7118 public void fullscreen ();
7119 public void fullscreen_on_monitor (Gdk.Screen screen, int monitor);
7120 public bool get_accept_focus ();
7121 public unowned Gtk.Application? get_application ();
7122 public unowned Gtk.Widget? get_attached_to ();
7123 public bool get_decorated ();
7124 public static GLib.List<weak Gdk.Pixbuf> get_default_icon_list ();
7125 public static unowned string get_default_icon_name ();
7126 public void get_default_size (out int width, out int height);
7127 public unowned Gtk.Widget? get_default_widget ();
7128 public bool get_deletable ();
7129 public bool get_destroy_with_parent ();
7130 public unowned Gtk.Widget? get_focus ();
7131 public bool get_focus_on_map ();
7132 public bool get_focus_visible ();
7133 public Gdk.Gravity get_gravity ();
7134 public unowned Gtk.WindowGroup get_group ();
7135 public bool get_has_resize_grip ();
7136 public bool get_hide_titlebar_when_maximized ();
7137 public unowned Gdk.Pixbuf get_icon ();
7138 public GLib.List<weak Gdk.Pixbuf> get_icon_list ();
7139 public unowned string? get_icon_name ();
7140 public Gdk.ModifierType get_mnemonic_modifier ();
7141 public bool get_mnemonics_visible ();
7142 public bool get_modal ();
7143 public double get_opacity ();
7144 public void get_position (out int root_x, out int root_y);
7145 public bool get_resizable ();
7146 public bool get_resize_grip_area (out Gdk.Rectangle rect);
7147 public unowned string? get_role ();
7148 public unowned Gdk.Screen get_screen ();
7149 public void get_size (out int width, out int height);
7150 public bool get_skip_pager_hint ();
7151 public bool get_skip_taskbar_hint ();
7152 public unowned string? get_title ();
7153 public unowned Gtk.Widget? get_titlebar ();
7154 public unowned Gtk.Window? get_transient_for ();
7155 public Gdk.WindowTypeHint get_type_hint ();
7156 public bool get_urgency_hint ();
7157 public Gtk.WindowType get_window_type ();
7158 public bool has_group ();
7159 public void iconify ();
7160 public static GLib.List<weak Gtk.Window> list_toplevels ();
7161 public void maximize ();
7162 public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier);
7163 public void move (int x, int y);
7164 public bool parse_geometry (string geometry);
7165 public void present ();
7166 public void present_with_time (uint32 timestamp);
7167 public bool propagate_key_event (Gdk.EventKey event);
7168 public void remove_accel_group (Gtk.AccelGroup accel_group);
7169 public void remove_mnemonic (uint keyval, Gtk.Widget target);
7170 public void reshow_with_initial_size ();
7171 public void resize (int width, int height);
7172 public bool resize_grip_is_visible ();
7173 public void resize_to_geometry (int width, int height);
7174 public void set_accept_focus (bool setting);
7175 public void set_application (Gtk.Application? application);
7176 public void set_attached_to (Gtk.Widget? attach_widget);
7177 public static void set_auto_startup_notification (bool setting);
7178 public void set_decorated (bool setting);
7179 public void set_default (Gtk.Widget? default_widget);
7180 public void set_default_geometry (int width, int height);
7181 public static void set_default_icon (Gdk.Pixbuf icon);
7182 public static bool set_default_icon_from_file (string filename) throws GLib.Error;
7183 public static void set_default_icon_list (owned GLib.List<weak Gdk.Pixbuf> list);
7184 public static void set_default_icon_name (string name);
7185 public void set_default_size (int width, int height);
7186 public void set_deletable (bool setting);
7187 public void set_destroy_with_parent (bool setting);
7188 public void set_focus_on_map (bool setting);
7189 public void set_focus_visible (bool setting);
7190 public void set_geometry_hints (Gtk.Widget? geometry_widget, Gdk.Geometry? geometry, Gdk.WindowHints geom_mask);
7191 public void set_gravity (Gdk.Gravity gravity);
7192 public void set_has_resize_grip (bool value);
7193 public void set_has_user_ref_count (bool setting);
7194 public void set_hide_titlebar_when_maximized (bool setting);
7195 public void set_icon (Gdk.Pixbuf? icon);
7196 public bool set_icon_from_file (string filename) throws GLib.Error;
7197 public void set_icon_list (GLib.List<Gdk.Pixbuf> list);
7198 public void set_icon_name (string? name);
7199 public static void set_interactive_debugging (bool enable);
7200 public void set_keep_above (bool setting);
7201 public void set_keep_below (bool setting);
7202 public void set_mnemonic_modifier (Gdk.ModifierType modifier);
7203 public void set_mnemonics_visible (bool setting);
7204 public void set_modal (bool modal);
7205 public void set_opacity (double opacity);
7206 public void set_position (Gtk.WindowPosition position);
7207 public void set_resizable (bool resizable);
7208 public void set_role (string role);
7209 public void set_screen (Gdk.Screen screen);
7210 public void set_skip_pager_hint (bool setting);
7211 public void set_skip_taskbar_hint (bool setting);
7212 public void set_startup_id (string startup_id);
7213 public void set_title (string title);
7214 public void set_titlebar (Gtk.Widget? titlebar);
7215 public void set_transient_for (Gtk.Window? parent);
7216 public void set_type_hint (Gdk.WindowTypeHint hint);
7217 public void set_urgency_hint (bool setting);
7218 public void set_wmclass (string wmclass_name, string wmclass_class);
7219 public void stick ();
7220 public void unfullscreen ();
7221 public void unmaximize ();
7222 public void unstick ();
7223 public bool accept_focus { get; set; }
7224 public Gtk.Application application { get; set; }
7225 public Gtk.Widget attached_to { get; set construct; }
7226 public bool decorated { get; set; }
7228 public int default_height { get; set; }
7230 public int default_width { get; set; }
7231 public bool deletable { get; set; }
7232 public bool destroy_with_parent { get; set; }
7233 public bool focus_on_map { get; set; }
7234 public bool focus_visible { get; set; }
7235 public Gdk.Gravity gravity { get; set; }
7236 public bool has_resize_grip { get; set; }
7238 public bool has_toplevel_focus { get; }
7239 public bool hide_titlebar_when_maximized { get; set; }
7240 public Gdk.Pixbuf icon { get; set; }
7241 public string icon_name { get; set; }
7243 public bool is_active { get; }
7245 public bool is_maximized { get; }
7246 public bool mnemonics_visible { get; set; }
7247 public bool modal { get; set; }
7248 public bool resizable { get; set; }
7250 public bool resize_grip_visible { get; }
7251 public string role { get; set; }
7252 public Gdk.Screen screen { get; set; }
7253 public bool skip_pager_hint { get; set; }
7254 public bool skip_taskbar_hint { get; set; }
7255 public string startup_id { set; }
7256 public string title { get; set; }
7257 public Gtk.Window transient_for { get; set construct; }
7259 public Gtk.WindowType type { get; construct; }
7260 public Gdk.WindowTypeHint type_hint { get; set; }
7261 public bool urgency_hint { get; set; }
7263 public Gtk.WindowPosition window_position { get; set; }
7264 [CCode (cname = "activate_default")]
7265 [Version (experimental = true)]
7266 public virtual signal void default_activated ();
7267 public virtual signal bool enable_debugging (bool toggle);
7268 [CCode (cname = "activate_focus")]
7269 [Version (experimental = true)]
7270 public virtual signal void focus_activated ();
7271 public virtual signal void keys_changed ();
7273 public virtual signal void set_focus (Gtk.Widget? focus);
7275 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_window_accessible_get_type ()")]
7276 public class WindowAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Window {
7277 [CCode (has_construct_function = false)]
7278 protected WindowAccessible ();
7280 [CCode (cheader_filename = "gtk/gtk.h")]
7282 public class WindowGeometryInfo {
7284 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_group_get_type ()")]
7285 public class WindowGroup : GLib.Object {
7286 [CCode (has_construct_function = false)]
7287 public WindowGroup ();
7288 public void add_window (Gtk.Window window);
7289 public unowned Gtk.Widget? get_current_device_grab (Gdk.Device device);
7290 public unowned Gtk.Widget get_current_grab ();
7291 public GLib.List<weak Gtk.Window> list_windows ();
7292 public void remove_window (Gtk.Window window);
7294 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkActionableInterface")]
7295 public interface Actionable : Gtk.Widget {
7296 public abstract unowned string? get_action_name ();
7297 public abstract unowned GLib.Variant get_action_target_value ();
7298 public abstract void set_action_name (string action_name);
7299 public void set_action_target (string format_string, ...);
7300 public abstract void set_action_target_value (GLib.Variant target_value);
7301 public void set_detailed_action_name (string detailed_action_name);
7302 public string action_name { get; set; }
7304 public GLib.Variant action_target { owned get; set; }
7306 [CCode (cheader_filename = "gtk/gtk.h")]
7307 public interface Activatable : GLib.Object {
7308 public void do_set_related_action (Gtk.Action action);
7309 public unowned Gtk.Action get_related_action ();
7310 public bool get_use_action_appearance ();
7311 public void set_related_action (Gtk.Action action);
7312 public void set_use_action_appearance (bool use_appearance);
7313 public abstract void sync_action_properties (Gtk.Action action);
7315 public abstract void update (Gtk.Action action, string property_name);
7316 public Gtk.Action related_action { get; set; }
7317 public bool use_action_appearance { get; set; }
7319 [CCode (cheader_filename = "gtk/gtk.h")]
7320 public interface AppChooser : Gtk.Widget {
7321 public GLib.AppInfo get_app_info ();
7322 public string get_content_type ();
7323 public void refresh ();
7324 public string content_type { owned get; construct; }
7326 [CCode (cheader_filename = "gtk/gtk.h")]
7327 public interface Buildable : GLib.Object {
7328 public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type);
7329 public abstract GLib.Object construct_child (Gtk.Builder builder, string name);
7330 public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
7331 public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
7332 public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data);
7333 public abstract unowned GLib.Object get_internal_child (Gtk.Builder builder, string childname);
7334 public abstract unowned string get_name ();
7335 public abstract void parser_finished (Gtk.Builder builder);
7336 public abstract void set_buildable_property (Gtk.Builder builder, string name, GLib.Value value);
7337 public abstract void set_name (string name);
7339 [CCode (cheader_filename = "gtk/gtk.h")]
7340 public interface CellAccessibleParent : GLib.Object {
7341 public abstract void activate (Gtk.CellAccessible cell);
7342 public abstract void edit (Gtk.CellAccessible cell);
7343 public abstract void expand_collapse (Gtk.CellAccessible cell);
7344 public abstract void get_cell_area (Gtk.CellAccessible cell, Gdk.Rectangle cell_rect);
7345 public abstract void get_cell_extents (Gtk.CellAccessible cell, int x, int y, int width, int height, Atk.CoordType coord_type);
7346 public abstract int get_child_index (Gtk.CellAccessible cell);
7347 public abstract Gtk.CellRendererState get_renderer_state (Gtk.CellAccessible cell);
7348 public abstract bool grab_focus (Gtk.CellAccessible cell);
7349 public abstract void update_relationset (Gtk.CellAccessible cell, Atk.RelationSet relationset);
7351 [CCode (cheader_filename = "gtk/gtk.h")]
7352 public interface CellEditable : Gtk.Widget {
7353 public abstract void start_editing (Gdk.Event? event);
7355 public bool editing_canceled { get; set; }
7357 public signal void editing_done ();
7359 public signal void remove_widget ();
7361 [CCode (cheader_filename = "gtk/gtk.h")]
7362 public interface CellLayout : GLib.Object {
7363 public abstract void add_attribute (Gtk.CellRenderer cell, string attribute, int column);
7364 public abstract void clear ();
7365 public abstract void clear_attributes (Gtk.CellRenderer cell);
7366 public abstract unowned Gtk.CellArea get_area ();
7367 public abstract GLib.List<weak Gtk.CellRenderer> get_cells ();
7368 public abstract void pack_end (Gtk.CellRenderer cell, bool expand);
7369 public abstract void pack_start (Gtk.CellRenderer cell, bool expand);
7370 public abstract void reorder (Gtk.CellRenderer cell, int position);
7371 public void set_attributes (Gtk.CellRenderer cell, ...);
7372 public abstract void set_cell_data_func (Gtk.CellRenderer cell, owned Gtk.CellLayoutDataFunc func);
7374 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkColorChooserInterface")]
7375 public interface ColorChooser : GLib.Object {
7376 public abstract void add_palette (Gtk.Orientation orientation, int colors_per_line, [CCode (array_length_pos = 2.9)] Gdk.RGBA[]? colors);
7377 public abstract Gdk.RGBA get_rgba ();
7378 public bool get_use_alpha ();
7379 public abstract void set_rgba (Gdk.RGBA color);
7380 public void set_use_alpha (bool use_alpha);
7381 public Gdk.RGBA rgba { get; set; }
7382 public bool use_alpha { get; set; }
7383 public signal void color_activated (Gdk.RGBA color);
7385 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkEditableInterface")]
7386 public interface Editable : GLib.Object {
7387 public void copy_clipboard ();
7388 public void cut_clipboard ();
7389 public void delete_selection ();
7391 public abstract void do_delete_text (int start_pos, int end_pos);
7393 public abstract void do_insert_text (string new_text, int new_text_length, ref int position);
7394 public abstract string get_chars (int start_pos = 0, int end_pos = -1);
7395 public bool get_editable ();
7396 public abstract int get_position ();
7397 public abstract bool get_selection_bounds (out int start_pos, out int end_pos);
7398 public void paste_clipboard ();
7399 [CCode (vfunc_name = "set_selection_bounds")]
7400 public abstract void select_region (int start_pos, int end_pos);
7401 public void set_editable (bool is_editable);
7402 public abstract void set_position (int position);
7403 public signal void changed ();
7405 public signal void delete_text (int start_pos, int end_pos);
7407 public signal void insert_text (string new_text, int new_text_length, ref int position);
7409 [CCode (cheader_filename = "gtk/gtk.h")]
7410 public interface FileChooser : GLib.Object {
7411 public void add_choice (string id, string label, string[]? options, string[]? option_labels);
7412 public void add_filter (owned Gtk.FileFilter filter);
7413 public bool add_shortcut_folder (string folder) throws GLib.Error;
7414 public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
7415 public Gtk.FileChooserAction get_action ();
7416 public unowned string get_choice (string id);
7417 public bool get_create_folders ();
7418 public string get_current_folder ();
7419 public GLib.File get_current_folder_file ();
7420 public string get_current_folder_uri ();
7421 public string get_current_name ();
7422 public bool get_do_overwrite_confirmation ();
7423 public unowned Gtk.Widget get_extra_widget ();
7424 public GLib.File get_file ();
7425 public string get_filename ();
7426 public GLib.SList<string> get_filenames ();
7427 public GLib.SList<GLib.File> get_files ();
7428 public unowned Gtk.FileFilter get_filter ();
7429 public bool get_local_only ();
7430 public GLib.File get_preview_file ();
7431 public string get_preview_filename ();
7432 public string get_preview_uri ();
7433 public unowned Gtk.Widget get_preview_widget ();
7434 public bool get_preview_widget_active ();
7435 public bool get_select_multiple ();
7436 public bool get_show_hidden ();
7437 public string get_uri ();
7438 public GLib.SList<string> get_uris ();
7439 public bool get_use_preview_label ();
7440 public GLib.SList<weak Gtk.FileFilter> list_filters ();
7441 public GLib.SList<string>? list_shortcut_folder_uris ();
7442 public GLib.SList<string>? list_shortcut_folders ();
7443 public void remove_choice (string id);
7444 public void remove_filter (Gtk.FileFilter filter);
7445 public bool remove_shortcut_folder (string folder) throws GLib.Error;
7446 public bool remove_shortcut_folder_uri (string uri) throws GLib.Error;
7447 public void select_all ();
7448 public bool select_file (GLib.File file) throws GLib.Error;
7449 public bool select_filename (string filename);
7450 public bool select_uri (string uri);
7451 public void set_action (Gtk.FileChooserAction action);
7452 public void set_choice (string id, string option);
7453 public void set_create_folders (bool create_folders);
7454 public bool set_current_folder (string filename);
7455 public bool set_current_folder_file (GLib.File file) throws GLib.Error;
7456 public bool set_current_folder_uri (string uri);
7457 public void set_current_name (string name);
7458 public void set_do_overwrite_confirmation (bool do_overwrite_confirmation);
7459 public void set_extra_widget (Gtk.Widget extra_widget);
7460 public bool set_file (GLib.File file) throws GLib.Error;
7461 public bool set_filename (string filename);
7462 public void set_filter (Gtk.FileFilter filter);
7463 public void set_local_only (bool local_only);
7464 public void set_preview_widget (Gtk.Widget preview_widget);
7465 public void set_preview_widget_active (bool active);
7466 public void set_select_multiple (bool select_multiple);
7467 public void set_show_hidden (bool show_hidden);
7468 public bool set_uri (string uri);
7469 public void set_use_preview_label (bool use_label);
7470 public void unselect_all ();
7471 public void unselect_file (GLib.File file);
7472 public void unselect_filename (string filename);
7473 public void unselect_uri (string uri);
7474 public Gtk.FileChooserAction action { get; set; }
7475 public bool create_folders { get; set; }
7476 public bool do_overwrite_confirmation { get; set; }
7477 public Gtk.Widget extra_widget { get; set; }
7478 public Gtk.FileFilter filter { get; set; }
7479 public bool local_only { get; set; }
7480 public Gtk.Widget preview_widget { get; set; }
7481 public bool preview_widget_active { get; set; }
7482 public bool select_multiple { get; set; }
7483 public bool show_hidden { get; set; }
7484 public bool use_preview_label { get; set; }
7485 public signal Gtk.FileChooserConfirmation confirm_overwrite ();
7486 public signal void current_folder_changed ();
7487 public signal void file_activated ();
7488 public signal void selection_changed ();
7489 public signal void update_preview ();
7491 [CCode (cheader_filename = "gtk/gtk.h")]
7492 public interface FileChooserEmbed : GLib.Object {
7494 [CCode (cheader_filename = "gtk/gtk.h")]
7495 public interface FontChooser : GLib.Object {
7496 public string get_font ();
7497 public Pango.FontDescription get_font_desc ();
7498 public abstract unowned Pango.FontFace get_font_face ();
7499 public abstract unowned Pango.FontFamily get_font_family ();
7500 public abstract Pango.FontMap? get_font_map ();
7501 public abstract int get_font_size ();
7502 public string get_preview_text ();
7503 public bool get_show_preview_entry ();
7504 public abstract void set_filter_func (owned Gtk.FontFilterFunc filter);
7505 public void set_font (string fontname);
7506 public void set_font_desc (Pango.FontDescription font_desc);
7507 public abstract void set_font_map (Pango.FontMap fontmap);
7508 public void set_preview_text (string text);
7509 public void set_show_preview_entry (bool show_preview_entry);
7510 public string font { owned get; set; }
7511 public Pango.FontDescription font_desc { owned get; set; }
7512 public string preview_text { owned get; set; }
7513 public bool show_preview_entry { get; set; }
7514 public signal void font_activated (string fontname);
7516 [CCode (cheader_filename = "gtk/gtk.h")]
7517 public interface Orientable : GLib.Object {
7518 public Gtk.Orientation get_orientation ();
7519 public void set_orientation (Gtk.Orientation orientation);
7520 public Gtk.Orientation orientation { get; set; }
7522 [CCode (cheader_filename = "gtk/gtk.h")]
7523 public interface PrintOperationPreview : GLib.Object {
7524 public abstract void end_preview ();
7525 public abstract bool is_selected (int page_nr);
7526 public abstract void render_page (int page_nr);
7527 public signal void got_page_size (Gtk.PrintContext context, Gtk.PageSetup page_setup);
7528 public signal void ready (Gtk.PrintContext context);
7530 [CCode (cheader_filename = "gtk/gtk.h")]
7531 public interface RecentChooser : GLib.Object {
7532 public abstract void add_filter (Gtk.RecentFilter filter);
7533 public Gtk.RecentInfo get_current_item ();
7534 public abstract string get_current_uri ();
7535 public unowned Gtk.RecentFilter get_filter ();
7536 public abstract GLib.List<Gtk.RecentInfo> get_items ();
7537 public int get_limit ();
7538 public bool get_local_only ();
7540 public abstract unowned Gtk.RecentManager get_recent_manager ();
7541 public bool get_select_multiple ();
7542 public bool get_show_icons ();
7543 public bool get_show_not_found ();
7544 public bool get_show_private ();
7545 public bool get_show_tips ();
7546 public Gtk.RecentSortType get_sort_type ();
7547 public string[] get_uris ();
7548 public abstract GLib.SList<weak Gtk.RecentFilter> list_filters ();
7549 public abstract void remove_filter (Gtk.RecentFilter filter);
7550 public abstract void select_all ();
7551 public abstract bool select_uri (string uri) throws GLib.Error;
7552 public abstract bool set_current_uri (string uri) throws GLib.Error;
7553 public void set_filter (Gtk.RecentFilter filter);
7554 public void set_limit (int limit);
7555 public void set_local_only (bool local_only);
7556 public void set_select_multiple (bool select_multiple);
7557 public void set_show_icons (bool show_icons);
7558 public void set_show_not_found (bool show_not_found);
7559 public void set_show_private (bool show_private);
7560 public void set_show_tips (bool show_tips);
7561 public abstract void set_sort_func (owned Gtk.RecentSortFunc sort_func);
7562 public void set_sort_type (Gtk.RecentSortType sort_type);
7563 public abstract void unselect_all ();
7564 public abstract void unselect_uri (string uri);
7565 public Gtk.RecentFilter filter { get; set; }
7566 public int limit { get; set; }
7567 public bool local_only { get; set; }
7568 public Gtk.RecentManager recent_manager { construct; }
7569 public bool select_multiple { get; set; }
7570 public bool show_icons { get; set; }
7571 public bool show_not_found { get; set; }
7572 public bool show_private { get; set; }
7573 public bool show_tips { get; set; }
7574 public Gtk.RecentSortType sort_type { get; set; }
7575 public signal void item_activated ();
7576 public signal void selection_changed ();
7578 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkScrollableInterface")]
7579 public interface Scrollable : GLib.Object {
7580 public virtual bool get_border (out Gtk.Border border);
7581 public unowned Gtk.Adjustment get_hadjustment ();
7582 public Gtk.ScrollablePolicy get_hscroll_policy ();
7583 public unowned Gtk.Adjustment get_vadjustment ();
7584 public Gtk.ScrollablePolicy get_vscroll_policy ();
7585 public void set_hadjustment (Gtk.Adjustment hadjustment);
7586 public void set_hscroll_policy (Gtk.ScrollablePolicy policy);
7587 public void set_vadjustment (Gtk.Adjustment vadjustment);
7588 public void set_vscroll_policy (Gtk.ScrollablePolicy policy);
7589 public Gtk.Adjustment hadjustment { get; set construct; }
7590 public Gtk.ScrollablePolicy hscroll_policy { get; set; }
7591 public Gtk.Adjustment vadjustment { get; set construct; }
7592 public Gtk.ScrollablePolicy vscroll_policy { get; set; }
7594 [CCode (cheader_filename = "gtk/gtk.h")]
7595 public interface StyleProvider : GLib.Object {
7596 public abstract unowned Gtk.IconFactory get_icon_factory (Gtk.WidgetPath path);
7597 public abstract Gtk.StyleProperties get_style (Gtk.WidgetPath path);
7598 public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state, GLib.ParamSpec pspec, out GLib.Value value);
7600 [CCode (cheader_filename = "gtk/gtk.h")]
7601 public interface ToolShell : Gtk.Widget {
7602 public abstract Pango.EllipsizeMode get_ellipsize_mode ();
7603 public abstract Gtk.IconSize get_icon_size ();
7604 public abstract Gtk.Orientation get_orientation ();
7605 public abstract Gtk.ReliefStyle get_relief_style ();
7606 public abstract Gtk.ToolbarStyle get_style ();
7607 public abstract float get_text_alignment ();
7608 public abstract Gtk.Orientation get_text_orientation ();
7609 public abstract unowned Gtk.SizeGroup get_text_size_group ();
7610 public abstract void rebuild_menu ();
7612 [CCode (cheader_filename = "gtk/gtk.h")]
7613 public interface TreeDragDest : GLib.Object {
7614 public abstract bool drag_data_received (Gtk.TreePath dest, Gtk.SelectionData selection_data);
7615 public abstract bool row_drop_possible (Gtk.TreePath dest_path, Gtk.SelectionData selection_data);
7617 [CCode (cheader_filename = "gtk/gtk.h")]
7618 public interface TreeDragSource : GLib.Object {
7619 public abstract bool drag_data_delete (Gtk.TreePath path);
7620 public abstract bool drag_data_get (Gtk.TreePath path, Gtk.SelectionData selection_data);
7621 public abstract bool row_draggable (Gtk.TreePath path);
7623 [CCode (cheader_filename = "gtk/gtk.h")]
7624 public interface TreeModel : GLib.Object {
7625 public void @foreach (Gtk.TreeModelForeachFunc func);
7626 [CCode (sentinel = "-1")]
7627 public void @get (Gtk.TreeIter iter, ...);
7628 public abstract GLib.Type get_column_type (int index_);
7629 public abstract Gtk.TreeModelFlags get_flags ();
7630 public abstract bool get_iter (out Gtk.TreeIter iter, Gtk.TreePath path);
7631 public bool get_iter_first (out Gtk.TreeIter iter);
7632 public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
7633 public abstract int get_n_columns ();
7634 public abstract Gtk.TreePath? get_path (Gtk.TreeIter iter);
7635 public string get_string_from_iter (Gtk.TreeIter iter);
7636 public void get_valist (Gtk.TreeIter iter, va_list var_args);
7637 public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
7638 public abstract bool iter_children (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
7639 public abstract bool iter_has_child (Gtk.TreeIter iter);
7640 public abstract int iter_n_children (Gtk.TreeIter? iter);
7641 public abstract bool iter_next (ref Gtk.TreeIter iter);
7642 public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
7643 public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
7644 public virtual bool iter_previous (ref Gtk.TreeIter iter);
7645 public virtual void ref_node (Gtk.TreeIter iter);
7646 public void rows_reordered_with_length (Gtk.TreePath path, Gtk.TreeIter? iter, [CCode (array_length_pos = 3.1)] int[] new_order);
7647 public virtual void unref_node (Gtk.TreeIter iter);
7649 public signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter);
7651 public signal void row_deleted (Gtk.TreePath path);
7653 public signal void row_has_child_toggled (Gtk.TreePath path, Gtk.TreeIter iter);
7655 public signal void row_inserted (Gtk.TreePath path, Gtk.TreeIter iter);
7657 public signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter? iter, [CCode (array_length = false)] int[] new_order);
7659 [CCode (cheader_filename = "gtk/gtk.h")]
7660 public interface TreeSortable : Gtk.TreeModel, GLib.Object {
7661 public abstract bool get_sort_column_id (out int sort_column_id, out Gtk.SortType order);
7662 public abstract bool has_default_sort_func ();
7663 public abstract void set_default_sort_func (owned Gtk.TreeIterCompareFunc sort_func);
7664 public abstract void set_sort_column_id (int sort_column_id, Gtk.SortType order);
7665 public abstract void set_sort_func (int sort_column_id, owned Gtk.TreeIterCompareFunc sort_func);
7667 public signal void sort_column_changed ();
7669 [CCode (cheader_filename = "gtk/gtk.h")]
7670 public struct AccelGroupEntry {
7671 public Gtk.AccelKey key;
7672 public weak GLib.Closure closure;
7673 public GLib.Quark accel_path_quark;
7675 [CCode (cheader_filename = "gtk/gtk.h")]
7676 public struct AccelKey {
7677 public uint accel_key;
7678 public Gdk.ModifierType accel_mods;
7679 public uint accel_flags;
7681 [CCode (cheader_filename = "gtk/gtk.h")]
7682 public struct ActionEntry {
7683 public weak string name;
7684 public weak string stock_id;
7685 public weak string label;
7686 public weak string accelerator;
7687 public weak string tooltip;
7688 [CCode (delegate_target = false, type = "GCallback")]
7689 public weak Gtk.ActionCallback callback;
7691 [CCode (cheader_filename = "gtk/gtk.h")]
7692 public struct Allocation : Gdk.Rectangle {
7694 [CCode (cheader_filename = "gtk/gtk.h")]
7695 public struct BindingArg {
7696 [CCode (cname = "d.long_data")]
7697 public long long_data;
7698 [CCode (cname = "d.double_data")]
7699 public double double_data;
7700 [CCode (cname = "d.string_data")]
7701 public weak string string_data;
7702 public GLib.Type arg_type;
7704 [CCode (cheader_filename = "gtk/gtk.h")]
7705 public struct Border {
7709 public int16 bottom;
7711 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h")]
7712 public struct IMContextInfo {
7713 public weak string context_id;
7714 public weak string context_name;
7715 public weak string domain;
7716 public weak string domain_dirname;
7717 public weak string default_locales;
7719 [CCode (cheader_filename = "gtk/gtk.h")]
7720 public struct PadActionEntry {
7721 public Gtk.PadActionType type;
7724 public weak string label;
7725 public weak string action_name;
7727 [CCode (cheader_filename = "gtk/gtk.h")]
7728 public struct PageRange {
7732 [CCode (cheader_filename = "gtk/gtk.h")]
7733 public struct RadioActionEntry {
7734 public weak string name;
7735 public weak string stock_id;
7736 public weak string label;
7737 public weak string accelerator;
7738 public weak string tooltip;
7741 [CCode (cheader_filename = "gtk/gtk.h", has_copy_function = false, has_destroy_function = false)]
7742 public struct RecentData {
7743 public string display_name;
7744 public string description;
7745 public string mime_type;
7746 public string app_name;
7747 public string app_exec;
7748 [CCode (array_length = false, array_null_terminated = true)]
7749 public string[] groups;
7750 public bool is_private;
7752 [CCode (cheader_filename = "gtk/gtk.h")]
7753 public struct RecentFilterInfo {
7754 public Gtk.RecentFilterFlags contains;
7755 public weak string uri;
7756 public weak string display_name;
7757 public weak string mime_type;
7758 [CCode (array_length = false, array_null_terminated = true)]
7759 public weak string[] applications;
7760 [CCode (array_length = false, array_null_terminated = true)]
7761 public weak string[] groups;
7764 [CCode (cheader_filename = "gtk/gtk.h")]
7765 public struct RequestedSize {
7767 public int minimum_size;
7768 public int natural_size;
7770 [CCode (cheader_filename = "gtk/gtk.h")]
7771 public struct Requisition {
7774 public Gtk.Requisition copy ();
7775 public void free ();
7777 [CCode (cheader_filename = "gtk/gtk.h")]
7778 public struct SettingsValue {
7779 public weak string origin;
7780 public GLib.Value value;
7782 [CCode (cheader_filename = "gtk/gtk.h")]
7783 public struct StockItem {
7784 public weak string stock_id;
7785 public weak string label;
7786 public Gdk.ModifierType modifier;
7788 public weak string translation_domain;
7789 public Gtk.StockItem copy ();
7790 public void free ();
7792 [CCode (cheader_filename = "gtk/gtk.h")]
7793 public struct TargetEntry {
7794 public weak string target;
7797 public Gtk.TargetEntry copy ();
7798 public void free ();
7800 [CCode (cheader_filename = "gtk/gtk.h")]
7801 public struct TextAppearance {
7802 public Gdk.Color bg_color;
7803 public Gdk.Color fg_color;
7805 public uint underline;
7806 public uint strikethrough;
7807 public uint draw_bg;
7808 public uint inside_selection;
7809 public uint is_text;
7810 [CCode (array_length = false)]
7811 public Gdk.RGBA[] rgba;
7813 [CCode (cheader_filename = "gtk/gtk.h")]
7814 public struct TextIter {
7815 public void assign (Gtk.TextIter other);
7816 public bool backward_char ();
7817 public bool backward_chars (int count);
7818 public bool backward_cursor_position ();
7819 public bool backward_cursor_positions (int count);
7820 public bool backward_find_char (Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
7821 public bool backward_line ();
7822 public bool backward_lines (int count);
7823 public bool backward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
7824 public bool backward_sentence_start ();
7825 public bool backward_sentence_starts (int count);
7826 public bool backward_to_tag_toggle (Gtk.TextTag? tag);
7827 public bool backward_visible_cursor_position ();
7828 public bool backward_visible_cursor_positions (int count);
7829 public bool backward_visible_line ();
7830 public bool backward_visible_lines (int count);
7831 public bool backward_visible_word_start ();
7832 public bool backward_visible_word_starts (int count);
7833 public bool backward_word_start ();
7834 public bool backward_word_starts (int count);
7835 public bool begins_tag (Gtk.TextTag? tag);
7836 public bool can_insert (bool default_editability);
7837 public int compare (Gtk.TextIter rhs);
7838 public Gtk.TextIter? copy ();
7839 public bool editable (bool default_setting);
7840 public bool ends_line ();
7841 public bool ends_sentence ();
7842 public bool ends_tag (Gtk.TextTag? tag);
7843 public bool ends_word ();
7844 public bool equal (Gtk.TextIter rhs);
7845 public bool forward_char ();
7846 public bool forward_chars (int count);
7847 public bool forward_cursor_position ();
7848 public bool forward_cursor_positions (int count);
7849 public bool forward_find_char (Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
7850 public bool forward_line ();
7851 public bool forward_lines (int count);
7852 public bool forward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
7853 public bool forward_sentence_end ();
7854 public bool forward_sentence_ends (int count);
7855 public void forward_to_end ();
7856 public bool forward_to_line_end ();
7857 public bool forward_to_tag_toggle (Gtk.TextTag? tag);
7858 public bool forward_visible_cursor_position ();
7859 public bool forward_visible_cursor_positions (int count);
7860 public bool forward_visible_line ();
7861 public bool forward_visible_lines (int count);
7862 public bool forward_visible_word_end ();
7863 public bool forward_visible_word_ends (int count);
7864 public bool forward_word_end ();
7865 public bool forward_word_ends (int count);
7866 public void free ();
7867 public bool get_attributes (Gtk.TextAttributes values);
7868 public unowned Gtk.TextBuffer get_buffer ();
7869 public int get_bytes_in_line ();
7870 public unichar get_char ();
7871 public int get_chars_in_line ();
7872 public unowned Gtk.TextChildAnchor get_child_anchor ();
7873 public Pango.Language get_language ();
7874 public int get_line ();
7875 public int get_line_index ();
7876 public int get_line_offset ();
7877 public GLib.SList<weak Gtk.TextMark> get_marks ();
7878 public int get_offset ();
7879 public unowned Gdk.Pixbuf get_pixbuf ();
7880 public string get_slice (Gtk.TextIter end);
7881 public GLib.SList<weak Gtk.TextTag> get_tags ();
7882 public string get_text (Gtk.TextIter end);
7883 public GLib.SList<weak Gtk.TextTag> get_toggled_tags (bool toggled_on);
7884 public int get_visible_line_index ();
7885 public int get_visible_line_offset ();
7886 public string get_visible_slice (Gtk.TextIter end);
7887 public string get_visible_text (Gtk.TextIter end);
7888 public bool has_tag (Gtk.TextTag tag);
7889 public bool in_range (Gtk.TextIter start, Gtk.TextIter end);
7890 public bool inside_sentence ();
7891 public bool inside_word ();
7892 public bool is_cursor_position ();
7893 public bool is_end ();
7894 public bool is_start ();
7895 public void order (Gtk.TextIter second);
7896 public void set_line (int line_number);
7897 public void set_line_index (int byte_on_line);
7898 public void set_line_offset (int char_on_line);
7899 public void set_offset (int char_offset);
7900 public void set_visible_line_index (int byte_on_line);
7901 public void set_visible_line_offset (int char_on_line);
7902 public bool starts_line ();
7903 public bool starts_sentence ();
7904 public bool starts_tag (Gtk.TextTag tag);
7905 public bool starts_word ();
7906 public bool toggles_tag (Gtk.TextTag tag);
7908 [CCode (cheader_filename = "gtk/gtk.h")]
7909 public struct ToggleActionEntry {
7910 public weak string name;
7911 public weak string stock_id;
7912 public weak string label;
7913 public weak string accelerator;
7914 public weak string tooltip;
7915 [CCode (delegate_target = false, type = "GCallback")]
7916 public weak Gtk.ActionCallback callback;
7917 public bool is_active;
7919 [CCode (cheader_filename = "gtk/gtk.h")]
7920 public struct TreeIter {
7922 public void* user_data;
7923 public void* user_data2;
7924 public void* user_data3;
7926 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ACCEL_")]
7928 public enum AccelFlags {
7933 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ALIGN_")]
7941 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_INHIBIT_")]
7943 public enum ApplicationInhibitFlags {
7949 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROWS_")]
7950 public enum ArrowPlacement {
7955 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROW_")]
7956 public enum ArrowType {
7963 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ASSISTANT_PAGE_")]
7964 public enum AssistantPageType {
7972 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_")]
7974 public enum AttachOptions {
7979 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BASELINE_POSITION_")]
7980 public enum BaselinePosition {
7985 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BORDER_STYLE_")]
7986 public enum BorderStyle {
7998 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONBOX_")]
7999 public enum ButtonBoxStyle {
8007 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTON_ROLE_")]
8008 public enum ButtonRole {
8013 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONS_")]
8014 public enum ButtonsType {
8022 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CALENDAR_")]
8024 public enum CalendarDisplayOptions {
8031 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_ACCEL_MODE_")]
8032 public enum CellRendererAccelMode {
8036 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_MODE_")]
8037 public enum CellRendererMode {
8042 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_")]
8044 public enum CellRendererState {
8053 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CORNER_")]
8054 public enum CornerType {
8060 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_")]
8061 public enum CssSectionType {
8072 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEBUG_")]
8074 public enum DebugFlag {
8098 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DELETE_")]
8099 public enum DeleteType {
8109 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEST_DEFAULT_")]
8111 public enum DestDefaults {
8117 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIALOG_")]
8119 public enum DialogFlags {
8121 DESTROY_WITH_PARENT,
8124 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIR_")]
8125 public enum DirectionType {
8133 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DRAG_RESULT_")]
8134 public enum DragResult {
8142 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ENTRY_ICON_")]
8143 public enum EntryIconPosition {
8147 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EVENT_SEQUENCE_")]
8148 public enum EventSequenceState {
8153 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EXPANDER_")]
8154 public enum ExpanderStyle {
8160 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ACTION_")]
8161 public enum FileChooserAction {
8167 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_")]
8168 public enum FileChooserConfirmation {
8173 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_FILTER_")]
8175 public enum FileFilterFlags {
8181 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_PREEDIT_")]
8182 public enum IMPreeditStyle {
8187 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_STATUS_")]
8188 public enum IMStatusStyle {
8193 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_LOOKUP_")]
8195 public enum IconLookupFlags {
8206 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_SIZE_")]
8207 public enum IconSize {
8216 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_VIEW_")]
8217 public enum IconViewDropPosition {
8225 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IMAGE_")]
8226 public enum ImageType {
8236 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_HINT_")]
8238 public enum InputHints {
8246 UPPERCASE_SENTENCES,
8250 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_PURPOSE_")]
8251 public enum InputPurpose {
8263 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUNCTION_")]
8265 public enum JunctionSides {
8276 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUSTIFY_")]
8277 public enum Justification {
8283 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LEVEL_BAR_MODE_")]
8284 public enum LevelBarMode {
8288 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LICENSE_")]
8289 public enum License {
8305 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MENU_DIR_")]
8306 public enum MenuDirectionType {
8312 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MESSAGE_")]
8313 public enum MessageType {
8320 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MOVEMENT_")]
8321 public enum MovementStep {
8333 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NOTEBOOK_TAB_")]
8334 public enum NotebookTab {
8338 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NUMBER_UP_LAYOUT_")]
8339 public enum NumberUpLayout {
8340 LEFT_TO_RIGHT_TOP_TO_BOTTOM,
8341 LEFT_TO_RIGHT_BOTTOM_TO_TOP,
8342 RIGHT_TO_LEFT_TOP_TO_BOTTOM,
8343 RIGHT_TO_LEFT_BOTTOM_TO_TOP,
8344 TOP_TO_BOTTOM_LEFT_TO_RIGHT,
8345 TOP_TO_BOTTOM_RIGHT_TO_LEFT,
8346 BOTTOM_TO_TOP_LEFT_TO_RIGHT,
8347 BOTTOM_TO_TOP_RIGHT_TO_LEFT
8349 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ORIENTATION_")]
8350 public enum Orientation {
8354 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_DIRECTION_")]
8355 public enum PackDirection {
8361 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_")]
8362 public enum PackType {
8366 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAD_ACTION_")]
8367 public enum PadActionType {
8372 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_ORIENTATION_")]
8373 public enum PageOrientation {
8379 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_SET_")]
8380 public enum PageSet {
8385 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAN_DIRECTION_")]
8386 public enum PanDirection {
8392 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_PRIO_")]
8393 public enum PathPriorityType {
8401 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_")]
8402 public enum PathType {
8407 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PLACES_OPEN_")]
8409 public enum PlacesOpenFlags {
8414 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POLICY_")]
8415 public enum PolicyType {
8421 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POPOVER_CONSTRAINT_")]
8422 public enum PopoverConstraint {
8426 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POS_")]
8427 public enum PositionType {
8433 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_DUPLEX_")]
8434 public enum PrintDuplex {
8439 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_ACTION_")]
8440 public enum PrintOperationAction {
8446 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_RESULT_")]
8447 public enum PrintOperationResult {
8453 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_PAGES_")]
8454 public enum PrintPages {
8460 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_QUALITY_")]
8461 public enum PrintQuality {
8467 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_STATUS_")]
8468 public enum PrintStatus {
8479 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PHASE_")]
8480 public enum PropagationPhase {
8486 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_")]
8488 public enum RcFlags {
8494 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_TOKEN_")]
8495 public enum RcTokenType {
8537 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_FILTER_")]
8539 public enum RecentFilterFlags {
8547 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_SORT_")]
8548 public enum RecentSortType {
8554 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REGION_")]
8556 public enum RegionFlags {
8564 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RELIEF_")]
8565 public enum ReliefStyle {
8570 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESIZE_")]
8571 public enum ResizeMode {
8574 [Version (deprecated = true)]
8577 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESPONSE_")]
8578 public enum ResponseType {
8591 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REVEALER_TRANSITION_TYPE_")]
8592 public enum RevealerTransitionType {
8600 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_")]
8601 public enum ScrollStep {
8609 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_")]
8610 public enum ScrollType {
8628 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_")]
8629 public enum ScrollablePolicy {
8633 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SELECTION_")]
8634 public enum SelectionMode {
8640 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SENSITIVITY_")]
8641 public enum SensitivityType {
8646 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHADOW_")]
8647 public enum ShadowType {
8654 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHORTCUT_")]
8655 public enum ShortcutType {
8659 GESTURE_ROTATE_CLOCKWISE,
8660 GESTURE_ROTATE_COUNTERCLOCKWISE,
8661 GESTURE_TWO_FINGER_SWIPE_LEFT,
8662 GESTURE_TWO_FINGER_SWIPE_RIGHT,
8665 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_GROUP_")]
8666 public enum SizeGroupMode {
8672 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_REQUEST_")]
8673 public enum SizeRequestMode {
8678 [CCode (cheader_filename = "gtk/gtk.h", cname = "gint")]
8679 public enum SortColumn {
8680 [CCode (cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
8682 [CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
8685 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SORT_")]
8686 public enum SortType {
8690 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UPDATE_")]
8691 public enum SpinButtonUpdatePolicy {
8695 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SPIN_")]
8696 public enum SpinType {
8705 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STACK_TRANSITION_TYPE_")]
8706 public enum StackTransitionType {
8728 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_FLAG_")]
8730 public enum StateFlags {
8746 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_")]
8747 public enum StateType {
8756 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STYLE_CONTEXT_PRINT_")]
8758 public enum StyleContextPrintFlags {
8763 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TARGET_")]
8765 public enum TargetFlags {
8771 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_BUFFER_TARGET_INFO_")]
8772 public enum TextBufferTargetInfo {
8777 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_DIR_")]
8778 public enum TextDirection {
8783 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_EXTEND_SELECTION_")]
8784 public enum TextExtendSelection {
8788 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_SEARCH_")]
8790 public enum TextSearchFlags {
8795 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_VIEW_LAYER_")]
8796 public enum TextViewLayer {
8802 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_WINDOW_")]
8803 public enum TextWindowType {
8812 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOL_PALETTE_DRAG_")]
8814 public enum ToolPaletteDragTargets {
8818 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_SPACE_")]
8819 public enum ToolbarSpaceStyle {
8823 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_")]
8824 public enum ToolbarStyle {
8830 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_MODEL_")]
8832 public enum TreeModelFlags {
8836 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_COLUMN_")]
8837 public enum TreeViewColumnSizing {
8842 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_DROP_")]
8843 public enum TreeViewDropPosition {
8849 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_GRID_LINES_")]
8850 public enum TreeViewGridLines {
8856 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UI_MANAGER_")]
8858 public enum UIManagerItemType {
8871 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UNIT_")]
8878 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIDGET_HELP_")]
8879 public enum WidgetHelpType {
8883 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIN_POS_")]
8884 public enum WindowPosition {
8891 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WINDOW_")]
8892 public enum WindowType {
8896 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WRAP_")]
8897 public enum WrapMode {
8903 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUILDER_ERROR_")]
8904 public errordomain BuilderError {
8905 INVALID_TYPE_FUNCTION,
8910 MISSING_PROPERTY_VALUE,
8914 OBJECT_TYPE_REFUSED,
8919 public static GLib.Quark quark ();
8921 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PROVIDER_ERROR_")]
8922 public errordomain CssProviderError {
8929 public static GLib.Quark quark ();
8931 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")]
8932 public errordomain FileChooserError {
8936 INCOMPLETE_HOSTNAME;
8937 public static GLib.Quark quark ();
8939 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")]
8940 public errordomain IconThemeError {
8943 public static GLib.Quark quark ();
8945 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
8946 public errordomain PrintError {
8951 public static GLib.Quark quark ();
8953 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")]
8954 public errordomain RecentChooserError {
8957 public static GLib.Quark quark ();
8959 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")]
8960 public errordomain RecentManagerError {
8968 public static GLib.Quark quark ();
8970 [CCode (cheader_filename = "gtk/gtk.h")]
8971 public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
8972 [CCode (cheader_filename = "gtk/gtk.h")]
8973 public delegate bool AccelGroupFindFunc (Gtk.AccelKey key, GLib.Closure closure);
8974 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8975 public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);
8976 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
8977 public delegate void ActionCallback (Gtk.Action action);
8978 [CCode (cheader_filename = "gtk/gtk.h")]
8979 public delegate int AssistantPageFunc (int current_page);
8980 [CCode (cheader_filename = "gtk/gtk.h")]
8981 public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object? connect_object, GLib.ConnectFlags flags);
8982 [CCode (cheader_filename = "gtk/gtk.h")]
8983 public delegate string CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
8984 [CCode (cheader_filename = "gtk/gtk.h")]
8985 public delegate void Callback (Gtk.Widget widget);
8986 [CCode (cheader_filename = "gtk/gtk.h")]
8987 public delegate bool CellAllocCallback (Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle cell_background);
8988 [CCode (cheader_filename = "gtk/gtk.h")]
8989 public delegate bool CellCallback (Gtk.CellRenderer renderer);
8990 [CCode (cheader_filename = "gtk/gtk.h")]
8991 public delegate void CellLayoutDataFunc (Gtk.CellLayout cell_layout, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
8992 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8993 public delegate void ClipboardClearFunc (Gtk.Clipboard clipboard, void* user_data_or_owner);
8994 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
8995 public delegate void ClipboardGetFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data, uint info, void* user_data_or_owner);
8996 [CCode (cheader_filename = "gtk/gtk.h")]
8997 public delegate void ClipboardImageReceivedFunc (Gtk.Clipboard clipboard, Gdk.Pixbuf pixbuf);
8998 [CCode (cheader_filename = "gtk/gtk.h")]
8999 public delegate void ClipboardReceivedFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data);
9000 [CCode (cheader_filename = "gtk/gtk.h")]
9001 public delegate void ClipboardRichTextReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom format, [CCode (array_length_type = "gsize")] uint8[] text);
9002 [CCode (cheader_filename = "gtk/gtk.h")]
9003 public delegate void ClipboardTargetsReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom[] atoms);
9004 [CCode (cheader_filename = "gtk/gtk.h")]
9005 public delegate void ClipboardTextReceivedFunc (Gtk.Clipboard clipboard, string? text);
9006 [CCode (cheader_filename = "gtk/gtk.h")]
9007 public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length = false, array_null_terminated = true)] string[] uris);
9008 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
9009 public delegate void ColorSelectionChangePaletteFunc (Gdk.Color[] colors);
9010 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
9011 public delegate void ColorSelectionChangePaletteWithScreenFunc (Gdk.Screen screen, Gdk.Color[] colors);
9012 [CCode (cheader_filename = "gtk/gtk.h")]
9013 public delegate bool EntryCompletionMatchFunc (Gtk.EntryCompletion completion, string key, Gtk.TreeIter iter);
9014 [CCode (cheader_filename = "gtk/gtk.h")]
9015 public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
9016 [CCode (cheader_filename = "gtk/gtk.h")]
9017 public delegate Gtk.Widget FlowBoxCreateWidgetFunc (GLib.Object item);
9018 [CCode (cheader_filename = "gtk/gtk.h")]
9019 public delegate bool FlowBoxFilterFunc (Gtk.FlowBoxChild child);
9020 [CCode (cheader_filename = "gtk/gtk.h")]
9021 public delegate void FlowBoxForeachFunc (Gtk.FlowBox box, Gtk.FlowBoxChild child);
9022 [CCode (cheader_filename = "gtk/gtk.h")]
9023 public delegate int FlowBoxSortFunc (Gtk.FlowBoxChild child1, Gtk.FlowBoxChild child2);
9024 [CCode (cheader_filename = "gtk/gtk.h")]
9025 public delegate bool FontFilterFunc (Pango.FontFamily family, Pango.FontFace face);
9026 [CCode (cheader_filename = "gtk/gtk.h")]
9027 public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
9028 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
9029 public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event);
9030 [CCode (cheader_filename = "gtk/gtk.h")]
9031 public delegate Gtk.Widget ListBoxCreateWidgetFunc (GLib.Object item);
9032 [CCode (cheader_filename = "gtk/gtk.h")]
9033 public delegate bool ListBoxFilterFunc (Gtk.ListBoxRow row);
9034 [CCode (cheader_filename = "gtk/gtk.h")]
9035 public delegate void ListBoxForeachFunc (Gtk.ListBox box, Gtk.ListBoxRow row);
9036 [CCode (cheader_filename = "gtk/gtk.h")]
9037 public delegate int ListBoxSortFunc (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2);
9038 [CCode (cheader_filename = "gtk/gtk.h")]
9039 public delegate void ListBoxUpdateHeaderFunc (Gtk.ListBoxRow row, Gtk.ListBoxRow? before);
9040 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
9041 public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
9042 [CCode (cheader_filename = "gtk/gtk.h")]
9043 public delegate void MenuPositionFunc (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
9044 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
9045 public delegate void ModuleDisplayInitFunc (Gdk.Display display);
9046 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
9047 public delegate void ModuleInitFunc (string[]? argv);
9048 [CCode (cheader_filename = "gtk/gtk.h")]
9049 public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup);
9050 [CCode (cheader_filename = "gtk/gtk.h")]
9051 public delegate void PrintSettingsFunc (string key, string value);
9052 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
9053 public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
9054 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
9055 public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
9056 [CCode (cheader_filename = "gtk/gtk.h")]
9057 public delegate bool RecentFilterFunc (Gtk.RecentFilterInfo filter_info);
9058 [CCode (cheader_filename = "gtk/gtk.h")]
9059 public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
9060 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
9061 public delegate bool StylePropertyParser (string str, GLib.Value value) throws GLib.Error;
9062 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
9063 public delegate bool TextBufferDeserializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter iter, [CCode (array_length_type = "gsize")] uint8[] data, bool create_tags) throws GLib.Error;
9064 [CCode (cheader_filename = "gtk/gtk.h")]
9065 public delegate uchar TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
9066 [CCode (cheader_filename = "gtk/gtk.h")]
9067 public delegate bool TextCharPredicate (unichar ch);
9068 [CCode (cheader_filename = "gtk/gtk.h")]
9069 public delegate void TextTagTableForeach (Gtk.TextTag tag);
9070 [CCode (cheader_filename = "gtk/gtk.h")]
9071 public delegate bool TickCallback (Gtk.Widget widget, Gdk.FrameClock frame_clock);
9072 [CCode (cheader_filename = "gtk/gtk.h")]
9073 public delegate string TranslateFunc (string path);
9074 [CCode (cheader_filename = "gtk/gtk.h")]
9075 public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
9076 [CCode (cheader_filename = "gtk/gtk.h")]
9077 public delegate void TreeDestroyCountFunc (Gtk.TreeView tree_view, Gtk.TreePath path, int children);
9078 [CCode (cheader_filename = "gtk/gtk.h")]
9079 public delegate int TreeIterCompareFunc (Gtk.TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b);
9080 [CCode (cheader_filename = "gtk/gtk.h")]
9081 public delegate void TreeModelFilterModifyFunc (Gtk.TreeModel model, Gtk.TreeIter iter, out GLib.Value value, int column);
9082 [CCode (cheader_filename = "gtk/gtk.h")]
9083 public delegate bool TreeModelFilterVisibleFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
9084 [CCode (cheader_filename = "gtk/gtk.h")]
9085 public delegate bool TreeModelForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
9086 [CCode (cheader_filename = "gtk/gtk.h")]
9087 public delegate void TreeSelectionForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
9088 [CCode (cheader_filename = "gtk/gtk.h")]
9089 public delegate bool TreeSelectionFunc (Gtk.TreeSelection selection, Gtk.TreeModel model, Gtk.TreePath path, bool path_currently_selected);
9090 [CCode (cheader_filename = "gtk/gtk.h")]
9091 public delegate bool TreeViewColumnDropFunc (Gtk.TreeView tree_view, Gtk.TreeViewColumn column, Gtk.TreeViewColumn prev_column, Gtk.TreeViewColumn next_column);
9092 [CCode (cheader_filename = "gtk/gtk.h")]
9093 public delegate void TreeViewMappingFunc (Gtk.TreeView tree_view, Gtk.TreePath path);
9094 [CCode (cheader_filename = "gtk/gtk.h")]
9095 public delegate bool TreeViewRowSeparatorFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
9096 [CCode (cheader_filename = "gtk/gtk.h")]
9097 public delegate bool TreeViewSearchEqualFunc (Gtk.TreeModel model, int column, string key, Gtk.TreeIter iter);
9098 [CCode (cheader_filename = "gtk/gtk.h")]
9099 public delegate void TreeViewSearchPositionFunc (Gtk.TreeView tree_view, Gtk.Widget search_dialog);
9100 [CCode (cheader_filename = "gtk/gtk.h")]
9101 public const int BINARY_AGE;
9102 [CCode (cheader_filename = "gtk/gtk.h")]
9103 public const int INPUT_ERROR;
9104 [CCode (cheader_filename = "gtk/gtk.h")]
9105 public const int INTERFACE_AGE;
9106 [CCode (cheader_filename = "gtk/gtk.h")]
9107 public const string LEVEL_BAR_OFFSET_FULL;
9108 [CCode (cheader_filename = "gtk/gtk.h")]
9109 public const string LEVEL_BAR_OFFSET_HIGH;
9110 [CCode (cheader_filename = "gtk/gtk.h")]
9111 public const string LEVEL_BAR_OFFSET_LOW;
9112 [CCode (cheader_filename = "gtk/gtk.h")]
9113 public const int MAJOR_VERSION;
9114 [CCode (cheader_filename = "gtk/gtk.h")]
9115 public const int MAX_COMPOSE_LEN;
9116 [CCode (cheader_filename = "gtk/gtk.h")]
9117 public const int MICRO_VERSION;
9118 [CCode (cheader_filename = "gtk/gtk.h")]
9119 public const int MINOR_VERSION;
9120 [CCode (cheader_filename = "gtk/gtk.h")]
9121 public const string PAPER_NAME_A3;
9122 [CCode (cheader_filename = "gtk/gtk.h")]
9123 public const string PAPER_NAME_A4;
9124 [CCode (cheader_filename = "gtk/gtk.h")]
9125 public const string PAPER_NAME_A5;
9126 [CCode (cheader_filename = "gtk/gtk.h")]
9127 public const string PAPER_NAME_B5;
9128 [CCode (cheader_filename = "gtk/gtk.h")]
9129 public const string PAPER_NAME_EXECUTIVE;
9130 [CCode (cheader_filename = "gtk/gtk.h")]
9131 public const string PAPER_NAME_LEGAL;
9132 [CCode (cheader_filename = "gtk/gtk.h")]
9133 public const string PAPER_NAME_LETTER;
9134 [CCode (cheader_filename = "gtk/gtk.h")]
9135 public const int PATH_PRIO_MASK;
9136 [CCode (cheader_filename = "gtk/gtk.h")]
9137 public const string PRINT_SETTINGS_COLLATE;
9138 [CCode (cheader_filename = "gtk/gtk.h")]
9139 public const string PRINT_SETTINGS_DEFAULT_SOURCE;
9140 [CCode (cheader_filename = "gtk/gtk.h")]
9141 public const string PRINT_SETTINGS_DITHER;
9142 [CCode (cheader_filename = "gtk/gtk.h")]
9143 public const string PRINT_SETTINGS_DUPLEX;
9144 [CCode (cheader_filename = "gtk/gtk.h")]
9145 public const string PRINT_SETTINGS_FINISHINGS;
9146 [CCode (cheader_filename = "gtk/gtk.h")]
9147 public const string PRINT_SETTINGS_MEDIA_TYPE;
9148 [CCode (cheader_filename = "gtk/gtk.h")]
9149 public const string PRINT_SETTINGS_NUMBER_UP;
9150 [CCode (cheader_filename = "gtk/gtk.h")]
9151 public const string PRINT_SETTINGS_NUMBER_UP_LAYOUT;
9152 [CCode (cheader_filename = "gtk/gtk.h")]
9153 public const string PRINT_SETTINGS_N_COPIES;
9154 [CCode (cheader_filename = "gtk/gtk.h")]
9155 public const string PRINT_SETTINGS_ORIENTATION;
9156 [CCode (cheader_filename = "gtk/gtk.h")]
9157 public const string PRINT_SETTINGS_OUTPUT_BASENAME;
9158 [CCode (cheader_filename = "gtk/gtk.h")]
9159 public const string PRINT_SETTINGS_OUTPUT_BIN;
9160 [CCode (cheader_filename = "gtk/gtk.h")]
9161 public const string PRINT_SETTINGS_OUTPUT_DIR;
9162 [CCode (cheader_filename = "gtk/gtk.h")]
9163 public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT;
9164 [CCode (cheader_filename = "gtk/gtk.h")]
9165 public const string PRINT_SETTINGS_OUTPUT_URI;
9166 [CCode (cheader_filename = "gtk/gtk.h")]
9167 public const string PRINT_SETTINGS_PAGE_RANGES;
9168 [CCode (cheader_filename = "gtk/gtk.h")]
9169 public const string PRINT_SETTINGS_PAGE_SET;
9170 [CCode (cheader_filename = "gtk/gtk.h")]
9171 public const string PRINT_SETTINGS_PAPER_FORMAT;
9172 [CCode (cheader_filename = "gtk/gtk.h")]
9173 public const string PRINT_SETTINGS_PAPER_HEIGHT;
9174 [CCode (cheader_filename = "gtk/gtk.h")]
9175 public const string PRINT_SETTINGS_PAPER_WIDTH;
9176 [CCode (cheader_filename = "gtk/gtk.h")]
9177 public const string PRINT_SETTINGS_PRINTER;
9178 [CCode (cheader_filename = "gtk/gtk.h")]
9179 public const string PRINT_SETTINGS_PRINTER_LPI;
9180 [CCode (cheader_filename = "gtk/gtk.h")]
9181 public const string PRINT_SETTINGS_PRINT_PAGES;
9182 [CCode (cheader_filename = "gtk/gtk.h")]
9183 public const string PRINT_SETTINGS_QUALITY;
9184 [CCode (cheader_filename = "gtk/gtk.h")]
9185 public const string PRINT_SETTINGS_RESOLUTION;
9186 [CCode (cheader_filename = "gtk/gtk.h")]
9187 public const string PRINT_SETTINGS_RESOLUTION_X;
9188 [CCode (cheader_filename = "gtk/gtk.h")]
9189 public const string PRINT_SETTINGS_RESOLUTION_Y;
9190 [CCode (cheader_filename = "gtk/gtk.h")]
9191 public const string PRINT_SETTINGS_REVERSE;
9192 [CCode (cheader_filename = "gtk/gtk.h")]
9193 public const string PRINT_SETTINGS_SCALE;
9194 [CCode (cheader_filename = "gtk/gtk.h")]
9195 public const string PRINT_SETTINGS_USE_COLOR;
9196 [CCode (cheader_filename = "gtk/gtk.h")]
9197 public const string PRINT_SETTINGS_WIN32_DRIVER_EXTRA;
9198 [CCode (cheader_filename = "gtk/gtk.h")]
9199 public const string PRINT_SETTINGS_WIN32_DRIVER_VERSION;
9200 [CCode (cheader_filename = "gtk/gtk.h")]
9201 public const int PRIORITY_RESIZE;
9202 [CCode (cheader_filename = "gtk/gtk.h")]
9203 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
9204 public const string STOCK_ABOUT;
9205 [CCode (cheader_filename = "gtk/gtk.h")]
9206 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
9207 public const string STOCK_ADD;
9208 [CCode (cheader_filename = "gtk/gtk.h")]
9209 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
9210 public const string STOCK_APPLY;
9211 [CCode (cheader_filename = "gtk/gtk.h")]
9212 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
9213 public const string STOCK_BOLD;
9214 [CCode (cheader_filename = "gtk/gtk.h")]
9215 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
9216 public const string STOCK_CANCEL;
9217 [CCode (cheader_filename = "gtk/gtk.h")]
9218 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
9219 public const string STOCK_CAPS_LOCK_WARNING;
9220 [CCode (cheader_filename = "gtk/gtk.h")]
9221 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
9222 public const string STOCK_CDROM;
9223 [CCode (cheader_filename = "gtk/gtk.h")]
9224 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
9225 public const string STOCK_CLEAR;
9226 [CCode (cheader_filename = "gtk/gtk.h")]
9227 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
9228 public const string STOCK_CLOSE;
9229 [CCode (cheader_filename = "gtk/gtk.h")]
9230 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
9231 public const string STOCK_COLOR_PICKER;
9232 [CCode (cheader_filename = "gtk/gtk.h")]
9233 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
9234 public const string STOCK_CONNECT;
9235 [CCode (cheader_filename = "gtk/gtk.h")]
9236 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
9237 public const string STOCK_CONVERT;
9238 [CCode (cheader_filename = "gtk/gtk.h")]
9239 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
9240 public const string STOCK_COPY;
9241 [CCode (cheader_filename = "gtk/gtk.h")]
9242 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
9243 public const string STOCK_CUT;
9244 [CCode (cheader_filename = "gtk/gtk.h")]
9245 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
9246 public const string STOCK_DELETE;
9247 [CCode (cheader_filename = "gtk/gtk.h")]
9248 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
9249 public const string STOCK_DIALOG_AUTHENTICATION;
9250 [CCode (cheader_filename = "gtk/gtk.h")]
9251 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
9252 public const string STOCK_DIALOG_ERROR;
9253 [CCode (cheader_filename = "gtk/gtk.h")]
9254 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
9255 public const string STOCK_DIALOG_INFO;
9256 [CCode (cheader_filename = "gtk/gtk.h")]
9257 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
9258 public const string STOCK_DIALOG_QUESTION;
9259 [CCode (cheader_filename = "gtk/gtk.h")]
9260 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
9261 public const string STOCK_DIALOG_WARNING;
9262 [CCode (cheader_filename = "gtk/gtk.h")]
9263 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
9264 public const string STOCK_DIRECTORY;
9265 [CCode (cheader_filename = "gtk/gtk.h")]
9266 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
9267 public const string STOCK_DISCARD;
9268 [CCode (cheader_filename = "gtk/gtk.h")]
9269 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
9270 public const string STOCK_DISCONNECT;
9271 [CCode (cheader_filename = "gtk/gtk.h")]
9272 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND")]
9273 public const string STOCK_DND;
9274 [CCode (cheader_filename = "gtk/gtk.h")]
9275 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
9276 public const string STOCK_DND_MULTIPLE;
9277 [CCode (cheader_filename = "gtk/gtk.h")]
9278 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
9279 public const string STOCK_EDIT;
9280 [CCode (cheader_filename = "gtk/gtk.h")]
9281 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
9282 public const string STOCK_EXECUTE;
9283 [CCode (cheader_filename = "gtk/gtk.h")]
9284 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
9285 public const string STOCK_FILE;
9286 [CCode (cheader_filename = "gtk/gtk.h")]
9287 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
9288 public const string STOCK_FIND;
9289 [CCode (cheader_filename = "gtk/gtk.h")]
9290 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
9291 public const string STOCK_FIND_AND_REPLACE;
9292 [CCode (cheader_filename = "gtk/gtk.h")]
9293 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
9294 public const string STOCK_FLOPPY;
9295 [CCode (cheader_filename = "gtk/gtk.h")]
9296 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
9297 public const string STOCK_FULLSCREEN;
9298 [CCode (cheader_filename = "gtk/gtk.h")]
9299 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
9300 public const string STOCK_GOTO_BOTTOM;
9301 [CCode (cheader_filename = "gtk/gtk.h")]
9302 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
9303 public const string STOCK_GOTO_FIRST;
9304 [CCode (cheader_filename = "gtk/gtk.h")]
9305 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
9306 public const string STOCK_GOTO_LAST;
9307 [CCode (cheader_filename = "gtk/gtk.h")]
9308 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
9309 public const string STOCK_GOTO_TOP;
9310 [CCode (cheader_filename = "gtk/gtk.h")]
9311 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
9312 public const string STOCK_GO_BACK;
9313 [CCode (cheader_filename = "gtk/gtk.h")]
9314 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
9315 public const string STOCK_GO_DOWN;
9316 [CCode (cheader_filename = "gtk/gtk.h")]
9317 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
9318 public const string STOCK_GO_FORWARD;
9319 [CCode (cheader_filename = "gtk/gtk.h")]
9320 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
9321 public const string STOCK_GO_UP;
9322 [CCode (cheader_filename = "gtk/gtk.h")]
9323 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
9324 public const string STOCK_HARDDISK;
9325 [CCode (cheader_filename = "gtk/gtk.h")]
9326 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
9327 public const string STOCK_HELP;
9328 [CCode (cheader_filename = "gtk/gtk.h")]
9329 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
9330 public const string STOCK_HOME;
9331 [CCode (cheader_filename = "gtk/gtk.h")]
9332 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
9333 public const string STOCK_INDENT;
9334 [CCode (cheader_filename = "gtk/gtk.h")]
9335 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
9336 public const string STOCK_INDEX;
9337 [CCode (cheader_filename = "gtk/gtk.h")]
9338 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
9339 public const string STOCK_INFO;
9340 [CCode (cheader_filename = "gtk/gtk.h")]
9341 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
9342 public const string STOCK_ITALIC;
9343 [CCode (cheader_filename = "gtk/gtk.h")]
9344 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
9345 public const string STOCK_JUMP_TO;
9346 [CCode (cheader_filename = "gtk/gtk.h")]
9347 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
9348 public const string STOCK_JUSTIFY_CENTER;
9349 [CCode (cheader_filename = "gtk/gtk.h")]
9350 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
9351 public const string STOCK_JUSTIFY_FILL;
9352 [CCode (cheader_filename = "gtk/gtk.h")]
9353 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
9354 public const string STOCK_JUSTIFY_LEFT;
9355 [CCode (cheader_filename = "gtk/gtk.h")]
9356 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
9357 public const string STOCK_JUSTIFY_RIGHT;
9358 [CCode (cheader_filename = "gtk/gtk.h")]
9359 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
9360 public const string STOCK_LEAVE_FULLSCREEN;
9361 [CCode (cheader_filename = "gtk/gtk.h")]
9362 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
9363 public const string STOCK_MEDIA_FORWARD;
9364 [CCode (cheader_filename = "gtk/gtk.h")]
9365 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
9366 public const string STOCK_MEDIA_NEXT;
9367 [CCode (cheader_filename = "gtk/gtk.h")]
9368 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
9369 public const string STOCK_MEDIA_PAUSE;
9370 [CCode (cheader_filename = "gtk/gtk.h")]
9371 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
9372 public const string STOCK_MEDIA_PLAY;
9373 [CCode (cheader_filename = "gtk/gtk.h")]
9374 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
9375 public const string STOCK_MEDIA_PREVIOUS;
9376 [CCode (cheader_filename = "gtk/gtk.h")]
9377 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
9378 public const string STOCK_MEDIA_RECORD;
9379 [CCode (cheader_filename = "gtk/gtk.h")]
9380 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
9381 public const string STOCK_MEDIA_REWIND;
9382 [CCode (cheader_filename = "gtk/gtk.h")]
9383 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
9384 public const string STOCK_MEDIA_STOP;
9385 [CCode (cheader_filename = "gtk/gtk.h")]
9386 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
9387 public const string STOCK_MISSING_IMAGE;
9388 [CCode (cheader_filename = "gtk/gtk.h")]
9389 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
9390 public const string STOCK_NETWORK;
9391 [CCode (cheader_filename = "gtk/gtk.h")]
9392 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
9393 public const string STOCK_NEW;
9394 [CCode (cheader_filename = "gtk/gtk.h")]
9395 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NO")]
9396 public const string STOCK_NO;
9397 [CCode (cheader_filename = "gtk/gtk.h")]
9398 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OK")]
9399 public const string STOCK_OK;
9400 [CCode (cheader_filename = "gtk/gtk.h")]
9401 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
9402 public const string STOCK_OPEN;
9403 [CCode (cheader_filename = "gtk/gtk.h")]
9404 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
9405 public const string STOCK_ORIENTATION_LANDSCAPE;
9406 [CCode (cheader_filename = "gtk/gtk.h")]
9407 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
9408 public const string STOCK_ORIENTATION_PORTRAIT;
9409 [CCode (cheader_filename = "gtk/gtk.h")]
9410 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
9411 public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE;
9412 [CCode (cheader_filename = "gtk/gtk.h")]
9413 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
9414 public const string STOCK_ORIENTATION_REVERSE_PORTRAIT;
9415 [CCode (cheader_filename = "gtk/gtk.h")]
9416 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
9417 public const string STOCK_PAGE_SETUP;
9418 [CCode (cheader_filename = "gtk/gtk.h")]
9419 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
9420 public const string STOCK_PASTE;
9421 [CCode (cheader_filename = "gtk/gtk.h")]
9422 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
9423 public const string STOCK_PREFERENCES;
9424 [CCode (cheader_filename = "gtk/gtk.h")]
9425 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
9426 public const string STOCK_PRINT;
9427 [CCode (cheader_filename = "gtk/gtk.h")]
9428 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
9429 public const string STOCK_PRINT_ERROR;
9430 [CCode (cheader_filename = "gtk/gtk.h")]
9431 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
9432 public const string STOCK_PRINT_PAUSED;
9433 [CCode (cheader_filename = "gtk/gtk.h")]
9434 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
9435 public const string STOCK_PRINT_PREVIEW;
9436 [CCode (cheader_filename = "gtk/gtk.h")]
9437 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
9438 public const string STOCK_PRINT_REPORT;
9439 [CCode (cheader_filename = "gtk/gtk.h")]
9440 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
9441 public const string STOCK_PRINT_WARNING;
9442 [CCode (cheader_filename = "gtk/gtk.h")]
9443 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
9444 public const string STOCK_PROPERTIES;
9445 [CCode (cheader_filename = "gtk/gtk.h")]
9446 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
9447 public const string STOCK_QUIT;
9448 [CCode (cheader_filename = "gtk/gtk.h")]
9449 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
9450 public const string STOCK_REDO;
9451 [CCode (cheader_filename = "gtk/gtk.h")]
9452 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
9453 public const string STOCK_REFRESH;
9454 [CCode (cheader_filename = "gtk/gtk.h")]
9455 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
9456 public const string STOCK_REMOVE;
9457 [CCode (cheader_filename = "gtk/gtk.h")]
9458 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
9459 public const string STOCK_REVERT_TO_SAVED;
9460 [CCode (cheader_filename = "gtk/gtk.h")]
9461 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
9462 public const string STOCK_SAVE;
9463 [CCode (cheader_filename = "gtk/gtk.h")]
9464 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
9465 public const string STOCK_SAVE_AS;
9466 [CCode (cheader_filename = "gtk/gtk.h")]
9467 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
9468 public const string STOCK_SELECT_ALL;
9469 [CCode (cheader_filename = "gtk/gtk.h")]
9470 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
9471 public const string STOCK_SELECT_COLOR;
9472 [CCode (cheader_filename = "gtk/gtk.h")]
9473 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
9474 public const string STOCK_SELECT_FONT;
9475 [CCode (cheader_filename = "gtk/gtk.h")]
9476 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
9477 public const string STOCK_SORT_ASCENDING;
9478 [CCode (cheader_filename = "gtk/gtk.h")]
9479 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
9480 public const string STOCK_SORT_DESCENDING;
9481 [CCode (cheader_filename = "gtk/gtk.h")]
9482 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
9483 public const string STOCK_SPELL_CHECK;
9484 [CCode (cheader_filename = "gtk/gtk.h")]
9485 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
9486 public const string STOCK_STOP;
9487 [CCode (cheader_filename = "gtk/gtk.h")]
9488 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
9489 public const string STOCK_STRIKETHROUGH;
9490 [CCode (cheader_filename = "gtk/gtk.h")]
9491 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
9492 public const string STOCK_UNDELETE;
9493 [CCode (cheader_filename = "gtk/gtk.h")]
9494 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
9495 public const string STOCK_UNDERLINE;
9496 [CCode (cheader_filename = "gtk/gtk.h")]
9497 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
9498 public const string STOCK_UNDO;
9499 [CCode (cheader_filename = "gtk/gtk.h")]
9500 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
9501 public const string STOCK_UNINDENT;
9502 [CCode (cheader_filename = "gtk/gtk.h")]
9503 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.YES")]
9504 public const string STOCK_YES;
9505 [CCode (cheader_filename = "gtk/gtk.h")]
9506 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
9507 public const string STOCK_ZOOM_100;
9508 [CCode (cheader_filename = "gtk/gtk.h")]
9509 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
9510 public const string STOCK_ZOOM_FIT;
9511 [CCode (cheader_filename = "gtk/gtk.h")]
9512 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
9513 public const string STOCK_ZOOM_IN;
9514 [CCode (cheader_filename = "gtk/gtk.h")]
9515 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
9516 public const string STOCK_ZOOM_OUT;
9517 [CCode (cheader_filename = "gtk/gtk.h")]
9518 public const string STYLE_CLASS_ACCELERATOR;
9519 [CCode (cheader_filename = "gtk/gtk.h")]
9520 public const string STYLE_CLASS_ARROW;
9521 [CCode (cheader_filename = "gtk/gtk.h")]
9522 public const string STYLE_CLASS_BACKGROUND;
9523 [CCode (cheader_filename = "gtk/gtk.h")]
9524 public const string STYLE_CLASS_BOTTOM;
9525 [CCode (cheader_filename = "gtk/gtk.h")]
9526 public const string STYLE_CLASS_BUTTON;
9527 [CCode (cheader_filename = "gtk/gtk.h")]
9528 public const string STYLE_CLASS_CALENDAR;
9529 [CCode (cheader_filename = "gtk/gtk.h")]
9530 public const string STYLE_CLASS_CELL;
9531 [CCode (cheader_filename = "gtk/gtk.h")]
9532 public const string STYLE_CLASS_CHECK;
9533 [CCode (cheader_filename = "gtk/gtk.h")]
9534 public const string STYLE_CLASS_COMBOBOX_ENTRY;
9535 [CCode (cheader_filename = "gtk/gtk.h")]
9536 public const string STYLE_CLASS_CONTEXT_MENU;
9537 [CCode (cheader_filename = "gtk/gtk.h")]
9538 public const string STYLE_CLASS_CSD;
9539 [CCode (cheader_filename = "gtk/gtk.h")]
9540 public const string STYLE_CLASS_CURSOR_HANDLE;
9541 [CCode (cheader_filename = "gtk/gtk.h")]
9542 public const string STYLE_CLASS_DEFAULT;
9543 [CCode (cheader_filename = "gtk/gtk.h")]
9544 public const string STYLE_CLASS_DESTRUCTIVE_ACTION;
9545 [CCode (cheader_filename = "gtk/gtk.h")]
9546 public const string STYLE_CLASS_DIM_LABEL;
9547 [CCode (cheader_filename = "gtk/gtk.h")]
9548 public const string STYLE_CLASS_DND;
9549 [CCode (cheader_filename = "gtk/gtk.h")]
9550 public const string STYLE_CLASS_DOCK;
9551 [CCode (cheader_filename = "gtk/gtk.h")]
9552 public const string STYLE_CLASS_ENTRY;
9553 [CCode (cheader_filename = "gtk/gtk.h")]
9554 public const string STYLE_CLASS_ERROR;
9555 [CCode (cheader_filename = "gtk/gtk.h")]
9556 public const string STYLE_CLASS_EXPANDER;
9557 [CCode (cheader_filename = "gtk/gtk.h")]
9558 public const string STYLE_CLASS_FLAT;
9559 [CCode (cheader_filename = "gtk/gtk.h")]
9560 public const string STYLE_CLASS_FRAME;
9561 [CCode (cheader_filename = "gtk/gtk.h")]
9562 public const string STYLE_CLASS_GRIP;
9563 [CCode (cheader_filename = "gtk/gtk.h")]
9564 public const string STYLE_CLASS_HEADER;
9565 [CCode (cheader_filename = "gtk/gtk.h")]
9566 public const string STYLE_CLASS_HIGHLIGHT;
9567 [CCode (cheader_filename = "gtk/gtk.h")]
9568 public const string STYLE_CLASS_HORIZONTAL;
9569 [CCode (cheader_filename = "gtk/gtk.h")]
9570 public const string STYLE_CLASS_IMAGE;
9571 [CCode (cheader_filename = "gtk/gtk.h")]
9572 public const string STYLE_CLASS_INFO;
9573 [CCode (cheader_filename = "gtk/gtk.h")]
9574 public const string STYLE_CLASS_INLINE_TOOLBAR;
9575 [CCode (cheader_filename = "gtk/gtk.h")]
9576 public const string STYLE_CLASS_INSERTION_CURSOR;
9577 [CCode (cheader_filename = "gtk/gtk.h")]
9578 public const string STYLE_CLASS_LABEL;
9579 [CCode (cheader_filename = "gtk/gtk.h")]
9580 public const string STYLE_CLASS_LEFT;
9581 [CCode (cheader_filename = "gtk/gtk.h")]
9582 public const string STYLE_CLASS_LEVEL_BAR;
9583 [CCode (cheader_filename = "gtk/gtk.h")]
9584 public const string STYLE_CLASS_LINKED;
9585 [CCode (cheader_filename = "gtk/gtk.h")]
9586 public const string STYLE_CLASS_LIST;
9587 [CCode (cheader_filename = "gtk/gtk.h")]
9588 public const string STYLE_CLASS_LIST_ROW;
9589 [CCode (cheader_filename = "gtk/gtk.h")]
9590 public const string STYLE_CLASS_MARK;
9591 [CCode (cheader_filename = "gtk/gtk.h")]
9592 public const string STYLE_CLASS_MENU;
9593 [CCode (cheader_filename = "gtk/gtk.h")]
9594 public const string STYLE_CLASS_MENUBAR;
9595 [CCode (cheader_filename = "gtk/gtk.h")]
9596 public const string STYLE_CLASS_MENUITEM;
9597 [CCode (cheader_filename = "gtk/gtk.h")]
9598 public const string STYLE_CLASS_MESSAGE_DIALOG;
9599 [CCode (cheader_filename = "gtk/gtk.h")]
9600 public const string STYLE_CLASS_MONOSPACE;
9601 [CCode (cheader_filename = "gtk/gtk.h")]
9602 public const string STYLE_CLASS_NEEDS_ATTENTION;
9603 [CCode (cheader_filename = "gtk/gtk.h")]
9604 public const string STYLE_CLASS_NOTEBOOK;
9605 [CCode (cheader_filename = "gtk/gtk.h")]
9606 public const string STYLE_CLASS_OSD;
9607 [CCode (cheader_filename = "gtk/gtk.h")]
9608 public const string STYLE_CLASS_OVERSHOOT;
9609 [CCode (cheader_filename = "gtk/gtk.h")]
9610 public const string STYLE_CLASS_PANE_SEPARATOR;
9611 [CCode (cheader_filename = "gtk/gtk.h")]
9612 public const string STYLE_CLASS_PAPER;
9613 [CCode (cheader_filename = "gtk/gtk.h")]
9614 public const string STYLE_CLASS_POPOVER;
9615 [CCode (cheader_filename = "gtk/gtk.h")]
9616 public const string STYLE_CLASS_POPUP;
9617 [CCode (cheader_filename = "gtk/gtk.h")]
9618 public const string STYLE_CLASS_PRIMARY_TOOLBAR;
9619 [CCode (cheader_filename = "gtk/gtk.h")]
9620 public const string STYLE_CLASS_PROGRESSBAR;
9621 [CCode (cheader_filename = "gtk/gtk.h")]
9622 public const string STYLE_CLASS_PULSE;
9623 [CCode (cheader_filename = "gtk/gtk.h")]
9624 public const string STYLE_CLASS_QUESTION;
9625 [CCode (cheader_filename = "gtk/gtk.h")]
9626 public const string STYLE_CLASS_RADIO;
9627 [CCode (cheader_filename = "gtk/gtk.h")]
9628 public const string STYLE_CLASS_RAISED;
9629 [CCode (cheader_filename = "gtk/gtk.h")]
9630 public const string STYLE_CLASS_READ_ONLY;
9631 [CCode (cheader_filename = "gtk/gtk.h")]
9632 public const string STYLE_CLASS_RIGHT;
9633 [CCode (cheader_filename = "gtk/gtk.h")]
9634 public const string STYLE_CLASS_RUBBERBAND;
9635 [CCode (cheader_filename = "gtk/gtk.h")]
9636 public const string STYLE_CLASS_SCALE;
9637 [CCode (cheader_filename = "gtk/gtk.h")]
9638 public const string STYLE_CLASS_SCALE_HAS_MARKS_ABOVE;
9639 [CCode (cheader_filename = "gtk/gtk.h")]
9640 public const string STYLE_CLASS_SCALE_HAS_MARKS_BELOW;
9641 [CCode (cheader_filename = "gtk/gtk.h")]
9642 public const string STYLE_CLASS_SCROLLBAR;
9643 [CCode (cheader_filename = "gtk/gtk.h")]
9644 public const string STYLE_CLASS_SCROLLBARS_JUNCTION;
9645 [CCode (cheader_filename = "gtk/gtk.h")]
9646 public const string STYLE_CLASS_SEPARATOR;
9647 [CCode (cheader_filename = "gtk/gtk.h")]
9648 public const string STYLE_CLASS_SIDEBAR;
9649 [CCode (cheader_filename = "gtk/gtk.h")]
9650 public const string STYLE_CLASS_SLIDER;
9651 [CCode (cheader_filename = "gtk/gtk.h")]
9652 public const string STYLE_CLASS_SPINBUTTON;
9653 [CCode (cheader_filename = "gtk/gtk.h")]
9654 public const string STYLE_CLASS_SPINNER;
9655 [CCode (cheader_filename = "gtk/gtk.h")]
9656 public const string STYLE_CLASS_STATUSBAR;
9657 [CCode (cheader_filename = "gtk/gtk.h")]
9658 public const string STYLE_CLASS_SUBTITLE;
9659 [CCode (cheader_filename = "gtk/gtk.h")]
9660 public const string STYLE_CLASS_SUGGESTED_ACTION;
9661 [CCode (cheader_filename = "gtk/gtk.h")]
9662 public const string STYLE_CLASS_TITLE;
9663 [CCode (cheader_filename = "gtk/gtk.h")]
9664 public const string STYLE_CLASS_TITLEBAR;
9665 [CCode (cheader_filename = "gtk/gtk.h")]
9666 public const string STYLE_CLASS_TOOLBAR;
9667 [CCode (cheader_filename = "gtk/gtk.h")]
9668 public const string STYLE_CLASS_TOOLTIP;
9669 [CCode (cheader_filename = "gtk/gtk.h")]
9670 public const string STYLE_CLASS_TOP;
9671 [CCode (cheader_filename = "gtk/gtk.h")]
9672 public const string STYLE_CLASS_TOUCH_SELECTION;
9673 [CCode (cheader_filename = "gtk/gtk.h")]
9674 public const string STYLE_CLASS_TROUGH;
9675 [CCode (cheader_filename = "gtk/gtk.h")]
9676 public const string STYLE_CLASS_UNDERSHOOT;
9677 [CCode (cheader_filename = "gtk/gtk.h")]
9678 public const string STYLE_CLASS_VERTICAL;
9679 [CCode (cheader_filename = "gtk/gtk.h")]
9680 public const string STYLE_CLASS_VIEW;
9681 [CCode (cheader_filename = "gtk/gtk.h")]
9682 public const string STYLE_CLASS_WARNING;
9683 [CCode (cheader_filename = "gtk/gtk.h")]
9684 public const string STYLE_CLASS_WIDE;
9685 [CCode (cheader_filename = "gtk/gtk.h")]
9686 public const string STYLE_PROPERTY_BACKGROUND_COLOR;
9687 [CCode (cheader_filename = "gtk/gtk.h")]
9688 public const string STYLE_PROPERTY_BACKGROUND_IMAGE;
9689 [CCode (cheader_filename = "gtk/gtk.h")]
9690 public const string STYLE_PROPERTY_BORDER_COLOR;
9691 [CCode (cheader_filename = "gtk/gtk.h")]
9692 public const string STYLE_PROPERTY_BORDER_RADIUS;
9693 [CCode (cheader_filename = "gtk/gtk.h")]
9694 public const string STYLE_PROPERTY_BORDER_STYLE;
9695 [CCode (cheader_filename = "gtk/gtk.h")]
9696 public const string STYLE_PROPERTY_BORDER_WIDTH;
9697 [CCode (cheader_filename = "gtk/gtk.h")]
9698 public const string STYLE_PROPERTY_COLOR;
9699 [CCode (cheader_filename = "gtk/gtk.h")]
9700 public const string STYLE_PROPERTY_FONT;
9701 [CCode (cheader_filename = "gtk/gtk.h")]
9702 public const string STYLE_PROPERTY_MARGIN;
9703 [CCode (cheader_filename = "gtk/gtk.h")]
9704 public const string STYLE_PROPERTY_PADDING;
9705 [CCode (cheader_filename = "gtk/gtk.h")]
9706 public const int STYLE_PROVIDER_PRIORITY_APPLICATION;
9707 [CCode (cheader_filename = "gtk/gtk.h")]
9708 public const int STYLE_PROVIDER_PRIORITY_FALLBACK;
9709 [CCode (cheader_filename = "gtk/gtk.h")]
9710 public const int STYLE_PROVIDER_PRIORITY_SETTINGS;
9711 [CCode (cheader_filename = "gtk/gtk.h")]
9712 public const int STYLE_PROVIDER_PRIORITY_THEME;
9713 [CCode (cheader_filename = "gtk/gtk.h")]
9714 public const int STYLE_PROVIDER_PRIORITY_USER;
9715 [CCode (cheader_filename = "gtk/gtk.h")]
9716 public const string STYLE_REGION_COLUMN;
9717 [CCode (cheader_filename = "gtk/gtk.h")]
9718 public const string STYLE_REGION_COLUMN_HEADER;
9719 [CCode (cheader_filename = "gtk/gtk.h")]
9720 public const string STYLE_REGION_ROW;
9721 [CCode (cheader_filename = "gtk/gtk.h")]
9722 public const string STYLE_REGION_TAB;
9723 [CCode (cheader_filename = "gtk/gtk.h")]
9724 public const int TEXT_VIEW_PRIORITY_VALIDATE;
9725 [CCode (cheader_filename = "gtk/gtk.h")]
9726 public const int TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID;
9727 [CCode (cheader_filename = "gtk/gtk.h")]
9728 public const int TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID;
9729 [CCode (cheader_filename = "gtk/gtk.h")]
9730 public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods);
9731 [CCode (cheader_filename = "gtk/gtk.h")]
9732 public static unowned GLib.SList<Gtk.AccelGroup> accel_groups_from_object (GLib.Object object);
9733 [CCode (cheader_filename = "gtk/gtk.h")]
9734 public static Gdk.ModifierType accelerator_get_default_mod_mask ();
9735 [CCode (cheader_filename = "gtk/gtk.h")]
9736 public static string accelerator_get_label (uint accelerator_key, Gdk.ModifierType accelerator_mods);
9737 [CCode (cheader_filename = "gtk/gtk.h")]
9738 public static string accelerator_get_label_with_keycode (Gdk.Display display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
9739 [CCode (cheader_filename = "gtk/gtk.h")]
9740 public static string accelerator_name (uint accelerator_key, Gdk.ModifierType accelerator_mods);
9741 [CCode (cheader_filename = "gtk/gtk.h")]
9742 public static string accelerator_name_with_keycode (Gdk.Display display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
9743 [CCode (cheader_filename = "gtk/gtk.h")]
9744 public static void accelerator_parse (string accelerator, out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
9745 [CCode (cheader_filename = "gtk/gtk.h")]
9746 public static void accelerator_parse_with_keycode (string accelerator, out uint accelerator_key, [CCode (array_length = false, array_null_terminated = true)] out uint[] accelerator_codes, out Gdk.ModifierType accelerator_mods);
9747 [CCode (cheader_filename = "gtk/gtk.h")]
9748 public static void accelerator_set_default_mod_mask (Gdk.ModifierType default_mod_mask);
9749 [CCode (cheader_filename = "gtk/gtk.h")]
9750 public static bool accelerator_valid (uint keyval, Gdk.ModifierType modifiers);
9751 [CCode (cheader_filename = "gtk/gtk.h")]
9752 public static bool alternative_dialog_button_order (Gdk.Screen screen);
9753 [CCode (cheader_filename = "gtk/gtk.h")]
9754 public static bool bindings_activate (GLib.Object object, uint keyval, Gdk.ModifierType modifiers);
9755 [CCode (cheader_filename = "gtk/gtk.h")]
9756 public static bool bindings_activate_event (GLib.Object object, Gdk.EventKey event);
9757 [CCode (cheader_filename = "gtk/gtk.h")]
9758 public static bool cairo_should_draw_window (Cairo.Context cr, Gdk.Window window);
9759 [CCode (cheader_filename = "gtk/gtk.h")]
9760 public static void cairo_transform_to_window (Cairo.Context cr, Gtk.Widget widget, Gdk.Window window);
9761 [CCode (cheader_filename = "gtk/gtk.h")]
9762 public static unowned string check_version (uint required_major, uint required_minor, uint required_micro);
9763 [CCode (cheader_filename = "gtk/gtk.h")]
9764 public static void device_grab_add (Gtk.Widget widget, Gdk.Device device, bool block_others);
9765 [CCode (cheader_filename = "gtk/gtk.h")]
9766 public static void device_grab_remove (Gtk.Widget widget, Gdk.Device device);
9767 [CCode (cheader_filename = "gtk/gtk.h")]
9768 public static void disable_setlocale ();
9769 [CCode (cheader_filename = "gtk/gtk.h")]
9770 public static int distribute_natural_allocation (int extra_space, uint n_requested_sizes, Gtk.RequestedSize sizes);
9771 [CCode (cheader_filename = "gtk/gtk.h")]
9772 public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event? event);
9773 [CCode (cheader_filename = "gtk/gtk.h")]
9774 public static unowned Gdk.DragContext drag_begin_with_coordinates (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event event, int x, int y);
9775 [CCode (cheader_filename = "gtk/gtk.h")]
9776 public static void drag_cancel (Gdk.DragContext context);
9777 [CCode (cheader_filename = "gtk/gtk.h")]
9778 public static bool drag_check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x, int current_y);
9779 [CCode (cheader_filename = "gtk/gtk.h")]
9780 public static void drag_dest_add_image_targets (Gtk.Widget widget);
9781 [CCode (cheader_filename = "gtk/gtk.h")]
9782 public static void drag_dest_add_text_targets (Gtk.Widget widget);
9783 [CCode (cheader_filename = "gtk/gtk.h")]
9784 public static void drag_dest_add_uri_targets (Gtk.Widget widget);
9785 [CCode (cheader_filename = "gtk/gtk.h")]
9786 public static Gdk.Atom drag_dest_find_target (Gtk.Widget widget, Gdk.DragContext context, Gtk.TargetList target_list);
9787 [CCode (cheader_filename = "gtk/gtk.h")]
9788 public static unowned Gtk.TargetList drag_dest_get_target_list (Gtk.Widget widget);
9789 [CCode (cheader_filename = "gtk/gtk.h")]
9790 public static bool drag_dest_get_track_motion (Gtk.Widget widget);
9791 [CCode (cheader_filename = "gtk/gtk.h")]
9792 public static void drag_dest_set (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
9793 [CCode (cheader_filename = "gtk/gtk.h")]
9794 public static void drag_dest_set_proxy (Gtk.Widget widget, Gdk.Window proxy_window, Gdk.DragProtocol protocol, bool use_coordinates);
9795 [CCode (cheader_filename = "gtk/gtk.h")]
9796 public static void drag_dest_set_target_list (Gtk.Widget widget, Gtk.TargetList target_list);
9797 [CCode (cheader_filename = "gtk/gtk.h")]
9798 public static void drag_dest_set_track_motion (Gtk.Widget widget, bool track_motion);
9799 [CCode (cheader_filename = "gtk/gtk.h")]
9800 public static void drag_dest_unset (Gtk.Widget widget);
9801 [CCode (cheader_filename = "gtk/gtk.h")]
9802 public static void drag_finish (Gdk.DragContext context, bool success, bool del, uint32 time_);
9803 [CCode (cheader_filename = "gtk/gtk.h")]
9804 public static void drag_get_data (Gtk.Widget widget, Gdk.DragContext context, Gdk.Atom target, uint32 time_);
9805 [CCode (cheader_filename = "gtk/gtk.h")]
9806 public static unowned Gtk.Widget drag_get_source_widget (Gdk.DragContext context);
9807 [CCode (cheader_filename = "gtk/gtk.h")]
9808 public static void drag_highlight (Gtk.Widget widget);
9809 [CCode (cheader_filename = "gtk/gtk.h")]
9810 public static void drag_set_icon_default (Gdk.DragContext context);
9811 [CCode (cheader_filename = "gtk/gtk.h")]
9812 public static void drag_set_icon_gicon (Gdk.DragContext context, GLib.Icon icon, int hot_x, int hot_y);
9813 [CCode (cheader_filename = "gtk/gtk.h")]
9814 public static void drag_set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y);
9815 [CCode (cheader_filename = "gtk/gtk.h")]
9816 public static void drag_set_icon_pixbuf (Gdk.DragContext context, Gdk.Pixbuf pixbuf, int hot_x, int hot_y);
9817 [CCode (cheader_filename = "gtk/gtk.h")]
9818 public static void drag_set_icon_stock (Gdk.DragContext context, string stock_id, int hot_x, int hot_y);
9819 [CCode (cheader_filename = "gtk/gtk.h")]
9820 public static void drag_set_icon_surface (Gdk.DragContext context, Cairo.Surface surface);
9821 [CCode (cheader_filename = "gtk/gtk.h")]
9822 public static void drag_set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int hot_y);
9823 [CCode (cheader_filename = "gtk/gtk.h")]
9824 public static void drag_source_add_image_targets (Gtk.Widget widget);
9825 [CCode (cheader_filename = "gtk/gtk.h")]
9826 public static void drag_source_add_text_targets (Gtk.Widget widget);
9827 [CCode (cheader_filename = "gtk/gtk.h")]
9828 public static void drag_source_add_uri_targets (Gtk.Widget widget);
9829 [CCode (cheader_filename = "gtk/gtk.h")]
9830 public static unowned Gtk.TargetList drag_source_get_target_list (Gtk.Widget widget);
9831 [CCode (cheader_filename = "gtk/gtk.h")]
9832 public static void drag_source_set (Gtk.Widget widget, Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
9833 [CCode (cheader_filename = "gtk/gtk.h")]
9834 public static void drag_source_set_icon_gicon (Gtk.Widget widget, GLib.Icon icon);
9835 [CCode (cheader_filename = "gtk/gtk.h")]
9836 public static void drag_source_set_icon_name (Gtk.Widget widget, string icon_name);
9837 [CCode (cheader_filename = "gtk/gtk.h")]
9838 public static void drag_source_set_icon_pixbuf (Gtk.Widget widget, Gdk.Pixbuf pixbuf);
9839 [CCode (cheader_filename = "gtk/gtk.h")]
9840 public static void drag_source_set_icon_stock (Gtk.Widget widget, string stock_id);
9841 [CCode (cheader_filename = "gtk/gtk.h")]
9842 public static void drag_source_set_target_list (Gtk.Widget widget, Gtk.TargetList target_list);
9843 [CCode (cheader_filename = "gtk/gtk.h")]
9844 public static void drag_source_unset (Gtk.Widget widget);
9845 [CCode (cheader_filename = "gtk/gtk.h")]
9846 public static void drag_unhighlight (Gtk.Widget widget);
9847 [CCode (cheader_filename = "gtk/gtk.h")]
9848 [Version (deprecated_since = "3.4", replacement = "render_insertion_cursor")]
9849 public static void draw_insertion_cursor (Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow);
9850 [CCode (cheader_filename = "gtk/gtk.h")]
9851 public static bool events_pending ();
9852 [CCode (cheader_filename = "gtk/gtk.h")]
9853 public static uint get_binary_age ();
9854 [CCode (cheader_filename = "gtk/gtk.h")]
9855 public static Gdk.Event get_current_event ();
9856 [CCode (cheader_filename = "gtk/gtk.h")]
9857 public static unowned Gdk.Device get_current_event_device ();
9858 [CCode (cheader_filename = "gtk/gtk.h")]
9859 public static bool get_current_event_state (out Gdk.ModifierType state);
9860 [CCode (cheader_filename = "gtk/gtk.h")]
9861 public static uint32 get_current_event_time ();
9862 [CCode (cheader_filename = "gtk/gtk.h")]
9863 public static uint get_debug_flags ();
9864 [CCode (cheader_filename = "gtk/gtk.h")]
9865 public static unowned Pango.Language get_default_language ();
9866 [CCode (cheader_filename = "gtk/gtk.h")]
9867 public static unowned Gtk.Widget get_event_widget (Gdk.Event event);
9868 [CCode (cheader_filename = "gtk/gtk.h")]
9869 public static uint get_interface_age ();
9870 [CCode (cheader_filename = "gtk/gtk.h")]
9871 public static Gtk.TextDirection get_locale_direction ();
9872 [CCode (cheader_filename = "gtk/gtk.h")]
9873 public static uint get_major_version ();
9874 [CCode (cheader_filename = "gtk/gtk.h")]
9875 public static uint get_micro_version ();
9876 [CCode (cheader_filename = "gtk/gtk.h")]
9877 public static uint get_minor_version ();
9878 [CCode (cheader_filename = "gtk/gtk.h")]
9879 public static GLib.OptionGroup get_option_group (bool open_default_display);
9880 [CCode (cheader_filename = "gtk/gtk.h")]
9881 public static void grab_add (Gtk.Widget widget);
9882 [CCode (cheader_filename = "gtk/gtk.h")]
9883 public static unowned Gtk.Widget grab_get_current ();
9884 [CCode (cheader_filename = "gtk/gtk.h")]
9885 public static void grab_remove (Gtk.Widget widget);
9886 [CCode (cheader_filename = "gtk/gtk.h")]
9887 public static Gtk.IconSize icon_size_from_name (string name);
9888 [CCode (cheader_filename = "gtk/gtk.h")]
9889 public static unowned string icon_size_get_name (Gtk.IconSize size);
9890 [CCode (cheader_filename = "gtk/gtk.h")]
9891 public static bool icon_size_lookup (Gtk.IconSize size, out int width, out int height);
9892 [CCode (cheader_filename = "gtk/gtk.h")]
9893 public static bool icon_size_lookup_for_settings (Gtk.Settings settings, Gtk.IconSize size, out int width, out int height);
9894 [CCode (cheader_filename = "gtk/gtk.h")]
9895 public static Gtk.IconSize icon_size_register (string name, int width, int height);
9896 [CCode (cheader_filename = "gtk/gtk.h")]
9897 public static void icon_size_register_alias (string alias, Gtk.IconSize target);
9898 [CCode (cheader_filename = "gtk/gtk.h")]
9899 public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[]? argv);
9900 [CCode (cheader_filename = "gtk/gtk.h")]
9901 public static bool init_check ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
9902 [CCode (cheader_filename = "gtk/gtk.h")]
9903 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;
9904 [CCode (cheader_filename = "gtk/gtk.h")]
9905 [Version (deprecated_since = "3.4")]
9906 public static uint key_snooper_install (Gtk.KeySnoopFunc snooper);
9907 [CCode (cheader_filename = "gtk/gtk.h")]
9908 [Version (deprecated_since = "3.4")]
9909 public static void key_snooper_remove (uint snooper_handler_id);
9910 [CCode (cheader_filename = "gtk/gtk.h")]
9911 public static void main ();
9912 [CCode (cheader_filename = "gtk/gtk.h")]
9913 public static void main_do_event (Gdk.Event event);
9914 [CCode (cheader_filename = "gtk/gtk.h")]
9915 public static bool main_iteration ();
9916 [CCode (cheader_filename = "gtk/gtk.h")]
9917 public static bool main_iteration_do (bool blocking);
9918 [CCode (cheader_filename = "gtk/gtk.h")]
9919 public static uint main_level ();
9920 [CCode (cheader_filename = "gtk/gtk.h")]
9921 public static void main_quit ();
9922 [CCode (cheader_filename = "gtk/gtk.h")]
9923 [Version (deprecated_since = "3.0")]
9924 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);
9925 [CCode (cheader_filename = "gtk/gtk.h")]
9926 [Version (deprecated_since = "3.0", replacement = "render_background")]
9927 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);
9928 [CCode (cheader_filename = "gtk/gtk.h")]
9929 [Version (deprecated_since = "3.0", replacement = "render_frame_gap")]
9930 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);
9931 [CCode (cheader_filename = "gtk/gtk.h")]
9932 [Version (deprecated_since = "3.0")]
9933 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);
9934 [CCode (cheader_filename = "gtk/gtk.h")]
9935 [Version (deprecated_since = "3.0")]
9936 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);
9937 [CCode (cheader_filename = "gtk/gtk.h")]
9938 [Version (deprecated_since = "3.0", replacement = "render_expander")]
9939 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);
9940 [CCode (cheader_filename = "gtk/gtk.h")]
9941 [Version (deprecated_since = "3.0", replacement = "render_frame and render_background")]
9942 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);
9943 [CCode (cheader_filename = "gtk/gtk.h")]
9944 [Version (deprecated_since = "3.0")]
9945 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);
9946 [CCode (cheader_filename = "gtk/gtk.h")]
9947 [Version (deprecated_since = "3.0")]
9948 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);
9949 [CCode (cheader_filename = "gtk/gtk.h")]
9950 [Version (deprecated_since = "3.0")]
9951 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);
9952 [CCode (cheader_filename = "gtk/gtk.h")]
9953 [Version (deprecated_since = "3.0")]
9954 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);
9955 [CCode (cheader_filename = "gtk/gtk.h")]
9956 [Version (deprecated_since = "3.0")]
9957 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);
9958 [CCode (cheader_filename = "gtk/gtk.h")]
9959 [Version (deprecated_since = "3.0")]
9960 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);
9961 [CCode (cheader_filename = "gtk/gtk.h")]
9962 [Version (deprecated_since = "3.0", replacement = "render_handle")]
9963 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);
9964 [CCode (cheader_filename = "gtk/gtk.h")]
9965 [Version (deprecated_since = "3.0")]
9966 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);
9967 [CCode (cheader_filename = "gtk/gtk.h")]
9968 [Version (deprecated_since = "3.0", replacement = "render_frame")]
9969 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);
9970 [CCode (cheader_filename = "gtk/gtk.h")]
9971 [Version (deprecated_since = "3.0")]
9972 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);
9973 [CCode (cheader_filename = "gtk/gtk.h")]
9974 [Version (deprecated_since = "3.0", replacement = "render_activity")]
9975 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);
9976 [CCode (cheader_filename = "gtk/gtk.h")]
9977 [Version (deprecated_since = "3.0")]
9978 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);
9979 [CCode (cheader_filename = "gtk/gtk.h")]
9980 [Version (deprecated_since = "3.0")]
9981 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);
9982 [CCode (cheader_filename = "gtk/gtk.h")]
9983 public static bool parse_args ([CCode (array_length_pos = 0.5)] ref unowned string[] argv);
9984 [CCode (cheader_filename = "gtk/gtk.h")]
9985 public static Gtk.PageSetup print_run_page_setup_dialog (Gtk.Window parent, Gtk.PageSetup page_setup, Gtk.PrintSettings settings);
9986 [CCode (cheader_filename = "gtk/gtk.h")]
9987 public static void print_run_page_setup_dialog_async (Gtk.Window parent, Gtk.PageSetup page_setup, Gtk.PrintSettings settings, [CCode (scope = "async")] Gtk.PageSetupDoneFunc done_cb);
9988 [CCode (cheader_filename = "gtk/gtk.h")]
9989 public static void propagate_event (Gtk.Widget widget, Gdk.Event event);
9990 [CCode (cheader_filename = "gtk/gtk.h")]
9991 public static void rc_add_default_file (string filename);
9992 [CCode (cheader_filename = "gtk/gtk.h")]
9993 public static string rc_find_module_in_path (string module_file);
9994 [CCode (cheader_filename = "gtk/gtk.h")]
9995 public static string rc_find_pixmap_in_path (Gtk.Settings settings, GLib.Scanner scanner, string pixmap_file);
9996 [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
9997 public static unowned string[] rc_get_default_files ();
9998 [CCode (cheader_filename = "gtk/gtk.h")]
9999 public static string rc_get_im_module_file ();
10000 [CCode (cheader_filename = "gtk/gtk.h")]
10001 public static string rc_get_im_module_path ();
10002 [CCode (cheader_filename = "gtk/gtk.h")]
10003 public static string rc_get_module_dir ();
10004 [CCode (cheader_filename = "gtk/gtk.h")]
10005 public static unowned Gtk.Style rc_get_style (Gtk.Widget widget);
10006 [CCode (cheader_filename = "gtk/gtk.h")]
10007 public static unowned Gtk.Style? rc_get_style_by_paths (Gtk.Settings settings, string? widget_path, string? class_path, GLib.Type type);
10008 [CCode (cheader_filename = "gtk/gtk.h")]
10009 public static string rc_get_theme_dir ();
10010 [CCode (cheader_filename = "gtk/gtk.h")]
10011 public static void rc_parse (string filename);
10012 [CCode (cheader_filename = "gtk/gtk.h")]
10013 public static uint rc_parse_color (GLib.Scanner scanner, out Gdk.Color color);
10014 [CCode (cheader_filename = "gtk/gtk.h")]
10015 public static uint rc_parse_color_full (GLib.Scanner scanner, Gtk.RcStyle style, out Gdk.Color color);
10016 [CCode (cheader_filename = "gtk/gtk.h")]
10017 public static uint rc_parse_priority (GLib.Scanner scanner, Gtk.PathPriorityType priority);
10018 [CCode (cheader_filename = "gtk/gtk.h")]
10019 public static uint rc_parse_state (GLib.Scanner scanner, out Gtk.StateType state);
10020 [CCode (cheader_filename = "gtk/gtk.h")]
10021 public static void rc_parse_string (string rc_string);
10022 [CCode (cheader_filename = "gtk/gtk.h")]
10023 public static bool rc_reparse_all ();
10024 [CCode (cheader_filename = "gtk/gtk.h")]
10025 public static bool rc_reparse_all_for_settings (Gtk.Settings settings, bool force_load);
10026 [CCode (cheader_filename = "gtk/gtk.h")]
10027 public static void rc_reset_styles (Gtk.Settings settings);
10028 [CCode (cheader_filename = "gtk/gtk.h")]
10029 public static unowned GLib.Scanner rc_scanner_new ();
10030 [CCode (cheader_filename = "gtk/gtk.h")]
10031 public static void rc_set_default_files ([CCode (array_length = false, array_null_terminated = true)] string[] filenames);
10032 [CCode (cheader_filename = "gtk/gtk.h")]
10033 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_activity")]
10034 public static void render_activity (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
10035 [CCode (cheader_filename = "gtk/gtk.h")]
10036 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_arrow")]
10037 public static void render_arrow (Gtk.StyleContext context, Cairo.Context cr, double angle, double x, double y, double size);
10038 [CCode (cheader_filename = "gtk/gtk.h")]
10039 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_background")]
10040 public static void render_background (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
10041 [CCode (cheader_filename = "gtk/gtk.h")]
10042 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_check")]
10043 public static void render_check (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
10044 [CCode (cheader_filename = "gtk/gtk.h")]
10045 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_expander")]
10046 public static void render_expander (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
10047 [CCode (cheader_filename = "gtk/gtk.h")]
10048 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_extension")]
10049 public static void render_extension (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
10050 [CCode (cheader_filename = "gtk/gtk.h")]
10051 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_focus")]
10052 public static void render_focus (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
10053 [CCode (cheader_filename = "gtk/gtk.h")]
10054 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_frame")]
10055 public static void render_frame (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
10056 [CCode (cheader_filename = "gtk/gtk.h")]
10057 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_frame_gap")]
10058 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);
10059 [CCode (cheader_filename = "gtk/gtk.h")]
10060 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_handle")]
10061 public static void render_handle (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
10062 [CCode (cheader_filename = "gtk/gtk.h")]
10063 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_icon")]
10064 public static void render_icon (Gtk.StyleContext context, Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
10065 [CCode (cheader_filename = "gtk/gtk.h")]
10066 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_icon_pixbuf")]
10067 public static Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSource source, Gtk.IconSize size);
10068 [CCode (cheader_filename = "gtk/gtk.h")]
10069 public static void render_icon_surface (Gtk.StyleContext context, Cairo.Context cr, Cairo.Surface surface, double x, double y);
10070 [CCode (cheader_filename = "gtk/gtk.h")]
10071 public static void render_insertion_cursor (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
10072 [CCode (cheader_filename = "gtk/gtk.h")]
10073 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_layout")]
10074 public static void render_layout (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout);
10075 [CCode (cheader_filename = "gtk/gtk.h")]
10076 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_line")]
10077 public static void render_line (Gtk.StyleContext context, Cairo.Context cr, double x0, double y0, double x1, double y1);
10078 [CCode (cheader_filename = "gtk/gtk.h")]
10079 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_option")]
10080 public static void render_option (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
10081 [CCode (cheader_filename = "gtk/gtk.h")]
10082 [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_slider")]
10083 public static void render_slider (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
10084 [CCode (cheader_filename = "gtk/gtk.h")]
10085 public static void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double v);
10086 [CCode (cheader_filename = "gtk/gtk.h")]
10087 public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info);
10088 [CCode (cheader_filename = "gtk/gtk.h")]
10089 public static void selection_add_targets (Gtk.Widget widget, Gdk.Atom selection, [CCode (array_length_pos = 3.1, array_length_type = "guint")] Gtk.TargetEntry[] targets);
10090 [CCode (cheader_filename = "gtk/gtk.h")]
10091 public static void selection_clear_targets (Gtk.Widget widget, Gdk.Atom selection);
10092 [CCode (cheader_filename = "gtk/gtk.h")]
10093 public static bool selection_convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
10094 [CCode (cheader_filename = "gtk/gtk.h")]
10095 public static bool selection_owner_set (Gtk.Widget widget, Gdk.Atom selection, uint32 time_);
10096 [CCode (cheader_filename = "gtk/gtk.h")]
10097 public static bool selection_owner_set_for_display (Gdk.Display display, Gtk.Widget widget, Gdk.Atom selection, uint32 time_);
10098 [CCode (cheader_filename = "gtk/gtk.h")]
10099 public static void selection_remove_all (Gtk.Widget widget);
10100 [CCode (cheader_filename = "gtk/gtk.h")]
10101 public static void set_debug_flags (uint flags);
10102 [CCode (cheader_filename = "gtk/gtk.h")]
10103 public static void show_about_dialog (Gtk.Window? parent, ...);
10104 [CCode (cheader_filename = "gtk/gtk.h")]
10105 public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
10106 [CCode (cheader_filename = "gtk/gtk.h")]
10107 public static bool show_uri_on_window (Gtk.Window? parent, string uri, uint32 timestamp) throws GLib.Error;
10108 [CCode (cheader_filename = "gtk/gtk.h")]
10109 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add")]
10110 public static void stock_add (Gtk.StockItem[] items);
10111 [CCode (cheader_filename = "gtk/gtk.h")]
10112 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.add_static")]
10113 public static void stock_add_static (Gtk.StockItem[] items);
10114 [CCode (cheader_filename = "gtk/gtk.h")]
10115 [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.list_ids")]
10116 public static GLib.SList<string> stock_list_ids ();
10117 [CCode (cheader_filename = "gtk/gtk.h")]
10118 [Version (deprecated_since = "vala-0.22", replacement = "Gtk.Stock.set_translate_func")]
10119 public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
10120 [CCode (cheader_filename = "gtk/gtk.h")]
10121 public static void target_table_free (Gtk.TargetEntry[] targets);
10122 [CCode (cheader_filename = "gtk/gtk.h")]
10123 public static Gtk.TargetEntry[] target_table_new_from_list (Gtk.TargetList list);
10124 [CCode (cheader_filename = "gtk/gtk.h")]
10125 public static bool targets_include_image (Gdk.Atom[] targets, bool writable);
10126 [CCode (cheader_filename = "gtk/gtk.h")]
10127 public static bool targets_include_rich_text (Gdk.Atom[] targets, Gtk.TextBuffer buffer);
10128 [CCode (cheader_filename = "gtk/gtk.h")]
10129 public static bool targets_include_text (Gdk.Atom[] targets);
10130 [CCode (cheader_filename = "gtk/gtk.h")]
10131 public static bool targets_include_uri (Gdk.Atom[] targets);
10132 [CCode (cheader_filename = "gtk/gtk.h")]
10133 public static unowned Gtk.Widget test_create_simple_window (string window_title, string dialog_text);
10134 [CCode (cheader_filename = "gtk/gtk.h")]
10135 public static unowned Gtk.Widget test_create_widget (GLib.Type widget_type, ...);
10136 [CCode (cheader_filename = "gtk/gtk.h")]
10137 public static Gtk.Widget test_display_button_window (string window_title, string dialog_text, ...);
10138 [CCode (cheader_filename = "gtk/gtk.h")]
10139 public static unowned Gtk.Widget test_find_label (Gtk.Widget widget, string label_pattern);
10140 [CCode (cheader_filename = "gtk/gtk.h")]
10141 public static unowned Gtk.Widget test_find_sibling (Gtk.Widget base_widget, GLib.Type widget_type);
10142 [CCode (cheader_filename = "gtk/gtk.h")]
10143 public static unowned Gtk.Widget test_find_widget (Gtk.Widget widget, string label_pattern, GLib.Type widget_type);
10144 [CCode (cheader_filename = "gtk/gtk.h")]
10145 public static void test_init ([CCode (array_length_pos = 0.9)] ref unowned string[] argvp, ...);
10146 [CCode (array_length = false, array_length_type = "guint", array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
10147 public static unowned GLib.Type[] test_list_all_types ();
10148 [CCode (cheader_filename = "gtk/gtk.h")]
10149 public static void test_register_all_types ();
10150 [CCode (cheader_filename = "gtk/gtk.h")]
10151 public static double test_slider_get_value (Gtk.Widget widget);
10152 [CCode (cheader_filename = "gtk/gtk.h")]
10153 public static void test_slider_set_perc (Gtk.Widget widget, double percentage);
10154 [CCode (cheader_filename = "gtk/gtk.h")]
10155 public static bool test_spin_button_click (Gtk.SpinButton spinner, uint button, bool upwards);
10156 [CCode (cheader_filename = "gtk/gtk.h")]
10157 public static string test_text_get (Gtk.Widget widget);
10158 [CCode (cheader_filename = "gtk/gtk.h")]
10159 public static void test_text_set (Gtk.Widget widget, string str);
10160 [CCode (cheader_filename = "gtk/gtk.h")]
10161 public static bool test_widget_click (Gtk.Widget widget, uint button, Gdk.ModifierType modifiers);
10162 [CCode (cheader_filename = "gtk/gtk.h")]
10163 public static bool test_widget_send_key (Gtk.Widget widget, uint keyval, Gdk.ModifierType modifiers);
10164 [CCode (cheader_filename = "gtk/gtk.h")]
10165 public static void test_widget_wait_for_draw (Gtk.Widget widget);
10166 [CCode (cheader_filename = "gtk/gtk.h")]
10167 public static bool tree_get_row_drag_data (Gtk.SelectionData selection_data, out unowned Gtk.TreeModel tree_model, out Gtk.TreePath path);
10168 [CCode (cheader_filename = "gtk/gtk.h")]
10169 public static bool tree_set_row_drag_data (Gtk.SelectionData selection_data, Gtk.TreeModel tree_model, Gtk.TreePath path);