gtk+-3.0.vapi 442 KB
Newer Older
1
/* gtk+-3.0.vapi generated by vapigen, do not modify. */
2

Luca Bruno's avatar
Luca Bruno committed
3
[CCode (gir_namespace = "Gtk", gir_version = "3.0")]
4
namespace Gtk {
Rico Tzschichholz's avatar
Rico Tzschichholz committed
5
	[Deprecated (since = "3.10")]
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
	namespace Stock {
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ABOUT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ADD;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string APPLY;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string BOLD;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string CANCEL;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string CAPS_LOCK_WARNING;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string CDROM;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string CLEAR;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string CLOSE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string COLOR_PICKER;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string CONNECT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string CONVERT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string COPY;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string CUT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DELETE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DIALOG_AUTHENTICATION;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DIALOG_ERROR;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DIALOG_INFO;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DIALOG_QUESTION;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DIALOG_WARNING;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DIRECTORY;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DISCARD;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DISCONNECT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DND;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string DND_MULTIPLE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string EDIT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string EXECUTE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string FILE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string FIND;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string FIND_AND_REPLACE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string FLOPPY;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string FULLSCREEN;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string GOTO_BOTTOM;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string GOTO_FIRST;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string GOTO_LAST;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string GOTO_TOP;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string GO_BACK;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string GO_DOWN;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string GO_FORWARD;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string GO_UP;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string HARDDISK;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string HELP;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string HOME;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string INDENT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string INDEX;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string INFO;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ITALIC;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string JUMP_TO;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string JUSTIFY_CENTER;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string JUSTIFY_FILL;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string JUSTIFY_LEFT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string JUSTIFY_RIGHT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string LEAVE_FULLSCREEN;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string MEDIA_FORWARD;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string MEDIA_NEXT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string MEDIA_PAUSE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string MEDIA_PLAY;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string MEDIA_PREVIOUS;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string MEDIA_RECORD;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string MEDIA_REWIND;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string MEDIA_STOP;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string MISSING_IMAGE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string NETWORK;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string NEW;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string NO;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string OK;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string OPEN;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ORIENTATION_LANDSCAPE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ORIENTATION_PORTRAIT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ORIENTATION_REVERSE_LANDSCAPE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ORIENTATION_REVERSE_PORTRAIT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string PAGE_SETUP;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string PASTE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string PREFERENCES;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string PRINT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string PRINT_ERROR;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string PRINT_PAUSED;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string PRINT_PREVIEW;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string PRINT_REPORT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string PRINT_WARNING;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string PROPERTIES;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string QUIT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string REDO;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string REFRESH;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string REMOVE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string REVERT_TO_SAVED;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string SAVE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string SAVE_AS;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string SELECT_ALL;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string SELECT_COLOR;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string SELECT_FONT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string SORT_ASCENDING;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string SORT_DESCENDING;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string SPELL_CHECK;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string STOP;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string STRIKETHROUGH;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string UNDELETE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string UNDERLINE;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string UNDO;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string UNINDENT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string YES;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ZOOM_100;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ZOOM_FIT;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ZOOM_IN;
		[CCode (cheader_filename = "gtk/gtk.h")]
		public const string ZOOM_OUT;
217 218 219 220 221 222 223 224
		[CCode (cheader_filename = "gtk/gtk.h")]
		public static void add (Gtk.StockItem[] items);
		[CCode (cheader_filename = "gtk/gtk.h")]
		public static void add_static (Gtk.StockItem[] items);
		[CCode (cheader_filename = "gtk/gtk.h")]
		public static GLib.SList<string> list_ids ();
		[CCode (cheader_filename = "gtk/gtk.h")]
		public static bool lookup (string stock_id, out Gtk.StockItem item);
225
	}
226
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
227
	public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
228
		[CCode (has_construct_function = false, type = "GtkWidget*")]
229
		public AboutDialog ();
Evan Nemerson's avatar
Evan Nemerson committed
230
		public void add_credit_section (string section_name, string people);
231 232 233 234 235 236
		public unowned string get_artists ();
		public unowned string get_authors ();
		public unowned string get_comments ();
		public unowned string get_copyright ();
		public unowned string get_documenters ();
		public unowned string get_license ();
Jürg Billeter's avatar
Jürg Billeter committed
237
		public Gtk.License get_license_type ();
238 239 240 241 242 243 244 245 246 247 248 249 250 251
		public unowned Gdk.Pixbuf get_logo ();
		public unowned string get_logo_icon_name ();
		public unowned string get_program_name ();
		public unowned string get_translator_credits ();
		public unowned string get_version ();
		public unowned string get_website ();
		public unowned string get_website_label ();
		public bool get_wrap_license ();
		public void set_artists ([CCode (array_length = false)] string[] artists);
		public void set_authors ([CCode (array_length = false)] string[] authors);
		public void set_comments (string comments);
		public void set_copyright (string copyright);
		public void set_documenters ([CCode (array_length = false)] string[] documenters);
		public void set_license (string license);
Jürg Billeter's avatar
Jürg Billeter committed
252
		public void set_license_type (Gtk.License license_type);
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
		public void set_logo (Gdk.Pixbuf logo);
		public void set_logo_icon_name (string icon_name);
		public void set_program_name (string name);
		public void set_translator_credits (string translator_credits);
		public void set_version (string version);
		public void set_website (string website);
		public void set_website_label (string website_label);
		public void set_wrap_license (bool wrap_license);
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] artists { get; set; }
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] authors { get; set; }
		public string comments { get; set; }
		public string copyright { get; set; }
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] documenters { get; set; }
		public string license { get; set; }
Jürg Billeter's avatar
Jürg Billeter committed
270
		public Gtk.License license_type { get; set; }
271 272 273 274 275 276 277 278
		public Gdk.Pixbuf logo { get; set; }
		public string logo_icon_name { get; set; }
		public string program_name { get; set; }
		public string translator_credits { get; set; }
		public string version { get; set; }
		public string website { get; set; }
		public string website_label { get; set; }
		public bool wrap_license { get; set; }
Jürg Billeter's avatar
Jürg Billeter committed
279
		public virtual signal bool activate_link (string uri);
280 281 282 283 284 285
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class AccelGroup : GLib.Object {
		[CCode (has_construct_function = false)]
		public AccelGroup ();
		public bool activate (GLib.Quark accel_quark, GLib.Object acceleratable, uint accel_key, Gdk.ModifierType accel_mods);
286 287
		public void connect (uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
		public void connect_by_path (string accel_path, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
288 289
		public bool disconnect (GLib.Closure closure);
		public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods);
290
		public Gtk.AccelKey* find (Gtk.AccelGroupFindFunc find_func);
291 292 293 294 295 296 297 298 299 300 301 302
		public static unowned Gtk.AccelGroup from_accel_closure (GLib.Closure closure);
		public bool get_is_locked ();
		public Gdk.ModifierType get_modifier_mask ();
		public void @lock ();
		public unowned Gtk.AccelGroupEntry query (uint accel_key, Gdk.ModifierType accel_mods, uint n_entries);
		public void unlock ();
		public bool is_locked { get; }
		public Gdk.ModifierType modifier_mask { get; }
		public virtual signal bool accel_activate (GLib.Object p0, uint p1, Gdk.ModifierType p2);
		public virtual signal void accel_changed (uint keyval, Gdk.ModifierType modifier, GLib.Closure accel_closure);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
303
	[Compact]
304 305 306 307 308 309
	public class AccelGroupEntry {
		public GLib.Quark accel_path_quark;
		public weak GLib.Closure closure;
		public Gtk.AccelKey key;
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
310
	public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
311
		[CCode (has_construct_function = false, type = "GtkWidget*")]
312
		public AccelLabel (string str);
313
		public void get_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods);
314 315 316
		public unowned Gtk.Widget get_accel_widget ();
		public uint get_accel_width ();
		public bool refetch ();
Jürg Billeter's avatar
Jürg Billeter committed
317
		public void set_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods);
318
		public void set_accel_closure ([CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate accel_closure);
319 320 321 322 323 324 325
		public void set_accel_widget (Gtk.Widget accel_widget);
		[NoAccessorMethod]
		public GLib.Closure accel_closure { owned get; set; }
		public Gtk.Widget accel_widget { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class AccelMap : GLib.Object {
326 327
		[CCode (has_construct_function = false)]
		protected AccelMap ();
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344
		public static void add_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
		public static void add_filter (string filter_pattern);
		public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace);
		public static void @foreach (void* data, Gtk.AccelMapForeach foreach_func);
		public static void foreach_unfiltered (void* data, Gtk.AccelMapForeach foreach_func);
		public static unowned Gtk.AccelMap @get ();
		public static void load (string file_name);
		public static void load_fd (int fd);
		public static void load_scanner (GLib.Scanner scanner);
		public static void lock_path (string accel_path);
		public static bool lookup_entry (string accel_path, out Gtk.AccelKey key);
		public static void save (string file_name);
		public static void save_fd (int fd);
		public static void unlock_path (string accel_path);
		public virtual signal void changed (string p0, uint p1, Gdk.ModifierType p2);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
345
	[Compact]
346 347 348 349
	public class AccelMapClass {
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class Accessible : Atk.Object {
350 351
		[CCode (has_construct_function = false)]
		protected Accessible ();
352
		[Deprecated (replacement = "Accessible.set_widget", since = "3.4")]
353 354
		public virtual void connect_widget_destroyed ();
		public unowned Gtk.Widget get_widget ();
Jürg Billeter's avatar
Jürg Billeter committed
355
		public void set_widget (Gtk.Widget widget);
Jürg Billeter's avatar
Jürg Billeter committed
356 357 358 359 360
		[NoWrapper]
		public virtual void widget_set ();
		[NoWrapper]
		public virtual void widget_unset ();
		public Gtk.Widget widget { get; set; }
361 362
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
363
	[Deprecated (replacement = "GLib.Action", since = "3.10")]
364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432
	public class Action : GLib.Object, Gtk.Buildable {
		[CCode (has_construct_function = false)]
		public Action (string name, string? label, string? tooltip, string? stock_id);
		public void block_activate ();
		public void connect_accelerator ();
		[NoWrapper]
		public virtual void connect_proxy (Gtk.Widget proxy);
		public unowned Gtk.Widget create_icon (Gtk.IconSize icon_size);
		public virtual unowned Gtk.Widget create_menu ();
		public virtual unowned Gtk.Widget create_menu_item ();
		public virtual unowned Gtk.Widget create_tool_item ();
		public void disconnect_accelerator ();
		[NoWrapper]
		public virtual void disconnect_proxy (Gtk.Widget proxy);
		public unowned GLib.Closure get_accel_closure ();
		public unowned string get_accel_path ();
		public bool get_always_show_image ();
		public unowned GLib.Icon get_gicon ();
		public unowned string get_icon_name ();
		public bool get_is_important ();
		public unowned string get_label ();
		public unowned GLib.SList<Gtk.Widget> get_proxies ();
		public bool get_sensitive ();
		public unowned string get_short_label ();
		public unowned string get_stock_id ();
		public unowned string get_tooltip ();
		public bool get_visible ();
		public bool get_visible_horizontal ();
		public bool get_visible_vertical ();
		public bool is_sensitive ();
		public bool is_visible ();
		public void set_accel_group (Gtk.AccelGroup accel_group);
		public void set_accel_path (string accel_path);
		public void set_always_show_image (bool always_show);
		public void set_gicon (GLib.Icon icon);
		public void set_icon_name (string icon_name);
		public void set_is_important (bool is_important);
		public void set_label (string label);
		public void set_sensitive (bool sensitive);
		public void set_short_label (string short_label);
		public void set_stock_id (string stock_id);
		public void set_tooltip (string tooltip);
		public void set_visible (bool visible);
		public void set_visible_horizontal (bool visible_horizontal);
		public void set_visible_vertical (bool visible_vertical);
		public void unblock_activate ();
		[NoAccessorMethod]
		public Gtk.ActionGroup action_group { owned get; set; }
		public bool always_show_image { get; set construct; }
		public GLib.Icon gicon { get; set; }
		[NoAccessorMethod]
		public bool hide_if_empty { get; set; }
		public string icon_name { get; set; }
		public bool is_important { get; set; }
		public string label { get; set; }
		public string name { get; construct; }
		public bool sensitive { get; set; }
		public string short_label { get; set; }
		public string stock_id { get; set; }
		public string tooltip { get; set; }
		public bool visible { get; set; }
		public bool visible_horizontal { get; set; }
		[NoAccessorMethod]
		public bool visible_overflown { get; set; }
		public bool visible_vertical { get; set; }
		[HasEmitter]
		public virtual signal void activate ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Rico Tzschichholz's avatar
Rico Tzschichholz committed
433
	public class ActionBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
434 435 436 437 438 439 440 441
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public ActionBar ();
		public unowned Gtk.Widget get_center_widget ();
		public void pack_end (Gtk.Widget child);
		public void pack_start (Gtk.Widget child);
		public void set_center_widget (Gtk.Widget? center_widget);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
442
	[Deprecated (since = "3.10")]
443 444 445 446 447 448 449 450 451 452 453
	public class ActionGroup : GLib.Object, Gtk.Buildable {
		[CCode (has_construct_function = false)]
		public ActionGroup (string name);
		public void add_action (Gtk.Action action);
		public void add_action_with_accel (Gtk.Action action, string? accelerator);
		public void add_actions (Gtk.ActionEntry[] entries, void* user_data);
		public void add_actions_full (Gtk.ActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
		public void add_radio_actions (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change);
		public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change, GLib.DestroyNotify? destroy);
		public void add_toggle_actions (Gtk.ToggleActionEntry[] entries, void* user_data);
		public void add_toggle_actions_full (Gtk.ToggleActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
Jürg Billeter's avatar
Jürg Billeter committed
454
		public unowned Gtk.AccelGroup get_accel_group ();
455 456 457 458 459
		public virtual unowned Gtk.Action get_action (string action_name);
		public bool get_sensitive ();
		public bool get_visible ();
		public GLib.List<weak Gtk.Action> list_actions ();
		public void remove_action (Gtk.Action action);
Jürg Billeter's avatar
Jürg Billeter committed
460
		public void set_accel_group (Gtk.AccelGroup accel_group);
461 462 463 464 465
		public void set_sensitive (bool sensitive);
		public void set_translate_func (owned Gtk.TranslateFunc func);
		public void set_translation_domain (string domain);
		public void set_visible (bool visible);
		public unowned string translate_string (string str);
Jürg Billeter's avatar
Jürg Billeter committed
466
		public Gtk.AccelGroup accel_group { get; set; }
467 468 469 470 471 472 473 474 475
		public string name { get; construct; }
		public bool sensitive { get; set; }
		public bool visible { get; set; }
		public virtual signal void connect_proxy (Gtk.Action p0, Gtk.Widget p1);
		public virtual signal void disconnect_proxy (Gtk.Action p0, Gtk.Widget p1);
		public virtual signal void post_activate (Gtk.Action p0);
		public virtual signal void pre_activate (Gtk.Action p0);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
476 477
	public class Adjustment : GLib.InitiallyUnowned {
		[CCode (has_construct_function = false)]
478 479 480 481
		public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
		public void clamp_page (double lower, double upper);
		public void configure (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
		public double get_lower ();
Jürg Billeter's avatar
Jürg Billeter committed
482
		public double get_minimum_increment ();
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505
		public double get_page_increment ();
		public double get_page_size ();
		public double get_step_increment ();
		public double get_upper ();
		public double get_value ();
		public void set_lower (double lower);
		public void set_page_increment (double page_increment);
		public void set_page_size (double page_size);
		public void set_step_increment (double step_increment);
		public void set_upper (double upper);
		public void set_value (double value);
		public double lower { get; set; }
		public double page_increment { get; set; }
		public double page_size { get; set; }
		public double step_increment { get; set; }
		public double upper { get; set; }
		public double value { get; set; }
		[HasEmitter]
		public virtual signal void changed ();
		[HasEmitter]
		public virtual signal void value_changed ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
506
	public class Alignment : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
507
		[CCode (has_construct_function = false, type = "GtkWidget*")]
508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529
		public Alignment (float xalign, float yalign, float xscale, float yscale);
		public void get_padding (out uint padding_top, out uint padding_bottom, out uint padding_left, out uint padding_right);
		public void @set (float xalign, float yalign, float xscale, float yscale);
		public void set_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right);
		[NoAccessorMethod]
		public uint bottom_padding { get; set; }
		[NoAccessorMethod]
		public uint left_padding { get; set; }
		[NoAccessorMethod]
		public uint right_padding { get; set; }
		[NoAccessorMethod]
		public uint top_padding { get; set; }
		[NoAccessorMethod]
		public float xalign { get; set; }
		[NoAccessorMethod]
		public float xscale { get; set; }
		[NoAccessorMethod]
		public float yalign { get; set; }
		[NoAccessorMethod]
		public float yscale { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
530
	public class AppChooserButton : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable, Gtk.AppChooser {
531
		[CCode (has_construct_function = false, type = "GtkWidget*")]
Jürg Billeter's avatar
Jürg Billeter committed
532 533 534
		public AppChooserButton (string content_type);
		public void append_custom_item (string name, string label, GLib.Icon icon);
		public void append_separator ();
Jürg Billeter's avatar
Jürg Billeter committed
535
		public unowned string get_heading ();
Jürg Billeter's avatar
Jürg Billeter committed
536
		public bool get_show_default_item ();
Jürg Billeter's avatar
Jürg Billeter committed
537 538
		public bool get_show_dialog_item ();
		public void set_active_custom_item (string name);
Jürg Billeter's avatar
Jürg Billeter committed
539
		public void set_heading (string heading);
Jürg Billeter's avatar
Jürg Billeter committed
540
		public void set_show_default_item (bool setting);
Jürg Billeter's avatar
Jürg Billeter committed
541
		public void set_show_dialog_item (bool setting);
Jürg Billeter's avatar
Jürg Billeter committed
542
		public string heading { get; set; }
Jürg Billeter's avatar
Jürg Billeter committed
543
		public bool show_default_item { get; set construct; }
Jürg Billeter's avatar
Jürg Billeter committed
544 545 546 547 548
		public bool show_dialog_item { get; set construct; }
		public virtual signal void custom_item_activated (string item_name);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class AppChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.AppChooser {
549
		[CCode (has_construct_function = false, type = "GtkWidget*")]
Jürg Billeter's avatar
Jürg Billeter committed
550
		public AppChooserDialog (Gtk.Window parent, Gtk.DialogFlags flags, GLib.File file);
551
		[CCode (has_construct_function = false, type = "GtkWidget*")]
Jürg Billeter's avatar
Jürg Billeter committed
552
		public AppChooserDialog.for_content_type (Gtk.Window parent, Gtk.DialogFlags flags, string content_type);
Jürg Billeter's avatar
Jürg Billeter committed
553
		public unowned string get_heading ();
Jürg Billeter's avatar
Jürg Billeter committed
554
		public unowned Gtk.Widget get_widget ();
Jürg Billeter's avatar
Jürg Billeter committed
555
		public void set_heading (string heading);
Jürg Billeter's avatar
Jürg Billeter committed
556 557
		[NoAccessorMethod]
		public GLib.File gfile { owned get; construct; }
Jürg Billeter's avatar
Jürg Billeter committed
558
		public string heading { get; set; }
Jürg Billeter's avatar
Jürg Billeter committed
559 560 561
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class AppChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.AppChooser {
562
		[CCode (has_construct_function = false, type = "GtkWidget*")]
Jürg Billeter's avatar
Jürg Billeter committed
563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586
		public AppChooserWidget (string content_type);
		public unowned string get_default_text ();
		public bool get_show_all ();
		public bool get_show_default ();
		public bool get_show_fallback ();
		public bool get_show_other ();
		public bool get_show_recommended ();
		public void set_default_text (string text);
		public void set_show_all (bool setting);
		public void set_show_default (bool setting);
		public void set_show_fallback (bool setting);
		public void set_show_other (bool setting);
		public void set_show_recommended (bool setting);
		public string default_text { get; set; }
		public bool show_all { get; set construct; }
		public bool show_default { get; set construct; }
		public bool show_fallback { get; set construct; }
		public bool show_other { get; set construct; }
		public bool show_recommended { get; set construct; }
		public virtual signal void application_activated (GLib.AppInfo app_info);
		public virtual signal void application_selected (GLib.AppInfo app_info);
		public virtual signal void populate_popup (Gtk.Menu menu, GLib.AppInfo app_info);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
587
	public class Application : GLib.Application, GLib.ActionGroup, GLib.ActionMap {
588
		[CCode (has_construct_function = false)]
589
		public Application (string application_id, GLib.ApplicationFlags flags);
590
		public void add_accelerator (string accelerator, string action_name, GLib.Variant? parameter);
591
		public void add_window (Gtk.Window window);
Rico Tzschichholz's avatar
Rico Tzschichholz committed
592
		public string get_accels_for_action (string detailed_action_name);
Jürg Billeter's avatar
Jürg Billeter committed
593
		public unowned Gtk.Window get_active_window ();
594 595
		public unowned GLib.MenuModel get_app_menu ();
		public unowned GLib.MenuModel get_menubar ();
Evan Nemerson's avatar
Evan Nemerson committed
596
		public unowned Gtk.Window get_window_by_id (uint id);
597
		public unowned GLib.List<weak Gtk.Window> get_windows ();
598
		public uint inhibit (Gtk.Window? window, Gtk.ApplicationInhibitFlags flags, string? reason);
Evan Nemerson's avatar
Evan Nemerson committed
599
		public bool is_inhibited (Gtk.ApplicationInhibitFlags flags);
Rico Tzschichholz's avatar
Rico Tzschichholz committed
600
		public string list_action_descriptions ();
601
		public void remove_accelerator (string action_name, GLib.Variant? parameter);
602
		public void remove_window (Gtk.Window window);
603
		public void set_accels_for_action (string detailed_action_name, [CCode (array_length = false, array_null_terminated = true)] string[] accels);
Allison Karlitskaya's avatar
Allison Karlitskaya committed
604 605
		public void set_app_menu (GLib.MenuModel app_menu);
		public void set_menubar (GLib.MenuModel menubar);
Evan Nemerson's avatar
Evan Nemerson committed
606
		public void uninhibit (uint cookie);
Jürg Billeter's avatar
Jürg Billeter committed
607
		public Gtk.Window active_window { get; }
Allison Karlitskaya's avatar
Allison Karlitskaya committed
608 609
		public GLib.MenuModel app_menu { get; set; }
		public GLib.MenuModel menubar { get; set; }
Evan Nemerson's avatar
Evan Nemerson committed
610 611
		[NoAccessorMethod]
		public bool register_session { get; set; }
Allison Karlitskaya's avatar
Allison Karlitskaya committed
612 613
		public virtual signal void window_added (Gtk.Window window);
		public virtual signal void window_removed (Gtk.Window window);
614 615
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
616 617 618
	public class ApplicationWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable, GLib.ActionGroup, GLib.ActionMap {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public ApplicationWindow (Gtk.Application application);
Evan Nemerson's avatar
Evan Nemerson committed
619
		public uint get_id ();
620 621 622 623 624
		public bool get_show_menubar ();
		public void set_show_menubar (bool show_menubar);
		public bool show_menubar { get; set construct; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
625
	public class Arrow : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
626
		[CCode (has_construct_function = false, type = "GtkWidget*")]
627 628 629 630 631 632 633 634
		public Arrow (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
		public void @set (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
		[NoAccessorMethod]
		public Gtk.ArrowType arrow_type { get; set; }
		[NoAccessorMethod]
		public Gtk.ShadowType shadow_type { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
635 636 637 638 639
	public class ArrowAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
		[CCode (has_construct_function = false)]
		protected ArrowAccessible ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
640
	public class AspectFrame : Gtk.Frame, Atk.Implementor, Gtk.Buildable {
641
		[CCode (has_construct_function = false, type = "GtkWidget*")]
642
		public AspectFrame (string? label, float xalign, float yalign, float ratio, bool obey_child);
643 644 645 646 647 648 649 650 651 652 653
		public void @set (float xalign, float yalign, float ratio, bool obey_child);
		[NoAccessorMethod]
		public bool obey_child { get; set; }
		[NoAccessorMethod]
		public float ratio { get; set; }
		[NoAccessorMethod]
		public float xalign { get; set; }
		[NoAccessorMethod]
		public float yalign { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
654
	public class Assistant : Gtk.Window, Atk.Implementor, Gtk.Buildable {
655
		[CCode (has_construct_function = false, type = "GtkWidget*")]
656 657 658 659 660 661 662 663
		public Assistant ();
		public void add_action_widget (Gtk.Widget child);
		public int append_page (Gtk.Widget page);
		public void commit ();
		public int get_current_page ();
		public int get_n_pages ();
		public unowned Gtk.Widget get_nth_page (int page_num);
		public bool get_page_complete (Gtk.Widget page);
664
		[Deprecated (since = "3.2")]
665
		public unowned Gdk.Pixbuf get_page_header_image (Gtk.Widget page);
666
		[Deprecated (since = "3.2")]
667 668 669 670
		public unowned Gdk.Pixbuf get_page_side_image (Gtk.Widget page);
		public unowned string get_page_title (Gtk.Widget page);
		public Gtk.AssistantPageType get_page_type (Gtk.Widget page);
		public int insert_page (Gtk.Widget page, int position);
Jürg Billeter's avatar
Jürg Billeter committed
671
		public void next_page ();
672
		public int prepend_page (Gtk.Widget page);
Jürg Billeter's avatar
Jürg Billeter committed
673
		public void previous_page ();
674
		public void remove_action_widget (Gtk.Widget child);
Jürg Billeter's avatar
Jürg Billeter committed
675
		public void remove_page (int page_num);
676 677 678
		public void set_current_page (int page_num);
		public void set_forward_page_func (owned Gtk.AssistantPageFunc page_func);
		public void set_page_complete (Gtk.Widget page, bool complete);
679
		[Deprecated (since = "3.2")]
680
		public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
681
		[Deprecated (since = "3.2")]
682 683 684 685
		public void set_page_side_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
		public void set_page_title (Gtk.Widget page, string title);
		public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type);
		public void update_buttons_state ();
686 687
		[NoAccessorMethod]
		public int use_header_bar { get; construct; }
688 689 690 691 692 693
		public virtual signal void apply ();
		public virtual signal void cancel ();
		public virtual signal void close ();
		public virtual signal void prepare (Gtk.Widget page);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
694
	public class Bin : Gtk.Container, Atk.Implementor, Gtk.Buildable {
695 696
		[CCode (has_construct_function = false)]
		protected Bin ();
697 698 699
		public unowned Gtk.Widget get_child ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
700
	[Compact]
701 702 703 704 705 706 707 708 709 710
	public class BindingEntry {
		public weak Gtk.BindingSet binding_set;
		public uint destroyed;
		public weak Gtk.BindingEntry hash_next;
		public uint in_emission;
		public uint keyval;
		public uint marks_unbound;
		public Gdk.ModifierType modifiers;
		public weak Gtk.BindingEntry set_next;
		public weak Gtk.BindingSignal signals;
711
		public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args, ...);
Jürg Billeter's avatar
Jürg Billeter committed
712
		public static GLib.TokenType add_signal_from_string (Gtk.BindingSet binding_set, string signal_desc);
713
		public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList<Gtk.BindingArg?> binding_args);
714 715 716 717
		public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
		public static void skip (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
718
	[Compact]
719 720 721 722 723 724 725 726
	public class BindingSet {
		public weak Gtk.BindingEntry current;
		public weak Gtk.BindingEntry entries;
		public uint parsed;
		public int priority;
		public weak string set_name;
		[CCode (has_construct_function = false)]
		public BindingSet (string set_name);
Jürg Billeter's avatar
Jürg Billeter committed
727
		public bool activate (uint keyval, Gdk.ModifierType modifiers, GLib.Object object);
728
		[Deprecated (since = "3.0")]
Allison Karlitskaya's avatar
Allison Karlitskaya committed
729
		public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority);
730 731 732 733
		public static unowned Gtk.BindingSet by_class (void* object_class);
		public static unowned Gtk.BindingSet find (string set_name);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
734
	[Compact]
735
	public class BindingSignal {
736 737
		[CCode (array_length_cname = "n_args")]
		public weak Gtk.BindingArg[] args;
738 739 740 741 742
		public uint n_args;
		public weak Gtk.BindingSignal next;
		public weak string signal_name;
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
743 744 745 746 747
	public class BooleanCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component {
		[CCode (has_construct_function = false)]
		protected BooleanCellAccessible ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
748
	public class Box : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
749
		[CCode (has_construct_function = false, type = "GtkWidget*")]
Jürg Billeter's avatar
Jürg Billeter committed
750
		public Box (Gtk.Orientation orientation, int spacing);
751
		public Gtk.BaselinePosition get_baseline_position ();
Rico Tzschichholz's avatar
Rico Tzschichholz committed
752
		public unowned Gtk.Widget get_center_widget ();
753 754 755 756 757 758
		public bool get_homogeneous ();
		public int get_spacing ();
		public void pack_end (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
		public void pack_start (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
		public void query_child_packing (Gtk.Widget child, out bool expand, out bool fill, out uint padding, out Gtk.PackType pack_type);
		public void reorder_child (Gtk.Widget child, int position);
759
		public void set_baseline_position (Gtk.BaselinePosition position);
Rico Tzschichholz's avatar
Rico Tzschichholz committed
760
		public void set_center_widget (Gtk.Widget widget);
761 762 763
		public void set_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type);
		public void set_homogeneous (bool homogeneous);
		public void set_spacing (int spacing);
764
		public Gtk.BaselinePosition baseline_position { get; set; }
765 766 767 768 769 770 771
		public bool homogeneous { get; set; }
		public int spacing { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class Builder : GLib.Object {
		[CCode (has_construct_function = false)]
		public Builder ();
772 773
		public void add_callback_symbol (string callback_name, GLib.Callback callback_symbol);
		public void add_callback_symbols (string first_callback_name, ...);
774
		public uint add_from_file (string filename) throws GLib.Error;
Evan Nemerson's avatar
Evan Nemerson committed
775
		public uint add_from_resource (string resource_path) throws GLib.Error;
776 777
		public uint add_from_string (string buffer, size_t length) throws GLib.Error;
		public uint add_objects_from_file (string filename, [CCode (array_length = false)] string[] object_ids) throws GLib.Error;
778
		public uint add_objects_from_resource (string resource_path, [CCode (array_length = false)] string[] object_ids) throws GLib.Error;
779 780 781 782
		public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false)] string[] object_ids) throws GLib.Error;
		public void connect_signals (void* user_data);
		public void connect_signals_full (Gtk.BuilderConnectFunc func);
		public static GLib.Quark error_quark ();
783
		public void expose_object (string name, GLib.Object object);
784 785 786 787 788 789
		[CCode (has_construct_function = false)]
		public Builder.from_file (string filename);
		[CCode (has_construct_function = false)]
		public Builder.from_resource (string resource_path);
		[CCode (has_construct_function = false)]
		public Builder.from_string (string str, ssize_t length);
Rico Tzschichholz's avatar
Rico Tzschichholz committed
790
		public unowned Gtk.Application get_application ();
791 792 793 794
		public unowned GLib.Object get_object (string name);
		public GLib.SList<weak GLib.Object> get_objects ();
		public unowned string get_translation_domain ();
		public virtual GLib.Type get_type_from_name (string type_name);
795
		public unowned GLib.Callback lookup_callback_symbol (string callback_name);
Rico Tzschichholz's avatar
Rico Tzschichholz committed
796
		public void set_application (Gtk.Application application);
797 798 799 800 801 802
		public void set_translation_domain (string domain);
		public bool value_from_string (GLib.ParamSpec pspec, string str, GLib.Value value) throws GLib.Error;
		public bool value_from_string_type (GLib.Type type, string str, GLib.Value value) throws GLib.Error;
		public string translation_domain { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Allison Karlitskaya's avatar
Allison Karlitskaya committed
803
	public class Button : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
804
		[CCode (has_construct_function = false, type = "GtkWidget*")]
805
		public Button ();
806
		[CCode (has_construct_function = false, type = "GtkWidget*")]
807 808
		public Button.from_icon_name (string icon_name, Gtk.IconSize size);
		[CCode (has_construct_function = false, type = "GtkWidget*")]
809 810
		public Button.from_stock (string stock_id);
		public void get_alignment (out float xalign, out float yalign);
Evan Nemerson's avatar
Evan Nemerson committed
811
		public bool get_always_show_image ();
Jürg Billeter's avatar
Jürg Billeter committed
812
		public unowned Gdk.Window get_event_window ();
813 814 815 816 817 818 819 820
		public bool get_focus_on_click ();
		public unowned Gtk.Widget get_image ();
		public Gtk.PositionType get_image_position ();
		public unowned string get_label ();
		public Gtk.ReliefStyle get_relief ();
		public bool get_use_stock ();
		public bool get_use_underline ();
		public void set_alignment (float xalign, float yalign);
Evan Nemerson's avatar
Evan Nemerson committed
821
		public void set_always_show_image (bool always_show);
822 823 824
		public void set_focus_on_click (bool focus_on_click);
		public void set_image (Gtk.Widget image);
		public void set_image_position (Gtk.PositionType position);
825
		public void set_label (string? label);
826 827 828
		public void set_relief (Gtk.ReliefStyle newstyle);
		public void set_use_stock (bool use_stock);
		public void set_use_underline (bool use_underline);
829
		[CCode (has_construct_function = false, type = "GtkWidget*")]
830
		public Button.with_label (string label);
831
		[CCode (has_construct_function = false, type = "GtkWidget*")]
832
		public Button.with_mnemonic (string label);
Evan Nemerson's avatar
Evan Nemerson committed
833
		public bool always_show_image { get; set construct; }
834 835 836 837 838 839 840 841 842 843 844 845 846 847
		public bool focus_on_click { get; set; }
		public Gtk.Widget image { get; set; }
		public Gtk.PositionType image_position { get; set; }
		public string label { get; set construct; }
		public Gtk.ReliefStyle relief { get; set; }
		public bool use_stock { get; set construct; }
		public bool use_underline { get; set construct; }
		[NoAccessorMethod]
		public float xalign { get; set; }
		[NoAccessorMethod]
		public float yalign { get; set; }
		public virtual signal void activate ();
		[HasEmitter]
		public virtual signal void clicked ();
848
		[Deprecated (replacement = "Gtk.Widget.enter_notify_event", since = "2.8")]
849 850
		[HasEmitter]
		public virtual signal void enter ();
851
		[Deprecated (replacement = "Gtk.Widget.leave_notify_event", since = "2.8")]
852 853
		[HasEmitter]
		public virtual signal void leave ();
854
		[Deprecated (replacement = "Gtk.Widget.button_press_event", since = "2.8")]
855 856
		[HasEmitter]
		public virtual signal void pressed ();
857
		[Deprecated (replacement = "Gtk.Widget.button_release_event", since = "2.8")]
858 859 860 861
		[HasEmitter]
		public virtual signal void released ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
862 863 864 865 866
	public class ButtonAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Action, Atk.Image {
		[CCode (has_construct_function = false)]
		protected ButtonAccessible ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
867
	public class ButtonBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
868
		[CCode (has_construct_function = false, type = "GtkWidget*")]
869
		public ButtonBox (Gtk.Orientation orientation);
Allison Karlitskaya's avatar
Allison Karlitskaya committed
870
		public bool get_child_non_homogeneous (Gtk.Widget child);
871 872
		public bool get_child_secondary (Gtk.Widget child);
		public Gtk.ButtonBoxStyle get_layout ();
Allison Karlitskaya's avatar
Allison Karlitskaya committed
873
		public void set_child_non_homogeneous (Gtk.Widget child, bool non_homogeneous);
874 875 876 877 878 879
		public void set_child_secondary (Gtk.Widget child, bool is_secondary);
		public void set_layout (Gtk.ButtonBoxStyle layout_style);
		[NoAccessorMethod]
		public Gtk.ButtonBoxStyle layout_style { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
880
	public class Calendar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
881
		[CCode (has_construct_function = false, type = "GtkWidget*")]
882 883 884
		public Calendar ();
		public void clear_marks ();
		public void get_date (out uint year, out uint month, out uint day);
Jürg Billeter's avatar
Jürg Billeter committed
885
		public bool get_day_is_marked (uint day);
886 887 888
		public int get_detail_height_rows ();
		public int get_detail_width_chars ();
		public Gtk.CalendarDisplayOptions get_display_options ();
Jürg Billeter's avatar
Jürg Billeter committed
889
		public void mark_day (uint day);
890
		public void select_day (uint day);
Jürg Billeter's avatar
Jürg Billeter committed
891
		public void select_month (uint month, uint year);
892 893 894 895
		public void set_detail_func (owned Gtk.CalendarDetailFunc func);
		public void set_detail_height_rows (int rows);
		public void set_detail_width_chars (int chars);
		public void set_display_options (Gtk.CalendarDisplayOptions flags);
Jürg Billeter's avatar
Jürg Billeter committed
896
		public void unmark_day (uint day);
897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923
		[NoAccessorMethod]
		public int day { get; set; }
		public int detail_height_rows { get; set; }
		public int detail_width_chars { get; set; }
		[NoAccessorMethod]
		public int month { get; set; }
		[NoAccessorMethod]
		public bool no_month_change { get; set; }
		[NoAccessorMethod]
		public bool show_day_names { get; set; }
		[NoAccessorMethod]
		public bool show_details { get; set; }
		[NoAccessorMethod]
		public bool show_heading { get; set; }
		[NoAccessorMethod]
		public bool show_week_numbers { get; set; }
		[NoAccessorMethod]
		public int year { get; set; }
		public virtual signal void day_selected ();
		public virtual signal void day_selected_double_click ();
		public virtual signal void month_changed ();
		public virtual signal void next_month ();
		public virtual signal void next_year ();
		public virtual signal void prev_month ();
		public virtual signal void prev_year ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
924 925 926 927 928 929 930
	public class CellAccessible : Gtk.Accessible, Atk.Action, Atk.Component {
		[CCode (has_construct_function = false)]
		protected CellAccessible ();
		[NoWrapper]
		public virtual void update_cache ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
931 932 933 934 935 936 937 938 939 940
	public class CellArea : GLib.InitiallyUnowned, Gtk.CellLayout, Gtk.Buildable {
		[CCode (has_construct_function = false)]
		protected CellArea ();
		public virtual bool activate (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool edit_only);
		public bool activate_cell (Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
		public virtual void add (Gtk.CellRenderer renderer);
		public void add_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
		public void add_with_properties (Gtk.CellRenderer renderer, ...);
		public void attribute_connect (Gtk.CellRenderer renderer, string attribute, int column);
		public void attribute_disconnect (Gtk.CellRenderer renderer, string attribute);
Rico Tzschichholz's avatar
Rico Tzschichholz committed
941
		public int attribute_get_column (Gtk.CellRenderer renderer, string attribute);
Jürg Billeter's avatar
Jürg Billeter committed
942 943 944 945 946 947 948 949 950 951 952 953
		public void cell_get (Gtk.CellRenderer renderer, ...);
		public void cell_get_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
		public void cell_get_valist (Gtk.CellRenderer renderer, string first_property_name, void* var_args);
		public void cell_set (Gtk.CellRenderer renderer, ...);
		public void cell_set_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
		public void cell_set_valist (Gtk.CellRenderer renderer, string first_property_name, void* var_args);
		public virtual unowned Gtk.CellAreaContext copy_context (Gtk.CellAreaContext context);
		public virtual unowned Gtk.CellAreaContext create_context ();
		public virtual int event (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
		[CCode (cname = "gtk_cell_area_class_find_cell_property")]
		public class unowned GLib.ParamSpec find_cell_property (string property_name);
		public virtual bool focus (Gtk.DirectionType direction);
954
		public virtual void @foreach (Gtk.CellCallback callback);
Jürg Billeter's avatar
Jürg Billeter committed
955 956 957 958 959 960 961 962 963 964 965
		public virtual void foreach_alloc (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle background_area, Gtk.CellAllocCallback callback, void* callback_data);
		public void get_cell_allocation (Gtk.CellAreaContext context, Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle allocation);
		public unowned Gtk.CellRenderer get_cell_at_position (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, int x, int y, Gdk.Rectangle alloc_area);
		[NoWrapper]
		public virtual void get_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
		public unowned string get_current_path_string ();
		public unowned Gtk.CellEditable get_edit_widget ();
		public unowned Gtk.CellRenderer get_edited_cell ();
		public unowned Gtk.CellRenderer get_focus_cell ();
		public unowned Gtk.CellRenderer get_focus_from_sibling (Gtk.CellRenderer renderer);
		public unowned GLib.List get_focus_siblings (Gtk.CellRenderer renderer);
966 967 968 969
		public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_height, out int natural_height);
		public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
		public virtual void get_preferred_width (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_width, out int natural_width);
		public virtual void get_preferred_width_for_height (Gtk.CellAreaContext context, Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
Jürg Billeter's avatar
Jürg Billeter committed
970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997
		public virtual Gtk.SizeRequestMode get_request_mode ();
		public bool has_renderer (Gtk.CellRenderer renderer);
		public void inner_cell_area (Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle inner_area);
		[CCode (cname = "gtk_cell_area_class_install_cell_property")]
		public class void install_cell_property (uint property_id, GLib.ParamSpec pspec);
		public virtual bool is_activatable ();
		public bool is_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
		[CCode (cname = "gtk_cell_area_class_list_cell_properties")]
		public class unowned GLib.ParamSpec list_cell_properties (uint n_properties);
		public virtual void remove (Gtk.CellRenderer renderer);
		public void remove_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
		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);
		public void request_renderer (Gtk.CellRenderer renderer, Gtk.Orientation orientation, Gtk.Widget widget, int for_size, int minimum_size, int natural_size);
		[NoWrapper]
		public virtual void set_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
		public void set_focus_cell (Gtk.CellRenderer renderer);
		public void stop_editing (bool canceled);
		public Gtk.CellEditable edit_widget { get; }
		public Gtk.CellRenderer edited_cell { get; }
		public Gtk.CellRenderer focus_cell { get; set; }
		public virtual signal void add_editable (Gtk.CellRenderer p0, Gtk.CellEditable p1, Gdk.Rectangle p2, string p3);
		[HasEmitter]
		public virtual signal void apply_attributes (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
		public virtual signal void focus_changed (Gtk.CellRenderer p0, string p1);
		public virtual signal void remove_editable (Gtk.CellRenderer p0, Gtk.CellEditable p1);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CellAreaBox : Gtk.CellArea, Gtk.CellLayout, Gtk.Buildable, Gtk.Orientable {
998
		[CCode (has_construct_function = false, type = "GtkCellArea*")]
Jürg Billeter's avatar
Jürg Billeter committed
999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
		public CellAreaBox ();
		public int get_spacing ();
		public void set_spacing (int spacing);
		public int spacing { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CellAreaContext : GLib.Object {
		[CCode (has_construct_function = false)]
		protected CellAreaContext ();
		public virtual void allocate (int width, int height);
		public void get_allocation (int width, int height);
		public unowned Gtk.CellArea get_area ();
1011 1012 1013 1014
		public void get_preferred_height (out int minimum_height, out int natural_height);
		public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
		public void get_preferred_width (out int minimum_width, out int natural_width);
		public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
Jürg Billeter's avatar
Jürg Billeter committed
1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028
		public void push_preferred_height (int minimum_height, int natural_height);
		public void push_preferred_width (int minimum_width, int natural_width);
		public virtual void reset ();
		public Gtk.CellArea area { get; construct; }
		[NoAccessorMethod]
		public int minimum_height { get; }
		[NoAccessorMethod]
		public int minimum_width { get; }
		[NoAccessorMethod]
		public int natural_height { get; }
		[NoAccessorMethod]
		public int natural_width { get; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
1029
	public abstract class CellRenderer : GLib.InitiallyUnowned {
1030 1031
		[CCode (has_construct_function = false)]
		protected CellRenderer ();
1032
		public virtual bool activate (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1033
		public virtual Gdk.Rectangle get_aligned_area (Gtk.Widget widget, Gtk.CellRendererState flags, Gdk.Rectangle cell_area);
1034
		public void get_alignment (out float xalign, out float yalign);
1035
		public void get_fixed_size (out int width, out int height);
1036
		public void get_padding (out int xpad, out int ypad);
1037 1038 1039 1040 1041
		public virtual void get_preferred_height (Gtk.Widget widget, out int minimum_size, out int natural_size);
		public virtual void get_preferred_height_for_width (Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
		public void get_preferred_size (Gtk.Widget widget, out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
		public virtual void get_preferred_width (Gtk.Widget widget, out int minimum_size, out int natural_size);
		public virtual void get_preferred_width_for_height (Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
Jürg Billeter's avatar
Jürg Billeter committed
1042
		public virtual Gtk.SizeRequestMode get_request_mode ();
1043
		public bool get_sensitive ();
1044
		[Deprecated (replacement = "get_preferred_size", since = "3.0")]
1045
		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);
Jürg Billeter's avatar
Jürg Billeter committed
1046
		public Gtk.StateFlags get_state (Gtk.Widget widget, Gtk.CellRendererState cell_state);
1047
		public bool get_visible ();
Jürg Billeter's avatar
Jürg Billeter committed
1048
		public bool is_activatable ();
Jürg Billeter's avatar
Jürg Billeter committed
1049
		public abstract void render (Cairo.Context cr, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1050 1051
		[CCode (cname = "gtk_cell_renderer_class_set_accessible_type")]
		public class void set_accessible_type (GLib.Type type);
1052 1053 1054 1055 1056 1057 1058 1059 1060
		public void set_alignment (float xalign, float yalign);
		public void set_fixed_size (int width, int height);
		public void set_padding (int xpad, int ypad);
		public void set_sensitive (bool sensitive);
		public void set_visible (bool visible);
		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);
		public void stop_editing (bool canceled);
		[NoAccessorMethod]
		public string cell_background { set; }
1061
		[Deprecated (replacement = "Gtk.CellRenderer.cell_background_rgba", since = "3.4")]
1062 1063 1064
		[NoAccessorMethod]
		public Gdk.Color cell_background_gdk { get; set; }
		[NoAccessorMethod]
1065 1066
		public Gdk.RGBA cell_background_rgba { get; set; }
		[NoAccessorMethod]
1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
		public bool cell_background_set { get; set; }
		[NoAccessorMethod]
		public bool editing { get; }
		[NoAccessorMethod]
		public int height { get; set; }
		[NoAccessorMethod]
		public bool is_expanded { get; set; }
		[NoAccessorMethod]
		public bool is_expander { get; set; }
		[NoAccessorMethod]
		public Gtk.CellRendererMode mode { get; set; }
		public bool sensitive { get; set; }
		public bool visible { get; set; }
		[NoAccessorMethod]
		public int width { get; set; }
		[NoAccessorMethod]
		public float xalign { get; set; }
		[NoAccessorMethod]
		public uint xpad { get; set; }
		[NoAccessorMethod]
		public float yalign { get; set; }
		[NoAccessorMethod]
		public uint ypad { get; set; }
		[HasEmitter]
		public virtual signal void editing_canceled ();
		public virtual signal void editing_started (Gtk.CellEditable editable, string path);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CellRendererAccel : Gtk.CellRendererText {
1096
		[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110
		public CellRendererAccel ();
		[NoAccessorMethod]
		public uint accel_key { get; set; }
		[NoAccessorMethod]
		public Gtk.CellRendererAccelMode accel_mode { get; set; }
		[NoAccessorMethod]
		public Gdk.ModifierType accel_mods { get; set; }
		[NoAccessorMethod]
		public uint keycode { get; set; }
		public virtual signal void accel_cleared (string path_string);
		public virtual signal void accel_edited (string path_string, uint accel_key, Gdk.ModifierType accel_mods, uint hardware_keycode);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CellRendererCombo : Gtk.CellRendererText {
1111
		[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122
		public CellRendererCombo ();
		[NoAccessorMethod]
		public bool has_entry { get; set; }
		[NoAccessorMethod]
		public Gtk.TreeModel model { owned get; set; }
		[NoAccessorMethod]
		public int text_column { get; set; }
		public virtual signal void changed (string p0, Gtk.TreeIter p1);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CellRendererPixbuf : Gtk.CellRenderer {
1123
		[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142
		public CellRendererPixbuf ();
		[NoAccessorMethod]
		public bool follow_state { get; set; }
		[NoAccessorMethod]
		public GLib.Icon gicon { owned get; set; }
		[NoAccessorMethod]
		public string icon_name { owned get; set; }
		[NoAccessorMethod]
		public Gdk.Pixbuf pixbuf { owned get; set; }
		[NoAccessorMethod]
		public Gdk.Pixbuf pixbuf_expander_closed { owned get; set; }
		[NoAccessorMethod]
		public Gdk.Pixbuf pixbuf_expander_open { owned get; set; }
		[NoAccessorMethod]
		public string stock_detail { owned get; set; }
		[NoAccessorMethod]
		public string stock_id { owned get; set; }
		[NoAccessorMethod]
		public uint stock_size { get; set; }
Rico Tzschichholz's avatar
Rico Tzschichholz committed
1143 1144
		[NoAccessorMethod]
		public Cairo.Surface surface { owned get; set; }
1145 1146
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
1147
	public class CellRendererProgress : Gtk.CellRenderer, Gtk.Orientable {
1148
		[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1149 1150
		public CellRendererProgress ();
		[NoAccessorMethod]
Jürg Billeter's avatar
Jürg Billeter committed
1151
		public bool inverted { get; set; }
1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164
		[NoAccessorMethod]
		public int pulse { get; set; }
		[NoAccessorMethod]
		public string text { owned get; set; }
		[NoAccessorMethod]
		public float text_xalign { get; set; }
		[NoAccessorMethod]
		public float text_yalign { get; set; }
		[NoAccessorMethod]
		public int value { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CellRendererSpin : Gtk.CellRendererText {
1165
		[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1166 1167 1168 1169 1170 1171 1172 1173 1174 1175
		public CellRendererSpin ();
		[NoAccessorMethod]
		public Gtk.Adjustment adjustment { owned get; set; }
		[NoAccessorMethod]
		public double climb_rate { get; set; }
		[NoAccessorMethod]
		public uint digits { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CellRendererSpinner : Gtk.CellRenderer {
1176
		[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1177 1178 1179 1180 1181 1182 1183 1184 1185 1186
		public CellRendererSpinner ();
		[NoAccessorMethod]
		public bool active { get; set; }
		[NoAccessorMethod]
		public uint pulse { get; set; }
		[NoAccessorMethod]
		public Gtk.IconSize size { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CellRendererText : Gtk.CellRenderer {
1187
		[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1188 1189 1190 1191 1192 1193 1194 1195 1196 1197
		public CellRendererText ();
		public void set_fixed_height_from_font (int number_of_rows);
		[NoAccessorMethod]
		public bool align_set { get; set; }
		[NoAccessorMethod]
		public Pango.Alignment alignment { get; set; }
		[NoAccessorMethod]
		public Pango.AttrList attributes { owned get; set; }
		[NoAccessorMethod]
		public string background { set; }
1198
		[Deprecated (replacement = "background_rgba", since = "3.4")]
1199 1200 1201
		[NoAccessorMethod]
		public Gdk.Color background_gdk { get; set; }
		[NoAccessorMethod]
1202 1203
		public Gdk.RGBA background_rgba { get; set; }
		[NoAccessorMethod]
1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222
		public bool background_set { get; set; }
		[NoAccessorMethod]
		public bool editable { get; set; }
		[NoAccessorMethod]
		public bool editable_set { get; set; }
		[NoAccessorMethod]
		public Pango.EllipsizeMode ellipsize { get; set; }
		[NoAccessorMethod]
		public bool ellipsize_set { get; set; }
		[NoAccessorMethod]
		public string family { owned get; set; }
		[NoAccessorMethod]
		public bool family_set { get; set; }
		[NoAccessorMethod]
		public string font { owned get; set; }
		[NoAccessorMethod]
		public Pango.FontDescription font_desc { owned get; set; }
		[NoAccessorMethod]
		public string foreground { set; }
1223
		[Deprecated (replacement = "foreground_rgba", since = "3.4")]
1224 1225 1226
		[NoAccessorMethod]
		public Gdk.Color foreground_gdk { get; set; }
		[NoAccessorMethod]
1227 1228
		public Gdk.RGBA foreground_rgba { get; set; }
		[NoAccessorMethod]
1229 1230 1231 1232 1233 1234 1235 1236
		public bool foreground_set { get; set; }
		[NoAccessorMethod]
		public string language { owned get; set; }
		[NoAccessorMethod]
		public bool language_set { get; set; }
		[NoAccessorMethod]
		public string markup { set; }
		[NoAccessorMethod]
Jürg Billeter's avatar
Jürg Billeter committed
1237 1238
		public int max_width_chars { get; set; }
		[NoAccessorMethod]
Evan Nemerson's avatar
Evan Nemerson committed
1239 1240
		public string placeholder_text { owned get; set; }
		[NoAccessorMethod]
1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291
		public int rise { get; set; }
		[NoAccessorMethod]
		public bool rise_set { get; set; }
		[NoAccessorMethod]
		public double scale { get; set; }
		[NoAccessorMethod]
		public bool scale_set { get; set; }
		[NoAccessorMethod]
		public bool single_paragraph_mode { get; set; }
		[NoAccessorMethod]
		public int size { get; set; }
		[NoAccessorMethod]
		public double size_points { get; set; }
		[NoAccessorMethod]
		public bool size_set { get; set; }
		[NoAccessorMethod]
		public Pango.Stretch stretch { get; set; }
		[NoAccessorMethod]
		public bool stretch_set { get; set; }
		[NoAccessorMethod]
		public bool strikethrough { get; set; }
		[NoAccessorMethod]
		public bool strikethrough_set { get; set; }
		[NoAccessorMethod]
		public Pango.Style style { get; set; }
		[NoAccessorMethod]
		public bool style_set { get; set; }
		[NoAccessorMethod]
		public string text { owned get; set; }
		[NoAccessorMethod]
		public Pango.Underline underline { get; set; }
		[NoAccessorMethod]
		public bool underline_set { get; set; }
		[NoAccessorMethod]
		public Pango.Variant variant { get; set; }
		[NoAccessorMethod]
		public bool variant_set { get; set; }
		[NoAccessorMethod]
		public int weight { get; set; }
		[NoAccessorMethod]
		public bool weight_set { get; set; }
		[NoAccessorMethod]
		public int width_chars { get; set; }
		[NoAccessorMethod]
		public Pango.WrapMode wrap_mode { get; set; }
		[NoAccessorMethod]
		public int wrap_width { get; set; }
		public virtual signal void edited (string path, string new_text);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CellRendererToggle : Gtk.CellRenderer {
1292
		[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309
		public CellRendererToggle ();
		public bool get_activatable ();
		public bool get_active ();
		public bool get_radio ();
		public void set_activatable (bool setting);
		public void set_active (bool setting);
		public void set_radio (bool radio);
		public bool activatable { get; set; }
		public bool active { get; set; }
		[NoAccessorMethod]
		public bool inconsistent { get; set; }
		[NoAccessorMethod]
		public int indicator_size { get; set; }
		public bool radio { get; set; }
		public virtual signal void toggled (string path);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
1310
	public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable {
1311
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1312 1313
		public CellView ();
		public unowned Gtk.TreePath get_displayed_row ();
Jürg Billeter's avatar
Jürg Billeter committed
1314 1315
		public bool get_draw_sensitive ();
		public bool get_fit_model ();
1316
		public unowned Gtk.TreeModel get_model ();
Allison Karlitskaya's avatar
Allison Karlitskaya committed
1317
		public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition);
1318
		[Deprecated (replacement = "set_background_rgba", since = "3.4")]
1319
		public void set_background_color (Gdk.Color color);
1320
		public void set_background_rgba (Gdk.RGBA rgba);
1321
		public void set_displayed_row (Gtk.TreePath path);
Jürg Billeter's avatar
Jürg Billeter committed
1322 1323
		public void set_draw_sensitive (bool draw_sensitive);
		public void set_fit_model (bool fit_model);
1324
		public void set_model (Gtk.TreeModel? model);
1325
		[CCode (has_construct_function = false, type = "GtkWidget*")]
Jürg Billeter's avatar
Jürg Billeter committed
1326
		public CellView.with_context (Gtk.CellArea area, Gtk.CellAreaContext context);
1327
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1328
		public CellView.with_markup (string markup);
1329
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1330
		public CellView.with_pixbuf (Gdk.Pixbuf pixbuf);
1331
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1332 1333 1334
		public CellView.with_text (string text);
		[NoAccessorMethod]
		public string background { set; }
1335
		[Deprecated (replacement = "background_rgba", since = "3.4")]
1336 1337 1338
		[NoAccessorMethod]
		public Gdk.Color background_gdk { get; set; }
		[NoAccessorMethod]
1339 1340
		public Gdk.RGBA background_rgba { get; set; }
		[NoAccessorMethod]
1341
		public bool background_set { get; set; }
Jürg Billeter's avatar
Jürg Billeter committed
1342 1343 1344 1345 1346 1347
		[NoAccessorMethod]
		public Gtk.CellArea cell_area { owned get; construct; }
		[NoAccessorMethod]
		public Gtk.CellAreaContext cell_area_context { owned get; construct; }
		public bool draw_sensitive { get; set; }
		public bool fit_model { get; set; }
1348 1349 1350
		public Gtk.TreeModel model { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Allison Karlitskaya's avatar
Allison Karlitskaya committed
1351
	public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
1352
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1353 1354
		public CheckButton ();
		[NoWrapper]
Jürg Billeter's avatar
Jürg Billeter committed
1355
		public virtual void draw_indicator (Cairo.Context cr);
1356
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1357
		public CheckButton.with_label (string label);
1358
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1359 1360 1361
		public CheckButton.with_mnemonic (string label);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
1362
	public class CheckMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
1363
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1364 1365
		public CheckMenuItem ();
		[NoWrapper]
Jürg Billeter's avatar
Jürg Billeter committed
1366
		public virtual void draw_indicator (Cairo.Context cr);
1367 1368 1369 1370 1371 1372
		public bool get_active ();
		public bool get_draw_as_radio ();
		public bool get_inconsistent ();
		public void set_active (bool is_active);
		public void set_draw_as_radio (bool draw_as_radio);
		public void set_inconsistent (bool setting);
1373
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1374
		public CheckMenuItem.with_label (string label);
1375
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1376 1377 1378 1379 1380 1381 1382 1383
		public CheckMenuItem.with_mnemonic (string label);
		public bool active { get; set; }
		public bool draw_as_radio { get; set; }
		public bool inconsistent { get; set; }
		[HasEmitter]
		public virtual signal void toggled ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
1384 1385 1386 1387 1388
	public class CheckMenuItemAccessible : Gtk.MenuItemAccessible, Atk.Component, Atk.Action, Atk.Selection {
		[CCode (has_construct_function = false)]
		protected CheckMenuItemAccessible ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
1389
	public class Clipboard : GLib.Object {
1390 1391
		[CCode (has_construct_function = false)]
		protected Clipboard ();
1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408
		public void clear ();
		public static unowned Gtk.Clipboard @get (Gdk.Atom selection);
		public unowned Gdk.Display get_display ();
		public static unowned Gtk.Clipboard get_for_display (Gdk.Display display, Gdk.Atom selection);
		public unowned GLib.Object get_owner ();
		public void request_contents (Gdk.Atom target, Gtk.ClipboardReceivedFunc callback);
		public void request_image (Gtk.ClipboardImageReceivedFunc callback);
		public void request_rich_text (Gtk.TextBuffer buffer, Gtk.ClipboardRichTextReceivedFunc callback);
		public void request_targets (Gtk.ClipboardTargetsReceivedFunc callback);
		public void request_text (Gtk.ClipboardTextReceivedFunc callback);
		public void request_uris (Gtk.ClipboardURIReceivedFunc callback);
		public void set_can_store (Gtk.TargetEntry[] targets);
		public void set_image (Gdk.Pixbuf pixbuf);
		public void set_text (string text, int len);
		public bool set_with_data (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func);
		public bool set_with_owner (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func, GLib.Object owner);
		public void store ();
1409 1410 1411 1412 1413 1414 1415 1416
		public Gtk.SelectionData? wait_for_contents (Gdk.Atom target);
		public Gdk.Pixbuf? wait_for_image ();
		[CCode (array_length_type = "gsize")]
		public uint8[]? wait_for_rich_text (Gtk.TextBuffer buffer, out Gdk.Atom format);
		public bool wait_for_targets (out Gdk.Atom[] targets);
		public string? wait_for_text ();
		[CCode (array_length = false, array_null_terminated = true)]
		public string[]? wait_for_uris ();
1417 1418 1419 1420 1421 1422 1423 1424
		public bool wait_is_image_available ();
		public bool wait_is_rich_text_available (Gtk.TextBuffer buffer);
		public bool wait_is_target_available (Gdk.Atom target);
		public bool wait_is_text_available ();
		public bool wait_is_uris_available ();
		public virtual signal void owner_change (Gdk.Event p0);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Evan Nemerson's avatar
Evan Nemerson committed
1425
	public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.ColorChooser {
1426
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1427 1428 1429 1430 1431 1432 1433 1434 1435
		public ColorButton ();
		public uint16 get_alpha ();
		public void get_color (out Gdk.Color color);
		public unowned string get_title ();
		public bool get_use_alpha ();
		public void set_alpha (uint16 alpha);
		public void set_color (Gdk.Color color);
		public void set_title (string title);
		public void set_use_alpha (bool use_alpha);
1436
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1437
		public ColorButton.with_color (Gdk.Color color);
1438
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1439
		public ColorButton.with_rgba (Gdk.RGBA rgba);
1440
		public uint alpha { get; set; }
1441
		[Deprecated (replacement = "rgba", since = "3.4")]
1442
		public Gdk.Color color { get; set; }
1443
		public Gdk.RGBA rgba { get; set; }
1444 1445 1446 1447 1448
		public string title { get; set; }
		public bool use_alpha { get; set; }
		public virtual signal void color_set ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Evan Nemerson's avatar
Evan Nemerson committed
1449 1450
	public class ColorChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1451
		public ColorChooserDialog (string? title, Gtk.Window? parent);
Evan Nemerson's avatar
Evan Nemerson committed
1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462
		[NoAccessorMethod]
		public bool show_editor { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class ColorChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.ColorChooser {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public ColorChooserWidget ();
		[NoAccessorMethod]
		public bool show_editor { get; set; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Allison Karlitskaya's avatar
Allison Karlitskaya committed
1463
	public class ColorSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1464
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1465 1466
		public ColorSelection ();
		public uint16 get_current_alpha ();
1467
		[Deprecated (replacement = "get_current_rgba", since = "3.4")]
1468
		public void get_current_color (out Gdk.Color color);
1469
		public void get_current_rgba (Gdk.RGBA rgba);
1470 1471 1472 1473
		public bool get_has_opacity_control ();
		public bool get_has_palette ();
		public uint16 get_previous_alpha ();
		public void get_previous_color (out Gdk.Color color);
1474
		public void get_previous_rgba (Gdk.RGBA rgba);
1475 1476 1477 1478 1479
		public bool is_adjusting ();
		public static bool palette_from_string (string str, Gdk.Color[] colors);
		public static unowned string palette_to_string (Gdk.Color[] colors);
		public static unowned Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func);
		public void set_current_alpha (uint16 alpha);
1480
		[Deprecated (replacement = "set_current_rgba", since = "3.4")]
1481
		public void set_current_color (Gdk.Color color);
1482
		public void set_current_rgba (Gdk.RGBA rgba);
1483 1484 1485 1486
		public void set_has_opacity_control (bool has_opacity);
		public void set_has_palette (bool has_palette);
		public void set_previous_alpha (uint16 alpha);
		public void set_previous_color (Gdk.Color color);
1487
		public void set_previous_rgba (Gdk.RGBA rgba);
1488 1489
		public uint current_alpha { get; set; }
		public Gdk.Color current_color { get; set; }
1490
		public Gdk.RGBA current_rgba { get; set; }
1491 1492 1493 1494 1495
		public bool has_opacity_control { get; set; }
		public bool has_palette { get; set; }
		public virtual signal void color_changed ();
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
1496
	public class ColorSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
1497
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1498
		public ColorSelectionDialog (string title);
1499
		public unowned Gtk.ColorSelection get_color_selection ();
1500 1501 1502 1503 1504 1505 1506 1507 1508
		[NoAccessorMethod]
		public Gtk.Widget cancel_button { owned get; }
		public Gtk.Widget color_selection { get; }
		[NoAccessorMethod]
		public Gtk.Widget help_button { owned get; }
		[NoAccessorMethod]
		public Gtk.Widget ok_button { owned get; }
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
1509
	public class ComboBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable {
1510
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1511 1512
		public ComboBox ();
		public int get_active ();
Jürg Billeter's avatar
Jürg Billeter committed
1513
		public unowned string get_active_id ();
1514 1515 1516 1517
		public bool get_active_iter (out Gtk.TreeIter iter);
		public bool get_add_tearoffs ();
		public Gtk.SensitivityType get_button_sensitivity ();
		public int get_column_span_column ();
1518
		public int get_entry_text_column ();
1519
		public bool get_focus_on_click ();
1520
		public bool get_has_entry ();
Jürg Billeter's avatar
Jürg Billeter committed
1521
		public int get_id_column ();
1522 1523
		public unowned Gtk.TreeModel get_model ();
		public unowned Atk.Object get_popup_accessible ();
1524
		public bool get_popup_fixed_width ();
1525 1526 1527 1528 1529 1530
		public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
		public int get_row_span_column ();
		public unowned string get_title ();
		public int get_wrap_width ();
		public void popup_for_device (Gdk.Device device);
		public void set_active (int index_);
Allison Karlitskaya's avatar
Allison Karlitskaya committed
1531
		public bool set_active_id (string active_id);
1532
		public void set_active_iter (Gtk.TreeIter? iter);
1533 1534 1535
		public void set_add_tearoffs (bool add_tearoffs);
		public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
		public void set_column_span_column (int column_span);
1536
		public void set_entry_text_column (int text_column);
1537
		public void set_focus_on_click (bool focus_on_click);
Jürg Billeter's avatar
Jürg Billeter committed
1538
		public void set_id_column (int id_column);
1539
		public void set_model (Gtk.TreeModel? model);
1540
		public void set_popup_fixed_width (bool fixed);
1541 1542 1543 1544
		public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc func);
		public void set_row_span_column (int row_span);
		public void set_title (string title);
		public void set_wrap_width (int width);
1545
		[CCode (has_construct_function = false, type = "GtkWidget*")]
Jürg Billeter's avatar
Jürg Billeter committed
1546
		public ComboBox.with_area (Gtk.CellArea area);
1547
		[CCode (has_construct_function = false, type = "GtkWidget*")]
Jürg Billeter's avatar
Jürg Billeter committed
1548
		public ComboBox.with_area_and_entry (Gtk.CellArea area);
1549
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1550
		public ComboBox.with_entry ();
1551
		[CCode (has_construct_function = false, type = "GtkWidget*")]
1552
		public ComboBox.with_model (Gtk.TreeModel model);
1553
		[CCode (has_construct_function = false, type = "GtkWidget*")]
Jürg Billeter's avatar
Jürg Billeter committed
1554
		public ComboBox.with_model_and_entry (Gtk.TreeModel model);
1555
		public int active { get; set; }
Jürg Billeter's avatar
Jürg Billeter committed
1556
		public string active_id { get; set; }
1557 1558
		public bool add_tearoffs { get; set; }
		public Gtk.SensitivityType button_sensitivity { get; set; }
Jürg Billeter's avatar
Jürg Billeter committed
1559 1560
		[NoAccessorMethod]
		public Gtk.CellArea cell_area { owned get; construct; }
1561
		public int column_span_column { get; set; }
1562
		public int entry_text_column { get; set; }
1563
		public bool focus_on_click { get; set; }
1564
		public bool has_entry { get; construct; }
1565 1566
		[NoAccessorMethod]
		public bool has_frame { get; set; }
Jürg Billeter's avatar
Jürg Billeter committed
1567
		public int id_column { get; set; }
1568
		public Gtk.TreeModel model { get; set; }