vapi: Update GIR-based bindings
[vala-gnome.git] / vapi / gtk+-3.0.vapi
blob24cc791dfad2a41a1d582cdd7a5558fb0df08433
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_")]
4 namespace Gtk {
5         [Version (deprecated_since = "3.10")]
6         namespace Stock {
7                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ABOUT")]
8                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
9                 public const string ABOUT;
10                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ADD")]
11                 [Version (deprecated = true, deprecated_since = "3.10")]
12                 public const string ADD;
13                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_APPLY")]
14                 [Version (deprecated = true, deprecated_since = "3.10")]
15                 public const string APPLY;
16                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_BOLD")]
17                 [Version (deprecated = true, deprecated_since = "3.10")]
18                 public const string BOLD;
19                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CANCEL")]
20                 [Version (deprecated = true, deprecated_since = "3.10")]
21                 public const string CANCEL;
22                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CAPS_LOCK_WARNING")]
23                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.16")]
24                 public const string CAPS_LOCK_WARNING;
25                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CDROM")]
26                 [Version (deprecated = true, deprecated_since = "3.10")]
27                 public const string CDROM;
28                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CLEAR")]
29                 [Version (deprecated = true, deprecated_since = "3.10")]
30                 public const string CLEAR;
31                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CLOSE")]
32                 [Version (deprecated = true, deprecated_since = "3.10")]
33                 public const string CLOSE;
34                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_COLOR_PICKER")]
35                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.2")]
36                 public const string COLOR_PICKER;
37                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CONNECT")]
38                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
39                 public const string CONNECT;
40                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CONVERT")]
41                 [Version (deprecated = true, deprecated_since = "3.10")]
42                 public const string CONVERT;
43                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_COPY")]
44                 [Version (deprecated = true, deprecated_since = "3.10")]
45                 public const string COPY;
46                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CUT")]
47                 [Version (deprecated = true, deprecated_since = "3.10")]
48                 public const string CUT;
49                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DELETE")]
50                 [Version (deprecated = true, deprecated_since = "3.10")]
51                 public const string DELETE;
52                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIALOG_AUTHENTICATION")]
53                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
54                 public const string DIALOG_AUTHENTICATION;
55                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIALOG_ERROR")]
56                 [Version (deprecated = true, deprecated_since = "3.10")]
57                 public const string DIALOG_ERROR;
58                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIALOG_INFO")]
59                 [Version (deprecated = true, deprecated_since = "3.10")]
60                 public const string DIALOG_INFO;
61                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIALOG_QUESTION")]
62                 [Version (deprecated = true, deprecated_since = "3.10")]
63                 public const string DIALOG_QUESTION;
64                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIALOG_WARNING")]
65                 [Version (deprecated = true, deprecated_since = "3.10")]
66                 public const string DIALOG_WARNING;
67                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIRECTORY")]
68                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
69                 public const string DIRECTORY;
70                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DISCARD")]
71                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
72                 public const string DISCARD;
73                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DISCONNECT")]
74                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
75                 public const string DISCONNECT;
76                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DND")]
77                 [Version (deprecated = true, deprecated_since = "3.10")]
78                 public const string DND;
79                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DND_MULTIPLE")]
80                 [Version (deprecated = true, deprecated_since = "3.10")]
81                 public const string DND_MULTIPLE;
82                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_EDIT")]
83                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
84                 public const string EDIT;
85                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_EXECUTE")]
86                 [Version (deprecated = true, deprecated_since = "3.10")]
87                 public const string EXECUTE;
88                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_FILE")]
89                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
90                 public const string FILE;
91                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_FIND")]
92                 [Version (deprecated = true, deprecated_since = "3.10")]
93                 public const string FIND;
94                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_FIND_AND_REPLACE")]
95                 [Version (deprecated = true, deprecated_since = "3.10")]
96                 public const string FIND_AND_REPLACE;
97                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_FLOPPY")]
98                 [Version (deprecated = true, deprecated_since = "3.10")]
99                 public const string FLOPPY;
100                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_FULLSCREEN")]
101                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
102                 public const string FULLSCREEN;
103                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GOTO_BOTTOM")]
104                 [Version (deprecated = true, deprecated_since = "3.10")]
105                 public const string GOTO_BOTTOM;
106                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GOTO_FIRST")]
107                 [Version (deprecated = true, deprecated_since = "3.10")]
108                 public const string GOTO_FIRST;
109                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GOTO_LAST")]
110                 [Version (deprecated = true, deprecated_since = "3.10")]
111                 public const string GOTO_LAST;
112                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GOTO_TOP")]
113                 [Version (deprecated = true, deprecated_since = "3.10")]
114                 public const string GOTO_TOP;
115                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GO_BACK")]
116                 [Version (deprecated = true, deprecated_since = "3.10")]
117                 public const string GO_BACK;
118                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GO_DOWN")]
119                 [Version (deprecated = true, deprecated_since = "3.10")]
120                 public const string GO_DOWN;
121                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GO_FORWARD")]
122                 [Version (deprecated = true, deprecated_since = "3.10")]
123                 public const string GO_FORWARD;
124                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GO_UP")]
125                 [Version (deprecated = true, deprecated_since = "3.10")]
126                 public const string GO_UP;
127                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_HARDDISK")]
128                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
129                 public const string HARDDISK;
130                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_HELP")]
131                 [Version (deprecated = true, deprecated_since = "3.10")]
132                 public const string HELP;
133                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_HOME")]
134                 [Version (deprecated = true, deprecated_since = "3.10")]
135                 public const string HOME;
136                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_INDENT")]
137                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
138                 public const string INDENT;
139                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_INDEX")]
140                 [Version (deprecated = true, deprecated_since = "3.10")]
141                 public const string INDEX;
142                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_INFO")]
143                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
144                 public const string INFO;
145                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ITALIC")]
146                 [Version (deprecated = true, deprecated_since = "3.10")]
147                 public const string ITALIC;
148                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_JUMP_TO")]
149                 [Version (deprecated = true, deprecated_since = "3.10")]
150                 public const string JUMP_TO;
151                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_JUSTIFY_CENTER")]
152                 [Version (deprecated = true, deprecated_since = "3.10")]
153                 public const string JUSTIFY_CENTER;
154                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_JUSTIFY_FILL")]
155                 [Version (deprecated = true, deprecated_since = "3.10")]
156                 public const string JUSTIFY_FILL;
157                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_JUSTIFY_LEFT")]
158                 [Version (deprecated = true, deprecated_since = "3.10")]
159                 public const string JUSTIFY_LEFT;
160                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_JUSTIFY_RIGHT")]
161                 [Version (deprecated = true, deprecated_since = "3.10")]
162                 public const string JUSTIFY_RIGHT;
163                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_LEAVE_FULLSCREEN")]
164                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
165                 public const string LEAVE_FULLSCREEN;
166                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_FORWARD")]
167                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
168                 public const string MEDIA_FORWARD;
169                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_NEXT")]
170                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
171                 public const string MEDIA_NEXT;
172                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_PAUSE")]
173                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
174                 public const string MEDIA_PAUSE;
175                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_PLAY")]
176                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
177                 public const string MEDIA_PLAY;
178                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_PREVIOUS")]
179                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
180                 public const string MEDIA_PREVIOUS;
181                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_RECORD")]
182                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
183                 public const string MEDIA_RECORD;
184                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_REWIND")]
185                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
186                 public const string MEDIA_REWIND;
187                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_STOP")]
188                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
189                 public const string MEDIA_STOP;
190                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MISSING_IMAGE")]
191                 [Version (deprecated = true, deprecated_since = "3.10")]
192                 public const string MISSING_IMAGE;
193                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_NETWORK")]
194                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
195                 public const string NETWORK;
196                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_NEW")]
197                 [Version (deprecated = true, deprecated_since = "3.10")]
198                 public const string NEW;
199                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_NO")]
200                 [Version (deprecated = true, deprecated_since = "3.10")]
201                 public const string NO;
202                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_OK")]
203                 [Version (deprecated = true, deprecated_since = "3.10")]
204                 public const string OK;
205                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_OPEN")]
206                 [Version (deprecated = true, deprecated_since = "3.10")]
207                 public const string OPEN;
208                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ORIENTATION_LANDSCAPE")]
209                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
210                 public const string ORIENTATION_LANDSCAPE;
211                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ORIENTATION_PORTRAIT")]
212                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
213                 public const string ORIENTATION_PORTRAIT;
214                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE")]
215                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
216                 public const string ORIENTATION_REVERSE_LANDSCAPE;
217                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT")]
218                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
219                 public const string ORIENTATION_REVERSE_PORTRAIT;
220                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PAGE_SETUP")]
221                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
222                 public const string PAGE_SETUP;
223                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PASTE")]
224                 [Version (deprecated = true, deprecated_since = "3.10")]
225                 public const string PASTE;
226                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PREFERENCES")]
227                 [Version (deprecated = true, deprecated_since = "3.10")]
228                 public const string PREFERENCES;
229                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT")]
230                 [Version (deprecated = true, deprecated_since = "3.10")]
231                 public const string PRINT;
232                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT_ERROR")]
233                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
234                 public const string PRINT_ERROR;
235                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT_PAUSED")]
236                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
237                 public const string PRINT_PAUSED;
238                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT_PREVIEW")]
239                 [Version (deprecated = true, deprecated_since = "3.10")]
240                 public const string PRINT_PREVIEW;
241                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT_REPORT")]
242                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
243                 public const string PRINT_REPORT;
244                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT_WARNING")]
245                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
246                 public const string PRINT_WARNING;
247                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PROPERTIES")]
248                 [Version (deprecated = true, deprecated_since = "3.10")]
249                 public const string PROPERTIES;
250                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_QUIT")]
251                 [Version (deprecated = true, deprecated_since = "3.10")]
252                 public const string QUIT;
253                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_REDO")]
254                 [Version (deprecated = true, deprecated_since = "3.10")]
255                 public const string REDO;
256                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_REFRESH")]
257                 [Version (deprecated = true, deprecated_since = "3.10")]
258                 public const string REFRESH;
259                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_REMOVE")]
260                 [Version (deprecated = true, deprecated_since = "3.10")]
261                 public const string REMOVE;
262                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_REVERT_TO_SAVED")]
263                 [Version (deprecated = true, deprecated_since = "3.10")]
264                 public const string REVERT_TO_SAVED;
265                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SAVE")]
266                 [Version (deprecated = true, deprecated_since = "3.10")]
267                 public const string SAVE;
268                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SAVE_AS")]
269                 [Version (deprecated = true, deprecated_since = "3.10")]
270                 public const string SAVE_AS;
271                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SELECT_ALL")]
272                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
273                 public const string SELECT_ALL;
274                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SELECT_COLOR")]
275                 [Version (deprecated = true, deprecated_since = "3.10")]
276                 public const string SELECT_COLOR;
277                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SELECT_FONT")]
278                 [Version (deprecated = true, deprecated_since = "3.10")]
279                 public const string SELECT_FONT;
280                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SORT_ASCENDING")]
281                 [Version (deprecated = true, deprecated_since = "3.10")]
282                 public const string SORT_ASCENDING;
283                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SORT_DESCENDING")]
284                 [Version (deprecated = true, deprecated_since = "3.10")]
285                 public const string SORT_DESCENDING;
286                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SPELL_CHECK")]
287                 [Version (deprecated = true, deprecated_since = "3.10")]
288                 public const string SPELL_CHECK;
289                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_STOP")]
290                 [Version (deprecated = true, deprecated_since = "3.10")]
291                 public const string STOP;
292                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_STRIKETHROUGH")]
293                 [Version (deprecated = true, deprecated_since = "3.10")]
294                 public const string STRIKETHROUGH;
295                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_UNDELETE")]
296                 [Version (deprecated = true, deprecated_since = "3.10")]
297                 public const string UNDELETE;
298                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_UNDERLINE")]
299                 [Version (deprecated = true, deprecated_since = "3.10")]
300                 public const string UNDERLINE;
301                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_UNDO")]
302                 [Version (deprecated = true, deprecated_since = "3.10")]
303                 public const string UNDO;
304                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_UNINDENT")]
305                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
306                 public const string UNINDENT;
307                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_YES")]
308                 [Version (deprecated = true, deprecated_since = "3.10")]
309                 public const string YES;
310                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ZOOM_100")]
311                 [Version (deprecated = true, deprecated_since = "3.10")]
312                 public const string ZOOM_100;
313                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ZOOM_FIT")]
314                 [Version (deprecated = true, deprecated_since = "3.10")]
315                 public const string ZOOM_FIT;
316                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ZOOM_IN")]
317                 [Version (deprecated = true, deprecated_since = "3.10")]
318                 public const string ZOOM_IN;
319                 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ZOOM_OUT")]
320                 [Version (deprecated = true, deprecated_since = "3.10")]
321                 public const string ZOOM_OUT;
322                 [CCode (cheader_filename = "gtk/gtk.h")]
323                 public static void add (Gtk.StockItem[] items);
324                 [CCode (cheader_filename = "gtk/gtk.h")]
325                 public static void add_static (Gtk.StockItem[] items);
326                 [CCode (cheader_filename = "gtk/gtk.h")]
327                 public static GLib.SList<string> list_ids ();
328                 [CCode (cheader_filename = "gtk/gtk.h")]
329                 public static bool lookup (string stock_id, out Gtk.StockItem item);
330                 [CCode (cheader_filename = "gtk/gtk.h")]
331                 public static void set_translate_func (string domain, owned Gtk.TranslateFunc func);
332         }
333         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_about_dialog_get_type ()")]
334         public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
335                 [CCode (has_construct_function = false, type = "GtkWidget*")]
336                 [Version (since = "2.6")]
337                 public AboutDialog ();
338                 [Version (since = "3.4")]
339                 public void add_credit_section (string section_name, [CCode (array_length = false, array_null_terminated = true)] string[] people);
340                 [CCode (array_length = false, array_null_terminated = true)]
341                 [Version (since = "2.6")]
342                 public unowned string[] get_artists ();
343                 [CCode (array_length = false, array_null_terminated = true)]
344                 [Version (since = "2.6")]
345                 public unowned string[] get_authors ();
346                 [Version (since = "2.6")]
347                 public unowned string get_comments ();
348                 [Version (since = "2.6")]
349                 public unowned string get_copyright ();
350                 [CCode (array_length = false, array_null_terminated = true)]
351                 [Version (since = "2.6")]
352                 public unowned string[] get_documenters ();
353                 [Version (since = "2.6")]
354                 public unowned string get_license ();
355                 [Version (since = "3.0")]
356                 public Gtk.License get_license_type ();
357                 [Version (since = "2.6")]
358                 public unowned Gdk.Pixbuf get_logo ();
359                 [Version (since = "2.6")]
360                 public unowned string get_logo_icon_name ();
361                 [Version (since = "2.12")]
362                 public unowned string get_program_name ();
363                 [Version (since = "2.6")]
364                 public unowned string get_translator_credits ();
365                 [Version (since = "2.6")]
366                 public unowned string get_version ();
367                 [Version (since = "2.6")]
368                 public unowned string get_website ();
369                 [Version (since = "2.6")]
370                 public unowned string get_website_label ();
371                 [Version (since = "2.8")]
372                 public bool get_wrap_license ();
373                 [Version (since = "2.6")]
374                 public void set_artists ([CCode (array_length = false, array_null_terminated = true)] string[] artists);
375                 [Version (since = "2.6")]
376                 public void set_authors ([CCode (array_length = false, array_null_terminated = true)] string[] authors);
377                 [Version (since = "2.6")]
378                 public void set_comments (string? comments);
379                 [Version (since = "2.6")]
380                 public void set_copyright (string? copyright);
381                 [Version (since = "2.6")]
382                 public void set_documenters ([CCode (array_length = false, array_null_terminated = true)] string[] documenters);
383                 [Version (since = "2.6")]
384                 public void set_license (string? license);
385                 [Version (since = "3.0")]
386                 public void set_license_type (Gtk.License license_type);
387                 [Version (since = "2.6")]
388                 public void set_logo (Gdk.Pixbuf? logo);
389                 [Version (since = "2.6")]
390                 public void set_logo_icon_name (string? icon_name);
391                 [Version (since = "2.12")]
392                 public void set_program_name (string name);
393                 [Version (since = "2.6")]
394                 public void set_translator_credits (string? translator_credits);
395                 [Version (since = "2.6")]
396                 public void set_version (string? version);
397                 [Version (since = "2.6")]
398                 public void set_website (string? website);
399                 [Version (since = "2.6")]
400                 public void set_website_label (string website_label);
401                 [Version (since = "2.8")]
402                 public void set_wrap_license (bool wrap_license);
403                 [CCode (array_length = false, array_null_terminated = true)]
404                 [Version (since = "2.6")]
405                 public string[] artists { get; set; }
406                 [CCode (array_length = false, array_null_terminated = true)]
407                 [Version (since = "2.6")]
408                 public string[] authors { get; set; }
409                 [Version (since = "2.6")]
410                 public string comments { get; set; }
411                 [Version (since = "2.6")]
412                 public string copyright { get; set; }
413                 [CCode (array_length = false, array_null_terminated = true)]
414                 [Version (since = "2.6")]
415                 public string[] documenters { get; set; }
416                 [Version (since = "2.6")]
417                 public string license { get; set; }
418                 [Version (since = "3.0")]
419                 public Gtk.License license_type { get; set; }
420                 [Version (since = "2.6")]
421                 public Gdk.Pixbuf logo { get; set; }
422                 [Version (since = "2.6")]
423                 public string logo_icon_name { get; set; }
424                 [Version (since = "2.12")]
425                 public string program_name { get; set; }
426                 [Version (since = "2.6")]
427                 public string translator_credits { get; set; }
428                 [Version (since = "2.6")]
429                 public string version { get; set; }
430                 [Version (since = "2.6")]
431                 public string website { get; set; }
432                 [Version (since = "2.6")]
433                 public string website_label { get; set; }
434                 [Version (since = "2.8")]
435                 public bool wrap_license { get; set; }
436                 [Version (since = "2.24")]
437                 public virtual signal bool activate_link (string uri);
438         }
439         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_group_get_type ()")]
440         public class AccelGroup : GLib.Object {
441                 [CCode (has_construct_function = false)]
442                 public AccelGroup ();
443                 public bool activate (GLib.Quark accel_quark, GLib.Object acceleratable, uint accel_key, Gdk.ModifierType accel_mods);
444                 public void connect (uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
445                 public void connect_by_path (string accel_path, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
446                 public bool disconnect (GLib.Closure? closure);
447                 public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods);
448                 public Gtk.AccelKey* find (Gtk.AccelGroupFindFunc find_func);
449                 public static unowned Gtk.AccelGroup? from_accel_closure (GLib.Closure closure);
450                 [Version (since = "2.14")]
451                 public bool get_is_locked ();
452                 [Version (since = "2.14")]
453                 public Gdk.ModifierType get_modifier_mask ();
454                 public void @lock ();
455                 [CCode (array_length_pos = 2.1, array_length_type = "guint")]
456                 public unowned Gtk.AccelGroupEntry[]? query (uint accel_key, Gdk.ModifierType accel_mods);
457                 public void unlock ();
458                 public bool is_locked { get; }
459                 public Gdk.ModifierType modifier_mask { get; }
460                 public signal bool accel_activate (GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
461                 public virtual signal void accel_changed (uint keyval, Gdk.ModifierType modifier, GLib.Closure accel_closure);
462         }
463         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_label_get_type ()")]
464         public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
465                 [CCode (has_construct_function = false, type = "GtkWidget*")]
466                 public AccelLabel (string str);
467                 [Version (since = "3.12")]
468                 public void get_accel (out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
469                 public unowned Gtk.Widget? get_accel_widget ();
470                 public uint get_accel_width ();
471                 public bool refetch ();
472                 [Version (since = "3.6")]
473                 public void set_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods);
474                 public void set_accel_closure ([CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate accel_closure);
475                 public void set_accel_widget (Gtk.Widget? accel_widget);
476                 [NoAccessorMethod]
477                 public GLib.Closure accel_closure { owned get; set; }
478                 public Gtk.Widget accel_widget { get; set; }
479         }
480         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_accel_map_get_type ()")]
481         public class AccelMap : GLib.Object {
482                 [CCode (has_construct_function = false)]
483                 protected AccelMap ();
484                 public static void add_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
485                 public static void add_filter (string filter_pattern);
486                 public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace);
487                 public static void @foreach (void* data, Gtk.AccelMapForeach foreach_func);
488                 public static void foreach_unfiltered (void* data, Gtk.AccelMapForeach foreach_func);
489                 [Version (since = "2.4")]
490                 public static unowned Gtk.AccelMap @get ();
491                 public static void load (string file_name);
492                 public static void load_fd (int fd);
493                 public static void load_scanner (GLib.Scanner scanner);
494                 [Version (since = "2.4")]
495                 public static void lock_path (string accel_path);
496                 public static bool lookup_entry (string accel_path, out Gtk.AccelKey key);
497                 public static void save (string file_name);
498                 public static void save_fd (int fd);
499                 [Version (since = "2.4")]
500                 public static void unlock_path (string accel_path);
501                 [Version (since = "2.4")]
502                 public signal void changed (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
503         }
504         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_accessible_get_type ()")]
505         public class Accessible : Atk.Object {
506                 [CCode (has_construct_function = false)]
507                 protected Accessible ();
508                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "set_widget")]
509                 public virtual void connect_widget_destroyed ();
510                 [Version (since = "2.22")]
511                 public unowned Gtk.Widget? get_widget ();
512                 [Version (since = "2.22")]
513                 public void set_widget (Gtk.Widget? widget);
514                 [NoWrapper]
515                 public virtual void widget_set ();
516                 [NoWrapper]
517                 public virtual void widget_unset ();
518                 public Gtk.Widget widget { get; set; }
519         }
520         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_get_type ()")]
521         [Version (deprecated = true, deprecated_since = "3.10", replacement = "GLib.Action")]
522         public class Action : GLib.Object, Gtk.Buildable {
523                 [CCode (has_construct_function = false)]
524                 [Version (since = "2.4")]
525                 public Action (string name, string? label, string? tooltip, string? stock_id);
526                 [Version (since = "2.16")]
527                 public void block_activate ();
528                 [Version (since = "2.4")]
529                 public void connect_accelerator ();
530                 [NoWrapper]
531                 public virtual void connect_proxy (Gtk.Widget proxy);
532                 [Version (since = "2.4")]
533                 public unowned Gtk.Widget create_icon ([CCode (type = "GtkIconSize")] Gtk.IconSize icon_size);
534                 [Version (since = "2.12")]
535                 public virtual unowned Gtk.Widget create_menu ();
536                 [Version (since = "2.4")]
537                 public virtual unowned Gtk.Widget create_menu_item ();
538                 [Version (since = "2.4")]
539                 public virtual unowned Gtk.Widget create_tool_item ();
540                 [Version (since = "2.4")]
541                 public void disconnect_accelerator ();
542                 [NoWrapper]
543                 public virtual void disconnect_proxy (Gtk.Widget proxy);
544                 [Version (since = "2.8")]
545                 public unowned GLib.Closure get_accel_closure ();
546                 [Version (since = "2.6")]
547                 public unowned string get_accel_path ();
548                 [Version (since = "2.20")]
549                 public bool get_always_show_image ();
550                 [Version (since = "2.16")]
551                 public unowned GLib.Icon get_gicon ();
552                 [Version (since = "2.16")]
553                 public unowned string get_icon_name ();
554                 [Version (since = "2.16")]
555                 public bool get_is_important ();
556                 [Version (since = "2.16")]
557                 public unowned string get_label ();
558                 [Version (since = "2.4")]
559                 public unowned GLib.SList<Gtk.Widget> get_proxies ();
560                 [Version (since = "2.4")]
561                 public bool get_sensitive ();
562                 [Version (since = "2.16")]
563                 public unowned string get_short_label ();
564                 [Version (since = "2.16")]
565                 public unowned string get_stock_id ();
566                 [Version (since = "2.16")]
567                 public unowned string get_tooltip ();
568                 [Version (since = "2.4")]
569                 public bool get_visible ();
570                 [Version (since = "2.16")]
571                 public bool get_visible_horizontal ();
572                 [Version (since = "2.16")]
573                 public bool get_visible_vertical ();
574                 [Version (since = "2.4")]
575                 public bool is_sensitive ();
576                 [Version (since = "2.4")]
577                 public bool is_visible ();
578                 [Version (since = "2.4")]
579                 public void set_accel_group (Gtk.AccelGroup? accel_group);
580                 [Version (since = "2.4")]
581                 public void set_accel_path (string accel_path);
582                 [Version (since = "2.20")]
583                 public void set_always_show_image (bool always_show);
584                 [Version (since = "2.16")]
585                 public void set_gicon (GLib.Icon icon);
586                 [Version (since = "2.16")]
587                 public void set_icon_name (string icon_name);
588                 [Version (since = "2.16")]
589                 public void set_is_important (bool is_important);
590                 [Version (since = "2.16")]
591                 public void set_label (string label);
592                 [Version (since = "2.6")]
593                 public void set_sensitive (bool sensitive);
594                 [Version (since = "2.16")]
595                 public void set_short_label (string short_label);
596                 [Version (since = "2.16")]
597                 public void set_stock_id (string stock_id);
598                 [Version (since = "2.16")]
599                 public void set_tooltip (string tooltip);
600                 [Version (since = "2.6")]
601                 public void set_visible (bool visible);
602                 [Version (since = "2.16")]
603                 public void set_visible_horizontal (bool visible_horizontal);
604                 [Version (since = "2.16")]
605                 public void set_visible_vertical (bool visible_vertical);
606                 [Version (since = "2.16")]
607                 public void unblock_activate ();
608                 [NoAccessorMethod]
609                 public Gtk.ActionGroup action_group { owned get; set; }
610                 [Version (since = "2.20")]
611                 public bool always_show_image { get; set construct; }
612                 [Version (since = "2.16")]
613                 public GLib.Icon gicon { get; set; }
614                 [NoAccessorMethod]
615                 public bool hide_if_empty { get; set; }
616                 [Version (since = "2.10")]
617                 public string icon_name { get; set; }
618                 public bool is_important { get; set; }
619                 public string label { get; set; }
620                 public string name { get; construct; }
621                 public bool sensitive { get; set; }
622                 public string short_label { get; set; }
623                 public string stock_id { get; set; }
624                 public string tooltip { get; set; }
625                 public bool visible { get; set; }
626                 public bool visible_horizontal { get; set; }
627                 [NoAccessorMethod]
628                 [Version (since = "2.6")]
629                 public bool visible_overflown { get; set; }
630                 public bool visible_vertical { get; set; }
631                 [HasEmitter]
632                 [Version (since = "2.4")]
633                 public virtual signal void activate ();
634         }
635         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_bar_get_type ()")]
636         public class ActionBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
637                 [CCode (has_construct_function = false, type = "GtkWidget*")]
638                 [Version (since = "3.12")]
639                 public ActionBar ();
640                 [Version (since = "3.12")]
641                 public unowned Gtk.Widget? get_center_widget ();
642                 [Version (since = "3.12")]
643                 public void pack_end (Gtk.Widget child);
644                 [Version (since = "3.12")]
645                 public void pack_start (Gtk.Widget child);
646                 [Version (since = "3.12")]
647                 public void set_center_widget (Gtk.Widget? center_widget);
648         }
649         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_action_group_get_type ()")]
650         [Version (deprecated = true, deprecated_since = "3.10")]
651         public class ActionGroup : GLib.Object, Gtk.Buildable {
652                 [CCode (has_construct_function = false)]
653                 [Version (since = "2.4")]
654                 public ActionGroup (string name);
655                 [Version (since = "2.4")]
656                 public void add_action (Gtk.Action action);
657                 [Version (since = "2.4")]
658                 public void add_action_with_accel (Gtk.Action action, string? accelerator);
659                 [Version (since = "2.4")]
660                 public void add_actions ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5, array_length_type = "guint")] Gtk.ActionEntry[] entries, void* user_data);
661                 [Version (since = "2.4")]
662                 public void add_actions_full ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5, array_length_type = "guint")] Gtk.ActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
663                 [Version (since = "2.4")]
664                 public void add_radio_actions ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5, array_length_type = "guint")] Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change);
665                 [Version (since = "2.4")]
666                 public void add_radio_actions_full ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5, array_length_type = "guint")] Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] owned Gtk.RadioActionCallback on_change);
667                 [Version (since = "2.4")]
668                 public void add_toggle_actions ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5, array_length_type = "guint")] Gtk.ToggleActionEntry[] entries, void* user_data);
669                 [Version (since = "2.4")]
670                 public void add_toggle_actions_full ([CCode (array_length_cname = "n_entries", array_length_pos = 1.5, array_length_type = "guint")] Gtk.ToggleActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
671                 [Version (since = "3.6")]
672                 public unowned Gtk.AccelGroup get_accel_group ();
673                 [Version (since = "2.4")]
674                 public virtual unowned Gtk.Action get_action (string action_name);
675                 [Version (since = "2.4")]
676                 public bool get_sensitive ();
677                 [Version (since = "2.4")]
678                 public bool get_visible ();
679                 [Version (since = "2.4")]
680                 public GLib.List<weak Gtk.Action> list_actions ();
681                 [Version (since = "2.4")]
682                 public void remove_action (Gtk.Action action);
683                 [Version (since = "3.6")]
684                 public void set_accel_group (Gtk.AccelGroup? accel_group);
685                 [Version (since = "2.4")]
686                 public void set_sensitive (bool sensitive);
687                 [Version (since = "2.4")]
688                 public void set_translate_func (owned Gtk.TranslateFunc func);
689                 [Version (since = "2.4")]
690                 public void set_translation_domain (string? domain);
691                 [Version (since = "2.4")]
692                 public void set_visible (bool visible);
693                 [Version (since = "2.6")]
694                 public unowned string translate_string (string str);
695                 public Gtk.AccelGroup accel_group { get; set; }
696                 public string name { get; construct; }
697                 public bool sensitive { get; set; }
698                 public bool visible { get; set; }
699                 [Version (since = "2.4")]
700                 public signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy);
701                 [Version (since = "2.4")]
702                 public signal void disconnect_proxy (Gtk.Action action, Gtk.Widget proxy);
703                 [Version (since = "2.4")]
704                 public signal void post_activate (Gtk.Action action);
705                 [Version (since = "2.4")]
706                 public signal void pre_activate (Gtk.Action action);
707         }
708         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_adjustment_get_type ()")]
709         public class Adjustment : GLib.InitiallyUnowned {
710                 [CCode (has_construct_function = false)]
711                 public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
712                 public void clamp_page (double lower, double upper);
713                 [Version (since = "2.14")]
714                 public void configure (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
715                 [Version (since = "2.14")]
716                 public double get_lower ();
717                 [Version (since = "3.2")]
718                 public double get_minimum_increment ();
719                 [Version (since = "2.14")]
720                 public double get_page_increment ();
721                 [Version (since = "2.14")]
722                 public double get_page_size ();
723                 [Version (since = "2.14")]
724                 public double get_step_increment ();
725                 [Version (since = "2.14")]
726                 public double get_upper ();
727                 public double get_value ();
728                 [Version (since = "2.14")]
729                 public void set_lower (double lower);
730                 [Version (since = "2.14")]
731                 public void set_page_increment (double page_increment);
732                 [Version (since = "2.14")]
733                 public void set_page_size (double page_size);
734                 [Version (since = "2.14")]
735                 public void set_step_increment (double step_increment);
736                 [Version (since = "2.14")]
737                 public void set_upper (double upper);
738                 public void set_value (double value);
739                 [Version (since = "2.4")]
740                 public double lower { get; set; }
741                 [Version (since = "2.4")]
742                 public double page_increment { get; set; }
743                 [Version (since = "2.4")]
744                 public double page_size { get; set; }
745                 [Version (since = "2.4")]
746                 public double step_increment { get; set; }
747                 [Version (since = "2.4")]
748                 public double upper { get; set; }
749                 [Version (since = "2.4")]
750                 public double value { get; set; }
751                 [HasEmitter]
752                 public virtual signal void changed ();
753                 [HasEmitter]
754                 public virtual signal void value_changed ();
755         }
756         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_alignment_get_type ()")]
757         [Version (deprecated = true, deprecated_since = "3.14")]
758         public class Alignment : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
759                 [CCode (has_construct_function = false, type = "GtkWidget*")]
760                 public Alignment (float xalign, float yalign, float xscale, float yscale);
761                 [Version (since = "2.4")]
762                 public void get_padding (out uint padding_top, out uint padding_bottom, out uint padding_left, out uint padding_right);
763                 public void @set (float xalign, float yalign, float xscale, float yscale);
764                 [Version (since = "2.4")]
765                 public void set_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right);
766                 [NoAccessorMethod]
767                 [Version (since = "2.4")]
768                 public uint bottom_padding { get; set; }
769                 [NoAccessorMethod]
770                 [Version (since = "2.4")]
771                 public uint left_padding { get; set; }
772                 [NoAccessorMethod]
773                 [Version (since = "2.4")]
774                 public uint right_padding { get; set; }
775                 [NoAccessorMethod]
776                 [Version (since = "2.4")]
777                 public uint top_padding { get; set; }
778                 [NoAccessorMethod]
779                 public float xalign { get; set; }
780                 [NoAccessorMethod]
781                 public float xscale { get; set; }
782                 [NoAccessorMethod]
783                 public float yalign { get; set; }
784                 [NoAccessorMethod]
785                 public float yscale { get; set; }
786         }
787         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_button_get_type ()")]
788         public class AppChooserButton : Gtk.ComboBox, Atk.Implementor, Gtk.AppChooser, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout {
789                 [CCode (has_construct_function = false, type = "GtkWidget*")]
790                 [Version (since = "3.0")]
791                 public AppChooserButton (string content_type);
792                 [Version (since = "3.0")]
793                 public void append_custom_item (string name, string label, GLib.Icon icon);
794                 [Version (since = "3.0")]
795                 public void append_separator ();
796                 public unowned string? get_heading ();
797                 [Version (since = "3.2")]
798                 public bool get_show_default_item ();
799                 [Version (since = "3.0")]
800                 public bool get_show_dialog_item ();
801                 [Version (since = "3.0")]
802                 public void set_active_custom_item (string name);
803                 public void set_heading (string heading);
804                 [Version (since = "3.2")]
805                 public void set_show_default_item (bool setting);
806                 [Version (since = "3.0")]
807                 public void set_show_dialog_item (bool setting);
808                 public string heading { get; set; }
809                 [Version (since = "3.2")]
810                 public bool show_default_item { get; set construct; }
811                 public bool show_dialog_item { get; set construct; }
812                 public virtual signal void custom_item_activated (string item_name);
813         }
814         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_dialog_get_type ()")]
815         public class AppChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.AppChooser, Gtk.Buildable {
816                 [CCode (has_construct_function = false, type = "GtkWidget*")]
817                 [Version (since = "3.0")]
818                 public AppChooserDialog (Gtk.Window? parent, Gtk.DialogFlags flags, GLib.File file);
819                 [CCode (has_construct_function = false, type = "GtkWidget*")]
820                 [Version (since = "3.0")]
821                 public AppChooserDialog.for_content_type (Gtk.Window? parent, Gtk.DialogFlags flags, string content_type);
822                 public unowned string? get_heading ();
823                 [Version (since = "3.0")]
824                 public unowned Gtk.Widget get_widget ();
825                 public void set_heading (string heading);
826                 [NoAccessorMethod]
827                 public GLib.File gfile { owned get; construct; }
828                 public string heading { get; set; }
829         }
830         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_widget_get_type ()")]
831         public class AppChooserWidget : Gtk.Box, Atk.Implementor, Gtk.AppChooser, Gtk.Buildable, Gtk.Orientable {
832                 [CCode (has_construct_function = false, type = "GtkWidget*")]
833                 [Version (since = "3.0")]
834                 public AppChooserWidget (string content_type);
835                 [Version (since = "3.0")]
836                 public unowned string get_default_text ();
837                 [Version (since = "3.0")]
838                 public bool get_show_all ();
839                 [Version (since = "3.0")]
840                 public bool get_show_default ();
841                 [Version (since = "3.0")]
842                 public bool get_show_fallback ();
843                 [Version (since = "3.0")]
844                 public bool get_show_other ();
845                 [Version (since = "3.0")]
846                 public bool get_show_recommended ();
847                 public void set_default_text (string text);
848                 [Version (since = "3.0")]
849                 public void set_show_all (bool setting);
850                 [Version (since = "3.0")]
851                 public void set_show_default (bool setting);
852                 [Version (since = "3.0")]
853                 public void set_show_fallback (bool setting);
854                 [Version (since = "3.0")]
855                 public void set_show_other (bool setting);
856                 [Version (since = "3.0")]
857                 public void set_show_recommended (bool setting);
858                 public string default_text { get; set; }
859                 public bool show_all { get; set construct; }
860                 public bool show_default { get; set construct; }
861                 public bool show_fallback { get; set construct; }
862                 public bool show_other { get; set construct; }
863                 public bool show_recommended { get; set construct; }
864                 public virtual signal void application_activated (GLib.AppInfo app_info);
865                 public virtual signal void application_selected (GLib.AppInfo app_info);
866                 public virtual signal void populate_popup (Gtk.Menu menu, GLib.AppInfo app_info);
867         }
868         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_application_get_type ()")]
869         public class Application : GLib.Application, GLib.ActionGroup, GLib.ActionMap {
870                 [CCode (has_construct_function = false)]
871                 [Version (since = "3.0")]
872                 public Application (string? application_id, GLib.ApplicationFlags flags);
873                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.4")]
874                 public void add_accelerator (string accelerator, string action_name, GLib.Variant? parameter);
875                 [Version (since = "3.0")]
876                 public void add_window (Gtk.Window window);
877                 [CCode (array_length = false, array_null_terminated = true)]
878                 [Version (since = "3.12")]
879                 public string[] get_accels_for_action (string detailed_action_name);
880                 [CCode (array_length = false, array_null_terminated = true)]
881                 [Version (since = "3.14")]
882                 public string[] get_actions_for_accel (string accel);
883                 [Version (since = "3.6")]
884                 public unowned Gtk.Window? get_active_window ();
885                 [Version (since = "3.4")]
886                 public unowned GLib.MenuModel? get_app_menu ();
887                 [Version (since = "3.14")]
888                 public unowned GLib.Menu get_menu_by_id (string id);
889                 [Version (since = "3.4")]
890                 public unowned GLib.MenuModel get_menubar ();
891                 [Version (since = "3.6")]
892                 public unowned Gtk.Window? get_window_by_id (uint id);
893                 [Version (since = "3.0")]
894                 public unowned GLib.List<Gtk.Window> get_windows ();
895                 [Version (since = "3.4")]
896                 public uint inhibit (Gtk.Window? window, Gtk.ApplicationInhibitFlags flags, string? reason);
897                 [Version (since = "3.4")]
898                 public bool is_inhibited (Gtk.ApplicationInhibitFlags flags);
899                 [CCode (array_length = false, array_null_terminated = true)]
900                 [Version (since = "3.12")]
901                 public string[] list_action_descriptions ();
902                 [Version (since = "3.14")]
903                 public bool prefers_app_menu ();
904                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.4")]
905                 public void remove_accelerator (string action_name, GLib.Variant? parameter);
906                 [Version (since = "3.0")]
907                 public void remove_window (Gtk.Window window);
908                 [Version (since = "3.12")]
909                 public void set_accels_for_action (string detailed_action_name, [CCode (array_length = false, array_null_terminated = true)] string[] accels);
910                 [Version (since = "3.4")]
911                 public void set_app_menu (GLib.MenuModel? app_menu);
912                 [Version (since = "3.4")]
913                 public void set_menubar (GLib.MenuModel? menubar);
914                 [Version (since = "3.4")]
915                 public void uninhibit (uint cookie);
916                 public Gtk.Window active_window { get; }
917                 public GLib.MenuModel app_menu { get; set; }
918                 public GLib.MenuModel menubar { get; set; }
919                 [NoAccessorMethod]
920                 [Version (since = "3.4")]
921                 public bool register_session { get; set; }
922                 [Version (since = "3.2")]
923                 public virtual signal void window_added (Gtk.Window window);
924                 [Version (since = "3.2")]
925                 public virtual signal void window_removed (Gtk.Window window);
926         }
927         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_application_window_get_type ()")]
928         public class ApplicationWindow : Gtk.Window, Atk.Implementor, GLib.ActionGroup, GLib.ActionMap, Gtk.Buildable {
929                 [CCode (has_construct_function = false, type = "GtkWidget*")]
930                 [Version (since = "3.4")]
931                 public ApplicationWindow (Gtk.Application application);
932                 [Version (since = "3.20")]
933                 public unowned Gtk.ShortcutsWindow? get_help_overlay ();
934                 [Version (since = "3.6")]
935                 public uint get_id ();
936                 [Version (since = "3.4")]
937                 public bool get_show_menubar ();
938                 [Version (since = "3.20")]
939                 public void set_help_overlay (Gtk.ShortcutsWindow? help_overlay);
940                 [Version (since = "3.4")]
941                 public void set_show_menubar (bool show_menubar);
942                 public bool show_menubar { get; set construct; }
943         }
944         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_arrow_get_type ()")]
945         public class Arrow : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
946                 [CCode (has_construct_function = false, type = "GtkWidget*")]
947                 [Version (deprecated = true, deprecated_since = "3.14")]
948                 public Arrow (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
949                 [Version (deprecated = true, deprecated_since = "3.14")]
950                 public void @set (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
951                 [NoAccessorMethod]
952                 public Gtk.ArrowType arrow_type { get; set; }
953                 [NoAccessorMethod]
954                 public Gtk.ShadowType shadow_type { get; set; }
955         }
956         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_arrow_accessible_get_type ()")]
957         public class ArrowAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
958                 [CCode (has_construct_function = false)]
959                 protected ArrowAccessible ();
960         }
961         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_aspect_frame_get_type ()")]
962         public class AspectFrame : Gtk.Frame, Atk.Implementor, Gtk.Buildable {
963                 [CCode (has_construct_function = false, type = "GtkWidget*")]
964                 public AspectFrame (string? label, float xalign, float yalign, float ratio, bool obey_child);
965                 public void @set (float xalign, float yalign, float ratio, bool obey_child);
966                 [NoAccessorMethod]
967                 public bool obey_child { get; set; }
968                 [NoAccessorMethod]
969                 public float ratio { get; set; }
970                 [NoAccessorMethod]
971                 public float xalign { get; set; }
972                 [NoAccessorMethod]
973                 public float yalign { get; set; }
974         }
975         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_assistant_get_type ()")]
976         public class Assistant : Gtk.Window, Atk.Implementor, Gtk.Buildable {
977                 [CCode (has_construct_function = false, type = "GtkWidget*")]
978                 [Version (since = "2.10")]
979                 public Assistant ();
980                 [Version (since = "2.10")]
981                 public void add_action_widget (Gtk.Widget child);
982                 [Version (since = "2.10")]
983                 public int append_page (Gtk.Widget page);
984                 [Version (since = "2.22")]
985                 public void commit ();
986                 [Version (since = "2.10")]
987                 public int get_current_page ();
988                 [Version (since = "2.10")]
989                 public int get_n_pages ();
990                 [Version (since = "2.10")]
991                 public unowned Gtk.Widget? get_nth_page (int page_num);
992                 [Version (since = "2.10")]
993                 public bool get_page_complete (Gtk.Widget page);
994                 [Version (since = "3.18")]
995                 public bool get_page_has_padding (Gtk.Widget page);
996                 [Version (deprecated = true, deprecated_since = "3.2", since = "2.10")]
997                 public unowned Gdk.Pixbuf get_page_header_image (Gtk.Widget page);
998                 [Version (deprecated = true, deprecated_since = "3.2", since = "2.10")]
999                 public unowned Gdk.Pixbuf get_page_side_image (Gtk.Widget page);
1000                 [Version (since = "2.10")]
1001                 public unowned string get_page_title (Gtk.Widget page);
1002                 [Version (since = "2.10")]
1003                 public Gtk.AssistantPageType get_page_type (Gtk.Widget page);
1004                 [Version (since = "2.10")]
1005                 public int insert_page (Gtk.Widget page, int position);
1006                 [Version (since = "3.0")]
1007                 public void next_page ();
1008                 [Version (since = "2.10")]
1009                 public int prepend_page (Gtk.Widget page);
1010                 [Version (since = "3.0")]
1011                 public void previous_page ();
1012                 [Version (since = "2.10")]
1013                 public void remove_action_widget (Gtk.Widget child);
1014                 [Version (since = "3.2")]
1015                 public void remove_page (int page_num);
1016                 [Version (since = "2.10")]
1017                 public void set_current_page (int page_num);
1018                 [Version (since = "2.10")]
1019                 public void set_forward_page_func (owned Gtk.AssistantPageFunc? page_func);
1020                 [Version (since = "2.10")]
1021                 public void set_page_complete (Gtk.Widget page, bool complete);
1022                 [Version (since = "3.18")]
1023                 public void set_page_has_padding (Gtk.Widget page, bool has_padding);
1024                 [Version (deprecated = true, deprecated_since = "3.2", since = "2.10")]
1025                 public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf? pixbuf);
1026                 [Version (deprecated = true, deprecated_since = "3.2", since = "2.10")]
1027                 public void set_page_side_image (Gtk.Widget page, Gdk.Pixbuf? pixbuf);
1028                 [Version (since = "2.10")]
1029                 public void set_page_title (Gtk.Widget page, string title);
1030                 [Version (since = "2.10")]
1031                 public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type);
1032                 [Version (since = "2.10")]
1033                 public void update_buttons_state ();
1034                 [NoAccessorMethod]
1035                 [Version (since = "3.12")]
1036                 public int use_header_bar { get; construct; }
1037                 [Version (since = "2.10")]
1038                 public virtual signal void apply ();
1039                 [Version (since = "2.10")]
1040                 public virtual signal void cancel ();
1041                 [Version (since = "2.10")]
1042                 public virtual signal void close ();
1043                 public signal void escape ();
1044                 [Version (since = "2.10")]
1045                 public virtual signal void prepare (Gtk.Widget page);
1046         }
1047         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_bin_get_type ()")]
1048         public abstract class Bin : Gtk.Container, Atk.Implementor, Gtk.Buildable {
1049                 [CCode (has_construct_function = false)]
1050                 protected Bin ();
1051                 public unowned Gtk.Widget? get_child ();
1052         }
1053         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
1054         [Compact]
1055         public class BindingEntry {
1056                 public weak Gtk.BindingSet binding_set;
1057                 public uint destroyed;
1058                 public weak Gtk.BindingEntry hash_next;
1059                 public uint in_emission;
1060                 public uint keyval;
1061                 public uint marks_unbound;
1062                 public Gdk.ModifierType modifiers;
1063                 public weak Gtk.BindingEntry set_next;
1064                 public weak Gtk.BindingSignal signals;
1065                 public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args, ...);
1066                 [CCode (cheader_filename = "gtk/gtk.h")]
1067                 [Version (since = "3.0")]
1068                 public static GLib.TokenType add_signal_from_string (Gtk.BindingSet binding_set, string signal_desc);
1069                 [CCode (cheader_filename = "gtk/gtk.h")]
1070                 public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, [CCode (type = "GSList*")] GLib.SList<Gtk.BindingArg?> binding_args);
1071                 [CCode (cheader_filename = "gtk/gtk.h")]
1072                 public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
1073                 [CCode (cheader_filename = "gtk/gtk.h")]
1074                 [Version (since = "2.12")]
1075                 public static void skip (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
1076         }
1077         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
1078         [Compact]
1079         public class BindingSet {
1080                 public weak GLib.SList<void*> class_branch_pspecs;
1081                 public weak Gtk.BindingEntry current;
1082                 public weak Gtk.BindingEntry entries;
1083                 public uint parsed;
1084                 public int priority;
1085                 public weak string set_name;
1086                 public weak GLib.SList<void*> widget_class_pspecs;
1087                 public weak GLib.SList<void*> widget_path_pspecs;
1088                 public bool activate (uint keyval, Gdk.ModifierType modifiers, GLib.Object object);
1089                 [Version (deprecated = true, deprecated_since = "3.0")]
1090                 public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority);
1091                 [CCode (cheader_filename = "gtk/gtk.h")]
1092                 public static unowned Gtk.BindingSet by_class ([CCode (type = "gpointer")] GLib.ObjectClass object_class);
1093                 [CCode (cheader_filename = "gtk/gtk.h")]
1094                 public static unowned Gtk.BindingSet? find (string set_name);
1095                 public static unowned Gtk.BindingSet @new (string name);
1096         }
1097         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
1098         [Compact]
1099         public class BindingSignal {
1100                 [CCode (array_length_cname = "n_args", array_length_type = "guint")]
1101                 public weak Gtk.BindingArg[] args;
1102                 public uint n_args;
1103                 public weak Gtk.BindingSignal next;
1104                 public weak string signal_name;
1105         }
1106         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_boolean_cell_accessible_get_type ()")]
1107         public class BooleanCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component {
1108                 [CCode (has_construct_function = false)]
1109                 protected BooleanCellAccessible ();
1110         }
1111         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_box_get_type ()")]
1112         public class Box : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1113                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1114                 [Version (since = "3.0")]
1115                 public Box (Gtk.Orientation orientation, int spacing);
1116                 [Version (since = "3.10")]
1117                 public Gtk.BaselinePosition get_baseline_position ();
1118                 [Version (since = "3.12")]
1119                 public unowned Gtk.Widget? get_center_widget ();
1120                 public bool get_homogeneous ();
1121                 public int get_spacing ();
1122                 public void pack_end (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
1123                 public void pack_start (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
1124                 public void query_child_packing (Gtk.Widget child, out bool expand, out bool fill, out uint padding, out Gtk.PackType pack_type);
1125                 public void reorder_child (Gtk.Widget child, int position);
1126                 [Version (since = "3.10")]
1127                 public void set_baseline_position (Gtk.BaselinePosition position);
1128                 [Version (since = "3.12")]
1129                 public void set_center_widget (Gtk.Widget? widget);
1130                 public void set_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type);
1131                 public void set_homogeneous (bool homogeneous);
1132                 public void set_spacing (int spacing);
1133                 public Gtk.BaselinePosition baseline_position { get; set; }
1134                 public bool homogeneous { get; set; }
1135                 public int spacing { get; set; }
1136         }
1137         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_builder_get_type ()")]
1138         public class Builder : GLib.Object {
1139                 [CCode (has_construct_function = false)]
1140                 [Version (since = "2.12")]
1141                 public Builder ();
1142                 [Version (since = "3.10")]
1143                 public void add_callback_symbol (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
1144                 [Version (since = "3.10")]
1145                 public void add_callback_symbols (string first_callback_name, ...);
1146                 [Version (since = "2.12")]
1147                 public uint add_from_file (string filename) throws GLib.Error;
1148                 [Version (since = "3.4")]
1149                 public uint add_from_resource (string resource_path) throws GLib.Error;
1150                 [Version (since = "2.12")]
1151                 public uint add_from_string (string buffer, size_t length) throws GLib.Error;
1152                 [Version (since = "2.14")]
1153                 public uint add_objects_from_file (string filename, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
1154                 [Version (since = "3.4")]
1155                 public uint add_objects_from_resource (string resource_path, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error;
1156                 [Version (since = "2.14")]
1157                 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;
1158                 [Version (since = "2.12")]
1159                 public void connect_signals (void* user_data);
1160                 [Version (since = "2.12")]
1161                 public void connect_signals_full (Gtk.BuilderConnectFunc func);
1162                 [Version (since = "3.8")]
1163                 public void expose_object (string name, GLib.Object object);
1164                 public uint extend_with_template (Gtk.Widget widget, GLib.Type template_type, string buffer, size_t length) throws GLib.Error;
1165                 [CCode (has_construct_function = false)]
1166                 [Version (since = "3.10")]
1167                 public Builder.from_file (string filename);
1168                 [CCode (has_construct_function = false)]
1169                 [Version (since = "3.10")]
1170                 public Builder.from_resource (string resource_path);
1171                 [CCode (has_construct_function = false)]
1172                 [Version (since = "3.10")]
1173                 public Builder.from_string (string str, ssize_t length);
1174                 [Version (since = "3.10")]
1175                 public unowned Gtk.Application? get_application ();
1176                 [Version (since = "2.12")]
1177                 public unowned GLib.Object? get_object (string name);
1178                 [Version (since = "2.12")]
1179                 public GLib.SList<weak GLib.Object> get_objects ();
1180                 [Version (since = "2.12")]
1181                 public unowned string get_translation_domain ();
1182                 [Version (since = "2.12")]
1183                 public virtual GLib.Type get_type_from_name (string type_name);
1184                 [Version (since = "3.10")]
1185                 public unowned GLib.Callback? lookup_callback_symbol (string callback_name);
1186                 [Version (since = "3.10")]
1187                 public void set_application (Gtk.Application application);
1188                 [Version (since = "2.12")]
1189                 public void set_translation_domain (string? domain);
1190                 [Version (since = "2.12")]
1191                 public bool value_from_string (GLib.ParamSpec pspec, string str, out GLib.Value value) throws GLib.Error;
1192                 [Version (since = "2.12")]
1193                 public bool value_from_string_type (GLib.Type type, string str, out GLib.Value value) throws GLib.Error;
1194                 [Version (since = "2.12")]
1195                 public string translation_domain { get; set; }
1196         }
1197         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_button_get_type ()")]
1198         public class Button : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
1199                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1200                 public Button ();
1201                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1202                 [Version (since = "3.10")]
1203                 public Button.from_icon_name (string? icon_name, [CCode (type = "GtkIconSize")] Gtk.IconSize size = Gtk.IconSize.BUTTON);
1204                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1205                 [Version (deprecated = true, deprecated_since = "3.10")]
1206                 public Button.from_stock (string stock_id);
1207                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
1208                 public void get_alignment (out float xalign, out float yalign);
1209                 [Version (since = "3.6")]
1210                 public bool get_always_show_image ();
1211                 [Version (since = "2.22")]
1212                 public unowned Gdk.Window get_event_window ();
1213                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.4")]
1214                 public bool get_focus_on_click ();
1215                 [Version (since = "2.6")]
1216                 public unowned Gtk.Widget? get_image ();
1217                 [Version (since = "2.10")]
1218                 public Gtk.PositionType get_image_position ();
1219                 public unowned string? get_label ();
1220                 public Gtk.ReliefStyle get_relief ();
1221                 [Version (deprecated = true, deprecated_since = "3.10")]
1222                 public bool get_use_stock ();
1223                 public bool get_use_underline ();
1224                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
1225                 public void set_alignment (float xalign, float yalign);
1226                 [Version (since = "3.6")]
1227                 public void set_always_show_image (bool always_show);
1228                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.4")]
1229                 public void set_focus_on_click (bool focus_on_click);
1230                 [Version (since = "2.6")]
1231                 public void set_image (Gtk.Widget? image);
1232                 [Version (since = "2.10")]
1233                 public void set_image_position (Gtk.PositionType position);
1234                 public void set_label (string? label);
1235                 public void set_relief (Gtk.ReliefStyle relief);
1236                 [Version (deprecated = true, deprecated_since = "3.10")]
1237                 public void set_use_stock (bool use_stock);
1238                 public void set_use_underline (bool use_underline);
1239                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1240                 public Button.with_label (string label);
1241                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1242                 public Button.with_mnemonic (string label);
1243                 [Version (since = "3.6")]
1244                 public bool always_show_image { get; set construct; }
1245                 [Version (since = "2.6")]
1246                 public Gtk.Widget image { get; set; }
1247                 [Version (since = "2.10")]
1248                 public Gtk.PositionType image_position { get; set; }
1249                 public string? label { get; set construct; }
1250                 public Gtk.ReliefStyle relief { get; set; }
1251                 [Version (deprecated = true, deprecated_since = "3.10")]
1252                 public bool use_stock { get; set construct; }
1253                 public bool use_underline { get; set construct; }
1254                 [NoAccessorMethod]
1255                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
1256                 public float xalign { get; set; }
1257                 [NoAccessorMethod]
1258                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
1259                 public float yalign { get; set; }
1260                 public virtual signal void activate ();
1261                 [HasEmitter]
1262                 public virtual signal void clicked ();
1263                 [HasEmitter]
1264                 [Version (deprecated = true, deprecated_since = "2.8", replacement = "Gtk.Widget.enter_notify_event")]
1265                 public virtual signal void enter ();
1266                 [HasEmitter]
1267                 [Version (deprecated = true, deprecated_since = "2.8", replacement = "Gtk.Widget.leave_notify_event")]
1268                 public virtual signal void leave ();
1269                 [HasEmitter]
1270                 [Version (deprecated = true, deprecated_since = "2.8", replacement = "Gtk.Widget.button_press_event")]
1271                 public virtual signal void pressed ();
1272                 [HasEmitter]
1273                 [Version (deprecated = true, deprecated_since = "2.8", replacement = "Gtk.Widget.button_release_event")]
1274                 public virtual signal void released ();
1275         }
1276         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_button_accessible_get_type ()")]
1277         public class ButtonAccessible : Gtk.ContainerAccessible, Atk.Action, Atk.Component, Atk.Image {
1278                 [CCode (has_construct_function = false)]
1279                 protected ButtonAccessible ();
1280         }
1281         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_button_box_get_type ()")]
1282         public class ButtonBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1283                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1284                 [Version (since = "3.0")]
1285                 public ButtonBox (Gtk.Orientation orientation);
1286                 [Version (since = "3.2")]
1287                 public bool get_child_non_homogeneous (Gtk.Widget child);
1288                 [Version (since = "2.4")]
1289                 public bool get_child_secondary (Gtk.Widget child);
1290                 public Gtk.ButtonBoxStyle get_layout ();
1291                 [Version (since = "3.2")]
1292                 public void set_child_non_homogeneous (Gtk.Widget child, bool non_homogeneous);
1293                 public void set_child_secondary (Gtk.Widget child, bool is_secondary);
1294                 public void set_layout (Gtk.ButtonBoxStyle layout_style);
1295                 [NoAccessorMethod]
1296                 public Gtk.ButtonBoxStyle layout_style { get; set; }
1297         }
1298         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_calendar_get_type ()")]
1299         public class Calendar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1300                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1301                 public Calendar ();
1302                 public void clear_marks ();
1303                 public void get_date (out uint year, out uint month, out uint day);
1304                 [Version (since = "3.0")]
1305                 public bool get_day_is_marked (uint day);
1306                 [Version (since = "2.14")]
1307                 public int get_detail_height_rows ();
1308                 [Version (since = "2.14")]
1309                 public int get_detail_width_chars ();
1310                 [Version (since = "2.4")]
1311                 public Gtk.CalendarDisplayOptions get_display_options ();
1312                 public void mark_day (uint day);
1313                 public void select_day (uint day);
1314                 public void select_month (uint month, uint year);
1315                 [Version (since = "2.14")]
1316                 public void set_detail_func (owned Gtk.CalendarDetailFunc func);
1317                 [Version (since = "2.14")]
1318                 public void set_detail_height_rows (int rows);
1319                 [Version (since = "2.14")]
1320                 public void set_detail_width_chars (int chars);
1321                 [Version (since = "2.4")]
1322                 public void set_display_options (Gtk.CalendarDisplayOptions flags);
1323                 public void unmark_day (uint day);
1324                 [NoAccessorMethod]
1325                 public int day { get; set; }
1326                 [Version (since = "2.14")]
1327                 public int detail_height_rows { get; set; }
1328                 [Version (since = "2.14")]
1329                 public int detail_width_chars { get; set; }
1330                 [NoAccessorMethod]
1331                 public int month { get; set; }
1332                 [NoAccessorMethod]
1333                 [Version (since = "2.4")]
1334                 public bool no_month_change { get; set; }
1335                 [NoAccessorMethod]
1336                 [Version (since = "2.4")]
1337                 public bool show_day_names { get; set; }
1338                 [NoAccessorMethod]
1339                 [Version (since = "2.14")]
1340                 public bool show_details { get; set; }
1341                 [NoAccessorMethod]
1342                 [Version (since = "2.4")]
1343                 public bool show_heading { get; set; }
1344                 [NoAccessorMethod]
1345                 [Version (since = "2.4")]
1346                 public bool show_week_numbers { get; set; }
1347                 [NoAccessorMethod]
1348                 public int year { get; set; }
1349                 public virtual signal void day_selected ();
1350                 public virtual signal void day_selected_double_click ();
1351                 public virtual signal void month_changed ();
1352                 public virtual signal void next_month ();
1353                 public virtual signal void next_year ();
1354                 public virtual signal void prev_month ();
1355                 public virtual signal void prev_year ();
1356         }
1357         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_cell_accessible_get_type ()")]
1358         public class CellAccessible : Gtk.Accessible, Atk.Action, Atk.Component {
1359                 [CCode (has_construct_function = false)]
1360                 protected CellAccessible ();
1361                 [NoWrapper]
1362                 public virtual void update_cache (bool emit_signal);
1363         }
1364         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_get_type ()")]
1365         public abstract class CellArea : GLib.InitiallyUnowned, Gtk.Buildable, Gtk.CellLayout {
1366                 [CCode (has_construct_function = false)]
1367                 protected CellArea ();
1368                 [Version (since = "3.0")]
1369                 public virtual bool activate (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool edit_only);
1370                 [Version (since = "3.0")]
1371                 public bool activate_cell (Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1372                 [Version (since = "3.0")]
1373                 public virtual void add (Gtk.CellRenderer renderer);
1374                 [Version (since = "3.0")]
1375                 public void add_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
1376                 [Version (since = "3.0")]
1377                 public void add_with_properties (Gtk.CellRenderer renderer, ...);
1378                 [Version (since = "3.0")]
1379                 public void attribute_connect (Gtk.CellRenderer renderer, string attribute, int column);
1380                 [Version (since = "3.0")]
1381                 public void attribute_disconnect (Gtk.CellRenderer renderer, string attribute);
1382                 [Version (since = "3.14")]
1383                 public int attribute_get_column (Gtk.CellRenderer renderer, string attribute);
1384                 [Version (since = "3.0")]
1385                 public void cell_get (Gtk.CellRenderer renderer, ...);
1386                 [Version (since = "3.0")]
1387                 public void cell_get_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
1388                 [Version (since = "3.0")]
1389                 public void cell_get_valist (Gtk.CellRenderer renderer, string first_property_name, [CCode (type = "va_list")] va_list var_args);
1390                 [Version (since = "3.0")]
1391                 public void cell_set (Gtk.CellRenderer renderer, ...);
1392                 [Version (since = "3.0")]
1393                 public void cell_set_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
1394                 [Version (since = "3.0")]
1395                 public void cell_set_valist (Gtk.CellRenderer renderer, string first_property_name, [CCode (type = "va_list")] va_list var_args);
1396                 [Version (since = "3.0")]
1397                 public virtual Gtk.CellAreaContext copy_context (Gtk.CellAreaContext context);
1398                 [Version (since = "3.0")]
1399                 public virtual Gtk.CellAreaContext create_context ();
1400                 [Version (since = "3.0")]
1401                 public virtual int event (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1402                 [CCode (cname = "gtk_cell_area_class_find_cell_property")]
1403                 [Version (since = "3.0")]
1404                 public class unowned GLib.ParamSpec find_cell_property (string property_name);
1405                 [Version (since = "3.0")]
1406                 public virtual bool focus (Gtk.DirectionType direction);
1407                 [Version (since = "3.0")]
1408                 public virtual void @foreach (Gtk.CellCallback callback);
1409                 [Version (since = "3.0")]
1410                 public virtual void foreach_alloc (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle background_area, Gtk.CellAllocCallback callback);
1411                 [Version (since = "3.0")]
1412                 public Gdk.Rectangle get_cell_allocation (Gtk.CellAreaContext context, Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Rectangle cell_area);
1413                 [Version (since = "3.0")]
1414                 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);
1415                 [NoWrapper]
1416                 public virtual void get_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1417                 [Version (since = "3.0")]
1418                 public unowned string get_current_path_string ();
1419                 [Version (since = "3.0")]
1420                 public unowned Gtk.CellEditable get_edit_widget ();
1421                 [Version (since = "3.0")]
1422                 public unowned Gtk.CellRenderer get_edited_cell ();
1423                 [Version (since = "3.0")]
1424                 public unowned Gtk.CellRenderer get_focus_cell ();
1425                 [Version (since = "3.0")]
1426                 public unowned Gtk.CellRenderer? get_focus_from_sibling (Gtk.CellRenderer renderer);
1427                 [Version (since = "3.0")]
1428                 public unowned GLib.List<Gtk.CellRenderer> get_focus_siblings (Gtk.CellRenderer renderer);
1429                 [Version (since = "3.0")]
1430                 public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_height, out int natural_height);
1431                 [Version (since = "3.0")]
1432                 public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
1433                 [Version (since = "3.0")]
1434                 public virtual void get_preferred_width (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_width, out int natural_width);
1435                 [Version (since = "3.0")]
1436                 public virtual void get_preferred_width_for_height (Gtk.CellAreaContext context, Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
1437                 [Version (since = "3.0")]
1438                 public virtual Gtk.SizeRequestMode get_request_mode ();
1439                 [Version (since = "3.0")]
1440                 public bool has_renderer (Gtk.CellRenderer renderer);
1441                 [Version (since = "3.0")]
1442                 public Gdk.Rectangle inner_cell_area (Gtk.Widget widget, Gdk.Rectangle cell_area);
1443                 [CCode (cname = "gtk_cell_area_class_install_cell_property")]
1444                 [Version (since = "3.0")]
1445                 public class void install_cell_property (uint property_id, GLib.ParamSpec pspec);
1446                 [Version (since = "3.0")]
1447                 public virtual bool is_activatable ();
1448                 [Version (since = "3.0")]
1449                 public bool is_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
1450                 [CCode (array_length_pos = 0.1, array_length_type = "guint", cname = "gtk_cell_area_class_list_cell_properties")]
1451                 [Version (since = "3.0")]
1452                 public class (unowned GLib.ParamSpec)[] list_cell_properties ();
1453                 [Version (since = "3.0")]
1454                 public virtual void remove (Gtk.CellRenderer renderer);
1455                 [Version (since = "3.0")]
1456                 public void remove_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
1457                 [Version (since = "3.0")]
1458                 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);
1459                 [Version (since = "3.0")]
1460                 public void request_renderer (Gtk.CellRenderer renderer, Gtk.Orientation orientation, Gtk.Widget widget, int for_size, out int minimum_size, out int natural_size);
1461                 [NoWrapper]
1462                 public virtual void set_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1463                 [Version (since = "3.0")]
1464                 public void set_focus_cell (Gtk.CellRenderer renderer);
1465                 [Version (since = "3.0")]
1466                 public void stop_editing (bool canceled);
1467                 [Version (since = "3.0")]
1468                 public Gtk.CellEditable edit_widget { get; }
1469                 [Version (since = "3.0")]
1470                 public Gtk.CellRenderer edited_cell { get; }
1471                 [Version (since = "3.0")]
1472                 public Gtk.CellRenderer focus_cell { get; set; }
1473                 [Version (since = "3.0")]
1474                 public signal void add_editable (Gtk.CellRenderer renderer, Gtk.CellEditable editable, Gdk.Rectangle cell_area, string path);
1475                 [HasEmitter]
1476                 [Version (since = "3.0")]
1477                 public virtual signal void apply_attributes (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
1478                 [Version (since = "3.0")]
1479                 public signal void focus_changed (Gtk.CellRenderer renderer, string path);
1480                 [Version (since = "3.0")]
1481                 public signal void remove_editable (Gtk.CellRenderer renderer, Gtk.CellEditable editable);
1482         }
1483         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_box_get_type ()")]
1484         public class CellAreaBox : Gtk.CellArea, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable {
1485                 [CCode (has_construct_function = false, type = "GtkCellArea*")]
1486                 [Version (since = "3.0")]
1487                 public CellAreaBox ();
1488                 [Version (since = "3.0")]
1489                 public int get_spacing ();
1490                 [CCode (cname = "gtk_cell_area_box_pack_end")]
1491                 [Version (since = "3.0")]
1492                 public void pack_end_full (Gtk.CellRenderer renderer, bool expand = true, bool align = false, bool fixed = true);
1493                 [CCode (cname = "gtk_cell_area_box_pack_start")]
1494                 [Version (since = "3.0")]
1495                 public void pack_start_full (Gtk.CellRenderer renderer, bool expand = true, bool align = false, bool fixed = true);
1496                 [Version (since = "3.0")]
1497                 public void set_spacing (int spacing);
1498                 [Version (since = "3.0")]
1499                 public int spacing { get; set; }
1500         }
1501         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_area_context_get_type ()")]
1502         public class CellAreaContext : GLib.Object {
1503                 [CCode (has_construct_function = false)]
1504                 protected CellAreaContext ();
1505                 public virtual void allocate (int width, int height);
1506                 [Version (since = "3.0")]
1507                 public void get_allocation (out int width, out int height);
1508                 [Version (since = "3.0")]
1509                 public unowned Gtk.CellArea get_area ();
1510                 [Version (since = "3.0")]
1511                 public void get_preferred_height (out int minimum_height, out int natural_height);
1512                 [Version (since = "3.0")]
1513                 public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
1514                 [Version (since = "3.0")]
1515                 public void get_preferred_width (out int minimum_width, out int natural_width);
1516                 [Version (since = "3.0")]
1517                 public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
1518                 [Version (since = "3.0")]
1519                 public void push_preferred_height (int minimum_height, int natural_height);
1520                 [Version (since = "3.0")]
1521                 public void push_preferred_width (int minimum_width, int natural_width);
1522                 public virtual void reset ();
1523                 [Version (since = "3.0")]
1524                 public Gtk.CellArea area { get; construct; }
1525                 [NoAccessorMethod]
1526                 [Version (since = "3.0")]
1527                 public int minimum_height { get; }
1528                 [NoAccessorMethod]
1529                 [Version (since = "3.0")]
1530                 public int minimum_width { get; }
1531                 [NoAccessorMethod]
1532                 [Version (since = "3.0")]
1533                 public int natural_height { get; }
1534                 [NoAccessorMethod]
1535                 [Version (since = "3.0")]
1536                 public int natural_width { get; }
1537         }
1538         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_get_type ()")]
1539         public abstract class CellRenderer : GLib.InitiallyUnowned {
1540                 [CCode (has_construct_function = false)]
1541                 protected CellRenderer ();
1542                 public virtual bool activate (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1543                 [Version (since = "3.0")]
1544                 public virtual Gdk.Rectangle get_aligned_area (Gtk.Widget widget, Gtk.CellRendererState flags, Gdk.Rectangle cell_area);
1545                 [Version (since = "2.18")]
1546                 public void get_alignment (out float xalign, out float yalign);
1547                 public void get_fixed_size (out int width, out int height);
1548                 [Version (since = "2.18")]
1549                 public void get_padding (out int xpad, out int ypad);
1550                 [Version (since = "3.0")]
1551                 public virtual void get_preferred_height (Gtk.Widget widget, out int minimum_size, out int natural_size);
1552                 [Version (since = "3.0")]
1553                 public virtual void get_preferred_height_for_width (Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
1554                 [Version (since = "3.0")]
1555                 public void get_preferred_size (Gtk.Widget widget, out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
1556                 [Version (since = "3.0")]
1557                 public virtual void get_preferred_width (Gtk.Widget widget, out int minimum_size, out int natural_size);
1558                 [Version (since = "3.0")]
1559                 public virtual void get_preferred_width_for_height (Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
1560                 [Version (since = "3.0")]
1561                 public virtual Gtk.SizeRequestMode get_request_mode ();
1562                 [Version (since = "2.18")]
1563                 public bool get_sensitive ();
1564                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "get_preferred_size")]
1565                 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);
1566                 [Version (since = "3.0")]
1567                 public Gtk.StateFlags get_state (Gtk.Widget? widget, Gtk.CellRendererState cell_state);
1568                 [Version (since = "2.18")]
1569                 public bool get_visible ();
1570                 [Version (since = "3.0")]
1571                 public bool is_activatable ();
1572                 public abstract void render (Cairo.Context cr, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1573                 [CCode (cname = "gtk_cell_renderer_class_set_accessible_type")]
1574                 public class void set_accessible_type (GLib.Type type);
1575                 [Version (since = "2.18")]
1576                 public void set_alignment (float xalign, float yalign);
1577                 public void set_fixed_size (int width, int height);
1578                 [Version (since = "2.18")]
1579                 public void set_padding (int xpad, int ypad);
1580                 [Version (since = "2.18")]
1581                 public void set_sensitive (bool sensitive);
1582                 [Version (since = "2.18")]
1583                 public void set_visible (bool visible);
1584                 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);
1585                 [Version (since = "2.6")]
1586                 public void stop_editing (bool canceled);
1587                 [NoAccessorMethod]
1588                 public string cell_background { set; }
1589                 [NoAccessorMethod]
1590                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "cell_background_rgba")]
1591                 public Gdk.Color cell_background_gdk { get; set; }
1592                 [NoAccessorMethod]
1593                 [Version (since = "3.0")]
1594                 public Gdk.RGBA cell_background_rgba { get; set; }
1595                 [NoAccessorMethod]
1596                 public bool cell_background_set { get; set; }
1597                 [NoAccessorMethod]
1598                 public bool editing { get; }
1599                 [NoAccessorMethod]
1600                 public int height { get; set; }
1601                 [NoAccessorMethod]
1602                 public bool is_expanded { get; set; }
1603                 [NoAccessorMethod]
1604                 public bool is_expander { get; set; }
1605                 [NoAccessorMethod]
1606                 public Gtk.CellRendererMode mode { get; set; }
1607                 public bool sensitive { get; set; }
1608                 public bool visible { get; set; }
1609                 [NoAccessorMethod]
1610                 public int width { get; set; }
1611                 [NoAccessorMethod]
1612                 public float xalign { get; set; }
1613                 [NoAccessorMethod]
1614                 public uint xpad { get; set; }
1615                 [NoAccessorMethod]
1616                 public float yalign { get; set; }
1617                 [NoAccessorMethod]
1618                 public uint ypad { get; set; }
1619                 [Version (since = "2.4")]
1620                 public virtual signal void editing_canceled ();
1621                 [Version (since = "2.6")]
1622                 public virtual signal void editing_started (Gtk.CellEditable editable, string path);
1623         }
1624         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_accel_get_type ()")]
1625         public class CellRendererAccel : Gtk.CellRendererText {
1626                 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1627                 [Version (since = "2.10")]
1628                 public CellRendererAccel ();
1629                 [NoAccessorMethod]
1630                 [Version (since = "2.10")]
1631                 public uint accel_key { get; set; }
1632                 [NoAccessorMethod]
1633                 [Version (since = "2.10")]
1634                 public Gtk.CellRendererAccelMode accel_mode { get; set; }
1635                 [NoAccessorMethod]
1636                 [Version (since = "2.10")]
1637                 public Gdk.ModifierType accel_mods { get; set; }
1638                 [NoAccessorMethod]
1639                 [Version (since = "2.10")]
1640                 public uint keycode { get; set; }
1641                 [Version (since = "2.10")]
1642                 public virtual signal void accel_cleared (string path_string);
1643                 [Version (since = "2.10")]
1644                 public virtual signal void accel_edited (string path_string, uint accel_key, Gdk.ModifierType accel_mods, uint hardware_keycode);
1645         }
1646         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_combo_get_type ()")]
1647         public class CellRendererCombo : Gtk.CellRendererText {
1648                 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1649                 [Version (since = "2.6")]
1650                 public CellRendererCombo ();
1651                 [NoAccessorMethod]
1652                 [Version (since = "2.6")]
1653                 public bool has_entry { get; set; }
1654                 [NoAccessorMethod]
1655                 [Version (since = "2.6")]
1656                 public Gtk.TreeModel model { owned get; set; }
1657                 [NoAccessorMethod]
1658                 [Version (since = "2.6")]
1659                 public int text_column { get; set; }
1660                 [Version (since = "2.14")]
1661                 public signal void changed (string path_string, Gtk.TreeIter new_iter);
1662         }
1663         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_pixbuf_get_type ()")]
1664         public class CellRendererPixbuf : Gtk.CellRenderer {
1665                 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1666                 public CellRendererPixbuf ();
1667                 [NoAccessorMethod]
1668                 [Version (deprecated = true, deprecated_since = "3.16", since = "2.8")]
1669                 public bool follow_state { get; set; }
1670                 [NoAccessorMethod]
1671                 [Version (since = "2.14")]
1672                 public GLib.Icon gicon { owned get; set; }
1673                 [NoAccessorMethod]
1674                 [Version (since = "2.8")]
1675                 public string icon_name { owned get; set; }
1676                 [NoAccessorMethod]
1677                 public Gdk.Pixbuf pixbuf { owned get; set; }
1678                 [NoAccessorMethod]
1679                 public Gdk.Pixbuf pixbuf_expander_closed { owned get; set; }
1680                 [NoAccessorMethod]
1681                 public Gdk.Pixbuf pixbuf_expander_open { owned get; set; }
1682                 [NoAccessorMethod]
1683                 public string stock_detail { owned get; set; }
1684                 [NoAccessorMethod]
1685                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.2")]
1686                 public string stock_id { owned get; set; }
1687                 [NoAccessorMethod]
1688                 [Version (since = "2.2")]
1689                 public uint stock_size { get; set; }
1690                 [NoAccessorMethod]
1691                 [Version (since = "3.10")]
1692                 public Cairo.Surface surface { owned get; set; }
1693         }
1694         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_progress_get_type ()")]
1695         public class CellRendererProgress : Gtk.CellRenderer, Gtk.Orientable {
1696                 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1697                 [Version (since = "2.6")]
1698                 public CellRendererProgress ();
1699                 [NoAccessorMethod]
1700                 public bool inverted { get; set; }
1701                 [NoAccessorMethod]
1702                 [Version (since = "2.12")]
1703                 public int pulse { get; set; }
1704                 [NoAccessorMethod]
1705                 [Version (since = "2.6")]
1706                 public string text { owned get; set; }
1707                 [NoAccessorMethod]
1708                 [Version (since = "2.12")]
1709                 public float text_xalign { get; set; }
1710                 [NoAccessorMethod]
1711                 [Version (since = "2.12")]
1712                 public float text_yalign { get; set; }
1713                 [NoAccessorMethod]
1714                 [Version (since = "2.6")]
1715                 public int value { get; set; }
1716         }
1717         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_spin_get_type ()")]
1718         public class CellRendererSpin : Gtk.CellRendererText {
1719                 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1720                 [Version (since = "2.10")]
1721                 public CellRendererSpin ();
1722                 [NoAccessorMethod]
1723                 [Version (since = "2.10")]
1724                 public Gtk.Adjustment adjustment { owned get; set; }
1725                 [NoAccessorMethod]
1726                 [Version (since = "2.10")]
1727                 public double climb_rate { get; set; }
1728                 [NoAccessorMethod]
1729                 [Version (since = "2.10")]
1730                 public uint digits { get; set; }
1731         }
1732         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_spinner_get_type ()")]
1733         public class CellRendererSpinner : Gtk.CellRenderer {
1734                 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1735                 [Version (since = "2.20")]
1736                 public CellRendererSpinner ();
1737                 [NoAccessorMethod]
1738                 public bool active { get; set; }
1739                 [NoAccessorMethod]
1740                 [Version (since = "2.20")]
1741                 public uint pulse { get; set; }
1742                 [NoAccessorMethod]
1743                 [Version (since = "2.20")]
1744                 public Gtk.IconSize size { get; set; }
1745         }
1746         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_text_get_type ()")]
1747         public class CellRendererText : Gtk.CellRenderer {
1748                 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1749                 public CellRendererText ();
1750                 public void set_fixed_height_from_font (int number_of_rows);
1751                 [NoAccessorMethod]
1752                 public bool align_set { get; set; }
1753                 [NoAccessorMethod]
1754                 [Version (since = "2.10")]
1755                 public Pango.Alignment alignment { get; set; }
1756                 [NoAccessorMethod]
1757                 public Pango.AttrList attributes { owned get; set; }
1758                 [NoAccessorMethod]
1759                 public string background { set; }
1760                 [NoAccessorMethod]
1761                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
1762                 public Gdk.Color background_gdk { get; set; }
1763                 [NoAccessorMethod]
1764                 [Version (since = "3.0")]
1765                 public Gdk.RGBA background_rgba { get; set; }
1766                 [NoAccessorMethod]
1767                 public bool background_set { get; set; }
1768                 [NoAccessorMethod]
1769                 public bool editable { get; set; }
1770                 [NoAccessorMethod]
1771                 public bool editable_set { get; set; }
1772                 [NoAccessorMethod]
1773                 [Version (since = "2.6")]
1774                 public Pango.EllipsizeMode ellipsize { get; set; }
1775                 [NoAccessorMethod]
1776                 public bool ellipsize_set { get; set; }
1777                 [NoAccessorMethod]
1778                 public string family { owned get; set; }
1779                 [NoAccessorMethod]
1780                 public bool family_set { get; set; }
1781                 [NoAccessorMethod]
1782                 public string font { owned get; set; }
1783                 [NoAccessorMethod]
1784                 public Pango.FontDescription font_desc { owned get; set; }
1785                 [NoAccessorMethod]
1786                 public string foreground { set; }
1787                 [NoAccessorMethod]
1788                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "foreground_rgba")]
1789                 public Gdk.Color foreground_gdk { get; set; }
1790                 [NoAccessorMethod]
1791                 [Version (since = "3.0")]
1792                 public Gdk.RGBA foreground_rgba { get; set; }
1793                 [NoAccessorMethod]
1794                 public bool foreground_set { get; set; }
1795                 [NoAccessorMethod]
1796                 public string language { owned get; set; }
1797                 [NoAccessorMethod]
1798                 public bool language_set { get; set; }
1799                 [NoAccessorMethod]
1800                 public string markup { set; }
1801                 [NoAccessorMethod]
1802                 [Version (since = "3.0")]
1803                 public int max_width_chars { get; set; }
1804                 [NoAccessorMethod]
1805                 public string placeholder_text { owned get; set; }
1806                 [NoAccessorMethod]
1807                 public int rise { get; set; }
1808                 [NoAccessorMethod]
1809                 public bool rise_set { get; set; }
1810                 [NoAccessorMethod]
1811                 public double scale { get; set; }
1812                 [NoAccessorMethod]
1813                 public bool scale_set { get; set; }
1814                 [NoAccessorMethod]
1815                 public bool single_paragraph_mode { get; set; }
1816                 [NoAccessorMethod]
1817                 public int size { get; set; }
1818                 [NoAccessorMethod]
1819                 public double size_points { get; set; }
1820                 [NoAccessorMethod]
1821                 public bool size_set { get; set; }
1822                 [NoAccessorMethod]
1823                 public Pango.Stretch stretch { get; set; }
1824                 [NoAccessorMethod]
1825                 public bool stretch_set { get; set; }
1826                 [NoAccessorMethod]
1827                 public bool strikethrough { get; set; }
1828                 [NoAccessorMethod]
1829                 public bool strikethrough_set { get; set; }
1830                 [NoAccessorMethod]
1831                 public Pango.Style style { get; set; }
1832                 [NoAccessorMethod]
1833                 public bool style_set { get; set; }
1834                 [NoAccessorMethod]
1835                 public string text { owned get; set; }
1836                 [NoAccessorMethod]
1837                 public Pango.Underline underline { get; set; }
1838                 [NoAccessorMethod]
1839                 public bool underline_set { get; set; }
1840                 [NoAccessorMethod]
1841                 public Pango.Variant variant { get; set; }
1842                 [NoAccessorMethod]
1843                 public bool variant_set { get; set; }
1844                 [NoAccessorMethod]
1845                 public int weight { get; set; }
1846                 [NoAccessorMethod]
1847                 public bool weight_set { get; set; }
1848                 [NoAccessorMethod]
1849                 [Version (since = "2.6")]
1850                 public int width_chars { get; set; }
1851                 [NoAccessorMethod]
1852                 [Version (since = "2.8")]
1853                 public Pango.WrapMode wrap_mode { get; set; }
1854                 [NoAccessorMethod]
1855                 [Version (since = "2.8")]
1856                 public int wrap_width { get; set; }
1857                 public virtual signal void edited (string path, string new_text);
1858         }
1859         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_renderer_toggle_get_type ()")]
1860         public class CellRendererToggle : Gtk.CellRenderer {
1861                 [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1862                 public CellRendererToggle ();
1863                 [Version (since = "2.18")]
1864                 public bool get_activatable ();
1865                 public bool get_active ();
1866                 public bool get_radio ();
1867                 [Version (since = "2.18")]
1868                 public void set_activatable (bool setting);
1869                 public void set_active (bool setting);
1870                 public void set_radio (bool radio);
1871                 public bool activatable { get; set; }
1872                 public bool active { get; set; }
1873                 [NoAccessorMethod]
1874                 public bool inconsistent { get; set; }
1875                 [NoAccessorMethod]
1876                 public int indicator_size { get; set; }
1877                 public bool radio { get; set; }
1878                 public virtual signal void toggled (string path);
1879         }
1880         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_view_get_type ()")]
1881         public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable {
1882                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1883                 [Version (since = "2.6")]
1884                 public CellView ();
1885                 [Version (since = "2.6")]
1886                 public Gtk.TreePath? get_displayed_row ();
1887                 [Version (since = "3.0")]
1888                 public bool get_draw_sensitive ();
1889                 [Version (since = "3.0")]
1890                 public bool get_fit_model ();
1891                 [Version (since = "2.16")]
1892                 public unowned Gtk.TreeModel? get_model ();
1893                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.6")]
1894                 public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition);
1895                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "set_background_rgba", since = "2.6")]
1896                 public void set_background_color (Gdk.Color color);
1897                 [Version (since = "3.0")]
1898                 public void set_background_rgba (Gdk.RGBA rgba);
1899                 [Version (since = "2.6")]
1900                 public void set_displayed_row (Gtk.TreePath? path);
1901                 [Version (since = "3.0")]
1902                 public void set_draw_sensitive (bool draw_sensitive);
1903                 [Version (since = "3.0")]
1904                 public void set_fit_model (bool fit_model);
1905                 [Version (since = "2.6")]
1906                 public void set_model (Gtk.TreeModel? model);
1907                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1908                 [Version (since = "2.6")]
1909                 public CellView.with_context (Gtk.CellArea area, Gtk.CellAreaContext context);
1910                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1911                 [Version (since = "2.6")]
1912                 public CellView.with_markup (string markup);
1913                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1914                 [Version (since = "2.6")]
1915                 public CellView.with_pixbuf (Gdk.Pixbuf pixbuf);
1916                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1917                 [Version (since = "2.6")]
1918                 public CellView.with_text (string text);
1919                 [NoAccessorMethod]
1920                 public string background { set; }
1921                 [NoAccessorMethod]
1922                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
1923                 public Gdk.Color background_gdk { get; set; }
1924                 [NoAccessorMethod]
1925                 [Version (since = "3.0")]
1926                 public Gdk.RGBA background_rgba { get; set; }
1927                 [NoAccessorMethod]
1928                 public bool background_set { get; set; }
1929                 [NoAccessorMethod]
1930                 public Gtk.CellArea cell_area { owned get; construct; }
1931                 [NoAccessorMethod]
1932                 public Gtk.CellAreaContext cell_area_context { owned get; construct; }
1933                 public bool draw_sensitive { get; set; }
1934                 public bool fit_model { get; set; }
1935                 public Gtk.TreeModel model { get; set; }
1936         }
1937         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_check_button_get_type ()")]
1938         public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
1939                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1940                 public CheckButton ();
1941                 [NoWrapper]
1942                 public virtual void draw_indicator (Cairo.Context cr);
1943                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1944                 public CheckButton.with_label (string label);
1945                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1946                 public CheckButton.with_mnemonic (string label);
1947         }
1948         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_check_menu_item_get_type ()")]
1949         public class CheckMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
1950                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1951                 public CheckMenuItem ();
1952                 [NoWrapper]
1953                 public virtual void draw_indicator (Cairo.Context cr);
1954                 public bool get_active ();
1955                 [Version (since = "2.4")]
1956                 public bool get_draw_as_radio ();
1957                 public bool get_inconsistent ();
1958                 public void set_active (bool is_active);
1959                 [Version (since = "2.4")]
1960                 public void set_draw_as_radio (bool draw_as_radio);
1961                 public void set_inconsistent (bool setting);
1962                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1963                 public CheckMenuItem.with_label (string label);
1964                 [CCode (has_construct_function = false, type = "GtkWidget*")]
1965                 public CheckMenuItem.with_mnemonic (string label);
1966                 public bool active { get; set; }
1967                 public bool draw_as_radio { get; set; }
1968                 public bool inconsistent { get; set; }
1969                 [HasEmitter]
1970                 public virtual signal void toggled ();
1971         }
1972         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_check_menu_item_accessible_get_type ()")]
1973         public class CheckMenuItemAccessible : Gtk.MenuItemAccessible, Atk.Action, Atk.Component, Atk.Selection {
1974                 [CCode (has_construct_function = false)]
1975                 protected CheckMenuItemAccessible ();
1976         }
1977         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_clipboard_get_type ()")]
1978         public class Clipboard : GLib.Object {
1979                 [CCode (has_construct_function = false)]
1980                 protected Clipboard ();
1981                 public void clear ();
1982                 public static unowned Gtk.Clipboard @get (Gdk.Atom selection);
1983                 [Version (since = "3.16")]
1984                 public static unowned Gtk.Clipboard get_default (Gdk.Display display);
1985                 [Version (since = "2.2")]
1986                 public unowned Gdk.Display get_display ();
1987                 [Version (since = "2.2")]
1988                 public static unowned Gtk.Clipboard get_for_display (Gdk.Display display, Gdk.Atom selection);
1989                 public unowned GLib.Object? get_owner ();
1990                 [Version (since = "3.22")]
1991                 public Gdk.Atom get_selection ();
1992                 public void request_contents (Gdk.Atom target, [CCode (scope = "async")] Gtk.ClipboardReceivedFunc callback);
1993                 [Version (since = "2.6")]
1994                 public void request_image ([CCode (scope = "async")] Gtk.ClipboardImageReceivedFunc callback);
1995                 [Version (since = "2.10")]
1996                 public void request_rich_text (Gtk.TextBuffer buffer, [CCode (scope = "async")] Gtk.ClipboardRichTextReceivedFunc callback);
1997                 [Version (since = "2.4")]
1998                 public void request_targets ([CCode (scope = "async")] Gtk.ClipboardTargetsReceivedFunc callback);
1999                 public void request_text ([CCode (scope = "async")] Gtk.ClipboardTextReceivedFunc callback);
2000                 [Version (since = "2.14")]
2001                 public void request_uris ([CCode (scope = "async")] Gtk.ClipboardURIReceivedFunc callback);
2002                 [Version (since = "2.6")]
2003                 public void set_can_store ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gtk.TargetEntry[]? targets);
2004                 [Version (since = "2.6")]
2005                 public void set_image (Gdk.Pixbuf pixbuf);
2006                 public void set_text (string text, int len);
2007                 public bool set_with_data ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5, array_length_type = "guint")] Gtk.TargetEntry[] targets, [CCode (scope = "async")] Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func, void* user_data);
2008                 public bool set_with_owner ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5, array_length_type = "guint")] Gtk.TargetEntry[] targets, [CCode (scope = "async")] Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func, GLib.Object owner);
2009                 [Version (since = "2.6")]
2010                 public void store ();
2011                 public Gtk.SelectionData? wait_for_contents (Gdk.Atom target);
2012                 [Version (since = "2.6")]
2013                 public Gdk.Pixbuf? wait_for_image ();
2014                 [CCode (array_length_pos = 2.1, array_length_type = "gsize")]
2015                 [Version (since = "2.10")]
2016                 public uint8[]? wait_for_rich_text (Gtk.TextBuffer buffer, out Gdk.Atom format);
2017                 [Version (since = "2.4")]
2018                 public bool wait_for_targets ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] out Gdk.Atom[] targets);
2019                 public string? wait_for_text ();
2020                 [CCode (array_length = false, array_null_terminated = true)]
2021                 [Version (since = "2.14")]
2022                 public string[]? wait_for_uris ();
2023                 [Version (since = "2.6")]
2024                 public bool wait_is_image_available ();
2025                 [Version (since = "2.10")]
2026                 public bool wait_is_rich_text_available (Gtk.TextBuffer buffer);
2027                 [Version (since = "2.6")]
2028                 public bool wait_is_target_available (Gdk.Atom target);
2029                 public bool wait_is_text_available ();
2030                 [Version (since = "2.14")]
2031                 public bool wait_is_uris_available ();
2032                 [Version (since = "2.6")]
2033                 public signal void owner_change (Gdk.EventOwnerChange event);
2034         }
2035         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_button_get_type ()")]
2036         public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.ColorChooser {
2037                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2038                 [Version (since = "2.4")]
2039                 public ColorButton ();
2040                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
2041                 public uint16 get_alpha ();
2042                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
2043                 public void get_color (out Gdk.Color color);
2044                 [Version (since = "2.4")]
2045                 public unowned string get_title ();
2046                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
2047                 public bool get_use_alpha ();
2048                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
2049                 public void set_alpha (uint16 alpha);
2050                 [Version (deprecated = true, since = "2.4")]
2051                 public void set_color (Gdk.Color color);
2052                 [Version (since = "2.4")]
2053                 public void set_title (string title);
2054                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
2055                 public void set_use_alpha (bool use_alpha);
2056                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2057                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
2058                 public ColorButton.with_color (Gdk.Color color);
2059                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2060                 [Version (since = "3.0")]
2061                 public ColorButton.with_rgba (Gdk.RGBA rgba);
2062                 [Version (since = "2.4")]
2063                 public uint alpha { get; set; }
2064                 [NoAccessorMethod]
2065                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "rgba", since = "2.4")]
2066                 public Gdk.Color color { get; set; }
2067                 [NoAccessorMethod]
2068                 [Version (since = "3.0")]
2069                 public Gdk.RGBA rgba { get; set; }
2070                 [NoAccessorMethod]
2071                 [Version (since = "3.20")]
2072                 public bool show_editor { get; set; }
2073                 [Version (since = "2.4")]
2074                 public string title { get; set; }
2075                 [Version (since = "2.4")]
2076                 public bool use_alpha { get; set; }
2077                 [Version (since = "2.4")]
2078                 public virtual signal void color_set ();
2079         }
2080         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_chooser_dialog_get_type ()")]
2081         public class ColorChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser {
2082                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2083                 [Version (since = "3.4")]
2084                 public ColorChooserDialog (string? title, Gtk.Window? parent);
2085                 [NoAccessorMethod]
2086                 public bool show_editor { get; set; }
2087         }
2088         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_chooser_widget_get_type ()")]
2089         public class ColorChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser, Gtk.Orientable {
2090                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2091                 [Version (since = "3.4")]
2092                 public ColorChooserWidget ();
2093                 [NoAccessorMethod]
2094                 [Version (since = "3.4")]
2095                 public bool show_editor { get; set; }
2096         }
2097         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_selection_get_type ()")]
2098         public class ColorSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2099                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2100                 public ColorSelection ();
2101                 public uint16 get_current_alpha ();
2102                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "get_current_rgba")]
2103                 public void get_current_color (out Gdk.Color color);
2104                 [Version (since = "3.0")]
2105                 public Gdk.RGBA get_current_rgba ();
2106                 public bool get_has_opacity_control ();
2107                 public bool get_has_palette ();
2108                 public uint16 get_previous_alpha ();
2109                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "get_previous_rgba")]
2110                 public void get_previous_color (out Gdk.Color color);
2111                 [Version (since = "3.0")]
2112                 public Gdk.RGBA get_previous_rgba ();
2113                 public bool is_adjusting ();
2114                 public static bool palette_from_string (string str, [CCode (array_length_cname = "n_colors", array_length_pos = 2.1)] out Gdk.Color[] colors);
2115                 public static string palette_to_string ([CCode (array_length_cname = "n_colors", array_length_pos = 1.1)] Gdk.Color[] colors);
2116                 [Version (since = "2.2")]
2117                 public static unowned Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func);
2118                 public void set_current_alpha (uint16 alpha);
2119                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "set_current_rgba")]
2120                 public void set_current_color (Gdk.Color color);
2121                 [Version (since = "3.0")]
2122                 public void set_current_rgba (Gdk.RGBA rgba);
2123                 public void set_has_opacity_control (bool has_opacity);
2124                 public void set_has_palette (bool has_palette);
2125                 public void set_previous_alpha (uint16 alpha);
2126                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "set_previous_rgba")]
2127                 public void set_previous_color (Gdk.Color color);
2128                 [Version (since = "3.0")]
2129                 public void set_previous_rgba (Gdk.RGBA rgba);
2130                 public uint current_alpha { get; set; }
2131                 [NoAccessorMethod]
2132                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "current_rgba")]
2133                 public Gdk.Color current_color { get; set; }
2134                 [Version (since = "3.0")]
2135                 public Gdk.RGBA current_rgba { get; set; }
2136                 public bool has_opacity_control { get; set; }
2137                 public bool has_palette { get; set; }
2138                 public virtual signal void color_changed ();
2139         }
2140         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_selection_dialog_get_type ()")]
2141         public class ColorSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
2142                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2143                 public ColorSelectionDialog (string title);
2144                 [Version (since = "2.14")]
2145                 public unowned Gtk.ColorSelection get_color_selection ();
2146                 [NoAccessorMethod]
2147                 public Gtk.Widget cancel_button { owned get; }
2148                 public Gtk.Widget color_selection { get; }
2149                 [NoAccessorMethod]
2150                 public Gtk.Widget help_button { owned get; }
2151                 [NoAccessorMethod]
2152                 public Gtk.Widget ok_button { owned get; }
2153         }
2154         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_combo_box_get_type ()")]
2155         public class ComboBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout {
2156                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2157                 [Version (since = "2.4")]
2158                 public ComboBox ();
2159                 [Version (since = "2.4")]
2160                 public int get_active ();
2161                 [Version (since = "3.0")]
2162                 public unowned string? get_active_id ();
2163                 [Version (since = "2.4")]
2164                 public bool get_active_iter (out Gtk.TreeIter iter);
2165                 [Version (deprecated = true, deprecated_since = "3.10")]
2166                 public bool get_add_tearoffs ();
2167                 [Version (since = "2.14")]
2168                 public Gtk.SensitivityType get_button_sensitivity ();
2169                 [Version (since = "2.6")]
2170                 public int get_column_span_column ();
2171                 [Version (since = "2.24")]
2172                 public int get_entry_text_column ();
2173                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.6")]
2174                 public bool get_focus_on_click ();
2175                 [Version (since = "2.24")]
2176                 public bool get_has_entry ();
2177                 [Version (since = "3.0")]
2178                 public int get_id_column ();
2179                 [Version (since = "2.4")]
2180                 public unowned Gtk.TreeModel get_model ();
2181                 [Version (since = "2.6")]
2182                 public unowned Atk.Object get_popup_accessible ();
2183                 [Version (since = "3.0")]
2184                 public bool get_popup_fixed_width ();
2185                 [Version (since = "2.6")]
2186                 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
2187                 [Version (since = "2.6")]
2188                 public int get_row_span_column ();
2189                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
2190                 public unowned string get_title ();
2191                 [Version (since = "2.6")]
2192                 public int get_wrap_width ();
2193                 [Version (since = "3.0")]
2194                 public void popup_for_device (Gdk.Device device);
2195                 [Version (since = "2.4")]
2196                 public void set_active (int index_);
2197                 [Version (since = "3.0")]
2198                 public bool set_active_id (string? active_id);
2199                 [Version (since = "2.4")]
2200                 public void set_active_iter (Gtk.TreeIter? iter);
2201                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
2202                 public void set_add_tearoffs (bool add_tearoffs);
2203                 [Version (since = "2.14")]
2204                 public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
2205                 [Version (since = "2.4")]
2206                 public void set_column_span_column (int column_span);
2207                 [Version (since = "2.24")]
2208                 public void set_entry_text_column (int text_column);
2209                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.6")]
2210                 public void set_focus_on_click (bool focus_on_click);
2211                 [Version (since = "3.0")]
2212                 public void set_id_column (int id_column);
2213                 [Version (since = "2.4")]
2214                 public void set_model (Gtk.TreeModel? model);
2215                 [Version (since = "3.0")]
2216                 public void set_popup_fixed_width (bool fixed);
2217                 [Version (since = "2.6")]
2218                 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc func);
2219                 [Version (since = "2.4")]
2220                 public void set_row_span_column (int row_span);
2221                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
2222                 public void set_title (string title);
2223                 [Version (since = "2.4")]
2224                 public void set_wrap_width (int width);
2225                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2226                 public ComboBox.with_area (Gtk.CellArea area);
2227                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2228                 public ComboBox.with_area_and_entry (Gtk.CellArea area);
2229                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2230                 [Version (since = "2.24")]
2231                 public ComboBox.with_entry ();
2232                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2233                 [Version (since = "2.4")]
2234                 public ComboBox.with_model (Gtk.TreeModel model);
2235                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2236                 [Version (since = "2.24")]
2237                 public ComboBox.with_model_and_entry (Gtk.TreeModel model);
2238                 [Version (since = "2.4")]
2239                 public int active { get; set; }
2240                 [Version (since = "3.0")]
2241                 public string? active_id { get; set; }
2242                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
2243                 public bool add_tearoffs { get; set; }
2244                 [Version (since = "2.14")]
2245                 public Gtk.SensitivityType button_sensitivity { get; set; }
2246                 [NoAccessorMethod]
2247                 [Version (since = "3.0")]
2248                 public Gtk.CellArea cell_area { owned get; construct; }
2249                 [Version (since = "2.4")]
2250                 public int column_span_column { get; set; }
2251                 [Version (since = "2.24")]
2252                 public int entry_text_column { get; set; }
2253                 [Version (since = "2.24")]
2254                 public bool has_entry { get; construct; }
2255                 [NoAccessorMethod]
2256                 [Version (since = "2.6")]
2257                 public bool has_frame { get; set; }
2258                 [Version (since = "3.0")]
2259                 public int id_column { get; set; }
2260                 [Version (since = "2.4")]
2261                 public Gtk.TreeModel model { get; set; }
2262                 [Version (since = "3.0")]
2263                 public bool popup_fixed_width { get; set; }
2264                 [NoAccessorMethod]
2265                 [Version (since = "2.10")]
2266                 public bool popup_shown { get; }
2267                 [Version (since = "2.4")]
2268                 public int row_span_column { get; set; }
2269                 [NoAccessorMethod]
2270                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
2271                 public string tearoff_title { owned get; set; }
2272                 [Version (since = "2.4")]
2273                 public int wrap_width { get; set; }
2274                 [Version (since = "2.4")]
2275                 public virtual signal void changed ();
2276                 [Version (since = "3.4")]
2277                 public virtual signal string format_entry_text (string path);
2278                 [Version (since = "2.12")]
2279                 public signal void move_active (Gtk.ScrollType scroll_type);
2280                 [HasEmitter]
2281                 [Version (since = "2.12")]
2282                 public signal bool popdown ();
2283                 [HasEmitter]
2284                 [Version (since = "2.12")]
2285                 public signal void popup ();
2286         }
2287         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_combo_box_accessible_get_type ()")]
2288         public class ComboBoxAccessible : Gtk.ContainerAccessible, Atk.Action, Atk.Component, Atk.Selection {
2289                 [CCode (has_construct_function = false)]
2290                 protected ComboBoxAccessible ();
2291         }
2292         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_combo_box_text_get_type ()")]
2293         public class ComboBoxText : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout {
2294                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2295                 [Version (since = "2.24")]
2296                 public ComboBoxText ();
2297                 [Version (since = "2.24")]
2298                 public void append (string? id, string text);
2299                 [Version (since = "2.24")]
2300                 public void append_text (string text);
2301                 [Version (since = "2.24")]
2302                 public string get_active_text ();
2303                 [Version (since = "3.0")]
2304                 public void insert (int position, string? id, string text);
2305                 [Version (since = "2.24")]
2306                 public void insert_text (int position, string text);
2307                 [Version (since = "2.24")]
2308                 public void prepend (string? id, string text);
2309                 [Version (since = "2.24")]
2310                 public void prepend_text (string text);
2311                 [Version (since = "2.24")]
2312                 public void remove (int position);
2313                 [Version (since = "3.0")]
2314                 public void remove_all ();
2315                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2316                 [Version (since = "2.24")]
2317                 public ComboBoxText.with_entry ();
2318         }
2319         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_container_get_type ()")]
2320         public abstract class Container : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2321                 [CCode (has_construct_function = false)]
2322                 protected Container ();
2323                 public void add_with_properties (Gtk.Widget widget, ...);
2324                 public void child_get (Gtk.Widget child, ...);
2325                 public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value);
2326                 public void child_get_valist (Gtk.Widget child, string first_property_name, [CCode (type = "va_list")] va_list var_args);
2327                 [Version (since = "3.2")]
2328                 public void child_notify (Gtk.Widget child, string child_property);
2329                 [Version (since = "3.18")]
2330                 public void child_notify_by_pspec (Gtk.Widget child, GLib.ParamSpec pspec);
2331                 public void child_set (Gtk.Widget child, ...);
2332                 public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value);
2333                 public void child_set_valist (Gtk.Widget child, string first_property_name, [CCode (type = "va_list")] va_list var_args);
2334                 public virtual GLib.Type child_type ();
2335                 [Version (deprecated_since = "vala-0.40", replacement = "find_child_property")]
2336                 public class unowned GLib.ParamSpec? class_find_child_property (string property_name);
2337                 [Version (deprecated_since = "vala-0.40", replacement = "list_child_properties")]
2338                 public class (unowned GLib.ParamSpec)[] class_list_child_properties ();
2339                 [NoWrapper]
2340                 public virtual string composite_name (Gtk.Widget child);
2341                 [CCode (cname = "gtk_container_class_find_child_property")]
2342                 public class unowned GLib.ParamSpec? find_child_property (string property_name);
2343                 public void forall (Gtk.Callback callback);
2344                 [CCode (vfunc_name = "forall")]
2345                 [NoWrapper]
2346                 public virtual void forall_internal (bool include_internal, Gtk.Callback callback);
2347                 public void @foreach (Gtk.Callback callback);
2348                 public uint get_border_width ();
2349                 [NoWrapper]
2350                 public virtual void get_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
2351                 public GLib.List<weak Gtk.Widget> get_children ();
2352                 public bool get_focus_chain (out GLib.List<weak Gtk.Widget> focusable_widgets);
2353                 [Version (since = "2.14")]
2354                 public unowned Gtk.Widget? get_focus_child ();
2355                 public unowned Gtk.Adjustment? get_focus_hadjustment ();
2356                 public unowned Gtk.Adjustment? get_focus_vadjustment ();
2357                 public virtual Gtk.WidgetPath get_path_for_child (Gtk.Widget child);
2358                 [Version (deprecated = true, deprecated_since = "3.12")]
2359                 public Gtk.ResizeMode get_resize_mode ();
2360                 [CCode (cname = "gtk_container_class_handle_border_width")]
2361                 public class void handle_border_width ();
2362                 [CCode (cname = "gtk_container_class_install_child_properties")]
2363                 [Version (since = "3.18")]
2364                 public class void install_child_properties ([CCode (array_length_cname = "n_pspecs", array_length_pos = 0.5, array_length_type = "guint")] GLib.ParamSpec[] pspecs);
2365                 [CCode (cname = "gtk_container_class_install_child_property")]
2366                 public class void install_child_property (uint property_id, GLib.ParamSpec pspec);
2367                 [CCode (array_length_pos = 0.1, array_length_type = "guint", cname = "gtk_container_class_list_child_properties")]
2368                 public class (unowned GLib.ParamSpec)[] list_child_properties ();
2369                 public void propagate_draw (Gtk.Widget child, Cairo.Context cr);
2370                 [Version (deprecated = true, deprecated_since = "3.10")]
2371                 public void resize_children ();
2372                 public void set_border_width (uint border_width);
2373                 [NoWrapper]
2374                 public virtual void set_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
2375                 public void set_focus_chain (GLib.List<Gtk.Widget> focusable_widgets);
2376                 public void set_focus_hadjustment (Gtk.Adjustment adjustment);
2377                 public void set_focus_vadjustment (Gtk.Adjustment adjustment);
2378                 [Version (deprecated = true, deprecated_since = "3.14")]
2379                 public void set_reallocate_redraws (bool needs_redraws);
2380                 [Version (deprecated = true, deprecated_since = "3.12")]
2381                 public void set_resize_mode (Gtk.ResizeMode resize_mode);
2382                 public void unset_focus_chain ();
2383                 public uint border_width { get; set; }
2384                 [NoAccessorMethod]
2385                 public Gtk.Widget child { set; }
2386                 public Gtk.ResizeMode resize_mode { get; set; }
2387                 [HasEmitter]
2388                 public virtual signal void add (Gtk.Widget widget);
2389                 [HasEmitter]
2390                 public virtual signal void check_resize ();
2391                 [HasEmitter]
2392                 public virtual signal void remove (Gtk.Widget widget);
2393                 [HasEmitter]
2394                 public virtual signal void set_focus_child (Gtk.Widget? child);
2395         }
2396         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_container_accessible_get_type ()")]
2397         public class ContainerAccessible : Gtk.WidgetAccessible, Atk.Component {
2398                 [CCode (has_construct_function = false)]
2399                 protected ContainerAccessible ();
2400                 [NoWrapper]
2401                 public virtual int add_gtk (Gtk.Widget widget, void* data);
2402                 [NoWrapper]
2403                 public virtual int remove_gtk (Gtk.Widget widget, void* data);
2404         }
2405         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_container_cell_accessible_get_type ()")]
2406         public class ContainerCellAccessible : Gtk.CellAccessible, Atk.Action, Atk.Component {
2407                 [CCode (has_construct_function = false)]
2408                 public ContainerCellAccessible ();
2409                 public void add_child (Gtk.CellAccessible child);
2410                 public unowned GLib.List<Gtk.CellAccessible> get_children ();
2411                 public void remove_child (Gtk.CellAccessible child);
2412         }
2413         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_css_provider_get_type ()")]
2414         public class CssProvider : GLib.Object, Gtk.StyleProvider {
2415                 [CCode (has_construct_function = false)]
2416                 public CssProvider ();
2417                 public static unowned Gtk.CssProvider get_default ();
2418                 public static unowned Gtk.CssProvider get_named (string name, string? variant);
2419                 [CCode (cname = "gtk_css_provider_load_from_data")]
2420                 public bool load_from_buffer ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gssize")] uint8[] data) throws GLib.Error;
2421                 public bool load_from_data (string data, ssize_t length = -1) throws GLib.Error;
2422                 public bool load_from_file (GLib.File file) throws GLib.Error;
2423                 public bool load_from_path (string path) throws GLib.Error;
2424                 [Version (since = "3.16")]
2425                 public void load_from_resource (string resource_path);
2426                 [Version (since = "3.2")]
2427                 public string to_string ();
2428                 public virtual signal void parsing_error (Gtk.CssSection section, GLib.Error error);
2429         }
2430         [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")]
2431         [Compact]
2432         [Version (since = "3.2")]
2433         public class CssSection {
2434                 public uint get_end_line ();
2435                 public uint get_end_position ();
2436                 public unowned GLib.File get_file ();
2437                 public unowned Gtk.CssSection? get_parent ();
2438                 public Gtk.CssSectionType get_section_type ();
2439                 public uint get_start_line ();
2440                 public uint get_start_position ();
2441                 public unowned Gtk.CssSection @ref ();
2442                 public void unref ();
2443         }
2444         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_dialog_get_type ()")]
2445         public class Dialog : Gtk.Window, Atk.Implementor, Gtk.Buildable {
2446                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2447                 public Dialog ();
2448                 public void add_action_widget (Gtk.Widget child, int response_id);
2449                 public unowned Gtk.Widget add_button (string button_text, int response_id);
2450                 public void add_buttons (...);
2451                 [Version (deprecated = true, deprecated_since = "3.12", since = "2.14")]
2452                 public unowned Gtk.Widget get_action_area ();
2453                 [Version (since = "2.14")]
2454                 public unowned Gtk.Box get_content_area ();
2455                 [Version (since = "3.12")]
2456                 public unowned Gtk.Widget get_header_bar ();
2457                 [Version (since = "2.8")]
2458                 public int get_response_for_widget (Gtk.Widget widget);
2459                 [Version (since = "2.20")]
2460                 public unowned Gtk.Widget? get_widget_for_response (int response_id);
2461                 public int run ();
2462                 [CCode (sentinel = "-1")]
2463                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
2464                 public void set_alternative_button_order (...);
2465                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
2466                 public void set_alternative_button_order_from_array ([CCode (array_length_cname = "n_params", array_length_pos = 0.5)] int[] new_order);
2467                 public void set_default_response (int response_id);
2468                 public void set_response_sensitive (int response_id, bool setting);
2469                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2470                 public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...);
2471                 [NoAccessorMethod]
2472                 [Version (since = "3.12")]
2473                 public int use_header_bar { get; construct; }
2474                 public virtual signal void close ();
2475                 [HasEmitter]
2476                 public virtual signal void response (int response_id);
2477         }
2478         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_drawing_area_get_type ()")]
2479         public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2480                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2481                 public DrawingArea ();
2482         }
2483         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_get_type ()")]
2484         public class Entry : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
2485                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2486                 public Entry ();
2487                 public bool get_activates_default ();
2488                 [Version (since = "2.4")]
2489                 public float get_alignment ();
2490                 [Version (since = "3.6")]
2491                 public unowned Pango.AttrList? get_attributes ();
2492                 [Version (since = "2.18")]
2493                 public unowned Gtk.EntryBuffer get_buffer ();
2494                 [Version (since = "2.4")]
2495                 public unowned Gtk.EntryCompletion get_completion ();
2496                 [Version (since = "2.16")]
2497                 public int get_current_icon_drag_source ();
2498                 [Version (since = "2.12")]
2499                 public unowned Gtk.Adjustment? get_cursor_hadjustment ();
2500                 [NoWrapper]
2501                 public virtual void get_frame_size (out int x, out int y, out int width, out int height);
2502                 public bool get_has_frame ();
2503                 [Version (since = "2.16")]
2504                 public bool get_icon_activatable (Gtk.EntryIconPosition icon_pos);
2505                 [Version (since = "3.0")]
2506                 public Gdk.Rectangle get_icon_area (Gtk.EntryIconPosition icon_pos);
2507                 [Version (since = "2.16")]
2508                 public int get_icon_at_pos (int x, int y);
2509                 [Version (since = "2.16")]
2510                 public unowned GLib.Icon? get_icon_gicon (Gtk.EntryIconPosition icon_pos);
2511                 [Version (since = "2.16")]
2512                 public unowned string? get_icon_name (Gtk.EntryIconPosition icon_pos);
2513                 [Version (since = "2.16")]
2514                 public unowned Gdk.Pixbuf? get_icon_pixbuf (Gtk.EntryIconPosition icon_pos);
2515                 [Version (since = "2.16")]
2516                 public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos);
2517                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.16")]
2518                 public unowned string get_icon_stock (Gtk.EntryIconPosition icon_pos);
2519                 [Version (since = "2.16")]
2520                 public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos);
2521                 [Version (since = "2.16")]
2522                 public string? get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos);
2523                 [Version (since = "2.16")]
2524                 public string? get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos);
2525                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.10")]
2526                 public unowned Gtk.Border? get_inner_border ();
2527                 [Version (since = "3.6")]
2528                 public Gtk.InputHints get_input_hints ();
2529                 [Version (since = "3.6")]
2530                 public Gtk.InputPurpose get_input_purpose ();
2531                 public unichar get_invisible_char ();
2532                 public unowned Pango.Layout get_layout ();
2533                 public void get_layout_offsets (out int x, out int y);
2534                 public int get_max_length ();
2535                 [Version (since = "3.12")]
2536                 public int get_max_width_chars ();
2537                 [Version (since = "2.14")]
2538                 public bool get_overwrite_mode ();
2539                 [Version (since = "3.2")]
2540                 public unowned string get_placeholder_text ();
2541                 [Version (since = "2.16")]
2542                 public double get_progress_fraction ();
2543                 [Version (since = "2.16")]
2544                 public double get_progress_pulse_step ();
2545                 [Version (since = "3.10")]
2546                 public unowned Pango.TabArray? get_tabs ();
2547                 public unowned string get_text ();
2548                 [Version (since = "3.0")]
2549                 public void get_text_area (out Gdk.Rectangle text_area);
2550                 [NoWrapper]
2551                 public virtual void get_text_area_size (out int x, out int y, out int width, out int height);
2552                 [Version (since = "2.14")]
2553                 public uint16 get_text_length ();
2554                 public bool get_visibility ();
2555                 public int get_width_chars ();
2556                 [Version (since = "3.16")]
2557                 public void grab_focus_without_selecting ();
2558                 [Version (since = "2.22")]
2559                 public bool im_context_filter_keypress (Gdk.EventKey event);
2560                 public int layout_index_to_text_index (int layout_index);
2561                 [Version (since = "2.16")]
2562                 public void progress_pulse ();
2563                 [Version (since = "2.22")]
2564                 public void reset_im_context ();
2565                 public void set_activates_default (bool setting);
2566                 [Version (since = "2.4")]
2567                 public void set_alignment (float xalign);
2568                 [Version (since = "3.6")]
2569                 public void set_attributes (Pango.AttrList attrs);
2570                 [Version (since = "2.18")]
2571                 public void set_buffer (Gtk.EntryBuffer buffer);
2572                 [Version (since = "2.4")]
2573                 public void set_completion (Gtk.EntryCompletion? completion);
2574                 [Version (since = "2.12")]
2575                 public void set_cursor_hadjustment (Gtk.Adjustment? adjustment);
2576                 public void set_has_frame (bool setting);
2577                 [Version (since = "2.16")]
2578                 public void set_icon_activatable (Gtk.EntryIconPosition icon_pos, bool activatable);
2579                 [Version (since = "2.16")]
2580                 public void set_icon_drag_source (Gtk.EntryIconPosition icon_pos, Gtk.TargetList target_list, Gdk.DragAction actions);
2581                 [Version (since = "2.16")]
2582                 public void set_icon_from_gicon (Gtk.EntryIconPosition icon_pos, GLib.Icon? icon);
2583                 [Version (since = "2.16")]
2584                 public void set_icon_from_icon_name (Gtk.EntryIconPosition icon_pos, string? icon_name);
2585                 [Version (since = "2.16")]
2586                 public void set_icon_from_pixbuf (Gtk.EntryIconPosition icon_pos, Gdk.Pixbuf? pixbuf);
2587                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.16")]
2588                 public void set_icon_from_stock (Gtk.EntryIconPosition icon_pos, string? stock_id);
2589                 [Version (since = "2.16")]
2590                 public void set_icon_sensitive (Gtk.EntryIconPosition icon_pos, bool sensitive);
2591                 [Version (since = "2.16")]
2592                 public void set_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos, string? tooltip);
2593                 [Version (since = "2.16")]
2594                 public void set_icon_tooltip_text (Gtk.EntryIconPosition icon_pos, string? tooltip);
2595                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.10")]
2596                 public void set_inner_border (Gtk.Border? border);
2597                 [Version (since = "3.6")]
2598                 public void set_input_hints (Gtk.InputHints hints);
2599                 [Version (since = "3.6")]
2600                 public void set_input_purpose (Gtk.InputPurpose purpose);
2601                 public void set_invisible_char (unichar ch);
2602                 public void set_max_length (int max);
2603                 [Version (since = "3.12")]
2604                 public void set_max_width_chars (int n_chars);
2605                 [Version (since = "2.14")]
2606                 public void set_overwrite_mode (bool overwrite);
2607                 [Version (since = "3.2")]
2608                 public void set_placeholder_text (string? text);
2609                 [Version (since = "2.16")]
2610                 public void set_progress_fraction (double fraction);
2611                 [Version (since = "2.16")]
2612                 public void set_progress_pulse_step (double fraction);
2613                 [Version (since = "3.10")]
2614                 public void set_tabs (Pango.TabArray tabs);
2615                 public void set_text (string text);
2616                 public void set_visibility (bool visible);
2617                 public void set_width_chars (int n_chars);
2618                 public int text_index_to_layout_index (int text_index);
2619                 [Version (since = "2.16")]
2620                 public void unset_invisible_char ();
2621                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2622                 [Version (since = "2.18")]
2623                 public Entry.with_buffer (Gtk.EntryBuffer buffer);
2624                 public bool activates_default { get; set; }
2625                 [Version (since = "3.6")]
2626                 public Pango.AttrList attributes { get; set; }
2627                 public Gtk.EntryBuffer buffer { get; set construct; }
2628                 [NoAccessorMethod]
2629                 [Version (since = "2.16")]
2630                 public bool caps_lock_warning { get; set; }
2631                 [Version (since = "3.2")]
2632                 public Gtk.EntryCompletion completion { get; set; }
2633                 [NoAccessorMethod]
2634                 public int cursor_position { get; }
2635                 [NoAccessorMethod]
2636                 public bool editable { get; set; }
2637                 public bool has_frame { get; set; }
2638                 [NoAccessorMethod]
2639                 [Version (since = "2.16")]
2640                 public string im_module { owned get; set; }
2641                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.10")]
2642                 public Gtk.Border inner_border { get; set; }
2643                 [Version (since = "3.6")]
2644                 public Gtk.InputHints input_hints { get; set; }
2645                 [Version (since = "3.6")]
2646                 public Gtk.InputPurpose input_purpose { get; set; }
2647                 [Version (since = "2.18")]
2648                 public uint invisible_char { get; set; }
2649                 [NoAccessorMethod]
2650                 [Version (since = "2.16")]
2651                 public bool invisible_char_set { get; set; }
2652                 public int max_length { get; set; }
2653                 [Version (since = "3.12")]
2654                 public int max_width_chars { get; set; }
2655                 [Version (since = "2.14")]
2656                 public bool overwrite_mode { get; set; }
2657                 [Version (since = "3.2")]
2658                 public string placeholder_text { get; set; }
2659                 [NoAccessorMethod]
2660                 [Version (since = "3.8")]
2661                 public bool populate_all { get; set; }
2662                 [NoAccessorMethod]
2663                 [Version (since = "2.16")]
2664                 public bool primary_icon_activatable { get; set; }
2665                 [NoAccessorMethod]
2666                 [Version (since = "2.16")]
2667                 public GLib.Icon primary_icon_gicon { owned get; set; }
2668                 [NoAccessorMethod]
2669                 [Version (since = "2.16")]
2670                 public string primary_icon_name { owned get; set; }
2671                 [NoAccessorMethod]
2672                 [Version (since = "2.16")]
2673                 public Gdk.Pixbuf primary_icon_pixbuf { owned get; set; }
2674                 [NoAccessorMethod]
2675                 [Version (since = "2.16")]
2676                 public bool primary_icon_sensitive { get; set; }
2677                 [NoAccessorMethod]
2678                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.16")]
2679                 public string primary_icon_stock { owned get; set; }
2680                 [NoAccessorMethod]
2681                 [Version (since = "2.16")]
2682                 public Gtk.ImageType primary_icon_storage_type { get; }
2683                 [NoAccessorMethod]
2684                 [Version (since = "2.16")]
2685                 public string primary_icon_tooltip_markup { owned get; set; }
2686                 [NoAccessorMethod]
2687                 [Version (since = "2.16")]
2688                 public string primary_icon_tooltip_text { owned get; set; }
2689                 [Version (since = "2.16")]
2690                 public double progress_fraction { get; set; }
2691                 [Version (since = "2.16")]
2692                 public double progress_pulse_step { get; set; }
2693                 [NoAccessorMethod]
2694                 public int scroll_offset { get; }
2695                 [NoAccessorMethod]
2696                 [Version (since = "2.16")]
2697                 public bool secondary_icon_activatable { get; set; }
2698                 [NoAccessorMethod]
2699                 [Version (since = "2.16")]
2700                 public GLib.Icon secondary_icon_gicon { owned get; set; }
2701                 [NoAccessorMethod]
2702                 [Version (since = "2.16")]
2703                 public string secondary_icon_name { owned get; set; }
2704                 [NoAccessorMethod]
2705                 [Version (since = "2.16")]
2706                 public Gdk.Pixbuf secondary_icon_pixbuf { owned get; set; }
2707                 [NoAccessorMethod]
2708                 [Version (since = "2.16")]
2709                 public bool secondary_icon_sensitive { get; set; }
2710                 [NoAccessorMethod]
2711                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.16")]
2712                 public string secondary_icon_stock { owned get; set; }
2713                 [NoAccessorMethod]
2714                 [Version (since = "2.16")]
2715                 public Gtk.ImageType secondary_icon_storage_type { get; }
2716                 [NoAccessorMethod]
2717                 [Version (since = "2.16")]
2718                 public string secondary_icon_tooltip_markup { owned get; set; }
2719                 [NoAccessorMethod]
2720                 [Version (since = "2.16")]
2721                 public string secondary_icon_tooltip_text { owned get; set; }
2722                 [NoAccessorMethod]
2723                 public int selection_bound { get; }
2724                 [NoAccessorMethod]
2725                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.12")]
2726                 public Gtk.ShadowType shadow_type { get; set; }
2727                 [NoAccessorMethod]
2728                 public bool show_emoji_icon { get; set; }
2729                 public Pango.TabArray tabs { get; set; }
2730                 public string text { get; set; }
2731                 [Version (since = "2.14")]
2732                 public uint text_length { get; }
2733                 [NoAccessorMethod]
2734                 [Version (since = "2.10")]
2735                 public bool truncate_multiline { get; set; }
2736                 public bool visibility { get; set; }
2737                 public int width_chars { get; set; }
2738                 [NoAccessorMethod]
2739                 [Version (since = "2.4")]
2740                 public float xalign { get; set; }
2741                 public virtual signal void activate ();
2742                 public virtual signal void backspace ();
2743                 public virtual signal void copy_clipboard ();
2744                 public virtual signal void cut_clipboard ();
2745                 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
2746                 [Version (since = "2.16")]
2747                 public signal void icon_press (Gtk.EntryIconPosition icon_pos, Gdk.EventButton event);
2748                 [Version (since = "2.16")]
2749                 public signal void icon_release (Gtk.EntryIconPosition icon_pos, Gdk.EventButton event);
2750                 public virtual signal void insert_at_cursor (string str);
2751                 [Version (since = "3.22.27")]
2752                 public virtual signal void insert_emoji ();
2753                 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
2754                 public virtual signal void paste_clipboard ();
2755                 public virtual signal void populate_popup (Gtk.Menu popup);
2756                 [Version (since = "2.20")]
2757                 public signal void preedit_changed (string preedit);
2758                 public virtual signal void toggle_overwrite ();
2759         }
2760         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_entry_accessible_get_type ()")]
2761         public class EntryAccessible : Gtk.WidgetAccessible, Atk.Action, Atk.Component, Atk.EditableText, Atk.Text {
2762                 [CCode (has_construct_function = false)]
2763                 protected EntryAccessible ();
2764         }
2765         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_buffer_get_type ()")]
2766         public class EntryBuffer : GLib.Object {
2767                 [CCode (has_construct_function = false)]
2768                 [Version (since = "2.18")]
2769                 public EntryBuffer ([CCode (array_length_cname = "n_initial_chars", array_length_pos = 1.1, type = "const gchar*")] uint8[]? initial_chars = null);
2770                 [Version (since = "2.18")]
2771                 public virtual uint delete_text (uint position, uint n_chars);
2772                 [Version (since = "2.18")]
2773                 public void emit_deleted_text (uint position, uint n_chars);
2774                 [Version (since = "2.18")]
2775                 public void emit_inserted_text (uint position, [CCode (array_length_cname = "n_chars", array_length_pos = 2.1, array_length_type = "guint", type = "const gchar*")] uint8[] chars);
2776                 [Version (since = "2.18")]
2777                 public size_t get_bytes ();
2778                 [Version (since = "2.18")]
2779                 public virtual uint get_length ();
2780                 [Version (since = "2.18")]
2781                 public int get_max_length ();
2782                 [Version (since = "2.18")]
2783                 public unowned string get_text ();
2784                 [CCode (vfunc_name = "get_text")]
2785                 [NoWrapper]
2786                 public virtual unowned string get_text_internal (out size_t n_bytes = null);
2787                 [Version (since = "2.18")]
2788                 public virtual uint insert_text (uint position, [CCode (array_length_cname = "n_chars", array_length_pos = 2.1, array_length_type = "guint", type = "const gchar*")] uint8[] chars);
2789                 [Version (since = "2.18")]
2790                 public void set_max_length (int max_length);
2791                 [Version (since = "2.18")]
2792                 public void set_text ([CCode (array_length_cname = "n_chars", array_length_pos = 1.1, type = "const gchar*")] uint8[] chars);
2793                 [Version (since = "2.18")]
2794                 public uint length { get; }
2795                 [Version (since = "2.18")]
2796                 public int max_length { get; set; }
2797                 [Version (since = "2.18")]
2798                 public string text { get; set; }
2799                 [Version (since = "2.18")]
2800                 public virtual signal void deleted_text (uint position, uint n_chars);
2801                 [Version (since = "2.18")]
2802                 public virtual signal void inserted_text (uint position, string chars, uint n_chars);
2803         }
2804         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_completion_get_type ()")]
2805         public class EntryCompletion : GLib.Object, Gtk.Buildable, Gtk.CellLayout {
2806                 [CCode (has_construct_function = false)]
2807                 [Version (since = "2.4")]
2808                 public EntryCompletion ();
2809                 [Version (since = "2.4")]
2810                 public void complete ();
2811                 [Version (since = "3.4")]
2812                 public string? compute_prefix (string key);
2813                 [Version (since = "2.4")]
2814                 public void delete_action (int index_);
2815                 [Version (since = "2.12")]
2816                 public unowned string get_completion_prefix ();
2817                 [Version (since = "2.4")]
2818                 public unowned Gtk.Widget get_entry ();
2819                 [Version (since = "2.6")]
2820                 public bool get_inline_completion ();
2821                 [Version (since = "2.12")]
2822                 public bool get_inline_selection ();
2823                 [Version (since = "2.4")]
2824                 public int get_minimum_key_length ();
2825                 [Version (since = "2.4")]
2826                 public unowned Gtk.TreeModel? get_model ();
2827                 [Version (since = "2.6")]
2828                 public bool get_popup_completion ();
2829                 [Version (since = "2.8")]
2830                 public bool get_popup_set_width ();
2831                 [Version (since = "2.8")]
2832                 public bool get_popup_single_match ();
2833                 [Version (since = "2.6")]
2834                 public int get_text_column ();
2835                 [Version (since = "2.4")]
2836                 public void insert_action_markup (int index_, string markup);
2837                 [Version (since = "2.4")]
2838                 public void insert_action_text (int index_, string text);
2839                 [CCode (cname = "gtk_entry_completion_insert_prefix")]
2840                 [Version (since = "2.6")]
2841                 public void request_prefix_insertion ();
2842                 [Version (since = "2.6")]
2843                 public void set_inline_completion (bool inline_completion);
2844                 [Version (since = "2.12")]
2845                 public void set_inline_selection (bool inline_selection);
2846                 [Version (since = "2.4")]
2847                 public void set_match_func (owned Gtk.EntryCompletionMatchFunc func);
2848                 [Version (since = "2.4")]
2849                 public void set_minimum_key_length (int length);
2850                 [Version (since = "2.4")]
2851                 public void set_model (Gtk.TreeModel? model);
2852                 [Version (since = "2.6")]
2853                 public void set_popup_completion (bool popup_completion);
2854                 [Version (since = "2.8")]
2855                 public void set_popup_set_width (bool popup_set_width);
2856                 [Version (since = "2.8")]
2857                 public void set_popup_single_match (bool popup_single_match);
2858                 [Version (since = "2.4")]
2859                 public void set_text_column (int column);
2860                 [CCode (has_construct_function = false)]
2861                 [Version (since = "3.0")]
2862                 public EntryCompletion.with_area (Gtk.CellArea area);
2863                 [NoAccessorMethod]
2864                 [Version (since = "3.0")]
2865                 public Gtk.CellArea cell_area { owned get; construct; }
2866                 [Version (since = "2.6")]
2867                 public bool inline_completion { get; set; }
2868                 [Version (since = "2.12")]
2869                 public bool inline_selection { get; set; }
2870                 public int minimum_key_length { get; set; }
2871                 public Gtk.TreeModel model { get; set; }
2872                 [Version (since = "2.6")]
2873                 public bool popup_completion { get; set; }
2874                 [Version (since = "2.8")]
2875                 public bool popup_set_width { get; set; }
2876                 [Version (since = "2.8")]
2877                 public bool popup_single_match { get; set; }
2878                 [Version (since = "2.6")]
2879                 public int text_column { get; set; }
2880                 [Version (since = "2.4")]
2881                 public virtual signal void action_activated (int index_);
2882                 [Version (since = "2.12")]
2883                 public virtual signal bool cursor_on_match (Gtk.TreeModel model, Gtk.TreeIter iter);
2884                 [Version (since = "2.6")]
2885                 public virtual signal bool insert_prefix (string prefix);
2886                 [Version (since = "2.4")]
2887                 public virtual signal bool match_selected (Gtk.TreeModel model, Gtk.TreeIter iter);
2888                 [Version (since = "3.14")]
2889                 public virtual signal void no_matches ();
2890         }
2891         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_entry_icon_accessible_get_type ()")]
2892         public class EntryIconAccessible : Atk.Object, Atk.Action, Atk.Component {
2893                 [CCode (has_construct_function = false)]
2894                 protected EntryIconAccessible ();
2895         }
2896         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_box_get_type ()")]
2897         public class EventBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2898                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2899                 public EventBox ();
2900                 [Version (since = "2.4")]
2901                 public bool get_above_child ();
2902                 [Version (since = "2.4")]
2903                 public bool get_visible_window ();
2904                 [Version (since = "2.4")]
2905                 public void set_above_child (bool above_child);
2906                 [Version (since = "2.4")]
2907                 public void set_visible_window (bool visible_window);
2908                 public bool above_child { get; set; }
2909                 public bool visible_window { get; set; }
2910         }
2911         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_controller_get_type ()")]
2912         public abstract class EventController : GLib.Object {
2913                 [CCode (has_construct_function = false)]
2914                 protected EventController ();
2915                 [Version (since = "3.14")]
2916                 public Gtk.PropagationPhase get_propagation_phase ();
2917                 [Version (since = "3.14")]
2918                 public unowned Gtk.Widget get_widget ();
2919                 [Version (since = "3.14")]
2920                 public bool handle_event (Gdk.Event event);
2921                 [Version (since = "3.14")]
2922                 public void reset ();
2923                 [Version (since = "3.14")]
2924                 public void set_propagation_phase (Gtk.PropagationPhase phase);
2925                 [Version (since = "3.14")]
2926                 public Gtk.PropagationPhase propagation_phase { get; set; }
2927                 [Version (since = "3.14")]
2928                 public Gtk.Widget widget { get; construct; }
2929         }
2930         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_expander_get_type ()")]
2931         public class Expander : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2932                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2933                 [Version (since = "2.4")]
2934                 public Expander (string? label);
2935                 [Version (since = "2.4")]
2936                 public bool get_expanded ();
2937                 [Version (since = "2.4")]
2938                 public unowned string? get_label ();
2939                 [Version (since = "2.22")]
2940                 public bool get_label_fill ();
2941                 [Version (since = "2.4")]
2942                 public unowned Gtk.Widget? get_label_widget ();
2943                 [Version (since = "3.2")]
2944                 public bool get_resize_toplevel ();
2945                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.4")]
2946                 public int get_spacing ();
2947                 [Version (since = "2.4")]
2948                 public bool get_use_markup ();
2949                 [Version (since = "2.4")]
2950                 public bool get_use_underline ();
2951                 [Version (since = "2.4")]
2952                 public void set_expanded (bool expanded);
2953                 [Version (since = "2.4")]
2954                 public void set_label (string? label);
2955                 [Version (since = "2.22")]
2956                 public void set_label_fill (bool label_fill);
2957                 [Version (since = "2.4")]
2958                 public void set_label_widget (Gtk.Widget? label_widget);
2959                 [Version (since = "3.2")]
2960                 public void set_resize_toplevel (bool resize_toplevel);
2961                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.4")]
2962                 public void set_spacing (int spacing);
2963                 [Version (since = "2.4")]
2964                 public void set_use_markup (bool use_markup);
2965                 [Version (since = "2.4")]
2966                 public void set_use_underline (bool use_underline);
2967                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2968                 [Version (since = "2.4")]
2969                 public Expander.with_mnemonic (string? label);
2970                 public bool expanded { get; set construct; }
2971                 public string label { get; set construct; }
2972                 public bool label_fill { get; set construct; }
2973                 public Gtk.Widget label_widget { get; set; }
2974                 [Version (since = "3.2")]
2975                 public bool resize_toplevel { get; set; }
2976                 [Version (deprecated = true, deprecated_since = "3.20")]
2977                 public int spacing { get; set; }
2978                 public bool use_markup { get; set construct; }
2979                 public bool use_underline { get; set construct; }
2980                 public virtual signal void activate ();
2981         }
2982         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_expander_accessible_get_type ()")]
2983         public class ExpanderAccessible : Gtk.ContainerAccessible, Atk.Action, Atk.Component {
2984                 [CCode (has_construct_function = false)]
2985                 protected ExpanderAccessible ();
2986         }
2987         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_button_get_type ()")]
2988         public class FileChooserButton : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser, Gtk.Orientable {
2989                 [CCode (has_construct_function = false, type = "GtkWidget*")]
2990                 [Version (since = "2.6")]
2991                 public FileChooserButton (string title, Gtk.FileChooserAction action);
2992                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.10")]
2993                 public bool get_focus_on_click ();
2994                 [Version (since = "2.6")]
2995                 public unowned string get_title ();
2996                 [Version (since = "2.6")]
2997                 public int get_width_chars ();
2998                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.10")]
2999                 public void set_focus_on_click (bool focus_on_click);
3000                 [Version (since = "2.6")]
3001                 public void set_title (string title);
3002                 [Version (since = "2.6")]
3003                 public void set_width_chars (int n_chars);
3004                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3005                 [Version (since = "2.6")]
3006                 public FileChooserButton.with_dialog (Gtk.Dialog dialog);
3007                 [NoAccessorMethod]
3008                 [Version (since = "2.6")]
3009                 public Gtk.FileChooser dialog { construct; }
3010                 [Version (since = "2.6")]
3011                 public string title { get; set; }
3012                 [Version (since = "2.6")]
3013                 public int width_chars { get; set; }
3014                 [Version (since = "2.12")]
3015                 public virtual signal void file_set ();
3016         }
3017         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_dialog_get_type ()")]
3018         public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
3019                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3020                 [Version (since = "2.4")]
3021                 public FileChooserDialog (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, ...);
3022         }
3023         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_native_get_type ()")]
3024         public class FileChooserNative : Gtk.NativeDialog, Gtk.FileChooser {
3025                 [CCode (has_construct_function = false)]
3026                 [Version (since = "3.20")]
3027                 public FileChooserNative (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, string? accept_label, string? cancel_label);
3028                 [Version (since = "3.20")]
3029                 public unowned string? get_accept_label ();
3030                 [Version (since = "3.20")]
3031                 public unowned string? get_cancel_label ();
3032                 [Version (since = "3.20")]
3033                 public void set_accept_label (string? accept_label);
3034                 [Version (since = "3.20")]
3035                 public void set_cancel_label (string? cancel_label);
3036                 public string? accept_label { get; set; }
3037                 public string? cancel_label { get; set; }
3038         }
3039         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_widget_get_type ()")]
3040         public class FileChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser, Gtk.Orientable {
3041                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3042                 [Version (since = "2.4")]
3043                 public FileChooserWidget (Gtk.FileChooserAction action);
3044                 [NoAccessorMethod]
3045                 public bool search_mode { get; set; }
3046                 [NoAccessorMethod]
3047                 public string subtitle { owned get; }
3048                 public signal void desktop_folder ();
3049                 public signal void down_folder ();
3050                 public signal void home_folder ();
3051                 public signal void location_popup (string path);
3052                 public signal void location_popup_on_paste ();
3053                 public signal void location_toggle_popup ();
3054                 public signal void places_shortcut ();
3055                 public signal void quick_bookmark (int bookmark_index);
3056                 public signal void recent_shortcut ();
3057                 public signal void search_shortcut ();
3058                 public signal void show_hidden ();
3059                 public signal void up_folder ();
3060         }
3061         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_filter_get_type ()")]
3062         public class FileFilter : GLib.InitiallyUnowned, Gtk.Buildable {
3063                 [CCode (has_construct_function = false)]
3064                 [Version (since = "2.4")]
3065                 public FileFilter ();
3066                 [Version (since = "2.4")]
3067                 public void add_custom (Gtk.FileFilterFlags needed, owned Gtk.FileFilterFunc func);
3068                 [Version (since = "2.4")]
3069                 public void add_mime_type (string mime_type);
3070                 [Version (since = "2.4")]
3071                 public void add_pattern (string pattern);
3072                 [Version (since = "2.6")]
3073                 public void add_pixbuf_formats ();
3074                 [Version (since = "2.4")]
3075                 public bool filter (Gtk.FileFilterInfo filter_info);
3076                 [CCode (has_construct_function = false)]
3077                 [Version (since = "3.22")]
3078                 public FileFilter.from_gvariant (GLib.Variant variant);
3079                 [CCode (cname = "gtk_file_filter_get_name")]
3080                 [Version (since = "2.4")]
3081                 public unowned string? get_filter_name ();
3082                 [Version (since = "2.4")]
3083                 public Gtk.FileFilterFlags get_needed ();
3084                 [CCode (cname = "gtk_file_filter_set_name")]
3085                 [Version (since = "2.4")]
3086                 public void set_filter_name (string? name);
3087                 [CCode (returns_floating_reference = true)]
3088                 [Version (since = "3.22")]
3089                 public GLib.Variant to_gvariant ();
3090         }
3091         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
3092         [Compact]
3093         public class FileFilterInfo {
3094                 public Gtk.FileFilterFlags contains;
3095                 public weak string display_name;
3096                 public weak string filename;
3097                 public weak string mime_type;
3098                 public weak string uri;
3099         }
3100         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_fixed_get_type ()")]
3101         public class Fixed : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3102                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3103                 public Fixed ();
3104                 public void move (Gtk.Widget widget, int x, int y);
3105                 public void put (Gtk.Widget widget, int x, int y);
3106         }
3107         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
3108         [Compact]
3109         public class FixedChild {
3110                 public weak Gtk.Widget widget;
3111                 public int x;
3112                 public int y;
3113         }
3114         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_get_type ()")]
3115         public class FlowBox : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3116                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3117                 [Version (since = "3.12")]
3118                 public FlowBox ();
3119                 [Version (since = "3.18")]
3120                 public void bind_model (GLib.ListModel? model, owned Gtk.FlowBoxCreateWidgetFunc? create_widget_func);
3121                 [Version (since = "3.12")]
3122                 public bool get_activate_on_single_click ();
3123                 [Version (since = "3.12")]
3124                 public unowned Gtk.FlowBoxChild? get_child_at_index (int idx);
3125                 [Version (since = "3.22.6")]
3126                 public unowned Gtk.FlowBoxChild? get_child_at_pos (int x, int y);
3127                 [Version (since = "3.12")]
3128                 public uint get_column_spacing ();
3129                 [Version (since = "3.12")]
3130                 public bool get_homogeneous ();
3131                 [Version (since = "3.12")]
3132                 public uint get_max_children_per_line ();
3133                 [Version (since = "3.12")]
3134                 public uint get_min_children_per_line ();
3135                 [Version (since = "3.12")]
3136                 public uint get_row_spacing ();
3137                 [Version (since = "3.12")]
3138                 public GLib.List<weak Gtk.FlowBoxChild> get_selected_children ();
3139                 [Version (since = "3.12")]
3140                 public Gtk.SelectionMode get_selection_mode ();
3141                 [Version (since = "3.12")]
3142                 public void insert (Gtk.Widget widget, int position);
3143                 [Version (since = "3.12")]
3144                 public void invalidate_filter ();
3145                 [Version (since = "3.12")]
3146                 public void invalidate_sort ();
3147                 [Version (since = "3.12")]
3148                 public void select_child (Gtk.FlowBoxChild child);
3149                 [Version (since = "3.12")]
3150                 public void selected_foreach (Gtk.FlowBoxForeachFunc func);
3151                 [Version (since = "3.12")]
3152                 public void set_activate_on_single_click (bool single);
3153                 [Version (since = "3.12")]
3154                 public void set_column_spacing (uint spacing);
3155                 [Version (since = "3.12")]
3156                 public void set_filter_func (owned Gtk.FlowBoxFilterFunc? filter_func);
3157                 [Version (since = "3.12")]
3158                 public void set_hadjustment (Gtk.Adjustment adjustment);
3159                 [Version (since = "3.12")]
3160                 public void set_homogeneous (bool homogeneous);
3161                 [Version (since = "3.12")]
3162                 public void set_max_children_per_line (uint n_children);
3163                 [Version (since = "3.12")]
3164                 public void set_min_children_per_line (uint n_children);
3165                 [Version (since = "3.12")]
3166                 public void set_row_spacing (uint spacing);
3167                 [Version (since = "3.12")]
3168                 public void set_selection_mode (Gtk.SelectionMode mode);
3169                 [Version (since = "3.12")]
3170                 public void set_sort_func (owned Gtk.FlowBoxSortFunc? sort_func);
3171                 [Version (since = "3.12")]
3172                 public void set_vadjustment (Gtk.Adjustment adjustment);
3173                 [Version (since = "3.12")]
3174                 public void unselect_child (Gtk.FlowBoxChild child);
3175                 public bool activate_on_single_click { get; set; }
3176                 public uint column_spacing { get; set; }
3177                 public bool homogeneous { get; set; }
3178                 public uint max_children_per_line { get; set; }
3179                 public uint min_children_per_line { get; set; }
3180                 public uint row_spacing { get; set; }
3181                 public Gtk.SelectionMode selection_mode { get; set; }
3182                 public virtual signal void activate_cursor_child ();
3183                 public virtual signal void child_activated (Gtk.FlowBoxChild child);
3184                 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
3185                 [HasEmitter]
3186                 public virtual signal void select_all ();
3187                 public virtual signal void selected_children_changed ();
3188                 public virtual signal void toggle_cursor_child ();
3189                 [HasEmitter]
3190                 public virtual signal void unselect_all ();
3191         }
3192         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_flow_box_accessible_get_type ()")]
3193         public class FlowBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
3194                 [CCode (has_construct_function = false)]
3195                 protected FlowBoxAccessible ();
3196         }
3197         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_child_get_type ()")]
3198         public class FlowBoxChild : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3199                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3200                 [Version (since = "3.12")]
3201                 public FlowBoxChild ();
3202                 [Version (since = "3.12")]
3203                 public void changed ();
3204                 [Version (since = "3.12")]
3205                 public int get_index ();
3206                 [Version (since = "3.12")]
3207                 public bool is_selected ();
3208                 public virtual signal void activate ();
3209         }
3210         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_flow_box_child_accessible_get_type ()")]
3211         public class FlowBoxChildAccessible : Gtk.ContainerAccessible, Atk.Component {
3212                 [CCode (has_construct_function = false)]
3213                 protected FlowBoxChildAccessible ();
3214         }
3215         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_button_get_type ()")]
3216         public class FontButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.FontChooser {
3217                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3218                 [Version (since = "2.4")]
3219                 public FontButton ();
3220                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.4")]
3221                 public unowned string get_font_name ();
3222                 [Version (since = "2.4")]
3223                 public bool get_show_size ();
3224                 [Version (since = "2.4")]
3225                 public bool get_show_style ();
3226                 [Version (since = "2.4")]
3227                 public unowned string get_title ();
3228                 [Version (since = "2.4")]
3229                 public bool get_use_font ();
3230                 [Version (since = "2.4")]
3231                 public bool get_use_size ();
3232                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.4")]
3233                 public bool set_font_name (string fontname);
3234                 [Version (since = "2.4")]
3235                 public void set_show_size (bool show_size);
3236                 [Version (since = "2.4")]
3237                 public void set_show_style (bool show_style);
3238                 [Version (since = "2.4")]
3239                 public void set_title (string title);
3240                 [Version (since = "2.4")]
3241                 public void set_use_font (bool use_font);
3242                 [Version (since = "2.4")]
3243                 public void set_use_size (bool use_size);
3244                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3245                 [Version (since = "2.4")]
3246                 public FontButton.with_font (string fontname);
3247                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.4")]
3248                 public string font_name { get; set; }
3249                 [Version (since = "2.4")]
3250                 public bool show_size { get; set; }
3251                 [Version (since = "2.4")]
3252                 public bool show_style { get; set; }
3253                 [Version (since = "2.4")]
3254                 public string title { get; set; }
3255                 [Version (since = "2.4")]
3256                 public bool use_font { get; set; }
3257                 [Version (since = "2.4")]
3258                 public bool use_size { get; set; }
3259                 [Version (since = "2.4")]
3260                 public virtual signal void font_set ();
3261         }
3262         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_dialog_get_type ()")]
3263         public class FontChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser {
3264                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3265                 [Version (since = "3.2")]
3266                 public FontChooserDialog (string? title, Gtk.Window? parent);
3267         }
3268         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_widget_get_type ()")]
3269         public class FontChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser, Gtk.Orientable {
3270                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3271                 [Version (since = "3.2")]
3272                 public FontChooserWidget ();
3273         }
3274         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_selection_get_type ()")]
3275         [Version (deprecated = true, deprecated_since = "3.2", replacement = "FontChooserWidget")]
3276         public class FontSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3277                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3278                 public FontSelection ();
3279                 [Version (since = "2.14")]
3280                 public unowned Pango.FontFace get_face ();
3281                 [Version (since = "2.14")]
3282                 public unowned Gtk.Widget get_face_list ();
3283                 [Version (since = "2.14")]
3284                 public unowned Pango.FontFamily get_family ();
3285                 [Version (since = "2.14")]
3286                 public unowned Gtk.Widget get_family_list ();
3287                 public string get_font_name ();
3288                 [Version (since = "2.14")]
3289                 public unowned Gtk.Widget get_preview_entry ();
3290                 public unowned string get_preview_text ();
3291                 [Version (since = "2.14")]
3292                 public int get_size ();
3293                 [Version (since = "2.14")]
3294                 public unowned Gtk.Widget get_size_entry ();
3295                 [Version (since = "2.14")]
3296                 public unowned Gtk.Widget get_size_list ();
3297                 public bool set_font_name (string fontname);
3298                 public void set_preview_text (string text);
3299                 public string font_name { owned get; set; }
3300                 public string preview_text { get; set; }
3301         }
3302         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_selection_dialog_get_type ()")]
3303         [Version (deprecated = true, deprecated_since = "3.2", replacement = "FontChooserDialog")]
3304         public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
3305                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3306                 public FontSelectionDialog (string title);
3307                 [Version (since = "2.14")]
3308                 public unowned Gtk.Widget get_cancel_button ();
3309                 public string get_font_name ();
3310                 [Version (since = "2.22")]
3311                 public unowned Gtk.Widget get_font_selection ();
3312                 [Version (since = "2.14")]
3313                 public unowned Gtk.Widget get_ok_button ();
3314                 public unowned string get_preview_text ();
3315                 public bool set_font_name (string fontname);
3316                 public void set_preview_text (string text);
3317         }
3318         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_frame_get_type ()")]
3319         public class Frame : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3320                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3321                 public Frame (string? label);
3322                 [NoWrapper]
3323                 public virtual void compute_child_allocation (Gtk.Allocation allocation);
3324                 public unowned string? get_label ();
3325                 public void get_label_align (out float xalign, out float yalign);
3326                 public unowned Gtk.Widget? get_label_widget ();
3327                 public Gtk.ShadowType get_shadow_type ();
3328                 public void set_label (string? label);
3329                 public void set_label_align (float xalign, float yalign);
3330                 public void set_label_widget (Gtk.Widget? label_widget);
3331                 public void set_shadow_type (Gtk.ShadowType type);
3332                 public string label { get; set; }
3333                 public Gtk.Widget label_widget { get; set; }
3334                 [NoAccessorMethod]
3335                 public float label_xalign { get; set; }
3336                 [NoAccessorMethod]
3337                 public float label_yalign { get; set; }
3338                 public Gtk.ShadowType shadow_type { get; set; }
3339         }
3340         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_frame_accessible_get_type ()")]
3341         public class FrameAccessible : Gtk.ContainerAccessible, Atk.Component {
3342                 [CCode (has_construct_function = false)]
3343                 protected FrameAccessible ();
3344         }
3345         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gl_area_get_type ()")]
3346         [Version (since = "3.16")]
3347         public class GLArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
3348                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3349                 public GLArea ();
3350                 public void attach_buffers ();
3351                 public bool get_auto_render ();
3352                 public unowned Gdk.GLContext get_context ();
3353                 public unowned GLib.Error? get_error ();
3354                 public bool get_has_alpha ();
3355                 public bool get_has_depth_buffer ();
3356                 public bool get_has_stencil_buffer ();
3357                 public void get_required_version (out int major, out int minor);
3358                 [Version (since = "3.22")]
3359                 public bool get_use_es ();
3360                 public void make_current ();
3361                 public void queue_render ();
3362                 public void set_auto_render (bool auto_render);
3363                 public void set_error (GLib.Error? error);
3364                 public void set_has_alpha (bool has_alpha);
3365                 public void set_has_depth_buffer (bool has_depth_buffer);
3366                 public void set_has_stencil_buffer (bool has_stencil_buffer);
3367                 public void set_required_version (int major, int minor);
3368                 [Version (since = "3.22")]
3369                 public void set_use_es (bool use_es);
3370                 public bool auto_render { get; set; }
3371                 public Gdk.GLContext context { get; }
3372                 public bool has_alpha { get; set; }
3373                 public bool has_depth_buffer { get; set; }
3374                 public bool has_stencil_buffer { get; set; }
3375                 [Version (since = "3.22")]
3376                 public bool use_es { get; set; }
3377                 public signal Gdk.GLContext create_context ();
3378                 public virtual signal bool render (Gdk.GLContext context);
3379                 public virtual signal void resize (int width, int height);
3380         }
3381         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_get_type ()")]
3382         public abstract class Gesture : Gtk.EventController {
3383                 [CCode (has_construct_function = false)]
3384                 protected Gesture ();
3385                 [Version (since = "3.14")]
3386                 public bool get_bounding_box (out Gdk.Rectangle rect);
3387                 [Version (since = "3.14")]
3388                 public bool get_bounding_box_center (out double x, out double y);
3389                 [Version (since = "3.14")]
3390                 public unowned Gdk.Device? get_device ();
3391                 [Version (since = "3.14")]
3392                 public GLib.List<weak Gtk.Gesture> get_group ();
3393                 public unowned Gdk.Event? get_last_event (Gdk.EventSequence sequence);
3394                 [Version (since = "3.14")]
3395                 public unowned Gdk.EventSequence? get_last_updated_sequence ();
3396                 [Version (since = "3.14")]
3397                 public bool get_point (Gdk.EventSequence? sequence, out double x = null, out double y = null);
3398                 [Version (since = "3.14")]
3399                 public Gtk.EventSequenceState get_sequence_state (Gdk.EventSequence sequence);
3400                 [Version (since = "3.14")]
3401                 public GLib.List<weak Gdk.EventSequence> get_sequences ();
3402                 [Version (since = "3.14")]
3403                 public unowned Gdk.Window? get_window ();
3404                 [Version (since = "3.14")]
3405                 public void group (Gtk.Gesture gesture);
3406                 [Version (since = "3.14")]
3407                 public bool handles_sequence (Gdk.EventSequence? sequence);
3408                 [Version (since = "3.14")]
3409                 public bool is_active ();
3410                 [Version (since = "3.14")]
3411                 public bool is_grouped_with (Gtk.Gesture other);
3412                 [Version (since = "3.14")]
3413                 public bool is_recognized ();
3414                 [Version (since = "3.14")]
3415                 public bool set_sequence_state (Gdk.EventSequence sequence, Gtk.EventSequenceState state);
3416                 [Version (since = "3.14")]
3417                 public bool set_state (Gtk.EventSequenceState state);
3418                 [Version (since = "3.14")]
3419                 public void set_window (Gdk.Window? window);
3420                 [Version (since = "3.14")]
3421                 public void ungroup ();
3422                 [NoAccessorMethod]
3423                 [Version (since = "3.14")]
3424                 public uint n_points { get; construct; }
3425                 [Version (since = "3.14")]
3426                 public Gdk.Window window { get; set; }
3427                 [Version (since = "3.14")]
3428                 public signal void begin (Gdk.EventSequence sequence);
3429                 [Version (since = "3.14")]
3430                 public signal void cancel (Gdk.EventSequence sequence);
3431                 [Version (since = "3.14")]
3432                 public signal void end (Gdk.EventSequence sequence);
3433                 [Version (since = "3.14")]
3434                 public signal void sequence_state_changed (Gdk.EventSequence sequence, Gtk.EventSequenceState state);
3435                 [Version (since = "3.14")]
3436                 public signal void update (Gdk.EventSequence sequence);
3437         }
3438         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_drag_get_type ()")]
3439         public class GestureDrag : Gtk.GestureSingle {
3440                 [CCode (has_construct_function = false, type = "GtkGesture*")]
3441                 [Version (since = "3.14")]
3442                 public GestureDrag (Gtk.Widget widget);
3443                 [Version (since = "3.14")]
3444                 public bool get_offset (out double x, out double y);
3445                 [Version (since = "3.14")]
3446                 public bool get_start_point (out double x, out double y);
3447                 [Version (since = "3.14")]
3448                 public signal void drag_begin (double start_x, double start_y);
3449                 [Version (since = "3.14")]
3450                 public signal void drag_end (double offset_x, double offset_y);
3451                 [Version (since = "3.14")]
3452                 public signal void drag_update (double offset_x, double offset_y);
3453         }
3454         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_long_press_get_type ()")]
3455         public class GestureLongPress : Gtk.GestureSingle {
3456                 [CCode (has_construct_function = false, type = "GtkGesture*")]
3457                 [Version (since = "3.14")]
3458                 public GestureLongPress (Gtk.Widget widget);
3459                 [NoAccessorMethod]
3460                 public double delay_factor { get; set; }
3461                 [Version (since = "3.14")]
3462                 public signal void cancelled ();
3463                 [Version (since = "3.14")]
3464                 public signal void pressed (double x, double y);
3465         }
3466         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_multi_press_get_type ()")]
3467         public class GestureMultiPress : Gtk.GestureSingle {
3468                 [CCode (has_construct_function = false, type = "GtkGesture*")]
3469                 [Version (since = "3.14")]
3470                 public GestureMultiPress (Gtk.Widget widget);
3471                 [Version (since = "3.14")]
3472                 public bool get_area (out Gdk.Rectangle rect);
3473                 [Version (since = "3.14")]
3474                 public void set_area (Gdk.Rectangle? rect);
3475                 [Version (since = "3.14")]
3476                 public signal void pressed (int n_press, double x, double y);
3477                 [Version (since = "3.14")]
3478                 public signal void released (int n_press, double x, double y);
3479                 [Version (since = "3.14")]
3480                 public signal void stopped ();
3481         }
3482         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_pan_get_type ()")]
3483         public class GesturePan : Gtk.GestureDrag {
3484                 [CCode (has_construct_function = false, type = "GtkGesture*")]
3485                 [Version (since = "3.14")]
3486                 public GesturePan (Gtk.Widget widget, Gtk.Orientation orientation);
3487                 [Version (since = "3.14")]
3488                 public Gtk.Orientation get_orientation ();
3489                 [Version (since = "3.14")]
3490                 public void set_orientation (Gtk.Orientation orientation);
3491                 [Version (since = "3.14")]
3492                 public Gtk.Orientation orientation { get; set; }
3493                 [Version (since = "3.14")]
3494                 public signal void pan (Gtk.PanDirection direction, double offset);
3495         }
3496         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_rotate_get_type ()")]
3497         public class GestureRotate : Gtk.Gesture {
3498                 [CCode (has_construct_function = false, type = "GtkGesture*")]
3499                 [Version (since = "3.14")]
3500                 public GestureRotate (Gtk.Widget widget);
3501                 [Version (since = "3.14")]
3502                 public double get_angle_delta ();
3503                 [Version (since = "3.14")]
3504                 public signal void angle_changed (double angle, double angle_delta);
3505         }
3506         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_single_get_type ()")]
3507         public class GestureSingle : Gtk.Gesture {
3508                 [CCode (has_construct_function = false)]
3509                 protected GestureSingle ();
3510                 [Version (since = "3.14")]
3511                 public uint get_button ();
3512                 [Version (since = "3.14")]
3513                 public uint get_current_button ();
3514                 [Version (since = "3.14")]
3515                 public Gdk.EventSequence? get_current_sequence ();
3516                 [Version (since = "3.14")]
3517                 public bool get_exclusive ();
3518                 [Version (since = "3.14")]
3519                 public bool get_touch_only ();
3520                 [Version (since = "3.14")]
3521                 public void set_button (uint button);
3522                 [Version (since = "3.14")]
3523                 public void set_exclusive (bool exclusive);
3524                 [Version (since = "3.14")]
3525                 public void set_touch_only (bool touch_only);
3526                 [Version (since = "3.14")]
3527                 public uint button { get; set; }
3528                 [Version (since = "3.14")]
3529                 public bool exclusive { get; set; }
3530                 [Version (since = "3.14")]
3531                 public bool touch_only { get; set; }
3532         }
3533         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_swipe_get_type ()")]
3534         public class GestureSwipe : Gtk.GestureSingle {
3535                 [CCode (has_construct_function = false, type = "GtkGesture*")]
3536                 [Version (since = "3.14")]
3537                 public GestureSwipe (Gtk.Widget widget);
3538                 [Version (since = "3.14")]
3539                 public bool get_velocity (out double velocity_x, out double velocity_y);
3540                 [Version (since = "3.14")]
3541                 public signal void swipe (double velocity_x, double velocity_y);
3542         }
3543         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_zoom_get_type ()")]
3544         public class GestureZoom : Gtk.Gesture {
3545                 [CCode (has_construct_function = false, type = "GtkGesture*")]
3546                 [Version (since = "3.14")]
3547                 public GestureZoom (Gtk.Widget widget);
3548                 [Version (since = "3.14")]
3549                 public double get_scale_delta ();
3550                 [Version (since = "3.14")]
3551                 public signal void scale_changed (double scale);
3552         }
3553         [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_gradient_ref", type_id = "gtk_gradient_get_type ()", unref_function = "gtk_gradient_unref")]
3554         [Compact]
3555         [Version (deprecated = true, deprecated_since = "3.8")]
3556         public class Gradient {
3557                 [Version (since = "3.0")]
3558                 public void add_color_stop (double offset, Gtk.SymbolicColor color);
3559                 [CCode (has_construct_function = false)]
3560                 [Version (since = "3.0")]
3561                 public Gradient.linear (double x0, double y0, double x1, double y1);
3562                 [CCode (has_construct_function = false)]
3563                 [Version (since = "3.0")]
3564                 public Gradient.radial (double x0, double y0, double radius0, double x1, double y1, double radius1);
3565                 [Version (since = "3.0")]
3566                 public unowned Gtk.Gradient @ref ();
3567                 [Version (since = "3.0")]
3568                 public bool resolve (Gtk.StyleProperties props, out Cairo.Pattern resolved_gradient);
3569                 public Cairo.Pattern resolve_for_context (Gtk.StyleContext context);
3570                 public string to_string ();
3571                 [Version (since = "3.0")]
3572                 public void unref ();
3573         }
3574         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_grid_get_type ()")]
3575         public class Grid : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3576                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3577                 public Grid ();
3578                 public void attach (Gtk.Widget child, int left, int top, int width = 1, int height = 1);
3579                 public void attach_next_to (Gtk.Widget child, Gtk.Widget? sibling, Gtk.PositionType side, int width = 1, int height = 1);
3580                 [Version (since = "3.10")]
3581                 public int get_baseline_row ();
3582                 [Version (since = "3.2")]
3583                 public unowned Gtk.Widget? get_child_at (int left, int top);
3584                 public bool get_column_homogeneous ();
3585                 public uint get_column_spacing ();
3586                 [Version (since = "3.10")]
3587                 public Gtk.BaselinePosition get_row_baseline_position (int row);
3588                 public bool get_row_homogeneous ();
3589                 public uint get_row_spacing ();
3590                 [Version (since = "3.2")]
3591                 public void insert_column (int position);
3592                 [Version (since = "3.2")]
3593                 public void insert_next_to (Gtk.Widget sibling, Gtk.PositionType side);
3594                 [Version (since = "3.2")]
3595                 public void insert_row (int position);
3596                 [Version (since = "3.10")]
3597                 public void remove_column (int position);
3598                 [Version (since = "3.10")]
3599                 public void remove_row (int position);
3600                 [Version (since = "3.10")]
3601                 public void set_baseline_row (int row);
3602                 public void set_column_homogeneous (bool homogeneous);
3603                 public void set_column_spacing (uint spacing);
3604                 [Version (since = "3.10")]
3605                 public void set_row_baseline_position (int row, Gtk.BaselinePosition pos);
3606                 public void set_row_homogeneous (bool homogeneous);
3607                 public void set_row_spacing (uint spacing);
3608                 public int baseline_row { get; set; }
3609                 public bool column_homogeneous { get; set; }
3610                 public int column_spacing { get; set; }
3611                 public bool row_homogeneous { get; set; }
3612                 public int row_spacing { get; set; }
3613         }
3614         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hbox_get_type ()")]
3615         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Box")]
3616         public class HBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3617                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3618                 public HBox (bool homogeneous, int spacing);
3619         }
3620         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hbutton_box_get_type ()")]
3621         [Version (deprecated = true, deprecated_since = "3.2", replacement = "ButtonBox")]
3622         public class HButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3623                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3624                 public HButtonBox ();
3625         }
3626         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hpaned_get_type ()")]
3627         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Paned")]
3628         public class HPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3629                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3630                 public HPaned ();
3631         }
3632         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hsv_get_type ()")]
3633         public class HSV : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
3634                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3635                 [Version (since = "2.14")]
3636                 public HSV ();
3637                 [Version (since = "2.14")]
3638                 public void get_color (out double h, out double s, out double v);
3639                 [Version (since = "2.14")]
3640                 public void get_metrics (out int size, out int ring_width);
3641                 [Version (since = "2.14")]
3642                 public bool is_adjusting ();
3643                 [Version (since = "2.14")]
3644                 public void set_color (double h, double s, double v);
3645                 [Version (since = "2.14")]
3646                 public void set_metrics (int size, int ring_width);
3647                 [Version (since = "2.14")]
3648                 public static void to_rgb (double h, double s, double v, out double r, out double g, out double b);
3649                 public virtual signal void changed ();
3650                 public virtual signal void move (Gtk.DirectionType type);
3651         }
3652         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hscale_get_type ()")]
3653         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scale")]
3654         public class HScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3655                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3656                 public HScale (Gtk.Adjustment? adjustment);
3657                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3658                 public HScale.with_range (double min, double max, double step);
3659         }
3660         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hscrollbar_get_type ()")]
3661         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scrollbar")]
3662         public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3663                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3664                 public HScrollbar (Gtk.Adjustment? adjustment);
3665         }
3666         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hseparator_get_type ()")]
3667         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Separator")]
3668         public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3669                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3670                 public HSeparator ();
3671         }
3672         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_handle_box_get_type ()")]
3673         [Version (deprecated = true, deprecated_since = "3.4")]
3674         public class HandleBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3675                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3676                 public HandleBox ();
3677                 [Version (since = "2.14")]
3678                 public bool get_child_detached ();
3679                 public Gtk.PositionType get_handle_position ();
3680                 public Gtk.ShadowType get_shadow_type ();
3681                 public Gtk.PositionType get_snap_edge ();
3682                 public void set_handle_position (Gtk.PositionType position);
3683                 public void set_shadow_type (Gtk.ShadowType type);
3684                 public void set_snap_edge (Gtk.PositionType edge);
3685                 public virtual bool child_detached { get; }
3686                 public Gtk.PositionType handle_position { get; set; }
3687                 public Gtk.ShadowType shadow_type { get; set; }
3688                 public Gtk.PositionType snap_edge { get; set; }
3689                 [NoAccessorMethod]
3690                 public bool snap_edge_set { get; set; }
3691                 public virtual signal void child_attached (Gtk.Widget child);
3692         }
3693         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_header_bar_get_type ()")]
3694         public class HeaderBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3695                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3696                 [Version (since = "3.10")]
3697                 public HeaderBar ();
3698                 [Version (since = "3.10")]
3699                 public unowned Gtk.Widget? get_custom_title ();
3700                 [Version (since = "3.12")]
3701                 public unowned string get_decoration_layout ();
3702                 [Version (since = "3.12")]
3703                 public bool get_has_subtitle ();
3704                 [Version (since = "3.10")]
3705                 public bool get_show_close_button ();
3706                 [Version (since = "3.10")]
3707                 public unowned string? get_subtitle ();
3708                 [Version (since = "3.10")]
3709                 public unowned string? get_title ();
3710                 [Version (since = "3.10")]
3711                 public void pack_end (Gtk.Widget child);
3712                 [Version (since = "3.10")]
3713                 public void pack_start (Gtk.Widget child);
3714                 [Version (since = "3.10")]
3715                 public void set_custom_title (Gtk.Widget? title_widget);
3716                 [Version (since = "3.12")]
3717                 public void set_decoration_layout (string? layout);
3718                 [Version (since = "3.12")]
3719                 public void set_has_subtitle (bool setting);
3720                 [Version (since = "3.10")]
3721                 public void set_show_close_button (bool setting);
3722                 [Version (since = "3.10")]
3723                 public void set_subtitle (string? subtitle);
3724                 [Version (since = "3.10")]
3725                 public void set_title (string? title);
3726                 public Gtk.Widget custom_title { get; set; }
3727                 [Version (since = "3.12")]
3728                 public string decoration_layout { get; set; }
3729                 [NoAccessorMethod]
3730                 [Version (since = "3.12")]
3731                 public bool decoration_layout_set { get; set; }
3732                 [Version (since = "3.12")]
3733                 public bool has_subtitle { get; set; }
3734                 public bool show_close_button { get; set; }
3735                 [NoAccessorMethod]
3736                 public int spacing { get; set; }
3737                 public string subtitle { get; set; }
3738                 public string title { get; set; }
3739         }
3740         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h", type_id = "gtk_im_context_get_type ()")]
3741         public abstract class IMContext : GLib.Object {
3742                 [CCode (has_construct_function = false)]
3743                 protected IMContext ();
3744                 public virtual bool filter_keypress (Gdk.EventKey event);
3745                 public virtual void focus_in ();
3746                 public virtual void focus_out ();
3747                 public virtual void get_preedit_string (out string str, out Pango.AttrList attrs, out int cursor_pos);
3748                 public virtual bool get_surrounding (out string text, out int cursor_index);
3749                 public virtual void reset ();
3750                 public virtual void set_client_window (Gdk.Window? window);
3751                 public virtual void set_cursor_location (Gdk.Rectangle area);
3752                 public virtual void set_surrounding (string text, int len, int cursor_index);
3753                 public virtual void set_use_preedit (bool use_preedit);
3754                 [NoAccessorMethod]
3755                 public Gtk.InputHints input_hints { get; set; }
3756                 [NoAccessorMethod]
3757                 public Gtk.InputPurpose input_purpose { get; set; }
3758                 public virtual signal void commit (string str);
3759                 [HasEmitter]
3760                 public virtual signal bool delete_surrounding (int offset, int n_chars);
3761                 public virtual signal void preedit_changed ();
3762                 public virtual signal void preedit_end ();
3763                 public virtual signal void preedit_start ();
3764                 public virtual signal bool retrieve_surrounding ();
3765         }
3766         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_im_context_simple_get_type ()")]
3767         public class IMContextSimple : Gtk.IMContext {
3768                 [CCode (has_construct_function = false, type = "GtkIMContext*")]
3769                 public IMContextSimple ();
3770                 public void add_compose_file (string compose_file);
3771                 public void add_table ([CCode (array_length = false)] uint16[] data, int max_seq_len, int n_seqs);
3772         }
3773         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_im_multicontext_get_type ()")]
3774         public class IMMulticontext : Gtk.IMContext {
3775                 [CCode (has_construct_function = false, type = "GtkIMContext*")]
3776                 public IMMulticontext ();
3777                 [Version (deprecated = true, deprecated_since = "3.10")]
3778                 public void append_menuitems (Gtk.MenuShell menushell);
3779                 [Version (since = "2.16")]
3780                 public unowned string get_context_id ();
3781                 [Version (since = "2.16")]
3782                 public void set_context_id (string context_id);
3783         }
3784         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_factory_get_type ()")]
3785         [Version (deprecated = true, deprecated_since = "3.10", replacement = "IconTheme")]
3786         public class IconFactory : GLib.Object, Gtk.Buildable {
3787                 [CCode (has_construct_function = false)]
3788                 public IconFactory ();
3789                 public void add (string stock_id, Gtk.IconSet icon_set);
3790                 public void add_default ();
3791                 public unowned Gtk.IconSet lookup (string stock_id);
3792                 public static unowned Gtk.IconSet lookup_default (string stock_id);
3793                 public void remove_default ();
3794         }
3795         [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 ()")]
3796         [Compact]
3797         public class IconInfo {
3798                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.4")]
3799                 public Gtk.IconInfo copy ();
3800                 [CCode (has_construct_function = false)]
3801                 [Version (since = "2.14")]
3802                 public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf);
3803                 [DestroysInstance]
3804                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.4")]
3805                 public void free ();
3806                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3807                 public bool get_attach_points ([CCode (array_length_cname = "n_points", array_length_pos = 1.1)] out Gdk.Point[] points);
3808                 [Version (since = "3.10")]
3809                 public int get_base_scale ();
3810                 [Version (since = "2.4")]
3811                 public int get_base_size ();
3812                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3813                 public unowned Gdk.Pixbuf? get_builtin_pixbuf ();
3814                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3815                 public unowned string get_display_name ();
3816                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3817                 public bool get_embedded_rect (out Gdk.Rectangle rectangle);
3818                 [Version (since = "2.4")]
3819                 public unowned string? get_filename ();
3820                 [Version (since = "3.12")]
3821                 public bool is_symbolic ();
3822                 [Version (since = "2.4")]
3823                 public Gdk.Pixbuf load_icon () throws GLib.Error;
3824                 [Version (since = "3.8")]
3825                 public async Gdk.Pixbuf load_icon_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
3826                 [Version (since = "3.10")]
3827                 public Cairo.Surface load_surface (Gdk.Window? for_window) throws GLib.Error;
3828                 [Version (since = "3.0")]
3829                 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;
3830                 [Version (since = "3.8")]
3831                 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;
3832                 [Version (since = "3.0")]
3833                 public Gdk.Pixbuf load_symbolic_for_context (Gtk.StyleContext context, out bool was_symbolic = null) throws GLib.Error;
3834                 [Version (since = "3.8")]
3835                 public async Gdk.Pixbuf load_symbolic_for_context_async (Gtk.StyleContext context, GLib.Cancellable? cancellable = null, out bool was_symbolic = null) throws GLib.Error;
3836                 [Version (deprecated = true, deprecated_since = "3.0", since = "3.0")]
3837                 public Gdk.Pixbuf load_symbolic_for_style (Gtk.Style style, Gtk.StateType state, out bool was_symbolic = null) throws GLib.Error;
3838                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3839                 public void set_raw_coordinates (bool raw_coordinates);
3840         }
3841         [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")]
3842         [Compact]
3843         [Version (deprecated = true, deprecated_since = "3.10", replacement = "IconTheme")]
3844         public class IconSet {
3845                 [CCode (has_construct_function = false)]
3846                 public IconSet ();
3847                 public void add_source (Gtk.IconSource source);
3848                 public Gtk.IconSet copy ();
3849                 [CCode (has_construct_function = false)]
3850                 public IconSet.from_pixbuf (Gdk.Pixbuf pixbuf);
3851                 public void get_sizes ([CCode (array_length_cname = "n_sizes", array_length_pos = 1.1)] out Gtk.IconSize[] sizes);
3852                 public unowned Gtk.IconSet @ref ();
3853                 [Version (deprecated = true, deprecated_since = "3.0")]
3854                 public Gdk.Pixbuf render_icon (Gtk.Style? style, Gtk.TextDirection direction, Gtk.StateType state, [CCode (type = "GtkIconSize")] Gtk.IconSize size, Gtk.Widget? widget, string? detail);
3855                 [Version (since = "3.0")]
3856                 public Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
3857                 [Version (since = "3.10")]
3858                 public Cairo.Surface render_icon_surface (Gtk.StyleContext context, [CCode (type = "GtkIconSize")] Gtk.IconSize size, int scale, Gdk.Window? for_window);
3859                 public void unref ();
3860         }
3861         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_icon_source_get_type ()")]
3862         [Compact]
3863         [Version (deprecated = true, deprecated_since = "3.10", replacement = "IconTheme")]
3864         public class IconSource {
3865                 [CCode (has_construct_function = false)]
3866                 public IconSource ();
3867                 public Gtk.IconSource copy ();
3868                 public void free ();
3869                 public Gtk.TextDirection get_direction ();
3870                 public bool get_direction_wildcarded ();
3871                 public unowned string get_filename ();
3872                 public unowned string get_icon_name ();
3873                 public unowned Gdk.Pixbuf get_pixbuf ();
3874                 public Gtk.IconSize get_size ();
3875                 public bool get_size_wildcarded ();
3876                 public Gtk.StateType get_state ();
3877                 public bool get_state_wildcarded ();
3878                 public void set_direction (Gtk.TextDirection direction);
3879                 public void set_direction_wildcarded (bool setting);
3880                 public void set_filename (string filename);
3881                 public void set_icon_name (string? icon_name);
3882                 public void set_pixbuf (Gdk.Pixbuf pixbuf);
3883                 public void set_size ([CCode (type = "GtkIconSize")] Gtk.IconSize size);
3884                 public void set_size_wildcarded (bool setting);
3885                 public void set_state (Gtk.StateType state);
3886                 public void set_state_wildcarded (bool setting);
3887         }
3888         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_theme_get_type ()")]
3889         public class IconTheme : GLib.Object {
3890                 [CCode (has_construct_function = false)]
3891                 [Version (since = "2.4")]
3892                 public IconTheme ();
3893                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3894                 public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf);
3895                 [Version (since = "3.14")]
3896                 public void add_resource_path (string path);
3897                 [Version (since = "2.4")]
3898                 public void append_search_path (string path);
3899                 [Version (since = "2.12")]
3900                 public Gtk.IconInfo? choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
3901                 [Version (since = "3.10")]
3902                 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);
3903                 [Version (since = "2.4")]
3904                 public static unowned Gtk.IconTheme get_default ();
3905                 [Version (since = "2.4")]
3906                 public string? get_example_icon_name ();
3907                 [Version (since = "2.4")]
3908                 public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen);
3909                 [CCode (array_length = false, array_null_terminated = true)]
3910                 [Version (since = "2.6")]
3911                 public int[] get_icon_sizes (string icon_name);
3912                 [Version (since = "2.4")]
3913                 public void get_search_path ([CCode (array_length_cname = "n_elements", array_length_pos = 1.1)] out string[] path);
3914                 [Version (since = "2.4")]
3915                 public bool has_icon (string icon_name);
3916                 [Version (since = "2.12")]
3917                 public GLib.List<string> list_contexts ();
3918                 [Version (since = "2.4")]
3919                 public GLib.List<string> list_icons (string? context);
3920                 [Version (since = "2.4")]
3921                 public Gdk.Pixbuf? load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
3922                 [Version (since = "3.10")]
3923                 public Gdk.Pixbuf? load_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags) throws GLib.Error;
3924                 [Version (since = "3.10")]
3925                 public Cairo.Surface? load_surface (string icon_name, int size, int scale, Gdk.Window? for_window, Gtk.IconLookupFlags flags) throws GLib.Error;
3926                 [Version (since = "2.14")]
3927                 public Gtk.IconInfo? lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
3928                 [Version (since = "3.10")]
3929                 public Gtk.IconInfo? lookup_by_gicon_for_scale (GLib.Icon icon, int size, int scale, Gtk.IconLookupFlags flags);
3930                 [Version (since = "2.4")]
3931                 public Gtk.IconInfo? lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
3932                 [Version (since = "3.10")]
3933                 public Gtk.IconInfo? lookup_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags);
3934                 [Version (since = "2.4")]
3935                 public void prepend_search_path (string path);
3936                 [Version (since = "2.4")]
3937                 public bool rescan_if_needed ();
3938                 [Version (since = "2.4")]
3939                 public void set_custom_theme (string? theme_name);
3940                 [Version (since = "2.4")]
3941                 public void set_screen (Gdk.Screen screen);
3942                 [Version (since = "2.4")]
3943                 public void set_search_path ([CCode (array_length_cname = "n_elements", array_length_pos = 1.1)] string[] path);
3944                 public virtual signal void changed ();
3945         }
3946         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_view_get_type ()")]
3947         public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Scrollable {
3948                 [CCode (has_construct_function = false, type = "GtkWidget*")]
3949                 [Version (since = "2.6")]
3950                 public IconView ();
3951                 [Version (since = "2.12")]
3952                 public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
3953                 [Version (since = "2.8")]
3954                 public Cairo.Surface create_drag_icon (Gtk.TreePath path);
3955                 [Version (since = "2.8")]
3956                 public void enable_model_drag_dest ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gtk.TargetEntry[] targets, Gdk.DragAction actions);
3957                 [Version (since = "2.8")]
3958                 public void enable_model_drag_source (Gdk.ModifierType start_button_mask, [CCode (array_length_cname = "n_targets", array_length_pos = 2.5)] Gtk.TargetEntry[] targets, Gdk.DragAction actions);
3959                 [Version (since = "3.8")]
3960                 public bool get_activate_on_single_click ();
3961                 [Version (since = "3.6")]
3962                 public bool get_cell_rect (Gtk.TreePath path, Gtk.CellRenderer? cell, out Gdk.Rectangle rect);
3963                 [Version (since = "2.6")]
3964                 public int get_column_spacing ();
3965                 [Version (since = "2.6")]
3966                 public int get_columns ();
3967                 [Version (since = "2.8")]
3968                 public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
3969                 [Version (since = "2.8")]
3970                 public bool get_dest_item_at_pos (int drag_x, int drag_y, out Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
3971                 [Version (since = "2.8")]
3972                 public void get_drag_dest_item (out Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
3973                 [Version (since = "2.8")]
3974                 public bool get_item_at_pos (int x, int y, out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
3975                 [Version (since = "2.22")]
3976                 public int get_item_column (Gtk.TreePath path);
3977                 [Version (since = "2.6")]
3978                 public Gtk.Orientation get_item_orientation ();
3979                 [Version (since = "2.18")]
3980                 public int get_item_padding ();
3981                 [Version (since = "2.22")]
3982                 public int get_item_row (Gtk.TreePath path);
3983                 [Version (since = "2.6")]
3984                 public int get_item_width ();
3985                 [Version (since = "2.6")]
3986                 public int get_margin ();
3987                 [Version (since = "2.6")]
3988                 public int get_markup_column ();
3989                 [Version (since = "2.6")]
3990                 public unowned Gtk.TreeModel? get_model ();
3991                 [Version (since = "2.6")]
3992                 public Gtk.TreePath? get_path_at_pos (int x, int y);
3993                 [Version (since = "2.6")]
3994                 public int get_pixbuf_column ();
3995                 [Version (since = "2.8")]
3996                 public bool get_reorderable ();
3997                 [Version (since = "2.6")]
3998                 public int get_row_spacing ();
3999                 [Version (since = "2.6")]
4000                 public GLib.List<Gtk.TreePath> get_selected_items ();
4001                 [Version (since = "2.6")]
4002                 public Gtk.SelectionMode get_selection_mode ();
4003                 [Version (since = "2.6")]
4004                 public int get_spacing ();
4005                 [Version (since = "2.6")]
4006                 public int get_text_column ();
4007                 [Version (since = "2.12")]
4008                 public int get_tooltip_column ();
4009                 [Version (since = "2.12")]
4010                 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);
4011                 [Version (since = "2.8")]
4012                 public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
4013                 [Version (since = "2.6")]
4014                 public bool path_is_selected (Gtk.TreePath path);
4015                 [Version (since = "2.8")]
4016                 public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
4017                 [Version (since = "2.6")]
4018                 public void select_path (Gtk.TreePath path);
4019                 [Version (since = "2.6")]
4020                 public void selected_foreach (Gtk.IconViewForeachFunc func);
4021                 [Version (since = "3.8")]
4022                 public void set_activate_on_single_click (bool single);
4023                 [Version (since = "2.6")]
4024                 public void set_column_spacing (int column_spacing);
4025                 [Version (since = "2.6")]
4026                 public void set_columns (int columns);
4027                 [Version (since = "2.8")]
4028                 public void set_cursor (Gtk.TreePath path, Gtk.CellRenderer? cell, bool start_editing);
4029                 [Version (since = "2.8")]
4030                 public void set_drag_dest_item (Gtk.TreePath? path, Gtk.IconViewDropPosition pos);
4031                 [Version (since = "2.6")]
4032                 public void set_item_orientation (Gtk.Orientation orientation);
4033                 [Version (since = "2.18")]
4034                 public void set_item_padding (int item_padding);
4035                 [Version (since = "2.6")]
4036                 public void set_item_width (int item_width);
4037                 [Version (since = "2.6")]
4038                 public void set_margin (int margin);
4039                 [Version (since = "2.6")]
4040                 public void set_markup_column (int column);
4041                 [Version (since = "2.6")]
4042                 public void set_model (Gtk.TreeModel? model);
4043                 [Version (since = "2.6")]
4044                 public void set_pixbuf_column (int column);
4045                 [Version (since = "2.8")]
4046                 public void set_reorderable (bool reorderable);
4047                 [Version (since = "2.6")]
4048                 public void set_row_spacing (int row_spacing);
4049                 [Version (since = "2.6")]
4050                 public void set_selection_mode (Gtk.SelectionMode mode);
4051                 [Version (since = "2.6")]
4052                 public void set_spacing (int spacing);
4053                 [Version (since = "2.6")]
4054                 public void set_text_column (int column);
4055                 [Version (since = "2.12")]
4056                 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.CellRenderer? cell);
4057                 [Version (since = "2.12")]
4058                 public void set_tooltip_column (int column);
4059                 [Version (since = "2.12")]
4060                 public void set_tooltip_item (Gtk.Tooltip tooltip, Gtk.TreePath path);
4061                 [Version (since = "2.6")]
4062                 public void unselect_path (Gtk.TreePath path);
4063                 [Version (since = "2.8")]
4064                 public void unset_model_drag_dest ();
4065                 [Version (since = "2.8")]
4066                 public void unset_model_drag_source ();
4067                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4068                 [Version (since = "3.0")]
4069                 public IconView.with_area (Gtk.CellArea area);
4070                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4071                 [Version (since = "2.6")]
4072                 public IconView.with_model (Gtk.TreeModel model);
4073                 [Version (since = "3.8")]
4074                 public bool activate_on_single_click { get; set; }
4075                 [NoAccessorMethod]
4076                 [Version (since = "3.0")]
4077                 public Gtk.CellArea cell_area { owned get; construct; }
4078                 [Version (since = "2.6")]
4079                 public int column_spacing { get; set; }
4080                 [Version (since = "2.6")]
4081                 public int columns { get; set; }
4082                 [Version (since = "2.6")]
4083                 public Gtk.Orientation item_orientation { get; set; }
4084                 [Version (since = "2.18")]
4085                 public int item_padding { get; set; }
4086                 [Version (since = "2.6")]
4087                 public int item_width { get; set; }
4088                 [Version (since = "2.6")]
4089                 public int margin { get; set; }
4090                 [Version (since = "2.6")]
4091                 public int markup_column { get; set; }
4092                 public Gtk.TreeModel model { get; set; }
4093                 [Version (since = "2.6")]
4094                 public int pixbuf_column { get; set; }
4095                 [Version (since = "2.8")]
4096                 public bool reorderable { get; set; }
4097                 [Version (since = "2.6")]
4098                 public int row_spacing { get; set; }
4099                 [Version (since = "2.6")]
4100                 public Gtk.SelectionMode selection_mode { get; set; }
4101                 [Version (since = "2.6")]
4102                 public int spacing { get; set; }
4103                 [Version (since = "2.6")]
4104                 public int text_column { get; set; }
4105                 public int tooltip_column { get; set; }
4106                 public virtual signal bool activate_cursor_item ();
4107                 [HasEmitter]
4108                 public virtual signal void item_activated (Gtk.TreePath path);
4109                 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
4110                 [HasEmitter]
4111                 public virtual signal void select_all ();
4112                 public virtual signal void select_cursor_item ();
4113                 public virtual signal void selection_changed ();
4114                 public virtual signal void toggle_cursor_item ();
4115                 [HasEmitter]
4116                 public virtual signal void unselect_all ();
4117         }
4118         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_icon_view_accessible_get_type ()")]
4119         public class IconViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
4120                 [CCode (has_construct_function = false)]
4121                 protected IconViewAccessible ();
4122         }
4123         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_image_get_type ()")]
4124         public class Image : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
4125                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4126                 public Image ();
4127                 [Version (since = "2.8")]
4128                 public void clear ();
4129                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4130                 public Image.from_animation (Gdk.PixbufAnimation animation);
4131                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4132                 public Image.from_file (string filename);
4133                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4134                 [Version (since = "2.14")]
4135                 public Image.from_gicon (GLib.Icon icon, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4136                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4137                 [Version (since = "2.6")]
4138                 public Image.from_icon_name (string? icon_name, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4139                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4140                 [Version (deprecated = true, deprecated_since = "3.10")]
4141                 public Image.from_icon_set (Gtk.IconSet icon_set, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4142                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4143                 public Image.from_pixbuf (Gdk.Pixbuf? pixbuf);
4144                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4145                 [Version (since = "3.4")]
4146                 public Image.from_resource (string resource_path);
4147                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4148                 [Version (deprecated = true, deprecated_since = "3.10")]
4149                 public Image.from_stock (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4150                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4151                 [Version (since = "3.10")]
4152                 public Image.from_surface (Cairo.Surface? surface);
4153                 public unowned Gdk.PixbufAnimation? get_animation ();
4154                 [Version (since = "2.14")]
4155                 public void get_gicon (out unowned GLib.Icon gicon, [CCode (type = "GtkIconSize*")] out Gtk.IconSize size);
4156                 [Version (since = "2.6")]
4157                 public void get_icon_name (out unowned string icon_name, [CCode (type = "GtkIconSize*")] out Gtk.IconSize size);
4158                 [Version (deprecated = true, deprecated_since = "3.10")]
4159                 public void get_icon_set (out unowned Gtk.IconSet icon_set, [CCode (type = "GtkIconSize*")] out Gtk.IconSize size);
4160                 public unowned Gdk.Pixbuf? get_pixbuf ();
4161                 [Version (since = "2.6")]
4162                 public int get_pixel_size ();
4163                 [Version (deprecated = true, deprecated_since = "3.10")]
4164                 public void get_stock (out unowned string stock_id, [CCode (type = "GtkIconSize*")] out Gtk.IconSize size);
4165                 public Gtk.ImageType get_storage_type ();
4166                 public void set_from_animation (Gdk.PixbufAnimation animation);
4167                 public void set_from_file (string? filename);
4168                 [Version (since = "2.14")]
4169                 public void set_from_gicon (GLib.Icon icon, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4170                 [Version (since = "2.6")]
4171                 public void set_from_icon_name (string? icon_name, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4172                 [Version (deprecated = true, deprecated_since = "3.10")]
4173                 public void set_from_icon_set (Gtk.IconSet icon_set, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4174                 public void set_from_pixbuf (Gdk.Pixbuf? pixbuf);
4175                 public void set_from_resource (string? resource_path);
4176                 [Version (deprecated = true, deprecated_since = "3.10")]
4177                 public void set_from_stock (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4178                 [Version (since = "3.10")]
4179                 public void set_from_surface (Cairo.Surface? surface);
4180                 [Version (since = "2.6")]
4181                 public void set_pixel_size (int pixel_size);
4182                 [NoAccessorMethod]
4183                 public string file { owned get; set; }
4184                 [NoAccessorMethod]
4185                 [Version (since = "2.14")]
4186                 public GLib.Icon gicon { owned get; set; }
4187                 [NoAccessorMethod]
4188                 [Version (since = "2.6")]
4189                 public string icon_name { owned get; set; }
4190                 [NoAccessorMethod]
4191                 [Version (deprecated = true, deprecated_since = "3.10")]
4192                 public Gtk.IconSet icon_set { owned get; set; }
4193                 [NoAccessorMethod]
4194                 public int icon_size { get; set; }
4195                 [NoAccessorMethod]
4196                 public Gdk.Pixbuf pixbuf { owned get; set; }
4197                 [NoAccessorMethod]
4198                 public Gdk.PixbufAnimation pixbuf_animation { owned get; set; }
4199                 [Version (since = "2.6")]
4200                 public int pixel_size { get; set; }
4201                 [NoAccessorMethod]
4202                 [Version (since = "3.8")]
4203                 public string resource { owned get; set; }
4204                 [NoAccessorMethod]
4205                 [Version (deprecated = true, deprecated_since = "3.10")]
4206                 public string stock { owned get; set; }
4207                 public Gtk.ImageType storage_type { get; }
4208                 [NoAccessorMethod]
4209                 public Cairo.Surface surface { owned get; set; }
4210                 [NoAccessorMethod]
4211                 [Version (since = "3.0")]
4212                 public bool use_fallback { get; set; }
4213         }
4214         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_image_accessible_get_type ()")]
4215         public class ImageAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
4216                 [CCode (has_construct_function = false)]
4217                 protected ImageAccessible ();
4218         }
4219         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_image_cell_accessible_get_type ()")]
4220         public class ImageCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component, Atk.Image {
4221                 [CCode (has_construct_function = false)]
4222                 protected ImageCellAccessible ();
4223         }
4224         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_image_menu_item_get_type ()")]
4225         [Version (deprecated = true, deprecated_since = "3.10")]
4226         public class ImageMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4227                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4228                 public ImageMenuItem ();
4229                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4230                 public ImageMenuItem.from_stock (string stock_id, Gtk.AccelGroup? accel_group);
4231                 [Version (since = "2.16")]
4232                 public bool get_always_show_image ();
4233                 public unowned Gtk.Widget get_image ();
4234                 [Version (since = "2.16")]
4235                 public bool get_use_stock ();
4236                 [Version (since = "2.16")]
4237                 public void set_accel_group (Gtk.AccelGroup accel_group);
4238                 [Version (since = "2.16")]
4239                 public void set_always_show_image (bool always_show);
4240                 public void set_image (Gtk.Widget? image);
4241                 [Version (since = "2.16")]
4242                 public void set_use_stock (bool use_stock);
4243                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4244                 public ImageMenuItem.with_label (string label);
4245                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4246                 public ImageMenuItem.with_mnemonic (string label);
4247                 [Version (since = "2.16")]
4248                 public Gtk.AccelGroup accel_group { set; }
4249                 [Version (since = "2.16")]
4250                 public bool always_show_image { get; set construct; }
4251                 public Gtk.Widget image { get; set; }
4252                 [Version (since = "2.16")]
4253                 public bool use_stock { get; set construct; }
4254         }
4255         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_info_bar_get_type ()")]
4256         public class InfoBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4257                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4258                 [Version (since = "2.18")]
4259                 public InfoBar ();
4260                 [Version (since = "2.18")]
4261                 public void add_action_widget (Gtk.Widget child, int response_id);
4262                 [Version (since = "2.18")]
4263                 public unowned Gtk.Button add_button (string button_text, int response_id);
4264                 [Version (since = "2.18")]
4265                 public void add_buttons (...);
4266                 [Version (since = "2.18")]
4267                 public unowned Gtk.Widget get_action_area ();
4268                 [Version (since = "2.18")]
4269                 public unowned Gtk.Container get_content_area ();
4270                 [Version (since = "2.18")]
4271                 public Gtk.MessageType get_message_type ();
4272                 [Version (since = "3.10")]
4273                 public bool get_show_close_button ();
4274                 [Version (since = "2.18")]
4275                 public void set_default_response (int response_id);
4276                 [Version (since = "2.18")]
4277                 public void set_message_type (Gtk.MessageType message_type);
4278                 [Version (since = "2.18")]
4279                 public void set_response_sensitive (int response_id, bool setting);
4280                 [Version (since = "3.10")]
4281                 public void set_show_close_button (bool setting);
4282                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4283                 public InfoBar.with_buttons (...);
4284                 [Version (since = "2.18")]
4285                 public Gtk.MessageType message_type { get; set construct; }
4286                 [Version (since = "3.10")]
4287                 public bool show_close_button { get; set construct; }
4288                 [Version (since = "2.18")]
4289                 public virtual signal void close ();
4290                 [HasEmitter]
4291                 [Version (since = "2.18")]
4292                 public virtual signal void response (int response_id);
4293         }
4294         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_invisible_get_type ()")]
4295         public class Invisible : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
4296                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4297                 public Invisible ();
4298                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4299                 [Version (since = "2.2")]
4300                 public Invisible.for_screen (Gdk.Screen screen);
4301                 [Version (since = "2.2")]
4302                 public unowned Gdk.Screen get_screen ();
4303                 [Version (since = "2.2")]
4304                 public void set_screen (Gdk.Screen screen);
4305                 public Gdk.Screen screen { get; set; }
4306         }
4307         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_label_get_type ()")]
4308         public class Label : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
4309                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4310                 public Label (string? str);
4311                 [Version (since = "2.6")]
4312                 public double get_angle ();
4313                 public unowned Pango.AttrList? get_attributes ();
4314                 [Version (since = "2.18")]
4315                 public unowned string get_current_uri ();
4316                 [Version (since = "2.6")]
4317                 public Pango.EllipsizeMode get_ellipsize ();
4318                 public Gtk.Justification get_justify ();
4319                 public unowned string get_label ();
4320                 public unowned Pango.Layout get_layout ();
4321                 public void get_layout_offsets (out int x, out int y);
4322                 public bool get_line_wrap ();
4323                 [Version (since = "2.10")]
4324                 public Pango.WrapMode get_line_wrap_mode ();
4325                 [Version (since = "3.10")]
4326                 public int get_lines ();
4327                 [Version (since = "2.6")]
4328                 public int get_max_width_chars ();
4329                 public uint get_mnemonic_keyval ();
4330                 public unowned Gtk.Widget? get_mnemonic_widget ();
4331                 public bool get_selectable ();
4332                 public bool get_selection_bounds (out int start, out int end);
4333                 [Version (since = "2.6")]
4334                 public bool get_single_line_mode ();
4335                 public unowned string get_text ();
4336                 [Version (since = "2.18")]
4337                 public bool get_track_visited_links ();
4338                 public bool get_use_markup ();
4339                 public bool get_use_underline ();
4340                 [Version (since = "2.6")]
4341                 public int get_width_chars ();
4342                 [Version (since = "3.16")]
4343                 public float get_xalign ();
4344                 [Version (since = "3.16")]
4345                 public float get_yalign ();
4346                 public void select_region (int start_offset, int end_offset);
4347                 [Version (since = "2.6")]
4348                 public void set_angle (double angle);
4349                 public void set_attributes (Pango.AttrList? attrs);
4350                 [Version (since = "2.6")]
4351                 public void set_ellipsize (Pango.EllipsizeMode mode);
4352                 public void set_justify (Gtk.Justification jtype);
4353                 public void set_label (string str);
4354                 public void set_line_wrap (bool wrap);
4355                 [Version (since = "2.10")]
4356                 public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
4357                 [Version (since = "3.10")]
4358                 public void set_lines (int lines);
4359                 public void set_markup (string str);
4360                 public void set_markup_with_mnemonic (string str);
4361                 [Version (since = "2.6")]
4362                 public void set_max_width_chars (int n_chars);
4363                 public void set_mnemonic_widget (Gtk.Widget? widget);
4364                 public void set_pattern (string pattern);
4365                 public void set_selectable (bool setting);
4366                 [Version (since = "2.6")]
4367                 public void set_single_line_mode (bool single_line_mode);
4368                 public void set_text (string str);
4369                 public void set_text_with_mnemonic (string str);
4370                 [Version (since = "2.18")]
4371                 public void set_track_visited_links (bool track_links);
4372                 public void set_use_markup (bool setting);
4373                 public void set_use_underline (bool setting);
4374                 [Version (since = "2.6")]
4375                 public void set_width_chars (int n_chars);
4376                 [Version (since = "3.16")]
4377                 public void set_xalign (float xalign);
4378                 [Version (since = "3.16")]
4379                 public void set_yalign (float yalign);
4380                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4381                 public Label.with_mnemonic (string? str);
4382                 [Version (since = "2.6")]
4383                 public double angle { get; set; }
4384                 public Pango.AttrList attributes { get; set; }
4385                 [NoAccessorMethod]
4386                 public int cursor_position { get; }
4387                 [Version (since = "2.6")]
4388                 public Pango.EllipsizeMode ellipsize { get; set; }
4389                 public Gtk.Justification justify { get; set; }
4390                 public string label { get; set; }
4391                 [Version (since = "3.10")]
4392                 public int lines { get; set; }
4393                 [Version (since = "2.6")]
4394                 public int max_width_chars { get; set; }
4395                 public uint mnemonic_keyval { get; }
4396                 public Gtk.Widget mnemonic_widget { get; set; }
4397                 public string pattern { set; }
4398                 public bool selectable { get; set; }
4399                 [NoAccessorMethod]
4400                 public int selection_bound { get; }
4401                 [Version (since = "2.6")]
4402                 public bool single_line_mode { get; set; }
4403                 [Version (since = "2.18")]
4404                 public bool track_visited_links { get; set; }
4405                 public bool use_markup { get; set; }
4406                 public bool use_underline { get; set; }
4407                 [Version (since = "2.6")]
4408                 public int width_chars { get; set; }
4409                 [NoAccessorMethod]
4410                 public bool wrap { get; set; }
4411                 [NoAccessorMethod]
4412                 [Version (since = "2.10")]
4413                 public Pango.WrapMode wrap_mode { get; set; }
4414                 [Version (since = "3.16")]
4415                 public float xalign { get; set; }
4416                 [Version (since = "3.16")]
4417                 public float yalign { get; set; }
4418                 [Version (since = "2.18")]
4419                 public signal void activate_current_link ();
4420                 [Version (since = "2.18")]
4421                 public virtual signal bool activate_link (string uri);
4422                 public virtual signal void copy_clipboard ();
4423                 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
4424                 public virtual signal void populate_popup (Gtk.Menu menu);
4425         }
4426         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_label_accessible_get_type ()")]
4427         public class LabelAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Hypertext, Atk.Text {
4428                 [CCode (has_construct_function = false)]
4429                 protected LabelAccessible ();
4430         }
4431         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
4432         [Compact]
4433         public class LabelSelectionInfo {
4434         }
4435         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_layout_get_type ()")]
4436         public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
4437                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4438                 public Layout (Gtk.Adjustment? hadjustment = null, Gtk.Adjustment? vadjustment = null);
4439                 [Version (since = "2.14")]
4440                 public unowned Gdk.Window get_bin_window ();
4441                 [Version (deprecated = true, deprecated_since = "3.0")]
4442                 public unowned Gtk.Adjustment get_hadjustment ();
4443                 public void get_size (out uint width, out uint height);
4444                 [Version (deprecated = true, deprecated_since = "3.0")]
4445                 public unowned Gtk.Adjustment get_vadjustment ();
4446                 public void move (Gtk.Widget child_widget, int x, int y);
4447                 public void put (Gtk.Widget child_widget, int x, int y);
4448                 [Version (deprecated = true, deprecated_since = "3.0")]
4449                 public void set_hadjustment (Gtk.Adjustment? adjustment);
4450                 public void set_size (uint width, uint height);
4451                 [Version (deprecated = true, deprecated_since = "3.0")]
4452                 public void set_vadjustment (Gtk.Adjustment? adjustment);
4453                 [NoAccessorMethod]
4454                 public uint height { get; set; }
4455                 [NoAccessorMethod]
4456                 public uint width { get; set; }
4457         }
4458         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_level_bar_get_type ()")]
4459         public class LevelBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4460                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4461                 [Version (since = "3.6")]
4462                 public LevelBar ();
4463                 [Version (since = "3.6")]
4464                 public void add_offset_value (string name, double value);
4465                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4466                 [Version (since = "3.6")]
4467                 public LevelBar.for_interval (double min_value, double max_value);
4468                 [Version (since = "3.8")]
4469                 public bool get_inverted ();
4470                 [Version (since = "3.6")]
4471                 public double get_max_value ();
4472                 [Version (since = "3.6")]
4473                 public double get_min_value ();
4474                 [Version (since = "3.6")]
4475                 public Gtk.LevelBarMode get_mode ();
4476                 [Version (since = "3.6")]
4477                 public bool get_offset_value (string? name, out double value);
4478                 [Version (since = "3.6")]
4479                 public double get_value ();
4480                 [Version (since = "3.6")]
4481                 public void remove_offset_value (string? name);
4482                 [Version (since = "3.8")]
4483                 public void set_inverted (bool inverted);
4484                 [Version (since = "3.6")]
4485                 public void set_max_value (double value);
4486                 [Version (since = "3.6")]
4487                 public void set_min_value (double value);
4488                 [Version (since = "3.6")]
4489                 public void set_mode (Gtk.LevelBarMode mode);
4490                 [Version (since = "3.6")]
4491                 public void set_value (double value);
4492                 [Version (since = "3.8")]
4493                 public bool inverted { get; set; }
4494                 [Version (since = "3.6")]
4495                 public double max_value { get; set; }
4496                 [Version (since = "3.6")]
4497                 public double min_value { get; set; }
4498                 [Version (since = "3.6")]
4499                 public Gtk.LevelBarMode mode { get; set; }
4500                 [Version (since = "3.6")]
4501                 public double value { get; set; }
4502                 [Version (since = "3.6")]
4503                 public virtual signal void offset_changed (string name);
4504         }
4505         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_level_bar_accessible_get_type ()")]
4506         public class LevelBarAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
4507                 [CCode (has_construct_function = false)]
4508                 protected LevelBarAccessible ();
4509         }
4510         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_link_button_get_type ()")]
4511         public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4512                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4513                 [Version (since = "2.10")]
4514                 public LinkButton (string uri);
4515                 [Version (since = "2.10")]
4516                 public unowned string get_uri ();
4517                 [Version (since = "2.14")]
4518                 public bool get_visited ();
4519                 [Version (since = "2.10")]
4520                 public void set_uri (string uri);
4521                 [Version (since = "2.14")]
4522                 public void set_visited (bool visited);
4523                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4524                 [Version (since = "2.10")]
4525                 public LinkButton.with_label (string uri, string? label);
4526                 [Version (since = "2.10")]
4527                 public string uri { get; set; }
4528                 [Version (since = "2.14")]
4529                 public bool visited { get; set; }
4530                 public virtual signal bool activate_link ();
4531         }
4532         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_link_button_accessible_get_type ()")]
4533         public class LinkButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.HyperlinkImpl, Atk.Image {
4534                 [CCode (has_construct_function = false)]
4535                 protected LinkButtonAccessible ();
4536         }
4537         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_get_type ()")]
4538         public class ListBox : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4539                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4540                 [Version (since = "3.10")]
4541                 public ListBox ();
4542                 [Version (since = "3.16")]
4543                 public void bind_model (GLib.ListModel? model, owned Gtk.ListBoxCreateWidgetFunc? create_widget_func);
4544                 [Version (since = "3.10")]
4545                 public void drag_highlight_row (Gtk.ListBoxRow row);
4546                 [Version (since = "3.10")]
4547                 public void drag_unhighlight_row ();
4548                 [Version (since = "3.10")]
4549                 public bool get_activate_on_single_click ();
4550                 [Version (since = "3.10")]
4551                 public unowned Gtk.Adjustment get_adjustment ();
4552                 [Version (since = "3.10")]
4553                 public unowned Gtk.ListBoxRow? get_row_at_index (int index_);
4554                 [Version (since = "3.10")]
4555                 public unowned Gtk.ListBoxRow? get_row_at_y (int y);
4556                 [Version (since = "3.10")]
4557                 public unowned Gtk.ListBoxRow get_selected_row ();
4558                 [Version (since = "3.14")]
4559                 public GLib.List<weak Gtk.ListBoxRow> get_selected_rows ();
4560                 [Version (since = "3.10")]
4561                 public Gtk.SelectionMode get_selection_mode ();
4562                 [Version (since = "3.10")]
4563                 public void insert (Gtk.Widget child, int position);
4564                 [Version (since = "3.10")]
4565                 public void invalidate_filter ();
4566                 [Version (since = "3.10")]
4567                 public void invalidate_headers ();
4568                 [Version (since = "3.10")]
4569                 public void invalidate_sort ();
4570                 [Version (since = "3.10")]
4571                 public void prepend (Gtk.Widget child);
4572                 [Version (since = "3.10")]
4573                 public void select_row (Gtk.ListBoxRow? row);
4574                 [Version (since = "3.14")]
4575                 public void selected_foreach (Gtk.ListBoxForeachFunc func);
4576                 [Version (since = "3.10")]
4577                 public void set_activate_on_single_click (bool single);
4578                 [Version (since = "3.10")]
4579                 public void set_adjustment (Gtk.Adjustment? adjustment);
4580                 [Version (since = "3.10")]
4581                 public void set_filter_func (owned Gtk.ListBoxFilterFunc? filter_func);
4582                 [Version (since = "3.10")]
4583                 public void set_header_func (owned Gtk.ListBoxUpdateHeaderFunc? update_header);
4584                 [Version (since = "3.10")]
4585                 public void set_placeholder (Gtk.Widget? placeholder);
4586                 [Version (since = "3.10")]
4587                 public void set_selection_mode (Gtk.SelectionMode mode);
4588                 [Version (since = "3.10")]
4589                 public void set_sort_func (owned Gtk.ListBoxSortFunc? sort_func);
4590                 [Version (since = "3.14")]
4591                 public void unselect_row (Gtk.ListBoxRow row);
4592                 public bool activate_on_single_click { get; set; }
4593                 public Gtk.SelectionMode selection_mode { get; set; }
4594                 public virtual signal void activate_cursor_row ();
4595                 public virtual signal void move_cursor (Gtk.MovementStep step, int count);
4596                 [Version (since = "3.10")]
4597                 public virtual signal void row_activated (Gtk.ListBoxRow row);
4598                 [Version (since = "3.10")]
4599                 public virtual signal void row_selected (Gtk.ListBoxRow? row);
4600                 [HasEmitter]
4601                 [Version (since = "3.14")]
4602                 public virtual signal void select_all ();
4603                 [Version (since = "3.14")]
4604                 public virtual signal void selected_rows_changed ();
4605                 public virtual signal void toggle_cursor_row ();
4606                 [HasEmitter]
4607                 [Version (since = "3.14")]
4608                 public virtual signal void unselect_all ();
4609         }
4610         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_accessible_get_type ()")]
4611         public class ListBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
4612                 [CCode (has_construct_function = false)]
4613                 protected ListBoxAccessible ();
4614         }
4615         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_row_get_type ()")]
4616         public class ListBoxRow : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
4617                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4618                 [Version (since = "3.10")]
4619                 public ListBoxRow ();
4620                 [Version (since = "3.10")]
4621                 public void changed ();
4622                 [Version (since = "3.14")]
4623                 public bool get_activatable ();
4624                 [Version (since = "3.10")]
4625                 public unowned Gtk.Widget? get_header ();
4626                 [Version (since = "3.10")]
4627                 public int get_index ();
4628                 [Version (since = "3.14")]
4629                 public bool get_selectable ();
4630                 [Version (since = "3.14")]
4631                 public bool is_selected ();
4632                 [Version (since = "3.14")]
4633                 public void set_activatable (bool activatable);
4634                 [Version (since = "3.10")]
4635                 public void set_header (Gtk.Widget? header);
4636                 [Version (since = "3.14")]
4637                 public void set_selectable (bool selectable);
4638                 [Version (since = "3.14")]
4639                 public bool activatable { get; set; }
4640                 [Version (since = "3.14")]
4641                 public bool selectable { get; set; }
4642                 public virtual signal void activate ();
4643         }
4644         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_row_accessible_get_type ()")]
4645         public class ListBoxRowAccessible : Gtk.ContainerAccessible, Atk.Component {
4646                 [CCode (has_construct_function = false)]
4647                 protected ListBoxRowAccessible ();
4648         }
4649         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_store_get_type ()")]
4650         public class ListStore : GLib.Object, Gtk.Buildable, Gtk.TreeDragDest, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
4651                 [CCode (has_construct_function = false, sentinel = "-1")]
4652                 public ListStore (int n_columns, ...);
4653                 public void append (out Gtk.TreeIter iter);
4654                 public void clear ();
4655                 public void insert (out Gtk.TreeIter iter, int position);
4656                 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
4657                 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
4658                 [CCode (sentinel = "-1")]
4659                 [Version (since = "2.6")]
4660                 public void insert_with_values (out Gtk.TreeIter iter, int position, ...);
4661                 [Version (since = "2.6")]
4662                 public void insert_with_valuesv (out Gtk.TreeIter iter, int position, [CCode (array_length_cname = "n_values", array_length_pos = 4.1)] int[] columns, [CCode (array_length_cname = "n_values", array_length_pos = 4.1)] GLib.Value[] values);
4663                 [Version (since = "2.2")]
4664                 public bool iter_is_valid (Gtk.TreeIter iter);
4665                 [Version (since = "2.2")]
4666                 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
4667                 [Version (since = "2.2")]
4668                 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
4669                 [CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
4670                 public ListStore.newv ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
4671                 public void prepend (out Gtk.TreeIter iter);
4672                 public bool remove (ref Gtk.TreeIter iter);
4673                 [Version (since = "2.2")]
4674                 public void reorder ([CCode (array_length = false, array_null_terminated = true)] int[] new_order);
4675                 [CCode (sentinel = "-1")]
4676                 public void @set (Gtk.TreeIter iter, ...);
4677                 public void set_column_types ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
4678                 public void set_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
4679                 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
4680                 [Version (since = "2.12")]
4681                 public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_cname = "n_values", array_length_pos = 3.1)] int[] columns, [CCode (array_length_cname = "n_values", array_length_pos = 3.1)] GLib.Value[] values);
4682                 [Version (since = "2.2")]
4683                 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
4684         }
4685         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_lock_button_get_type ()")]
4686         public class LockButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4687                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4688                 [Version (since = "3.2")]
4689                 public LockButton (GLib.Permission? permission);
4690                 [Version (since = "3.2")]
4691                 public unowned GLib.Permission get_permission ();
4692                 [Version (since = "3.2")]
4693                 public void set_permission (GLib.Permission? permission);
4694                 public GLib.Permission permission { get; set; }
4695                 [NoAccessorMethod]
4696                 public string text_lock { owned get; set construct; }
4697                 [NoAccessorMethod]
4698                 public string text_unlock { owned get; set construct; }
4699                 [NoAccessorMethod]
4700                 public string tooltip_lock { owned get; set construct; }
4701                 [NoAccessorMethod]
4702                 public string tooltip_not_authorized { owned get; set construct; }
4703                 [NoAccessorMethod]
4704                 public string tooltip_unlock { owned get; set construct; }
4705         }
4706         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_lock_button_accessible_get_type ()")]
4707         public class LockButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
4708                 [CCode (has_construct_function = false)]
4709                 protected LockButtonAccessible ();
4710         }
4711         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_get_type ()")]
4712         public class Menu : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
4713                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4714                 public Menu ();
4715                 [Version (since = "2.4")]
4716                 public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
4717                 public void attach_to_widget (Gtk.Widget attach_widget, [CCode (scope = "async")] Gtk.MenuDetachFunc? detacher);
4718                 public void detach ();
4719                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4720                 [Version (since = "3.4")]
4721                 public Menu.from_model (GLib.MenuModel model);
4722                 public unowned Gtk.AccelGroup get_accel_group ();
4723                 [Version (since = "2.14")]
4724                 public unowned string get_accel_path ();
4725                 public unowned Gtk.Widget get_active ();
4726                 public unowned Gtk.Widget get_attach_widget ();
4727                 [Version (since = "2.6")]
4728                 public static unowned GLib.List<Gtk.Menu> get_for_attach_widget (Gtk.Widget widget);
4729                 [Version (since = "2.14")]
4730                 public int get_monitor ();
4731                 [Version (since = "2.18")]
4732                 public bool get_reserve_toggle_size ();
4733                 [Version (deprecated = true, deprecated_since = "3.10")]
4734                 public bool get_tearoff_state ();
4735                 [Version (deprecated = true, deprecated_since = "3.10")]
4736                 public unowned string get_title ();
4737                 [Version (since = "3.22")]
4738                 public void place_on_monitor (Gdk.Monitor monitor);
4739                 public void popdown ();
4740                 [Version (deprecated = true, deprecated_since = "3.22")]
4741                 public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode (delegate_target_pos = 3.5, scope = "async")] Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
4742                 [Version (since = "3.22")]
4743                 public void popup_at_pointer (Gdk.Event? trigger_event = null);
4744                 [Version (since = "3.22")]
4745                 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);
4746                 [Version (since = "3.22")]
4747                 public void popup_at_widget (Gtk.Widget widget, Gdk.Gravity widget_anchor, Gdk.Gravity menu_anchor, Gdk.Event? trigger_event = null);
4748                 [Version (deprecated = true, deprecated_since = "3.22", since = "3.0")]
4749                 public void popup_for_device (Gdk.Device? device, Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode (delegate_target_pos = 4.33333, destroy_notify_pos = 4.66667)] owned Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
4750                 public void reorder_child (Gtk.Widget child, int position);
4751                 public void reposition ();
4752                 public void set_accel_group (Gtk.AccelGroup? accel_group);
4753                 public void set_accel_path (string? accel_path);
4754                 public void set_active (uint index);
4755                 [Version (since = "2.4")]
4756                 public void set_monitor (int monitor_num);
4757                 [Version (since = "2.18")]
4758                 public void set_reserve_toggle_size (bool reserve_toggle_size);
4759                 [Version (since = "2.2")]
4760                 public void set_screen (Gdk.Screen? screen);
4761                 [Version (deprecated = true, deprecated_since = "3.10")]
4762                 public void set_tearoff_state (bool torn_off);
4763                 [Version (deprecated = true, deprecated_since = "3.10")]
4764                 public void set_title (string title);
4765                 [Version (since = "2.14")]
4766                 public Gtk.AccelGroup accel_group { get; set; }
4767                 [Version (since = "2.14")]
4768                 public string accel_path { get; set; }
4769                 [Version (since = "2.14")]
4770                 public int active { get; set; }
4771                 [NoAccessorMethod]
4772                 [Version (since = "3.22")]
4773                 public Gdk.AnchorHints anchor_hints { get; set construct; }
4774                 [NoAccessorMethod]
4775                 [Version (since = "2.14")]
4776                 public Gtk.Widget attach_widget { owned get; set; }
4777                 [NoAccessorMethod]
4778                 [Version (since = "3.22")]
4779                 public Gdk.WindowTypeHint menu_type_hint { get; set construct; }
4780                 [Version (since = "2.14")]
4781                 public int monitor { get; set; }
4782                 [NoAccessorMethod]
4783                 [Version (since = "3.22")]
4784                 public int rect_anchor_dx { get; set construct; }
4785                 [NoAccessorMethod]
4786                 [Version (since = "3.22")]
4787                 public int rect_anchor_dy { get; set construct; }
4788                 [Version (since = "2.18")]
4789                 public bool reserve_toggle_size { get; set; }
4790                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
4791                 public bool tearoff_state { get; set; }
4792                 [NoAccessorMethod]
4793                 [Version (deprecated = true, deprecated_since = "3.10")]
4794                 public string tearoff_title { owned get; set; }
4795                 public signal void move_scroll (Gtk.ScrollType scroll_type);
4796                 [Version (since = "3.22")]
4797                 public signal void popped_up ([CCode (type = "gpointer")] Gdk.Rectangle flipped_rect, [CCode (type = "gpointer")] Gdk.Rectangle final_rect, bool flipped_x, bool flipped_y);
4798         }
4799         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_accessible_get_type ()")]
4800         public class MenuAccessible : Gtk.MenuShellAccessible, Atk.Component, Atk.Selection {
4801                 [CCode (has_construct_function = false)]
4802                 protected MenuAccessible ();
4803         }
4804         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_bar_get_type ()")]
4805         public class MenuBar : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
4806                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4807                 public MenuBar ();
4808                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4809                 [Version (since = "3.4")]
4810                 public MenuBar.from_model (GLib.MenuModel model);
4811                 [Version (since = "2.8")]
4812                 public Gtk.PackDirection get_child_pack_direction ();
4813                 [Version (since = "2.8")]
4814                 public Gtk.PackDirection get_pack_direction ();
4815                 [Version (since = "2.8")]
4816                 public void set_child_pack_direction (Gtk.PackDirection child_pack_dir);
4817                 [Version (since = "2.8")]
4818                 public void set_pack_direction (Gtk.PackDirection pack_dir);
4819                 [Version (since = "2.8")]
4820                 public Gtk.PackDirection child_pack_direction { get; set; }
4821                 [Version (since = "2.8")]
4822                 public Gtk.PackDirection pack_direction { get; set; }
4823         }
4824         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_button_get_type ()")]
4825         public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4826                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4827                 [Version (since = "3.6")]
4828                 public MenuButton ();
4829                 [Version (since = "3.6")]
4830                 public unowned Gtk.Widget? get_align_widget ();
4831                 [Version (since = "3.6")]
4832                 public Gtk.ArrowType get_direction ();
4833                 [Version (since = "3.6")]
4834                 public unowned GLib.MenuModel? get_menu_model ();
4835                 [Version (since = "3.12")]
4836                 public unowned Gtk.Popover? get_popover ();
4837                 [Version (since = "3.6")]
4838                 public unowned Gtk.Menu? get_popup ();
4839                 [Version (since = "3.12")]
4840                 public bool get_use_popover ();
4841                 [Version (since = "3.6")]
4842                 public void set_align_widget (Gtk.Widget? align_widget);
4843                 [Version (since = "3.6")]
4844                 public void set_direction (Gtk.ArrowType direction);
4845                 [Version (since = "3.6")]
4846                 public void set_menu_model (GLib.MenuModel? menu_model);
4847                 [Version (since = "3.12")]
4848                 public void set_popover (Gtk.Widget? popover);
4849                 [Version (since = "3.6")]
4850                 public void set_popup (Gtk.Widget? menu);
4851                 [Version (since = "3.12")]
4852                 public void set_use_popover (bool use_popover);
4853                 [Version (since = "3.6")]
4854                 public Gtk.Container align_widget { get; set; }
4855                 [Version (since = "3.6")]
4856                 public Gtk.ArrowType direction { get; set; }
4857                 [Version (since = "3.6")]
4858                 public GLib.MenuModel menu_model { get; set; }
4859                 [Version (since = "3.12")]
4860                 public Gtk.Popover popover { get; set; }
4861                 [Version (since = "3.6")]
4862                 public Gtk.Menu popup { get; set; }
4863                 [Version (since = "3.12")]
4864                 public bool use_popover { get; set; }
4865         }
4866         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_button_accessible_get_type ()")]
4867         public class MenuButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
4868                 [CCode (has_construct_function = false)]
4869                 protected MenuButtonAccessible ();
4870         }
4871         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_item_get_type ()")]
4872         public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4873                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4874                 public MenuItem ();
4875                 [Version (since = "2.14")]
4876                 public unowned string? get_accel_path ();
4877                 [Version (since = "2.16")]
4878                 public virtual unowned string get_label ();
4879                 [Version (since = "3.0")]
4880                 public bool get_reserve_indicator ();
4881                 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Widget.get_hexpand and Widget.get_halign")]
4882                 public bool get_right_justified ();
4883                 public unowned Gtk.Widget? get_submenu ();
4884                 [Version (since = "2.16")]
4885                 public bool get_use_underline ();
4886                 public void set_accel_path (string? accel_path);
4887                 [Version (since = "2.16")]
4888                 public virtual void set_label (string label);
4889                 [Version (since = "3.0")]
4890                 public void set_reserve_indicator (bool reserve);
4891                 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Widget.set_hexpand and Widget.set_halign")]
4892                 public void set_right_justified (bool right_justified);
4893                 public void set_submenu (Gtk.Menu? submenu);
4894                 [Version (since = "2.16")]
4895                 public void set_use_underline (bool setting);
4896                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4897                 public MenuItem.with_label (string label);
4898                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4899                 public MenuItem.with_mnemonic (string label);
4900                 [Version (since = "2.14")]
4901                 public string accel_path { get; set; }
4902                 [Version (since = "2.16")]
4903                 public string label { get; set; }
4904                 [Version (since = "2.14")]
4905                 public bool right_justified { get; set; }
4906                 [Version (since = "2.12")]
4907                 public Gtk.Menu submenu { get; set; }
4908                 [Version (since = "2.16")]
4909                 public bool use_underline { get; set; }
4910                 [HasEmitter]
4911                 public virtual signal void activate ();
4912                 public virtual signal void activate_item ();
4913                 [HasEmitter]
4914                 public virtual signal void deselect ();
4915                 [HasEmitter]
4916                 public virtual signal void select ();
4917                 [HasEmitter]
4918                 public virtual signal void toggle_size_allocate (int allocation);
4919                 [HasEmitter]
4920                 public virtual signal void toggle_size_request (void* requisition);
4921         }
4922         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_item_accessible_get_type ()")]
4923         public class MenuItemAccessible : Gtk.ContainerAccessible, Atk.Action, Atk.Component, Atk.Selection {
4924                 [CCode (has_construct_function = false)]
4925                 protected MenuItemAccessible ();
4926         }
4927         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_shell_get_type ()")]
4928         public abstract class MenuShell : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4929                 [CCode (has_construct_function = false)]
4930                 protected MenuShell ();
4931                 public void activate_item (Gtk.Widget menu_item, bool force_deactivate);
4932                 public void append (Gtk.MenuItem child);
4933                 [Version (since = "3.6")]
4934                 public void bind_model (GLib.MenuModel? model, string? action_namespace, bool with_separators);
4935                 public void deselect ();
4936                 [Version (since = "3.0")]
4937                 public unowned Gtk.Widget get_parent_shell ();
4938                 [NoWrapper]
4939                 public virtual int get_popup_delay ();
4940                 [Version (since = "3.0")]
4941                 public unowned Gtk.Widget get_selected_item ();
4942                 [Version (since = "2.8")]
4943                 public bool get_take_focus ();
4944                 public void prepend (Gtk.Widget child);
4945                 [Version (since = "2.2")]
4946                 public void select_first (bool search_sensitive);
4947                 public virtual void select_item (Gtk.Widget menu_item);
4948                 [Version (since = "2.8")]
4949                 public void set_take_focus (bool take_focus);
4950                 [Version (since = "2.8")]
4951                 public bool take_focus { get; set; }
4952                 public virtual signal void activate_current (bool force_hide);
4953                 [HasEmitter]
4954                 public virtual signal void cancel ();
4955                 public signal void cycle_focus (Gtk.DirectionType direction);
4956                 [HasEmitter]
4957                 public virtual signal void deactivate ();
4958                 [HasEmitter]
4959                 [Version (since = "3.2")]
4960                 public virtual signal void insert (Gtk.Widget child, int position);
4961                 public virtual signal void move_current (Gtk.MenuDirectionType direction);
4962                 [Version (since = "2.12")]
4963                 public virtual signal bool move_selected (int distance);
4964                 public virtual signal void selection_done ();
4965         }
4966         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_shell_accessible_get_type ()")]
4967         public class MenuShellAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
4968                 [CCode (has_construct_function = false)]
4969                 protected MenuShellAccessible ();
4970         }
4971         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_tool_button_get_type ()")]
4972         public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4973                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
4974                 [Version (since = "2.6")]
4975                 public MenuToolButton (Gtk.Widget? icon_widget, string? label);
4976                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
4977                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
4978                 public MenuToolButton.from_stock (string stock_id);
4979                 [Version (since = "2.6")]
4980                 public unowned Gtk.Widget get_menu ();
4981                 [Version (since = "2.12")]
4982                 public void set_arrow_tooltip_markup (string markup);
4983                 [Version (since = "2.12")]
4984                 public void set_arrow_tooltip_text (string text);
4985                 [Version (since = "2.6")]
4986                 public void set_menu (Gtk.Widget menu);
4987                 public Gtk.Menu menu { get; set; }
4988                 public virtual signal void show_menu ();
4989         }
4990         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_message_dialog_get_type ()")]
4991         public class MessageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
4992                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4993                 [PrintfFormat]
4994                 public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string? message_format, ...);
4995                 [PrintfFormat]
4996                 [Version (since = "2.6")]
4997                 public void format_secondary_markup (string message_format, ...);
4998                 [PrintfFormat]
4999                 [Version (since = "2.6")]
5000                 public void format_secondary_text (string? message_format, ...);
5001                 [Version (deprecated = true, deprecated_since = "3.12", since = "2.14")]
5002                 public unowned Gtk.Widget get_image ();
5003                 [Version (since = "2.22")]
5004                 public unowned Gtk.Widget get_message_area ();
5005                 [Version (deprecated = true, deprecated_since = "3.12", since = "2.10")]
5006                 public void set_image (Gtk.Widget image);
5007                 [Version (since = "2.4")]
5008                 public void set_markup (string str);
5009                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5010                 [PrintfFormat]
5011                 [Version (since = "2.4")]
5012                 public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string? message_format, ...);
5013                 [NoAccessorMethod]
5014                 public Gtk.ButtonsType buttons { construct; }
5015                 [Version (deprecated = true, deprecated_since = "3.12", since = "2.10")]
5016                 public Gtk.Widget image { get; set; }
5017                 [Version (since = "2.22")]
5018                 public Gtk.Widget message_area { get; }
5019                 [NoAccessorMethod]
5020                 public Gtk.MessageType message_type { get; set construct; }
5021                 [NoAccessorMethod]
5022                 [Version (since = "2.10")]
5023                 public string secondary_text { owned get; set; }
5024                 [NoAccessorMethod]
5025                 [Version (since = "2.10")]
5026                 public bool secondary_use_markup { get; set; }
5027                 [NoAccessorMethod]
5028                 [Version (since = "2.10")]
5029                 public string text { owned get; set; }
5030                 [NoAccessorMethod]
5031                 [Version (since = "2.10")]
5032                 public bool use_markup { get; set; }
5033         }
5034         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_misc_get_type ()")]
5035         [Version (deprecated = true, deprecated_since = "3.14")]
5036         public abstract class Misc : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
5037                 [CCode (has_construct_function = false)]
5038                 protected Misc ();
5039                 public void get_alignment (out float xalign, out float yalign);
5040                 public void get_padding (out int xpad, out int ypad);
5041                 public void set_alignment (float xalign, float yalign);
5042                 public void set_padding (int xpad, int ypad);
5043                 [NoAccessorMethod]
5044                 public float xalign { get; set; }
5045                 [NoAccessorMethod]
5046                 public int xpad { get; set; }
5047                 [NoAccessorMethod]
5048                 public float yalign { get; set; }
5049                 [NoAccessorMethod]
5050                 public int ypad { get; set; }
5051         }
5052         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_model_button_get_type ()")]
5053         public class ModelButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
5054                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5055                 [Version (since = "3.16")]
5056                 public ModelButton ();
5057                 [NoAccessorMethod]
5058                 [Version (since = "3.16")]
5059                 public bool active { get; set; }
5060                 [NoAccessorMethod]
5061                 [Version (since = "3.16")]
5062                 public bool centered { get; set; }
5063                 [NoAccessorMethod]
5064                 [Version (since = "3.16")]
5065                 public GLib.Icon? icon { owned get; set; }
5066                 [NoAccessorMethod]
5067                 [Version (since = "3.16")]
5068                 public bool iconic { get; set; }
5069                 [NoAccessorMethod]
5070                 [Version (since = "3.16")]
5071                 public bool inverted { get; set; }
5072                 [NoAccessorMethod]
5073                 [Version (since = "3.16")]
5074                 public string menu_name { owned get; set; }
5075                 [NoAccessorMethod]
5076                 [Version (since = "3.16")]
5077                 public Gtk.ButtonRole role { get; set; }
5078                 [NoAccessorMethod]
5079                 [Version (since = "3.16")]
5080                 public string text { owned get; set; }
5081         }
5082         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_mount_operation_get_type ()")]
5083         public class MountOperation : GLib.MountOperation {
5084                 [CCode (has_construct_function = false, type = "GMountOperation*")]
5085                 [Version (since = "2.14")]
5086                 public MountOperation (Gtk.Window? parent);
5087                 [Version (since = "2.14")]
5088                 public unowned Gtk.Window get_parent ();
5089                 [Version (since = "2.14")]
5090                 public unowned Gdk.Screen get_screen ();
5091                 [Version (since = "2.14")]
5092                 public void set_parent (Gtk.Window? parent);
5093                 [Version (since = "2.14")]
5094                 public void set_screen (Gdk.Screen screen);
5095                 [NoAccessorMethod]
5096                 public bool is_showing { get; }
5097                 public Gtk.Window parent { get; set; }
5098                 public Gdk.Screen screen { get; set; }
5099         }
5100         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_native_dialog_get_type ()")]
5101         public abstract class NativeDialog : GLib.Object {
5102                 [CCode (has_construct_function = false)]
5103                 protected NativeDialog ();
5104                 [Version (since = "3.20")]
5105                 public void destroy ();
5106                 [Version (since = "3.20")]
5107                 public bool get_modal ();
5108                 [Version (since = "3.20")]
5109                 public unowned string? get_title ();
5110                 [Version (since = "3.20")]
5111                 public unowned Gtk.Window? get_transient_for ();
5112                 [Version (since = "3.20")]
5113                 public bool get_visible ();
5114                 [Version (since = "3.20")]
5115                 public virtual void hide ();
5116                 [Version (since = "3.20")]
5117                 public int run ();
5118                 [Version (since = "3.20")]
5119                 public void set_modal (bool modal);
5120                 [Version (since = "3.20")]
5121                 public void set_title (string? title);
5122                 [Version (since = "3.20")]
5123                 public void set_transient_for (Gtk.Window? parent);
5124                 [Version (since = "3.20")]
5125                 public virtual void show ();
5126                 [Version (since = "3.20")]
5127                 public bool modal { get; set; }
5128                 [Version (since = "3.20")]
5129                 public string? title { get; set; }
5130                 [Version (since = "3.20")]
5131                 public Gtk.Window? transient_for { get; set construct; }
5132                 [NoAccessorMethod]
5133                 [Version (since = "3.20")]
5134                 public bool visible { get; set; }
5135                 [Version (since = "3.20")]
5136                 public virtual signal void response (int response_id);
5137         }
5138         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_notebook_get_type ()")]
5139         public class Notebook : Gtk.Container, Atk.Implementor, Gtk.Buildable {
5140                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5141                 public Notebook ();
5142                 public int append_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
5143                 public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
5144                 [Version (since = "3.16")]
5145                 public void detach_tab (Gtk.Widget child);
5146                 [Version (since = "2.20")]
5147                 public unowned Gtk.Widget? get_action_widget (Gtk.PackType pack_type);
5148                 public int get_current_page ();
5149                 [Version (since = "2.24")]
5150                 public unowned string? get_group_name ();
5151                 public unowned Gtk.Widget? get_menu_label (Gtk.Widget child);
5152                 public unowned string? get_menu_label_text (Gtk.Widget child);
5153                 [Version (since = "2.2")]
5154                 public int get_n_pages ();
5155                 public unowned Gtk.Widget? get_nth_page (int page_num);
5156                 public bool get_scrollable ();
5157                 public bool get_show_border ();
5158                 public bool get_show_tabs ();
5159                 [Version (since = "2.10")]
5160                 public bool get_tab_detachable (Gtk.Widget child);
5161                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.22")]
5162                 public uint16 get_tab_hborder ();
5163                 public unowned Gtk.Widget? get_tab_label (Gtk.Widget child);
5164                 public unowned string? get_tab_label_text (Gtk.Widget child);
5165                 public Gtk.PositionType get_tab_pos ();
5166                 [Version (since = "2.10")]
5167                 public bool get_tab_reorderable (Gtk.Widget child);
5168                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.22")]
5169                 public uint16 get_tab_vborder ();
5170                 public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
5171                 [CCode (vfunc_name = "insert_page")]
5172                 [NoWrapper]
5173                 public virtual int insert_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label, int position);
5174                 public void next_page ();
5175                 public int page_num (Gtk.Widget child);
5176                 public void popup_disable ();
5177                 public void popup_enable ();
5178                 public int prepend_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
5179                 public int prepend_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
5180                 public void prev_page ();
5181                 public void remove_page (int page_num);
5182                 public void reorder_child (Gtk.Widget child, int position);
5183                 [Version (since = "2.20")]
5184                 public void set_action_widget (Gtk.Widget widget, Gtk.PackType pack_type);
5185                 public void set_current_page (int page_num);
5186                 [Version (since = "2.24")]
5187                 public void set_group_name (string? group_name);
5188                 public void set_menu_label (Gtk.Widget child, Gtk.Widget? menu_label);
5189                 public void set_menu_label_text (Gtk.Widget child, string menu_text);
5190                 public void set_scrollable (bool scrollable);
5191                 public void set_show_border (bool show_border);
5192                 public void set_show_tabs (bool show_tabs);
5193                 [Version (since = "2.10")]
5194                 public void set_tab_detachable (Gtk.Widget child, bool detachable);
5195                 public void set_tab_label (Gtk.Widget child, Gtk.Widget? tab_label);
5196                 public void set_tab_label_text (Gtk.Widget child, string tab_text);
5197                 public void set_tab_pos (Gtk.PositionType pos);
5198                 [Version (since = "2.10")]
5199                 public void set_tab_reorderable (Gtk.Widget child, bool reorderable);
5200                 [NoAccessorMethod]
5201                 public bool enable_popup { get; set; }
5202                 [Version (since = "2.24")]
5203                 public string group_name { get; set; }
5204                 [NoAccessorMethod]
5205                 public int page { get; set; }
5206                 public bool scrollable { get; set; }
5207                 public bool show_border { get; set; }
5208                 public bool show_tabs { get; set; }
5209                 public Gtk.PositionType tab_pos { get; set; }
5210                 public virtual signal bool change_current_page (int offset);
5211                 [Version (since = "2.12")]
5212                 public signal unowned Gtk.Notebook create_window (Gtk.Widget page, int x, int y);
5213                 public virtual signal bool focus_tab (Gtk.NotebookTab type);
5214                 public virtual signal void move_focus_out (Gtk.DirectionType direction);
5215                 [Version (since = "2.10")]
5216                 public virtual signal void page_added (Gtk.Widget child, uint page_num);
5217                 [Version (since = "2.10")]
5218                 public virtual signal void page_removed (Gtk.Widget child, uint page_num);
5219                 [Version (since = "2.10")]
5220                 public virtual signal void page_reordered (Gtk.Widget child, uint page_num);
5221                 public virtual signal bool reorder_tab (Gtk.DirectionType direction, bool move_to_last);
5222                 public virtual signal bool select_page (bool move_focus);
5223                 public virtual signal void switch_page (Gtk.Widget page, uint page_num);
5224         }
5225         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_notebook_accessible_get_type ()")]
5226         public class NotebookAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
5227                 [CCode (has_construct_function = false)]
5228                 protected NotebookAccessible ();
5229         }
5230         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_notebook_page_accessible_get_type ()")]
5231         public class NotebookPageAccessible : Atk.Object, Atk.Component {
5232                 [CCode (has_construct_function = false, type = "AtkObject*")]
5233                 public NotebookPageAccessible (Gtk.NotebookAccessible notebook, Gtk.Widget child);
5234                 public void invalidate ();
5235         }
5236         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_numerable_icon_get_type ()")]
5237         [Version (deprecated = true, deprecated_since = "3.14")]
5238         public class NumerableIcon : GLib.EmblemedIcon, GLib.Icon {
5239                 [CCode (has_construct_function = false, type = "GIcon*")]
5240                 [Version (since = "3.0")]
5241                 public NumerableIcon (GLib.Icon base_icon);
5242                 [Version (since = "3.0")]
5243                 public unowned GLib.Icon? get_background_gicon ();
5244                 [Version (since = "3.0")]
5245                 public unowned string? get_background_icon_name ();
5246                 [Version (since = "3.0")]
5247                 public int get_count ();
5248                 [Version (since = "3.0")]
5249                 public unowned string? get_label ();
5250                 [Version (since = "3.0")]
5251                 public unowned Gtk.StyleContext? get_style_context ();
5252                 [Version (since = "3.0")]
5253                 public void set_background_gicon (GLib.Icon? icon);
5254                 [Version (since = "3.0")]
5255                 public void set_background_icon_name (string? icon_name);
5256                 [Version (since = "3.0")]
5257                 public void set_count (int count);
5258                 [Version (since = "3.0")]
5259                 public void set_label (string? label);
5260                 [Version (since = "3.0")]
5261                 public void set_style_context (Gtk.StyleContext style);
5262                 [CCode (has_construct_function = false, type = "GIcon*")]
5263                 [Version (since = "3.0")]
5264                 public NumerableIcon.with_style_context (GLib.Icon base_icon, Gtk.StyleContext context);
5265                 [NoAccessorMethod]
5266                 public GLib.Icon background_icon { owned get; set; }
5267                 public string background_icon_name { get; set; }
5268                 public int count { get; set; }
5269                 public string label { get; set; }
5270                 public Gtk.StyleContext style_context { get; set; }
5271         }
5272         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_offscreen_window_get_type ()")]
5273         public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
5274                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5275                 [Version (since = "2.20")]
5276                 public OffscreenWindow ();
5277                 [Version (since = "2.20")]
5278                 public Gdk.Pixbuf? get_pixbuf ();
5279                 [Version (since = "2.20")]
5280                 public unowned Cairo.Surface? get_surface ();
5281         }
5282         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_overlay_get_type ()")]
5283         public class Overlay : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
5284                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5285                 [Version (since = "3.2")]
5286                 public Overlay ();
5287                 [Version (since = "3.2")]
5288                 public void add_overlay (Gtk.Widget widget);
5289                 [Version (since = "3.18")]
5290                 public bool get_overlay_pass_through (Gtk.Widget widget);
5291                 [Version (since = "3.18")]
5292                 public void reorder_overlay (Gtk.Widget child, int position);
5293                 [Version (since = "3.18")]
5294                 public void set_overlay_pass_through (Gtk.Widget widget, bool pass_through);
5295                 public virtual signal bool get_child_position (Gtk.Widget widget, out Gdk.Rectangle allocation);
5296         }
5297         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_pad_controller_get_type ()")]
5298         public class PadController : Gtk.EventController {
5299                 [CCode (has_construct_function = false)]
5300                 [Version (since = "3.22")]
5301                 public PadController (Gtk.Window window, GLib.ActionGroup group, Gdk.Device? pad);
5302                 [Version (since = "3.22")]
5303                 public void set_action (Gtk.PadActionType type, int index, int mode, string label, string action_name);
5304                 [Version (since = "3.22")]
5305                 public void set_action_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.1)] Gtk.PadActionEntry[] entries);
5306                 [NoAccessorMethod]
5307                 public GLib.ActionGroup action_group { owned get; construct; }
5308                 [NoAccessorMethod]
5309                 public Gdk.Device pad { owned get; construct; }
5310         }
5311         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_page_setup_get_type ()")]
5312         public class PageSetup : GLib.Object {
5313                 [CCode (has_construct_function = false)]
5314                 [Version (since = "2.10")]
5315                 public PageSetup ();
5316                 [Version (since = "2.10")]
5317                 public Gtk.PageSetup copy ();
5318                 [CCode (has_construct_function = false)]
5319                 [Version (since = "2.12")]
5320                 public PageSetup.from_file (string file_name) throws GLib.Error;
5321                 [CCode (has_construct_function = false)]
5322                 [Version (since = "3.22")]
5323                 public PageSetup.from_gvariant (GLib.Variant variant);
5324                 [CCode (has_construct_function = false)]
5325                 [Version (since = "2.12")]
5326                 public PageSetup.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5327                 [Version (since = "2.10")]
5328                 public double get_bottom_margin (Gtk.Unit unit);
5329                 [Version (since = "2.10")]
5330                 public double get_left_margin (Gtk.Unit unit);
5331                 [Version (since = "2.10")]
5332                 public Gtk.PageOrientation get_orientation ();
5333                 [Version (since = "2.10")]
5334                 public double get_page_height (Gtk.Unit unit);
5335                 [Version (since = "2.10")]
5336                 public double get_page_width (Gtk.Unit unit);
5337                 [Version (since = "2.10")]
5338                 public double get_paper_height (Gtk.Unit unit);
5339                 [Version (since = "2.10")]
5340                 public unowned Gtk.PaperSize get_paper_size ();
5341                 [Version (since = "2.10")]
5342                 public double get_paper_width (Gtk.Unit unit);
5343                 [Version (since = "2.10")]
5344                 public double get_right_margin (Gtk.Unit unit);
5345                 [Version (since = "2.10")]
5346                 public double get_top_margin (Gtk.Unit unit);
5347                 [Version (since = "2.14")]
5348                 public bool load_file (string file_name) throws GLib.Error;
5349                 [Version (since = "2.14")]
5350                 public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5351                 [Version (since = "2.10")]
5352                 public void set_bottom_margin (double margin, Gtk.Unit unit);
5353                 [Version (since = "2.10")]
5354                 public void set_left_margin (double margin, Gtk.Unit unit);
5355                 [Version (since = "2.10")]
5356                 public void set_orientation (Gtk.PageOrientation orientation);
5357                 [Version (since = "2.10")]
5358                 public void set_paper_size (Gtk.PaperSize size);
5359                 [Version (since = "2.10")]
5360                 public void set_paper_size_and_default_margins (Gtk.PaperSize size);
5361                 [Version (since = "2.10")]
5362                 public void set_right_margin (double margin, Gtk.Unit unit);
5363                 [Version (since = "2.10")]
5364                 public void set_top_margin (double margin, Gtk.Unit unit);
5365                 [Version (since = "2.12")]
5366                 public bool to_file (string file_name) throws GLib.Error;
5367                 [CCode (returns_floating_reference = true)]
5368                 [Version (since = "3.22")]
5369                 public GLib.Variant to_gvariant ();
5370                 [Version (since = "2.12")]
5371                 public void to_key_file (GLib.KeyFile key_file, string group_name);
5372         }
5373         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_paned_get_type ()")]
5374         public class Paned : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5375                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5376                 [Version (since = "3.0")]
5377                 public Paned (Gtk.Orientation orientation);
5378                 public void add1 (Gtk.Widget child);
5379                 public void add2 (Gtk.Widget child);
5380                 [Version (since = "2.4")]
5381                 public unowned Gtk.Widget? get_child1 ();
5382                 [Version (since = "2.4")]
5383                 public unowned Gtk.Widget? get_child2 ();
5384                 [Version (since = "2.20")]
5385                 public unowned Gdk.Window get_handle_window ();
5386                 public int get_position ();
5387                 [Version (since = "3.16")]
5388                 public bool get_wide_handle ();
5389                 public void pack1 (Gtk.Widget child, bool resize, bool shrink);
5390                 public void pack2 (Gtk.Widget child, bool resize, bool shrink);
5391                 public void set_position (int position);
5392                 [Version (since = "3.16")]
5393                 public void set_wide_handle (bool wide);
5394                 [NoAccessorMethod]
5395                 [Version (since = "2.4")]
5396                 public int max_position { get; }
5397                 [NoAccessorMethod]
5398                 [Version (since = "2.4")]
5399                 public int min_position { get; }
5400                 public int position { get; set; }
5401                 [NoAccessorMethod]
5402                 public bool position_set { get; set; }
5403                 [Version (since = "3.16")]
5404                 public bool wide_handle { get; set; }
5405                 [Version (since = "2.0")]
5406                 public virtual signal bool accept_position ();
5407                 [Version (since = "2.0")]
5408                 public virtual signal bool cancel_position ();
5409                 [Version (since = "2.0")]
5410                 public virtual signal bool cycle_child_focus (bool reverse);
5411                 [Version (since = "2.0")]
5412                 public virtual signal bool cycle_handle_focus (bool reverse);
5413                 [Version (since = "2.0")]
5414                 public virtual signal bool move_handle (Gtk.ScrollType scroll);
5415                 [Version (since = "2.0")]
5416                 public virtual signal bool toggle_handle_focus ();
5417         }
5418         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_paned_accessible_get_type ()")]
5419         public class PanedAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Value {
5420                 [CCode (has_construct_function = false)]
5421                 protected PanedAccessible ();
5422         }
5423         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_paper_size_get_type ()")]
5424         [Compact]
5425         public class PaperSize {
5426                 [CCode (has_construct_function = false)]
5427                 [Version (since = "2.10")]
5428                 public PaperSize (string? name);
5429                 [Version (since = "2.10")]
5430                 public Gtk.PaperSize copy ();
5431                 [CCode (has_construct_function = false)]
5432                 [Version (since = "2.10")]
5433                 public PaperSize.custom (string name, string display_name, double width, double height, Gtk.Unit unit);
5434                 [DestroysInstance]
5435                 [Version (since = "2.10")]
5436                 public void free ();
5437                 [CCode (has_construct_function = false)]
5438                 [Version (since = "3.22")]
5439                 public PaperSize.from_gvariant (GLib.Variant variant);
5440                 [CCode (has_construct_function = false)]
5441                 [Version (since = "3.16")]
5442                 public PaperSize.from_ipp (string ipp_name, double width, double height);
5443                 [CCode (has_construct_function = false)]
5444                 [Version (since = "2.12")]
5445                 public PaperSize.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
5446                 [CCode (has_construct_function = false)]
5447                 [Version (since = "2.10")]
5448                 public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height);
5449                 [CCode (cheader_filename = "gtk/gtk.h")]
5450                 [Version (since = "2.10")]
5451                 public static unowned string get_default ();
5452                 [Version (since = "2.10")]
5453                 public double get_default_bottom_margin (Gtk.Unit unit);
5454                 [Version (since = "2.10")]
5455                 public double get_default_left_margin (Gtk.Unit unit);
5456                 [Version (since = "2.10")]
5457                 public double get_default_right_margin (Gtk.Unit unit);
5458                 [Version (since = "2.10")]
5459                 public double get_default_top_margin (Gtk.Unit unit);
5460                 [Version (since = "2.10")]
5461                 public unowned string get_display_name ();
5462                 [Version (since = "2.10")]
5463                 public double get_height (Gtk.Unit unit);
5464                 [Version (since = "2.10")]
5465                 public unowned string get_name ();
5466                 [CCode (cheader_filename = "gtk/gtk.h")]
5467                 [Version (since = "2.12")]
5468                 public static GLib.List<Gtk.PaperSize> get_paper_sizes (bool include_custom);
5469                 [Version (since = "2.10")]
5470                 public unowned string get_ppd_name ();
5471                 [Version (since = "2.10")]
5472                 public double get_width (Gtk.Unit unit);
5473                 public bool is_custom ();
5474                 [Version (since = "2.10")]
5475                 public bool is_equal (Gtk.PaperSize size2);
5476                 public bool is_ipp ();
5477                 [Version (since = "2.10")]
5478                 public void set_size (double width, double height, Gtk.Unit unit);
5479                 [CCode (returns_floating_reference = true)]
5480                 [Version (since = "3.22")]
5481                 public GLib.Variant to_gvariant ();
5482                 [Version (since = "2.12")]
5483                 public void to_key_file (GLib.KeyFile key_file, string group_name);
5484         }
5485         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_places_sidebar_get_type ()")]
5486         public class PlacesSidebar : Gtk.ScrolledWindow, Atk.Implementor, Gtk.Buildable {
5487                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5488                 [Version (since = "3.10")]
5489                 public PlacesSidebar ();
5490                 [Version (since = "3.10")]
5491                 public void add_shortcut (GLib.File location);
5492                 [Version (since = "3.12")]
5493                 public bool get_local_only ();
5494                 [Version (since = "3.10")]
5495                 public GLib.File? get_location ();
5496                 [Version (since = "3.10")]
5497                 public GLib.File? get_nth_bookmark (int n);
5498                 [Version (since = "3.10")]
5499                 public Gtk.PlacesOpenFlags get_open_flags ();
5500                 [Version (deprecated = true, deprecated_since = "3.18")]
5501                 public bool get_show_connect_to_server ();
5502                 [Version (since = "3.10")]
5503                 public bool get_show_desktop ();
5504                 [Version (since = "3.14")]
5505                 public bool get_show_enter_location ();
5506                 [Version (since = "3.18")]
5507                 public bool get_show_other_locations ();
5508                 [Version (since = "3.18")]
5509                 public bool get_show_recent ();
5510                 [Version (since = "3.22.26")]
5511                 public bool get_show_starred_location ();
5512                 [Version (since = "3.18")]
5513                 public bool get_show_trash ();
5514                 [Version (since = "3.10")]
5515                 public GLib.SList<GLib.File> list_shortcuts ();
5516                 [Version (since = "3.10")]
5517                 public void remove_shortcut (GLib.File location);
5518                 [Version (since = "3.18")]
5519                 public void set_drop_targets_visible (bool visible, Gdk.DragContext context);
5520                 [Version (since = "3.12")]
5521                 public void set_local_only (bool local_only);
5522                 [Version (since = "3.10")]
5523                 public void set_location (GLib.File? location);
5524                 [Version (since = "3.10")]
5525                 public void set_open_flags (Gtk.PlacesOpenFlags flags);
5526                 [Version (deprecated = true, deprecated_since = "3.18", since = "3.10")]
5527                 public void set_show_connect_to_server (bool show_connect_to_server);
5528                 [Version (since = "3.10")]
5529                 public void set_show_desktop (bool show_desktop);
5530                 [Version (since = "3.14")]
5531                 public void set_show_enter_location (bool show_enter_location);
5532                 [Version (since = "3.18")]
5533                 public void set_show_other_locations (bool show_other_locations);
5534                 [Version (since = "3.18")]
5535                 public void set_show_recent (bool show_recent);
5536                 [Version (since = "3.22.26")]
5537                 public void set_show_starred_location (bool show_starred_location);
5538                 [Version (since = "3.18")]
5539                 public void set_show_trash (bool show_trash);
5540                 public bool local_only { get; set; }
5541                 public GLib.File location { owned get; set; }
5542                 public Gtk.PlacesOpenFlags open_flags { get; set; }
5543                 [NoAccessorMethod]
5544                 [Version (since = "3.18")]
5545                 public bool populate_all { get; set; }
5546                 public bool show_connect_to_server { get; set; }
5547                 public bool show_desktop { get; set; }
5548                 public bool show_enter_location { get; set; }
5549                 public bool show_other_locations { get; set; }
5550                 public bool show_recent { get; set; }
5551                 public bool show_starred_location { get; set; }
5552                 public bool show_trash { get; set; }
5553                 [Version (since = "3.10")]
5554                 public signal int drag_action_ask (int actions);
5555                 [Version (since = "3.10")]
5556                 public signal int drag_action_requested (Gdk.DragContext context, GLib.File dest_file, GLib.List<GLib.File> source_file_list);
5557                 [Version (since = "3.10")]
5558                 public signal void drag_perform_drop (GLib.File dest_file, GLib.List<GLib.File> source_file_list, int action);
5559                 [Version (since = "3.20")]
5560                 public signal void mount (GLib.MountOperation mount_operation);
5561                 [Version (since = "3.10")]
5562                 public signal void open_location (GLib.File location, Gtk.PlacesOpenFlags open_flags);
5563                 [Version (since = "3.10")]
5564                 public signal void populate_popup (Gtk.Widget container, GLib.File? selected_item, GLib.Volume? selected_volume);
5565                 [Version (since = "3.10")]
5566                 public signal void show_error_message (string primary, string secondary);
5567                 [CCode (cname = "show-other-locations")]
5568                 [Version (deprecated = true, deprecated_since = "3.20", since = "3.18")]
5569                 public signal void show_other_locations_requested ();
5570                 [Version (since = "3.20")]
5571                 public signal void show_other_locations_with_flags (Gtk.PlacesOpenFlags open_flags);
5572                 [Version (since = "3.20")]
5573                 public signal void unmount (GLib.MountOperation mount_operation);
5574         }
5575         [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_plug_get_type ()")]
5576         public class Plug : Gtk.Window, Atk.Implementor, Gtk.Buildable {
5577                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5578                 public Plug (X.Window socket_id);
5579                 public void @construct (X.Window socket_id);
5580                 [Version (since = "2.2")]
5581                 public void construct_for_display (Gdk.Display display, X.Window socket_id);
5582                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5583                 [Version (since = "2.2")]
5584                 public Plug.for_display (Gdk.Display display, X.Window socket_id);
5585                 [Version (since = "2.14")]
5586                 public bool get_embedded ();
5587                 public X.Window get_id ();
5588                 [Version (since = "2.14")]
5589                 public unowned Gdk.Window? get_socket_window ();
5590                 [Version (since = "2.12")]
5591                 public virtual bool embedded { get; }
5592                 [Version (since = "2.14")]
5593                 public Gdk.Window socket_window { get; }
5594         }
5595         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_get_type ()")]
5596         public class Popover : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
5597                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5598                 [Version (since = "3.12")]
5599                 public Popover (Gtk.Widget? relative_to);
5600                 [Version (since = "3.12")]
5601                 public void bind_model (GLib.MenuModel? model, string? action_namespace);
5602                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5603                 [Version (since = "3.12")]
5604                 public Popover.from_model (Gtk.Widget? relative_to, GLib.MenuModel model);
5605                 [Version (since = "3.20")]
5606                 public Gtk.PopoverConstraint get_constrain_to ();
5607                 [Version (since = "3.18")]
5608                 public unowned Gtk.Widget? get_default_widget ();
5609                 [Version (since = "3.12")]
5610                 public bool get_modal ();
5611                 public bool get_pointing_to (out Gdk.Rectangle rect);
5612                 public Gtk.PositionType get_position ();
5613                 [Version (since = "3.12")]
5614                 public unowned Gtk.Widget get_relative_to ();
5615                 [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
5616                 public bool get_transitions_enabled ();
5617                 [Version (since = "3.22")]
5618                 public void popdown ();
5619                 [Version (since = "3.22")]
5620                 public void popup ();
5621                 [Version (since = "3.20")]
5622                 public void set_constrain_to (Gtk.PopoverConstraint constraint);
5623                 [Version (since = "3.18")]
5624                 public void set_default_widget (Gtk.Widget? widget);
5625                 [Version (since = "3.12")]
5626                 public void set_modal (bool modal);
5627                 [Version (since = "3.12")]
5628                 public void set_pointing_to (Gdk.Rectangle rect);
5629                 [Version (since = "3.12")]
5630                 public void set_position (Gtk.PositionType position);
5631                 [Version (since = "3.12")]
5632                 public void set_relative_to (Gtk.Widget? relative_to);
5633                 [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
5634                 public void set_transitions_enabled (bool transitions_enabled);
5635                 [Version (since = "3.20")]
5636                 public Gtk.PopoverConstraint constrain_to { get; set; }
5637                 [Version (since = "3.12")]
5638                 public bool modal { get; set; }
5639                 [NoAccessorMethod]
5640                 [Version (since = "3.12")]
5641                 public Gdk.Rectangle pointing_to { get; set; }
5642                 [Version (since = "3.12")]
5643                 public Gtk.PositionType position { get; set; }
5644                 [Version (since = "3.12")]
5645                 public Gtk.Widget relative_to { get; set; }
5646                 [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
5647                 public bool transitions_enabled { get; set; }
5648                 public virtual signal void closed ();
5649         }
5650         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_popover_accessible_get_type ()")]
5651         public class PopoverAccessible : Gtk.ContainerAccessible, Atk.Component {
5652                 [CCode (has_construct_function = false)]
5653                 protected PopoverAccessible ();
5654         }
5655         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_menu_get_type ()")]
5656         public class PopoverMenu : Gtk.Popover, Atk.Implementor, Gtk.Buildable {
5657                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5658                 [Version (since = "3.16")]
5659                 public PopoverMenu ();
5660                 [Version (since = "3.16")]
5661                 public void open_submenu (string name);
5662                 [NoAccessorMethod]
5663                 public string visible_submenu { owned get; set; }
5664         }
5665         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_context_get_type ()")]
5666         public class PrintContext : GLib.Object {
5667                 [CCode (has_construct_function = false)]
5668                 protected PrintContext ();
5669                 [Version (since = "2.10")]
5670                 public Pango.Context create_pango_context ();
5671                 [Version (since = "2.10")]
5672                 public Pango.Layout create_pango_layout ();
5673                 [Version (since = "2.10")]
5674                 public unowned Cairo.Context get_cairo_context ();
5675                 [Version (since = "2.10")]
5676                 public double get_dpi_x ();
5677                 [Version (since = "2.10")]
5678                 public double get_dpi_y ();
5679                 [Version (since = "2.20")]
5680                 public bool get_hard_margins (out double top, out double bottom, out double left, out double right);
5681                 [Version (since = "2.10")]
5682                 public double get_height ();
5683                 [Version (since = "2.10")]
5684                 public unowned Gtk.PageSetup get_page_setup ();
5685                 [Version (since = "2.10")]
5686                 public unowned Pango.FontMap get_pango_fontmap ();
5687                 [Version (since = "2.10")]
5688                 public double get_width ();
5689                 [Version (since = "2.10")]
5690                 public void set_cairo_context (Cairo.Context cr, double dpi_x, double dpi_y);
5691         }
5692         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_get_type ()")]
5693         public class PrintOperation : GLib.Object, Gtk.PrintOperationPreview {
5694                 [CCode (has_construct_function = false)]
5695                 [Version (since = "2.10")]
5696                 public PrintOperation ();
5697                 [Version (since = "2.10")]
5698                 public void cancel ();
5699                 [Version (since = "2.16")]
5700                 public void draw_page_finish ();
5701                 [Version (since = "2.10")]
5702                 public unowned Gtk.PageSetup get_default_page_setup ();
5703                 [Version (since = "2.18")]
5704                 public bool get_embed_page_setup ();
5705                 [Version (since = "2.10")]
5706                 public void get_error () throws GLib.Error;
5707                 [Version (since = "2.18")]
5708                 public bool get_has_selection ();
5709                 [Version (since = "2.18")]
5710                 public int get_n_pages_to_print ();
5711                 [Version (since = "2.10")]
5712                 public unowned Gtk.PrintSettings get_print_settings ();
5713                 [Version (since = "2.10")]
5714                 public Gtk.PrintStatus get_status ();
5715                 [Version (since = "2.10")]
5716                 public unowned string get_status_string ();
5717                 [Version (since = "2.18")]
5718                 public bool get_support_selection ();
5719                 [Version (since = "2.10")]
5720                 public bool is_finished ();
5721                 [Version (since = "2.10")]
5722                 public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window? parent) throws GLib.Error;
5723                 [Version (since = "2.10")]
5724                 public void set_allow_async (bool allow_async);
5725                 [Version (since = "2.10")]
5726                 public void set_current_page (int current_page);
5727                 [Version (since = "2.10")]
5728                 public void set_custom_tab_label (string? label);
5729                 [Version (since = "2.10")]
5730                 public void set_default_page_setup (Gtk.PageSetup? default_page_setup);
5731                 [Version (since = "2.16")]
5732                 public void set_defer_drawing ();
5733                 [Version (since = "2.18")]
5734                 public void set_embed_page_setup (bool embed);
5735                 [Version (since = "2.10")]
5736                 public void set_export_filename (string filename);
5737                 [Version (since = "2.18")]
5738                 public void set_has_selection (bool has_selection);
5739                 [Version (since = "2.10")]
5740                 public void set_job_name (string job_name);
5741                 [Version (since = "2.10")]
5742                 public void set_n_pages (int n_pages);
5743                 [Version (since = "2.10")]
5744                 public void set_print_settings (Gtk.PrintSettings? print_settings);
5745                 [Version (since = "2.10")]
5746                 public void set_show_progress (bool show_progress);
5747                 [Version (since = "2.18")]
5748                 public void set_support_selection (bool support_selection);
5749                 [Version (since = "2.10")]
5750                 public void set_track_print_status (bool track_status);
5751                 [Version (since = "2.10")]
5752                 public void set_unit (Gtk.Unit unit);
5753                 [Version (since = "2.10")]
5754                 public void set_use_full_page (bool full_page);
5755                 [NoAccessorMethod]
5756                 [Version (since = "2.10")]
5757                 public bool allow_async { get; set; }
5758                 [NoAccessorMethod]
5759                 [Version (since = "2.10")]
5760                 public int current_page { get; set; }
5761                 [NoAccessorMethod]
5762                 [Version (since = "2.10")]
5763                 public string custom_tab_label { owned get; set; }
5764                 [Version (since = "2.10")]
5765                 public Gtk.PageSetup default_page_setup { get; set; }
5766                 [Version (since = "2.18")]
5767                 public bool embed_page_setup { get; set; }
5768                 [NoAccessorMethod]
5769                 [Version (since = "2.10")]
5770                 public string export_filename { owned get; set; }
5771                 [Version (since = "2.18")]
5772                 public bool has_selection { get; set; }
5773                 [NoAccessorMethod]
5774                 [Version (since = "2.10")]
5775                 public string job_name { owned get; set; }
5776                 [NoAccessorMethod]
5777                 [Version (since = "2.10")]
5778                 public int n_pages { get; set; }
5779                 [Version (since = "2.18")]
5780                 public int n_pages_to_print { get; }
5781                 [Version (since = "2.10")]
5782                 public Gtk.PrintSettings print_settings { get; set; }
5783                 [NoAccessorMethod]
5784                 [Version (since = "2.10")]
5785                 public bool show_progress { get; set; }
5786                 [Version (since = "2.10")]
5787                 public Gtk.PrintStatus status { get; }
5788                 [Version (since = "2.10")]
5789                 public string status_string { get; }
5790                 [Version (since = "2.18")]
5791                 public bool support_selection { get; set; }
5792                 [NoAccessorMethod]
5793                 [Version (since = "2.10")]
5794                 public bool track_print_status { get; set; }
5795                 [NoAccessorMethod]
5796                 [Version (since = "2.10")]
5797                 public Gtk.Unit unit { get; set; }
5798                 [NoAccessorMethod]
5799                 [Version (since = "2.10")]
5800                 public bool use_full_page { get; set; }
5801                 [Version (since = "2.10")]
5802                 public virtual signal void begin_print (Gtk.PrintContext context);
5803                 [Version (since = "2.10")]
5804                 public signal unowned GLib.Object create_custom_widget ();
5805                 [Version (since = "2.10")]
5806                 public virtual signal void custom_widget_apply (Gtk.Widget widget);
5807                 [Version (since = "2.10")]
5808                 public virtual signal void done (Gtk.PrintOperationResult result);
5809                 [Version (since = "2.10")]
5810                 public virtual signal void draw_page (Gtk.PrintContext context, int page_nr);
5811                 [Version (since = "2.10")]
5812                 public virtual signal void end_print (Gtk.PrintContext context);
5813                 [Version (since = "2.10")]
5814                 public virtual signal bool paginate (Gtk.PrintContext context);
5815                 [Version (since = "2.10")]
5816                 public virtual signal bool preview (Gtk.PrintOperationPreview preview, Gtk.PrintContext context, Gtk.Window? parent);
5817                 [Version (since = "2.10")]
5818                 public virtual signal void request_page_setup (Gtk.PrintContext context, int page_nr, Gtk.PageSetup setup);
5819                 [Version (since = "2.10")]
5820                 public virtual signal void status_changed ();
5821                 [Version (since = "2.18")]
5822                 public virtual signal void update_custom_widget (Gtk.Widget widget, Gtk.PageSetup setup, Gtk.PrintSettings settings);
5823         }
5824         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_settings_get_type ()")]
5825         public class PrintSettings : GLib.Object {
5826                 [CCode (has_construct_function = false)]
5827                 [Version (since = "2.10")]
5828                 public PrintSettings ();
5829                 [Version (since = "2.10")]
5830                 public Gtk.PrintSettings copy ();
5831                 [Version (since = "2.10")]
5832                 public void @foreach (Gtk.PrintSettingsFunc func);
5833                 [CCode (has_construct_function = false)]
5834                 [Version (since = "2.12")]
5835                 public PrintSettings.from_file (string file_name) throws GLib.Error;
5836                 [CCode (has_construct_function = false)]
5837                 [Version (since = "3.22")]
5838                 public PrintSettings.from_gvariant (GLib.Variant variant);
5839                 [CCode (has_construct_function = false)]
5840                 [Version (since = "2.12")]
5841                 public PrintSettings.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5842                 [Version (since = "2.10")]
5843                 public unowned string @get (string key);
5844                 [Version (since = "2.10")]
5845                 public bool get_bool (string key);
5846                 [Version (since = "2.10")]
5847                 public bool get_collate ();
5848                 [Version (since = "2.10")]
5849                 public unowned string get_default_source ();
5850                 [Version (since = "2.10")]
5851                 public unowned string get_dither ();
5852                 [Version (since = "2.10")]
5853                 public double get_double (string key);
5854                 [Version (since = "2.10")]
5855                 public double get_double_with_default (string key, double def);
5856                 [Version (since = "2.10")]
5857                 public Gtk.PrintDuplex get_duplex ();
5858                 [Version (since = "2.10")]
5859                 public unowned string get_finishings ();
5860                 [Version (since = "2.10")]
5861                 public int get_int (string key);
5862                 [Version (since = "2.10")]
5863                 public int get_int_with_default (string key, int def);
5864                 [Version (since = "2.10")]
5865                 public double get_length (string key, Gtk.Unit unit);
5866                 [Version (since = "2.10")]
5867                 public unowned string get_media_type ();
5868                 [Version (since = "2.10")]
5869                 public int get_n_copies ();
5870                 [Version (since = "2.10")]
5871                 public int get_number_up ();
5872                 [Version (since = "2.14")]
5873                 public Gtk.NumberUpLayout get_number_up_layout ();
5874                 [Version (since = "2.10")]
5875                 public Gtk.PageOrientation get_orientation ();
5876                 [Version (since = "2.10")]
5877                 public unowned string get_output_bin ();
5878                 [CCode (array_length_pos = 0.1)]
5879                 [Version (since = "2.10")]
5880                 public Gtk.PageRange[] get_page_ranges ();
5881                 [Version (since = "2.10")]
5882                 public Gtk.PageSet get_page_set ();
5883                 [Version (since = "2.10")]
5884                 public double get_paper_height (Gtk.Unit unit);
5885                 [Version (since = "2.10")]
5886                 public Gtk.PaperSize get_paper_size ();
5887                 [Version (since = "2.10")]
5888                 public double get_paper_width (Gtk.Unit unit);
5889                 [Version (since = "2.10")]
5890                 public Gtk.PrintPages get_print_pages ();
5891                 [Version (since = "2.10")]
5892                 public unowned string get_printer ();
5893                 [Version (since = "2.16")]
5894                 public double get_printer_lpi ();
5895                 [Version (since = "2.10")]
5896                 public Gtk.PrintQuality get_quality ();
5897                 [Version (since = "2.10")]
5898                 public int get_resolution ();
5899                 [Version (since = "2.16")]
5900                 public int get_resolution_x ();
5901                 [Version (since = "2.16")]
5902                 public int get_resolution_y ();
5903                 [Version (since = "2.10")]
5904                 public bool get_reverse ();
5905                 [Version (since = "2.10")]
5906                 public double get_scale ();
5907                 [Version (since = "2.10")]
5908                 public bool get_use_color ();
5909                 [Version (since = "2.10")]
5910                 public bool has_key (string key);
5911                 [Version (since = "2.14")]
5912                 public bool load_file (string file_name) throws GLib.Error;
5913                 [Version (since = "2.14")]
5914                 public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5915                 [Version (since = "2.10")]
5916                 public void @set (string key, string? value);
5917                 [Version (since = "2.10")]
5918                 public void set_bool (string key, bool value);
5919                 [Version (since = "2.10")]
5920                 public void set_collate (bool collate);
5921                 [Version (since = "2.10")]
5922                 public void set_default_source (string default_source);
5923                 [Version (since = "2.10")]
5924                 public void set_dither (string dither);
5925                 [Version (since = "2.10")]
5926                 public void set_double (string key, double value);
5927                 [Version (since = "2.10")]
5928                 public void set_duplex (Gtk.PrintDuplex duplex);
5929                 [Version (since = "2.10")]
5930                 public void set_finishings (string finishings);
5931                 [Version (since = "2.10")]
5932                 public void set_int (string key, int value);
5933                 [Version (since = "2.10")]
5934                 public void set_length (string key, double value, Gtk.Unit unit);
5935                 [Version (since = "2.10")]
5936                 public void set_media_type (string media_type);
5937                 [Version (since = "2.10")]
5938                 public void set_n_copies (int num_copies);
5939                 [Version (since = "2.10")]
5940                 public void set_number_up (int number_up);
5941                 [Version (since = "2.14")]
5942                 public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout);
5943                 [Version (since = "2.10")]
5944                 public void set_orientation (Gtk.PageOrientation orientation);
5945                 [Version (since = "2.10")]
5946                 public void set_output_bin (string output_bin);
5947                 [Version (since = "2.10")]
5948                 public void set_page_ranges ([CCode (array_length_cname = "num_ranges", array_length_pos = 1.1)] Gtk.PageRange[] page_ranges);
5949                 [Version (since = "2.10")]
5950                 public void set_page_set (Gtk.PageSet page_set);
5951                 [Version (since = "2.10")]
5952                 public void set_paper_height (double height, Gtk.Unit unit);
5953                 [Version (since = "2.10")]
5954                 public void set_paper_size (Gtk.PaperSize paper_size);
5955                 [Version (since = "2.10")]
5956                 public void set_paper_width (double width, Gtk.Unit unit);
5957                 [Version (since = "2.10")]
5958                 public void set_print_pages (Gtk.PrintPages pages);
5959                 [Version (since = "2.10")]
5960                 public void set_printer (string printer);
5961                 [Version (since = "2.16")]
5962                 public void set_printer_lpi (double lpi);
5963                 [Version (since = "2.10")]
5964                 public void set_quality (Gtk.PrintQuality quality);
5965                 [Version (since = "2.10")]
5966                 public void set_resolution (int resolution);
5967                 [Version (since = "2.16")]
5968                 public void set_resolution_xy (int resolution_x, int resolution_y);
5969                 [Version (since = "2.10")]
5970                 public void set_reverse (bool reverse);
5971                 [Version (since = "2.10")]
5972                 public void set_scale (double scale);
5973                 [Version (since = "2.10")]
5974                 public void set_use_color (bool use_color);
5975                 [Version (since = "2.12")]
5976                 public bool to_file (string file_name) throws GLib.Error;
5977                 [CCode (returns_floating_reference = true)]
5978                 [Version (since = "3.22")]
5979                 public GLib.Variant to_gvariant ();
5980                 [Version (since = "2.12")]
5981                 public void to_key_file (GLib.KeyFile key_file, string group_name);
5982                 [Version (since = "2.10")]
5983                 public void unset (string key);
5984         }
5985         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_progress_bar_get_type ()")]
5986         public class ProgressBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5987                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5988                 public ProgressBar ();
5989                 [Version (since = "2.6")]
5990                 public Pango.EllipsizeMode get_ellipsize ();
5991                 public double get_fraction ();
5992                 public bool get_inverted ();
5993                 public double get_pulse_step ();
5994                 [Version (since = "3.0")]
5995                 public bool get_show_text ();
5996                 public unowned string? get_text ();
5997                 public void pulse ();
5998                 [Version (since = "2.6")]
5999                 public void set_ellipsize (Pango.EllipsizeMode mode);
6000                 public void set_fraction (double fraction);
6001                 public void set_inverted (bool inverted);
6002                 public void set_pulse_step (double fraction);
6003                 [Version (since = "3.0")]
6004                 public void set_show_text (bool show_text);
6005                 public void set_text (string? text);
6006                 [Version (since = "2.6")]
6007                 public Pango.EllipsizeMode ellipsize { get; set; }
6008                 public double fraction { get; set; }
6009                 public bool inverted { get; set; }
6010                 public double pulse_step { get; set; }
6011                 [Version (since = "3.0")]
6012                 public bool show_text { get; set; }
6013                 public string text { get; set; }
6014         }
6015         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_progress_bar_accessible_get_type ()")]
6016         public class ProgressBarAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
6017                 [CCode (has_construct_function = false)]
6018                 protected ProgressBarAccessible ();
6019         }
6020         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_action_get_type ()")]
6021         [Version (deprecated = true, deprecated_since = "3.10")]
6022         public class RadioAction : Gtk.ToggleAction, Gtk.Buildable {
6023                 [CCode (has_construct_function = false)]
6024                 [Version (since = "2.4")]
6025                 public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
6026                 [Version (since = "2.4")]
6027                 public int get_current_value ();
6028                 [Version (since = "2.4")]
6029                 public unowned GLib.SList<Gtk.RadioAction> get_group ();
6030                 [Version (since = "3.0")]
6031                 public void join_group (Gtk.RadioAction? group_source);
6032                 [Version (since = "2.10")]
6033                 public void set_current_value (int current_value);
6034                 [Version (since = "2.4")]
6035                 public void set_group (GLib.SList<Gtk.RadioAction>? group);
6036                 [Version (since = "2.10")]
6037                 public int current_value { get; set; }
6038                 [Version (since = "2.4")]
6039                 public Gtk.RadioAction group { set; }
6040                 [NoAccessorMethod]
6041                 [Version (since = "2.4")]
6042                 public int value { get; set; }
6043                 [Version (since = "2.4")]
6044                 public virtual signal void changed (Gtk.RadioAction current);
6045         }
6046         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_button_get_type ()")]
6047         public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6048                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6049                 public RadioButton (GLib.SList<Gtk.RadioButton>? group);
6050                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6051                 public RadioButton.from_widget (Gtk.RadioButton? radio_group_member);
6052                 public unowned GLib.SList<Gtk.RadioButton> get_group ();
6053                 [Version (since = "3.0")]
6054                 public void join_group (Gtk.RadioButton? group_source);
6055                 public void set_group (GLib.SList<Gtk.RadioButton>? group);
6056                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6057                 public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
6058                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6059                 public RadioButton.with_label_from_widget (Gtk.RadioButton? radio_group_member, string label);
6060                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6061                 public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
6062                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6063                 public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton? radio_group_member, string label);
6064                 public Gtk.RadioButton group { set; }
6065                 [Version (since = "2.4")]
6066                 public virtual signal void group_changed ();
6067         }
6068         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_button_accessible_get_type ()")]
6069         public class RadioButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
6070                 [CCode (has_construct_function = false)]
6071                 protected RadioButtonAccessible ();
6072         }
6073         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_menu_item_get_type ()")]
6074         public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6075                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6076                 public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem>? group);
6077                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6078                 [Version (since = "2.4")]
6079                 public RadioMenuItem.from_widget (Gtk.RadioMenuItem? group);
6080                 public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
6081                 [Version (since = "3.18")]
6082                 public void join_group (Gtk.RadioMenuItem? group_source);
6083                 public void set_group (GLib.SList<Gtk.RadioMenuItem>? group);
6084                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6085                 public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem>? group, string label);
6086                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6087                 [Version (since = "2.4")]
6088                 public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem? group, string? label);
6089                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6090                 public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem>? group, string label);
6091                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6092                 [Version (since = "2.4")]
6093                 public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem? group, string? label);
6094                 [Version (since = "2.8")]
6095                 public Gtk.RadioMenuItem group { set; }
6096                 public virtual signal void group_changed ();
6097         }
6098         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_menu_item_accessible_get_type ()")]
6099         public class RadioMenuItemAccessible : Gtk.CheckMenuItemAccessible, Atk.Action, Atk.Component, Atk.Selection {
6100                 [CCode (has_construct_function = false)]
6101                 protected RadioMenuItemAccessible ();
6102         }
6103         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_tool_button_get_type ()")]
6104         public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6105                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6106                 [Version (since = "2.4")]
6107                 public RadioToolButton (GLib.SList<Gtk.RadioButton>? group);
6108                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6109                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6110                 public RadioToolButton.from_stock (GLib.SList<Gtk.RadioButton>? group, string stock_id);
6111                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6112                 [Version (since = "2.4")]
6113                 public RadioToolButton.from_widget (Gtk.RadioToolButton? group);
6114                 [Version (since = "2.4")]
6115                 public unowned GLib.SList<Gtk.RadioButton>? get_group ();
6116                 [Version (since = "2.4")]
6117                 public void set_group (GLib.SList<Gtk.RadioButton>? group);
6118                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6119                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6120                 public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton? group, string stock_id);
6121                 [Version (since = "2.4")]
6122                 public Gtk.RadioToolButton group { set; }
6123         }
6124         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")]
6125         public abstract class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6126                 [CCode (has_construct_function = false)]
6127                 protected Range ();
6128                 public unowned Gtk.Adjustment get_adjustment ();
6129                 [Version (since = "2.12")]
6130                 public double get_fill_level ();
6131                 [Version (since = "2.18")]
6132                 public bool get_flippable ();
6133                 public bool get_inverted ();
6134                 [Version (since = "2.10")]
6135                 public Gtk.SensitivityType get_lower_stepper_sensitivity ();
6136                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.20")]
6137                 public int get_min_slider_size ();
6138                 [NoWrapper]
6139                 public virtual Gtk.Border get_range_border ();
6140                 [Version (since = "2.20")]
6141                 public Gdk.Rectangle get_range_rect ();
6142                 [NoWrapper]
6143                 public virtual void get_range_size_request (Gtk.Orientation orientation, out int minimum, out int natural);
6144                 [Version (since = "2.12")]
6145                 public bool get_restrict_to_fill_level ();
6146                 [Version (since = "2.24")]
6147                 public int get_round_digits ();
6148                 [Version (since = "2.12")]
6149                 public bool get_show_fill_level ();
6150                 [Version (since = "2.20")]
6151                 public void get_slider_range (out int slider_start, out int slider_end);
6152                 [Version (since = "2.20")]
6153                 public bool get_slider_size_fixed ();
6154                 [Version (since = "2.10")]
6155                 public Gtk.SensitivityType get_upper_stepper_sensitivity ();
6156                 public double get_value ();
6157                 public void set_adjustment (Gtk.Adjustment adjustment);
6158                 [Version (since = "2.12")]
6159                 public void set_fill_level (double fill_level);
6160                 [Version (since = "2.18")]
6161                 public void set_flippable (bool flippable);
6162                 public void set_increments (double step, double page);
6163                 public void set_inverted (bool setting);
6164                 [Version (since = "2.10")]
6165                 public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
6166                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.20")]
6167                 public void set_min_slider_size (int min_size);
6168                 public void set_range (double min, double max);
6169                 [Version (since = "2.12")]
6170                 public void set_restrict_to_fill_level (bool restrict_to_fill_level);
6171                 [Version (since = "2.24")]
6172                 public void set_round_digits (int round_digits);
6173                 [Version (since = "2.12")]
6174                 public void set_show_fill_level (bool show_fill_level);
6175                 [Version (since = "2.20")]
6176                 public void set_slider_size_fixed (bool size_fixed);
6177                 [Version (since = "2.10")]
6178                 public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
6179                 public void set_value (double value);
6180                 public Gtk.Adjustment adjustment { get; set construct; }
6181                 [Version (since = "2.12")]
6182                 public double fill_level { get; set; }
6183                 public bool inverted { get; set; }
6184                 public Gtk.SensitivityType lower_stepper_sensitivity { get; set; }
6185                 [Version (since = "2.12")]
6186                 public bool restrict_to_fill_level { get; set; }
6187                 [Version (since = "2.24")]
6188                 public int round_digits { get; set; }
6189                 [Version (since = "2.12")]
6190                 public bool show_fill_level { get; set; }
6191                 public Gtk.SensitivityType upper_stepper_sensitivity { get; set; }
6192                 public virtual signal void adjust_bounds (double new_value);
6193                 [Version (since = "2.6")]
6194                 public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
6195                 public virtual signal void move_slider (Gtk.ScrollType scroll);
6196                 public virtual signal void value_changed ();
6197         }
6198         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_range_accessible_get_type ()")]
6199         public class RangeAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
6200                 [CCode (has_construct_function = false)]
6201                 protected RangeAccessible ();
6202         }
6203         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
6204         [Compact]
6205         public class RcContext {
6206         }
6207         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_rc_style_get_type ()")]
6208         public class RcStyle : GLib.Object {
6209                 [CCode (array_length = false)]
6210                 public weak Gdk.Color @base[5];
6211                 [CCode (array_length = false)]
6212                 public weak Gdk.Color bg[5];
6213                 [CCode (array_length = false)]
6214                 public weak string bg_pixmap_name[5];
6215                 [CCode (array_length = false)]
6216                 public weak Gtk.RcFlags color_flags[5];
6217                 [CCode (array_length = false)]
6218                 public weak Gdk.Color fg[5];
6219                 public weak Pango.FontDescription font_desc;
6220                 public weak string name;
6221                 [CCode (array_length = false)]
6222                 public weak Gdk.Color text[5];
6223                 public int xthickness;
6224                 public int ythickness;
6225                 [CCode (has_construct_function = false)]
6226                 [Version (deprecated = true, deprecated_since = "3.0")]
6227                 public RcStyle ();
6228                 [Version (deprecated = true, deprecated_since = "3.0")]
6229                 public Gtk.RcStyle copy ();
6230                 [NoWrapper]
6231                 public virtual Gtk.RcStyle create_rc_style ();
6232                 [NoWrapper]
6233                 public virtual Gtk.Style create_style ();
6234                 [NoWrapper]
6235                 public virtual void merge (Gtk.RcStyle src);
6236                 [NoWrapper]
6237                 public virtual uint parse (Gtk.Settings settings, GLib.Scanner scanner);
6238         }
6239         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_action_get_type ()")]
6240         public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser {
6241                 [CCode (has_construct_function = false, type = "GtkAction*")]
6242                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6243                 public RecentAction (string name, string? label, string? tooltip, string? stock_id);
6244                 [CCode (has_construct_function = false, type = "GtkAction*")]
6245                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6246                 public RecentAction.for_manager (string name, string? label, string? tooltip, string? stock_id, Gtk.RecentManager? manager);
6247                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6248                 public bool get_show_numbers ();
6249                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6250                 public void set_show_numbers (bool show_numbers);
6251                 [Version (deprecated = true, deprecated_since = "3.10")]
6252                 public bool show_numbers { get; set; }
6253         }
6254         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_dialog_get_type ()")]
6255         public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
6256                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6257                 [Version (since = "2.10")]
6258                 public RecentChooserDialog (string? title, Gtk.Window? parent, ...);
6259                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6260                 [Version (since = "2.10")]
6261                 public RecentChooserDialog.for_manager (string? title, Gtk.Window? parent, Gtk.RecentManager manager, ...);
6262         }
6263         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_menu_get_type ()")]
6264         public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Activatable, Gtk.Buildable, Gtk.RecentChooser {
6265                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6266                 [Version (since = "2.10")]
6267                 public RecentChooserMenu ();
6268                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6269                 [Version (since = "2.10")]
6270                 public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
6271                 [Version (since = "2.10")]
6272                 public bool get_show_numbers ();
6273                 [Version (since = "2.10")]
6274                 public void set_show_numbers (bool show_numbers);
6275                 [Version (since = "2.10")]
6276                 public bool show_numbers { get; set; }
6277         }
6278         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_widget_get_type ()")]
6279         public class RecentChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
6280                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6281                 [Version (since = "2.10")]
6282                 public RecentChooserWidget ();
6283                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6284                 [Version (since = "2.10")]
6285                 public RecentChooserWidget.for_manager (Gtk.RecentManager manager);
6286         }
6287         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_filter_get_type ()")]
6288         public class RecentFilter : GLib.InitiallyUnowned, Gtk.Buildable {
6289                 [CCode (has_construct_function = false)]
6290                 [Version (since = "2.10")]
6291                 public RecentFilter ();
6292                 [Version (since = "2.10")]
6293                 public void add_age (int days);
6294                 [Version (since = "2.10")]
6295                 public void add_application (string application);
6296                 [Version (since = "2.10")]
6297                 public void add_custom (Gtk.RecentFilterFlags needed, owned Gtk.RecentFilterFunc func);
6298                 [Version (since = "2.10")]
6299                 public void add_group (string group);
6300                 [Version (since = "2.10")]
6301                 public void add_mime_type (string mime_type);
6302                 [Version (since = "2.10")]
6303                 public void add_pattern (string pattern);
6304                 [Version (since = "2.10")]
6305                 public void add_pixbuf_formats ();
6306                 [Version (since = "2.10")]
6307                 public bool filter (Gtk.RecentFilterInfo filter_info);
6308                 [CCode (cname = "gtk_recent_filter_get_name")]
6309                 [Version (since = "2.10")]
6310                 public unowned string? get_filter_name ();
6311                 [Version (since = "2.10")]
6312                 public Gtk.RecentFilterFlags get_needed ();
6313                 [CCode (cname = "gtk_recent_filter_set_name")]
6314                 [Version (since = "2.10")]
6315                 public void set_filter_name (string name);
6316         }
6317         [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")]
6318         [Compact]
6319         [Version (since = "2.10")]
6320         public class RecentInfo {
6321                 public GLib.AppInfo? create_app_info (string? app_name) throws GLib.Error;
6322                 public bool exists ();
6323                 public time_t get_added ();
6324                 public int get_age ();
6325                 public bool get_application_info (string app_name, out unowned string app_exec, out uint count, [CCode (type = "time_t*")] out time_t time_);
6326                 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
6327                 public string[] get_applications ();
6328                 public unowned string get_description ();
6329                 public unowned string get_display_name ();
6330                 [Version (since = "2.22")]
6331                 public GLib.Icon? get_gicon ();
6332                 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
6333                 public string[] get_groups ();
6334                 public Gdk.Pixbuf? get_icon (int size);
6335                 public unowned string get_mime_type ();
6336                 public time_t get_modified ();
6337                 public bool get_private_hint ();
6338                 public string get_short_name ();
6339                 public unowned string get_uri ();
6340                 public string? get_uri_display ();
6341                 public time_t get_visited ();
6342                 public bool has_application (string app_name);
6343                 public bool has_group (string group_name);
6344                 public bool is_local ();
6345                 public string last_application ();
6346                 public bool match (Gtk.RecentInfo info_b);
6347                 public unowned Gtk.RecentInfo @ref ();
6348                 public void unref ();
6349         }
6350         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_manager_get_type ()")]
6351         [Version (since = "2.10")]
6352         public class RecentManager : GLib.Object {
6353                 [CCode (has_construct_function = false)]
6354                 public RecentManager ();
6355                 public bool add_full (string uri, Gtk.RecentData recent_data);
6356                 public bool add_item (string uri);
6357                 public static unowned Gtk.RecentManager get_default ();
6358                 public GLib.List<Gtk.RecentInfo> get_items ();
6359                 public bool has_item (string uri);
6360                 public Gtk.RecentInfo? lookup_item (string uri) throws GLib.Error;
6361                 public bool move_item (string uri, string? new_uri) throws GLib.Error;
6362                 public int purge_items () throws GLib.Error;
6363                 public bool remove_item (string uri) throws GLib.Error;
6364                 [NoAccessorMethod]
6365                 public string filename { owned get; construct; }
6366                 [NoAccessorMethod]
6367                 public int size { get; }
6368                 public virtual signal void changed ();
6369         }
6370         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_renderer_cell_accessible_get_type ()")]
6371         public class RendererCellAccessible : Gtk.CellAccessible, Atk.Action, Atk.Component {
6372                 [CCode (has_construct_function = false, type = "AtkObject*")]
6373                 public RendererCellAccessible (Gtk.CellRenderer renderer);
6374                 [NoAccessorMethod]
6375                 public Gtk.CellRenderer renderer { owned get; construct; }
6376         }
6377         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_revealer_get_type ()")]
6378         public class Revealer : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6379                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6380                 [Version (since = "3.10")]
6381                 public Revealer ();
6382                 [Version (since = "3.10")]
6383                 public bool get_child_revealed ();
6384                 [Version (since = "3.10")]
6385                 public bool get_reveal_child ();
6386                 [Version (since = "3.10")]
6387                 public uint get_transition_duration ();
6388                 [Version (since = "3.10")]
6389                 public Gtk.RevealerTransitionType get_transition_type ();
6390                 [Version (since = "3.10")]
6391                 public void set_reveal_child (bool reveal_child);
6392                 [Version (since = "3.10")]
6393                 public void set_transition_duration (uint duration);
6394                 [Version (since = "3.10")]
6395                 public void set_transition_type (Gtk.RevealerTransitionType transition);
6396                 public bool child_revealed { get; }
6397                 public bool reveal_child { get; set construct; }
6398                 public uint transition_duration { get; set construct; }
6399                 public Gtk.RevealerTransitionType transition_type { get; set construct; }
6400         }
6401         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_get_type ()")]
6402         public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6403                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6404                 [Version (since = "3.0")]
6405                 public Scale (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
6406                 [Version (since = "2.16")]
6407                 public void add_mark (double value, Gtk.PositionType position, string? markup);
6408                 [Version (since = "2.16")]
6409                 public void clear_marks ();
6410                 public int get_digits ();
6411                 public bool get_draw_value ();
6412                 [Version (since = "3.4")]
6413                 public bool get_has_origin ();
6414                 [Version (since = "2.4")]
6415                 public unowned Pango.Layout? get_layout ();
6416                 [Version (since = "2.4")]
6417                 public virtual void get_layout_offsets (out int x, out int y);
6418                 public Gtk.PositionType get_value_pos ();
6419                 public void set_digits (int digits);
6420                 public void set_draw_value (bool draw_value);
6421                 [Version (since = "3.4")]
6422                 public void set_has_origin (bool has_origin);
6423                 public void set_value_pos (Gtk.PositionType pos);
6424                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6425                 [Version (since = "3.0")]
6426                 public Scale.with_range (Gtk.Orientation orientation, double min, double max, double step);
6427                 public int digits { get; set; }
6428                 public virtual bool draw_value { get; set; }
6429                 public bool has_origin { get; set; }
6430                 public Gtk.PositionType value_pos { get; set; }
6431                 public virtual signal string format_value (double value);
6432         }
6433         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_accessible_get_type ()")]
6434         public class ScaleAccessible : Gtk.RangeAccessible, Atk.Component, Atk.Value {
6435                 [CCode (has_construct_function = false)]
6436                 protected ScaleAccessible ();
6437         }
6438         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_button_get_type ()")]
6439         public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.Orientable {
6440                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6441                 [Version (since = "2.12")]
6442                 public ScaleButton ([CCode (type = "GtkIconSize")] 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);
6443                 [Version (since = "2.12")]
6444                 public unowned Gtk.Adjustment get_adjustment ();
6445                 [Version (since = "2.14")]
6446                 public unowned Gtk.Button get_minus_button ();
6447                 [Version (since = "2.14")]
6448                 public unowned Gtk.Button get_plus_button ();
6449                 [Version (since = "2.14")]
6450                 public unowned Gtk.Widget get_popup ();
6451                 [Version (since = "2.12")]
6452                 public double get_value ();
6453                 [Version (since = "2.12")]
6454                 public void set_adjustment (Gtk.Adjustment adjustment);
6455                 [Version (since = "2.12")]
6456                 public void set_icons ([CCode (array_length = false, array_null_terminated = true)] string[] icons);
6457                 [Version (since = "2.12")]
6458                 public void set_value (double value);
6459                 public Gtk.Adjustment adjustment { get; set; }
6460                 [CCode (array_length = false, array_null_terminated = true)]
6461                 [NoAccessorMethod]
6462                 [Version (since = "2.12")]
6463                 public string[] icons { owned get; set; }
6464                 [NoAccessorMethod]
6465                 public Gtk.IconSize size { get; set; }
6466                 public double value { get; set; }
6467                 [Version (since = "2.12")]
6468                 public signal void popdown ();
6469                 [Version (since = "2.12")]
6470                 public signal void popup ();
6471                 [Version (since = "2.12")]
6472                 public virtual signal void value_changed (double value);
6473         }
6474         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_button_accessible_get_type ()")]
6475         public class ScaleButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image, Atk.Value {
6476                 [CCode (has_construct_function = false)]
6477                 protected ScaleButtonAccessible ();
6478         }
6479         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrollbar_get_type ()")]
6480         public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6481                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6482                 [Version (since = "3.0")]
6483                 public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
6484         }
6485         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrolled_window_get_type ()")]
6486         public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6487                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6488                 public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
6489                 [Version (deprecated = true, deprecated_since = "3.8")]
6490                 public void add_with_viewport (Gtk.Widget child);
6491                 [Version (since = "3.4")]
6492                 public bool get_capture_button_press ();
6493                 public unowned Gtk.Adjustment get_hadjustment ();
6494                 [Version (since = "2.8")]
6495                 public unowned Gtk.Widget get_hscrollbar ();
6496                 [Version (since = "3.4")]
6497                 public bool get_kinetic_scrolling ();
6498                 [Version (since = "3.22")]
6499                 public int get_max_content_height ();
6500                 [Version (since = "3.22")]
6501                 public int get_max_content_width ();
6502                 [Version (since = "3.0")]
6503                 public int get_min_content_height ();
6504                 [Version (since = "3.0")]
6505                 public int get_min_content_width ();
6506                 [Version (since = "3.16")]
6507                 public bool get_overlay_scrolling ();
6508                 public Gtk.CornerType get_placement ();
6509                 public void get_policy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy);
6510                 [Version (since = "3.22")]
6511                 public bool get_propagate_natural_height ();
6512                 [Version (since = "3.22")]
6513                 public bool get_propagate_natural_width ();
6514                 public Gtk.ShadowType get_shadow_type ();
6515                 public unowned Gtk.Adjustment get_vadjustment ();
6516                 [Version (since = "2.8")]
6517                 public unowned Gtk.Widget get_vscrollbar ();
6518                 [Version (since = "3.4")]
6519                 public void set_capture_button_press (bool capture_button_press);
6520                 public void set_hadjustment (Gtk.Adjustment hadjustment);
6521                 [Version (since = "3.4")]
6522                 public void set_kinetic_scrolling (bool kinetic_scrolling);
6523                 [Version (since = "3.22")]
6524                 public void set_max_content_height (int height);
6525                 [Version (since = "3.22")]
6526                 public void set_max_content_width (int width);
6527                 [Version (since = "3.0")]
6528                 public void set_min_content_height (int height);
6529                 [Version (since = "3.0")]
6530                 public void set_min_content_width (int width);
6531                 [Version (since = "3.16")]
6532                 public void set_overlay_scrolling (bool overlay_scrolling);
6533                 public void set_placement (Gtk.CornerType window_placement);
6534                 public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
6535                 [Version (since = "3.22")]
6536                 public void set_propagate_natural_height (bool propagate);
6537                 [Version (since = "3.22")]
6538                 public void set_propagate_natural_width (bool propagate);
6539                 public void set_shadow_type (Gtk.ShadowType type);
6540                 public void set_vadjustment (Gtk.Adjustment vadjustment);
6541                 [Version (since = "2.10")]
6542                 public void unset_placement ();
6543                 public Gtk.Adjustment hadjustment { get; set construct; }
6544                 [NoAccessorMethod]
6545                 public Gtk.PolicyType hscrollbar_policy { get; set; }
6546                 [Version (since = "3.4")]
6547                 public bool kinetic_scrolling { get; set; }
6548                 [Version (since = "3.22")]
6549                 public int max_content_height { get; set; }
6550                 [Version (since = "3.22")]
6551                 public int max_content_width { get; set; }
6552                 [Version (since = "3.0")]
6553                 public int min_content_height { get; set; }
6554                 [Version (since = "3.0")]
6555                 public int min_content_width { get; set; }
6556                 [Version (since = "3.16")]
6557                 public bool overlay_scrolling { get; set; }
6558                 [Version (since = "3.22")]
6559                 public bool propagate_natural_height { get; set; }
6560                 [Version (since = "3.22")]
6561                 public bool propagate_natural_width { get; set; }
6562                 public Gtk.ShadowType shadow_type { get; set; }
6563                 public Gtk.Adjustment vadjustment { get; set construct; }
6564                 [NoAccessorMethod]
6565                 public Gtk.PolicyType vscrollbar_policy { get; set; }
6566                 [NoAccessorMethod]
6567                 public Gtk.CornerType window_placement { get; set; }
6568                 [NoAccessorMethod]
6569                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
6570                 public bool window_placement_set { get; set; }
6571                 [Version (since = "3.16")]
6572                 public signal void edge_overshot (Gtk.PositionType pos);
6573                 [Version (since = "3.16")]
6574                 public signal void edge_reached (Gtk.PositionType pos);
6575                 public virtual signal void move_focus_out (Gtk.DirectionType direction);
6576                 public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
6577         }
6578         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scrolled_window_accessible_get_type ()")]
6579         public class ScrolledWindowAccessible : Gtk.ContainerAccessible, Atk.Component {
6580                 [CCode (has_construct_function = false)]
6581                 protected ScrolledWindowAccessible ();
6582         }
6583         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_bar_get_type ()")]
6584         public class SearchBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6585                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6586                 [Version (since = "3.10")]
6587                 public SearchBar ();
6588                 [Version (since = "3.10")]
6589                 public void connect_entry (Gtk.Entry entry);
6590                 [Version (since = "3.10")]
6591                 public bool get_search_mode ();
6592                 [Version (since = "3.10")]
6593                 public bool get_show_close_button ();
6594                 [Version (since = "3.10")]
6595                 public bool handle_event (Gdk.Event event);
6596                 [Version (since = "3.10")]
6597                 public void set_search_mode (bool search_mode);
6598                 [Version (since = "3.10")]
6599                 public void set_show_close_button (bool visible);
6600                 [NoAccessorMethod]
6601                 public bool search_mode_enabled { get; set; }
6602                 public bool show_close_button { get; set construct; }
6603         }
6604         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_entry_get_type ()")]
6605         public class SearchEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
6606                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6607                 [Version (since = "3.6")]
6608                 public SearchEntry ();
6609                 [Version (since = "3.16")]
6610                 public bool handle_event (Gdk.Event event);
6611                 [Version (since = "3.16")]
6612                 public virtual signal void next_match ();
6613                 [Version (since = "3.16")]
6614                 public virtual signal void previous_match ();
6615                 [Version (since = "3.10")]
6616                 public virtual signal void search_changed ();
6617                 [Version (since = "3.16")]
6618                 public virtual signal void stop_search ();
6619         }
6620         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_selection_data_get_type ()")]
6621         [Compact]
6622         public class SelectionData {
6623                 public Gtk.SelectionData copy ();
6624                 [DestroysInstance]
6625                 public void free ();
6626                 [CCode (array_length = false)]
6627                 [Version (since = "2.14")]
6628                 public unowned uint8[] get_data ();
6629                 [Version (since = "2.14")]
6630                 public Gdk.Atom get_data_type ();
6631                 [CCode (array_length_pos = 0.1)]
6632                 [Version (since = "3.0")]
6633                 public unowned uint8[] get_data_with_length ();
6634                 [Version (since = "2.14")]
6635                 public unowned Gdk.Display get_display ();
6636                 [Version (since = "2.14")]
6637                 public int get_format ();
6638                 [Version (since = "2.14")]
6639                 public int get_length ();
6640                 [Version (since = "2.6")]
6641                 public Gdk.Pixbuf? get_pixbuf ();
6642                 [Version (since = "2.16")]
6643                 public Gdk.Atom get_selection ();
6644                 [Version (since = "2.14")]
6645                 public Gdk.Atom get_target ();
6646                 public bool get_targets ([CCode (array_length_cname = "n_atoms", array_length_pos = 1.1)] out Gdk.Atom[] targets);
6647                 public string? get_text ();
6648                 [CCode (array_length = false, array_null_terminated = true)]
6649                 [Version (since = "2.6")]
6650                 public string[] get_uris ();
6651                 public void @set (Gdk.Atom type, int format, [CCode (array_length_cname = "length", array_length_pos = 3.1)] uint8[] data);
6652                 [Version (since = "2.6")]
6653                 public bool set_pixbuf (Gdk.Pixbuf pixbuf);
6654                 public bool set_text (string str, int len);
6655                 [Version (since = "2.6")]
6656                 public bool set_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uris);
6657                 [Version (since = "2.6")]
6658                 public bool targets_include_image (bool writable);
6659                 [Version (since = "2.10")]
6660                 public bool targets_include_rich_text (Gtk.TextBuffer buffer);
6661                 public bool targets_include_text ();
6662                 [Version (since = "2.10")]
6663                 public bool targets_include_uri ();
6664         }
6665         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_get_type ()")]
6666         public class Separator : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6667                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6668                 [Version (since = "3.0")]
6669                 public Separator (Gtk.Orientation orientation);
6670         }
6671         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_menu_item_get_type ()")]
6672         public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6673                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6674                 public SeparatorMenuItem ();
6675         }
6676         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_tool_item_get_type ()")]
6677         public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Activatable, Gtk.Buildable {
6678                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6679                 [Version (since = "2.4")]
6680                 public SeparatorToolItem ();
6681                 [Version (since = "2.4")]
6682                 public bool get_draw ();
6683                 [Version (since = "2.4")]
6684                 public void set_draw (bool draw);
6685                 public bool draw { get; set; }
6686         }
6687         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_settings_get_type ()")]
6688         public class Settings : GLib.Object, Gtk.StyleProvider {
6689                 [CCode (has_construct_function = false)]
6690                 protected Settings ();
6691                 public static unowned Gtk.Settings? get_default ();
6692                 [Version (since = "2.2")]
6693                 public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
6694                 [Version (deprecated = true, deprecated_since = "3.16")]
6695                 public static void install_property (GLib.ParamSpec pspec);
6696                 [Version (deprecated = true, deprecated_since = "3.16")]
6697                 public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
6698                 [Version (since = "3.20")]
6699                 public void reset_property (string name);
6700                 [Version (deprecated = true, deprecated_since = "3.16")]
6701                 public void set_double_property (string name, double v_double, string origin);
6702                 [Version (deprecated = true, deprecated_since = "3.16")]
6703                 public void set_long_property (string name, long v_long, string origin);
6704                 [Version (deprecated = true, deprecated_since = "3.16")]
6705                 public void set_property_value (string name, Gtk.SettingsValue svalue);
6706                 [Version (deprecated = true, deprecated_since = "3.16")]
6707                 public void set_string_property (string name, string v_string, string origin);
6708                 [NoAccessorMethod]
6709                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
6710                 public GLib.HashTable<string,Gdk.Color> color_hash { owned get; }
6711                 [NoAccessorMethod]
6712                 public bool gtk_alternative_button_order { get; set; }
6713                 [NoAccessorMethod]
6714                 [Version (since = "2.12")]
6715                 public bool gtk_alternative_sort_arrows { get; set; }
6716                 [NoAccessorMethod]
6717                 [Version (since = "3.0")]
6718                 public bool gtk_application_prefer_dark_theme { get; set; }
6719                 [NoAccessorMethod]
6720                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.20")]
6721                 public bool gtk_auto_mnemonics { get; set; }
6722                 [NoAccessorMethod]
6723                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6724                 public bool gtk_button_images { get; set; }
6725                 [NoAccessorMethod]
6726                 [Version (deprecated = true, deprecated_since = "3.10")]
6727                 public bool gtk_can_change_accels { get; set; }
6728                 [NoAccessorMethod]
6729                 [Version (deprecated = true, deprecated_since = "3.10")]
6730                 public string gtk_color_palette { owned get; set; }
6731                 [NoAccessorMethod]
6732                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
6733                 public string gtk_color_scheme { owned get; set; }
6734                 [NoAccessorMethod]
6735                 public bool gtk_cursor_blink { get; set; }
6736                 [NoAccessorMethod]
6737                 public int gtk_cursor_blink_time { get; set; }
6738                 [NoAccessorMethod]
6739                 [Version (since = "2.12")]
6740                 public int gtk_cursor_blink_timeout { get; set; }
6741                 [NoAccessorMethod]
6742                 public string gtk_cursor_theme_name { owned get; set; }
6743                 [NoAccessorMethod]
6744                 public int gtk_cursor_theme_size { get; set; }
6745                 [NoAccessorMethod]
6746                 [Version (since = "3.12")]
6747                 public string gtk_decoration_layout { owned get; set; }
6748                 [NoAccessorMethod]
6749                 [Version (since = "3.12")]
6750                 public bool gtk_dialogs_use_header { get; set; }
6751                 [NoAccessorMethod]
6752                 public int gtk_dnd_drag_threshold { get; set; }
6753                 [NoAccessorMethod]
6754                 public int gtk_double_click_distance { get; set; }
6755                 [NoAccessorMethod]
6756                 public int gtk_double_click_time { get; set; }
6757                 [NoAccessorMethod]
6758                 [Version (since = "2.12")]
6759                 public bool gtk_enable_accels { get; set; }
6760                 [NoAccessorMethod]
6761                 public bool gtk_enable_animations { get; set; }
6762                 [NoAccessorMethod]
6763                 [Version (since = "2.14")]
6764                 public bool gtk_enable_event_sounds { get; set; }
6765                 [NoAccessorMethod]
6766                 [Version (since = "2.14")]
6767                 public bool gtk_enable_input_feedback_sounds { get; set; }
6768                 [NoAccessorMethod]
6769                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6770                 public bool gtk_enable_mnemonics { get; set; }
6771                 [NoAccessorMethod]
6772                 [Version (since = "3.4")]
6773                 public bool gtk_enable_primary_paste { get; set; }
6774                 [NoAccessorMethod]
6775                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
6776                 public bool gtk_enable_tooltips { get; set; }
6777                 [NoAccessorMethod]
6778                 [Version (since = "2.10")]
6779                 public uint gtk_entry_password_hint_timeout { get; set; }
6780                 [NoAccessorMethod]
6781                 public bool gtk_entry_select_on_focus { get; set; }
6782                 [NoAccessorMethod]
6783                 [Version (since = "2.12")]
6784                 public bool gtk_error_bell { get; set; }
6785                 [NoAccessorMethod]
6786                 [Version (deprecated = true, deprecated_since = "3.10")]
6787                 public string gtk_fallback_icon_theme { owned get; set; }
6788                 [NoAccessorMethod]
6789                 [Version (deprecated = true, deprecated_since = "3.10")]
6790                 public string gtk_file_chooser_backend { owned get; set; }
6791                 [NoAccessorMethod]
6792                 public string gtk_font_name { owned get; set; }
6793                 [NoAccessorMethod]
6794                 public uint gtk_fontconfig_timestamp { get; set; }
6795                 [NoAccessorMethod]
6796                 [Version (deprecated = true, deprecated_since = "3.10")]
6797                 public string gtk_icon_sizes { owned get; set; }
6798                 [NoAccessorMethod]
6799                 public string gtk_icon_theme_name { owned get; set; }
6800                 [NoAccessorMethod]
6801                 public string gtk_im_module { owned get; set; }
6802                 [NoAccessorMethod]
6803                 [Version (deprecated = true, deprecated_since = "3.10")]
6804                 public Gtk.IMPreeditStyle gtk_im_preedit_style { get; set; }
6805                 [NoAccessorMethod]
6806                 [Version (deprecated = true, deprecated_since = "3.10")]
6807                 public Gtk.IMStatusStyle gtk_im_status_style { get; set; }
6808                 [NoAccessorMethod]
6809                 public string gtk_key_theme_name { owned get; set; }
6810                 [NoAccessorMethod]
6811                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6812                 public bool gtk_keynav_cursor_only { get; set; }
6813                 [NoAccessorMethod]
6814                 [Version (since = "3.20")]
6815                 public bool gtk_keynav_use_caret { get; set; }
6816                 [NoAccessorMethod]
6817                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6818                 public bool gtk_keynav_wrap_around { get; set; }
6819                 [NoAccessorMethod]
6820                 public bool gtk_label_select_on_focus { get; set; }
6821                 [NoAccessorMethod]
6822                 [Version (since = "3.14")]
6823                 public uint gtk_long_press_time { get; set; }
6824                 [NoAccessorMethod]
6825                 [Version (deprecated = true, deprecated_since = "3.10")]
6826                 public string gtk_menu_bar_accel { owned get; set; }
6827                 [NoAccessorMethod]
6828                 [Version (deprecated = true, deprecated_since = "3.10")]
6829                 public int gtk_menu_bar_popup_delay { get; set; }
6830                 [NoAccessorMethod]
6831                 [Version (deprecated = true, deprecated_since = "3.10")]
6832                 public bool gtk_menu_images { get; set; }
6833                 [NoAccessorMethod]
6834                 [Version (deprecated = true, deprecated_since = "3.10")]
6835                 public int gtk_menu_popdown_delay { get; set; }
6836                 [NoAccessorMethod]
6837                 [Version (deprecated = true, deprecated_since = "3.10")]
6838                 public int gtk_menu_popup_delay { get; set; }
6839                 [NoAccessorMethod]
6840                 public string gtk_modules { owned get; set; }
6841                 [NoAccessorMethod]
6842                 [Version (since = "3.6")]
6843                 public bool gtk_primary_button_warps_slider { get; set; }
6844                 [NoAccessorMethod]
6845                 [Version (since = "2.10")]
6846                 public string gtk_print_backends { owned get; set; }
6847                 [NoAccessorMethod]
6848                 [Version (since = "2.10")]
6849                 public string gtk_print_preview_command { owned get; set; }
6850                 [NoAccessorMethod]
6851                 [Version (since = "3.8")]
6852                 public bool gtk_recent_files_enabled { get; set; }
6853                 [NoAccessorMethod]
6854                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6855                 public int gtk_recent_files_limit { get; set; }
6856                 [NoAccessorMethod]
6857                 [Version (since = "2.14")]
6858                 public int gtk_recent_files_max_age { get; set; }
6859                 [NoAccessorMethod]
6860                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
6861                 public Gtk.CornerType gtk_scrolled_window_placement { get; set; }
6862                 [NoAccessorMethod]
6863                 public bool gtk_shell_shows_app_menu { get; set; }
6864                 [NoAccessorMethod]
6865                 public bool gtk_shell_shows_desktop { get; set; }
6866                 [NoAccessorMethod]
6867                 public bool gtk_shell_shows_menubar { get; set; }
6868                 [NoAccessorMethod]
6869                 [Version (deprecated = true, deprecated_since = "3.10")]
6870                 public bool gtk_show_input_method_menu { get; set; }
6871                 [NoAccessorMethod]
6872                 [Version (deprecated = true, deprecated_since = "3.10")]
6873                 public bool gtk_show_unicode_menu { get; set; }
6874                 [NoAccessorMethod]
6875                 [Version (since = "2.14")]
6876                 public string gtk_sound_theme_name { owned get; set; }
6877                 [NoAccessorMethod]
6878                 public bool gtk_split_cursor { get; set; }
6879                 [NoAccessorMethod]
6880                 public string gtk_theme_name { owned get; set; }
6881                 [NoAccessorMethod]
6882                 [Version (deprecated = true, deprecated_since = "3.10")]
6883                 public int gtk_timeout_expand { get; set; }
6884                 [NoAccessorMethod]
6885                 [Version (deprecated = true, deprecated_since = "3.10")]
6886                 public int gtk_timeout_initial { get; set; }
6887                 [NoAccessorMethod]
6888                 [Version (deprecated = true, deprecated_since = "3.10")]
6889                 public int gtk_timeout_repeat { get; set; }
6890                 [NoAccessorMethod]
6891                 [Version (since = "3.14")]
6892                 public string gtk_titlebar_double_click { owned get; set; }
6893                 [NoAccessorMethod]
6894                 [Version (since = "3.14")]
6895                 public string gtk_titlebar_middle_click { owned get; set; }
6896                 [NoAccessorMethod]
6897                 [Version (since = "3.14")]
6898                 public string gtk_titlebar_right_click { owned get; set; }
6899                 [NoAccessorMethod]
6900                 [Version (deprecated = true, deprecated_since = "3.10")]
6901                 public Gtk.IconSize gtk_toolbar_icon_size { get; set; }
6902                 [NoAccessorMethod]
6903                 [Version (deprecated = true, deprecated_since = "3.10")]
6904                 public Gtk.ToolbarStyle gtk_toolbar_style { get; set; }
6905                 [NoAccessorMethod]
6906                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6907                 public int gtk_tooltip_browse_mode_timeout { get; set; }
6908                 [NoAccessorMethod]
6909                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6910                 public int gtk_tooltip_browse_timeout { get; set; }
6911                 [NoAccessorMethod]
6912                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6913                 public int gtk_tooltip_timeout { get; set; }
6914                 [NoAccessorMethod]
6915                 [Version (deprecated = true, deprecated_since = "3.4.", since = "2.10")]
6916                 public bool gtk_touchscreen_mode { get; set; }
6917                 [NoAccessorMethod]
6918                 [Version (deprecated = true, deprecated_since = "3.10", since = "3.2")]
6919                 public Gtk.PolicyType gtk_visible_focus { get; set; }
6920                 [NoAccessorMethod]
6921                 public int gtk_xft_antialias { get; set; }
6922                 [NoAccessorMethod]
6923                 public int gtk_xft_dpi { get; set; }
6924                 [NoAccessorMethod]
6925                 public int gtk_xft_hinting { get; set; }
6926                 [NoAccessorMethod]
6927                 public string gtk_xft_hintstyle { owned get; set; }
6928                 [NoAccessorMethod]
6929                 public string gtk_xft_rgba { owned get; set; }
6930         }
6931         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcut_label_get_type ()")]
6932         public class ShortcutLabel : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6933                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6934                 [Version (since = "3.22")]
6935                 public ShortcutLabel (string accelerator);
6936                 [Version (since = "3.22")]
6937                 public unowned string? get_accelerator ();
6938                 [Version (since = "3.22")]
6939                 public unowned string? get_disabled_text ();
6940                 [Version (since = "3.22")]
6941                 public void set_accelerator (string accelerator);
6942                 [Version (since = "3.22")]
6943                 public void set_disabled_text (string disabled_text);
6944                 [Version (since = "3.22")]
6945                 public string accelerator { get; set; }
6946                 [Version (since = "3.22")]
6947                 public string disabled_text { get; set; }
6948         }
6949         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_group_get_type ()")]
6950         public class ShortcutsGroup : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6951                 [CCode (has_construct_function = false)]
6952                 protected ShortcutsGroup ();
6953                 [NoAccessorMethod]
6954                 public Gtk.SizeGroup accel_size_group { set; }
6955                 [NoAccessorMethod]
6956                 public uint height { get; }
6957                 [NoAccessorMethod]
6958                 public string title { owned get; set; }
6959                 [NoAccessorMethod]
6960                 public Gtk.SizeGroup title_size_group { set; }
6961                 [NoAccessorMethod]
6962                 public string view { owned get; set; }
6963         }
6964         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_section_get_type ()")]
6965         public class ShortcutsSection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6966                 [CCode (has_construct_function = false)]
6967                 protected ShortcutsSection ();
6968                 [NoAccessorMethod]
6969                 public uint max_height { get; set; }
6970                 [NoAccessorMethod]
6971                 public string section_name { owned get; set; }
6972                 [NoAccessorMethod]
6973                 public string title { owned get; set; }
6974                 [NoAccessorMethod]
6975                 public string view_name { owned get; set; }
6976                 public signal bool change_current_page (int object);
6977         }
6978         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_shortcut_get_type ()")]
6979         public class ShortcutsShortcut : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6980                 [CCode (has_construct_function = false)]
6981                 protected ShortcutsShortcut ();
6982                 [NoAccessorMethod]
6983                 public Gtk.SizeGroup accel_size_group { set; }
6984                 [NoAccessorMethod]
6985                 public string accelerator { owned get; set; }
6986                 [NoAccessorMethod]
6987                 [Version (since = "3.22")]
6988                 public string action_name { owned get; set; }
6989                 [NoAccessorMethod]
6990                 public Gtk.TextDirection direction { get; set; }
6991                 [NoAccessorMethod]
6992                 public GLib.Icon icon { owned get; set; }
6993                 [NoAccessorMethod]
6994                 public bool icon_set { get; set; }
6995                 [NoAccessorMethod]
6996                 public Gtk.ShortcutType shortcut_type { get; set; }
6997                 [NoAccessorMethod]
6998                 public string subtitle { owned get; set; }
6999                 [NoAccessorMethod]
7000                 public bool subtitle_set { get; set; }
7001                 [NoAccessorMethod]
7002                 public string title { owned get; set; }
7003                 [NoAccessorMethod]
7004                 public Gtk.SizeGroup title_size_group { set; }
7005         }
7006         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_window_get_type ()")]
7007         public class ShortcutsWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
7008                 [CCode (has_construct_function = false)]
7009                 protected ShortcutsWindow ();
7010                 [NoAccessorMethod]
7011                 public string section_name { owned get; set; }
7012                 [NoAccessorMethod]
7013                 public string view_name { owned get; set; }
7014                 public virtual signal void close ();
7015                 public virtual signal void search ();
7016         }
7017         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_size_group_get_type ()")]
7018         public class SizeGroup : GLib.Object, Gtk.Buildable {
7019                 [CCode (has_construct_function = false)]
7020                 public SizeGroup (Gtk.SizeGroupMode mode);
7021                 public void add_widget (Gtk.Widget widget);
7022                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7023                 public bool get_ignore_hidden ();
7024                 public Gtk.SizeGroupMode get_mode ();
7025                 [Version (since = "2.10")]
7026                 public unowned GLib.SList<Gtk.Widget> get_widgets ();
7027                 public void remove_widget (Gtk.Widget widget);
7028                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7029                 public void set_ignore_hidden (bool ignore_hidden);
7030                 public void set_mode (Gtk.SizeGroupMode mode);
7031                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7032                 public bool ignore_hidden { get; set; }
7033                 public Gtk.SizeGroupMode mode { get; set; }
7034         }
7035         [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_socket_get_type ()")]
7036         public class Socket : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7037                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7038                 public Socket ();
7039                 public void add_id (X.Window window);
7040                 public X.Window get_id ();
7041                 [Version (since = "2.14")]
7042                 public unowned Gdk.Window? get_plug_window ();
7043                 public virtual signal void plug_added ();
7044                 public virtual signal bool plug_removed ();
7045         }
7046         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
7047         public class SpinButton : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable, Gtk.Orientable {
7048                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7049                 public SpinButton (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
7050                 public void configure (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
7051                 public unowned Gtk.Adjustment get_adjustment ();
7052                 public uint get_digits ();
7053                 public void get_increments (out double step, out double page);
7054                 public bool get_numeric ();
7055                 public void get_range (out double min, out double max);
7056                 public bool get_snap_to_ticks ();
7057                 public Gtk.SpinButtonUpdatePolicy get_update_policy ();
7058                 public double get_value ();
7059                 public int get_value_as_int ();
7060                 public bool get_wrap ();
7061                 public void set_adjustment (Gtk.Adjustment adjustment);
7062                 public void set_digits (uint digits);
7063                 public void set_increments (double step, double page);
7064                 public void set_numeric (bool numeric);
7065                 public void set_range (double min, double max);
7066                 public void set_snap_to_ticks (bool snap_to_ticks);
7067                 public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
7068                 public void set_value (double value);
7069                 public void set_wrap (bool wrap);
7070                 public void spin (Gtk.SpinType direction, double increment);
7071                 public void update ();
7072                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7073                 public SpinButton.with_range (double min, double max, double step);
7074                 public Gtk.Adjustment adjustment { get; set; }
7075                 [NoAccessorMethod]
7076                 public double climb_rate { get; set; }
7077                 public uint digits { get; set; }
7078                 public bool numeric { get; set; }
7079                 public bool snap_to_ticks { get; set; }
7080                 public Gtk.SpinButtonUpdatePolicy update_policy { get; set; }
7081                 public double value { get; set; }
7082                 public bool wrap { get; set; }
7083                 public virtual signal void change_value (Gtk.ScrollType scroll);
7084                 public virtual signal int input (out double new_value);
7085                 public virtual signal bool output ();
7086                 public virtual signal void value_changed ();
7087                 [Version (since = "2.10")]
7088                 public virtual signal void wrapped ();
7089         }
7090         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spin_button_accessible_get_type ()")]
7091         public class SpinButtonAccessible : Gtk.EntryAccessible, Atk.Action, Atk.Component, Atk.EditableText, Atk.Text, Atk.Value {
7092                 [CCode (has_construct_function = false)]
7093                 protected SpinButtonAccessible ();
7094         }
7095         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spinner_get_type ()")]
7096         public class Spinner : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
7097                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7098                 [Version (since = "2.20")]
7099                 public Spinner ();
7100                 [Version (since = "2.20")]
7101                 public void start ();
7102                 [Version (since = "2.20")]
7103                 public void stop ();
7104                 [NoAccessorMethod]
7105                 public bool active { get; set; }
7106         }
7107         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spinner_accessible_get_type ()")]
7108         public class SpinnerAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
7109                 [CCode (has_construct_function = false)]
7110                 protected SpinnerAccessible ();
7111         }
7112         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_get_type ()")]
7113         public class Stack : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7114                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7115                 [Version (since = "3.10")]
7116                 public Stack ();
7117                 [Version (since = "3.10")]
7118                 public void add_named (Gtk.Widget child, string name);
7119                 [Version (since = "3.10")]
7120                 public void add_titled (Gtk.Widget child, string name, string title);
7121                 [Version (since = "3.12")]
7122                 public unowned Gtk.Widget? get_child_by_name (string name);
7123                 [Version (since = "3.16")]
7124                 public bool get_hhomogeneous ();
7125                 [Version (since = "3.10")]
7126                 public bool get_homogeneous ();
7127                 [Version (since = "3.18")]
7128                 public bool get_interpolate_size ();
7129                 [Version (since = "3.10")]
7130                 public uint get_transition_duration ();
7131                 [Version (since = "3.12")]
7132                 public bool get_transition_running ();
7133                 [Version (since = "3.10")]
7134                 public Gtk.StackTransitionType get_transition_type ();
7135                 [Version (since = "3.16")]
7136                 public bool get_vhomogeneous ();
7137                 [Version (since = "3.10")]
7138                 public unowned Gtk.Widget? get_visible_child ();
7139                 [Version (since = "3.10")]
7140                 public unowned string? get_visible_child_name ();
7141                 [Version (since = "3.16")]
7142                 public void set_hhomogeneous (bool hhomogeneous);
7143                 [Version (since = "3.10")]
7144                 public void set_homogeneous (bool homogeneous);
7145                 [Version (since = "3.18")]
7146                 public void set_interpolate_size (bool interpolate_size);
7147                 [Version (since = "3.10")]
7148                 public void set_transition_duration (uint duration);
7149                 [Version (since = "3.10")]
7150                 public void set_transition_type (Gtk.StackTransitionType transition);
7151                 [Version (since = "3.16")]
7152                 public void set_vhomogeneous (bool vhomogeneous);
7153                 [Version (since = "3.10")]
7154                 public void set_visible_child (Gtk.Widget child);
7155                 [Version (since = "3.10")]
7156                 public void set_visible_child_full (string name, Gtk.StackTransitionType transition);
7157                 [Version (since = "3.10")]
7158                 public void set_visible_child_name (string name);
7159                 [Version (since = "3.16")]
7160                 public bool hhomogeneous { get; set; }
7161                 public bool homogeneous { get; set; }
7162                 public bool interpolate_size { get; set; }
7163                 public uint transition_duration { get; set; }
7164                 public bool transition_running { get; }
7165                 public Gtk.StackTransitionType transition_type { get; set; }
7166                 [Version (since = "3.16")]
7167                 public bool vhomogeneous { get; set; }
7168                 public Gtk.Widget visible_child { get; set; }
7169                 public string visible_child_name { get; set; }
7170         }
7171         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_stack_accessible_get_type ()")]
7172         public class StackAccessible : Gtk.ContainerAccessible, Atk.Component {
7173                 [CCode (has_construct_function = false)]
7174                 protected StackAccessible ();
7175         }
7176         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_sidebar_get_type ()")]
7177         public class StackSidebar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
7178                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7179                 [Version (since = "3.16")]
7180                 public StackSidebar ();
7181                 [Version (since = "3.16")]
7182                 public unowned Gtk.Stack? get_stack ();
7183                 [Version (since = "3.16")]
7184                 public void set_stack (Gtk.Stack stack);
7185                 public Gtk.Stack stack { get; set; }
7186         }
7187         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_switcher_get_type ()")]
7188         public class StackSwitcher : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7189                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7190                 [Version (since = "3.10")]
7191                 public StackSwitcher ();
7192                 [Version (since = "3.10")]
7193                 public unowned Gtk.Stack? get_stack ();
7194                 [Version (since = "3.10")]
7195                 public void set_stack (Gtk.Stack? stack);
7196                 [NoAccessorMethod]
7197                 [Version (since = "3.20")]
7198                 public int icon_size { get; set; }
7199                 public Gtk.Stack stack { get; set construct; }
7200         }
7201         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_status_icon_get_type ()")]
7202         [Version (deprecated = true, deprecated_since = "3.14")]
7203         public class StatusIcon : GLib.Object {
7204                 [CCode (has_construct_function = false)]
7205                 [Version (since = "2.10")]
7206                 public StatusIcon ();
7207                 [CCode (has_construct_function = false)]
7208                 [Version (since = "2.10")]
7209                 public StatusIcon.from_file (string filename);
7210                 [CCode (has_construct_function = false)]
7211                 [Version (since = "2.14")]
7212                 public StatusIcon.from_gicon (GLib.Icon icon);
7213                 [CCode (has_construct_function = false)]
7214                 [Version (since = "2.10")]
7215                 public StatusIcon.from_icon_name (string icon_name);
7216                 [CCode (has_construct_function = false)]
7217                 [Version (since = "2.10")]
7218                 public StatusIcon.from_pixbuf (Gdk.Pixbuf pixbuf);
7219                 [CCode (has_construct_function = false)]
7220                 [Version (since = "2.10")]
7221                 public StatusIcon.from_stock (string stock_id);
7222                 [Version (since = "2.10")]
7223                 public bool get_geometry (out unowned Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation);
7224                 [Version (since = "2.14")]
7225                 public unowned GLib.Icon? get_gicon ();
7226                 [Version (since = "2.16")]
7227                 public bool get_has_tooltip ();
7228                 [Version (since = "2.10")]
7229                 public unowned string? get_icon_name ();
7230                 [Version (since = "2.10")]
7231                 public unowned Gdk.Pixbuf? get_pixbuf ();
7232                 [Version (since = "2.12")]
7233                 public unowned Gdk.Screen get_screen ();
7234                 [Version (since = "2.10")]
7235                 public int get_size ();
7236                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
7237                 public unowned string? get_stock ();
7238                 [Version (since = "2.10")]
7239                 public Gtk.ImageType get_storage_type ();
7240                 [Version (since = "2.18")]
7241                 public unowned string get_title ();
7242                 [Version (since = "2.16")]
7243                 public string? get_tooltip_markup ();
7244                 [Version (since = "2.16")]
7245                 public string? get_tooltip_text ();
7246                 [Version (since = "2.10")]
7247                 public bool get_visible ();
7248                 [Version (since = "2.14")]
7249                 public uint32 get_x11_window_id ();
7250                 [Version (since = "2.10")]
7251                 public bool is_embedded ();
7252                 [Version (since = "2.10")]
7253                 public static void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in, Gtk.StatusIcon user_data);
7254                 [Version (since = "2.10")]
7255                 public void set_from_file (string filename);
7256                 [Version (since = "2.14")]
7257                 public void set_from_gicon (GLib.Icon icon);
7258                 [Version (since = "2.10")]
7259                 public void set_from_icon_name (string icon_name);
7260                 [Version (since = "2.10")]
7261                 public void set_from_pixbuf (Gdk.Pixbuf? pixbuf);
7262                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
7263                 public void set_from_stock (string stock_id);
7264                 [Version (since = "2.16")]
7265                 public void set_has_tooltip (bool has_tooltip);
7266                 [Version (since = "2.20")]
7267                 public void set_name (string name);
7268                 [Version (since = "2.12")]
7269                 public void set_screen (Gdk.Screen screen);
7270                 [Version (since = "2.18")]
7271                 public void set_title (string title);
7272                 [Version (since = "2.16")]
7273                 public void set_tooltip_markup (string? markup);
7274                 [Version (since = "2.16")]
7275                 public void set_tooltip_text (string text);
7276                 [Version (since = "2.10")]
7277                 public void set_visible (bool visible);
7278                 [NoAccessorMethod]
7279                 [Version (since = "2.12")]
7280                 public bool embedded { get; }
7281                 [NoAccessorMethod]
7282                 public string file { set; }
7283                 [NoAccessorMethod]
7284                 [Version (since = "2.14")]
7285                 public GLib.Icon gicon { owned get; set; }
7286                 [Version (since = "2.16")]
7287                 public bool has_tooltip { get; set; }
7288                 [NoAccessorMethod]
7289                 public string icon_name { owned get; set; }
7290                 [NoAccessorMethod]
7291                 [Version (since = "2.12")]
7292                 public Gtk.Orientation orientation { get; }
7293                 [NoAccessorMethod]
7294                 public Gdk.Pixbuf pixbuf { owned get; set; }
7295                 public Gdk.Screen screen { get; set; }
7296                 public int size { get; }
7297                 [NoAccessorMethod]
7298                 [Version (deprecated = true, deprecated_since = "3.10")]
7299                 public string stock { owned get; set; }
7300                 public Gtk.ImageType storage_type { get; }
7301                 [Version (since = "2.18")]
7302                 public string title { get; set; }
7303                 [Version (since = "2.16")]
7304                 public string tooltip_markup { owned get; set; }
7305                 [Version (since = "2.16")]
7306                 public string tooltip_text { owned get; set; }
7307                 public bool visible { get; set; }
7308                 [Version (since = "2.10")]
7309                 public virtual signal void activate ();
7310                 [Version (since = "2.14")]
7311                 public virtual signal bool button_press_event (Gdk.EventButton event);
7312                 [Version (since = "2.14")]
7313                 public virtual signal bool button_release_event (Gdk.EventButton event);
7314                 [Version (since = "2.10")]
7315                 public virtual signal void popup_menu (uint button, uint activate_time);
7316                 [Version (since = "2.16")]
7317                 public virtual signal bool query_tooltip (int x, int y, bool keyboard_mode, Gtk.Tooltip tooltip);
7318                 [Version (since = "2.16")]
7319                 public virtual signal bool scroll_event (Gdk.EventScroll event);
7320                 [Version (since = "2.10")]
7321                 public virtual signal bool size_changed (int size);
7322         }
7323         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_statusbar_get_type ()")]
7324         public class Statusbar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7325                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7326                 public Statusbar ();
7327                 public uint get_context_id (string context_description);
7328                 [Version (since = "2.20")]
7329                 public unowned Gtk.Box get_message_area ();
7330                 public void pop (uint context_id);
7331                 public uint push (uint context_id, string text);
7332                 public void remove (uint context_id, uint message_id);
7333                 [Version (since = "2.22")]
7334                 public void remove_all (uint context_id);
7335                 public virtual signal void text_popped (uint context_id, string text);
7336                 public virtual signal void text_pushed (uint context_id, string text);
7337         }
7338         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_statusbar_accessible_get_type ()")]
7339         public class StatusbarAccessible : Gtk.ContainerAccessible, Atk.Component {
7340                 [CCode (has_construct_function = false)]
7341                 protected StatusbarAccessible ();
7342         }
7343         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_get_type ()")]
7344         [Version (deprecated = true, deprecated_since = "3.0", replacement = "StyleContext")]
7345         public class Style : GLib.Object {
7346                 [CCode (array_length = false)]
7347                 public weak Cairo.Pattern background[5];
7348                 [CCode (array_length = false)]
7349                 public Gdk.Color @base[5];
7350                 [CCode (array_length = false)]
7351                 public Gdk.Color bg[5];
7352                 public Gdk.Color black;
7353                 [CCode (array_length = false)]
7354                 public Gdk.Color dark[5];
7355                 [CCode (array_length = false)]
7356                 public Gdk.Color fg[5];
7357                 public weak Pango.FontDescription font_desc;
7358                 [CCode (array_length = false)]
7359                 public Gdk.Color light[5];
7360                 [CCode (array_length = false)]
7361                 public Gdk.Color mid[5];
7362                 [CCode (array_length = false)]
7363                 public Gdk.Color text[5];
7364                 [CCode (array_length = false)]
7365                 public Gdk.Color text_aa[5];
7366                 public Gdk.Color white;
7367                 public int xthickness;
7368                 public int ythickness;
7369                 [CCode (has_construct_function = false)]
7370                 public Style ();
7371                 public void apply_default_background (Cairo.Context cr, Gdk.Window window, Gtk.StateType state_type, int x, int y, int width, int height);
7372                 [NoWrapper]
7373                 public virtual Gtk.Style clone ();
7374                 public Gtk.Style copy ();
7375                 [CCode (instance_pos = -1, vfunc_name = "copy")]
7376                 [NoWrapper]
7377                 public virtual void copy_to (Gtk.Style dest);
7378                 public void detach ();
7379                 [NoWrapper]
7380                 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);
7381                 [NoWrapper]
7382                 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);
7383                 [NoWrapper]
7384                 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);
7385                 [NoWrapper]
7386                 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);
7387                 [NoWrapper]
7388                 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);
7389                 [NoWrapper]
7390                 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);
7391                 [NoWrapper]
7392                 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);
7393                 [NoWrapper]
7394                 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);
7395                 [NoWrapper]
7396                 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);
7397                 [NoWrapper]
7398                 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);
7399                 [NoWrapper]
7400                 public virtual void draw_hline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x1, int x2, int y);
7401                 [NoWrapper]
7402                 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);
7403                 [NoWrapper]
7404                 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);
7405                 [NoWrapper]
7406                 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);
7407                 [NoWrapper]
7408                 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);
7409                 [NoWrapper]
7410                 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);
7411                 [NoWrapper]
7412                 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);
7413                 [NoWrapper]
7414                 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);
7415                 [NoWrapper]
7416                 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);
7417                 [NoWrapper]
7418                 public virtual void draw_vline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int y1_, int y2_, int x);
7419                 [Version (since = "2.16")]
7420                 public void @get (GLib.Type widget_type, ...);
7421                 [Version (since = "2.16")]
7422                 public void get_style_property (GLib.Type widget_type, string property_name, out GLib.Value value);
7423                 [Version (since = "2.16")]
7424                 public void get_valist (GLib.Type widget_type, string first_property_name, [CCode (type = "va_list")] va_list var_args);
7425                 [Version (since = "3.0")]
7426                 public bool has_context ();
7427                 [NoWrapper]
7428                 public virtual void init_from_rc (Gtk.RcStyle rc_style);
7429                 [Version (since = "2.10")]
7430                 public bool lookup_color (string color_name, out Gdk.Color color);
7431                 public unowned Gtk.IconSet lookup_icon_set (string stock_id);
7432                 public virtual Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, int size, Gtk.Widget? widget, string? detail);
7433                 public virtual void set_background (Gdk.Window window, Gtk.StateType state_type);
7434                 [NoAccessorMethod]
7435                 public Gtk.StyleContext context { owned get; construct; }
7436                 [Version (since = "2.4")]
7437                 public virtual signal void realize ();
7438                 [Version (since = "2.4")]
7439                 public virtual signal void unrealize ();
7440         }
7441         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_context_get_type ()")]
7442         public class StyleContext : GLib.Object {
7443                 [CCode (has_construct_function = false)]
7444                 public StyleContext ();
7445                 [Version (since = "3.0")]
7446                 public void add_class (string class_name);
7447                 [Version (since = "3.0")]
7448                 public void add_provider (Gtk.StyleProvider provider, uint priority);
7449                 [Version (since = "3.0")]
7450                 public static void add_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider, uint priority);
7451                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7452                 public void add_region (string region_name, Gtk.RegionFlags flags);
7453                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7454                 public void cancel_animations (void* region_id);
7455                 [Version (since = "3.0")]
7456                 public void @get (Gtk.StateFlags state, ...);
7457                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7458                 public Gdk.RGBA get_background_color (Gtk.StateFlags state);
7459                 [Version (since = "3.0")]
7460                 public Gtk.Border get_border (Gtk.StateFlags state);
7461                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7462                 public Gdk.RGBA get_border_color (Gtk.StateFlags state);
7463                 [Version (since = "3.0")]
7464                 public Gdk.RGBA get_color (Gtk.StateFlags state);
7465                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7466                 public Gtk.TextDirection get_direction ();
7467                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7468                 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
7469                 [Version (since = "3.8")]
7470                 public unowned Gdk.FrameClock? get_frame_clock ();
7471                 [Version (since = "3.0")]
7472                 public Gtk.JunctionSides get_junction_sides ();
7473                 [Version (since = "3.0")]
7474                 public Gtk.Border get_margin (Gtk.StateFlags state);
7475                 [Version (since = "3.0")]
7476                 public Gtk.Border get_padding (Gtk.StateFlags state);
7477                 [Version (since = "3.4")]
7478                 public unowned Gtk.StyleContext? get_parent ();
7479                 [Version (since = "3.0")]
7480                 public unowned Gtk.WidgetPath get_path ();
7481                 [Version (since = "3.0")]
7482                 public GLib.Value get_property (string property, Gtk.StateFlags state);
7483                 [Version (since = "3.10")]
7484                 public int get_scale ();
7485                 public unowned Gdk.Screen get_screen ();
7486                 public unowned Gtk.CssSection? get_section (string property);
7487                 [Version (since = "3.0")]
7488                 public Gtk.StateFlags get_state ();
7489                 [Version (since = "3.0")]
7490                 public void get_style (...);
7491                 public void get_style_property (string property_name, GLib.Value value);
7492                 [Version (since = "3.0")]
7493                 public void get_style_valist ([CCode (type = "va_list")] va_list args);
7494                 [Version (since = "3.0")]
7495                 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7496                 [Version (since = "3.0")]
7497                 public bool has_class (string class_name);
7498                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7499                 public bool has_region (string region_name, out Gtk.RegionFlags flags_return);
7500                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
7501                 public void invalidate ();
7502                 [Version (since = "3.0")]
7503                 public GLib.List<weak string> list_classes ();
7504                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7505                 public GLib.List<weak string> list_regions ();
7506                 public bool lookup_color (string color_name, out Gdk.RGBA color);
7507                 [Version (deprecated = true, deprecated_since = "3.10")]
7508                 public unowned Gtk.IconSet? lookup_icon_set (string stock_id);
7509                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7510                 public void notify_state_change (Gdk.Window window, void* region_id, Gtk.StateType state, bool state_value);
7511                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7512                 public void pop_animatable_region ();
7513                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7514                 public void push_animatable_region (void* region_id);
7515                 [Version (since = "3.0")]
7516                 public void remove_class (string class_name);
7517                 [Version (since = "3.0")]
7518                 public void remove_provider (Gtk.StyleProvider provider);
7519                 [Version (since = "3.0")]
7520                 public static void remove_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider);
7521                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7522                 public void remove_region (string region_name);
7523                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_activity")]
7524                 [Version (since = "3.0")]
7525                 public void render_activity (Cairo.Context cr, double x, double y, double width, double height);
7526                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_arrow")]
7527                 [Version (since = "3.0")]
7528                 public void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
7529                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_background")]
7530                 [Version (since = "3.0.")]
7531                 public void render_background (Cairo.Context cr, double x, double y, double width, double height);
7532                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_background_get_clip")]
7533                 [Version (since = "3.20")]
7534                 public Gdk.Rectangle render_background_get_clip (double x, double y, double width, double height);
7535                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_check")]
7536                 [Version (since = "3.0")]
7537                 public void render_check (Cairo.Context cr, double x, double y, double width, double height);
7538                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_expander")]
7539                 [Version (since = "3.0")]
7540                 public void render_expander (Cairo.Context cr, double x, double y, double width, double height);
7541                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_extension")]
7542                 [Version (since = "3.0")]
7543                 public void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
7544                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_focus")]
7545                 [Version (since = "3.0")]
7546                 public void render_focus (Cairo.Context cr, double x, double y, double width, double height);
7547                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_frame")]
7548                 [Version (since = "3.0")]
7549                 public void render_frame (Cairo.Context cr, double x, double y, double width, double height);
7550                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_frame_gap")]
7551                 [Version (since = "3.0")]
7552                 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);
7553                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_handle")]
7554                 [Version (since = "3.0")]
7555                 public void render_handle (Cairo.Context cr, double x, double y, double width, double height);
7556                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon")]
7557                 [Version (since = "3.2")]
7558                 public void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
7559                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon_pixbuf")]
7560                 [Version (deprecated = true, deprecated_since = "3.10", since = "3.0")]
7561                 public Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
7562                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon_surface")]
7563                 [Version (since = "3.10")]
7564                 public void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
7565                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_insertion_cursor")]
7566                 [Version (since = "3.4")]
7567                 public void render_insertion_cursor (Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
7568                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_layout")]
7569                 [Version (since = "3.0")]
7570                 public void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
7571                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_line")]
7572                 [Version (since = "3.0")]
7573                 public void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
7574                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_option")]
7575                 [Version (since = "3.0")]
7576                 public void render_option (Cairo.Context cr, double x, double y, double width, double height);
7577                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_slider")]
7578                 [Version (since = "3.0")]
7579                 public void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
7580                 [Version (since = "3.0")]
7581                 public static void reset_widgets (Gdk.Screen screen);
7582                 [Version (since = "3.0")]
7583                 public void restore ();
7584                 [Version (since = "3.0")]
7585                 public void save ();
7586                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7587                 public void scroll_animations (Gdk.Window window, int dx, int dy);
7588                 [Version (deprecated = true, deprecated_since = "3.18", since = "3.0")]
7589                 public void set_background (Gdk.Window window);
7590                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7591                 public void set_direction (Gtk.TextDirection direction);
7592                 [Version (since = "3.8")]
7593                 public void set_frame_clock (Gdk.FrameClock frame_clock);
7594                 [Version (since = "3.0")]
7595                 public void set_junction_sides (Gtk.JunctionSides sides);
7596                 [Version (since = "3.4")]
7597                 public void set_parent (Gtk.StyleContext? parent);
7598                 [Version (since = "3.0")]
7599                 public void set_path (Gtk.WidgetPath path);
7600                 [Version (since = "3.10")]
7601                 public void set_scale (int scale);
7602                 [Version (since = "3.0")]
7603                 public void set_screen (Gdk.Screen screen);
7604                 [Version (since = "3.0")]
7605                 public void set_state (Gtk.StateFlags flags);
7606                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7607                 public bool state_is_running (Gtk.StateType state, out double progress);
7608                 [Version (since = "3.20")]
7609                 public string to_string (Gtk.StyleContextPrintFlags flags);
7610                 public Gtk.TextDirection direction { get; set; }
7611                 [NoAccessorMethod]
7612                 public Gdk.FrameClock paint_clock { owned get; set; }
7613                 [Version (since = "3.4")]
7614                 public Gtk.StyleContext parent { get; set; }
7615                 public Gdk.Screen screen { get; set; }
7616                 [Version (since = "3.0")]
7617                 public virtual signal void changed ();
7618         }
7619         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_properties_get_type ()")]
7620         public class StyleProperties : GLib.Object, Gtk.StyleProvider {
7621                 [CCode (has_construct_function = false)]
7622                 [Version (deprecated = true, deprecated_since = "3.16")]
7623                 public StyleProperties ();
7624                 [Version (deprecated = true, deprecated_since = "3.16")]
7625                 public void clear ();
7626                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7627                 public void @get (Gtk.StateFlags state, ...);
7628                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7629                 public bool get_property (string property, Gtk.StateFlags state, out GLib.Value value);
7630                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7631                 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7632                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7633                 public unowned Gtk.SymbolicColor lookup_color (string name);
7634                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7635                 public static bool lookup_property (string property_name, out Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec);
7636                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7637                 public void map_color (string name, Gtk.SymbolicColor color);
7638                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7639                 public void merge (Gtk.StyleProperties props_to_merge, bool replace);
7640                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7641                 public static void register_property (Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
7642                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7643                 public void @set (Gtk.StateFlags state, ...);
7644                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7645                 public void set_property (string property, Gtk.StateFlags state, GLib.Value value);
7646                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7647                 public void set_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7648                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7649                 public void unset_property (string property, Gtk.StateFlags state);
7650         }
7651         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_switch_get_type ()")]
7652         public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
7653                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7654                 [Version (since = "3.0")]
7655                 public Switch ();
7656                 [Version (since = "3.0")]
7657                 public bool get_active ();
7658                 [Version (since = "3.14")]
7659                 public bool get_state ();
7660                 [Version (since = "3.0")]
7661                 public void set_active (bool is_active);
7662                 [Version (since = "3.14")]
7663                 public void set_state (bool state);
7664                 public bool active { get; set; }
7665                 [Version (since = "3.14")]
7666                 public bool state { get; set; }
7667                 public virtual signal void activate ();
7668                 [Version (since = "3.14")]
7669                 public virtual signal bool state_set (bool state);
7670         }
7671         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_switch_accessible_get_type ()")]
7672         public class SwitchAccessible : Gtk.WidgetAccessible, Atk.Action, Atk.Component {
7673                 [CCode (has_construct_function = false)]
7674                 protected SwitchAccessible ();
7675         }
7676         [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")]
7677         [Compact]
7678         public class SymbolicColor {
7679                 [CCode (has_construct_function = false)]
7680                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7681                 public SymbolicColor.alpha (Gtk.SymbolicColor color, double factor);
7682                 [CCode (has_construct_function = false)]
7683                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7684                 public SymbolicColor.literal (Gdk.RGBA color);
7685                 [CCode (has_construct_function = false)]
7686                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7687                 public SymbolicColor.mix (Gtk.SymbolicColor color1, Gtk.SymbolicColor color2, double factor);
7688                 [CCode (has_construct_function = false)]
7689                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7690                 public SymbolicColor.name (string name);
7691                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7692                 public unowned Gtk.SymbolicColor @ref ();
7693                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7694                 public bool resolve (Gtk.StyleProperties? props, out Gdk.RGBA resolved_color);
7695                 [CCode (has_construct_function = false)]
7696                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7697                 public SymbolicColor.shade (Gtk.SymbolicColor color, double factor);
7698                 [Version (deprecated = true, deprecated_since = "3.8")]
7699                 public string to_string ();
7700                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7701                 public void unref ();
7702                 [CCode (has_construct_function = false)]
7703                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.4")]
7704                 public SymbolicColor.win32 (string theme_class, int id);
7705         }
7706         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_table_get_type ()")]
7707         [Version (deprecated = true, deprecated_since = "3.4", replacement = "Grid")]
7708         public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7709                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7710                 public Table (uint rows, uint columns, bool homogeneous);
7711                 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);
7712                 public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
7713                 public uint get_col_spacing (uint column);
7714                 public uint get_default_col_spacing ();
7715                 public uint get_default_row_spacing ();
7716                 public bool get_homogeneous ();
7717                 public uint get_row_spacing (uint row);
7718                 [Version (since = "2.22")]
7719                 public void get_size (out uint rows, out uint columns);
7720                 public void resize (uint rows, uint columns);
7721                 public void set_col_spacing (uint column, uint spacing);
7722                 public void set_col_spacings (uint spacing);
7723                 public void set_homogeneous (bool homogeneous);
7724                 public void set_row_spacing (uint row, uint spacing);
7725                 public void set_row_spacings (uint spacing);
7726                 [NoAccessorMethod]
7727                 public uint column_spacing { get; set; }
7728                 public bool homogeneous { get; set; }
7729                 [NoAccessorMethod]
7730                 public uint n_columns { get; set; }
7731                 [NoAccessorMethod]
7732                 public uint n_rows { get; set; }
7733                 [NoAccessorMethod]
7734                 public uint row_spacing { get; set; }
7735         }
7736         [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")]
7737         [Compact]
7738         public class TargetList {
7739                 [CCode (has_construct_function = false)]
7740                 public TargetList ([CCode (array_length_cname = "ntargets", array_length_pos = 1.1, array_length_type = "guint")] Gtk.TargetEntry[]? targets);
7741                 public void add (Gdk.Atom target, uint flags, uint info);
7742                 [Version (since = "2.6")]
7743                 public void add_image_targets (uint info, bool writable);
7744                 [Version (since = "2.10")]
7745                 public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
7746                 public void add_table ([CCode (array_length_cname = "ntargets", array_length_pos = 1.1, array_length_type = "guint")] Gtk.TargetEntry[] targets);
7747                 [Version (since = "2.6")]
7748                 public void add_text_targets (uint info);
7749                 [Version (since = "2.6")]
7750                 public void add_uri_targets (uint info);
7751                 public bool find (Gdk.Atom target, out uint info);
7752                 public unowned Gtk.TargetList @ref ();
7753                 public void remove (Gdk.Atom target);
7754                 public void unref ();
7755         }
7756         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tearoff_menu_item_get_type ()")]
7757         [Version (deprecated = true, deprecated_since = "3.4")]
7758         public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
7759                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7760                 public TearoffMenuItem ();
7761         }
7762         [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")]
7763         [Compact]
7764         public class TextAttributes {
7765                 public Gtk.TextAppearance appearance;
7766                 public uint bg_full_height;
7767                 public Gtk.TextDirection direction;
7768                 public uint editable;
7769                 public Pango.FontDescription font;
7770                 public string font_features;
7771                 public double font_scale;
7772                 public int indent;
7773                 public uint invisible;
7774                 public Gtk.Justification justification;
7775                 public Pango.Language language;
7776                 public int left_margin;
7777                 public int letter_spacing;
7778                 public uint no_fallback;
7779                 public int pixels_above_lines;
7780                 public int pixels_below_lines;
7781                 public int pixels_inside_wrap;
7782                 public int right_margin;
7783                 public Pango.TabArray tabs;
7784                 public Gtk.WrapMode wrap_mode;
7785                 [CCode (has_construct_function = false)]
7786                 public TextAttributes ();
7787                 public Gtk.TextAttributes copy ();
7788                 public void copy_values (Gtk.TextAttributes dest);
7789                 public unowned Gtk.TextAttributes @ref ();
7790                 public void unref ();
7791         }
7792         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
7793         [Compact]
7794         public class TextBTree {
7795         }
7796         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_buffer_get_type ()")]
7797         public class TextBuffer : GLib.Object {
7798                 [CCode (has_construct_function = false)]
7799                 public TextBuffer (Gtk.TextTagTable? table);
7800                 [Version (since = "2.12")]
7801                 public void add_mark (Gtk.TextMark mark, Gtk.TextIter where);
7802                 public void add_selection_clipboard (Gtk.Clipboard clipboard);
7803                 public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
7804                 [Version (since = "2.6")]
7805                 public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
7806                 public void copy_clipboard (Gtk.Clipboard clipboard);
7807                 public unowned Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
7808                 public unowned Gtk.TextMark create_mark (string? mark_name, Gtk.TextIter where, bool left_gravity);
7809                 public unowned Gtk.TextTag create_tag (string? tag_name, ...);
7810                 public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable);
7811                 public void @delete (ref Gtk.TextIter start, ref Gtk.TextIter end);
7812                 public bool delete_interactive (ref Gtk.TextIter start_iter, ref Gtk.TextIter end_iter, bool default_editable);
7813                 public void delete_mark (Gtk.TextMark mark);
7814                 public void delete_mark_by_name (string name);
7815                 public bool delete_selection (bool interactive, bool default_editable);
7816                 [Version (since = "2.10")]
7817                 public bool deserialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter iter, [CCode (array_length_cname = "length", array_length_pos = 4.1, array_length_type = "gsize")] uint8[] data) throws GLib.Error;
7818                 [Version (since = "2.10")]
7819                 public bool deserialize_get_can_create_tags (Gdk.Atom format);
7820                 [Version (since = "2.10")]
7821                 public void deserialize_set_can_create_tags (Gdk.Atom format, bool can_create_tags);
7822                 public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
7823                 public int get_char_count ();
7824                 [Version (since = "2.10")]
7825                 public unowned Gtk.TargetList get_copy_target_list ();
7826                 [CCode (array_length_pos = 0.1)]
7827                 [Version (since = "2.10")]
7828                 public Gdk.Atom[] get_deserialize_formats ();
7829                 public void get_end_iter (out Gtk.TextIter iter);
7830                 [Version (since = "2.10")]
7831                 public bool get_has_selection ();
7832                 public unowned Gtk.TextMark get_insert ();
7833                 public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
7834                 public void get_iter_at_line (out Gtk.TextIter iter, int line_number);
7835                 public void get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
7836                 public void get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
7837                 public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
7838                 public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
7839                 public int get_line_count ();
7840                 public unowned Gtk.TextMark? get_mark (string name);
7841                 public bool get_modified ();
7842                 [Version (since = "2.10")]
7843                 public unowned Gtk.TargetList get_paste_target_list ();
7844                 public unowned Gtk.TextMark get_selection_bound ();
7845                 public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
7846                 [CCode (array_length_pos = 0.1)]
7847                 [Version (since = "2.10")]
7848                 public Gdk.Atom[] get_serialize_formats ();
7849                 public string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
7850                 public void get_start_iter (out Gtk.TextIter iter);
7851                 public unowned Gtk.TextTagTable get_tag_table ();
7852                 public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
7853                 public void insert (ref Gtk.TextIter iter, string text, int len);
7854                 public void insert_at_cursor (string text, int len);
7855                 public bool insert_interactive (ref Gtk.TextIter iter, string text, int len, bool default_editable);
7856                 public bool insert_interactive_at_cursor (string text, int len, bool default_editable);
7857                 [Version (since = "3.16")]
7858                 public void insert_markup (ref Gtk.TextIter iter, string markup, int len);
7859                 public void insert_range (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end);
7860                 public bool insert_range_interactive (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable);
7861                 public void insert_with_tags (ref Gtk.TextIter iter, string text, int len, ...);
7862                 public void insert_with_tags_by_name (ref Gtk.TextIter iter, string text, int len, ...);
7863                 public void move_mark (Gtk.TextMark mark, Gtk.TextIter where);
7864                 public void move_mark_by_name (string name, Gtk.TextIter where);
7865                 public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter? override_location, bool default_editable);
7866                 public void place_cursor (Gtk.TextIter where);
7867                 [Version (since = "2.10")]
7868                 public Gdk.Atom register_deserialize_format (string mime_type, owned Gtk.TextBufferDeserializeFunc function);
7869                 [Version (since = "2.10")]
7870                 public Gdk.Atom register_deserialize_tagset (string? tagset_name);
7871                 [Version (since = "2.10")]
7872                 public Gdk.Atom register_serialize_format (string mime_type, owned Gtk.TextBufferSerializeFunc function);
7873                 [Version (since = "2.10")]
7874                 public Gdk.Atom register_serialize_tagset (string? tagset_name);
7875                 public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end);
7876                 public void remove_selection_clipboard (Gtk.Clipboard clipboard);
7877                 public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
7878                 [Version (since = "2.4")]
7879                 public void select_range (Gtk.TextIter ins, Gtk.TextIter bound);
7880                 [CCode (array_length_pos = 4.1, array_length_type = "gsize")]
7881                 [Version (since = "2.10")]
7882                 public uint8[] serialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end);
7883                 public void set_modified (bool setting);
7884                 public void set_text (string text, int len = -1);
7885                 [Version (since = "2.10")]
7886                 public void unregister_deserialize_format (Gdk.Atom format);
7887                 [Version (since = "2.10")]
7888                 public void unregister_serialize_format (Gdk.Atom format);
7889                 [Version (since = "2.10")]
7890                 public Gtk.TargetList copy_target_list { get; }
7891                 [NoAccessorMethod]
7892                 [Version (since = "2.10")]
7893                 public int cursor_position { get; }
7894                 [Version (since = "2.10")]
7895                 public bool has_selection { get; }
7896                 [Version (since = "2.10")]
7897                 public Gtk.TargetList paste_target_list { get; }
7898                 public Gtk.TextTagTable tag_table { get; construct; }
7899                 [NoAccessorMethod]
7900                 [Version (since = "2.8")]
7901                 public string text { owned get; set; }
7902                 [HasEmitter]
7903                 public virtual signal void apply_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
7904                 [HasEmitter]
7905                 public virtual signal void begin_user_action ();
7906                 public virtual signal void changed ();
7907                 public virtual signal void delete_range (Gtk.TextIter start, Gtk.TextIter end);
7908                 [HasEmitter]
7909                 public virtual signal void end_user_action ();
7910                 [HasEmitter]
7911                 public virtual signal void insert_child_anchor (Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
7912                 [HasEmitter]
7913                 public virtual signal void insert_pixbuf (Gtk.TextIter iter, Gdk.Pixbuf pixbuf);
7914                 public virtual signal void insert_text (ref Gtk.TextIter pos, string new_text, int new_text_length);
7915                 public virtual signal void mark_deleted (Gtk.TextMark mark);
7916                 public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
7917                 public virtual signal void modified_changed ();
7918                 [Version (since = "2.16")]
7919                 public virtual signal void paste_done (Gtk.Clipboard clipboard);
7920                 [HasEmitter]
7921                 public virtual signal void remove_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
7922         }
7923         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_cell_accessible_get_type ()")]
7924         public class TextCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component, Atk.Text {
7925                 [CCode (has_construct_function = false)]
7926                 protected TextCellAccessible ();
7927         }
7928         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_child_anchor_get_type ()")]
7929         public class TextChildAnchor : GLib.Object {
7930                 [CCode (has_construct_function = false)]
7931                 public TextChildAnchor ();
7932                 public bool get_deleted ();
7933                 public GLib.List<weak Gtk.Widget> get_widgets ();
7934         }
7935         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_mark_get_type ()")]
7936         public class TextMark : GLib.Object {
7937                 [CCode (has_construct_function = false)]
7938                 [Version (since = "2.12")]
7939                 public TextMark (string? name, bool left_gravity = false);
7940                 public unowned Gtk.TextBuffer get_buffer ();
7941                 public bool get_deleted ();
7942                 public bool get_left_gravity ();
7943                 public unowned string? get_name ();
7944                 public bool get_visible ();
7945                 public void set_visible (bool setting);
7946                 public bool left_gravity { get; construct; }
7947                 public string name { get; construct; }
7948         }
7949         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_get_type ()")]
7950         public class TextTag : GLib.Object {
7951                 [CCode (has_construct_function = false)]
7952                 public TextTag (string? name = null);
7953                 [Version (since = "3.20")]
7954                 public void changed (bool size_changed);
7955                 public int get_priority ();
7956                 public void set_priority (int priority);
7957                 [NoAccessorMethod]
7958                 [Version (since = "2.12")]
7959                 public bool accumulative_margin { get; set; }
7960                 [NoAccessorMethod]
7961                 public string background { set; }
7962                 [NoAccessorMethod]
7963                 public bool background_full_height { get; set; }
7964                 [NoAccessorMethod]
7965                 public bool background_full_height_set { get; set; }
7966                 [NoAccessorMethod]
7967                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
7968                 public Gdk.Color background_gdk { get; set; }
7969                 [NoAccessorMethod]
7970                 [Version (since = "3.2")]
7971                 public Gdk.RGBA background_rgba { get; set; }
7972                 [NoAccessorMethod]
7973                 public bool background_set { get; set; }
7974                 [NoAccessorMethod]
7975                 public Gtk.TextDirection direction { get; set; }
7976                 [NoAccessorMethod]
7977                 public bool editable { get; set; }
7978                 [NoAccessorMethod]
7979                 public bool editable_set { get; set; }
7980                 [NoAccessorMethod]
7981                 [Version (since = "3.16")]
7982                 public bool fallback { get; set; }
7983                 [NoAccessorMethod]
7984                 public bool fallback_set { get; set; }
7985                 [NoAccessorMethod]
7986                 public string family { owned get; set; }
7987                 [NoAccessorMethod]
7988                 public bool family_set { get; set; }
7989                 [NoAccessorMethod]
7990                 public string font { owned get; set; }
7991                 [NoAccessorMethod]
7992                 public Pango.FontDescription font_desc { owned get; set; }
7993                 [NoAccessorMethod]
7994                 [Version (since = "3.18")]
7995                 public string font_features { owned get; set; }
7996                 [NoAccessorMethod]
7997                 public bool font_features_set { get; set; }
7998                 [NoAccessorMethod]
7999                 public string foreground { set; }
8000                 [NoAccessorMethod]
8001                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "foreground_rgba")]
8002                 public Gdk.Color foreground_gdk { get; set; }
8003                 [NoAccessorMethod]
8004                 [Version (since = "3.2")]
8005                 public Gdk.RGBA foreground_rgba { get; set; }
8006                 [NoAccessorMethod]
8007                 public bool foreground_set { get; set; }
8008                 [NoAccessorMethod]
8009                 public int indent { get; set; }
8010                 [NoAccessorMethod]
8011                 public bool indent_set { get; set; }
8012                 [NoAccessorMethod]
8013                 [Version (since = "2.8")]
8014                 public bool invisible { get; set; }
8015                 [NoAccessorMethod]
8016                 public bool invisible_set { get; set; }
8017                 [NoAccessorMethod]
8018                 public Gtk.Justification justification { get; set; }
8019                 [NoAccessorMethod]
8020                 public bool justification_set { get; set; }
8021                 [NoAccessorMethod]
8022                 public string language { owned get; set; }
8023                 [NoAccessorMethod]
8024                 public bool language_set { get; set; }
8025                 [NoAccessorMethod]
8026                 public int left_margin { get; set; }
8027                 [NoAccessorMethod]
8028                 public bool left_margin_set { get; set; }
8029                 [NoAccessorMethod]
8030                 [Version (since = "3.16")]
8031                 public int letter_spacing { get; set; }
8032                 [NoAccessorMethod]
8033                 public bool letter_spacing_set { get; set; }
8034                 [NoAccessorMethod]
8035                 public string name { owned get; construct; }
8036                 [NoAccessorMethod]
8037                 [Version (since = "2.8")]
8038                 public string paragraph_background { set; }
8039                 [NoAccessorMethod]
8040                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "paragraph_background_rgba", since = "2.8")]
8041                 public Gdk.Color paragraph_background_gdk { get; set; }
8042                 [NoAccessorMethod]
8043                 [Version (since = "3.2")]
8044                 public Gdk.RGBA paragraph_background_rgba { get; set; }
8045                 [NoAccessorMethod]
8046                 public bool paragraph_background_set { get; set; }
8047                 [NoAccessorMethod]
8048                 public int pixels_above_lines { get; set; }
8049                 [NoAccessorMethod]
8050                 public bool pixels_above_lines_set { get; set; }
8051                 [NoAccessorMethod]
8052                 public int pixels_below_lines { get; set; }
8053                 [NoAccessorMethod]
8054                 public bool pixels_below_lines_set { get; set; }
8055                 [NoAccessorMethod]
8056                 public int pixels_inside_wrap { get; set; }
8057                 [NoAccessorMethod]
8058                 public bool pixels_inside_wrap_set { get; set; }
8059                 [NoAccessorMethod]
8060                 public int right_margin { get; set; }
8061                 [NoAccessorMethod]
8062                 public bool right_margin_set { get; set; }
8063                 [NoAccessorMethod]
8064                 public int rise { get; set; }
8065                 [NoAccessorMethod]
8066                 public bool rise_set { get; set; }
8067                 [NoAccessorMethod]
8068                 public double scale { get; set; }
8069                 [NoAccessorMethod]
8070                 public bool scale_set { get; set; }
8071                 [NoAccessorMethod]
8072                 public int size { get; set; }
8073                 [NoAccessorMethod]
8074                 public double size_points { get; set; }
8075                 [NoAccessorMethod]
8076                 public bool size_set { get; set; }
8077                 [NoAccessorMethod]
8078                 public Pango.Stretch stretch { get; set; }
8079                 [NoAccessorMethod]
8080                 public bool stretch_set { get; set; }
8081                 [NoAccessorMethod]
8082                 public bool strikethrough { get; set; }
8083                 [NoAccessorMethod]
8084                 [Version (since = "3.16")]
8085                 public Gdk.RGBA strikethrough_rgba { get; set; }
8086                 [NoAccessorMethod]
8087                 [Version (since = "3.16")]
8088                 public bool strikethrough_rgba_set { get; set; }
8089                 [NoAccessorMethod]
8090                 public bool strikethrough_set { get; set; }
8091                 [NoAccessorMethod]
8092                 public Pango.Style style { get; set; }
8093                 [NoAccessorMethod]
8094                 public bool style_set { get; set; }
8095                 [NoAccessorMethod]
8096                 public Pango.TabArray tabs { owned get; set; }
8097                 [NoAccessorMethod]
8098                 public bool tabs_set { get; set; }
8099                 [NoAccessorMethod]
8100                 public Pango.Underline underline { get; set; }
8101                 [NoAccessorMethod]
8102                 [Version (since = "3.16")]
8103                 public Gdk.RGBA underline_rgba { get; set; }
8104                 [NoAccessorMethod]
8105                 [Version (since = "3.16")]
8106                 public bool underline_rgba_set { get; set; }
8107                 [NoAccessorMethod]
8108                 public bool underline_set { get; set; }
8109                 [NoAccessorMethod]
8110                 public Pango.Variant variant { get; set; }
8111                 [NoAccessorMethod]
8112                 public bool variant_set { get; set; }
8113                 [NoAccessorMethod]
8114                 public int weight { get; set; }
8115                 [NoAccessorMethod]
8116                 public bool weight_set { get; set; }
8117                 [NoAccessorMethod]
8118                 public Gtk.WrapMode wrap_mode { get; set; }
8119                 [NoAccessorMethod]
8120                 public bool wrap_mode_set { get; set; }
8121                 [HasEmitter]
8122                 public virtual signal bool event (GLib.Object event_object, Gdk.Event event, Gtk.TextIter iter);
8123         }
8124         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_table_get_type ()")]
8125         public class TextTagTable : GLib.Object, Gtk.Buildable {
8126                 [CCode (has_construct_function = false)]
8127                 public TextTagTable ();
8128                 public bool add (Gtk.TextTag tag);
8129                 public void @foreach (Gtk.TextTagTableForeach func);
8130                 public int get_size ();
8131                 public unowned Gtk.TextTag? lookup (string name);
8132                 public void remove (Gtk.TextTag tag);
8133                 public virtual signal void tag_added (Gtk.TextTag tag);
8134                 public virtual signal void tag_changed (Gtk.TextTag tag, bool size_changed);
8135                 public virtual signal void tag_removed (Gtk.TextTag tag);
8136         }
8137         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_view_get_type ()")]
8138         public class TextView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
8139                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8140                 public TextView ();
8141                 public void add_child_at_anchor (Gtk.Widget child, Gtk.TextChildAnchor anchor);
8142                 public void add_child_in_window (Gtk.Widget child, Gtk.TextWindowType which_window, int xpos, int ypos);
8143                 public bool backward_display_line (Gtk.TextIter iter);
8144                 public bool backward_display_line_start (Gtk.TextIter iter);
8145                 public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y);
8146                 [NoWrapper]
8147                 public virtual Gtk.TextBuffer create_buffer ();
8148                 [NoWrapper]
8149                 public virtual void draw_layer (Gtk.TextViewLayer layer, Cairo.Context cr);
8150                 public bool forward_display_line (Gtk.TextIter iter);
8151                 public bool forward_display_line_end (Gtk.TextIter iter);
8152                 [Version (since = "2.4")]
8153                 public bool get_accepts_tab ();
8154                 public int get_border_window_size (Gtk.TextWindowType type);
8155                 [Version (since = "3.18")]
8156                 public int get_bottom_margin ();
8157                 public unowned Gtk.TextBuffer get_buffer ();
8158                 [Version (since = "3.0")]
8159                 public void get_cursor_locations (Gtk.TextIter? iter, out Gdk.Rectangle strong, out Gdk.Rectangle @weak);
8160                 public bool get_cursor_visible ();
8161                 public Gtk.TextAttributes get_default_attributes ();
8162                 public bool get_editable ();
8163                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.22")]
8164                 public unowned Gtk.Adjustment get_hadjustment ();
8165                 public int get_indent ();
8166                 [Version (since = "3.6")]
8167                 public Gtk.InputHints get_input_hints ();
8168                 [Version (since = "3.6")]
8169                 public Gtk.InputPurpose get_input_purpose ();
8170                 public bool get_iter_at_location (out Gtk.TextIter iter, int x, int y);
8171                 [Version (since = "2.6")]
8172                 public bool get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
8173                 public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
8174                 public Gtk.Justification get_justification ();
8175                 public int get_left_margin ();
8176                 public void get_line_at_y (out Gtk.TextIter target_iter, int y, out int line_top);
8177                 public void get_line_yrange (Gtk.TextIter iter, out int y, out int height);
8178                 [Version (since = "3.16")]
8179                 public bool get_monospace ();
8180                 [Version (since = "2.4")]
8181                 public bool get_overwrite ();
8182                 public int get_pixels_above_lines ();
8183                 public int get_pixels_below_lines ();
8184                 public int get_pixels_inside_wrap ();
8185                 public int get_right_margin ();
8186                 public Pango.TabArray? get_tabs ();
8187                 [Version (since = "3.18")]
8188                 public int get_top_margin ();
8189                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.22")]
8190                 public unowned Gtk.Adjustment get_vadjustment ();
8191                 public void get_visible_rect (out Gdk.Rectangle visible_rect);
8192                 public unowned Gdk.Window? get_window (Gtk.TextWindowType win);
8193                 public Gtk.TextWindowType get_window_type (Gdk.Window window);
8194                 public Gtk.WrapMode get_wrap_mode ();
8195                 [Version (since = "2.22")]
8196                 public bool im_context_filter_keypress (Gdk.EventKey event);
8197                 public void move_child (Gtk.Widget child, int xpos, int ypos);
8198                 public bool move_mark_onscreen (Gtk.TextMark mark);
8199                 public bool move_visually (Gtk.TextIter iter, int count);
8200                 public bool place_cursor_onscreen ();
8201                 [Version (since = "3.20")]
8202                 public void reset_cursor_blink ();
8203                 [Version (since = "2.22")]
8204                 public void reset_im_context ();
8205                 public void scroll_mark_onscreen (Gtk.TextMark mark);
8206                 public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
8207                 public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
8208                 [Version (since = "2.4")]
8209                 public void set_accepts_tab (bool accepts_tab);
8210                 public void set_border_window_size (Gtk.TextWindowType type, int size);
8211                 [Version (since = "3.18")]
8212                 public void set_bottom_margin (int bottom_margin);
8213                 public void set_buffer (Gtk.TextBuffer? buffer);
8214                 public void set_cursor_visible (bool setting);
8215                 public void set_editable (bool setting);
8216                 public void set_indent (int indent);
8217                 [Version (since = "3.6")]
8218                 public void set_input_hints (Gtk.InputHints hints);
8219                 [Version (since = "3.6")]
8220                 public void set_input_purpose (Gtk.InputPurpose purpose);
8221                 public void set_justification (Gtk.Justification justification);
8222                 public void set_left_margin (int left_margin);
8223                 [Version (since = "3.16")]
8224                 public void set_monospace (bool monospace);
8225                 [Version (since = "2.4")]
8226                 public void set_overwrite (bool overwrite);
8227                 public void set_pixels_above_lines (int pixels_above_lines);
8228                 public void set_pixels_below_lines (int pixels_below_lines);
8229                 public void set_pixels_inside_wrap (int pixels_inside_wrap);
8230                 public void set_right_margin (int right_margin);
8231                 public void set_tabs (Pango.TabArray tabs);
8232                 [Version (since = "3.18")]
8233                 public void set_top_margin (int top_margin);
8234                 public void set_wrap_mode (Gtk.WrapMode wrap_mode);
8235                 public bool starts_display_line (Gtk.TextIter iter);
8236                 public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y);
8237                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8238                 public TextView.with_buffer (Gtk.TextBuffer buffer);
8239                 public bool accepts_tab { get; set; }
8240                 [Version (since = "3.18")]
8241                 public int bottom_margin { get; set; }
8242                 public Gtk.TextBuffer buffer { get; set; }
8243                 public bool cursor_visible { get; set; }
8244                 public bool editable { get; set; }
8245                 [NoAccessorMethod]
8246                 [Version (since = "2.16")]
8247                 public string im_module { owned get; set; }
8248                 public int indent { get; set; }
8249                 [Version (since = "3.6")]
8250                 public Gtk.InputHints input_hints { get; set; }
8251                 [Version (since = "3.6")]
8252                 public Gtk.InputPurpose input_purpose { get; set; }
8253                 public Gtk.Justification justification { get; set; }
8254                 public int left_margin { get; set; }
8255                 public bool monospace { get; set; }
8256                 public bool overwrite { get; set; }
8257                 public int pixels_above_lines { get; set; }
8258                 public int pixels_below_lines { get; set; }
8259                 public int pixels_inside_wrap { get; set; }
8260                 [NoAccessorMethod]
8261                 [Version (since = "3.8")]
8262                 public bool populate_all { get; set; }
8263                 public int right_margin { get; set; }
8264                 public Pango.TabArray tabs { owned get; set; }
8265                 [Version (since = "3.18")]
8266                 public int top_margin { get; set; }
8267                 public Gtk.WrapMode wrap_mode { get; set; }
8268                 public virtual signal void backspace ();
8269                 public virtual signal void copy_clipboard ();
8270                 public virtual signal void cut_clipboard ();
8271                 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
8272                 [Version (since = "3.16")]
8273                 public virtual signal bool extend_selection (Gtk.TextExtendSelection granularity, Gtk.TextIter location, Gtk.TextIter start, Gtk.TextIter end);
8274                 public virtual signal void insert_at_cursor (string str);
8275                 [Version (since = "3.22.27")]
8276                 public virtual signal void insert_emoji ();
8277                 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
8278                 public signal void move_viewport (Gtk.ScrollStep step, int count);
8279                 public virtual signal void paste_clipboard ();
8280                 public virtual signal void populate_popup (Gtk.Menu popup);
8281                 [Version (since = "2.20")]
8282                 public signal void preedit_changed (string preedit);
8283                 public signal void select_all (bool select);
8284                 public virtual signal void set_anchor ();
8285                 public signal void toggle_cursor_visible ();
8286                 public virtual signal void toggle_overwrite ();
8287         }
8288         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_view_accessible_get_type ()")]
8289         public class TextViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.EditableText, Atk.StreamableContent, Atk.Text {
8290                 [CCode (has_construct_function = false)]
8291                 protected TextViewAccessible ();
8292         }
8293         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
8294         [Compact]
8295         public class ThemeEngine {
8296         }
8297         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_theming_engine_get_type ()")]
8298         public class ThemingEngine : GLib.Object {
8299                 [CCode (has_construct_function = false)]
8300                 protected ThemingEngine ();
8301                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8302                 public void @get (Gtk.StateFlags state, ...);
8303                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8304                 public Gdk.RGBA get_background_color (Gtk.StateFlags state);
8305                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8306                 public Gtk.Border get_border (Gtk.StateFlags state);
8307                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8308                 public Gdk.RGBA get_border_color (Gtk.StateFlags state);
8309                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8310                 public Gdk.RGBA get_color (Gtk.StateFlags state);
8311                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8312                 public Gtk.TextDirection get_direction ();
8313                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8314                 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
8315                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8316                 public Gtk.JunctionSides get_junction_sides ();
8317                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8318                 public Gtk.Border get_margin (Gtk.StateFlags state);
8319                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8320                 public Gtk.Border get_padding (Gtk.StateFlags state);
8321                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8322                 public unowned Gtk.WidgetPath get_path ();
8323                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8324                 public GLib.Value get_property (string property, Gtk.StateFlags state);
8325                 [Version (deprecated = true, deprecated_since = "3.14")]
8326                 public unowned Gdk.Screen? get_screen ();
8327                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8328                 public Gtk.StateFlags get_state ();
8329                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8330                 public void get_style (...);
8331                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8332                 public GLib.Value get_style_property (string property_name);
8333                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8334                 public void get_style_valist ([CCode (type = "va_list")] va_list args);
8335                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8336                 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
8337                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8338                 public bool has_class (string style_class);
8339                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8340                 public bool has_region (string style_region, out Gtk.RegionFlags flags);
8341                 [Version (deprecated = true, deprecated_since = "3.14")]
8342                 public static unowned Gtk.ThemingEngine? load (string name);
8343                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8344                 public bool lookup_color (string color_name, out Gdk.RGBA color);
8345                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8346                 public static void register_property (string name_space, Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
8347                 [NoWrapper]
8348                 public virtual void render_activity (Cairo.Context cr, double x, double y, double width, double height);
8349                 [NoWrapper]
8350                 public virtual void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
8351                 [NoWrapper]
8352                 public virtual void render_background (Cairo.Context cr, double x, double y, double width, double height);
8353                 [NoWrapper]
8354                 public virtual void render_check (Cairo.Context cr, double x, double y, double width, double height);
8355                 [NoWrapper]
8356                 public virtual void render_expander (Cairo.Context cr, double x, double y, double width, double height);
8357                 [NoWrapper]
8358                 public virtual void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
8359                 [NoWrapper]
8360                 public virtual void render_focus (Cairo.Context cr, double x, double y, double width, double height);
8361                 [NoWrapper]
8362                 public virtual void render_frame (Cairo.Context cr, double x, double y, double width, double height);
8363                 [NoWrapper]
8364                 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);
8365                 [NoWrapper]
8366                 public virtual void render_handle (Cairo.Context cr, double x, double y, double width, double height);
8367                 [NoWrapper]
8368                 public virtual void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
8369                 [NoWrapper]
8370                 public virtual Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
8371                 [NoWrapper]
8372                 public virtual void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
8373                 [NoWrapper]
8374                 public virtual void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
8375                 [NoWrapper]
8376                 public virtual void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
8377                 [NoWrapper]
8378                 public virtual void render_option (Cairo.Context cr, double x, double y, double width, double height);
8379                 [NoWrapper]
8380                 public virtual void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
8381                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
8382                 public bool state_is_running (Gtk.StateType state, out double progress);
8383                 [NoAccessorMethod]
8384                 [Version (since = "3.0")]
8385                 public string name { owned get; construct; }
8386         }
8387         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_action_get_type ()")]
8388         [Version (deprecated = true, deprecated_since = "3.10")]
8389         public class ToggleAction : Gtk.Action, Gtk.Buildable {
8390                 [CCode (has_construct_function = false)]
8391                 [Version (since = "2.4")]
8392                 public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
8393                 [Version (since = "2.4")]
8394                 public bool get_active ();
8395                 [Version (since = "2.4")]
8396                 public bool get_draw_as_radio ();
8397                 [Version (since = "2.4")]
8398                 public void set_active (bool is_active);
8399                 [Version (since = "2.4")]
8400                 public void set_draw_as_radio (bool draw_as_radio);
8401                 [Version (since = "2.10")]
8402                 public bool active { get; set; }
8403                 public bool draw_as_radio { get; set; }
8404                 [HasEmitter]
8405                 public virtual signal void toggled ();
8406         }
8407         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_button_get_type ()")]
8408         public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8409                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8410                 public ToggleButton ();
8411                 public bool get_active ();
8412                 public bool get_inconsistent ();
8413                 public bool get_mode ();
8414                 public void set_active (bool is_active);
8415                 public void set_inconsistent (bool setting);
8416                 public void set_mode (bool draw_indicator);
8417                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8418                 public ToggleButton.with_label (string label);
8419                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8420                 public ToggleButton.with_mnemonic (string label);
8421                 public bool active { get; set; }
8422                 [NoAccessorMethod]
8423                 public bool draw_indicator { get; set; }
8424                 public bool inconsistent { get; set; }
8425                 [HasEmitter]
8426                 public virtual signal void toggled ();
8427         }
8428         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toggle_button_accessible_get_type ()")]
8429         public class ToggleButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
8430                 [CCode (has_construct_function = false)]
8431                 protected ToggleButtonAccessible ();
8432         }
8433         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_tool_button_get_type ()")]
8434         public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8435                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8436                 [Version (since = "2.4")]
8437                 public ToggleToolButton ();
8438                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8439                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8440                 public ToggleToolButton.from_stock (string stock_id);
8441                 [Version (since = "2.4")]
8442                 public bool get_active ();
8443                 [Version (since = "2.4")]
8444                 public void set_active (bool is_active);
8445                 [Version (since = "2.8")]
8446                 public bool active { get; set; }
8447                 public virtual signal void toggled ();
8448         }
8449         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_button_get_type ()")]
8450         public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8451                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8452                 [Version (since = "2.4")]
8453                 public ToolButton (Gtk.Widget? icon_widget, string? label);
8454                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8455                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8456                 public ToolButton.from_stock (string stock_id);
8457                 [Version (since = "2.8")]
8458                 public unowned string? get_icon_name ();
8459                 [Version (since = "2.4")]
8460                 public unowned Gtk.Widget? get_icon_widget ();
8461                 [Version (since = "2.4")]
8462                 public unowned string? get_label ();
8463                 [Version (since = "2.4")]
8464                 public unowned Gtk.Widget? get_label_widget ();
8465                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8466                 public unowned string get_stock_id ();
8467                 [Version (since = "2.4")]
8468                 public bool get_use_underline ();
8469                 [Version (since = "2.8")]
8470                 public void set_icon_name (string? icon_name);
8471                 [Version (since = "2.4")]
8472                 public void set_icon_widget (Gtk.Widget? icon_widget);
8473                 [Version (since = "2.4")]
8474                 public void set_label (string? label);
8475                 [Version (since = "2.4")]
8476                 public void set_label_widget (Gtk.Widget? label_widget);
8477                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8478                 public void set_stock_id (string? stock_id);
8479                 [Version (since = "2.4")]
8480                 public void set_use_underline (bool use_underline);
8481                 [Version (since = "2.8")]
8482                 public string icon_name { get; set; }
8483                 public Gtk.Widget icon_widget { get; set; }
8484                 public string label { get; set; }
8485                 public Gtk.Widget label_widget { get; set; }
8486                 [Version (deprecated = true, deprecated_since = "3.10")]
8487                 public string stock_id { get; set; }
8488                 public bool use_underline { get; set; }
8489                 public virtual signal void clicked ();
8490         }
8491         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_get_type ()")]
8492         public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Activatable, Gtk.Buildable {
8493                 [CCode (has_construct_function = false)]
8494                 [Version (since = "2.4")]
8495                 public ToolItem ();
8496                 [Version (since = "2.20")]
8497                 public Pango.EllipsizeMode get_ellipsize_mode ();
8498                 [Version (since = "2.4")]
8499                 public bool get_expand ();
8500                 [Version (since = "2.4")]
8501                 public bool get_homogeneous ();
8502                 [Version (since = "2.4")]
8503                 public Gtk.IconSize get_icon_size ();
8504                 [Version (since = "2.4")]
8505                 public bool get_is_important ();
8506                 [Version (since = "2.4")]
8507                 public Gtk.Orientation get_orientation ();
8508                 [Version (since = "2.4")]
8509                 public unowned Gtk.Widget? get_proxy_menu_item (string menu_item_id);
8510                 [Version (since = "2.4")]
8511                 public Gtk.ReliefStyle get_relief_style ();
8512                 [Version (since = "2.20")]
8513                 public float get_text_alignment ();
8514                 [Version (since = "2.20")]
8515                 public Gtk.Orientation get_text_orientation ();
8516                 [Version (since = "2.20")]
8517                 public unowned Gtk.SizeGroup get_text_size_group ();
8518                 [Version (since = "2.4")]
8519                 public Gtk.ToolbarStyle get_toolbar_style ();
8520                 [Version (since = "2.4")]
8521                 public bool get_use_drag_window ();
8522                 [Version (since = "2.4")]
8523                 public bool get_visible_horizontal ();
8524                 [Version (since = "2.4")]
8525                 public bool get_visible_vertical ();
8526                 [Version (since = "2.6")]
8527                 public void rebuild_menu ();
8528                 [Version (since = "2.4")]
8529                 public unowned Gtk.Widget retrieve_proxy_menu_item ();
8530                 [Version (since = "2.4")]
8531                 public void set_expand (bool expand);
8532                 [Version (since = "2.4")]
8533                 public void set_homogeneous (bool homogeneous);
8534                 [Version (since = "2.4")]
8535                 public void set_is_important (bool is_important);
8536                 [Version (since = "2.4")]
8537                 public void set_proxy_menu_item (string menu_item_id, Gtk.Widget? menu_item);
8538                 [Version (since = "2.12")]
8539                 public void set_tooltip_markup (string markup);
8540                 [Version (since = "2.12")]
8541                 public void set_tooltip_text (string text);
8542                 [Version (since = "2.4")]
8543                 public void set_use_drag_window (bool use_drag_window);
8544                 [Version (since = "2.4")]
8545                 public void set_visible_horizontal (bool visible_horizontal);
8546                 [Version (since = "2.4")]
8547                 public void set_visible_vertical (bool visible_vertical);
8548                 public bool is_important { get; set; }
8549                 public bool visible_horizontal { get; set; }
8550                 public bool visible_vertical { get; set; }
8551                 public virtual signal bool create_menu_proxy ();
8552                 [HasEmitter]
8553                 public virtual signal void toolbar_reconfigured ();
8554         }
8555         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_group_get_type ()")]
8556         public class ToolItemGroup : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
8557                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8558                 [Version (since = "2.20")]
8559                 public ToolItemGroup (string label);
8560                 [Version (since = "2.20")]
8561                 public bool get_collapsed ();
8562                 [Version (since = "2.20")]
8563                 public unowned Gtk.ToolItem get_drop_item (int x, int y);
8564                 [Version (since = "2.20")]
8565                 public Pango.EllipsizeMode get_ellipsize ();
8566                 [Version (since = "2.20")]
8567                 public Gtk.ReliefStyle get_header_relief ();
8568                 [Version (since = "2.20")]
8569                 public int get_item_position (Gtk.ToolItem item);
8570                 [Version (since = "2.20")]
8571                 public unowned string get_label ();
8572                 [Version (since = "2.20")]
8573                 public unowned Gtk.Widget get_label_widget ();
8574                 [Version (since = "2.20")]
8575                 public uint get_n_items ();
8576                 [Version (since = "2.20")]
8577                 public unowned Gtk.ToolItem get_nth_item (uint index);
8578                 [Version (since = "2.20")]
8579                 public void insert (Gtk.ToolItem item, int position);
8580                 [Version (since = "2.20")]
8581                 public void set_collapsed (bool collapsed);
8582                 [Version (since = "2.20")]
8583                 public void set_ellipsize (Pango.EllipsizeMode ellipsize);
8584                 [Version (since = "2.20")]
8585                 public void set_header_relief (Gtk.ReliefStyle style);
8586                 [Version (since = "2.20")]
8587                 public void set_item_position (Gtk.ToolItem item, int position);
8588                 [Version (since = "2.20")]
8589                 public void set_label (string label);
8590                 [Version (since = "2.20")]
8591                 public void set_label_widget (Gtk.Widget label_widget);
8592                 public bool collapsed { get; set; }
8593                 public Pango.EllipsizeMode ellipsize { get; set; }
8594                 public Gtk.ReliefStyle header_relief { get; set; }
8595                 public string label { get; set; }
8596                 public Gtk.Widget label_widget { get; set; }
8597         }
8598         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_palette_get_type ()")]
8599         public class ToolPalette : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Scrollable {
8600                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8601                 [Version (since = "2.20")]
8602                 public ToolPalette ();
8603                 [Version (since = "2.20")]
8604                 public void add_drag_dest (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.ToolPaletteDragTargets targets, Gdk.DragAction actions);
8605                 [Version (since = "2.20")]
8606                 public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
8607                 [Version (since = "2.20")]
8608                 public static unowned Gtk.TargetEntry? get_drag_target_group ();
8609                 [Version (since = "2.20")]
8610                 public static unowned Gtk.TargetEntry? get_drag_target_item ();
8611                 [Version (since = "2.20")]
8612                 public unowned Gtk.ToolItemGroup? get_drop_group (int x, int y);
8613                 [Version (since = "2.20")]
8614                 public unowned Gtk.ToolItem? get_drop_item (int x, int y);
8615                 [Version (since = "2.20")]
8616                 public bool get_exclusive (Gtk.ToolItemGroup group);
8617                 [Version (since = "2.20")]
8618                 public bool get_expand (Gtk.ToolItemGroup group);
8619                 [Version (since = "2.20")]
8620                 public int get_group_position (Gtk.ToolItemGroup group);
8621                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
8622                 public unowned Gtk.Adjustment get_hadjustment ();
8623                 [Version (since = "2.20")]
8624                 public Gtk.IconSize get_icon_size ();
8625                 [Version (since = "2.20")]
8626                 public Gtk.ToolbarStyle get_style ();
8627                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
8628                 public unowned Gtk.Adjustment get_vadjustment ();
8629                 [Version (since = "2.20")]
8630                 public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
8631                 [Version (since = "2.20")]
8632                 public void set_exclusive (Gtk.ToolItemGroup group, bool exclusive);
8633                 [Version (since = "2.20")]
8634                 public void set_expand (Gtk.ToolItemGroup group, bool expand);
8635                 [Version (since = "2.20")]
8636                 public void set_group_position (Gtk.ToolItemGroup group, int position);
8637                 [Version (since = "2.20")]
8638                 public void set_icon_size ([CCode (type = "GtkIconSize")] Gtk.IconSize icon_size);
8639                 [Version (since = "2.20")]
8640                 public void set_style (Gtk.ToolbarStyle style);
8641                 [Version (since = "2.20")]
8642                 public void unset_icon_size ();
8643                 [Version (since = "2.20")]
8644                 public void unset_style ();
8645                 [Version (since = "2.20")]
8646                 public Gtk.IconSize icon_size { get; set; }
8647                 [NoAccessorMethod]
8648                 [Version (since = "2.20")]
8649                 public bool icon_size_set { get; set; }
8650                 [NoAccessorMethod]
8651                 [Version (since = "2.20")]
8652                 public Gtk.ToolbarStyle toolbar_style { get; set; }
8653         }
8654         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toolbar_get_type ()")]
8655         public class Toolbar : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.ToolShell {
8656                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8657                 public Toolbar ();
8658                 [Version (since = "2.4")]
8659                 public int get_drop_index (int x, int y);
8660                 [Version (since = "2.4")]
8661                 public int get_item_index (Gtk.ToolItem item);
8662                 [Version (since = "2.4")]
8663                 public int get_n_items ();
8664                 [Version (since = "2.4")]
8665                 public unowned Gtk.ToolItem? get_nth_item (int n);
8666                 [Version (since = "2.4")]
8667                 public bool get_show_arrow ();
8668                 [Version (since = "2.4")]
8669                 public void insert (Gtk.ToolItem item, int pos);
8670                 [Version (since = "2.4")]
8671                 public void set_drop_highlight_item (Gtk.ToolItem? tool_item, int index_);
8672                 public void set_icon_size (Gtk.IconSize icon_size);
8673                 [Version (since = "2.4")]
8674                 public void set_show_arrow (bool show_arrow);
8675                 public void set_style (Gtk.ToolbarStyle style);
8676                 public void unset_icon_size ();
8677                 public void unset_style ();
8678                 [Version (since = "2.10")]
8679                 public Gtk.IconSize icon_size { get; set; }
8680                 [NoAccessorMethod]
8681                 [Version (since = "2.10")]
8682                 public bool icon_size_set { get; set; }
8683                 public bool show_arrow { get; set; }
8684                 [NoAccessorMethod]
8685                 public Gtk.ToolbarStyle toolbar_style { get; set; }
8686                 public signal bool focus_home_or_end (bool focus_home);
8687                 public virtual signal void orientation_changed (Gtk.Orientation orientation);
8688                 public virtual signal bool popup_context_menu (int x, int y, int button_number);
8689                 public virtual signal void style_changed (Gtk.ToolbarStyle style);
8690         }
8691         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tooltip_get_type ()")]
8692         public class Tooltip : GLib.Object {
8693                 [CCode (has_construct_function = false)]
8694                 protected Tooltip ();
8695                 [Version (since = "2.12")]
8696                 public void set_custom (Gtk.Widget? custom_widget);
8697                 [Version (since = "2.12")]
8698                 public void set_icon (Gdk.Pixbuf? pixbuf);
8699                 [Version (since = "2.20")]
8700                 public void set_icon_from_gicon (GLib.Icon? gicon, int size);
8701                 [Version (since = "2.14")]
8702                 public void set_icon_from_icon_name (string? icon_name, int size);
8703                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
8704                 public void set_icon_from_stock (string? stock_id, int size);
8705                 [Version (since = "2.12")]
8706                 public void set_markup (string? markup);
8707                 [Version (since = "2.12")]
8708                 public void set_text (string? text);
8709                 [Version (since = "2.12")]
8710                 public void set_tip_area (Gdk.Rectangle rect);
8711                 [Version (since = "2.12")]
8712                 public static void trigger_tooltip_query (Gdk.Display display);
8713         }
8714         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toplevel_accessible_get_type ()")]
8715         public class ToplevelAccessible : Atk.Object {
8716                 [CCode (has_construct_function = false)]
8717                 protected ToplevelAccessible ();
8718                 public unowned GLib.List<Gtk.Window> get_children ();
8719         }
8720         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_filter_get_type ()")]
8721         public class TreeModelFilter : GLib.Object, Gtk.TreeDragSource, Gtk.TreeModel {
8722                 [CCode (has_construct_function = false, type = "GtkTreeModel*")]
8723                 [Version (since = "2.4")]
8724                 public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root);
8725                 [Version (since = "2.4")]
8726                 public void clear_cache ();
8727                 [Version (since = "2.4")]
8728                 public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter);
8729                 [Version (since = "2.4")]
8730                 public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
8731                 [Version (since = "2.4")]
8732                 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter);
8733                 [Version (since = "2.4")]
8734                 public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath filter_path);
8735                 [Version (since = "2.4")]
8736                 public unowned Gtk.TreeModel get_model ();
8737                 [NoWrapper]
8738                 public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column);
8739                 [Version (since = "2.4")]
8740                 public void refilter ();
8741                 [Version (since = "2.4")]
8742                 public void set_modify_func ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
8743                 [Version (since = "2.4")]
8744                 public void set_visible_column (int column);
8745                 [Version (since = "2.4")]
8746                 public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
8747                 [NoWrapper]
8748                 public virtual bool visible (Gtk.TreeModel child_model, Gtk.TreeIter iter);
8749                 [NoAccessorMethod]
8750                 public Gtk.TreeModel child_model { owned get; construct; }
8751                 [NoAccessorMethod]
8752                 public Gtk.TreePath virtual_root { owned get; construct; }
8753         }
8754         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_sort_get_type ()")]
8755         public class TreeModelSort : GLib.Object, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
8756                 [CCode (has_construct_function = false)]
8757                 protected TreeModelSort ();
8758                 public void clear_cache ();
8759                 public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter);
8760                 public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
8761                 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter);
8762                 public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath sorted_path);
8763                 public unowned Gtk.TreeModel get_model ();
8764                 [Version (since = "2.2")]
8765                 public bool iter_is_valid (Gtk.TreeIter iter);
8766                 public void reset_default_sort_func ();
8767                 [CCode (has_construct_function = false, type = "GtkTreeModel*")]
8768                 public TreeModelSort.with_model (Gtk.TreeModel child_model);
8769                 public Gtk.TreeModel model { get; construct; }
8770         }
8771         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_tree_path_get_type ()")]
8772         [Compact]
8773         public class TreePath {
8774                 [CCode (has_construct_function = false)]
8775                 public TreePath ();
8776                 public void append_index (int index_);
8777                 public int compare (Gtk.TreePath b);
8778                 public Gtk.TreePath copy ();
8779                 public void down ();
8780                 [CCode (has_construct_function = false)]
8781                 public TreePath.first ();
8782                 [DestroysInstance]
8783                 public void free ();
8784                 [CCode (has_construct_function = false, sentinel = "-1")]
8785                 [Version (since = "2.2")]
8786                 public TreePath.from_indices (...);
8787                 [CCode (has_construct_function = false)]
8788                 [Version (since = "3.12")]
8789                 public TreePath.from_indicesv ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] int[] indices);
8790                 [CCode (has_construct_function = false)]
8791                 public TreePath.from_string (string path);
8792                 public int get_depth ();
8793                 [CCode (array_length_pos = 0.1, cname = "gtk_tree_path_get_indices_with_depth")]
8794                 [Version (since = "3.0")]
8795                 public unowned int[] get_indices ();
8796                 public bool is_ancestor (Gtk.TreePath descendant);
8797                 public bool is_descendant (Gtk.TreePath ancestor);
8798                 public void next ();
8799                 public void prepend_index (int index_);
8800                 public bool prev ();
8801                 public string to_string ();
8802                 public bool up ();
8803         }
8804         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_tree_row_reference_get_type ()")]
8805         [Compact]
8806         public class TreeRowReference {
8807                 [CCode (has_construct_function = false)]
8808                 public TreeRowReference (Gtk.TreeModel model, Gtk.TreePath path);
8809                 [Version (since = "2.2")]
8810                 public Gtk.TreeRowReference copy ();
8811                 [CCode (cheader_filename = "gtk/gtk.h")]
8812                 public static void deleted (GLib.Object proxy, Gtk.TreePath path);
8813                 [DestroysInstance]
8814                 public void free ();
8815                 [Version (since = "2.8")]
8816                 public unowned Gtk.TreeModel get_model ();
8817                 public Gtk.TreePath? get_path ();
8818                 [CCode (cheader_filename = "gtk/gtk.h")]
8819                 public static void inserted (GLib.Object proxy, Gtk.TreePath path);
8820                 [CCode (has_construct_function = false)]
8821                 public TreeRowReference.proxy (GLib.Object proxy, Gtk.TreeModel model, Gtk.TreePath path);
8822                 [CCode (cheader_filename = "gtk/gtk.h")]
8823                 public static void reordered (GLib.Object proxy, Gtk.TreePath path, Gtk.TreeIter iter, [CCode (array_length = false)] int[] new_order);
8824                 public bool valid ();
8825         }
8826         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_selection_get_type ()")]
8827         public class TreeSelection : GLib.Object {
8828                 [CCode (has_construct_function = false)]
8829                 protected TreeSelection ();
8830                 [Version (since = "2.2")]
8831                 public int count_selected_rows ();
8832                 public Gtk.SelectionMode get_mode ();
8833                 public bool get_selected (out unowned Gtk.TreeModel model, out Gtk.TreeIter iter);
8834                 [Version (since = "2.2")]
8835                 public GLib.List<Gtk.TreePath> get_selected_rows (out unowned Gtk.TreeModel model);
8836                 public unowned Gtk.TreeView get_tree_view ();
8837                 public bool iter_is_selected (Gtk.TreeIter iter);
8838                 public bool path_is_selected (Gtk.TreePath path);
8839                 public void select_all ();
8840                 public void select_iter (Gtk.TreeIter iter);
8841                 public void select_path (Gtk.TreePath path);
8842                 public void select_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
8843                 public void selected_foreach (Gtk.TreeSelectionForeachFunc func);
8844                 public void set_mode (Gtk.SelectionMode type);
8845                 public void set_select_function (owned Gtk.TreeSelectionFunc func);
8846                 public void unselect_all ();
8847                 public void unselect_iter (Gtk.TreeIter iter);
8848                 public void unselect_path (Gtk.TreePath path);
8849                 [Version (since = "2.2")]
8850                 public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
8851                 [Version (since = "3.2")]
8852                 public Gtk.SelectionMode mode { get; set; }
8853                 public virtual signal void changed ();
8854         }
8855         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_store_get_type ()")]
8856         public class TreeStore : GLib.Object, Gtk.Buildable, Gtk.TreeDragDest, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
8857                 [CCode (has_construct_function = false, sentinel = "")]
8858                 public TreeStore (int n_columns, ...);
8859                 public void append (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
8860                 public void clear ();
8861                 public void insert (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position);
8862                 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
8863                 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
8864                 [CCode (sentinel = "-1")]
8865                 [Version (since = "2.10")]
8866                 public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...);
8867                 [Version (since = "2.10")]
8868                 public void insert_with_valuesv (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, [CCode (array_length_cname = "n_values", array_length_pos = 5.1)] int[] columns, [CCode (array_length_cname = "n_values", array_length_pos = 5.1)] GLib.Value[] values);
8869                 public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant);
8870                 public int iter_depth (Gtk.TreeIter iter);
8871                 [Version (since = "2.2")]
8872                 public bool iter_is_valid (Gtk.TreeIter iter);
8873                 [Version (since = "2.2")]
8874                 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
8875                 [Version (since = "2.2")]
8876                 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
8877                 [CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
8878                 public TreeStore.newv ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
8879                 public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
8880                 public bool remove (ref Gtk.TreeIter iter);
8881                 [Version (since = "2.2")]
8882                 public void reorder (Gtk.TreeIter? parent, [CCode (array_length = false)] int[] new_order);
8883                 [CCode (sentinel = "-1")]
8884                 public void @set (Gtk.TreeIter iter, ...);
8885                 public void set_column_types ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
8886                 public void set_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
8887                 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
8888                 [Version (since = "2.12")]
8889                 public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_cname = "n_values", array_length_pos = 3.1)] int[] columns, [CCode (array_length_cname = "n_values", array_length_pos = 3.1)] GLib.Value[] values);
8890                 [Version (since = "2.2")]
8891                 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
8892         }
8893         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_get_type ()")]
8894         public class TreeView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
8895                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8896                 public TreeView ();
8897                 public int append_column (Gtk.TreeViewColumn column);
8898                 public void collapse_all ();
8899                 public bool collapse_row (Gtk.TreePath path);
8900                 public void columns_autosize ();
8901                 [Version (since = "2.12")]
8902                 public void convert_bin_window_to_tree_coords (int bx, int by, out int tx, out int ty);
8903                 [Version (since = "2.12")]
8904                 public void convert_bin_window_to_widget_coords (int bx, int by, out int wx, out int wy);
8905                 [Version (since = "2.12")]
8906                 public void convert_tree_to_bin_window_coords (int tx, int ty, out int bx, out int by);
8907                 [Version (since = "2.12")]
8908                 public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy);
8909                 [Version (since = "2.12")]
8910                 public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
8911                 [Version (since = "2.12")]
8912                 public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty);
8913                 public Cairo.Surface create_row_drag_icon (Gtk.TreePath path);
8914                 public void enable_model_drag_dest ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gtk.TargetEntry[] targets, Gdk.DragAction actions);
8915                 public void enable_model_drag_source (Gdk.ModifierType start_button_mask, [CCode (array_length_cname = "n_targets", array_length_pos = 2.5)] Gtk.TargetEntry[] targets, Gdk.DragAction actions);
8916                 public void expand_all ();
8917                 public bool expand_row (Gtk.TreePath path, bool open_all);
8918                 [Version (since = "2.2")]
8919                 public void expand_to_path (Gtk.TreePath path);
8920                 [Version (since = "3.8")]
8921                 public bool get_activate_on_single_click ();
8922                 public void get_background_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
8923                 public unowned Gdk.Window? get_bin_window ();
8924                 public void get_cell_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
8925                 public unowned Gtk.TreeViewColumn? get_column (int n);
8926                 public GLib.List<weak Gtk.TreeViewColumn> get_columns ();
8927                 public void get_cursor (out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? focus_column);
8928                 public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
8929                 public void get_drag_dest_row (out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
8930                 public bool get_enable_search ();
8931                 [Version (since = "2.10")]
8932                 public bool get_enable_tree_lines ();
8933                 public unowned Gtk.TreeViewColumn get_expander_column ();
8934                 [Version (since = "2.6")]
8935                 public bool get_fixed_height_mode ();
8936                 [Version (since = "2.10")]
8937                 public Gtk.TreeViewGridLines get_grid_lines ();
8938                 [Version (deprecated = true, deprecated_since = "3.0")]
8939                 public unowned Gtk.Adjustment get_hadjustment ();
8940                 [Version (since = "2.10")]
8941                 public bool get_headers_clickable ();
8942                 public bool get_headers_visible ();
8943                 [Version (since = "2.6")]
8944                 public bool get_hover_expand ();
8945                 [Version (since = "2.6")]
8946                 public bool get_hover_selection ();
8947                 [Version (since = "2.12")]
8948                 public int get_level_indentation ();
8949                 public unowned Gtk.TreeModel? get_model ();
8950                 [Version (since = "3.4")]
8951                 public uint get_n_columns ();
8952                 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);
8953                 public bool get_reorderable ();
8954                 [Version (since = "2.6")]
8955                 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
8956                 [Version (since = "2.10")]
8957                 public bool get_rubber_banding ();
8958                 [Version (deprecated = true, deprecated_since = "3.14")]
8959                 public bool get_rules_hint ();
8960                 public int get_search_column ();
8961                 [Version (since = "2.10")]
8962                 public unowned Gtk.Entry get_search_entry ();
8963                 public unowned Gtk.TreeViewSearchEqualFunc get_search_equal_func ();
8964                 [Version (since = "2.10")]
8965                 public unowned Gtk.TreeViewSearchPositionFunc get_search_position_func ();
8966                 public unowned Gtk.TreeSelection get_selection ();
8967                 [Version (since = "2.12")]
8968                 public bool get_show_expanders ();
8969                 [Version (since = "2.12")]
8970                 public int get_tooltip_column ();
8971                 [Version (since = "2.12")]
8972                 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);
8973                 [Version (deprecated = true, deprecated_since = "3.0")]
8974                 public unowned Gtk.Adjustment get_vadjustment ();
8975                 [Version (since = "2.8")]
8976                 public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
8977                 public void get_visible_rect (out Gdk.Rectangle visible_rect);
8978                 public int insert_column (Gtk.TreeViewColumn column, int position);
8979                 public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...);
8980                 public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func);
8981                 [Version (since = "3.0")]
8982                 public bool is_blank_at_pos (int x, int y, out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? column, out int cell_x, out int cell_y);
8983                 [CCode (cname = "gtk_tree_view_row_expanded")]
8984                 public bool is_row_expanded (Gtk.TreePath path);
8985                 [Version (since = "2.12")]
8986                 public bool is_rubber_banding_active ();
8987                 public void map_expanded_rows (Gtk.TreeViewMappingFunc func);
8988                 public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn? base_column);
8989                 public int remove_column (Gtk.TreeViewColumn column);
8990                 public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align);
8991                 public void scroll_to_point (int tree_x, int tree_y);
8992                 [Version (since = "3.8")]
8993                 public void set_activate_on_single_click (bool single);
8994                 public void set_column_drag_function (owned Gtk.TreeViewColumnDropFunc? func);
8995                 public void set_cursor (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, bool start_editing);
8996                 [Version (since = "2.2")]
8997                 public void set_cursor_on_cell (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, Gtk.CellRenderer? focus_cell, bool start_editing);
8998                 [Version (deprecated = true, deprecated_since = "3.4")]
8999                 public void set_destroy_count_func (owned Gtk.TreeDestroyCountFunc? func);
9000                 public void set_drag_dest_row (Gtk.TreePath? path, Gtk.TreeViewDropPosition pos);
9001                 public void set_enable_search (bool enable_search);
9002                 [Version (since = "2.10")]
9003                 public void set_enable_tree_lines (bool enabled);
9004                 public void set_expander_column (Gtk.TreeViewColumn column);
9005                 [Version (since = "2.6")]
9006                 public void set_fixed_height_mode (bool enable);
9007                 [Version (since = "2.10")]
9008                 public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
9009                 [Version (deprecated = true, deprecated_since = "3.0")]
9010                 public void set_hadjustment (Gtk.Adjustment? adjustment);
9011                 public void set_headers_clickable (bool setting);
9012                 public void set_headers_visible (bool headers_visible);
9013                 [Version (since = "2.6")]
9014                 public void set_hover_expand (bool expand);
9015                 [Version (since = "2.6")]
9016                 public void set_hover_selection (bool hover);
9017                 [Version (since = "2.12")]
9018                 public void set_level_indentation (int indentation);
9019                 public void set_model (Gtk.TreeModel? model);
9020                 public void set_reorderable (bool reorderable);
9021                 [Version (since = "2.6")]
9022                 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc? func);
9023                 [Version (since = "2.10")]
9024                 public void set_rubber_banding (bool enable);
9025                 [Version (deprecated = true, deprecated_since = "3.14")]
9026                 public void set_rules_hint (bool setting);
9027                 public void set_search_column (int column);
9028                 [Version (since = "2.10")]
9029                 public void set_search_entry (Gtk.Entry? entry);
9030                 public void set_search_equal_func (owned Gtk.TreeViewSearchEqualFunc search_equal_func);
9031                 [Version (since = "2.10")]
9032                 public void set_search_position_func (owned Gtk.TreeViewSearchPositionFunc? func);
9033                 [Version (since = "2.12")]
9034                 public void set_show_expanders (bool enabled);
9035                 [Version (since = "2.12")]
9036                 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath? path, Gtk.TreeViewColumn? column, Gtk.CellRenderer? cell);
9037                 [Version (since = "2.12")]
9038                 public void set_tooltip_column (int column);
9039                 [Version (since = "2.12")]
9040                 public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
9041                 [Version (deprecated = true, deprecated_since = "3.0")]
9042                 public void set_vadjustment (Gtk.Adjustment? adjustment);
9043                 public void unset_rows_drag_dest ();
9044                 public void unset_rows_drag_source ();
9045                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9046                 public TreeView.with_model (Gtk.TreeModel model);
9047                 [Version (since = "3.8")]
9048                 public bool activate_on_single_click { get; set; }
9049                 [NoAccessorMethod]
9050                 public Gtk.TreeViewGridLines enable_grid_lines { get; set; }
9051                 public bool enable_search { get; set; }
9052                 public bool enable_tree_lines { get; set; }
9053                 public Gtk.TreeViewColumn expander_column { get; set; }
9054                 [Version (since = "2.4")]
9055                 public bool fixed_height_mode { get; set; }
9056                 public bool headers_clickable { get; set; }
9057                 public bool headers_visible { get; set; }
9058                 [Version (since = "2.6")]
9059                 public bool hover_expand { get; set; }
9060                 [Version (since = "2.6")]
9061                 public bool hover_selection { get; set; }
9062                 [Version (since = "2.12")]
9063                 public int level_indentation { get; set; }
9064                 public Gtk.TreeModel model { get; set; }
9065                 public bool reorderable { get; set; }
9066                 public bool rubber_banding { get; set; }
9067                 [Version (deprecated = true, deprecated_since = "3.14")]
9068                 public bool rules_hint { get; set; }
9069                 public int search_column { get; set; }
9070                 [Version (since = "2.12")]
9071                 public bool show_expanders { get; set; }
9072                 public int tooltip_column { get; set; }
9073                 public virtual signal void columns_changed ();
9074                 public virtual signal void cursor_changed ();
9075                 public virtual signal bool expand_collapse_cursor_row (bool logical, bool expand, bool open_all);
9076                 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
9077                 [HasEmitter]
9078                 public virtual signal void row_activated (Gtk.TreePath path, Gtk.TreeViewColumn column);
9079                 public virtual signal void row_collapsed (Gtk.TreeIter iter, Gtk.TreePath path);
9080                 public virtual signal void row_expanded (Gtk.TreeIter iter, Gtk.TreePath path);
9081                 public virtual signal bool select_all ();
9082                 public virtual signal bool select_cursor_parent ();
9083                 public virtual signal bool select_cursor_row (bool start_editing);
9084                 public virtual signal bool start_interactive_search ();
9085                 public virtual signal bool test_collapse_row (Gtk.TreeIter iter, Gtk.TreePath path);
9086                 public virtual signal bool test_expand_row (Gtk.TreeIter iter, Gtk.TreePath path);
9087                 public virtual signal bool toggle_cursor_row ();
9088                 public virtual signal bool unselect_all ();
9089         }
9090         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_tree_view_accessible_get_type ()")]
9091         public class TreeViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection, Atk.Table, Gtk.CellAccessibleParent {
9092                 [CCode (has_construct_function = false)]
9093                 protected TreeViewAccessible ();
9094         }
9095         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_column_get_type ()")]
9096         public class TreeViewColumn : GLib.InitiallyUnowned, Gtk.Buildable, Gtk.CellLayout {
9097                 [CCode (has_construct_function = false)]
9098                 public TreeViewColumn ();
9099                 public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int x_offset, out int width);
9100                 public void cell_get_size (Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
9101                 public bool cell_is_visible ();
9102                 public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
9103                 [Version (since = "2.2")]
9104                 public void focus_cell (Gtk.CellRenderer cell);
9105                 public float get_alignment ();
9106                 [Version (since = "3.0")]
9107                 public unowned Gtk.Widget get_button ();
9108                 public bool get_clickable ();
9109                 [Version (since = "2.4")]
9110                 public bool get_expand ();
9111                 public int get_fixed_width ();
9112                 public int get_max_width ();
9113                 public int get_min_width ();
9114                 public bool get_reorderable ();
9115                 public bool get_resizable ();
9116                 public Gtk.TreeViewColumnSizing get_sizing ();
9117                 public int get_sort_column_id ();
9118                 public bool get_sort_indicator ();
9119                 public Gtk.SortType get_sort_order ();
9120                 public int get_spacing ();
9121                 public unowned string get_title ();
9122                 [Version (since = "2.12")]
9123                 public unowned Gtk.Widget? get_tree_view ();
9124                 public bool get_visible ();
9125                 public unowned Gtk.Widget? get_widget ();
9126                 public int get_width ();
9127                 [Version (since = "3.2")]
9128                 public int get_x_offset ();
9129                 [Version (since = "2.8")]
9130                 public void queue_resize ();
9131                 public void set_alignment (float xalign);
9132                 public void set_attributes (Gtk.CellRenderer cell_renderer, ...);
9133                 public void set_clickable (bool clickable);
9134                 [Version (since = "2.4")]
9135                 public void set_expand (bool expand);
9136                 public void set_fixed_width (int fixed_width);
9137                 public void set_max_width (int max_width);
9138                 public void set_min_width (int min_width);
9139                 public void set_reorderable (bool reorderable);
9140                 public void set_resizable (bool resizable);
9141                 public void set_sizing (Gtk.TreeViewColumnSizing type);
9142                 public void set_sort_column_id (int sort_column_id);
9143                 public void set_sort_indicator (bool setting);
9144                 public void set_sort_order (Gtk.SortType order);
9145                 public void set_spacing (int spacing);
9146                 public void set_title (string title);
9147                 public void set_visible (bool visible);
9148                 public void set_widget (Gtk.Widget? widget);
9149                 [CCode (has_construct_function = false)]
9150                 [Version (since = "3.0")]
9151                 public TreeViewColumn.with_area (Gtk.CellArea area);
9152                 [CCode (has_construct_function = false)]
9153                 public TreeViewColumn.with_attributes (string? title, Gtk.CellRenderer cell, ...);
9154                 public float alignment { get; set; }
9155                 [NoAccessorMethod]
9156                 [Version (since = "3.0")]
9157                 public Gtk.CellArea cell_area { owned get; construct; }
9158                 public bool clickable { get; set; }
9159                 public bool expand { get; set; }
9160                 public int fixed_width { get; set; }
9161                 public int max_width { get; set; }
9162                 public int min_width { get; set; }
9163                 public bool reorderable { get; set; }
9164                 public bool resizable { get; set; }
9165                 public Gtk.TreeViewColumnSizing sizing { get; set; }
9166                 [Version (since = "2.18")]
9167                 public int sort_column_id { get; set; }
9168                 public bool sort_indicator { get; set; }
9169                 public Gtk.SortType sort_order { get; set; }
9170                 public int spacing { get; set; }
9171                 public string title { get; set; }
9172                 public bool visible { get; set; }
9173                 public Gtk.Widget widget { get; set; }
9174                 public int width { get; }
9175                 public int x_offset { get; }
9176                 [HasEmitter]
9177                 public virtual signal void clicked ();
9178         }
9179         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_ui_manager_get_type ()")]
9180         [Version (deprecated = true, deprecated_since = "3.10")]
9181         public class UIManager : GLib.Object, Gtk.Buildable {
9182                 [CCode (has_construct_function = false)]
9183                 [Version (since = "2.4")]
9184                 public UIManager ();
9185                 [Version (since = "2.4")]
9186                 public void add_ui (uint merge_id, string path, string name, string? action, Gtk.UIManagerItemType type, bool top);
9187                 [Version (since = "2.4")]
9188                 public uint add_ui_from_file (string filename) throws GLib.Error;
9189                 [Version (since = "3.4")]
9190                 public uint add_ui_from_resource (string resource_path) throws GLib.Error;
9191                 [Version (since = "2.4")]
9192                 public uint add_ui_from_string (string buffer, ssize_t length) throws GLib.Error;
9193                 [Version (since = "2.4")]
9194                 public void ensure_update ();
9195                 [Version (since = "2.4")]
9196                 public unowned Gtk.AccelGroup get_accel_group ();
9197                 [Version (since = "2.4")]
9198                 public virtual unowned Gtk.Action get_action (string path);
9199                 [Version (since = "2.4")]
9200                 public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
9201                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9202                 public bool get_add_tearoffs ();
9203                 [Version (since = "2.4")]
9204                 public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
9205                 [Version (since = "2.4")]
9206                 public string get_ui ();
9207                 [Version (since = "2.4")]
9208                 public virtual unowned Gtk.Widget get_widget (string path);
9209                 [Version (since = "2.4")]
9210                 public void insert_action_group (Gtk.ActionGroup action_group, int pos);
9211                 [Version (since = "2.4")]
9212                 public uint new_merge_id ();
9213                 [Version (since = "2.4")]
9214                 public void remove_action_group (Gtk.ActionGroup action_group);
9215                 [Version (since = "2.4")]
9216                 public void remove_ui (uint merge_id);
9217                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9218                 public void set_add_tearoffs (bool add_tearoffs);
9219                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9220                 public bool add_tearoffs { get; set; }
9221                 public string ui { owned get; }
9222                 [Version (since = "2.4")]
9223                 public virtual signal void actions_changed ();
9224                 [Version (since = "2.4")]
9225                 public virtual signal void add_widget (Gtk.Widget widget);
9226                 [Version (since = "2.4")]
9227                 public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy);
9228                 [Version (since = "2.4")]
9229                 public virtual signal void disconnect_proxy (Gtk.Action action, Gtk.Widget proxy);
9230                 [Version (since = "2.4")]
9231                 public virtual signal void post_activate (Gtk.Action action);
9232                 [Version (since = "2.4")]
9233                 public virtual signal void pre_activate (Gtk.Action action);
9234         }
9235         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbox_get_type ()")]
9236         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Box")]
9237         public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9238                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9239                 public VBox (bool homogeneous, int spacing);
9240         }
9241         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbutton_box_get_type ()")]
9242         [Version (deprecated = true, deprecated_since = "3.2", replacement = "ButtonBox")]
9243         public class VButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9244                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9245                 public VButtonBox ();
9246         }
9247         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vpaned_get_type ()")]
9248         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Paned")]
9249         public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9250                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9251                 public VPaned ();
9252         }
9253         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscale_get_type ()")]
9254         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scale")]
9255         public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9256                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9257                 public VScale (Gtk.Adjustment? adjustment);
9258                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9259                 public VScale.with_range (double min, double max, double step);
9260         }
9261         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscrollbar_get_type ()")]
9262         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scrollbar")]
9263         public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9264                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9265                 public VScrollbar (Gtk.Adjustment? adjustment);
9266         }
9267         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vseparator_get_type ()")]
9268         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Separator")]
9269         public class VSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9270                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9271                 public VSeparator ();
9272         }
9273         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_viewport_get_type ()")]
9274         public class Viewport : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
9275                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9276                 public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
9277                 [Version (since = "2.20")]
9278                 public unowned Gdk.Window get_bin_window ();
9279                 [Version (deprecated = true, deprecated_since = "3.0")]
9280                 public unowned Gtk.Adjustment? get_hadjustment ();
9281                 public Gtk.ShadowType get_shadow_type ();
9282                 [Version (deprecated = true, deprecated_since = "3.0")]
9283                 public unowned Gtk.Adjustment? get_vadjustment ();
9284                 [Version (since = "2.22")]
9285                 public unowned Gdk.Window get_view_window ();
9286                 [Version (deprecated = true, deprecated_since = "3.0")]
9287                 public void set_hadjustment (Gtk.Adjustment? adjustment);
9288                 public void set_shadow_type (Gtk.ShadowType type);
9289                 [Version (deprecated = true, deprecated_since = "3.0")]
9290                 public void set_vadjustment (Gtk.Adjustment? adjustment);
9291                 public Gtk.ShadowType shadow_type { get; set; }
9292         }
9293         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_volume_button_get_type ()")]
9294         public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.Orientable {
9295                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9296                 [Version (since = "2.12")]
9297                 public VolumeButton ();
9298                 [NoAccessorMethod]
9299                 [Version (since = "3.0")]
9300                 public bool use_symbolic { get; set construct; }
9301         }
9302         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_widget_get_type ()")]
9303         public class Widget : GLib.InitiallyUnowned, Atk.Implementor, Gtk.Buildable {
9304                 [CCode (construct_function = "gtk_widget_new", has_new_function = false)]
9305                 public Widget (...);
9306                 public bool activate ();
9307                 public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
9308                 [Version (since = "3.0")]
9309                 public void add_device_events (Gdk.Device device, Gdk.EventMask events);
9310                 public void add_events (int events);
9311                 [Version (since = "2.4")]
9312                 public void add_mnemonic_label (Gtk.Widget label);
9313                 [Version (since = "3.8")]
9314                 public uint add_tick_callback (owned Gtk.TickCallback callback);
9315                 [NoWrapper]
9316                 public virtual void adjust_baseline_allocation (int baseline);
9317                 [NoWrapper]
9318                 public virtual void adjust_baseline_request (int minimum_baseline, int natural_baseline);
9319                 [NoWrapper]
9320                 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);
9321                 [NoWrapper]
9322                 public virtual void adjust_size_request (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size);
9323                 [CCode (cname = "gtk_widget_class_bind_template_callback_full")]
9324                 [Version (since = "3.10")]
9325                 public class void bind_template_callback_full (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
9326                 [CCode (cname = "gtk_widget_class_bind_template_child_full")]
9327                 [Version (since = "3.10")]
9328                 public class void bind_template_child_full (string name, bool internal_child, ssize_t struct_offset);
9329                 public bool child_focus (Gtk.DirectionType direction);
9330                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "get_path")]
9331                 public void class_path (out uint path_length, out string path, out string path_reversed);
9332                 public bool compute_expand (Gtk.Orientation orientation);
9333                 [CCode (vfunc_name = "compute_expand")]
9334                 [NoWrapper]
9335                 public virtual void compute_expand_internal (out bool hexpand_p, out bool vexpand_p);
9336                 public Pango.Context create_pango_context ();
9337                 public Pango.Layout create_pango_layout (string? text);
9338                 public void destroyed (ref unowned Gtk.Widget widget_pointer);
9339                 [Version (since = "3.0")]
9340                 public bool device_is_shadowed (Gdk.Device device);
9341                 [NoWrapper]
9342                 public virtual void dispatch_child_properties_changed ([CCode (array_length_cname = "n_pspecs", array_length_pos = 0.5, array_length_type = "guint", type = "GParamSpec**")] GLib.ParamSpec[] pspecs);
9343                 [CCode (cname = "gtk_widget_draw")]
9344                 [Version (since = "3.0")]
9345                 public void draw_to_cairo_context (Cairo.Context cr);
9346                 [Version (deprecated = true, deprecated_since = "3.0")]
9347                 public void ensure_style ();
9348                 [Version (since = "2.12")]
9349                 public void error_bell ();
9350                 [CCode (cname = "gtk_widget_class_find_style_property")]
9351                 [Version (since = "2.2")]
9352                 public class unowned GLib.ParamSpec find_style_property (string property_name);
9353                 public void freeze_child_notify ();
9354                 public virtual unowned Atk.Object get_accessible ();
9355                 [Version (since = "3.16")]
9356                 public unowned GLib.ActionGroup? get_action_group (string prefix);
9357                 [Version (since = "3.10")]
9358                 public int get_allocated_baseline ();
9359                 public int get_allocated_height ();
9360                 [Version (since = "3.20")]
9361                 public void get_allocated_size (out Gtk.Allocation allocation, out int baseline);
9362                 public int get_allocated_width ();
9363                 [Version (since = "2.18")]
9364                 public void get_allocation (out Gtk.Allocation allocation);
9365                 public unowned Gtk.Widget? get_ancestor (GLib.Type widget_type);
9366                 [Version (since = "2.18")]
9367                 public bool get_app_paintable ();
9368                 [Version (since = "2.18")]
9369                 public bool get_can_default ();
9370                 [Version (since = "2.18")]
9371                 public bool get_can_focus ();
9372                 [Version (deprecated = true, deprecated_since = "3.0")]
9373                 public void get_child_requisition (out Gtk.Requisition requisition);
9374                 public bool get_child_visible ();
9375                 [Version (since = "3.14")]
9376                 public void get_clip (out Gtk.Allocation clip);
9377                 [Version (since = "2.2")]
9378                 public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
9379                 [Version (deprecated = true, deprecated_since = "3.10")]
9380                 public string get_composite_name ();
9381                 [CCode (cname = "gtk_widget_class_get_css_name")]
9382                 [Version (since = "3.20")]
9383                 public class unowned string get_css_name ();
9384                 public static Gtk.TextDirection get_default_direction ();
9385                 [Version (deprecated = true, deprecated_since = "3.0")]
9386                 public static unowned Gtk.Style get_default_style ();
9387                 [Version (since = "3.0")]
9388                 public bool get_device_enabled (Gdk.Device device);
9389                 [Version (since = "3.0")]
9390                 public Gdk.EventMask get_device_events (Gdk.Device device);
9391                 public Gtk.TextDirection get_direction ();
9392                 [Version (since = "2.2")]
9393                 public unowned Gdk.Display get_display ();
9394                 [Version (since = "2.18")]
9395                 public bool get_double_buffered ();
9396                 public int get_events ();
9397                 [Version (since = "3.20")]
9398                 public bool get_focus_on_click ();
9399                 [Version (since = "3.18")]
9400                 public unowned Pango.FontMap? get_font_map ();
9401                 [Version (since = "3.18")]
9402                 public unowned Cairo.FontOptions? get_font_options ();
9403                 [Version (since = "3.8")]
9404                 public unowned Gdk.FrameClock? get_frame_clock ();
9405                 public Gtk.Align get_halign ();
9406                 [Version (since = "2.12")]
9407                 public bool get_has_tooltip ();
9408                 [Version (since = "2.18")]
9409                 public bool get_has_window ();
9410                 public bool get_hexpand ();
9411                 public bool get_hexpand_set ();
9412                 [Version (since = "2.20")]
9413                 public bool get_mapped ();
9414                 [Version (since = "3.0")]
9415                 public int get_margin_bottom ();
9416                 [Version (since = "3.12")]
9417                 public int get_margin_end ();
9418                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9419                 public int get_margin_left ();
9420                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9421                 public int get_margin_right ();
9422                 [Version (since = "3.12")]
9423                 public int get_margin_start ();
9424                 [Version (since = "3.0")]
9425                 public int get_margin_top ();
9426                 [Version (since = "3.4")]
9427                 public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
9428                 [Version (deprecated = true, deprecated_since = "3.0")]
9429                 public unowned Gtk.RcStyle get_modifier_style ();
9430                 [Version (since = "2.4")]
9431                 public bool get_no_show_all ();
9432                 [Version (since = "3.8")]
9433                 public double get_opacity ();
9434                 public unowned Pango.Context get_pango_context ();
9435                 public unowned Gtk.Container? get_parent ();
9436                 public unowned Gdk.Window? get_parent_window ();
9437                 public unowned Gtk.WidgetPath get_path ();
9438                 [Version (deprecated = true, deprecated_since = "3.4")]
9439                 public void get_pointer (out int x, out int y);
9440                 [Version (since = "3.0")]
9441                 public virtual void get_preferred_height (out int minimum_height, out int natural_height);
9442                 [Version (since = "3.10")]
9443                 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);
9444                 [Version (since = "3.0")]
9445                 public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
9446                 [CCode (vfunc_name = "get_preferred_height_for_width")]
9447                 [NoWrapper]
9448                 [Version (deprecated = true)]
9449                 public virtual void get_preferred_height_for_width_internal (int width, out int minimum_height, out int natural_height);
9450                 [CCode (vfunc_name = "get_preferred_height")]
9451                 [NoWrapper]
9452                 [Version (deprecated = true)]
9453                 public virtual void get_preferred_height_internal (out int minimum_height, out int natural_height);
9454                 [Version (since = "3.0")]
9455                 public void get_preferred_size (out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
9456                 [Version (since = "3.0")]
9457                 public virtual void get_preferred_width (out int minimum_width, out int natural_width);
9458                 [Version (since = "3.0")]
9459                 public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
9460                 [CCode (vfunc_name = "get_preferred_width_for_height")]
9461                 [NoWrapper]
9462                 [Version (deprecated = true)]
9463                 public virtual void get_preferred_width_for_height_internal (int height, out int minimum_width, out int natural_width);
9464                 [CCode (vfunc_name = "get_preferred_width")]
9465                 [NoWrapper]
9466                 [Version (deprecated = true)]
9467                 public virtual void get_preferred_width_internal (out int minimum_width, out int natural_width);
9468                 [Version (since = "2.20")]
9469                 public bool get_realized ();
9470                 [Version (since = "2.18")]
9471                 public bool get_receives_default ();
9472                 [Version (since = "3.0")]
9473                 public virtual Gtk.SizeRequestMode get_request_mode ();
9474                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9475                 public Gtk.Requisition get_requisition ();
9476                 [Version (deprecated = true, deprecated_since = "3.12", since = "2.2")]
9477                 public unowned Gdk.Window get_root_window ();
9478                 [Version (since = "3.10")]
9479                 public int get_scale_factor ();
9480                 [Version (since = "2.2")]
9481                 public unowned Gdk.Screen get_screen ();
9482                 [Version (since = "2.18")]
9483                 public bool get_sensitive ();
9484                 public unowned Gtk.Settings get_settings ();
9485                 public void get_size_request (out int width, out int height);
9486                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.18")]
9487                 public Gtk.StateType get_state ();
9488                 [Version (since = "3.0")]
9489                 public Gtk.StateFlags get_state_flags ();
9490                 [Version (deprecated = true, deprecated_since = "3.0")]
9491                 public unowned Gtk.Style get_style ();
9492                 public unowned Gtk.StyleContext get_style_context ();
9493                 public bool get_support_multidevice ();
9494                 public unowned GLib.Object get_template_child (GLib.Type widget_type, string name);
9495                 [Version (since = "2.12")]
9496                 public string? get_tooltip_markup ();
9497                 [Version (since = "2.12")]
9498                 public string? get_tooltip_text ();
9499                 [Version (since = "2.12")]
9500                 public unowned Gtk.Window get_tooltip_window ();
9501                 public unowned Gtk.Widget get_toplevel ();
9502                 public Gtk.Align get_valign ();
9503                 [Version (since = "3.10")]
9504                 public Gtk.Align get_valign_with_baseline ();
9505                 public bool get_vexpand ();
9506                 public bool get_vexpand_set ();
9507                 [Version (since = "2.18")]
9508                 public bool get_visible ();
9509                 public unowned Gdk.Visual get_visual ();
9510                 [Version (since = "2.14")]
9511                 public unowned Gdk.Window? get_window ();
9512                 public void grab_default ();
9513                 [Version (since = "2.18")]
9514                 public bool has_grab ();
9515                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9516                 public bool has_rc_style ();
9517                 [Version (since = "2.2")]
9518                 public bool has_screen ();
9519                 [Version (since = "3.2")]
9520                 public bool has_visible_focus ();
9521                 public bool hide_on_delete ();
9522                 public bool in_destruction ();
9523                 [Version (since = "3.10")]
9524                 public void init_template ();
9525                 [Version (since = "3.0")]
9526                 public void input_shape_combine_region (Cairo.Region? region);
9527                 [Version (since = "3.6")]
9528                 public void insert_action_group (string name, GLib.ActionGroup? group);
9529                 [CCode (cname = "gtk_widget_class_install_style_property")]
9530                 public class void install_style_property (GLib.ParamSpec pspec);
9531                 [CCode (cname = "gtk_widget_class_install_style_property_parser")]
9532                 public class void install_style_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
9533                 public bool intersect (Gdk.Rectangle area, out Gdk.Rectangle? intersection = null);
9534                 public bool is_ancestor (Gtk.Widget ancestor);
9535                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.10")]
9536                 public bool is_composited ();
9537                 [Version (since = "2.18")]
9538                 public bool is_drawable ();
9539                 [Version (since = "2.18")]
9540                 public bool is_sensitive ();
9541                 [Version (since = "2.18")]
9542                 public bool is_toplevel ();
9543                 [Version (since = "3.8")]
9544                 public bool is_visible ();
9545                 public GLib.List<weak GLib.Closure> list_accel_closures ();
9546                 [CCode (array_length = false, array_null_terminated = true)]
9547                 [Version (since = "3.16")]
9548                 public (unowned string)[] list_action_prefixes ();
9549                 [Version (since = "2.4")]
9550                 public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
9551                 [CCode (array_length_pos = 0.1, array_length_type = "guint", cname = "gtk_widget_class_list_style_properties")]
9552                 [Version (since = "2.2")]
9553                 public class (unowned GLib.ParamSpec)[] list_style_properties ();
9554                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_background_color")]
9555                 public void modify_base (Gtk.StateType state, Gdk.Color? color);
9556                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_background_color")]
9557                 public void modify_bg (Gtk.StateType state, Gdk.Color? color);
9558                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_cursor", since = "2.12")]
9559                 public void modify_cursor (Gdk.Color? primary, Gdk.Color? secondary);
9560                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_color")]
9561                 public void modify_fg (Gtk.StateType state, Gdk.Color? color);
9562                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_font")]
9563                 public void modify_font (Pango.FontDescription? font_desc);
9564                 [Version (deprecated = true, deprecated_since = "3.0")]
9565                 public void modify_style (Gtk.RcStyle style);
9566                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_color")]
9567                 public void modify_text (Gtk.StateType state, Gdk.Color? color);
9568                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9569                 public void override_background_color (Gtk.StateFlags state, Gdk.RGBA? color);
9570                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9571                 public void override_color (Gtk.StateFlags state, Gdk.RGBA? color);
9572                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9573                 public void override_cursor (Gdk.RGBA? cursor, Gdk.RGBA? secondary_cursor);
9574                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9575                 public void override_font (Pango.FontDescription? font_desc);
9576                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9577                 public void override_symbolic_color (string name, Gdk.RGBA? color);
9578                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "get_path")]
9579                 public void path (out uint path_length, out string path, out string path_reversed);
9580                 [Version (deprecated = true, deprecated_since = "3.10")]
9581                 public static void pop_composite_child ();
9582                 [Version (deprecated = true, deprecated_since = "3.10")]
9583                 public static void push_composite_child ();
9584                 [Version (since = "3.20")]
9585                 public void queue_allocate ();
9586                 public void queue_compute_expand ();
9587                 public void queue_draw ();
9588                 public void queue_draw_area (int x, int y, int width, int height);
9589                 [Version (since = "3.0")]
9590                 public virtual void queue_draw_region (Cairo.Region region);
9591                 public void queue_resize ();
9592                 [Version (since = "2.4")]
9593                 public void queue_resize_no_redraw ();
9594                 [Version (deprecated = true, deprecated_since = "3.14")]
9595                 public Cairo.Region region_intersect (Cairo.Region region);
9596                 [Version (since = "3.8")]
9597                 public void register_window (Gdk.Window window);
9598                 public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);
9599                 [Version (since = "2.4")]
9600                 public void remove_mnemonic_label (Gtk.Widget label);
9601                 [Version (since = "3.8")]
9602                 public void remove_tick_callback (uint id);
9603                 [Version (deprecated = true, deprecated_since = "3.0")]
9604                 public Gdk.Pixbuf? render_icon (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size, string? detail);
9605                 [Version (deprecated = true, deprecated_since = "3.10", since = "3.0")]
9606                 public Gdk.Pixbuf? render_icon_pixbuf (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
9607                 [Version (deprecated = true, deprecated_since = "3.14")]
9608                 public void reparent (Gtk.Widget new_parent);
9609                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "reset_style")]
9610                 public void reset_rc_styles ();
9611                 [Version (since = "3.0")]
9612                 public void reset_style ();
9613                 [Version (deprecated = true, deprecated_since = "3.22")]
9614                 public int send_expose (Gdk.Event event);
9615                 [Version (since = "2.20")]
9616                 public bool send_focus_change (Gdk.Event event);
9617                 public void set_accel_path (string? accel_path, Gtk.AccelGroup? accel_group);
9618                 [CCode (cname = "gtk_widget_class_set_accessible_role")]
9619                 [Version (since = "3.2")]
9620                 public class void set_accessible_role (Atk.Role role);
9621                 [CCode (cname = "gtk_widget_class_set_accessible_type")]
9622                 [Version (since = "3.2")]
9623                 public class void set_accessible_type (GLib.Type type);
9624                 [Version (since = "2.18")]
9625                 public void set_allocation (Gtk.Allocation allocation);
9626                 public void set_app_paintable (bool app_paintable);
9627                 [Version (since = "2.18")]
9628                 public void set_can_default (bool can_default);
9629                 [Version (since = "2.18")]
9630                 public void set_can_focus (bool can_focus);
9631                 public void set_child_visible (bool is_visible);
9632                 [Version (since = "3.14")]
9633                 public void set_clip (Gtk.Allocation clip);
9634                 [Version (deprecated = true, deprecated_since = "3.10")]
9635                 public void set_composite_name (string name);
9636                 [CCode (cname = "gtk_widget_class_set_connect_func")]
9637                 [Version (since = "3.10")]
9638                 public class void set_connect_func (owned Gtk.BuilderConnectFunc connect_func);
9639                 [CCode (cname = "gtk_widget_class_set_css_name")]
9640                 [Version (since = "3.20")]
9641                 public class void set_css_name (string name);
9642                 public static void set_default_direction (Gtk.TextDirection dir);
9643                 [Version (since = "3.0")]
9644                 public void set_device_enabled (Gdk.Device device, bool enabled);
9645                 [Version (since = "3.0")]
9646                 public void set_device_events (Gdk.Device device, Gdk.EventMask events);
9647                 public void set_direction (Gtk.TextDirection dir);
9648                 [Version (deprecated = true, deprecated_since = "3.14")]
9649                 public void set_double_buffered (bool double_buffered);
9650                 public void set_events (int events);
9651                 [Version (since = "3.20")]
9652                 public void set_focus_on_click (bool focus_on_click);
9653                 [Version (since = "3.18")]
9654                 public void set_font_map (Pango.FontMap? font_map);
9655                 [Version (since = "3.18")]
9656                 public void set_font_options (Cairo.FontOptions? options);
9657                 public void set_halign (Gtk.Align align);
9658                 [Version (since = "2.12")]
9659                 public void set_has_tooltip (bool has_tooltip);
9660                 [Version (since = "2.18")]
9661                 public void set_has_window (bool has_window);
9662                 public void set_hexpand (bool expand);
9663                 public void set_hexpand_set (bool @set);
9664                 [Version (since = "2.20")]
9665                 public void set_mapped (bool mapped);
9666                 [Version (since = "3.0")]
9667                 public void set_margin_bottom (int margin);
9668                 [Version (since = "3.12")]
9669                 public void set_margin_end (int margin);
9670                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9671                 public void set_margin_left (int margin);
9672                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9673                 public void set_margin_right (int margin);
9674                 [Version (since = "3.12")]
9675                 public void set_margin_start (int margin);
9676                 [Version (since = "3.0")]
9677                 public void set_margin_top (int margin);
9678                 [Version (since = "2.4")]
9679                 public void set_no_show_all (bool no_show_all);
9680                 [Version (since = "3.8")]
9681                 public void set_opacity (double opacity);
9682                 public void set_parent ([CCode (type = "GtkWidget*")] Gtk.Container parent);
9683                 public void set_parent_window (Gdk.Window parent_window);
9684                 [Version (since = "2.20")]
9685                 public void set_realized (bool realized);
9686                 [Version (since = "2.18")]
9687                 public void set_receives_default (bool receives_default);
9688                 public void set_redraw_on_allocate (bool redraw_on_allocate);
9689                 public void set_sensitive (bool sensitive);
9690                 public void set_size_request (int width, int height);
9691                 [Version (deprecated = true, deprecated_since = "3.0")]
9692                 public void set_state (Gtk.StateType state);
9693                 [Version (since = "3.0")]
9694                 public void set_state_flags (Gtk.StateFlags flags, bool clear);
9695                 [Version (deprecated = true, deprecated_since = "3.0")]
9696                 public void set_style (Gtk.Style? style);
9697                 [Version (since = "3.0")]
9698                 public void set_support_multidevice (bool support_multidevice);
9699                 [CCode (cname = "gtk_widget_class_set_template")]
9700                 [Version (since = "3.10")]
9701                 public class void set_template (GLib.Bytes template_bytes);
9702                 [CCode (cname = "gtk_widget_class_set_template_from_resource")]
9703                 [Version (since = "3.10")]
9704                 public class void set_template_from_resource (string resource_name);
9705                 [Version (since = "2.12")]
9706                 public void set_tooltip_markup (string? markup);
9707                 [Version (since = "2.12")]
9708                 public void set_tooltip_text (string? text);
9709                 [Version (since = "2.12")]
9710                 public void set_tooltip_window (Gtk.Window? custom_window);
9711                 public void set_valign (Gtk.Align align);
9712                 public void set_vexpand (bool expand);
9713                 public void set_vexpand_set (bool @set);
9714                 [Version (since = "2.18")]
9715                 public void set_visible (bool visible);
9716                 public void set_visual (Gdk.Visual? visual);
9717                 [Version (since = "2.18")]
9718                 public void set_window (owned Gdk.Window window);
9719                 [Version (since = "3.0")]
9720                 public void shape_combine_region (Cairo.Region? region);
9721                 public virtual void show_all ();
9722                 public void show_now ();
9723                 [Version (since = "3.10")]
9724                 public void size_allocate_with_baseline (Gtk.Allocation allocation, int baseline);
9725                 [Version (deprecated = true, deprecated_since = "3.0")]
9726                 public Gtk.Requisition size_request ();
9727                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9728                 public void style_attach ();
9729                 public void style_get (...);
9730                 public void style_get_property (string property_name, ref GLib.Value value);
9731                 public void style_get_valist (string first_property_name, [CCode (type = "va_list")] va_list var_args);
9732                 public void thaw_child_notify ();
9733                 public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);
9734                 [Version (since = "2.12")]
9735                 public void trigger_tooltip_query ();
9736                 public void unparent ();
9737                 [Version (since = "3.8")]
9738                 public void unregister_window (Gdk.Window window);
9739                 [Version (since = "3.0")]
9740                 public void unset_state_flags (Gtk.StateFlags flags);
9741                 public bool app_paintable { get; set; }
9742                 public bool can_default { get; set; }
9743                 public bool can_focus { get; set; }
9744                 [NoAccessorMethod]
9745                 public bool composite_child { get; }
9746                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.18")]
9747                 public bool double_buffered { get; set; }
9748                 public Gdk.EventMask events { get; set; }
9749                 [NoAccessorMethod]
9750                 [Version (since = "3.0")]
9751                 public bool expand { get; set; }
9752                 [Version (since = "3.20")]
9753                 public bool focus_on_click { get; set; }
9754                 [Version (since = "3.0")]
9755                 public Gtk.Align halign { get; set; }
9756                 [NoAccessorMethod]
9757                 public bool has_default { get; set; }
9758                 [NoAccessorMethod]
9759                 public bool has_focus { get; set; }
9760                 [Version (since = "2.12")]
9761                 public bool has_tooltip { get; set; }
9762                 [NoAccessorMethod]
9763                 public int height_request { get; set; }
9764                 [Version (since = "3.0")]
9765                 public bool hexpand { get; set; }
9766                 [Version (since = "3.0")]
9767                 public bool hexpand_set { get; set; }
9768                 [NoAccessorMethod]
9769                 public bool is_focus { get; set; }
9770                 [NoAccessorMethod]
9771                 [Version (since = "3.0")]
9772                 public int margin { get; set; }
9773                 [Version (since = "3.0")]
9774                 public int margin_bottom { get; set; }
9775                 [Version (since = "3.12")]
9776                 public int margin_end { get; set; }
9777                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9778                 public int margin_left { get; set; }
9779                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9780                 public int margin_right { get; set; }
9781                 [Version (since = "3.12")]
9782                 public int margin_start { get; set; }
9783                 [Version (since = "3.0")]
9784                 public int margin_top { get; set; }
9785                 public string name { get; set; }
9786                 public bool no_show_all { get; set; }
9787                 [Version (since = "3.8")]
9788                 public double opacity { get; set; }
9789                 public Gtk.Container parent { get; set; }
9790                 public bool receives_default { get; set; }
9791                 [Version (since = "3.10")]
9792                 public int scale_factor { get; }
9793                 public bool sensitive { get; set; }
9794                 [Version (deprecated = true)]
9795                 public Gtk.Style style { get; set; }
9796                 [Version (since = "2.12")]
9797                 public string tooltip_markup { owned get; set; }
9798                 [Version (since = "2.12")]
9799                 public string tooltip_text { owned get; set; }
9800                 [Version (since = "3.0")]
9801                 public Gtk.Align valign { get; set; }
9802                 [Version (since = "3.0")]
9803                 public bool vexpand { get; set; }
9804                 [Version (since = "3.0")]
9805                 public bool vexpand_set { get; set; }
9806                 public bool visible { get; set; }
9807                 [NoAccessorMethod]
9808                 public int width_request { get; set; }
9809                 public signal void accel_closures_changed ();
9810                 public virtual signal bool button_press_event (Gdk.EventButton event);
9811                 public virtual signal bool button_release_event (Gdk.EventButton event);
9812                 [HasEmitter]
9813                 public virtual signal bool can_activate_accel (uint signal_id);
9814                 [HasEmitter]
9815                 public virtual signal void child_notify (GLib.ParamSpec child_property);
9816                 [Version (deprecated = true, deprecated_since = "3.22")]
9817                 public virtual signal void composited_changed ();
9818                 public virtual signal bool configure_event (Gdk.EventConfigure event);
9819                 [Version (since = "2.14")]
9820                 public virtual signal bool damage_event (Gdk.EventExpose event);
9821                 public virtual signal bool delete_event (Gdk.EventAny event);
9822                 [HasEmitter]
9823                 public virtual signal void destroy ();
9824                 public virtual signal bool destroy_event (Gdk.EventAny event);
9825                 public virtual signal void direction_changed (Gtk.TextDirection previous_direction);
9826                 public virtual signal void drag_begin (Gdk.DragContext context);
9827                 public virtual signal void drag_data_delete (Gdk.DragContext context);
9828                 public virtual signal void drag_data_get (Gdk.DragContext context, Gtk.SelectionData selection_data, uint info, uint time_);
9829                 public virtual signal void drag_data_received (Gdk.DragContext context, int x, int y, Gtk.SelectionData selection_data, uint info, uint time_);
9830                 public virtual signal bool drag_drop (Gdk.DragContext context, int x, int y, uint time_);
9831                 public virtual signal void drag_end (Gdk.DragContext context);
9832                 [Version (since = "2.12")]
9833                 public virtual signal bool drag_failed (Gdk.DragContext context, Gtk.DragResult result);
9834                 public virtual signal void drag_leave (Gdk.DragContext context, uint time_);
9835                 public virtual signal bool drag_motion (Gdk.DragContext context, int x, int y, uint time_);
9836                 [Version (since = "3.0")]
9837                 public virtual signal bool draw (Cairo.Context cr);
9838                 public virtual signal bool enter_notify_event (Gdk.EventCrossing event);
9839                 [HasEmitter]
9840                 public virtual signal bool event (Gdk.Event event);
9841                 public signal void event_after (Gdk.Event event);
9842                 public virtual signal bool focus (Gtk.DirectionType direction);
9843                 public virtual signal bool focus_in_event (Gdk.EventFocus event);
9844                 public virtual signal bool focus_out_event (Gdk.EventFocus event);
9845                 [Version (since = "2.8")]
9846                 public virtual signal bool grab_broken_event (Gdk.EventGrabBroken event);
9847                 [HasEmitter]
9848                 public virtual signal void grab_focus ();
9849                 public virtual signal void grab_notify (bool was_grabbed);
9850                 [HasEmitter]
9851                 public virtual signal void hide ();
9852                 public virtual signal void hierarchy_changed (Gtk.Widget? previous_toplevel);
9853                 public virtual signal bool key_press_event (Gdk.EventKey event);
9854                 public virtual signal bool key_release_event (Gdk.EventKey event);
9855                 [HasEmitter]
9856                 [Version (since = "2.12")]
9857                 public virtual signal bool keynav_failed (Gtk.DirectionType direction);
9858                 public virtual signal bool leave_notify_event (Gdk.EventCrossing event);
9859                 [HasEmitter]
9860                 public virtual signal void map ();
9861                 public virtual signal bool map_event (Gdk.EventAny event);
9862                 [HasEmitter]
9863                 public virtual signal bool mnemonic_activate (bool group_cycling);
9864                 public virtual signal bool motion_notify_event (Gdk.EventMotion event);
9865                 public virtual signal void move_focus (Gtk.DirectionType direction);
9866                 public virtual signal void parent_set (Gtk.Widget? previous_parent);
9867                 public virtual signal bool popup_menu ();
9868                 public virtual signal bool property_notify_event (Gdk.EventProperty event);
9869                 public virtual signal bool proximity_in_event (Gdk.EventProximity event);
9870                 public virtual signal bool proximity_out_event (Gdk.EventProximity event);
9871                 [Version (since = "2.12")]
9872                 public virtual signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
9873                 [HasEmitter]
9874                 public virtual signal void realize ();
9875                 public virtual signal void screen_changed (Gdk.Screen? previous_screen);
9876                 public virtual signal bool scroll_event (Gdk.EventScroll event);
9877                 public virtual signal bool selection_clear_event (Gdk.EventSelection event);
9878                 public virtual signal void selection_get (Gtk.SelectionData selection_data, uint info, uint time_);
9879                 public virtual signal bool selection_notify_event (Gdk.EventSelection event);
9880                 public virtual signal void selection_received (Gtk.SelectionData selection_data, uint time_);
9881                 public virtual signal bool selection_request_event (Gdk.EventSelection event);
9882                 [HasEmitter]
9883                 public virtual signal void show ();
9884                 public virtual signal bool show_help (Gtk.WidgetHelpType help_type);
9885                 [HasEmitter]
9886                 public virtual signal void size_allocate (Gtk.Allocation allocation);
9887                 [Version (deprecated = true, deprecated_since = "3.0")]
9888                 public virtual signal void state_changed (Gtk.StateType previous_state);
9889                 [Version (since = "3.0")]
9890                 public virtual signal void state_flags_changed (Gtk.StateFlags previous_state_flags);
9891                 [Version (deprecated = true, deprecated_since = "3.0")]
9892                 public virtual signal void style_set (Gtk.Style? previous_style);
9893                 [Version (since = "3.0")]
9894                 public virtual signal void style_updated ();
9895                 public virtual signal bool touch_event (Gdk.Event event);
9896                 [HasEmitter]
9897                 public virtual signal void unmap ();
9898                 public virtual signal bool unmap_event (Gdk.EventAny event);
9899                 [HasEmitter]
9900                 public virtual signal void unrealize ();
9901                 [Version (deprecated = true, deprecated_since = "3.12")]
9902                 public virtual signal bool visibility_notify_event (Gdk.EventVisibility event);
9903                 public virtual signal bool window_state_event (Gdk.EventWindowState event);
9904         }
9905         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_widget_accessible_get_type ()")]
9906         public class WidgetAccessible : Gtk.Accessible, Atk.Component {
9907                 [CCode (has_construct_function = false)]
9908                 protected WidgetAccessible ();
9909                 [NoWrapper]
9910                 public virtual void notify_gtk (GLib.ParamSpec pspec);
9911         }
9912         [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")]
9913         [Compact]
9914         public class WidgetPath {
9915                 [CCode (has_construct_function = false)]
9916                 [Version (since = "3.0")]
9917                 public WidgetPath ();
9918                 [Version (since = "3.2")]
9919                 public int append_for_widget (Gtk.Widget widget);
9920                 [Version (since = "3.0")]
9921                 public int append_type (GLib.Type type);
9922                 [Version (since = "3.2")]
9923                 public int append_with_siblings (Gtk.WidgetPath siblings, uint sibling_index);
9924                 [Version (since = "3.0")]
9925                 public Gtk.WidgetPath copy ();
9926                 [DestroysInstance]
9927                 [Version (since = "3.0")]
9928                 public void free ();
9929                 [Version (since = "3.0")]
9930                 public GLib.Type get_object_type ();
9931                 [Version (since = "3.0")]
9932                 public bool has_parent (GLib.Type type);
9933                 [Version (since = "3.0")]
9934                 public bool is_type (GLib.Type type);
9935                 [Version (since = "3.0")]
9936                 public void iter_add_class (int pos, string name);
9937                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9938                 public void iter_add_region (int pos, string name, Gtk.RegionFlags flags);
9939                 [Version (since = "3.0")]
9940                 public void iter_clear_classes (int pos);
9941                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9942                 public void iter_clear_regions (int pos);
9943                 public unowned string? iter_get_name (int pos);
9944                 [Version (since = "3.20")]
9945                 public unowned string? iter_get_object_name (int pos);
9946                 [Version (since = "3.0")]
9947                 public GLib.Type iter_get_object_type (int pos);
9948                 public uint iter_get_sibling_index (int pos);
9949                 public unowned Gtk.WidgetPath iter_get_siblings (int pos);
9950                 [Version (since = "3.14")]
9951                 public Gtk.StateFlags iter_get_state (int pos);
9952                 [Version (since = "3.0")]
9953                 public bool iter_has_class (int pos, string name);
9954                 [Version (since = "3.0")]
9955                 public bool iter_has_name (int pos, string name);
9956                 [Version (since = "3.0")]
9957                 public bool iter_has_qclass (int pos, GLib.Quark qname);
9958                 [Version (since = "3.0")]
9959                 public bool iter_has_qname (int pos, GLib.Quark qname);
9960                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9961                 public bool iter_has_qregion (int pos, GLib.Quark qname, out Gtk.RegionFlags flags);
9962                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9963                 public bool iter_has_region (int pos, string name, out Gtk.RegionFlags flags);
9964                 [Version (since = "3.0")]
9965                 public GLib.SList<weak string> iter_list_classes (int pos);
9966                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9967                 public GLib.SList<weak string> iter_list_regions (int pos);
9968                 [Version (since = "3.0")]
9969                 public void iter_remove_class (int pos, string name);
9970                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9971                 public void iter_remove_region (int pos, string name);
9972                 [Version (since = "3.0")]
9973                 public void iter_set_name (int pos, string name);
9974                 [Version (since = "3.20")]
9975                 public void iter_set_object_name (int pos, string? name);
9976                 [Version (since = "3.0")]
9977                 public void iter_set_object_type (int pos, GLib.Type type);
9978                 [Version (since = "3.14")]
9979                 public void iter_set_state (int pos, Gtk.StateFlags state);
9980                 [Version (since = "3.0")]
9981                 public int length ();
9982                 [Version (since = "3.0")]
9983                 public void prepend_type (GLib.Type type);
9984                 [Version (since = "3.2")]
9985                 public unowned Gtk.WidgetPath @ref ();
9986                 [Version (since = "3.2")]
9987                 public string to_string ();
9988                 [Version (since = "3.2")]
9989                 public void unref ();
9990         }
9991         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_get_type ()")]
9992         public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
9993                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9994                 public Window (Gtk.WindowType type = Gtk.WindowType.TOPLEVEL);
9995                 [Version (since = "2.4")]
9996                 public bool activate_key (Gdk.EventKey event);
9997                 public void add_accel_group (Gtk.AccelGroup accel_group);
9998                 public void add_mnemonic (uint keyval, Gtk.Widget target);
9999                 public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
10000                 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
10001                 [Version (since = "3.10")]
10002                 public void close ();
10003                 public void deiconify ();
10004                 [Version (since = "2.2")]
10005                 public void fullscreen ();
10006                 [Version (since = "3.18")]
10007                 public void fullscreen_on_monitor (Gdk.Screen screen, int monitor);
10008                 [Version (since = "2.4")]
10009                 public bool get_accept_focus ();
10010                 [Version (since = "3.0")]
10011                 public unowned Gtk.Application? get_application ();
10012                 [Version (since = "3.4")]
10013                 public unowned Gtk.Widget? get_attached_to ();
10014                 public bool get_decorated ();
10015                 public static GLib.List<weak Gdk.Pixbuf> get_default_icon_list ();
10016                 [Version (since = "2.16")]
10017                 public static unowned string get_default_icon_name ();
10018                 public void get_default_size (out int width, out int height);
10019                 [Version (since = "2.14")]
10020                 public unowned Gtk.Widget? get_default_widget ();
10021                 [Version (since = "2.10")]
10022                 public bool get_deletable ();
10023                 public bool get_destroy_with_parent ();
10024                 public unowned Gtk.Widget? get_focus ();
10025                 [Version (since = "2.6")]
10026                 public bool get_focus_on_map ();
10027                 [Version (since = "3.2")]
10028                 public bool get_focus_visible ();
10029                 public Gdk.Gravity get_gravity ();
10030                 [Version (since = "2.10")]
10031                 public unowned Gtk.WindowGroup get_group ();
10032                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10033                 public bool get_has_resize_grip ();
10034                 [Version (since = "3.4")]
10035                 public bool get_hide_titlebar_when_maximized ();
10036                 public unowned Gdk.Pixbuf? get_icon ();
10037                 public GLib.List<weak Gdk.Pixbuf> get_icon_list ();
10038                 [Version (since = "2.6")]
10039                 public unowned string? get_icon_name ();
10040                 public Gdk.ModifierType get_mnemonic_modifier ();
10041                 [Version (since = "2.20")]
10042                 public bool get_mnemonics_visible ();
10043                 public bool get_modal ();
10044                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.12")]
10045                 public double get_opacity ();
10046                 public void get_position (out int root_x, out int root_y);
10047                 public bool get_resizable ();
10048                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10049                 public bool get_resize_grip_area (out Gdk.Rectangle rect);
10050                 public unowned string? get_role ();
10051                 [Version (since = "2.2")]
10052                 public unowned Gdk.Screen get_screen ();
10053                 public void get_size (out int width, out int height);
10054                 [Version (since = "2.2")]
10055                 public bool get_skip_pager_hint ();
10056                 [Version (since = "2.2")]
10057                 public bool get_skip_taskbar_hint ();
10058                 public unowned string? get_title ();
10059                 [Version (since = "3.16")]
10060                 public unowned Gtk.Widget? get_titlebar ();
10061                 public unowned Gtk.Window? get_transient_for ();
10062                 public Gdk.WindowTypeHint get_type_hint ();
10063                 [Version (since = "2.8")]
10064                 public bool get_urgency_hint ();
10065                 [Version (since = "2.20")]
10066                 public Gtk.WindowType get_window_type ();
10067                 public bool has_group ();
10068                 public void iconify ();
10069                 public static GLib.List<weak Gtk.Window> list_toplevels ();
10070                 public void maximize ();
10071                 public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier);
10072                 public void move (int x, int y);
10073                 [Version (deprecated = true, deprecated_since = "3.20")]
10074                 public bool parse_geometry (string geometry);
10075                 public void present ();
10076                 [Version (since = "2.8")]
10077                 public void present_with_time (uint32 timestamp);
10078                 [Version (since = "2.4")]
10079                 public bool propagate_key_event (Gdk.EventKey event);
10080                 public void remove_accel_group (Gtk.AccelGroup accel_group);
10081                 public void remove_mnemonic (uint keyval, Gtk.Widget target);
10082                 [Version (deprecated = true, deprecated_since = "3.10")]
10083                 public void reshow_with_initial_size ();
10084                 public void resize (int width, int height);
10085                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10086                 public bool resize_grip_is_visible ();
10087                 [Version (deprecated = true, deprecated_since = "3.20", since = "3.0")]
10088                 public void resize_to_geometry (int width, int height);
10089                 [Version (since = "2.4")]
10090                 public void set_accept_focus (bool setting);
10091                 [Version (since = "3.0")]
10092                 public void set_application (Gtk.Application? application);
10093                 [Version (since = "3.4")]
10094                 public void set_attached_to (Gtk.Widget? attach_widget);
10095                 [Version (since = "2.2")]
10096                 public static void set_auto_startup_notification (bool setting);
10097                 public void set_decorated (bool setting);
10098                 public void set_default (Gtk.Widget? default_widget);
10099                 [Version (deprecated = true, deprecated_since = "3.20", since = "3.0")]
10100                 public void set_default_geometry (int width, int height);
10101                 [Version (since = "2.4")]
10102                 public static void set_default_icon (Gdk.Pixbuf icon);
10103                 [Version (since = "2.2")]
10104                 public static bool set_default_icon_from_file (string filename) throws GLib.Error;
10105                 public static void set_default_icon_list (owned GLib.List<weak Gdk.Pixbuf> list);
10106                 [Version (since = "2.6")]
10107                 public static void set_default_icon_name (string name);
10108                 public void set_default_size (int width, int height);
10109                 [Version (since = "2.10")]
10110                 public void set_deletable (bool setting);
10111                 public void set_destroy_with_parent (bool setting);
10112                 [Version (since = "2.6")]
10113                 public void set_focus_on_map (bool setting);
10114                 [Version (since = "3.2")]
10115                 public void set_focus_visible (bool setting);
10116                 public void set_geometry_hints (Gtk.Widget? geometry_widget, Gdk.Geometry? geometry, Gdk.WindowHints geom_mask);
10117                 public void set_gravity (Gdk.Gravity gravity);
10118                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10119                 public void set_has_resize_grip (bool value);
10120                 [Version (since = "3.0")]
10121                 public void set_has_user_ref_count (bool setting);
10122                 [Version (since = "3.4")]
10123                 public void set_hide_titlebar_when_maximized (bool setting);
10124                 public void set_icon (Gdk.Pixbuf? icon);
10125                 [Version (since = "2.2")]
10126                 public bool set_icon_from_file (string filename) throws GLib.Error;
10127                 public void set_icon_list (GLib.List<Gdk.Pixbuf> list);
10128                 [Version (since = "2.6")]
10129                 public void set_icon_name (string? name);
10130                 [Version (since = "3.14")]
10131                 public static void set_interactive_debugging (bool enable);
10132                 [Version (since = "2.4")]
10133                 public void set_keep_above (bool setting);
10134                 [Version (since = "2.4")]
10135                 public void set_keep_below (bool setting);
10136                 public void set_mnemonic_modifier (Gdk.ModifierType modifier);
10137                 [Version (since = "2.20")]
10138                 public void set_mnemonics_visible (bool setting);
10139                 public void set_modal (bool modal);
10140                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.12")]
10141                 public void set_opacity (double opacity);
10142                 public void set_position (Gtk.WindowPosition position);
10143                 public void set_resizable (bool resizable);
10144                 public void set_role (string role);
10145                 [Version (since = "2.2")]
10146                 public void set_screen (Gdk.Screen screen);
10147                 [Version (since = "2.2")]
10148                 public void set_skip_pager_hint (bool setting);
10149                 [Version (since = "2.2")]
10150                 public void set_skip_taskbar_hint (bool setting);
10151                 [Version (since = "2.12")]
10152                 public void set_startup_id (string startup_id);
10153                 public void set_title (string title);
10154                 [Version (since = "3.10")]
10155                 public void set_titlebar (Gtk.Widget? titlebar);
10156                 public void set_transient_for (Gtk.Window? parent);
10157                 public void set_type_hint (Gdk.WindowTypeHint hint);
10158                 [Version (since = "2.8")]
10159                 public void set_urgency_hint (bool setting);
10160                 [Version (deprecated = true, deprecated_since = "3.22")]
10161                 public void set_wmclass (string wmclass_name, string wmclass_class);
10162                 public void stick ();
10163                 [CCode (cname = "gtk_window_activate_default")]
10164                 public bool try_activate_default ();
10165                 [CCode (cname = "gtk_window_activate_focus")]
10166                 public bool try_activate_focus ();
10167                 [Version (since = "2.2")]
10168                 public void unfullscreen ();
10169                 public void unmaximize ();
10170                 public void unstick ();
10171                 [Version (since = "2.4")]
10172                 public bool accept_focus { get; set; }
10173                 [Version (since = "3.0")]
10174                 public Gtk.Application application { get; set; }
10175                 [Version (since = "3.4")]
10176                 public Gtk.Widget attached_to { get; set construct; }
10177                 [Version (since = "2.4")]
10178                 public bool decorated { get; set; }
10179                 [NoAccessorMethod]
10180                 public int default_height { get; set; }
10181                 [NoAccessorMethod]
10182                 public int default_width { get; set; }
10183                 [Version (since = "2.10")]
10184                 public bool deletable { get; set; }
10185                 public bool destroy_with_parent { get; set; }
10186                 [Version (since = "2.6")]
10187                 public bool focus_on_map { get; set; }
10188                 [Version (since = "2.20")]
10189                 public bool focus_visible { get; set; }
10190                 [Version (since = "2.4")]
10191                 public Gdk.Gravity gravity { get; set; }
10192                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10193                 public bool has_resize_grip { get; set; }
10194                 [NoAccessorMethod]
10195                 public bool has_toplevel_focus { get; }
10196                 [Version (since = "3.4")]
10197                 public bool hide_titlebar_when_maximized { get; set; }
10198                 public Gdk.Pixbuf icon { get; set; }
10199                 [Version (since = "2.6")]
10200                 public string icon_name { get; set; }
10201                 [NoAccessorMethod]
10202                 public bool is_active { get; }
10203                 [NoAccessorMethod]
10204                 public bool is_maximized { get; }
10205                 [Version (since = "2.20")]
10206                 public bool mnemonics_visible { get; set; }
10207                 public bool modal { get; set; }
10208                 public bool resizable { get; set; }
10209                 [NoAccessorMethod]
10210                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10211                 public bool resize_grip_visible { get; }
10212                 public string role { get; set; }
10213                 public Gdk.Screen screen { get; set; }
10214                 public bool skip_pager_hint { get; set; }
10215                 public bool skip_taskbar_hint { get; set; }
10216                 [Version (since = "2.12")]
10217                 public string startup_id { set; }
10218                 public string title { get; set; }
10219                 [Version (since = "2.10")]
10220                 public Gtk.Window transient_for { get; set construct; }
10221                 [NoAccessorMethod]
10222                 public Gtk.WindowType type { get; construct; }
10223                 public Gdk.WindowTypeHint type_hint { get; set; }
10224                 public bool urgency_hint { get; set; }
10225                 [NoAccessorMethod]
10226                 public Gtk.WindowPosition window_position { get; set; }
10227                 public virtual signal void activate_default ();
10228                 public virtual signal void activate_focus ();
10229                 public virtual signal bool enable_debugging (bool toggle);
10230                 public virtual signal void keys_changed ();
10231                 [HasEmitter]
10232                 public virtual signal void set_focus (Gtk.Widget? focus);
10233         }
10234         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_window_accessible_get_type ()")]
10235         public class WindowAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Window {
10236                 [CCode (has_construct_function = false)]
10237                 protected WindowAccessible ();
10238         }
10239         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10240         [Compact]
10241         public class WindowGeometryInfo {
10242         }
10243         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_group_get_type ()")]
10244         public class WindowGroup : GLib.Object {
10245                 [CCode (has_construct_function = false)]
10246                 public WindowGroup ();
10247                 public void add_window (Gtk.Window window);
10248                 [Version (since = "3.0")]
10249                 public unowned Gtk.Widget? get_current_device_grab (Gdk.Device device);
10250                 [Version (since = "2.22")]
10251                 public unowned Gtk.Widget get_current_grab ();
10252                 [Version (since = "2.14")]
10253                 public GLib.List<weak Gtk.Window> list_windows ();
10254                 public void remove_window (Gtk.Window window);
10255         }
10256         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkActionableInterface", type_id = "gtk_actionable_get_type ()")]
10257         public interface Actionable : Gtk.Widget {
10258                 [Version (since = "3.4")]
10259                 public abstract unowned string? get_action_name ();
10260                 [Version (since = "3.4")]
10261                 public abstract unowned GLib.Variant get_action_target_value ();
10262                 [Version (since = "3.4")]
10263                 public abstract void set_action_name (string? action_name);
10264                 [Version (since = "3.4")]
10265                 public void set_action_target (string format_string, ...);
10266                 [Version (since = "3.4")]
10267                 public abstract void set_action_target_value (GLib.Variant target_value);
10268                 [Version (since = "3.4")]
10269                 public void set_detailed_action_name (string detailed_action_name);
10270                 public string action_name { get; set; }
10271                 [NoAccessorMethod]
10272                 public GLib.Variant action_target { owned get; set; }
10273         }
10274         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_activatable_get_type ()")]
10275         [Version (deprecated = true, deprecated_since = "3.10")]
10276         public interface Activatable : GLib.Object {
10277                 [Version (since = "2.16")]
10278                 public void do_set_related_action (Gtk.Action action);
10279                 [Version (since = "2.16")]
10280                 public unowned Gtk.Action get_related_action ();
10281                 [Version (since = "2.16")]
10282                 public bool get_use_action_appearance ();
10283                 [Version (since = "2.16")]
10284                 public void set_related_action (Gtk.Action action);
10285                 [Version (since = "2.16")]
10286                 public void set_use_action_appearance (bool use_appearance);
10287                 [Version (since = "2.16")]
10288                 public abstract void sync_action_properties (Gtk.Action? action);
10289                 [NoWrapper]
10290                 public abstract void update (Gtk.Action action, string property_name);
10291                 [Version (since = "2.16")]
10292                 public Gtk.Action related_action { get; set; }
10293                 [Version (since = "2.16")]
10294                 public bool use_action_appearance { get; set; }
10295         }
10296         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_get_type ()")]
10297         public interface AppChooser : Gtk.Widget {
10298                 [Version (since = "3.0")]
10299                 public GLib.AppInfo? get_app_info ();
10300                 [Version (since = "3.0")]
10301                 public string get_content_type ();
10302                 [Version (since = "3.0")]
10303                 public void refresh ();
10304                 public string content_type { owned get; construct; }
10305         }
10306         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_buildable_get_type ()")]
10307         public interface Buildable : GLib.Object {
10308                 [Version (since = "2.12")]
10309                 public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type);
10310                 [Version (since = "2.12")]
10311                 public abstract GLib.Object construct_child (Gtk.Builder builder, string name);
10312                 [Version (since = "2.12")]
10313                 public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
10314                 [Version (since = "2.12")]
10315                 public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
10316                 [Version (since = "2.12")]
10317                 public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data);
10318                 [Version (since = "2.12")]
10319                 public abstract unowned GLib.Object get_internal_child (Gtk.Builder builder, string childname);
10320                 [Version (since = "2.12")]
10321                 public abstract unowned string get_name ();
10322                 [Version (since = "2.12")]
10323                 public abstract void parser_finished (Gtk.Builder builder);
10324                 [Version (since = "2.12")]
10325                 public abstract void set_buildable_property (Gtk.Builder builder, string name, GLib.Value value);
10326                 [Version (since = "2.12")]
10327                 public abstract void set_name (string name);
10328         }
10329         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_accessible_parent_get_type ()")]
10330         public interface CellAccessibleParent : GLib.Object {
10331                 public abstract void activate (Gtk.CellAccessible cell);
10332                 public abstract void edit (Gtk.CellAccessible cell);
10333                 public abstract void expand_collapse (Gtk.CellAccessible cell);
10334                 public abstract void get_cell_area (Gtk.CellAccessible cell, Gdk.Rectangle cell_rect);
10335                 public abstract void get_cell_extents (Gtk.CellAccessible cell, int x, int y, int width, int height, Atk.CoordType coord_type);
10336                 public abstract int get_child_index (Gtk.CellAccessible cell);
10337                 public abstract Gtk.CellRendererState get_renderer_state (Gtk.CellAccessible cell);
10338                 public abstract bool grab_focus (Gtk.CellAccessible cell);
10339                 public abstract void update_relationset (Gtk.CellAccessible cell, Atk.RelationSet relationset);
10340         }
10341         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_editable_get_type ()")]
10342         public interface CellEditable : Gtk.Widget {
10343                 public abstract void start_editing (Gdk.Event? event);
10344                 [NoAccessorMethod]
10345                 [Version (since = "2.20")]
10346                 public bool editing_canceled { get; set; }
10347                 [HasEmitter]
10348                 public virtual signal void editing_done ();
10349                 [HasEmitter]
10350                 public virtual signal void remove_widget ();
10351         }
10352         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_layout_get_type ()")]
10353         public interface CellLayout : GLib.Object {
10354                 [Version (since = "2.4")]
10355                 public abstract void add_attribute (Gtk.CellRenderer cell, string attribute, int column);
10356                 [Version (since = "2.4")]
10357                 public abstract void clear ();
10358                 [Version (since = "2.4")]
10359                 public abstract void clear_attributes (Gtk.CellRenderer cell);
10360                 [Version (since = "3.0")]
10361                 public abstract unowned Gtk.CellArea? get_area ();
10362                 [Version (since = "2.12")]
10363                 public abstract GLib.List<weak Gtk.CellRenderer> get_cells ();
10364                 [Version (since = "2.4")]
10365                 public abstract void pack_end (Gtk.CellRenderer cell, bool expand);
10366                 [Version (since = "2.4")]
10367                 public abstract void pack_start (Gtk.CellRenderer cell, bool expand);
10368                 [Version (since = "2.4")]
10369                 public abstract void reorder (Gtk.CellRenderer cell, int position);
10370                 [Version (since = "2.4")]
10371                 public void set_attributes (Gtk.CellRenderer cell, ...);
10372                 [Version (since = "2.4")]
10373                 public abstract void set_cell_data_func (Gtk.CellRenderer cell, owned Gtk.CellLayoutDataFunc? func);
10374         }
10375         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkColorChooserInterface", type_id = "gtk_color_chooser_get_type ()")]
10376         public interface ColorChooser : GLib.Object {
10377                 [Version (since = "3.4")]
10378                 public abstract void add_palette (Gtk.Orientation orientation, int colors_per_line, [CCode (array_length_cname = "n_colors", array_length_pos = 2.5)] Gdk.RGBA[]? colors);
10379                 [Version (since = "3.4")]
10380                 public abstract Gdk.RGBA get_rgba ();
10381                 [Version (since = "3.4")]
10382                 public bool get_use_alpha ();
10383                 [Version (since = "3.4")]
10384                 public abstract void set_rgba (Gdk.RGBA color);
10385                 [Version (since = "3.4")]
10386                 public void set_use_alpha (bool use_alpha);
10387                 [Version (since = "3.4")]
10388                 public Gdk.RGBA rgba { get; set; }
10389                 [Version (since = "3.4")]
10390                 public bool use_alpha { get; set; }
10391                 [Version (since = "3.4")]
10392                 public virtual signal void color_activated (Gdk.RGBA color);
10393         }
10394         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkEditableInterface", type_id = "gtk_editable_get_type ()")]
10395         public interface Editable : GLib.Object {
10396                 public void copy_clipboard ();
10397                 public void cut_clipboard ();
10398                 public void delete_selection ();
10399                 [NoWrapper]
10400                 public abstract void do_delete_text (int start_pos, int end_pos);
10401                 [NoWrapper]
10402                 public abstract void do_insert_text (string new_text, int new_text_length, ref int position);
10403                 public abstract string get_chars (int start_pos = 0, int end_pos = -1);
10404                 public bool get_editable ();
10405                 public abstract int get_position ();
10406                 public abstract bool get_selection_bounds (out int start_pos, out int end_pos);
10407                 public void paste_clipboard ();
10408                 [CCode (vfunc_name = "set_selection_bounds")]
10409                 public abstract void select_region (int start_pos, int end_pos);
10410                 public void set_editable (bool is_editable);
10411                 public abstract void set_position (int position);
10412                 public virtual signal void changed ();
10413                 public virtual signal void delete_text (int start_pos, int end_pos);
10414                 public virtual signal void insert_text (string new_text, int new_text_length, ref int position);
10415         }
10416         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_get_type ()")]
10417         public interface FileChooser : GLib.Object {
10418                 [Version (since = "3.22")]
10419                 public void add_choice (string id, string label, [CCode (array_length = false, array_null_terminated = true)] string[]? options, [CCode (array_length = false, array_null_terminated = true)] string[]? option_labels);
10420                 [Version (since = "2.4")]
10421                 public void add_filter (owned Gtk.FileFilter filter);
10422                 [Version (since = "2.4")]
10423                 public bool add_shortcut_folder (string folder) throws GLib.Error;
10424                 [Version (since = "2.4")]
10425                 public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
10426                 [Version (since = "2.4")]
10427                 public Gtk.FileChooserAction get_action ();
10428                 [Version (since = "3.22")]
10429                 public unowned string get_choice (string id);
10430                 [Version (since = "2.18")]
10431                 public bool get_create_folders ();
10432                 [Version (since = "2.4")]
10433                 public string? get_current_folder ();
10434                 [Version (since = "2.14")]
10435                 public GLib.File get_current_folder_file ();
10436                 [Version (since = "2.4")]
10437                 public string? get_current_folder_uri ();
10438                 [Version (since = "3.10")]
10439                 public string get_current_name ();
10440                 [Version (since = "2.8")]
10441                 public bool get_do_overwrite_confirmation ();
10442                 [Version (since = "2.4")]
10443                 public unowned Gtk.Widget? get_extra_widget ();
10444                 [Version (since = "2.14")]
10445                 public GLib.File get_file ();
10446                 [Version (since = "2.4")]
10447                 public string? get_filename ();
10448                 [Version (since = "2.4")]
10449                 public GLib.SList<string> get_filenames ();
10450                 [Version (since = "2.14")]
10451                 public GLib.SList<GLib.File> get_files ();
10452                 [Version (since = "2.4")]
10453                 public unowned Gtk.FileFilter? get_filter ();
10454                 [Version (since = "2.4")]
10455                 public bool get_local_only ();
10456                 [Version (since = "2.14")]
10457                 public GLib.File? get_preview_file ();
10458                 [Version (since = "2.4")]
10459                 public string? get_preview_filename ();
10460                 [Version (since = "2.4")]
10461                 public string? get_preview_uri ();
10462                 [Version (since = "2.4")]
10463                 public unowned Gtk.Widget? get_preview_widget ();
10464                 [Version (since = "2.4")]
10465                 public bool get_preview_widget_active ();
10466                 [Version (since = "2.4")]
10467                 public bool get_select_multiple ();
10468                 [Version (since = "2.6")]
10469                 public bool get_show_hidden ();
10470                 [Version (since = "2.4")]
10471                 public string? get_uri ();
10472                 [Version (since = "2.4")]
10473                 public GLib.SList<string> get_uris ();
10474                 public bool get_use_preview_label ();
10475                 [Version (since = "2.4")]
10476                 public GLib.SList<weak Gtk.FileFilter> list_filters ();
10477                 [Version (since = "2.4")]
10478                 public GLib.SList<string>? list_shortcut_folder_uris ();
10479                 [Version (since = "2.4")]
10480                 public GLib.SList<string>? list_shortcut_folders ();
10481                 [Version (since = "3.22")]
10482                 public void remove_choice (string id);
10483                 [Version (since = "2.4")]
10484                 public void remove_filter (Gtk.FileFilter filter);
10485                 [Version (since = "2.4")]
10486                 public bool remove_shortcut_folder (string folder) throws GLib.Error;
10487                 [Version (since = "2.4")]
10488                 public bool remove_shortcut_folder_uri (string uri) throws GLib.Error;
10489                 [Version (since = "2.4")]
10490                 public void select_all ();
10491                 [Version (since = "2.14")]
10492                 public bool select_file (GLib.File file) throws GLib.Error;
10493                 [Version (since = "2.4")]
10494                 public bool select_filename (string filename);
10495                 [Version (since = "2.4")]
10496                 public bool select_uri (string uri);
10497                 [Version (since = "2.4")]
10498                 public void set_action (Gtk.FileChooserAction action);
10499                 [Version (since = "3.22")]
10500                 public void set_choice (string id, string option);
10501                 [Version (since = "2.18")]
10502                 public void set_create_folders (bool create_folders);
10503                 [Version (since = "2.4")]
10504                 public bool set_current_folder (string filename);
10505                 [Version (since = "2.14")]
10506                 public bool set_current_folder_file (GLib.File file) throws GLib.Error;
10507                 [Version (since = "2.4")]
10508                 public bool set_current_folder_uri (string uri);
10509                 [Version (since = "2.4")]
10510                 public void set_current_name (string name);
10511                 [Version (since = "2.8")]
10512                 public void set_do_overwrite_confirmation (bool do_overwrite_confirmation);
10513                 [Version (since = "2.4")]
10514                 public void set_extra_widget (Gtk.Widget extra_widget);
10515                 [Version (since = "2.14")]
10516                 public bool set_file (GLib.File file) throws GLib.Error;
10517                 [Version (since = "2.4")]
10518                 public bool set_filename (string filename);
10519                 [Version (since = "2.4")]
10520                 public void set_filter (Gtk.FileFilter filter);
10521                 [Version (since = "2.4")]
10522                 public void set_local_only (bool local_only);
10523                 [Version (since = "2.4")]
10524                 public void set_preview_widget (Gtk.Widget preview_widget);
10525                 [Version (since = "2.4")]
10526                 public void set_preview_widget_active (bool active);
10527                 [Version (since = "2.4")]
10528                 public void set_select_multiple (bool select_multiple);
10529                 [Version (since = "2.6")]
10530                 public void set_show_hidden (bool show_hidden);
10531                 [Version (since = "2.4")]
10532                 public bool set_uri (string uri);
10533                 [Version (since = "2.4")]
10534                 public void set_use_preview_label (bool use_label);
10535                 [Version (since = "2.4")]
10536                 public void unselect_all ();
10537                 [Version (since = "2.14")]
10538                 public void unselect_file (GLib.File file);
10539                 [Version (since = "2.4")]
10540                 public void unselect_filename (string filename);
10541                 [Version (since = "2.4")]
10542                 public void unselect_uri (string uri);
10543                 public Gtk.FileChooserAction action { get; set; }
10544                 [Version (since = "2.18")]
10545                 public bool create_folders { get; set; }
10546                 [Version (since = "2.8")]
10547                 public bool do_overwrite_confirmation { get; set; }
10548                 public Gtk.Widget extra_widget { get; set; }
10549                 public Gtk.FileFilter filter { get; set; }
10550                 public bool local_only { get; set; }
10551                 public Gtk.Widget preview_widget { get; set; }
10552                 public bool preview_widget_active { get; set; }
10553                 public bool select_multiple { get; set; }
10554                 public bool show_hidden { get; set; }
10555                 public bool use_preview_label { get; set; }
10556                 [Version (since = "2.8")]
10557                 public signal Gtk.FileChooserConfirmation confirm_overwrite ();
10558                 public signal void current_folder_changed ();
10559                 public signal void file_activated ();
10560                 public signal void selection_changed ();
10561                 public signal void update_preview ();
10562         }
10563         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_get_type ()")]
10564         public interface FontChooser : GLib.Object {
10565                 [Version (since = "3.2")]
10566                 public string? get_font ();
10567                 [Version (since = "3.2")]
10568                 public Pango.FontDescription? get_font_desc ();
10569                 [Version (since = "3.2")]
10570                 public abstract unowned Pango.FontFace? get_font_face ();
10571                 [Version (since = "3.2")]
10572                 public abstract unowned Pango.FontFamily? get_font_family ();
10573                 [Version (since = "3.18")]
10574                 public abstract Pango.FontMap? get_font_map ();
10575                 [Version (since = "3.2")]
10576                 public abstract int get_font_size ();
10577                 [Version (since = "3.2")]
10578                 public string get_preview_text ();
10579                 [Version (since = "3.2")]
10580                 public bool get_show_preview_entry ();
10581                 [Version (since = "3.2")]
10582                 public abstract void set_filter_func (owned Gtk.FontFilterFunc? filter);
10583                 [Version (since = "3.2")]
10584                 public void set_font (string fontname);
10585                 [Version (since = "3.2")]
10586                 public void set_font_desc (Pango.FontDescription font_desc);
10587                 [Version (since = "3.18")]
10588                 public abstract void set_font_map (Pango.FontMap? fontmap);
10589                 [Version (since = "3.2")]
10590                 public void set_preview_text (string text);
10591                 [Version (since = "3.2")]
10592                 public void set_show_preview_entry (bool show_preview_entry);
10593                 public string font { owned get; set; }
10594                 public Pango.FontDescription font_desc { owned get; set; }
10595                 public string preview_text { owned get; set; }
10596                 public bool show_preview_entry { get; set; }
10597                 public virtual signal void font_activated (string fontname);
10598         }
10599         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_orientable_get_type ()")]
10600         public interface Orientable : GLib.Object {
10601                 [Version (since = "2.16")]
10602                 public Gtk.Orientation get_orientation ();
10603                 [Version (since = "2.16")]
10604                 public void set_orientation (Gtk.Orientation orientation);
10605                 [Version (since = "2.16")]
10606                 public Gtk.Orientation orientation { get; set; }
10607         }
10608         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_preview_get_type ()")]
10609         public interface PrintOperationPreview : GLib.Object {
10610                 [Version (since = "2.10")]
10611                 public abstract void end_preview ();
10612                 [Version (since = "2.10")]
10613                 public abstract bool is_selected (int page_nr);
10614                 [Version (since = "2.10")]
10615                 public abstract void render_page (int page_nr);
10616                 public virtual signal void got_page_size (Gtk.PrintContext context, Gtk.PageSetup page_setup);
10617                 public virtual signal void ready (Gtk.PrintContext context);
10618         }
10619         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_get_type ()")]
10620         public interface RecentChooser : GLib.Object {
10621                 [Version (since = "2.10")]
10622                 public abstract void add_filter (Gtk.RecentFilter filter);
10623                 [Version (since = "2.10")]
10624                 public Gtk.RecentInfo get_current_item ();
10625                 [Version (since = "2.10")]
10626                 public abstract string get_current_uri ();
10627                 [Version (since = "2.10")]
10628                 public unowned Gtk.RecentFilter get_filter ();
10629                 [Version (since = "2.10")]
10630                 public abstract GLib.List<Gtk.RecentInfo> get_items ();
10631                 [Version (since = "2.10")]
10632                 public int get_limit ();
10633                 [Version (since = "2.10")]
10634                 public bool get_local_only ();
10635                 [NoWrapper]
10636                 public abstract unowned Gtk.RecentManager get_recent_manager ();
10637                 [Version (since = "2.10")]
10638                 public bool get_select_multiple ();
10639                 [Version (since = "2.10")]
10640                 public bool get_show_icons ();
10641                 [Version (since = "2.10")]
10642                 public bool get_show_not_found ();
10643                 [Version (since = "2.10")]
10644                 public bool get_show_private ();
10645                 [Version (since = "2.10")]
10646                 public bool get_show_tips ();
10647                 [Version (since = "2.10")]
10648                 public Gtk.RecentSortType get_sort_type ();
10649                 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
10650                 [Version (since = "2.10")]
10651                 public string[] get_uris ();
10652                 [Version (since = "2.10")]
10653                 public abstract GLib.SList<weak Gtk.RecentFilter> list_filters ();
10654                 [Version (since = "2.10")]
10655                 public abstract void remove_filter (Gtk.RecentFilter filter);
10656                 [Version (since = "2.10")]
10657                 public abstract void select_all ();
10658                 [Version (since = "2.10")]
10659                 public abstract bool select_uri (string uri) throws GLib.Error;
10660                 [Version (since = "2.10")]
10661                 public abstract bool set_current_uri (string uri) throws GLib.Error;
10662                 [Version (since = "2.10")]
10663                 public void set_filter (Gtk.RecentFilter? filter);
10664                 [Version (since = "2.10")]
10665                 public void set_limit (int limit);
10666                 [Version (since = "2.10")]
10667                 public void set_local_only (bool local_only);
10668                 [Version (since = "2.10")]
10669                 public void set_select_multiple (bool select_multiple);
10670                 [Version (since = "2.10")]
10671                 public void set_show_icons (bool show_icons);
10672                 [Version (since = "2.10")]
10673                 public void set_show_not_found (bool show_not_found);
10674                 [Version (since = "2.10")]
10675                 public void set_show_private (bool show_private);
10676                 [Version (since = "2.10")]
10677                 public void set_show_tips (bool show_tips);
10678                 [Version (since = "2.10")]
10679                 public abstract void set_sort_func (owned Gtk.RecentSortFunc sort_func);
10680                 [Version (since = "2.10")]
10681                 public void set_sort_type (Gtk.RecentSortType sort_type);
10682                 [Version (since = "2.10")]
10683                 public abstract void unselect_all ();
10684                 [Version (since = "2.10")]
10685                 public abstract void unselect_uri (string uri);
10686                 [Version (since = "2.10")]
10687                 public Gtk.RecentFilter filter { get; set; }
10688                 [Version (since = "2.10")]
10689                 public int limit { get; set; }
10690                 [Version (since = "2.10")]
10691                 public bool local_only { get; set; }
10692                 [NoAccessorMethod]
10693                 [Version (since = "2.10")]
10694                 public Gtk.RecentManager recent_manager { construct; }
10695                 [Version (since = "2.10")]
10696                 public bool select_multiple { get; set; }
10697                 [Version (since = "2.10")]
10698                 public bool show_icons { get; set; }
10699                 [Version (since = "2.10")]
10700                 public bool show_not_found { get; set; }
10701                 public bool show_private { get; set; }
10702                 [Version (since = "2.10")]
10703                 public bool show_tips { get; set; }
10704                 [Version (since = "2.10")]
10705                 public Gtk.RecentSortType sort_type { get; set; }
10706                 [Version (since = "2.10")]
10707                 public virtual signal void item_activated ();
10708                 [Version (since = "2.10")]
10709                 public virtual signal void selection_changed ();
10710         }
10711         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkScrollableInterface", type_id = "gtk_scrollable_get_type ()")]
10712         public interface Scrollable : GLib.Object {
10713                 [Version (since = "3.16")]
10714                 public abstract bool get_border (out Gtk.Border border);
10715                 [Version (since = "3.0")]
10716                 public unowned Gtk.Adjustment get_hadjustment ();
10717                 [Version (since = "3.0")]
10718                 public Gtk.ScrollablePolicy get_hscroll_policy ();
10719                 [Version (since = "3.0")]
10720                 public unowned Gtk.Adjustment get_vadjustment ();
10721                 [Version (since = "3.0")]
10722                 public Gtk.ScrollablePolicy get_vscroll_policy ();
10723                 [Version (since = "3.0")]
10724                 public void set_hadjustment (Gtk.Adjustment? hadjustment);
10725                 [Version (since = "3.0")]
10726                 public void set_hscroll_policy (Gtk.ScrollablePolicy policy);
10727                 [Version (since = "3.0")]
10728                 public void set_vadjustment (Gtk.Adjustment? vadjustment);
10729                 [Version (since = "3.0")]
10730                 public void set_vscroll_policy (Gtk.ScrollablePolicy policy);
10731                 [Version (since = "3.0")]
10732                 public Gtk.Adjustment hadjustment { get; set construct; }
10733                 [Version (since = "3.0")]
10734                 public Gtk.ScrollablePolicy hscroll_policy { get; set; }
10735                 [Version (since = "3.0")]
10736                 public Gtk.Adjustment vadjustment { get; set construct; }
10737                 [Version (since = "3.0")]
10738                 public Gtk.ScrollablePolicy vscroll_policy { get; set; }
10739         }
10740         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_provider_get_type ()")]
10741         public interface StyleProvider : GLib.Object {
10742                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
10743                 public abstract unowned Gtk.IconFactory? get_icon_factory (Gtk.WidgetPath path);
10744                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
10745                 public abstract Gtk.StyleProperties? get_style (Gtk.WidgetPath path);
10746                 [Version (since = "3.0")]
10747                 public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state, GLib.ParamSpec pspec, out GLib.Value value);
10748         }
10749         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_shell_get_type ()")]
10750         public interface ToolShell : Gtk.Widget {
10751                 [Version (since = "2.20")]
10752                 public abstract Pango.EllipsizeMode get_ellipsize_mode ();
10753                 [NoWrapper]
10754                 public abstract Gtk.IconSize get_icon_size ();
10755                 [Version (since = "2.14")]
10756                 public abstract Gtk.Orientation get_orientation ();
10757                 [Version (since = "2.14")]
10758                 public abstract Gtk.ReliefStyle get_relief_style ();
10759                 [Version (since = "2.14")]
10760                 public abstract Gtk.ToolbarStyle get_style ();
10761                 [Version (since = "2.20")]
10762                 public abstract float get_text_alignment ();
10763                 [Version (since = "2.20")]
10764                 public abstract Gtk.Orientation get_text_orientation ();
10765                 [Version (since = "2.20")]
10766                 public abstract unowned Gtk.SizeGroup get_text_size_group ();
10767                 [Version (since = "2.14")]
10768                 public abstract void rebuild_menu ();
10769         }
10770         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_drag_dest_get_type ()")]
10771         public interface TreeDragDest : GLib.Object {
10772                 public abstract bool drag_data_received (Gtk.TreePath dest, Gtk.SelectionData selection_data);
10773                 public abstract bool row_drop_possible (Gtk.TreePath dest_path, Gtk.SelectionData selection_data);
10774         }
10775         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_drag_source_get_type ()")]
10776         public interface TreeDragSource : GLib.Object {
10777                 public abstract bool drag_data_delete (Gtk.TreePath path);
10778                 public abstract bool drag_data_get (Gtk.TreePath path, Gtk.SelectionData selection_data);
10779                 public abstract bool row_draggable (Gtk.TreePath path);
10780         }
10781         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_get_type ()")]
10782         public interface TreeModel : GLib.Object {
10783                 public void @foreach (Gtk.TreeModelForeachFunc func);
10784                 [CCode (sentinel = "-1")]
10785                 public void @get (Gtk.TreeIter iter, ...);
10786                 public abstract GLib.Type get_column_type (int index_);
10787                 public abstract Gtk.TreeModelFlags get_flags ();
10788                 public abstract bool get_iter (out Gtk.TreeIter iter, Gtk.TreePath path);
10789                 public bool get_iter_first (out Gtk.TreeIter iter);
10790                 public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
10791                 public abstract int get_n_columns ();
10792                 public abstract Gtk.TreePath? get_path (Gtk.TreeIter iter);
10793                 [Version (since = "2.2")]
10794                 public string get_string_from_iter (Gtk.TreeIter iter);
10795                 public void get_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
10796                 public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
10797                 public abstract bool iter_children (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
10798                 public abstract bool iter_has_child (Gtk.TreeIter iter);
10799                 public abstract int iter_n_children (Gtk.TreeIter? iter);
10800                 public abstract bool iter_next (ref Gtk.TreeIter iter);
10801                 public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
10802                 public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
10803                 [Version (since = "3.0")]
10804                 public virtual bool iter_previous (ref Gtk.TreeIter iter);
10805                 public virtual void ref_node (Gtk.TreeIter iter);
10806                 [Version (since = "3.10")]
10807                 public void rows_reordered_with_length (Gtk.TreePath path, Gtk.TreeIter? iter, [CCode (array_length_cname = "length", array_length_pos = 3.1)] int[] new_order);
10808                 public virtual void unref_node (Gtk.TreeIter iter);
10809                 [HasEmitter]
10810                 public virtual signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter);
10811                 [HasEmitter]
10812                 public virtual signal void row_deleted (Gtk.TreePath path);
10813                 [HasEmitter]
10814                 public virtual signal void row_has_child_toggled (Gtk.TreePath path, Gtk.TreeIter iter);
10815                 [HasEmitter]
10816                 public virtual signal void row_inserted (Gtk.TreePath path, Gtk.TreeIter iter);
10817                 [HasEmitter]
10818                 public virtual signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter iter, [CCode (array_length = false)] int[] new_order);
10819         }
10820         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_sortable_get_type ()")]
10821         public interface TreeSortable : Gtk.TreeModel, GLib.Object {
10822                 public abstract bool get_sort_column_id (out int sort_column_id, out Gtk.SortType order);
10823                 public abstract bool has_default_sort_func ();
10824                 public abstract void set_default_sort_func (owned Gtk.TreeIterCompareFunc sort_func);
10825                 public abstract void set_sort_column_id (int sort_column_id, Gtk.SortType order);
10826                 public abstract void set_sort_func (int sort_column_id, owned Gtk.TreeIterCompareFunc sort_func);
10827                 [HasEmitter]
10828                 public virtual signal void sort_column_changed ();
10829         }
10830         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10831         public struct AccelGroupEntry {
10832                 public Gtk.AccelKey key;
10833                 public weak GLib.Closure closure;
10834                 public GLib.Quark accel_path_quark;
10835         }
10836         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10837         public struct AccelKey {
10838                 public uint accel_key;
10839                 public Gdk.ModifierType accel_mods;
10840                 public uint accel_flags;
10841         }
10842         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10843         [Version (deprecated = true, deprecated_since = "3.10")]
10844         public struct ActionEntry {
10845                 public weak string name;
10846                 public weak string stock_id;
10847                 public weak string label;
10848                 public weak string accelerator;
10849                 public weak string tooltip;
10850                 [CCode (delegate_target = false, type = "GCallback")]
10851                 public weak Gtk.ActionCallback callback;
10852         }
10853         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gdk_rectangle_get_type ()")]
10854         public struct Allocation : Gdk.Rectangle {
10855         }
10856         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10857         public struct BindingArg {
10858                 [CCode (cname = "d.long_data")]
10859                 public long long_data;
10860                 [CCode (cname = "d.double_data")]
10861                 public double double_data;
10862                 [CCode (cname = "d.string_data")]
10863                 public weak string string_data;
10864                 public GLib.Type arg_type;
10865         }
10866         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_border_get_type ()")]
10867         public struct Border {
10868                 public int16 left;
10869                 public int16 right;
10870                 public int16 top;
10871                 public int16 bottom;
10872                 [CCode (has_construct_function = false, type = "GtkBorder*")]
10873                 [Version (since = "2.14")]
10874                 public Border ();
10875                 public Gtk.Border? copy ();
10876                 public void free ();
10877         }
10878         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10879         public struct IMContextInfo {
10880                 public weak string context_id;
10881                 public weak string context_name;
10882                 public weak string domain;
10883                 public weak string domain_dirname;
10884                 public weak string default_locales;
10885         }
10886         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10887         public struct PadActionEntry {
10888                 public Gtk.PadActionType type;
10889                 public int index;
10890                 public int mode;
10891                 public weak string label;
10892                 public weak string action_name;
10893         }
10894         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10895         public struct PageRange {
10896                 public int start;
10897                 public int end;
10898         }
10899         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10900         [Version (deprecated = true, deprecated_since = "3.10")]
10901         public struct RadioActionEntry {
10902                 public weak string name;
10903                 public weak string stock_id;
10904                 public weak string label;
10905                 public weak string accelerator;
10906                 public weak string tooltip;
10907                 public int value;
10908         }
10909         [CCode (cheader_filename = "gtk/gtk.h", has_copy_function = false, has_destroy_function = false, has_type_id = false)]
10910         public struct RecentData {
10911                 public string? display_name;
10912                 public string? description;
10913                 public string mime_type;
10914                 public string app_name;
10915                 public string app_exec;
10916                 [CCode (array_length = false, array_null_terminated = true)]
10917                 public string[] groups;
10918                 public bool is_private;
10919         }
10920         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10921         public struct RecentFilterInfo {
10922                 public Gtk.RecentFilterFlags contains;
10923                 public weak string? uri;
10924                 public weak string? display_name;
10925                 public weak string? mime_type;
10926                 [CCode (array_length = false, array_null_terminated = true)]
10927                 public weak string[]? applications;
10928                 [CCode (array_length = false, array_null_terminated = true)]
10929                 public weak string[]? groups;
10930                 public int age;
10931         }
10932         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10933         public struct RequestedSize {
10934                 public void* data;
10935                 public int minimum_size;
10936                 public int natural_size;
10937         }
10938         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_requisition_get_type ()")]
10939         public struct Requisition {
10940                 public int width;
10941                 public int height;
10942                 [CCode (has_construct_function = false, type = "GtkRequisition*")]
10943                 [Version (since = "3.0")]
10944                 public Requisition ();
10945                 public Gtk.Requisition? copy ();
10946                 public void free ();
10947         }
10948         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10949         public struct SettingsValue {
10950                 public weak string origin;
10951                 public GLib.Value value;
10952         }
10953         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10954         [Version (deprecated = true, deprecated_since = "3.10")]
10955         public struct StockItem {
10956                 public weak string stock_id;
10957                 public weak string label;
10958                 public Gdk.ModifierType modifier;
10959                 public uint keyval;
10960                 public weak string translation_domain;
10961                 public Gtk.StockItem? copy ();
10962                 public void free ();
10963         }
10964         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_target_entry_get_type ()")]
10965         public struct TargetEntry {
10966                 public weak string target;
10967                 public uint flags;
10968                 public uint info;
10969                 [CCode (has_construct_function = false, type = "GtkTargetEntry*")]
10970                 public TargetEntry (string target, uint flags, uint info);
10971                 public Gtk.TargetEntry? copy ();
10972                 public void free ();
10973         }
10974         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10975         public struct TextAppearance {
10976                 public Gdk.Color bg_color;
10977                 public Gdk.Color fg_color;
10978                 public int rise;
10979                 public uint underline;
10980                 public uint strikethrough;
10981                 public uint draw_bg;
10982                 public uint inside_selection;
10983                 public uint is_text;
10984                 [CCode (array_length = false)]
10985                 public Gdk.RGBA rgba[2];
10986         }
10987         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_iter_get_type ()")]
10988         public struct TextIter {
10989                 [Version (since = "3.2")]
10990                 public void assign (Gtk.TextIter other);
10991                 public bool backward_char ();
10992                 public bool backward_chars (int count);
10993                 public bool backward_cursor_position ();
10994                 public bool backward_cursor_positions (int count);
10995                 public bool backward_find_char ([CCode (delegate_target_pos = 1.5)] Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
10996                 public bool backward_line ();
10997                 public bool backward_lines (int count);
10998                 public bool backward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
10999                 public bool backward_sentence_start ();
11000                 public bool backward_sentence_starts (int count);
11001                 public bool backward_to_tag_toggle (Gtk.TextTag? tag);
11002                 [Version (since = "2.4")]
11003                 public bool backward_visible_cursor_position ();
11004                 [Version (since = "2.4")]
11005                 public bool backward_visible_cursor_positions (int count);
11006                 [Version (since = "2.8")]
11007                 public bool backward_visible_line ();
11008                 [Version (since = "2.8")]
11009                 public bool backward_visible_lines (int count);
11010                 [Version (since = "2.4")]
11011                 public bool backward_visible_word_start ();
11012                 [Version (since = "2.4")]
11013                 public bool backward_visible_word_starts (int count);
11014                 public bool backward_word_start ();
11015                 public bool backward_word_starts (int count);
11016                 [Version (deprecated = true, deprecated_since = "3.20")]
11017                 public bool begins_tag (Gtk.TextTag? tag);
11018                 public bool can_insert (bool default_editability);
11019                 public int compare (Gtk.TextIter rhs);
11020                 public Gtk.TextIter? copy ();
11021                 public bool editable (bool default_setting);
11022                 public bool ends_line ();
11023                 public bool ends_sentence ();
11024                 public bool ends_tag (Gtk.TextTag? tag);
11025                 public bool ends_word ();
11026                 public bool equal (Gtk.TextIter rhs);
11027                 public bool forward_char ();
11028                 public bool forward_chars (int count);
11029                 public bool forward_cursor_position ();
11030                 public bool forward_cursor_positions (int count);
11031                 public bool forward_find_char ([CCode (delegate_target_pos = 1.5)] Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
11032                 public bool forward_line ();
11033                 public bool forward_lines (int count);
11034                 public bool forward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
11035                 public bool forward_sentence_end ();
11036                 public bool forward_sentence_ends (int count);
11037                 public void forward_to_end ();
11038                 public bool forward_to_line_end ();
11039                 public bool forward_to_tag_toggle (Gtk.TextTag? tag);
11040                 [Version (since = "2.4")]
11041                 public bool forward_visible_cursor_position ();
11042                 [Version (since = "2.4")]
11043                 public bool forward_visible_cursor_positions (int count);
11044                 [Version (since = "2.8")]
11045                 public bool forward_visible_line ();
11046                 [Version (since = "2.8")]
11047                 public bool forward_visible_lines (int count);
11048                 [Version (since = "2.4")]
11049                 public bool forward_visible_word_end ();
11050                 [Version (since = "2.4")]
11051                 public bool forward_visible_word_ends (int count);
11052                 public bool forward_word_end ();
11053                 public bool forward_word_ends (int count);
11054                 public void free ();
11055                 public bool get_attributes (Gtk.TextAttributes values);
11056                 public unowned Gtk.TextBuffer get_buffer ();
11057                 public int get_bytes_in_line ();
11058                 public unichar get_char ();
11059                 public int get_chars_in_line ();
11060                 public unowned Gtk.TextChildAnchor get_child_anchor ();
11061                 public Pango.Language get_language ();
11062                 public int get_line ();
11063                 public int get_line_index ();
11064                 public int get_line_offset ();
11065                 public GLib.SList<weak Gtk.TextMark> get_marks ();
11066                 public int get_offset ();
11067                 public unowned Gdk.Pixbuf get_pixbuf ();
11068                 public string get_slice (Gtk.TextIter end);
11069                 public GLib.SList<weak Gtk.TextTag> get_tags ();
11070                 public string get_text (Gtk.TextIter end);
11071                 public GLib.SList<weak Gtk.TextTag> get_toggled_tags (bool toggled_on);
11072                 public int get_visible_line_index ();
11073                 public int get_visible_line_offset ();
11074                 public string get_visible_slice (Gtk.TextIter end);
11075                 public string get_visible_text (Gtk.TextIter end);
11076                 public bool has_tag (Gtk.TextTag tag);
11077                 public bool in_range (Gtk.TextIter start, Gtk.TextIter end);
11078                 public bool inside_sentence ();
11079                 public bool inside_word ();
11080                 public bool is_cursor_position ();
11081                 public bool is_end ();
11082                 public bool is_start ();
11083                 public void order (Gtk.TextIter second);
11084                 public void set_line (int line_number);
11085                 public void set_line_index (int byte_on_line);
11086                 public void set_line_offset (int char_on_line);
11087                 public void set_offset (int char_offset);
11088                 public void set_visible_line_index (int byte_on_line);
11089                 public void set_visible_line_offset (int char_on_line);
11090                 public bool starts_line ();
11091                 public bool starts_sentence ();
11092                 [Version (since = "3.20")]
11093                 public bool starts_tag (Gtk.TextTag? tag);
11094                 public bool starts_word ();
11095                 public bool toggles_tag (Gtk.TextTag? tag);
11096         }
11097         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
11098         [Version (deprecated = true, deprecated_since = "3.10")]
11099         public struct ToggleActionEntry {
11100                 public weak string name;
11101                 public weak string stock_id;
11102                 public weak string label;
11103                 public weak string accelerator;
11104                 public weak string tooltip;
11105                 [CCode (delegate_target = false, type = "GCallback")]
11106                 public weak Gtk.ActionCallback callback;
11107                 public bool is_active;
11108         }
11109         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_iter_get_type ()")]
11110         public struct TreeIter {
11111                 public int stamp;
11112                 public void* user_data;
11113                 public void* user_data2;
11114                 public void* user_data3;
11115                 public Gtk.TreeIter? copy ();
11116                 public void free ();
11117         }
11118         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ACCEL_", type_id = "gtk_accel_flags_get_type ()")]
11119         [Flags]
11120         public enum AccelFlags {
11121                 VISIBLE,
11122                 LOCKED,
11123                 MASK
11124         }
11125         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ALIGN_", type_id = "gtk_align_get_type ()")]
11126         public enum Align {
11127                 FILL,
11128                 START,
11129                 END,
11130                 CENTER,
11131                 BASELINE
11132         }
11133         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_INHIBIT_", type_id = "gtk_application_inhibit_flags_get_type ()")]
11134         [Flags]
11135         [Version (since = "3.4")]
11136         public enum ApplicationInhibitFlags {
11137                 LOGOUT,
11138                 SWITCH,
11139                 SUSPEND,
11140                 IDLE
11141         }
11142         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROWS_", type_id = "gtk_arrow_placement_get_type ()")]
11143         public enum ArrowPlacement {
11144                 BOTH,
11145                 START,
11146                 END
11147         }
11148         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROW_", type_id = "gtk_arrow_type_get_type ()")]
11149         public enum ArrowType {
11150                 UP,
11151                 DOWN,
11152                 LEFT,
11153                 RIGHT,
11154                 NONE
11155         }
11156         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ASSISTANT_PAGE_", type_id = "gtk_assistant_page_type_get_type ()")]
11157         public enum AssistantPageType {
11158                 CONTENT,
11159                 INTRO,
11160                 CONFIRM,
11161                 SUMMARY,
11162                 PROGRESS,
11163                 CUSTOM
11164         }
11165         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_", type_id = "gtk_attach_options_get_type ()")]
11166         [Flags]
11167         public enum AttachOptions {
11168                 EXPAND,
11169                 SHRINK,
11170                 FILL
11171         }
11172         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BASELINE_POSITION_", type_id = "gtk_baseline_position_get_type ()")]
11173         [Version (since = "3.10")]
11174         public enum BaselinePosition {
11175                 TOP,
11176                 CENTER,
11177                 BOTTOM
11178         }
11179         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BORDER_STYLE_", type_id = "gtk_border_style_get_type ()")]
11180         public enum BorderStyle {
11181                 NONE,
11182                 SOLID,
11183                 INSET,
11184                 OUTSET,
11185                 HIDDEN,
11186                 DOTTED,
11187                 DASHED,
11188                 DOUBLE,
11189                 GROOVE,
11190                 RIDGE
11191         }
11192         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONBOX_", type_id = "gtk_button_box_style_get_type ()")]
11193         public enum ButtonBoxStyle {
11194                 SPREAD,
11195                 EDGE,
11196                 START,
11197                 END,
11198                 CENTER,
11199                 EXPAND
11200         }
11201         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTON_ROLE_", type_id = "gtk_button_role_get_type ()")]
11202         public enum ButtonRole {
11203                 NORMAL,
11204                 CHECK,
11205                 RADIO
11206         }
11207         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONS_", type_id = "gtk_buttons_type_get_type ()")]
11208         public enum ButtonsType {
11209                 NONE,
11210                 OK,
11211                 CLOSE,
11212                 CANCEL,
11213                 YES_NO,
11214                 OK_CANCEL
11215         }
11216         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CALENDAR_", type_id = "gtk_calendar_display_options_get_type ()")]
11217         [Flags]
11218         public enum CalendarDisplayOptions {
11219                 SHOW_HEADING,
11220                 SHOW_DAY_NAMES,
11221                 NO_MONTH_CHANGE,
11222                 SHOW_WEEK_NUMBERS,
11223                 SHOW_DETAILS
11224         }
11225         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_ACCEL_MODE_", type_id = "gtk_cell_renderer_accel_mode_get_type ()")]
11226         public enum CellRendererAccelMode {
11227                 GTK,
11228                 OTHER
11229         }
11230         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_MODE_", type_id = "gtk_cell_renderer_mode_get_type ()")]
11231         public enum CellRendererMode {
11232                 INERT,
11233                 ACTIVATABLE,
11234                 EDITABLE
11235         }
11236         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_", type_id = "gtk_cell_renderer_state_get_type ()")]
11237         [Flags]
11238         public enum CellRendererState {
11239                 SELECTED,
11240                 PRELIT,
11241                 INSENSITIVE,
11242                 SORTED,
11243                 FOCUSED,
11244                 EXPANDABLE,
11245                 EXPANDED
11246         }
11247         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CORNER_", type_id = "gtk_corner_type_get_type ()")]
11248         public enum CornerType {
11249                 TOP_LEFT,
11250                 BOTTOM_LEFT,
11251                 TOP_RIGHT,
11252                 BOTTOM_RIGHT
11253         }
11254         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_", type_id = "gtk_css_section_type_get_type ()")]
11255         [Version (since = "3.2")]
11256         public enum CssSectionType {
11257                 DOCUMENT,
11258                 IMPORT,
11259                 COLOR_DEFINITION,
11260                 BINDING_SET,
11261                 RULESET,
11262                 SELECTOR,
11263                 DECLARATION,
11264                 VALUE,
11265                 KEYFRAMES
11266         }
11267         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEBUG_", type_id = "gtk_debug_flag_get_type ()")]
11268         [Flags]
11269         public enum DebugFlag {
11270                 MISC,
11271                 PLUGSOCKET,
11272                 TEXT,
11273                 TREE,
11274                 UPDATES,
11275                 KEYBINDINGS,
11276                 MULTIHEAD,
11277                 MODULES,
11278                 GEOMETRY,
11279                 ICONTHEME,
11280                 PRINTING,
11281                 BUILDER,
11282                 SIZE_REQUEST,
11283                 NO_CSS_CACHE,
11284                 BASELINES,
11285                 PIXEL_CACHE,
11286                 NO_PIXEL_CACHE,
11287                 INTERACTIVE,
11288                 TOUCHSCREEN,
11289                 ACTIONS,
11290                 RESIZE,
11291                 LAYOUT
11292         }
11293         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DELETE_", type_id = "gtk_delete_type_get_type ()")]
11294         public enum DeleteType {
11295                 CHARS,
11296                 WORD_ENDS,
11297                 WORDS,
11298                 DISPLAY_LINES,
11299                 DISPLAY_LINE_ENDS,
11300                 PARAGRAPH_ENDS,
11301                 PARAGRAPHS,
11302                 WHITESPACE
11303         }
11304         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEST_DEFAULT_", type_id = "gtk_dest_defaults_get_type ()")]
11305         [Flags]
11306         public enum DestDefaults {
11307                 MOTION,
11308                 HIGHLIGHT,
11309                 DROP,
11310                 ALL
11311         }
11312         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIALOG_", type_id = "gtk_dialog_flags_get_type ()")]
11313         [Flags]
11314         public enum DialogFlags {
11315                 MODAL,
11316                 DESTROY_WITH_PARENT,
11317                 USE_HEADER_BAR
11318         }
11319         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIR_", type_id = "gtk_direction_type_get_type ()")]
11320         public enum DirectionType {
11321                 TAB_FORWARD,
11322                 TAB_BACKWARD,
11323                 UP,
11324                 DOWN,
11325                 LEFT,
11326                 RIGHT
11327         }
11328         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DRAG_RESULT_", type_id = "gtk_drag_result_get_type ()")]
11329         public enum DragResult {
11330                 SUCCESS,
11331                 NO_TARGET,
11332                 USER_CANCELLED,
11333                 TIMEOUT_EXPIRED,
11334                 GRAB_BROKEN,
11335                 ERROR
11336         }
11337         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ENTRY_ICON_", type_id = "gtk_entry_icon_position_get_type ()")]
11338         [Version (since = "2.16")]
11339         public enum EntryIconPosition {
11340                 PRIMARY,
11341                 SECONDARY
11342         }
11343         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EVENT_SEQUENCE_", type_id = "gtk_event_sequence_state_get_type ()")]
11344         [Version (since = "3.14")]
11345         public enum EventSequenceState {
11346                 NONE,
11347                 CLAIMED,
11348                 DENIED
11349         }
11350         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EXPANDER_", type_id = "gtk_expander_style_get_type ()")]
11351         public enum ExpanderStyle {
11352                 COLLAPSED,
11353                 SEMI_COLLAPSED,
11354                 SEMI_EXPANDED,
11355                 EXPANDED
11356         }
11357         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ACTION_", type_id = "gtk_file_chooser_action_get_type ()")]
11358         public enum FileChooserAction {
11359                 OPEN,
11360                 SAVE,
11361                 SELECT_FOLDER,
11362                 CREATE_FOLDER
11363         }
11364         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_", type_id = "gtk_file_chooser_confirmation_get_type ()")]
11365         [Version (since = "2.8")]
11366         public enum FileChooserConfirmation {
11367                 CONFIRM,
11368                 ACCEPT_FILENAME,
11369                 SELECT_AGAIN
11370         }
11371         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_FILTER_", type_id = "gtk_file_filter_flags_get_type ()")]
11372         [Flags]
11373         public enum FileFilterFlags {
11374                 FILENAME,
11375                 URI,
11376                 DISPLAY_NAME,
11377                 MIME_TYPE
11378         }
11379         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_PREEDIT_", type_id = "gtk_im_preedit_style_get_type ()")]
11380         [Version (deprecated = true, deprecated_since = "3.10")]
11381         public enum IMPreeditStyle {
11382                 NOTHING,
11383                 CALLBACK,
11384                 NONE
11385         }
11386         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_STATUS_", type_id = "gtk_im_status_style_get_type ()")]
11387         [Version (deprecated = true, deprecated_since = "3.10")]
11388         public enum IMStatusStyle {
11389                 NOTHING,
11390                 CALLBACK,
11391                 NONE
11392         }
11393         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_LOOKUP_", type_id = "gtk_icon_lookup_flags_get_type ()")]
11394         [Flags]
11395         public enum IconLookupFlags {
11396                 NO_SVG,
11397                 FORCE_SVG,
11398                 USE_BUILTIN,
11399                 GENERIC_FALLBACK,
11400                 FORCE_SIZE,
11401                 FORCE_REGULAR,
11402                 FORCE_SYMBOLIC,
11403                 DIR_LTR,
11404                 DIR_RTL
11405         }
11406         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_SIZE_", type_id = "gtk_icon_size_get_type ()")]
11407         public enum IconSize {
11408                 INVALID,
11409                 MENU,
11410                 SMALL_TOOLBAR,
11411                 LARGE_TOOLBAR,
11412                 BUTTON,
11413                 DND,
11414                 DIALOG
11415         }
11416         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_VIEW_", type_id = "gtk_icon_view_drop_position_get_type ()")]
11417         public enum IconViewDropPosition {
11418                 NO_DROP,
11419                 DROP_INTO,
11420                 DROP_LEFT,
11421                 DROP_RIGHT,
11422                 DROP_ABOVE,
11423                 DROP_BELOW
11424         }
11425         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IMAGE_", type_id = "gtk_image_type_get_type ()")]
11426         public enum ImageType {
11427                 EMPTY,
11428                 PIXBUF,
11429                 STOCK,
11430                 ICON_SET,
11431                 ANIMATION,
11432                 ICON_NAME,
11433                 GICON,
11434                 SURFACE
11435         }
11436         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_HINT_", type_id = "gtk_input_hints_get_type ()")]
11437         [Flags]
11438         [Version (since = "3.6")]
11439         public enum InputHints {
11440                 NONE,
11441                 SPELLCHECK,
11442                 NO_SPELLCHECK,
11443                 WORD_COMPLETION,
11444                 LOWERCASE,
11445                 UPPERCASE_CHARS,
11446                 UPPERCASE_WORDS,
11447                 UPPERCASE_SENTENCES,
11448                 INHIBIT_OSK,
11449                 VERTICAL_WRITING,
11450                 EMOJI,
11451                 NO_EMOJI
11452         }
11453         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_PURPOSE_", type_id = "gtk_input_purpose_get_type ()")]
11454         [Version (since = "3.6")]
11455         public enum InputPurpose {
11456                 FREE_FORM,
11457                 ALPHA,
11458                 DIGITS,
11459                 NUMBER,
11460                 PHONE,
11461                 URL,
11462                 EMAIL,
11463                 NAME,
11464                 PASSWORD,
11465                 PIN
11466         }
11467         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUNCTION_", type_id = "gtk_junction_sides_get_type ()")]
11468         [Flags]
11469         public enum JunctionSides {
11470                 NONE,
11471                 CORNER_TOPLEFT,
11472                 CORNER_TOPRIGHT,
11473                 CORNER_BOTTOMLEFT,
11474                 CORNER_BOTTOMRIGHT,
11475                 TOP,
11476                 BOTTOM,
11477                 LEFT,
11478                 RIGHT
11479         }
11480         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUSTIFY_", type_id = "gtk_justification_get_type ()")]
11481         public enum Justification {
11482                 LEFT,
11483                 RIGHT,
11484                 CENTER,
11485                 FILL
11486         }
11487         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LEVEL_BAR_MODE_", type_id = "gtk_level_bar_mode_get_type ()")]
11488         [Version (since = "3.6")]
11489         public enum LevelBarMode {
11490                 CONTINUOUS,
11491                 DISCRETE
11492         }
11493         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LICENSE_", type_id = "gtk_license_get_type ()")]
11494         [Version (since = "3.0")]
11495         public enum License {
11496                 UNKNOWN,
11497                 CUSTOM,
11498                 GPL_2_0,
11499                 GPL_3_0,
11500                 LGPL_2_1,
11501                 LGPL_3_0,
11502                 BSD,
11503                 MIT_X11,
11504                 ARTISTIC,
11505                 GPL_2_0_ONLY,
11506                 GPL_3_0_ONLY,
11507                 LGPL_2_1_ONLY,
11508                 LGPL_3_0_ONLY,
11509                 AGPL_3_0,
11510                 AGPL_3_0_ONLY
11511         }
11512         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MENU_DIR_", type_id = "gtk_menu_direction_type_get_type ()")]
11513         public enum MenuDirectionType {
11514                 PARENT,
11515                 CHILD,
11516                 NEXT,
11517                 PREV
11518         }
11519         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MESSAGE_", type_id = "gtk_message_type_get_type ()")]
11520         public enum MessageType {
11521                 INFO,
11522                 WARNING,
11523                 QUESTION,
11524                 ERROR,
11525                 OTHER
11526         }
11527         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MOVEMENT_", type_id = "gtk_movement_step_get_type ()")]
11528         public enum MovementStep {
11529                 LOGICAL_POSITIONS,
11530                 VISUAL_POSITIONS,
11531                 WORDS,
11532                 DISPLAY_LINES,
11533                 DISPLAY_LINE_ENDS,
11534                 PARAGRAPHS,
11535                 PARAGRAPH_ENDS,
11536                 PAGES,
11537                 BUFFER_ENDS,
11538                 HORIZONTAL_PAGES
11539         }
11540         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NOTEBOOK_TAB_", type_id = "gtk_notebook_tab_get_type ()")]
11541         public enum NotebookTab {
11542                 FIRST,
11543                 LAST
11544         }
11545         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NUMBER_UP_LAYOUT_", type_id = "gtk_number_up_layout_get_type ()")]
11546         public enum NumberUpLayout {
11547                 [Version (deprecated_since = "vala-0.40", replacement = "LRTB")]
11548                 LEFT_TO_RIGHT_TOP_TO_BOTTOM,
11549                 [Version (deprecated_since = "vala-0.40", replacement = "LRBT")]
11550                 LEFT_TO_RIGHT_BOTTOM_TO_TOP,
11551                 [Version (deprecated_since = "vala-0.40", replacement = "RLTB")]
11552                 RIGHT_TO_LEFT_TOP_TO_BOTTOM,
11553                 [Version (deprecated_since = "vala-0.40", replacement = "RLBT")]
11554                 RIGHT_TO_LEFT_BOTTOM_TO_TOP,
11555                 [Version (deprecated_since = "vala-0.40", replacement = "TBLR")]
11556                 TOP_TO_BOTTOM_LEFT_TO_RIGHT,
11557                 [Version (deprecated_since = "vala-0.40", replacement = "TBRL")]
11558                 TOP_TO_BOTTOM_RIGHT_TO_LEFT,
11559                 [Version (deprecated_since = "vala-0.40", replacement = "BTLR")]
11560                 BOTTOM_TO_TOP_LEFT_TO_RIGHT,
11561                 [Version (deprecated_since = "vala-0.40", replacement = "BTRL")]
11562                 BOTTOM_TO_TOP_RIGHT_TO_LEFT,
11563                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM")]
11564                 LRTB,
11565                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP")]
11566                 LRBT,
11567                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM")]
11568                 RLTB,
11569                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP")]
11570                 RLBT,
11571                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT")]
11572                 TBLR,
11573                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT")]
11574                 TBRL,
11575                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT")]
11576                 BTLR,
11577                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT")]
11578                 BTRL
11579         }
11580         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ORIENTATION_", type_id = "gtk_orientation_get_type ()")]
11581         public enum Orientation {
11582                 HORIZONTAL,
11583                 VERTICAL
11584         }
11585         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_DIRECTION_", type_id = "gtk_pack_direction_get_type ()")]
11586         public enum PackDirection {
11587                 LTR,
11588                 RTL,
11589                 TTB,
11590                 BTT
11591         }
11592         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_", type_id = "gtk_pack_type_get_type ()")]
11593         public enum PackType {
11594                 START,
11595                 END
11596         }
11597         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAD_ACTION_", type_id = "gtk_pad_action_type_get_type ()")]
11598         public enum PadActionType {
11599                 BUTTON,
11600                 RING,
11601                 STRIP
11602         }
11603         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_ORIENTATION_", type_id = "gtk_page_orientation_get_type ()")]
11604         public enum PageOrientation {
11605                 PORTRAIT,
11606                 LANDSCAPE,
11607                 REVERSE_PORTRAIT,
11608                 REVERSE_LANDSCAPE
11609         }
11610         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_SET_", type_id = "gtk_page_set_get_type ()")]
11611         public enum PageSet {
11612                 ALL,
11613                 EVEN,
11614                 ODD
11615         }
11616         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAN_DIRECTION_", type_id = "gtk_pan_direction_get_type ()")]
11617         [Version (since = "3.14")]
11618         public enum PanDirection {
11619                 LEFT,
11620                 RIGHT,
11621                 UP,
11622                 DOWN
11623         }
11624         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_PRIO_", type_id = "gtk_path_priority_type_get_type ()")]
11625         [Version (deprecated = true, deprecated_since = "3.0")]
11626         public enum PathPriorityType {
11627                 LOWEST,
11628                 GTK,
11629                 APPLICATION,
11630                 THEME,
11631                 RC,
11632                 HIGHEST
11633         }
11634         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_", type_id = "gtk_path_type_get_type ()")]
11635         [Version (deprecated = true, deprecated_since = "3.0")]
11636         public enum PathType {
11637                 WIDGET,
11638                 WIDGET_CLASS,
11639                 CLASS
11640         }
11641         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PLACES_OPEN_", type_id = "gtk_places_open_flags_get_type ()")]
11642         [Flags]
11643         public enum PlacesOpenFlags {
11644                 NORMAL,
11645                 NEW_TAB,
11646                 NEW_WINDOW
11647         }
11648         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POLICY_", type_id = "gtk_policy_type_get_type ()")]
11649         public enum PolicyType {
11650                 ALWAYS,
11651                 AUTOMATIC,
11652                 NEVER,
11653                 EXTERNAL
11654         }
11655         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POPOVER_CONSTRAINT_", type_id = "gtk_popover_constraint_get_type ()")]
11656         [Version (since = "3.20")]
11657         public enum PopoverConstraint {
11658                 NONE,
11659                 WINDOW
11660         }
11661         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POS_", type_id = "gtk_position_type_get_type ()")]
11662         public enum PositionType {
11663                 LEFT,
11664                 RIGHT,
11665                 TOP,
11666                 BOTTOM
11667         }
11668         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_DUPLEX_", type_id = "gtk_print_duplex_get_type ()")]
11669         public enum PrintDuplex {
11670                 SIMPLEX,
11671                 HORIZONTAL,
11672                 VERTICAL
11673         }
11674         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_ACTION_", type_id = "gtk_print_operation_action_get_type ()")]
11675         public enum PrintOperationAction {
11676                 PRINT_DIALOG,
11677                 PRINT,
11678                 PREVIEW,
11679                 EXPORT
11680         }
11681         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_RESULT_", type_id = "gtk_print_operation_result_get_type ()")]
11682         public enum PrintOperationResult {
11683                 ERROR,
11684                 APPLY,
11685                 CANCEL,
11686                 IN_PROGRESS
11687         }
11688         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_PAGES_", type_id = "gtk_print_pages_get_type ()")]
11689         public enum PrintPages {
11690                 ALL,
11691                 CURRENT,
11692                 RANGES,
11693                 SELECTION
11694         }
11695         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_QUALITY_", type_id = "gtk_print_quality_get_type ()")]
11696         public enum PrintQuality {
11697                 LOW,
11698                 NORMAL,
11699                 HIGH,
11700                 DRAFT
11701         }
11702         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_STATUS_", type_id = "gtk_print_status_get_type ()")]
11703         public enum PrintStatus {
11704                 INITIAL,
11705                 PREPARING,
11706                 GENERATING_DATA,
11707                 SENDING_DATA,
11708                 PENDING,
11709                 PENDING_ISSUE,
11710                 PRINTING,
11711                 FINISHED,
11712                 FINISHED_ABORTED
11713         }
11714         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PHASE_", type_id = "gtk_propagation_phase_get_type ()")]
11715         [Version (since = "3.14")]
11716         public enum PropagationPhase {
11717                 NONE,
11718                 CAPTURE,
11719                 BUBBLE,
11720                 TARGET
11721         }
11722         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_", type_id = "gtk_rc_flags_get_type ()")]
11723         [Flags]
11724         public enum RcFlags {
11725                 FG,
11726                 BG,
11727                 TEXT,
11728                 BASE
11729         }
11730         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_TOKEN_", type_id = "gtk_rc_token_type_get_type ()")]
11731         [Version (deprecated = true, deprecated_since = "3.0")]
11732         public enum RcTokenType {
11733                 INVALID,
11734                 INCLUDE,
11735                 NORMAL,
11736                 ACTIVE,
11737                 PRELIGHT,
11738                 SELECTED,
11739                 INSENSITIVE,
11740                 FG,
11741                 BG,
11742                 TEXT,
11743                 BASE,
11744                 XTHICKNESS,
11745                 YTHICKNESS,
11746                 FONT,
11747                 FONTSET,
11748                 FONT_NAME,
11749                 BG_PIXMAP,
11750                 PIXMAP_PATH,
11751                 STYLE,
11752                 BINDING,
11753                 BIND,
11754                 WIDGET,
11755                 WIDGET_CLASS,
11756                 CLASS,
11757                 LOWEST,
11758                 GTK,
11759                 APPLICATION,
11760                 THEME,
11761                 RC,
11762                 HIGHEST,
11763                 ENGINE,
11764                 MODULE_PATH,
11765                 IM_MODULE_PATH,
11766                 IM_MODULE_FILE,
11767                 STOCK,
11768                 LTR,
11769                 RTL,
11770                 COLOR,
11771                 UNBIND,
11772                 LAST
11773         }
11774         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_FILTER_", type_id = "gtk_recent_filter_flags_get_type ()")]
11775         [Flags]
11776         public enum RecentFilterFlags {
11777                 URI,
11778                 DISPLAY_NAME,
11779                 MIME_TYPE,
11780                 APPLICATION,
11781                 GROUP,
11782                 AGE
11783         }
11784         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_SORT_", type_id = "gtk_recent_sort_type_get_type ()")]
11785         [Version (since = "2.10")]
11786         public enum RecentSortType {
11787                 NONE,
11788                 MRU,
11789                 LRU,
11790                 CUSTOM
11791         }
11792         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REGION_", type_id = "gtk_region_flags_get_type ()")]
11793         [Flags]
11794         public enum RegionFlags {
11795                 EVEN,
11796                 ODD,
11797                 FIRST,
11798                 LAST,
11799                 ONLY,
11800                 SORTED
11801         }
11802         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RELIEF_", type_id = "gtk_relief_style_get_type ()")]
11803         public enum ReliefStyle {
11804                 NORMAL,
11805                 HALF,
11806                 NONE
11807         }
11808         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESIZE_", type_id = "gtk_resize_mode_get_type ()")]
11809         public enum ResizeMode {
11810                 PARENT,
11811                 QUEUE,
11812                 IMMEDIATE
11813         }
11814         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESPONSE_", type_id = "gtk_response_type_get_type ()")]
11815         public enum ResponseType {
11816                 NONE,
11817                 REJECT,
11818                 ACCEPT,
11819                 DELETE_EVENT,
11820                 OK,
11821                 CANCEL,
11822                 CLOSE,
11823                 YES,
11824                 NO,
11825                 APPLY,
11826                 HELP
11827         }
11828         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REVEALER_TRANSITION_TYPE_", type_id = "gtk_revealer_transition_type_get_type ()")]
11829         public enum RevealerTransitionType {
11830                 NONE,
11831                 CROSSFADE,
11832                 SLIDE_RIGHT,
11833                 SLIDE_LEFT,
11834                 SLIDE_UP,
11835                 SLIDE_DOWN
11836         }
11837         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scroll_step_get_type ()")]
11838         public enum ScrollStep {
11839                 STEPS,
11840                 PAGES,
11841                 ENDS,
11842                 HORIZONTAL_STEPS,
11843                 HORIZONTAL_PAGES,
11844                 HORIZONTAL_ENDS
11845         }
11846         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scroll_type_get_type ()")]
11847         public enum ScrollType {
11848                 NONE,
11849                 JUMP,
11850                 STEP_BACKWARD,
11851                 STEP_FORWARD,
11852                 PAGE_BACKWARD,
11853                 PAGE_FORWARD,
11854                 STEP_UP,
11855                 STEP_DOWN,
11856                 PAGE_UP,
11857                 PAGE_DOWN,
11858                 STEP_LEFT,
11859                 STEP_RIGHT,
11860                 PAGE_LEFT,
11861                 PAGE_RIGHT,
11862                 START,
11863                 END
11864         }
11865         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scrollable_policy_get_type ()")]
11866         public enum ScrollablePolicy {
11867                 MINIMUM,
11868                 NATURAL
11869         }
11870         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SELECTION_", type_id = "gtk_selection_mode_get_type ()")]
11871         public enum SelectionMode {
11872                 NONE,
11873                 SINGLE,
11874                 BROWSE,
11875                 MULTIPLE
11876         }
11877         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SENSITIVITY_", type_id = "gtk_sensitivity_type_get_type ()")]
11878         public enum SensitivityType {
11879                 AUTO,
11880                 ON,
11881                 OFF
11882         }
11883         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHADOW_", type_id = "gtk_shadow_type_get_type ()")]
11884         public enum ShadowType {
11885                 NONE,
11886                 IN,
11887                 OUT,
11888                 ETCHED_IN,
11889                 ETCHED_OUT
11890         }
11891         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHORTCUT_", type_id = "gtk_shortcut_type_get_type ()")]
11892         [Version (since = "3.20")]
11893         public enum ShortcutType {
11894                 ACCELERATOR,
11895                 GESTURE_PINCH,
11896                 GESTURE_STRETCH,
11897                 GESTURE_ROTATE_CLOCKWISE,
11898                 GESTURE_ROTATE_COUNTERCLOCKWISE,
11899                 GESTURE_TWO_FINGER_SWIPE_LEFT,
11900                 GESTURE_TWO_FINGER_SWIPE_RIGHT,
11901                 GESTURE
11902         }
11903         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_GROUP_", type_id = "gtk_size_group_mode_get_type ()")]
11904         public enum SizeGroupMode {
11905                 NONE,
11906                 HORIZONTAL,
11907                 VERTICAL,
11908                 BOTH
11909         }
11910         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_REQUEST_", type_id = "gtk_size_request_mode_get_type ()")]
11911         public enum SizeRequestMode {
11912                 HEIGHT_FOR_WIDTH,
11913                 WIDTH_FOR_HEIGHT,
11914                 CONSTANT_SIZE
11915         }
11916         [CCode (cheader_filename = "gtk/gtk.h", cname = "gint", has_type_id = false)]
11917         public enum SortColumn {
11918                 [CCode (cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
11919                 DEFAULT,
11920                 [CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
11921                 UNSORTED
11922         }
11923         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SORT_", type_id = "gtk_sort_type_get_type ()")]
11924         public enum SortType {
11925                 ASCENDING,
11926                 DESCENDING
11927         }
11928         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UPDATE_", type_id = "gtk_spin_button_update_policy_get_type ()")]
11929         public enum SpinButtonUpdatePolicy {
11930                 ALWAYS,
11931                 IF_VALID
11932         }
11933         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SPIN_", type_id = "gtk_spin_type_get_type ()")]
11934         public enum SpinType {
11935                 STEP_FORWARD,
11936                 STEP_BACKWARD,
11937                 PAGE_FORWARD,
11938                 PAGE_BACKWARD,
11939                 HOME,
11940                 END,
11941                 USER_DEFINED
11942         }
11943         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STACK_TRANSITION_TYPE_", type_id = "gtk_stack_transition_type_get_type ()")]
11944         public enum StackTransitionType {
11945                 NONE,
11946                 CROSSFADE,
11947                 SLIDE_RIGHT,
11948                 SLIDE_LEFT,
11949                 SLIDE_UP,
11950                 SLIDE_DOWN,
11951                 SLIDE_LEFT_RIGHT,
11952                 SLIDE_UP_DOWN,
11953                 OVER_UP,
11954                 OVER_DOWN,
11955                 OVER_LEFT,
11956                 OVER_RIGHT,
11957                 UNDER_UP,
11958                 UNDER_DOWN,
11959                 UNDER_LEFT,
11960                 UNDER_RIGHT,
11961                 OVER_UP_DOWN,
11962                 OVER_DOWN_UP,
11963                 OVER_LEFT_RIGHT,
11964                 OVER_RIGHT_LEFT
11965         }
11966         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_FLAG_", type_id = "gtk_state_flags_get_type ()")]
11967         [Flags]
11968         public enum StateFlags {
11969                 NORMAL,
11970                 ACTIVE,
11971                 PRELIGHT,
11972                 SELECTED,
11973                 INSENSITIVE,
11974                 INCONSISTENT,
11975                 FOCUSED,
11976                 BACKDROP,
11977                 DIR_LTR,
11978                 DIR_RTL,
11979                 LINK,
11980                 VISITED,
11981                 CHECKED,
11982                 DROP_ACTIVE
11983         }
11984         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_", type_id = "gtk_state_type_get_type ()")]
11985         [Version (deprecated = true, deprecated_since = "3.14")]
11986         public enum StateType {
11987                 NORMAL,
11988                 ACTIVE,
11989                 PRELIGHT,
11990                 SELECTED,
11991                 INSENSITIVE,
11992                 INCONSISTENT,
11993                 FOCUSED
11994         }
11995         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STYLE_CONTEXT_PRINT_", type_id = "gtk_style_context_print_flags_get_type ()")]
11996         [Flags]
11997         public enum StyleContextPrintFlags {
11998                 NONE,
11999                 RECURSE,
12000                 SHOW_STYLE
12001         }
12002         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TARGET_", type_id = "gtk_target_flags_get_type ()")]
12003         [Flags]
12004         public enum TargetFlags {
12005                 SAME_APP,
12006                 SAME_WIDGET,
12007                 OTHER_APP,
12008                 OTHER_WIDGET
12009         }
12010         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_BUFFER_TARGET_INFO_", type_id = "gtk_text_buffer_target_info_get_type ()")]
12011         public enum TextBufferTargetInfo {
12012                 BUFFER_CONTENTS,
12013                 RICH_TEXT,
12014                 TEXT
12015         }
12016         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_DIR_", type_id = "gtk_text_direction_get_type ()")]
12017         public enum TextDirection {
12018                 NONE,
12019                 LTR,
12020                 RTL
12021         }
12022         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_EXTEND_SELECTION_", type_id = "gtk_text_extend_selection_get_type ()")]
12023         [Version (since = "3.16")]
12024         public enum TextExtendSelection {
12025                 WORD,
12026                 LINE
12027         }
12028         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_SEARCH_", type_id = "gtk_text_search_flags_get_type ()")]
12029         [Flags]
12030         public enum TextSearchFlags {
12031                 VISIBLE_ONLY,
12032                 TEXT_ONLY,
12033                 CASE_INSENSITIVE
12034         }
12035         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_VIEW_LAYER_", type_id = "gtk_text_view_layer_get_type ()")]
12036         public enum TextViewLayer {
12037                 BELOW,
12038                 ABOVE,
12039                 BELOW_TEXT,
12040                 ABOVE_TEXT
12041         }
12042         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_WINDOW_", type_id = "gtk_text_window_type_get_type ()")]
12043         public enum TextWindowType {
12044                 PRIVATE,
12045                 WIDGET,
12046                 TEXT,
12047                 LEFT,
12048                 RIGHT,
12049                 TOP,
12050                 BOTTOM
12051         }
12052         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOL_PALETTE_DRAG_", type_id = "gtk_tool_palette_drag_targets_get_type ()")]
12053         [Flags]
12054         public enum ToolPaletteDragTargets {
12055                 ITEMS,
12056                 GROUPS
12057         }
12058         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_SPACE_", type_id = "gtk_toolbar_space_style_get_type ()")]
12059         [Version (deprecated = true, deprecated_since = "3.20")]
12060         public enum ToolbarSpaceStyle {
12061                 EMPTY,
12062                 LINE
12063         }
12064         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_", type_id = "gtk_toolbar_style_get_type ()")]
12065         public enum ToolbarStyle {
12066                 ICONS,
12067                 TEXT,
12068                 BOTH,
12069                 BOTH_HORIZ
12070         }
12071         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_MODEL_", type_id = "gtk_tree_model_flags_get_type ()")]
12072         [Flags]
12073         public enum TreeModelFlags {
12074                 ITERS_PERSIST,
12075                 LIST_ONLY
12076         }
12077         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_COLUMN_", type_id = "gtk_tree_view_column_sizing_get_type ()")]
12078         public enum TreeViewColumnSizing {
12079                 GROW_ONLY,
12080                 AUTOSIZE,
12081                 FIXED
12082         }
12083         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_DROP_", type_id = "gtk_tree_view_drop_position_get_type ()")]
12084         public enum TreeViewDropPosition {
12085                 BEFORE,
12086                 AFTER,
12087                 INTO_OR_BEFORE,
12088                 INTO_OR_AFTER
12089         }
12090         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_GRID_LINES_", type_id = "gtk_tree_view_grid_lines_get_type ()")]
12091         public enum TreeViewGridLines {
12092                 NONE,
12093                 HORIZONTAL,
12094                 VERTICAL,
12095                 BOTH
12096         }
12097         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UI_MANAGER_", type_id = "gtk_ui_manager_item_type_get_type ()")]
12098         [Flags]
12099         [Version (deprecated = true, deprecated_since = "3.10")]
12100         public enum UIManagerItemType {
12101                 AUTO,
12102                 MENUBAR,
12103                 MENU,
12104                 TOOLBAR,
12105                 PLACEHOLDER,
12106                 POPUP,
12107                 MENUITEM,
12108                 TOOLITEM,
12109                 SEPARATOR,
12110                 ACCELERATOR,
12111                 POPUP_WITH_ACCELS
12112         }
12113         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UNIT_", type_id = "gtk_unit_get_type ()")]
12114         public enum Unit {
12115                 NONE,
12116                 POINTS,
12117                 INCH,
12118                 MM
12119         }
12120         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIDGET_HELP_", type_id = "gtk_widget_help_type_get_type ()")]
12121         public enum WidgetHelpType {
12122                 TOOLTIP,
12123                 WHATS_THIS
12124         }
12125         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIN_POS_", type_id = "gtk_window_position_get_type ()")]
12126         public enum WindowPosition {
12127                 NONE,
12128                 CENTER,
12129                 MOUSE,
12130                 CENTER_ALWAYS,
12131                 CENTER_ON_PARENT
12132         }
12133         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WINDOW_", type_id = "gtk_window_type_get_type ()")]
12134         public enum WindowType {
12135                 TOPLEVEL,
12136                 POPUP
12137         }
12138         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WRAP_", type_id = "gtk_wrap_mode_get_type ()")]
12139         public enum WrapMode {
12140                 NONE,
12141                 CHAR,
12142                 WORD,
12143                 WORD_CHAR
12144         }
12145         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUILDER_ERROR_")]
12146         public errordomain BuilderError {
12147                 INVALID_TYPE_FUNCTION,
12148                 UNHANDLED_TAG,
12149                 MISSING_ATTRIBUTE,
12150                 INVALID_ATTRIBUTE,
12151                 INVALID_TAG,
12152                 MISSING_PROPERTY_VALUE,
12153                 INVALID_VALUE,
12154                 VERSION_MISMATCH,
12155                 DUPLICATE_ID,
12156                 OBJECT_TYPE_REFUSED,
12157                 TEMPLATE_MISMATCH,
12158                 INVALID_PROPERTY,
12159                 INVALID_SIGNAL,
12160                 INVALID_ID;
12161                 [CCode (cheader_filename = "gtk/gtk.h")]
12162                 public static GLib.Quark quark ();
12163         }
12164         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PROVIDER_ERROR_")]
12165         public errordomain CssProviderError {
12166                 FAILED,
12167                 SYNTAX,
12168                 IMPORT,
12169                 NAME,
12170                 DEPRECATED,
12171                 UNKNOWN_VALUE;
12172                 [CCode (cheader_filename = "gtk/gtk.h")]
12173                 public static GLib.Quark quark ();
12174         }
12175         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")]
12176         public errordomain FileChooserError {
12177                 NONEXISTENT,
12178                 BAD_FILENAME,
12179                 ALREADY_EXISTS,
12180                 INCOMPLETE_HOSTNAME;
12181                 [CCode (cheader_filename = "gtk/gtk.h")]
12182                 [Version (since = "2.4")]
12183                 public static GLib.Quark quark ();
12184         }
12185         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")]
12186         public errordomain IconThemeError {
12187                 NOT_FOUND,
12188                 FAILED;
12189                 [CCode (cheader_filename = "gtk/gtk.h")]
12190                 public static GLib.Quark quark ();
12191         }
12192         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
12193         public errordomain PrintError {
12194                 GENERAL,
12195                 INTERNAL_ERROR,
12196                 NOMEM,
12197                 INVALID_FILE;
12198                 [CCode (cheader_filename = "gtk/gtk.h")]
12199                 [Version (since = "2.10")]
12200                 public static GLib.Quark quark ();
12201         }
12202         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")]
12203         [Version (since = "2.10")]
12204         public errordomain RecentChooserError {
12205                 NOT_FOUND,
12206                 INVALID_URI;
12207                 [CCode (cheader_filename = "gtk/gtk.h")]
12208                 public static GLib.Quark quark ();
12209         }
12210         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")]
12211         [Version (since = "2.10")]
12212         public errordomain RecentManagerError {
12213                 NOT_FOUND,
12214                 INVALID_URI,
12215                 INVALID_ENCODING,
12216                 NOT_REGISTERED,
12217                 READ,
12218                 WRITE,
12219                 UNKNOWN;
12220                 [CCode (cheader_filename = "gtk/gtk.h")]
12221                 public static GLib.Quark quark ();
12222         }
12223         [CCode (cheader_filename = "gtk/gtk.h")]
12224         public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
12225         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12226         [Version (since = "2.2")]
12227         public delegate bool AccelGroupFindFunc (Gtk.AccelKey key, GLib.Closure closure);
12228         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12229         public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);
12230         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
12231         [Version (deprecated_since = "3.10")]
12232         public delegate void ActionCallback (Gtk.Action action);
12233         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12234         public delegate int AssistantPageFunc (int current_page);
12235         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 6.9)]
12236         [Version (since = "2.12")]
12237         public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object? connect_object, GLib.ConnectFlags flags);
12238         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12239         [Version (since = "2.14")]
12240         public delegate string? CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
12241         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12242         public delegate void Callback (Gtk.Widget widget);
12243         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12244         public delegate bool CellAllocCallback (Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle cell_background);
12245         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12246         public delegate bool CellCallback (Gtk.CellRenderer renderer);
12247         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12248         public delegate void CellLayoutDataFunc (Gtk.CellLayout cell_layout, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
12249         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12250         public delegate void ClipboardClearFunc (Gtk.Clipboard clipboard, void* user_data_or_owner);
12251         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12252         public delegate void ClipboardGetFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data, uint info, void* user_data_or_owner);
12253         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12254         [Version (since = "2.6")]
12255         public delegate void ClipboardImageReceivedFunc (Gtk.Clipboard clipboard, Gdk.Pixbuf pixbuf);
12256         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12257         public delegate void ClipboardReceivedFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data);
12258         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12259         [Version (since = "2.10")]
12260         public delegate void ClipboardRichTextReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom format, [CCode (array_length_cname = "length", array_length_pos = 3.1, array_length_type = "gsize", type = "const guint8*")] uint8[]? text);
12261         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12262         [Version (since = "2.4")]
12263         public delegate void ClipboardTargetsReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length_cname = "n_atoms", array_length_pos = 2.1)] Gdk.Atom[]? atoms);
12264         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12265         public delegate void ClipboardTextReceivedFunc (Gtk.Clipboard clipboard, string? text);
12266         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12267         [Version (since = "2.14")]
12268         public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length = false, array_null_terminated = true)] string[] uris);
12269         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12270         [Version (deprecated = true, deprecated_since = "3.4")]
12271         public delegate void ColorSelectionChangePaletteFunc ([CCode (array_length_cname = "n_colors", array_length_pos = 1.1)] Gdk.Color[] colors);
12272         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12273         [Version (deprecated = true, deprecated_since = "3.4", since = "2.2")]
12274         public delegate void ColorSelectionChangePaletteWithScreenFunc (Gdk.Screen screen, [CCode (array_length_cname = "n_colors", array_length_pos = 2.1)] Gdk.Color[] colors);
12275         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12276         public delegate bool EntryCompletionMatchFunc (Gtk.EntryCompletion completion, string key, Gtk.TreeIter iter);
12277         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12278         public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
12279         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12280         [Version (since = "3.18")]
12281         public delegate Gtk.Widget FlowBoxCreateWidgetFunc ([CCode (type = "gpointer")] GLib.Object item);
12282         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12283         [Version (since = "3.12")]
12284         public delegate bool FlowBoxFilterFunc (Gtk.FlowBoxChild child);
12285         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12286         [Version (since = "3.12")]
12287         public delegate void FlowBoxForeachFunc (Gtk.FlowBox box, Gtk.FlowBoxChild child);
12288         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12289         [Version (since = "3.12")]
12290         public delegate int FlowBoxSortFunc (Gtk.FlowBoxChild child1, Gtk.FlowBoxChild child2);
12291         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12292         public delegate bool FontFilterFunc (Pango.FontFamily family, Pango.FontFace face);
12293         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12294         public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
12295         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12296         public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event);
12297         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12298         [Version (since = "3.16")]
12299         public delegate Gtk.Widget ListBoxCreateWidgetFunc (GLib.Object item);
12300         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12301         [Version (since = "3.10")]
12302         public delegate bool ListBoxFilterFunc (Gtk.ListBoxRow row);
12303         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12304         [Version (since = "3.14")]
12305         public delegate void ListBoxForeachFunc (Gtk.ListBox box, Gtk.ListBoxRow row);
12306         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12307         [Version (since = "3.10")]
12308         public delegate int ListBoxSortFunc (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2);
12309         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12310         [Version (since = "3.10")]
12311         public delegate void ListBoxUpdateHeaderFunc (Gtk.ListBoxRow row, Gtk.ListBoxRow? before);
12312         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12313         public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
12314         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12315         public delegate void MenuPositionFunc (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
12316         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12317         [Version (since = "2.2")]
12318         public delegate void ModuleDisplayInitFunc (Gdk.Display display);
12319         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12320         public delegate void ModuleInitFunc ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] string[]? argv);
12321         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12322         public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup);
12323         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12324         public delegate void PrintSettingsFunc (string key, string value);
12325         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
12326         public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
12327         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12328         public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
12329         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12330         public delegate bool RecentFilterFunc (Gtk.RecentFilterInfo filter_info);
12331         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12332         public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
12333         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12334         public delegate bool StylePropertyParser (string str, GLib.Value value) throws GLib.Error;
12335         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
12336         public delegate bool TextBufferDeserializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter iter, [CCode (array_length_cname = "length", array_length_pos = 4.5, array_length_type = "gsize")] uint8[] data, bool create_tags) throws GLib.Error;
12337         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
12338         public delegate unowned uint8? TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
12339         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12340         public delegate bool TextCharPredicate (unichar ch);
12341         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12342         public delegate void TextTagTableForeach (Gtk.TextTag tag);
12343         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12344         [Version (since = "3.8")]
12345         public delegate bool TickCallback (Gtk.Widget widget, Gdk.FrameClock frame_clock);
12346         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12347         [Version (deprecated = true, deprecated_since = "3.10")]
12348         public delegate string TranslateFunc (string path);
12349         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12350         public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
12351         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12352         public delegate void TreeDestroyCountFunc (Gtk.TreeView tree_view, Gtk.TreePath path, int children);
12353         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12354         public delegate int TreeIterCompareFunc (Gtk.TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b);
12355         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12356         public delegate void TreeModelFilterModifyFunc (Gtk.TreeModel model, Gtk.TreeIter iter, out GLib.Value value, int column);
12357         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12358         public delegate bool TreeModelFilterVisibleFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
12359         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12360         public delegate bool TreeModelForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
12361         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12362         public delegate void TreeSelectionForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
12363         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12364         public delegate bool TreeSelectionFunc (Gtk.TreeSelection selection, Gtk.TreeModel model, Gtk.TreePath path, bool path_currently_selected);
12365         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12366         public delegate bool TreeViewColumnDropFunc (Gtk.TreeView tree_view, Gtk.TreeViewColumn column, Gtk.TreeViewColumn prev_column, Gtk.TreeViewColumn next_column);
12367         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12368         public delegate void TreeViewMappingFunc (Gtk.TreeView tree_view, Gtk.TreePath path);
12369         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12370         public delegate bool TreeViewRowSeparatorFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
12371         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12372         public delegate bool TreeViewSearchEqualFunc (Gtk.TreeModel model, int column, string key, Gtk.TreeIter iter);
12373         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12374         public delegate void TreeViewSearchPositionFunc (Gtk.TreeView tree_view, Gtk.Widget search_dialog);
12375         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_BINARY_AGE")]
12376         public const int BINARY_AGE;
12377         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_INPUT_ERROR")]
12378         public const int INPUT_ERROR;
12379         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_INTERFACE_AGE")]
12380         public const int INTERFACE_AGE;
12381         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_FULL")]
12382         [Version (since = "3.20")]
12383         public const string LEVEL_BAR_OFFSET_FULL;
12384         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_HIGH")]
12385         [Version (since = "3.6")]
12386         public const string LEVEL_BAR_OFFSET_HIGH;
12387         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_LOW")]
12388         [Version (since = "3.6")]
12389         public const string LEVEL_BAR_OFFSET_LOW;
12390         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MAJOR_VERSION")]
12391         public const int MAJOR_VERSION;
12392         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MAX_COMPOSE_LEN")]
12393         public const int MAX_COMPOSE_LEN;
12394         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MICRO_VERSION")]
12395         public const int MICRO_VERSION;
12396         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MINOR_VERSION")]
12397         public const int MINOR_VERSION;
12398         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A3")]
12399         public const string PAPER_NAME_A3;
12400         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A4")]
12401         public const string PAPER_NAME_A4;
12402         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A5")]
12403         public const string PAPER_NAME_A5;
12404         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_B5")]
12405         public const string PAPER_NAME_B5;
12406         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_EXECUTIVE")]
12407         public const string PAPER_NAME_EXECUTIVE;
12408         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_LEGAL")]
12409         public const string PAPER_NAME_LEGAL;
12410         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_LETTER")]
12411         public const string PAPER_NAME_LETTER;
12412         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PATH_PRIO_MASK")]
12413         public const int PATH_PRIO_MASK;
12414         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_COLLATE")]
12415         public const string PRINT_SETTINGS_COLLATE;
12416         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DEFAULT_SOURCE")]
12417         public const string PRINT_SETTINGS_DEFAULT_SOURCE;
12418         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DITHER")]
12419         public const string PRINT_SETTINGS_DITHER;
12420         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DUPLEX")]
12421         public const string PRINT_SETTINGS_DUPLEX;
12422         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_FINISHINGS")]
12423         public const string PRINT_SETTINGS_FINISHINGS;
12424         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_MEDIA_TYPE")]
12425         public const string PRINT_SETTINGS_MEDIA_TYPE;
12426         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_NUMBER_UP")]
12427         public const string PRINT_SETTINGS_NUMBER_UP;
12428         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT")]
12429         public const string PRINT_SETTINGS_NUMBER_UP_LAYOUT;
12430         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_N_COPIES")]
12431         public const string PRINT_SETTINGS_N_COPIES;
12432         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_ORIENTATION")]
12433         public const string PRINT_SETTINGS_ORIENTATION;
12434         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_BASENAME")]
12435         [Version (since = "3.6")]
12436         public const string PRINT_SETTINGS_OUTPUT_BASENAME;
12437         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_BIN")]
12438         public const string PRINT_SETTINGS_OUTPUT_BIN;
12439         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_DIR")]
12440         [Version (since = "3.6")]
12441         public const string PRINT_SETTINGS_OUTPUT_DIR;
12442         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT")]
12443         public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT;
12444         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_URI")]
12445         public const string PRINT_SETTINGS_OUTPUT_URI;
12446         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAGE_RANGES")]
12447         public const string PRINT_SETTINGS_PAGE_RANGES;
12448         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAGE_SET")]
12449         public const string PRINT_SETTINGS_PAGE_SET;
12450         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_FORMAT")]
12451         public const string PRINT_SETTINGS_PAPER_FORMAT;
12452         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_HEIGHT")]
12453         public const string PRINT_SETTINGS_PAPER_HEIGHT;
12454         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_WIDTH")]
12455         public const string PRINT_SETTINGS_PAPER_WIDTH;
12456         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINTER")]
12457         public const string PRINT_SETTINGS_PRINTER;
12458         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINTER_LPI")]
12459         public const string PRINT_SETTINGS_PRINTER_LPI;
12460         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINT_PAGES")]
12461         public const string PRINT_SETTINGS_PRINT_PAGES;
12462         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_QUALITY")]
12463         public const string PRINT_SETTINGS_QUALITY;
12464         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION")]
12465         public const string PRINT_SETTINGS_RESOLUTION;
12466         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION_X")]
12467         public const string PRINT_SETTINGS_RESOLUTION_X;
12468         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION_Y")]
12469         public const string PRINT_SETTINGS_RESOLUTION_Y;
12470         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_REVERSE")]
12471         public const string PRINT_SETTINGS_REVERSE;
12472         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_SCALE")]
12473         public const string PRINT_SETTINGS_SCALE;
12474         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_USE_COLOR")]
12475         public const string PRINT_SETTINGS_USE_COLOR;
12476         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA")]
12477         public const string PRINT_SETTINGS_WIN32_DRIVER_EXTRA;
12478         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION")]
12479         public const string PRINT_SETTINGS_WIN32_DRIVER_VERSION;
12480         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRIORITY_RESIZE")]
12481         public const int PRIORITY_RESIZE;
12482         [CCode (cheader_filename = "gtk/gtk.h")]
12483         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
12484         public const string STOCK_ABOUT;
12485         [CCode (cheader_filename = "gtk/gtk.h")]
12486         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
12487         public const string STOCK_ADD;
12488         [CCode (cheader_filename = "gtk/gtk.h")]
12489         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
12490         public const string STOCK_APPLY;
12491         [CCode (cheader_filename = "gtk/gtk.h")]
12492         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
12493         public const string STOCK_BOLD;
12494         [CCode (cheader_filename = "gtk/gtk.h")]
12495         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
12496         public const string STOCK_CANCEL;
12497         [CCode (cheader_filename = "gtk/gtk.h")]
12498         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
12499         public const string STOCK_CAPS_LOCK_WARNING;
12500         [CCode (cheader_filename = "gtk/gtk.h")]
12501         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
12502         public const string STOCK_CDROM;
12503         [CCode (cheader_filename = "gtk/gtk.h")]
12504         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
12505         public const string STOCK_CLEAR;
12506         [CCode (cheader_filename = "gtk/gtk.h")]
12507         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
12508         public const string STOCK_CLOSE;
12509         [CCode (cheader_filename = "gtk/gtk.h")]
12510         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
12511         public const string STOCK_COLOR_PICKER;
12512         [CCode (cheader_filename = "gtk/gtk.h")]
12513         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
12514         public const string STOCK_CONNECT;
12515         [CCode (cheader_filename = "gtk/gtk.h")]
12516         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
12517         public const string STOCK_CONVERT;
12518         [CCode (cheader_filename = "gtk/gtk.h")]
12519         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
12520         public const string STOCK_COPY;
12521         [CCode (cheader_filename = "gtk/gtk.h")]
12522         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
12523         public const string STOCK_CUT;
12524         [CCode (cheader_filename = "gtk/gtk.h")]
12525         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
12526         public const string STOCK_DELETE;
12527         [CCode (cheader_filename = "gtk/gtk.h")]
12528         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
12529         public const string STOCK_DIALOG_AUTHENTICATION;
12530         [CCode (cheader_filename = "gtk/gtk.h")]
12531         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
12532         public const string STOCK_DIALOG_ERROR;
12533         [CCode (cheader_filename = "gtk/gtk.h")]
12534         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
12535         public const string STOCK_DIALOG_INFO;
12536         [CCode (cheader_filename = "gtk/gtk.h")]
12537         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
12538         public const string STOCK_DIALOG_QUESTION;
12539         [CCode (cheader_filename = "gtk/gtk.h")]
12540         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
12541         public const string STOCK_DIALOG_WARNING;
12542         [CCode (cheader_filename = "gtk/gtk.h")]
12543         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
12544         public const string STOCK_DIRECTORY;
12545         [CCode (cheader_filename = "gtk/gtk.h")]
12546         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
12547         public const string STOCK_DISCARD;
12548         [CCode (cheader_filename = "gtk/gtk.h")]
12549         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
12550         public const string STOCK_DISCONNECT;
12551         [CCode (cheader_filename = "gtk/gtk.h")]
12552         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND")]
12553         public const string STOCK_DND;
12554         [CCode (cheader_filename = "gtk/gtk.h")]
12555         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
12556         public const string STOCK_DND_MULTIPLE;
12557         [CCode (cheader_filename = "gtk/gtk.h")]
12558         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
12559         public const string STOCK_EDIT;
12560         [CCode (cheader_filename = "gtk/gtk.h")]
12561         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
12562         public const string STOCK_EXECUTE;
12563         [CCode (cheader_filename = "gtk/gtk.h")]
12564         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
12565         public const string STOCK_FILE;
12566         [CCode (cheader_filename = "gtk/gtk.h")]
12567         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
12568         public const string STOCK_FIND;
12569         [CCode (cheader_filename = "gtk/gtk.h")]
12570         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
12571         public const string STOCK_FIND_AND_REPLACE;
12572         [CCode (cheader_filename = "gtk/gtk.h")]
12573         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
12574         public const string STOCK_FLOPPY;
12575         [CCode (cheader_filename = "gtk/gtk.h")]
12576         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
12577         public const string STOCK_FULLSCREEN;
12578         [CCode (cheader_filename = "gtk/gtk.h")]
12579         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
12580         public const string STOCK_GOTO_BOTTOM;
12581         [CCode (cheader_filename = "gtk/gtk.h")]
12582         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
12583         public const string STOCK_GOTO_FIRST;
12584         [CCode (cheader_filename = "gtk/gtk.h")]
12585         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
12586         public const string STOCK_GOTO_LAST;
12587         [CCode (cheader_filename = "gtk/gtk.h")]
12588         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
12589         public const string STOCK_GOTO_TOP;
12590         [CCode (cheader_filename = "gtk/gtk.h")]
12591         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
12592         public const string STOCK_GO_BACK;
12593         [CCode (cheader_filename = "gtk/gtk.h")]
12594         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
12595         public const string STOCK_GO_DOWN;
12596         [CCode (cheader_filename = "gtk/gtk.h")]
12597         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
12598         public const string STOCK_GO_FORWARD;
12599         [CCode (cheader_filename = "gtk/gtk.h")]
12600         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
12601         public const string STOCK_GO_UP;
12602         [CCode (cheader_filename = "gtk/gtk.h")]
12603         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
12604         public const string STOCK_HARDDISK;
12605         [CCode (cheader_filename = "gtk/gtk.h")]
12606         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
12607         public const string STOCK_HELP;
12608         [CCode (cheader_filename = "gtk/gtk.h")]
12609         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
12610         public const string STOCK_HOME;
12611         [CCode (cheader_filename = "gtk/gtk.h")]
12612         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
12613         public const string STOCK_INDENT;
12614         [CCode (cheader_filename = "gtk/gtk.h")]
12615         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
12616         public const string STOCK_INDEX;
12617         [CCode (cheader_filename = "gtk/gtk.h")]
12618         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
12619         public const string STOCK_INFO;
12620         [CCode (cheader_filename = "gtk/gtk.h")]
12621         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
12622         public const string STOCK_ITALIC;
12623         [CCode (cheader_filename = "gtk/gtk.h")]
12624         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
12625         public const string STOCK_JUMP_TO;
12626         [CCode (cheader_filename = "gtk/gtk.h")]
12627         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
12628         public const string STOCK_JUSTIFY_CENTER;
12629         [CCode (cheader_filename = "gtk/gtk.h")]
12630         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
12631         public const string STOCK_JUSTIFY_FILL;
12632         [CCode (cheader_filename = "gtk/gtk.h")]
12633         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
12634         public const string STOCK_JUSTIFY_LEFT;
12635         [CCode (cheader_filename = "gtk/gtk.h")]
12636         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
12637         public const string STOCK_JUSTIFY_RIGHT;
12638         [CCode (cheader_filename = "gtk/gtk.h")]
12639         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
12640         public const string STOCK_LEAVE_FULLSCREEN;
12641         [CCode (cheader_filename = "gtk/gtk.h")]
12642         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
12643         public const string STOCK_MEDIA_FORWARD;
12644         [CCode (cheader_filename = "gtk/gtk.h")]
12645         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
12646         public const string STOCK_MEDIA_NEXT;
12647         [CCode (cheader_filename = "gtk/gtk.h")]
12648         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
12649         public const string STOCK_MEDIA_PAUSE;
12650         [CCode (cheader_filename = "gtk/gtk.h")]
12651         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
12652         public const string STOCK_MEDIA_PLAY;
12653         [CCode (cheader_filename = "gtk/gtk.h")]
12654         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
12655         public const string STOCK_MEDIA_PREVIOUS;
12656         [CCode (cheader_filename = "gtk/gtk.h")]
12657         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
12658         public const string STOCK_MEDIA_RECORD;
12659         [CCode (cheader_filename = "gtk/gtk.h")]
12660         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
12661         public const string STOCK_MEDIA_REWIND;
12662         [CCode (cheader_filename = "gtk/gtk.h")]
12663         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
12664         public const string STOCK_MEDIA_STOP;
12665         [CCode (cheader_filename = "gtk/gtk.h")]
12666         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
12667         public const string STOCK_MISSING_IMAGE;
12668         [CCode (cheader_filename = "gtk/gtk.h")]
12669         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
12670         public const string STOCK_NETWORK;
12671         [CCode (cheader_filename = "gtk/gtk.h")]
12672         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
12673         public const string STOCK_NEW;
12674         [CCode (cheader_filename = "gtk/gtk.h")]
12675         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NO")]
12676         public const string STOCK_NO;
12677         [CCode (cheader_filename = "gtk/gtk.h")]
12678         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OK")]
12679         public const string STOCK_OK;
12680         [CCode (cheader_filename = "gtk/gtk.h")]
12681         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
12682         public const string STOCK_OPEN;
12683         [CCode (cheader_filename = "gtk/gtk.h")]
12684         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
12685         public const string STOCK_ORIENTATION_LANDSCAPE;
12686         [CCode (cheader_filename = "gtk/gtk.h")]
12687         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
12688         public const string STOCK_ORIENTATION_PORTRAIT;
12689         [CCode (cheader_filename = "gtk/gtk.h")]
12690         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
12691         public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE;
12692         [CCode (cheader_filename = "gtk/gtk.h")]
12693         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
12694         public const string STOCK_ORIENTATION_REVERSE_PORTRAIT;
12695         [CCode (cheader_filename = "gtk/gtk.h")]
12696         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
12697         public const string STOCK_PAGE_SETUP;
12698         [CCode (cheader_filename = "gtk/gtk.h")]
12699         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
12700         public const string STOCK_PASTE;
12701         [CCode (cheader_filename = "gtk/gtk.h")]
12702         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
12703         public const string STOCK_PREFERENCES;
12704         [CCode (cheader_filename = "gtk/gtk.h")]
12705         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
12706         public const string STOCK_PRINT;
12707         [CCode (cheader_filename = "gtk/gtk.h")]
12708         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
12709         public const string STOCK_PRINT_ERROR;
12710         [CCode (cheader_filename = "gtk/gtk.h")]
12711         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
12712         public const string STOCK_PRINT_PAUSED;
12713         [CCode (cheader_filename = "gtk/gtk.h")]
12714         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
12715         public const string STOCK_PRINT_PREVIEW;
12716         [CCode (cheader_filename = "gtk/gtk.h")]
12717         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
12718         public const string STOCK_PRINT_REPORT;
12719         [CCode (cheader_filename = "gtk/gtk.h")]
12720         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
12721         public const string STOCK_PRINT_WARNING;
12722         [CCode (cheader_filename = "gtk/gtk.h")]
12723         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
12724         public const string STOCK_PROPERTIES;
12725         [CCode (cheader_filename = "gtk/gtk.h")]
12726         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
12727         public const string STOCK_QUIT;
12728         [CCode (cheader_filename = "gtk/gtk.h")]
12729         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
12730         public const string STOCK_REDO;
12731         [CCode (cheader_filename = "gtk/gtk.h")]
12732         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
12733         public const string STOCK_REFRESH;
12734         [CCode (cheader_filename = "gtk/gtk.h")]
12735         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
12736         public const string STOCK_REMOVE;
12737         [CCode (cheader_filename = "gtk/gtk.h")]
12738         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
12739         public const string STOCK_REVERT_TO_SAVED;
12740         [CCode (cheader_filename = "gtk/gtk.h")]
12741         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
12742         public const string STOCK_SAVE;
12743         [CCode (cheader_filename = "gtk/gtk.h")]
12744         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
12745         public const string STOCK_SAVE_AS;
12746         [CCode (cheader_filename = "gtk/gtk.h")]
12747         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
12748         public const string STOCK_SELECT_ALL;
12749         [CCode (cheader_filename = "gtk/gtk.h")]
12750         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
12751         public const string STOCK_SELECT_COLOR;
12752         [CCode (cheader_filename = "gtk/gtk.h")]
12753         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
12754         public const string STOCK_SELECT_FONT;
12755         [CCode (cheader_filename = "gtk/gtk.h")]
12756         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
12757         public const string STOCK_SORT_ASCENDING;
12758         [CCode (cheader_filename = "gtk/gtk.h")]
12759         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
12760         public const string STOCK_SORT_DESCENDING;
12761         [CCode (cheader_filename = "gtk/gtk.h")]
12762         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
12763         public const string STOCK_SPELL_CHECK;
12764         [CCode (cheader_filename = "gtk/gtk.h")]
12765         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
12766         public const string STOCK_STOP;
12767         [CCode (cheader_filename = "gtk/gtk.h")]
12768         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
12769         public const string STOCK_STRIKETHROUGH;
12770         [CCode (cheader_filename = "gtk/gtk.h")]
12771         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
12772         public const string STOCK_UNDELETE;
12773         [CCode (cheader_filename = "gtk/gtk.h")]
12774         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
12775         public const string STOCK_UNDERLINE;
12776         [CCode (cheader_filename = "gtk/gtk.h")]
12777         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
12778         public const string STOCK_UNDO;
12779         [CCode (cheader_filename = "gtk/gtk.h")]
12780         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
12781         public const string STOCK_UNINDENT;
12782         [CCode (cheader_filename = "gtk/gtk.h")]
12783         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.YES")]
12784         public const string STOCK_YES;
12785         [CCode (cheader_filename = "gtk/gtk.h")]
12786         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
12787         public const string STOCK_ZOOM_100;
12788         [CCode (cheader_filename = "gtk/gtk.h")]
12789         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
12790         public const string STOCK_ZOOM_FIT;
12791         [CCode (cheader_filename = "gtk/gtk.h")]
12792         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
12793         public const string STOCK_ZOOM_IN;
12794         [CCode (cheader_filename = "gtk/gtk.h")]
12795         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
12796         public const string STOCK_ZOOM_OUT;
12797         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ACCELERATOR")]
12798         public const string STYLE_CLASS_ACCELERATOR;
12799         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ARROW")]
12800         public const string STYLE_CLASS_ARROW;
12801         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BACKGROUND")]
12802         public const string STYLE_CLASS_BACKGROUND;
12803         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BOTTOM")]
12804         public const string STYLE_CLASS_BOTTOM;
12805         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BUTTON")]
12806         public const string STYLE_CLASS_BUTTON;
12807         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CALENDAR")]
12808         public const string STYLE_CLASS_CALENDAR;
12809         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CELL")]
12810         public const string STYLE_CLASS_CELL;
12811         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CHECK")]
12812         public const string STYLE_CLASS_CHECK;
12813         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_COMBOBOX_ENTRY")]
12814         public const string STYLE_CLASS_COMBOBOX_ENTRY;
12815         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CONTEXT_MENU")]
12816         public const string STYLE_CLASS_CONTEXT_MENU;
12817         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CSD")]
12818         [Version (since = "3.14")]
12819         public const string STYLE_CLASS_CSD;
12820         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CURSOR_HANDLE")]
12821         public const string STYLE_CLASS_CURSOR_HANDLE;
12822         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DEFAULT")]
12823         public const string STYLE_CLASS_DEFAULT;
12824         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DESTRUCTIVE_ACTION")]
12825         [Version (since = "3.12")]
12826         public const string STYLE_CLASS_DESTRUCTIVE_ACTION;
12827         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DIM_LABEL")]
12828         public const string STYLE_CLASS_DIM_LABEL;
12829         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DND")]
12830         public const string STYLE_CLASS_DND;
12831         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DOCK")]
12832         public const string STYLE_CLASS_DOCK;
12833         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ENTRY")]
12834         public const string STYLE_CLASS_ENTRY;
12835         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ERROR")]
12836         public const string STYLE_CLASS_ERROR;
12837         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_EXPANDER")]
12838         public const string STYLE_CLASS_EXPANDER;
12839         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FLAT")]
12840         [Version (since = "3.14")]
12841         public const string STYLE_CLASS_FLAT;
12842         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FRAME")]
12843         public const string STYLE_CLASS_FRAME;
12844         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_GRIP")]
12845         public const string STYLE_CLASS_GRIP;
12846         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HEADER")]
12847         public const string STYLE_CLASS_HEADER;
12848         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HIGHLIGHT")]
12849         public const string STYLE_CLASS_HIGHLIGHT;
12850         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HORIZONTAL")]
12851         public const string STYLE_CLASS_HORIZONTAL;
12852         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_IMAGE")]
12853         public const string STYLE_CLASS_IMAGE;
12854         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INFO")]
12855         public const string STYLE_CLASS_INFO;
12856         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INLINE_TOOLBAR")]
12857         public const string STYLE_CLASS_INLINE_TOOLBAR;
12858         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INSERTION_CURSOR")]
12859         public const string STYLE_CLASS_INSERTION_CURSOR;
12860         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LABEL")]
12861         [Version (since = "3.16")]
12862         public const string STYLE_CLASS_LABEL;
12863         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LEFT")]
12864         public const string STYLE_CLASS_LEFT;
12865         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LEVEL_BAR")]
12866         public const string STYLE_CLASS_LEVEL_BAR;
12867         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LINKED")]
12868         public const string STYLE_CLASS_LINKED;
12869         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LIST")]
12870         public const string STYLE_CLASS_LIST;
12871         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LIST_ROW")]
12872         public const string STYLE_CLASS_LIST_ROW;
12873         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MARK")]
12874         public const string STYLE_CLASS_MARK;
12875         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENU")]
12876         public const string STYLE_CLASS_MENU;
12877         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENUBAR")]
12878         public const string STYLE_CLASS_MENUBAR;
12879         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENUITEM")]
12880         public const string STYLE_CLASS_MENUITEM;
12881         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MESSAGE_DIALOG")]
12882         [Version (since = "3.14")]
12883         public const string STYLE_CLASS_MESSAGE_DIALOG;
12884         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MONOSPACE")]
12885         [Version (since = "3.16")]
12886         public const string STYLE_CLASS_MONOSPACE;
12887         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_NEEDS_ATTENTION")]
12888         [Version (since = "3.12")]
12889         public const string STYLE_CLASS_NEEDS_ATTENTION;
12890         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_NOTEBOOK")]
12891         public const string STYLE_CLASS_NOTEBOOK;
12892         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_OSD")]
12893         public const string STYLE_CLASS_OSD;
12894         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_OVERSHOOT")]
12895         [Version (since = "3.14")]
12896         public const string STYLE_CLASS_OVERSHOOT;
12897         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PANE_SEPARATOR")]
12898         public const string STYLE_CLASS_PANE_SEPARATOR;
12899         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PAPER")]
12900         [Version (since = "3.16")]
12901         public const string STYLE_CLASS_PAPER;
12902         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_POPOVER")]
12903         [Version (since = "3.14")]
12904         public const string STYLE_CLASS_POPOVER;
12905         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_POPUP")]
12906         [Version (since = "3.14")]
12907         public const string STYLE_CLASS_POPUP;
12908         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PRIMARY_TOOLBAR")]
12909         public const string STYLE_CLASS_PRIMARY_TOOLBAR;
12910         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PROGRESSBAR")]
12911         public const string STYLE_CLASS_PROGRESSBAR;
12912         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PULSE")]
12913         public const string STYLE_CLASS_PULSE;
12914         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_QUESTION")]
12915         public const string STYLE_CLASS_QUESTION;
12916         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RADIO")]
12917         public const string STYLE_CLASS_RADIO;
12918         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RAISED")]
12919         public const string STYLE_CLASS_RAISED;
12920         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_READ_ONLY")]
12921         public const string STYLE_CLASS_READ_ONLY;
12922         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RIGHT")]
12923         public const string STYLE_CLASS_RIGHT;
12924         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RUBBERBAND")]
12925         public const string STYLE_CLASS_RUBBERBAND;
12926         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE")]
12927         public const string STYLE_CLASS_SCALE;
12928         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE")]
12929         public const string STYLE_CLASS_SCALE_HAS_MARKS_ABOVE;
12930         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW")]
12931         public const string STYLE_CLASS_SCALE_HAS_MARKS_BELOW;
12932         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCROLLBAR")]
12933         public const string STYLE_CLASS_SCROLLBAR;
12934         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCROLLBARS_JUNCTION")]
12935         public const string STYLE_CLASS_SCROLLBARS_JUNCTION;
12936         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SEPARATOR")]
12937         public const string STYLE_CLASS_SEPARATOR;
12938         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SIDEBAR")]
12939         public const string STYLE_CLASS_SIDEBAR;
12940         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SLIDER")]
12941         public const string STYLE_CLASS_SLIDER;
12942         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SPINBUTTON")]
12943         public const string STYLE_CLASS_SPINBUTTON;
12944         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SPINNER")]
12945         public const string STYLE_CLASS_SPINNER;
12946         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_STATUSBAR")]
12947         [Version (since = "3.16")]
12948         public const string STYLE_CLASS_STATUSBAR;
12949         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SUBTITLE")]
12950         [Version (since = "3.14")]
12951         public const string STYLE_CLASS_SUBTITLE;
12952         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SUGGESTED_ACTION")]
12953         [Version (since = "3.12")]
12954         public const string STYLE_CLASS_SUGGESTED_ACTION;
12955         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TITLE")]
12956         [Version (since = "3.14")]
12957         public const string STYLE_CLASS_TITLE;
12958         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TITLEBAR")]
12959         public const string STYLE_CLASS_TITLEBAR;
12960         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOOLBAR")]
12961         public const string STYLE_CLASS_TOOLBAR;
12962         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOOLTIP")]
12963         public const string STYLE_CLASS_TOOLTIP;
12964         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOP")]
12965         public const string STYLE_CLASS_TOP;
12966         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOUCH_SELECTION")]
12967         [Version (since = "3.16")]
12968         public const string STYLE_CLASS_TOUCH_SELECTION;
12969         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TROUGH")]
12970         public const string STYLE_CLASS_TROUGH;
12971         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_UNDERSHOOT")]
12972         [Version (since = "3.16")]
12973         public const string STYLE_CLASS_UNDERSHOOT;
12974         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_VERTICAL")]
12975         public const string STYLE_CLASS_VERTICAL;
12976         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_VIEW")]
12977         public const string STYLE_CLASS_VIEW;
12978         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_WARNING")]
12979         public const string STYLE_CLASS_WARNING;
12980         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_WIDE")]
12981         [Version (since = "3.16")]
12982         public const string STYLE_CLASS_WIDE;
12983         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BACKGROUND_COLOR")]
12984         public const string STYLE_PROPERTY_BACKGROUND_COLOR;
12985         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BACKGROUND_IMAGE")]
12986         public const string STYLE_PROPERTY_BACKGROUND_IMAGE;
12987         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_COLOR")]
12988         public const string STYLE_PROPERTY_BORDER_COLOR;
12989         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_RADIUS")]
12990         public const string STYLE_PROPERTY_BORDER_RADIUS;
12991         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_STYLE")]
12992         public const string STYLE_PROPERTY_BORDER_STYLE;
12993         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_WIDTH")]
12994         public const string STYLE_PROPERTY_BORDER_WIDTH;
12995         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_COLOR")]
12996         public const string STYLE_PROPERTY_COLOR;
12997         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_FONT")]
12998         public const string STYLE_PROPERTY_FONT;
12999         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_MARGIN")]
13000         public const string STYLE_PROPERTY_MARGIN;
13001         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_PADDING")]
13002         public const string STYLE_PROPERTY_PADDING;
13003         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_APPLICATION")]
13004         public const int STYLE_PROVIDER_PRIORITY_APPLICATION;
13005         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_FALLBACK")]
13006         public const int STYLE_PROVIDER_PRIORITY_FALLBACK;
13007         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_SETTINGS")]
13008         public const int STYLE_PROVIDER_PRIORITY_SETTINGS;
13009         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_THEME")]
13010         public const int STYLE_PROVIDER_PRIORITY_THEME;
13011         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_USER")]
13012         public const int STYLE_PROVIDER_PRIORITY_USER;
13013         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_COLUMN")]
13014         [Version (deprecated = true, deprecated_since = "3.20")]
13015         public const string STYLE_REGION_COLUMN;
13016         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_COLUMN_HEADER")]
13017         [Version (deprecated = true, deprecated_since = "3.20")]
13018         public const string STYLE_REGION_COLUMN_HEADER;
13019         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_ROW")]
13020         [Version (deprecated = true, deprecated_since = "3.20")]
13021         public const string STYLE_REGION_ROW;
13022         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_TAB")]
13023         [Version (deprecated = true, deprecated_since = "3.20")]
13024         public const string STYLE_REGION_TAB;
13025         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TEXT_VIEW_PRIORITY_VALIDATE")]
13026         public const int TEXT_VIEW_PRIORITY_VALIDATE;
13027         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
13028         public const int TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID;
13029         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
13030         public const int TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID;
13031         [CCode (cheader_filename = "gtk/gtk.h")]
13032         public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods);
13033         [CCode (cheader_filename = "gtk/gtk.h")]
13034         public static unowned GLib.SList<Gtk.AccelGroup> accel_groups_from_object (GLib.Object object);
13035         [CCode (cheader_filename = "gtk/gtk.h")]
13036         public static Gdk.ModifierType accelerator_get_default_mod_mask ();
13037         [CCode (cheader_filename = "gtk/gtk.h")]
13038         [Version (since = "2.6")]
13039         public static string accelerator_get_label (uint accelerator_key, Gdk.ModifierType accelerator_mods);
13040         [CCode (cheader_filename = "gtk/gtk.h")]
13041         [Version (since = "3.4")]
13042         public static string accelerator_get_label_with_keycode (Gdk.Display? display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
13043         [CCode (cheader_filename = "gtk/gtk.h")]
13044         public static string accelerator_name (uint accelerator_key, Gdk.ModifierType accelerator_mods);
13045         [CCode (cheader_filename = "gtk/gtk.h")]
13046         [Version (since = "3.4")]
13047         public static string accelerator_name_with_keycode (Gdk.Display? display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
13048         [CCode (cheader_filename = "gtk/gtk.h")]
13049         public static void accelerator_parse (string accelerator, out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
13050         [CCode (cheader_filename = "gtk/gtk.h")]
13051         [Version (since = "3.4")]
13052         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);
13053         [CCode (cheader_filename = "gtk/gtk.h")]
13054         public static void accelerator_set_default_mod_mask (Gdk.ModifierType default_mod_mask);
13055         [CCode (cheader_filename = "gtk/gtk.h")]
13056         public static bool accelerator_valid (uint keyval, Gdk.ModifierType modifiers);
13057         [CCode (cheader_filename = "gtk/gtk.h")]
13058         [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
13059         public static bool alternative_dialog_button_order (Gdk.Screen? screen);
13060         [CCode (cheader_filename = "gtk/gtk.h")]
13061         public static bool bindings_activate (GLib.Object object, uint keyval, Gdk.ModifierType modifiers);
13062         [CCode (cheader_filename = "gtk/gtk.h")]
13063         [Version (since = "2.4")]
13064         public static bool bindings_activate_event (GLib.Object object, Gdk.EventKey event);
13065         [CCode (cheader_filename = "gtk/gtk.h")]
13066         [Version (since = "3.0")]
13067         public static bool cairo_should_draw_window (Cairo.Context cr, Gdk.Window window);
13068         [CCode (cheader_filename = "gtk/gtk.h")]
13069         [Version (since = "3.0")]
13070         public static void cairo_transform_to_window (Cairo.Context cr, Gtk.Widget widget, Gdk.Window window);
13071         [CCode (cheader_filename = "gtk/gtk.h")]
13072         public static unowned string? check_version (uint required_major, uint required_minor, uint required_micro);
13073         [CCode (cheader_filename = "gtk/gtk.h")]
13074         [Version (since = "3.0")]
13075         public static void device_grab_add (Gtk.Widget widget, Gdk.Device device, bool block_others);
13076         [CCode (cheader_filename = "gtk/gtk.h")]
13077         [Version (since = "3.0")]
13078         public static void device_grab_remove (Gtk.Widget widget, Gdk.Device device);
13079         [CCode (cheader_filename = "gtk/gtk.h")]
13080         public static void disable_setlocale ();
13081         [CCode (cheader_filename = "gtk/gtk.h")]
13082         public static int distribute_natural_allocation (int extra_space, uint n_requested_sizes, Gtk.RequestedSize sizes);
13083         [CCode (cheader_filename = "gtk/gtk.h")]
13084         [Version (deprecated = true, deprecated_since = "3.10")]
13085         public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event? event);
13086         [CCode (cheader_filename = "gtk/gtk.h")]
13087         [Version (since = "3.10")]
13088         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);
13089         [CCode (cheader_filename = "gtk/gtk.h")]
13090         [Version (since = "3.16")]
13091         public static void drag_cancel (Gdk.DragContext context);
13092         [CCode (cheader_filename = "gtk/gtk.h")]
13093         public static bool drag_check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x, int current_y);
13094         [CCode (cheader_filename = "gtk/gtk.h")]
13095         [Version (since = "2.6")]
13096         public static void drag_dest_add_image_targets (Gtk.Widget widget);
13097         [CCode (cheader_filename = "gtk/gtk.h")]
13098         [Version (since = "2.6")]
13099         public static void drag_dest_add_text_targets (Gtk.Widget widget);
13100         [CCode (cheader_filename = "gtk/gtk.h")]
13101         [Version (since = "2.6")]
13102         public static void drag_dest_add_uri_targets (Gtk.Widget widget);
13103         [CCode (cheader_filename = "gtk/gtk.h")]
13104         public static Gdk.Atom drag_dest_find_target (Gtk.Widget widget, Gdk.DragContext context, Gtk.TargetList? target_list);
13105         [CCode (cheader_filename = "gtk/gtk.h")]
13106         public static unowned Gtk.TargetList? drag_dest_get_target_list (Gtk.Widget widget);
13107         [CCode (cheader_filename = "gtk/gtk.h")]
13108         [Version (since = "2.10")]
13109         public static bool drag_dest_get_track_motion (Gtk.Widget widget);
13110         [CCode (cheader_filename = "gtk/gtk.h")]
13111         public static void drag_dest_set (Gtk.Widget widget, Gtk.DestDefaults flags, [CCode (array_length_cname = "n_targets", array_length_pos = 3.5)] Gtk.TargetEntry[]? targets, Gdk.DragAction actions);
13112         [CCode (cheader_filename = "gtk/gtk.h")]
13113         [Version (deprecated = true, deprecated_since = "3.22")]
13114         public static void drag_dest_set_proxy (Gtk.Widget widget, Gdk.Window proxy_window, Gdk.DragProtocol protocol, bool use_coordinates);
13115         [CCode (cheader_filename = "gtk/gtk.h")]
13116         public static void drag_dest_set_target_list (Gtk.Widget widget, Gtk.TargetList? target_list);
13117         [CCode (cheader_filename = "gtk/gtk.h")]
13118         [Version (since = "2.10")]
13119         public static void drag_dest_set_track_motion (Gtk.Widget widget, bool track_motion);
13120         [CCode (cheader_filename = "gtk/gtk.h")]
13121         public static void drag_dest_unset (Gtk.Widget widget);
13122         [CCode (cheader_filename = "gtk/gtk.h")]
13123         public static void drag_finish (Gdk.DragContext context, bool success, bool del, uint32 time_);
13124         [CCode (cheader_filename = "gtk/gtk.h")]
13125         public static void drag_get_data (Gtk.Widget widget, Gdk.DragContext context, Gdk.Atom target, uint32 time_);
13126         [CCode (cheader_filename = "gtk/gtk.h")]
13127         public static unowned Gtk.Widget? drag_get_source_widget (Gdk.DragContext context);
13128         [CCode (cheader_filename = "gtk/gtk.h")]
13129         public static void drag_highlight (Gtk.Widget widget);
13130         [CCode (cheader_filename = "gtk/gtk.h")]
13131         public static void drag_set_icon_default (Gdk.DragContext context);
13132         [CCode (cheader_filename = "gtk/gtk.h")]
13133         [Version (since = "3.2")]
13134         public static void drag_set_icon_gicon (Gdk.DragContext context, GLib.Icon icon, int hot_x, int hot_y);
13135         [CCode (cheader_filename = "gtk/gtk.h")]
13136         [Version (since = "2.8")]
13137         public static void drag_set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y);
13138         [CCode (cheader_filename = "gtk/gtk.h")]
13139         public static void drag_set_icon_pixbuf (Gdk.DragContext context, Gdk.Pixbuf pixbuf, int hot_x, int hot_y);
13140         [CCode (cheader_filename = "gtk/gtk.h")]
13141         [Version (deprecated = true, deprecated_since = "3.10")]
13142         public static void drag_set_icon_stock (Gdk.DragContext context, string stock_id, int hot_x, int hot_y);
13143         [CCode (cheader_filename = "gtk/gtk.h")]
13144         public static void drag_set_icon_surface (Gdk.DragContext context, Cairo.Surface surface);
13145         [CCode (cheader_filename = "gtk/gtk.h")]
13146         public static void drag_set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int hot_y);
13147         [CCode (cheader_filename = "gtk/gtk.h")]
13148         [Version (since = "2.6")]
13149         public static void drag_source_add_image_targets (Gtk.Widget widget);
13150         [CCode (cheader_filename = "gtk/gtk.h")]
13151         [Version (since = "2.6")]
13152         public static void drag_source_add_text_targets (Gtk.Widget widget);
13153         [CCode (cheader_filename = "gtk/gtk.h")]
13154         [Version (since = "2.6")]
13155         public static void drag_source_add_uri_targets (Gtk.Widget widget);
13156         [CCode (cheader_filename = "gtk/gtk.h")]
13157         [Version (since = "2.4")]
13158         public static unowned Gtk.TargetList? drag_source_get_target_list (Gtk.Widget widget);
13159         [CCode (cheader_filename = "gtk/gtk.h")]
13160         public static void drag_source_set (Gtk.Widget widget, Gdk.ModifierType start_button_mask, [CCode (array_length_cname = "n_targets", array_length_pos = 3.5)] Gtk.TargetEntry[]? targets, Gdk.DragAction actions);
13161         [CCode (cheader_filename = "gtk/gtk.h")]
13162         [Version (since = "3.2")]
13163         public static void drag_source_set_icon_gicon (Gtk.Widget widget, GLib.Icon icon);
13164         [CCode (cheader_filename = "gtk/gtk.h")]
13165         [Version (since = "2.8")]
13166         public static void drag_source_set_icon_name (Gtk.Widget widget, string icon_name);
13167         [CCode (cheader_filename = "gtk/gtk.h")]
13168         public static void drag_source_set_icon_pixbuf (Gtk.Widget widget, Gdk.Pixbuf pixbuf);
13169         [CCode (cheader_filename = "gtk/gtk.h")]
13170         [Version (deprecated = true, deprecated_since = "3.10")]
13171         public static void drag_source_set_icon_stock (Gtk.Widget widget, string stock_id);
13172         [CCode (cheader_filename = "gtk/gtk.h")]
13173         [Version (since = "2.4")]
13174         public static void drag_source_set_target_list (Gtk.Widget widget, Gtk.TargetList? target_list);
13175         [CCode (cheader_filename = "gtk/gtk.h")]
13176         public static void drag_source_unset (Gtk.Widget widget);
13177         [CCode (cheader_filename = "gtk/gtk.h")]
13178         public static void drag_unhighlight (Gtk.Widget widget);
13179         [CCode (cheader_filename = "gtk/gtk.h")]
13180         [Version (deprecated = true, deprecated_since = "3.4", replacement = "render_insertion_cursor", since = "3.0")]
13181         public static void draw_insertion_cursor (Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow);
13182         [CCode (cheader_filename = "gtk/gtk.h")]
13183         public static bool events_pending ();
13184         [CCode (cheader_filename = "gtk/gtk.h")]
13185         [Version (since = "3.0")]
13186         public static uint get_binary_age ();
13187         [CCode (cheader_filename = "gtk/gtk.h")]
13188         public static Gdk.Event? get_current_event ();
13189         [CCode (cheader_filename = "gtk/gtk.h")]
13190         public static unowned Gdk.Device? get_current_event_device ();
13191         [CCode (cheader_filename = "gtk/gtk.h")]
13192         public static bool get_current_event_state (out Gdk.ModifierType state);
13193         [CCode (cheader_filename = "gtk/gtk.h")]
13194         public static uint32 get_current_event_time ();
13195         [CCode (cheader_filename = "gtk/gtk.h")]
13196         public static uint get_debug_flags ();
13197         [CCode (cheader_filename = "gtk/gtk.h")]
13198         public static unowned Pango.Language get_default_language ();
13199         [CCode (cheader_filename = "gtk/gtk.h")]
13200         public static unowned Gtk.Widget? get_event_widget (Gdk.Event event);
13201         [CCode (cheader_filename = "gtk/gtk.h")]
13202         [Version (since = "3.0")]
13203         public static uint get_interface_age ();
13204         [CCode (cheader_filename = "gtk/gtk.h")]
13205         [Version (since = "3.12")]
13206         public static Gtk.TextDirection get_locale_direction ();
13207         [CCode (cheader_filename = "gtk/gtk.h")]
13208         [Version (since = "3.0")]
13209         public static uint get_major_version ();
13210         [CCode (cheader_filename = "gtk/gtk.h")]
13211         [Version (since = "3.0")]
13212         public static uint get_micro_version ();
13213         [CCode (cheader_filename = "gtk/gtk.h")]
13214         [Version (since = "3.0")]
13215         public static uint get_minor_version ();
13216         [CCode (cheader_filename = "gtk/gtk.h")]
13217         [Version (since = "2.6")]
13218         public static GLib.OptionGroup get_option_group (bool open_default_display);
13219         [CCode (cheader_filename = "gtk/gtk.h")]
13220         public static void grab_add (Gtk.Widget widget);
13221         [CCode (cheader_filename = "gtk/gtk.h")]
13222         public static unowned Gtk.Widget? grab_get_current ();
13223         [CCode (cheader_filename = "gtk/gtk.h")]
13224         public static void grab_remove (Gtk.Widget widget);
13225         [CCode (cheader_filename = "gtk/gtk.h")]
13226         [Version (deprecated_since = "3.10")]
13227         public static Gtk.IconSize icon_size_from_name (string name);
13228         [CCode (cheader_filename = "gtk/gtk.h")]
13229         [Version (deprecated_since = "3.10")]
13230         public static unowned string icon_size_get_name (Gtk.IconSize size);
13231         [CCode (cheader_filename = "gtk/gtk.h")]
13232         public static bool icon_size_lookup (Gtk.IconSize size, out int width, out int height);
13233         [CCode (cheader_filename = "gtk/gtk.h")]
13234         [Version (deprecated_since = "3.10")]
13235         public static bool icon_size_lookup_for_settings (Gtk.Settings settings, Gtk.IconSize size, out int width, out int height);
13236         [CCode (cheader_filename = "gtk/gtk.h")]
13237         [Version (deprecated_since = "3.10")]
13238         public static Gtk.IconSize icon_size_register (string name, int width, int height);
13239         [CCode (cheader_filename = "gtk/gtk.h")]
13240         [Version (deprecated_since = "3.10")]
13241         public static void icon_size_register_alias (string alias, Gtk.IconSize target);
13242         [CCode (cheader_filename = "gtk/gtk.h")]
13243         public static void init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
13244         [CCode (cheader_filename = "gtk/gtk.h")]
13245         public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
13246         [CCode (cheader_filename = "gtk/gtk.h")]
13247         [Version (since = "2.6")]
13248         public static bool init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string? parameter_string, [CCode (array_length = false, array_null_terminated = true)] GLib.OptionEntry[] entries, string? translation_domain) throws GLib.Error;
13249         [CCode (cheader_filename = "gtk/gtk.h")]
13250         [Version (deprecated = true, deprecated_since = "3.4")]
13251         public static uint key_snooper_install (Gtk.KeySnoopFunc snooper);
13252         [CCode (cheader_filename = "gtk/gtk.h")]
13253         [Version (deprecated = true, deprecated_since = "3.4")]
13254         public static void key_snooper_remove (uint snooper_handler_id);
13255         [CCode (cheader_filename = "gtk/gtk.h")]
13256         public static void main ();
13257         [CCode (cheader_filename = "gtk/gtk.h")]
13258         public static void main_do_event (Gdk.Event event);
13259         [CCode (cheader_filename = "gtk/gtk.h")]
13260         public static bool main_iteration ();
13261         [CCode (cheader_filename = "gtk/gtk.h")]
13262         public static bool main_iteration_do (bool blocking);
13263         [CCode (cheader_filename = "gtk/gtk.h")]
13264         public static uint main_level ();
13265         [CCode (cheader_filename = "gtk/gtk.h")]
13266         public static void main_quit ();
13267         [CCode (cheader_filename = "gtk/gtk.h")]
13268         [Version (deprecated = true, deprecated_since = "3.0")]
13269         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);
13270         [CCode (cheader_filename = "gtk/gtk.h")]
13271         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_background")]
13272         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);
13273         [CCode (cheader_filename = "gtk/gtk.h")]
13274         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_frame_gap")]
13275         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);
13276         [CCode (cheader_filename = "gtk/gtk.h")]
13277         [Version (deprecated = true, deprecated_since = "3.0")]
13278         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);
13279         [CCode (cheader_filename = "gtk/gtk.h")]
13280         [Version (deprecated = true, deprecated_since = "3.0")]
13281         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);
13282         [CCode (cheader_filename = "gtk/gtk.h")]
13283         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_expander")]
13284         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);
13285         [CCode (cheader_filename = "gtk/gtk.h")]
13286         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_extension")]
13287         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);
13288         [CCode (cheader_filename = "gtk/gtk.h")]
13289         [Version (deprecated = true, deprecated_since = "3.0")]
13290         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);
13291         [CCode (cheader_filename = "gtk/gtk.h")]
13292         [Version (deprecated = true, deprecated_since = "3.0")]
13293         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);
13294         [CCode (cheader_filename = "gtk/gtk.h")]
13295         [Version (deprecated = true, deprecated_since = "3.0")]
13296         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);
13297         [CCode (cheader_filename = "gtk/gtk.h")]
13298         [Version (deprecated = true, deprecated_since = "3.0")]
13299         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);
13300         [CCode (cheader_filename = "gtk/gtk.h")]
13301         [Version (deprecated = true, deprecated_since = "3.0")]
13302         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);
13303         [CCode (cheader_filename = "gtk/gtk.h")]
13304         [Version (deprecated = true, deprecated_since = "3.0")]
13305         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);
13306         [CCode (cheader_filename = "gtk/gtk.h")]
13307         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_handle")]
13308         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);
13309         [CCode (cheader_filename = "gtk/gtk.h")]
13310         [Version (deprecated = true, deprecated_since = "3.0")]
13311         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);
13312         [CCode (cheader_filename = "gtk/gtk.h")]
13313         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_frame")]
13314         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);
13315         [CCode (cheader_filename = "gtk/gtk.h")]
13316         [Version (deprecated = true, deprecated_since = "3.0")]
13317         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);
13318         [CCode (cheader_filename = "gtk/gtk.h")]
13319         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_activity")]
13320         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);
13321         [CCode (cheader_filename = "gtk/gtk.h")]
13322         [Version (deprecated = true, deprecated_since = "3.0")]
13323         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);
13324         [CCode (cheader_filename = "gtk/gtk.h")]
13325         [Version (deprecated = true, deprecated_since = "3.0")]
13326         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);
13327         [CCode (cheader_filename = "gtk/gtk.h")]
13328         public static bool parse_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[] argv);
13329         [CCode (cheader_filename = "gtk/gtk.h")]
13330         [Version (since = "2.10")]
13331         public static Gtk.PageSetup print_run_page_setup_dialog (Gtk.Window? parent, Gtk.PageSetup? page_setup, Gtk.PrintSettings settings);
13332         [CCode (cheader_filename = "gtk/gtk.h")]
13333         [Version (since = "2.10")]
13334         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);
13335         [CCode (cheader_filename = "gtk/gtk.h")]
13336         public static void propagate_event (Gtk.Widget widget, Gdk.Event event);
13337         [CCode (cheader_filename = "gtk/gtk.h")]
13338         [Version (deprecated = true, deprecated_since = "3.0")]
13339         public static void rc_add_default_file (string filename);
13340         [CCode (cheader_filename = "gtk/gtk.h")]
13341         [Version (deprecated = true, deprecated_since = "3.0")]
13342         public static string rc_find_module_in_path (string module_file);
13343         [CCode (cheader_filename = "gtk/gtk.h")]
13344         [Version (deprecated = true, deprecated_since = "3.0")]
13345         public static string rc_find_pixmap_in_path (Gtk.Settings settings, GLib.Scanner scanner, string pixmap_file);
13346         [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
13347         [Version (deprecated = true, deprecated_since = "3.0")]
13348         public static unowned string[] rc_get_default_files ();
13349         [CCode (cheader_filename = "gtk/gtk.h")]
13350         [Version (deprecated = true, deprecated_since = "3.0")]
13351         public static string rc_get_im_module_file ();
13352         [CCode (cheader_filename = "gtk/gtk.h")]
13353         [Version (deprecated = true, deprecated_since = "3.0")]
13354         public static string rc_get_im_module_path ();
13355         [CCode (cheader_filename = "gtk/gtk.h")]
13356         [Version (deprecated = true, deprecated_since = "3.0")]
13357         public static string rc_get_module_dir ();
13358         [CCode (cheader_filename = "gtk/gtk.h")]
13359         [Version (deprecated = true, deprecated_since = "3.0")]
13360         public static unowned Gtk.Style rc_get_style (Gtk.Widget widget);
13361         [CCode (cheader_filename = "gtk/gtk.h")]
13362         [Version (deprecated = true, deprecated_since = "3.0")]
13363         public static unowned Gtk.Style? rc_get_style_by_paths (Gtk.Settings settings, string? widget_path, string? class_path, GLib.Type type);
13364         [CCode (cheader_filename = "gtk/gtk.h")]
13365         [Version (deprecated = true, deprecated_since = "3.0")]
13366         public static string rc_get_theme_dir ();
13367         [CCode (cheader_filename = "gtk/gtk.h")]
13368         [Version (deprecated = true, deprecated_since = "3.0")]
13369         public static void rc_parse (string filename);
13370         [CCode (cheader_filename = "gtk/gtk.h")]
13371         [Version (deprecated = true, deprecated_since = "3.0")]
13372         public static uint rc_parse_color (GLib.Scanner scanner, out Gdk.Color color);
13373         [CCode (cheader_filename = "gtk/gtk.h")]
13374         [Version (deprecated = true, deprecated_since = "3.0", since = "2.12")]
13375         public static uint rc_parse_color_full (GLib.Scanner scanner, Gtk.RcStyle? style, out Gdk.Color color);
13376         [CCode (cheader_filename = "gtk/gtk.h")]
13377         [Version (deprecated = true, deprecated_since = "3.0")]
13378         public static uint rc_parse_priority (GLib.Scanner scanner, Gtk.PathPriorityType priority);
13379         [CCode (cheader_filename = "gtk/gtk.h")]
13380         [Version (deprecated = true, deprecated_since = "3.0")]
13381         public static uint rc_parse_state (GLib.Scanner scanner, out Gtk.StateType state);
13382         [CCode (cheader_filename = "gtk/gtk.h")]
13383         [Version (deprecated = true, deprecated_since = "3.0")]
13384         public static void rc_parse_string (string rc_string);
13385         [CCode (cheader_filename = "gtk/gtk.h")]
13386         [Version (deprecated = true, deprecated_since = "3.0")]
13387         public static bool rc_reparse_all ();
13388         [CCode (cheader_filename = "gtk/gtk.h")]
13389         [Version (deprecated = true, deprecated_since = "3.0")]
13390         public static bool rc_reparse_all_for_settings (Gtk.Settings settings, bool force_load);
13391         [CCode (cheader_filename = "gtk/gtk.h")]
13392         [Version (deprecated = true, deprecated_since = "3.0", since = "2.4")]
13393         public static void rc_reset_styles (Gtk.Settings settings);
13394         [CCode (cheader_filename = "gtk/gtk.h")]
13395         [Version (deprecated = true, deprecated_since = "3.0")]
13396         public static unowned GLib.Scanner rc_scanner_new ();
13397         [CCode (cheader_filename = "gtk/gtk.h")]
13398         [Version (deprecated = true, deprecated_since = "3.0")]
13399         public static void rc_set_default_files ([CCode (array_length = false, array_null_terminated = true)] string[] filenames);
13400         [CCode (cheader_filename = "gtk/gtk.h")]
13401         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_activity")]
13402         public static void render_activity (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13403         [CCode (cheader_filename = "gtk/gtk.h")]
13404         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_arrow")]
13405         public static void render_arrow (Gtk.StyleContext context, Cairo.Context cr, double angle, double x, double y, double size);
13406         [CCode (cheader_filename = "gtk/gtk.h")]
13407         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_background")]
13408         public static void render_background (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13409         [CCode (cheader_filename = "gtk/gtk.h")]
13410         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_check")]
13411         public static void render_check (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13412         [CCode (cheader_filename = "gtk/gtk.h")]
13413         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_expander")]
13414         public static void render_expander (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13415         [CCode (cheader_filename = "gtk/gtk.h")]
13416         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_extension")]
13417         public static void render_extension (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
13418         [CCode (cheader_filename = "gtk/gtk.h")]
13419         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_focus")]
13420         public static void render_focus (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13421         [CCode (cheader_filename = "gtk/gtk.h")]
13422         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_frame")]
13423         public static void render_frame (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13424         [CCode (cheader_filename = "gtk/gtk.h")]
13425         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_frame_gap")]
13426         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);
13427         [CCode (cheader_filename = "gtk/gtk.h")]
13428         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_handle")]
13429         public static void render_handle (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13430         [CCode (cheader_filename = "gtk/gtk.h")]
13431         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_icon")]
13432         public static void render_icon (Gtk.StyleContext context, Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
13433         [CCode (cheader_filename = "gtk/gtk.h")]
13434         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_icon_pixbuf")]
13435         public static Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSource source, Gtk.IconSize size);
13436         [CCode (cheader_filename = "gtk/gtk.h")]
13437         public static void render_icon_surface (Gtk.StyleContext context, Cairo.Context cr, Cairo.Surface surface, double x, double y);
13438         [CCode (cheader_filename = "gtk/gtk.h")]
13439         public static void render_insertion_cursor (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
13440         [CCode (cheader_filename = "gtk/gtk.h")]
13441         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_layout")]
13442         public static void render_layout (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout);
13443         [CCode (cheader_filename = "gtk/gtk.h")]
13444         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_line")]
13445         public static void render_line (Gtk.StyleContext context, Cairo.Context cr, double x0, double y0, double x1, double y1);
13446         [CCode (cheader_filename = "gtk/gtk.h")]
13447         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_option")]
13448         public static void render_option (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13449         [CCode (cheader_filename = "gtk/gtk.h")]
13450         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_slider")]
13451         public static void render_slider (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
13452         [CCode (cheader_filename = "gtk/gtk.h")]
13453         [Version (since = "2.14")]
13454         public static void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double v);
13455         [CCode (cheader_filename = "gtk/gtk.h")]
13456         public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info);
13457         [CCode (cheader_filename = "gtk/gtk.h")]
13458         public static void selection_add_targets (Gtk.Widget widget, Gdk.Atom selection, [CCode (array_length_cname = "ntargets", array_length_pos = 3.1, array_length_type = "guint")] Gtk.TargetEntry[] targets);
13459         [CCode (cheader_filename = "gtk/gtk.h")]
13460         public static void selection_clear_targets (Gtk.Widget widget, Gdk.Atom selection);
13461         [CCode (cheader_filename = "gtk/gtk.h")]
13462         public static bool selection_convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
13463         [CCode (cheader_filename = "gtk/gtk.h")]
13464         public static bool selection_owner_set (Gtk.Widget? widget, Gdk.Atom selection, uint32 time_);
13465         [CCode (cheader_filename = "gtk/gtk.h")]
13466         [Version (since = "2.2")]
13467         public static bool selection_owner_set_for_display (Gdk.Display display, Gtk.Widget? widget, Gdk.Atom selection, uint32 time_);
13468         [CCode (cheader_filename = "gtk/gtk.h")]
13469         public static void selection_remove_all (Gtk.Widget widget);
13470         [CCode (cheader_filename = "gtk/gtk.h")]
13471         public static void set_debug_flags (uint flags);
13472         [CCode (cheader_filename = "gtk/gtk.h")]
13473         [Version (since = "2.6")]
13474         public static void show_about_dialog (Gtk.Window? parent, ...);
13475         [CCode (cheader_filename = "gtk/gtk.h")]
13476         [Version (since = "2.14")]
13477         public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
13478         [CCode (cheader_filename = "gtk/gtk.h")]
13479         [Version (since = "3.22")]
13480         public static bool show_uri_on_window (Gtk.Window? parent, string uri, uint32 timestamp) throws GLib.Error;
13481         [CCode (cheader_filename = "gtk/gtk.h")]
13482         [Version (deprecated = true, deprecated_since = "3.10")]
13483         public static void stock_add ([CCode (array_length_cname = "n_items", array_length_pos = 1.1, array_length_type = "guint")] Gtk.StockItem[] items);
13484         [CCode (cheader_filename = "gtk/gtk.h")]
13485         [Version (deprecated = true, deprecated_since = "3.10")]
13486         public static void stock_add_static ([CCode (array_length_cname = "n_items", array_length_pos = 1.1, array_length_type = "guint")] Gtk.StockItem[] items);
13487         [CCode (cheader_filename = "gtk/gtk.h")]
13488         [Version (deprecated = true, deprecated_since = "3.10")]
13489         public static GLib.SList<string> stock_list_ids ();
13490         [CCode (cheader_filename = "gtk/gtk.h")]
13491         [Version (deprecated = true, deprecated_since = "3.10")]
13492         public static bool stock_lookup (string stock_id, out Gtk.StockItem item);
13493         [CCode (cheader_filename = "gtk/gtk.h")]
13494         [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
13495         public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
13496         [CCode (cheader_filename = "gtk/gtk.h")]
13497         [Version (since = "2.10")]
13498         public static void target_table_free ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gtk.TargetEntry[] targets);
13499         [CCode (array_length_pos = 1.1, cheader_filename = "gtk/gtk.h")]
13500         [Version (since = "2.10")]
13501         public static Gtk.TargetEntry[] target_table_new_from_list (Gtk.TargetList list);
13502         [CCode (cheader_filename = "gtk/gtk.h")]
13503         [Version (since = "2.10")]
13504         public static bool targets_include_image ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gdk.Atom[] targets, bool writable);
13505         [CCode (cheader_filename = "gtk/gtk.h")]
13506         [Version (since = "2.10")]
13507         public static bool targets_include_rich_text ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gdk.Atom[] targets, Gtk.TextBuffer buffer);
13508         [CCode (cheader_filename = "gtk/gtk.h")]
13509         [Version (since = "2.10")]
13510         public static bool targets_include_text ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gdk.Atom[] targets);
13511         [CCode (cheader_filename = "gtk/gtk.h")]
13512         [Version (since = "2.10")]
13513         public static bool targets_include_uri ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gdk.Atom[] targets);
13514         [CCode (cheader_filename = "gtk/gtk.h")]
13515         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13516         public static unowned Gtk.Widget test_create_simple_window (string window_title, string dialog_text);
13517         [CCode (cheader_filename = "gtk/gtk.h")]
13518         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13519         public static unowned Gtk.Widget test_create_widget (GLib.Type widget_type, ...);
13520         [CCode (cheader_filename = "gtk/gtk.h")]
13521         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13522         public static Gtk.Widget test_display_button_window (string window_title, string dialog_text, ...);
13523         [CCode (cheader_filename = "gtk/gtk.h")]
13524         [Version (since = "2.14")]
13525         public static unowned Gtk.Widget test_find_label (Gtk.Widget widget, string label_pattern);
13526         [CCode (cheader_filename = "gtk/gtk.h")]
13527         [Version (since = "2.14")]
13528         public static unowned Gtk.Widget test_find_sibling (Gtk.Widget base_widget, GLib.Type widget_type);
13529         [CCode (cheader_filename = "gtk/gtk.h")]
13530         [Version (since = "2.14")]
13531         public static unowned Gtk.Widget? test_find_widget (Gtk.Widget widget, string label_pattern, GLib.Type widget_type);
13532         [CCode (cheader_filename = "gtk/gtk.h")]
13533         [Version (since = "2.14")]
13534         public static void test_init ([CCode (array_length_cname = "argcp", array_length_pos = 0.5)] ref unowned string[] argvp, ...);
13535         [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "guint", array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
13536         [Version (since = "2.14")]
13537         public static unowned GLib.Type[] test_list_all_types ();
13538         [CCode (cheader_filename = "gtk/gtk.h")]
13539         [Version (since = "2.14")]
13540         public static void test_register_all_types ();
13541         [CCode (cheader_filename = "gtk/gtk.h")]
13542         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13543         public static double test_slider_get_value (Gtk.Widget widget);
13544         [CCode (cheader_filename = "gtk/gtk.h")]
13545         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13546         public static void test_slider_set_perc (Gtk.Widget widget, double percentage);
13547         [CCode (cheader_filename = "gtk/gtk.h")]
13548         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13549         public static bool test_spin_button_click (Gtk.SpinButton spinner, uint button, bool upwards);
13550         [CCode (cheader_filename = "gtk/gtk.h")]
13551         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13552         public static string test_text_get (Gtk.Widget widget);
13553         [CCode (cheader_filename = "gtk/gtk.h")]
13554         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13555         public static void test_text_set (Gtk.Widget widget, string str);
13556         [CCode (cheader_filename = "gtk/gtk.h")]
13557         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13558         public static bool test_widget_click (Gtk.Widget widget, uint button, Gdk.ModifierType modifiers);
13559         [CCode (cheader_filename = "gtk/gtk.h")]
13560         [Version (since = "2.14")]
13561         public static bool test_widget_send_key (Gtk.Widget widget, uint keyval, Gdk.ModifierType modifiers);
13562         [CCode (cheader_filename = "gtk/gtk.h")]
13563         [Version (since = "3.10")]
13564         public static void test_widget_wait_for_draw (Gtk.Widget widget);
13565         [CCode (cheader_filename = "gtk/gtk.h")]
13566         public static bool tree_get_row_drag_data (Gtk.SelectionData selection_data, out unowned Gtk.TreeModel? tree_model, out Gtk.TreePath? path);
13567         [CCode (cheader_filename = "gtk/gtk.h")]
13568         public static bool tree_set_row_drag_data (Gtk.SelectionData selection_data, Gtk.TreeModel tree_model, Gtk.TreePath path);