gtk+-*.0: Hide dedicated constructors of compact classes bound as structs
[vala-gnome.git] / vapi / gtk+-3.0.vapi
blob5123bf9e2290d02d76a88d8ee996f76881a3b270
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.22.29")]
4273                 public bool get_revealed ();
4274                 [Version (since = "3.10")]
4275                 public bool get_show_close_button ();
4276                 [Version (since = "2.18")]
4277                 public void set_default_response (int response_id);
4278                 [Version (since = "2.18")]
4279                 public void set_message_type (Gtk.MessageType message_type);
4280                 [Version (since = "2.18")]
4281                 public void set_response_sensitive (int response_id, bool setting);
4282                 [Version (since = "3.22.29")]
4283                 public void set_revealed (bool revealed);
4284                 [Version (since = "3.10")]
4285                 public void set_show_close_button (bool setting);
4286                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4287                 public InfoBar.with_buttons (...);
4288                 [Version (since = "2.18")]
4289                 public Gtk.MessageType message_type { get; set construct; }
4290                 public bool revealed { get; set; }
4291                 [Version (since = "3.10")]
4292                 public bool show_close_button { get; set construct; }
4293                 [Version (since = "2.18")]
4294                 public virtual signal void close ();
4295                 [HasEmitter]
4296                 [Version (since = "2.18")]
4297                 public virtual signal void response (int response_id);
4298         }
4299         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_invisible_get_type ()")]
4300         public class Invisible : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
4301                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4302                 public Invisible ();
4303                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4304                 [Version (since = "2.2")]
4305                 public Invisible.for_screen (Gdk.Screen screen);
4306                 [Version (since = "2.2")]
4307                 public unowned Gdk.Screen get_screen ();
4308                 [Version (since = "2.2")]
4309                 public void set_screen (Gdk.Screen screen);
4310                 public Gdk.Screen screen { get; set; }
4311         }
4312         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_label_get_type ()")]
4313         public class Label : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
4314                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4315                 public Label (string? str);
4316                 [Version (since = "2.6")]
4317                 public double get_angle ();
4318                 public unowned Pango.AttrList? get_attributes ();
4319                 [Version (since = "2.18")]
4320                 public unowned string get_current_uri ();
4321                 [Version (since = "2.6")]
4322                 public Pango.EllipsizeMode get_ellipsize ();
4323                 public Gtk.Justification get_justify ();
4324                 public unowned string get_label ();
4325                 public unowned Pango.Layout get_layout ();
4326                 public void get_layout_offsets (out int x, out int y);
4327                 public bool get_line_wrap ();
4328                 [Version (since = "2.10")]
4329                 public Pango.WrapMode get_line_wrap_mode ();
4330                 [Version (since = "3.10")]
4331                 public int get_lines ();
4332                 [Version (since = "2.6")]
4333                 public int get_max_width_chars ();
4334                 public uint get_mnemonic_keyval ();
4335                 public unowned Gtk.Widget? get_mnemonic_widget ();
4336                 public bool get_selectable ();
4337                 public bool get_selection_bounds (out int start, out int end);
4338                 [Version (since = "2.6")]
4339                 public bool get_single_line_mode ();
4340                 public unowned string get_text ();
4341                 [Version (since = "2.18")]
4342                 public bool get_track_visited_links ();
4343                 public bool get_use_markup ();
4344                 public bool get_use_underline ();
4345                 [Version (since = "2.6")]
4346                 public int get_width_chars ();
4347                 [Version (since = "3.16")]
4348                 public float get_xalign ();
4349                 [Version (since = "3.16")]
4350                 public float get_yalign ();
4351                 public void select_region (int start_offset, int end_offset);
4352                 [Version (since = "2.6")]
4353                 public void set_angle (double angle);
4354                 public void set_attributes (Pango.AttrList? attrs);
4355                 [Version (since = "2.6")]
4356                 public void set_ellipsize (Pango.EllipsizeMode mode);
4357                 public void set_justify (Gtk.Justification jtype);
4358                 public void set_label (string str);
4359                 public void set_line_wrap (bool wrap);
4360                 [Version (since = "2.10")]
4361                 public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
4362                 [Version (since = "3.10")]
4363                 public void set_lines (int lines);
4364                 public void set_markup (string str);
4365                 public void set_markup_with_mnemonic (string str);
4366                 [Version (since = "2.6")]
4367                 public void set_max_width_chars (int n_chars);
4368                 public void set_mnemonic_widget (Gtk.Widget? widget);
4369                 public void set_pattern (string pattern);
4370                 public void set_selectable (bool setting);
4371                 [Version (since = "2.6")]
4372                 public void set_single_line_mode (bool single_line_mode);
4373                 public void set_text (string str);
4374                 public void set_text_with_mnemonic (string str);
4375                 [Version (since = "2.18")]
4376                 public void set_track_visited_links (bool track_links);
4377                 public void set_use_markup (bool setting);
4378                 public void set_use_underline (bool setting);
4379                 [Version (since = "2.6")]
4380                 public void set_width_chars (int n_chars);
4381                 [Version (since = "3.16")]
4382                 public void set_xalign (float xalign);
4383                 [Version (since = "3.16")]
4384                 public void set_yalign (float yalign);
4385                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4386                 public Label.with_mnemonic (string? str);
4387                 [Version (since = "2.6")]
4388                 public double angle { get; set; }
4389                 public Pango.AttrList attributes { get; set; }
4390                 [NoAccessorMethod]
4391                 public int cursor_position { get; }
4392                 [Version (since = "2.6")]
4393                 public Pango.EllipsizeMode ellipsize { get; set; }
4394                 public Gtk.Justification justify { get; set; }
4395                 public string label { get; set; }
4396                 [Version (since = "3.10")]
4397                 public int lines { get; set; }
4398                 [Version (since = "2.6")]
4399                 public int max_width_chars { get; set; }
4400                 public uint mnemonic_keyval { get; }
4401                 public Gtk.Widget mnemonic_widget { get; set; }
4402                 public string pattern { set; }
4403                 public bool selectable { get; set; }
4404                 [NoAccessorMethod]
4405                 public int selection_bound { get; }
4406                 [Version (since = "2.6")]
4407                 public bool single_line_mode { get; set; }
4408                 [Version (since = "2.18")]
4409                 public bool track_visited_links { get; set; }
4410                 public bool use_markup { get; set; }
4411                 public bool use_underline { get; set; }
4412                 [Version (since = "2.6")]
4413                 public int width_chars { get; set; }
4414                 [NoAccessorMethod]
4415                 public bool wrap { get; set; }
4416                 [NoAccessorMethod]
4417                 [Version (since = "2.10")]
4418                 public Pango.WrapMode wrap_mode { get; set; }
4419                 [Version (since = "3.16")]
4420                 public float xalign { get; set; }
4421                 [Version (since = "3.16")]
4422                 public float yalign { get; set; }
4423                 [Version (since = "2.18")]
4424                 public signal void activate_current_link ();
4425                 [Version (since = "2.18")]
4426                 public virtual signal bool activate_link (string uri);
4427                 public virtual signal void copy_clipboard ();
4428                 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
4429                 public virtual signal void populate_popup (Gtk.Menu menu);
4430         }
4431         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_label_accessible_get_type ()")]
4432         public class LabelAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Hypertext, Atk.Text {
4433                 [CCode (has_construct_function = false)]
4434                 protected LabelAccessible ();
4435         }
4436         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
4437         [Compact]
4438         public class LabelSelectionInfo {
4439         }
4440         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_layout_get_type ()")]
4441         public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
4442                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4443                 public Layout (Gtk.Adjustment? hadjustment = null, Gtk.Adjustment? vadjustment = null);
4444                 [Version (since = "2.14")]
4445                 public unowned Gdk.Window get_bin_window ();
4446                 [Version (deprecated = true, deprecated_since = "3.0")]
4447                 public unowned Gtk.Adjustment get_hadjustment ();
4448                 public void get_size (out uint width, out uint height);
4449                 [Version (deprecated = true, deprecated_since = "3.0")]
4450                 public unowned Gtk.Adjustment get_vadjustment ();
4451                 public void move (Gtk.Widget child_widget, int x, int y);
4452                 public void put (Gtk.Widget child_widget, int x, int y);
4453                 [Version (deprecated = true, deprecated_since = "3.0")]
4454                 public void set_hadjustment (Gtk.Adjustment? adjustment);
4455                 public void set_size (uint width, uint height);
4456                 [Version (deprecated = true, deprecated_since = "3.0")]
4457                 public void set_vadjustment (Gtk.Adjustment? adjustment);
4458                 [NoAccessorMethod]
4459                 public uint height { get; set; }
4460                 [NoAccessorMethod]
4461                 public uint width { get; set; }
4462         }
4463         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_level_bar_get_type ()")]
4464         public class LevelBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4465                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4466                 [Version (since = "3.6")]
4467                 public LevelBar ();
4468                 [Version (since = "3.6")]
4469                 public void add_offset_value (string name, double value);
4470                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4471                 [Version (since = "3.6")]
4472                 public LevelBar.for_interval (double min_value, double max_value);
4473                 [Version (since = "3.8")]
4474                 public bool get_inverted ();
4475                 [Version (since = "3.6")]
4476                 public double get_max_value ();
4477                 [Version (since = "3.6")]
4478                 public double get_min_value ();
4479                 [Version (since = "3.6")]
4480                 public Gtk.LevelBarMode get_mode ();
4481                 [Version (since = "3.6")]
4482                 public bool get_offset_value (string? name, out double value);
4483                 [Version (since = "3.6")]
4484                 public double get_value ();
4485                 [Version (since = "3.6")]
4486                 public void remove_offset_value (string? name);
4487                 [Version (since = "3.8")]
4488                 public void set_inverted (bool inverted);
4489                 [Version (since = "3.6")]
4490                 public void set_max_value (double value);
4491                 [Version (since = "3.6")]
4492                 public void set_min_value (double value);
4493                 [Version (since = "3.6")]
4494                 public void set_mode (Gtk.LevelBarMode mode);
4495                 [Version (since = "3.6")]
4496                 public void set_value (double value);
4497                 [Version (since = "3.8")]
4498                 public bool inverted { get; set; }
4499                 [Version (since = "3.6")]
4500                 public double max_value { get; set; }
4501                 [Version (since = "3.6")]
4502                 public double min_value { get; set; }
4503                 [Version (since = "3.6")]
4504                 public Gtk.LevelBarMode mode { get; set; }
4505                 [Version (since = "3.6")]
4506                 public double value { get; set; }
4507                 [Version (since = "3.6")]
4508                 public virtual signal void offset_changed (string name);
4509         }
4510         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_level_bar_accessible_get_type ()")]
4511         public class LevelBarAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
4512                 [CCode (has_construct_function = false)]
4513                 protected LevelBarAccessible ();
4514         }
4515         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_link_button_get_type ()")]
4516         public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4517                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4518                 [Version (since = "2.10")]
4519                 public LinkButton (string uri);
4520                 [Version (since = "2.10")]
4521                 public unowned string get_uri ();
4522                 [Version (since = "2.14")]
4523                 public bool get_visited ();
4524                 [Version (since = "2.10")]
4525                 public void set_uri (string uri);
4526                 [Version (since = "2.14")]
4527                 public void set_visited (bool visited);
4528                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4529                 [Version (since = "2.10")]
4530                 public LinkButton.with_label (string uri, string? label);
4531                 [Version (since = "2.10")]
4532                 public string uri { get; set; }
4533                 [Version (since = "2.14")]
4534                 public bool visited { get; set; }
4535                 public virtual signal bool activate_link ();
4536         }
4537         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_link_button_accessible_get_type ()")]
4538         public class LinkButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.HyperlinkImpl, Atk.Image {
4539                 [CCode (has_construct_function = false)]
4540                 protected LinkButtonAccessible ();
4541         }
4542         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_get_type ()")]
4543         public class ListBox : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4544                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4545                 [Version (since = "3.10")]
4546                 public ListBox ();
4547                 [Version (since = "3.16")]
4548                 public void bind_model (GLib.ListModel? model, owned Gtk.ListBoxCreateWidgetFunc? create_widget_func);
4549                 [Version (since = "3.10")]
4550                 public void drag_highlight_row (Gtk.ListBoxRow row);
4551                 [Version (since = "3.10")]
4552                 public void drag_unhighlight_row ();
4553                 [Version (since = "3.10")]
4554                 public bool get_activate_on_single_click ();
4555                 [Version (since = "3.10")]
4556                 public unowned Gtk.Adjustment get_adjustment ();
4557                 [Version (since = "3.10")]
4558                 public unowned Gtk.ListBoxRow? get_row_at_index (int index_);
4559                 [Version (since = "3.10")]
4560                 public unowned Gtk.ListBoxRow? get_row_at_y (int y);
4561                 [Version (since = "3.10")]
4562                 public unowned Gtk.ListBoxRow get_selected_row ();
4563                 [Version (since = "3.14")]
4564                 public GLib.List<weak Gtk.ListBoxRow> get_selected_rows ();
4565                 [Version (since = "3.10")]
4566                 public Gtk.SelectionMode get_selection_mode ();
4567                 [Version (since = "3.10")]
4568                 public void insert (Gtk.Widget child, int position);
4569                 [Version (since = "3.10")]
4570                 public void invalidate_filter ();
4571                 [Version (since = "3.10")]
4572                 public void invalidate_headers ();
4573                 [Version (since = "3.10")]
4574                 public void invalidate_sort ();
4575                 [Version (since = "3.10")]
4576                 public void prepend (Gtk.Widget child);
4577                 [Version (since = "3.10")]
4578                 public void select_row (Gtk.ListBoxRow? row);
4579                 [Version (since = "3.14")]
4580                 public void selected_foreach (Gtk.ListBoxForeachFunc func);
4581                 [Version (since = "3.10")]
4582                 public void set_activate_on_single_click (bool single);
4583                 [Version (since = "3.10")]
4584                 public void set_adjustment (Gtk.Adjustment? adjustment);
4585                 [Version (since = "3.10")]
4586                 public void set_filter_func (owned Gtk.ListBoxFilterFunc? filter_func);
4587                 [Version (since = "3.10")]
4588                 public void set_header_func (owned Gtk.ListBoxUpdateHeaderFunc? update_header);
4589                 [Version (since = "3.10")]
4590                 public void set_placeholder (Gtk.Widget? placeholder);
4591                 [Version (since = "3.10")]
4592                 public void set_selection_mode (Gtk.SelectionMode mode);
4593                 [Version (since = "3.10")]
4594                 public void set_sort_func (owned Gtk.ListBoxSortFunc? sort_func);
4595                 [Version (since = "3.14")]
4596                 public void unselect_row (Gtk.ListBoxRow row);
4597                 public bool activate_on_single_click { get; set; }
4598                 public Gtk.SelectionMode selection_mode { get; set; }
4599                 public virtual signal void activate_cursor_row ();
4600                 public virtual signal void move_cursor (Gtk.MovementStep step, int count);
4601                 [Version (since = "3.10")]
4602                 public virtual signal void row_activated (Gtk.ListBoxRow row);
4603                 [Version (since = "3.10")]
4604                 public virtual signal void row_selected (Gtk.ListBoxRow? row);
4605                 [HasEmitter]
4606                 [Version (since = "3.14")]
4607                 public virtual signal void select_all ();
4608                 [Version (since = "3.14")]
4609                 public virtual signal void selected_rows_changed ();
4610                 public virtual signal void toggle_cursor_row ();
4611                 [HasEmitter]
4612                 [Version (since = "3.14")]
4613                 public virtual signal void unselect_all ();
4614         }
4615         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_accessible_get_type ()")]
4616         public class ListBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
4617                 [CCode (has_construct_function = false)]
4618                 protected ListBoxAccessible ();
4619         }
4620         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_row_get_type ()")]
4621         public class ListBoxRow : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
4622                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4623                 [Version (since = "3.10")]
4624                 public ListBoxRow ();
4625                 [Version (since = "3.10")]
4626                 public void changed ();
4627                 [Version (since = "3.14")]
4628                 public bool get_activatable ();
4629                 [Version (since = "3.10")]
4630                 public unowned Gtk.Widget? get_header ();
4631                 [Version (since = "3.10")]
4632                 public int get_index ();
4633                 [Version (since = "3.14")]
4634                 public bool get_selectable ();
4635                 [Version (since = "3.14")]
4636                 public bool is_selected ();
4637                 [Version (since = "3.14")]
4638                 public void set_activatable (bool activatable);
4639                 [Version (since = "3.10")]
4640                 public void set_header (Gtk.Widget? header);
4641                 [Version (since = "3.14")]
4642                 public void set_selectable (bool selectable);
4643                 [Version (since = "3.14")]
4644                 public bool activatable { get; set; }
4645                 [Version (since = "3.14")]
4646                 public bool selectable { get; set; }
4647                 [Version (since = "3.10")]
4648                 public virtual signal void activate ();
4649         }
4650         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_row_accessible_get_type ()")]
4651         public class ListBoxRowAccessible : Gtk.ContainerAccessible, Atk.Component {
4652                 [CCode (has_construct_function = false)]
4653                 protected ListBoxRowAccessible ();
4654         }
4655         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_store_get_type ()")]
4656         public class ListStore : GLib.Object, Gtk.Buildable, Gtk.TreeDragDest, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
4657                 [CCode (has_construct_function = false, sentinel = "-1")]
4658                 public ListStore (int n_columns, ...);
4659                 public void append (out Gtk.TreeIter iter);
4660                 public void clear ();
4661                 public void insert (out Gtk.TreeIter iter, int position);
4662                 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
4663                 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
4664                 [CCode (sentinel = "-1")]
4665                 [Version (since = "2.6")]
4666                 public void insert_with_values (out Gtk.TreeIter iter, int position, ...);
4667                 [Version (since = "2.6")]
4668                 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);
4669                 [Version (since = "2.2")]
4670                 public bool iter_is_valid (Gtk.TreeIter iter);
4671                 [Version (since = "2.2")]
4672                 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
4673                 [Version (since = "2.2")]
4674                 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
4675                 [CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
4676                 public ListStore.newv ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
4677                 public void prepend (out Gtk.TreeIter iter);
4678                 public bool remove (ref Gtk.TreeIter iter);
4679                 [Version (since = "2.2")]
4680                 public void reorder ([CCode (array_length = false, array_null_terminated = true)] int[] new_order);
4681                 [CCode (sentinel = "-1")]
4682                 public void @set (Gtk.TreeIter iter, ...);
4683                 public void set_column_types ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
4684                 public void set_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
4685                 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
4686                 [Version (since = "2.12")]
4687                 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);
4688                 [Version (since = "2.2")]
4689                 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
4690         }
4691         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_lock_button_get_type ()")]
4692         public class LockButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4693                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4694                 [Version (since = "3.2")]
4695                 public LockButton (GLib.Permission? permission);
4696                 [Version (since = "3.2")]
4697                 public unowned GLib.Permission get_permission ();
4698                 [Version (since = "3.2")]
4699                 public void set_permission (GLib.Permission? permission);
4700                 public GLib.Permission permission { get; set; }
4701                 [NoAccessorMethod]
4702                 public string text_lock { owned get; set construct; }
4703                 [NoAccessorMethod]
4704                 public string text_unlock { owned get; set construct; }
4705                 [NoAccessorMethod]
4706                 public string tooltip_lock { owned get; set construct; }
4707                 [NoAccessorMethod]
4708                 public string tooltip_not_authorized { owned get; set construct; }
4709                 [NoAccessorMethod]
4710                 public string tooltip_unlock { owned get; set construct; }
4711         }
4712         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_lock_button_accessible_get_type ()")]
4713         public class LockButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
4714                 [CCode (has_construct_function = false)]
4715                 protected LockButtonAccessible ();
4716         }
4717         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_get_type ()")]
4718         public class Menu : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
4719                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4720                 public Menu ();
4721                 [Version (since = "2.4")]
4722                 public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
4723                 public void attach_to_widget (Gtk.Widget attach_widget, [CCode (scope = "async")] Gtk.MenuDetachFunc? detacher);
4724                 public void detach ();
4725                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4726                 [Version (since = "3.4")]
4727                 public Menu.from_model (GLib.MenuModel model);
4728                 public unowned Gtk.AccelGroup get_accel_group ();
4729                 [Version (since = "2.14")]
4730                 public unowned string get_accel_path ();
4731                 public unowned Gtk.Widget get_active ();
4732                 public unowned Gtk.Widget get_attach_widget ();
4733                 [Version (since = "2.6")]
4734                 public static unowned GLib.List<Gtk.Menu> get_for_attach_widget (Gtk.Widget widget);
4735                 [Version (since = "2.14")]
4736                 public int get_monitor ();
4737                 [Version (since = "2.18")]
4738                 public bool get_reserve_toggle_size ();
4739                 [Version (deprecated = true, deprecated_since = "3.10")]
4740                 public bool get_tearoff_state ();
4741                 [Version (deprecated = true, deprecated_since = "3.10")]
4742                 public unowned string get_title ();
4743                 [Version (since = "3.22")]
4744                 public void place_on_monitor (Gdk.Monitor monitor);
4745                 public void popdown ();
4746                 [Version (deprecated = true, deprecated_since = "3.22")]
4747                 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);
4748                 [Version (since = "3.22")]
4749                 public void popup_at_pointer (Gdk.Event? trigger_event = null);
4750                 [Version (since = "3.22")]
4751                 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);
4752                 [Version (since = "3.22")]
4753                 public void popup_at_widget (Gtk.Widget widget, Gdk.Gravity widget_anchor, Gdk.Gravity menu_anchor, Gdk.Event? trigger_event = null);
4754                 [Version (deprecated = true, deprecated_since = "3.22", since = "3.0")]
4755                 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);
4756                 public void reorder_child (Gtk.Widget child, int position);
4757                 public void reposition ();
4758                 public void set_accel_group (Gtk.AccelGroup? accel_group);
4759                 public void set_accel_path (string? accel_path);
4760                 public void set_active (uint index);
4761                 [Version (since = "2.4")]
4762                 public void set_monitor (int monitor_num);
4763                 [Version (since = "2.18")]
4764                 public void set_reserve_toggle_size (bool reserve_toggle_size);
4765                 [Version (since = "2.2")]
4766                 public void set_screen (Gdk.Screen? screen);
4767                 [Version (deprecated = true, deprecated_since = "3.10")]
4768                 public void set_tearoff_state (bool torn_off);
4769                 [Version (deprecated = true, deprecated_since = "3.10")]
4770                 public void set_title (string title);
4771                 [Version (since = "2.14")]
4772                 public Gtk.AccelGroup accel_group { get; set; }
4773                 [Version (since = "2.14")]
4774                 public string accel_path { get; set; }
4775                 [Version (since = "2.14")]
4776                 public int active { get; set; }
4777                 [NoAccessorMethod]
4778                 [Version (since = "3.22")]
4779                 public Gdk.AnchorHints anchor_hints { get; set construct; }
4780                 [NoAccessorMethod]
4781                 [Version (since = "2.14")]
4782                 public Gtk.Widget attach_widget { owned get; set; }
4783                 [NoAccessorMethod]
4784                 [Version (since = "3.22")]
4785                 public Gdk.WindowTypeHint menu_type_hint { get; set construct; }
4786                 [Version (since = "2.14")]
4787                 public int monitor { get; set; }
4788                 [NoAccessorMethod]
4789                 [Version (since = "3.22")]
4790                 public int rect_anchor_dx { get; set construct; }
4791                 [NoAccessorMethod]
4792                 [Version (since = "3.22")]
4793                 public int rect_anchor_dy { get; set construct; }
4794                 [Version (since = "2.18")]
4795                 public bool reserve_toggle_size { get; set; }
4796                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
4797                 public bool tearoff_state { get; set; }
4798                 [NoAccessorMethod]
4799                 [Version (deprecated = true, deprecated_since = "3.10")]
4800                 public string tearoff_title { owned get; set; }
4801                 public signal void move_scroll (Gtk.ScrollType scroll_type);
4802                 [Version (since = "3.22")]
4803                 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);
4804         }
4805         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_accessible_get_type ()")]
4806         public class MenuAccessible : Gtk.MenuShellAccessible, Atk.Component, Atk.Selection {
4807                 [CCode (has_construct_function = false)]
4808                 protected MenuAccessible ();
4809         }
4810         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_bar_get_type ()")]
4811         public class MenuBar : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
4812                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4813                 public MenuBar ();
4814                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4815                 [Version (since = "3.4")]
4816                 public MenuBar.from_model (GLib.MenuModel model);
4817                 [Version (since = "2.8")]
4818                 public Gtk.PackDirection get_child_pack_direction ();
4819                 [Version (since = "2.8")]
4820                 public Gtk.PackDirection get_pack_direction ();
4821                 [Version (since = "2.8")]
4822                 public void set_child_pack_direction (Gtk.PackDirection child_pack_dir);
4823                 [Version (since = "2.8")]
4824                 public void set_pack_direction (Gtk.PackDirection pack_dir);
4825                 [Version (since = "2.8")]
4826                 public Gtk.PackDirection child_pack_direction { get; set; }
4827                 [Version (since = "2.8")]
4828                 public Gtk.PackDirection pack_direction { get; set; }
4829         }
4830         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_button_get_type ()")]
4831         public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4832                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4833                 [Version (since = "3.6")]
4834                 public MenuButton ();
4835                 [Version (since = "3.6")]
4836                 public unowned Gtk.Widget? get_align_widget ();
4837                 [Version (since = "3.6")]
4838                 public Gtk.ArrowType get_direction ();
4839                 [Version (since = "3.6")]
4840                 public unowned GLib.MenuModel? get_menu_model ();
4841                 [Version (since = "3.12")]
4842                 public unowned Gtk.Popover? get_popover ();
4843                 [Version (since = "3.6")]
4844                 public unowned Gtk.Menu? get_popup ();
4845                 [Version (since = "3.12")]
4846                 public bool get_use_popover ();
4847                 [Version (since = "3.6")]
4848                 public void set_align_widget (Gtk.Widget? align_widget);
4849                 [Version (since = "3.6")]
4850                 public void set_direction (Gtk.ArrowType direction);
4851                 [Version (since = "3.6")]
4852                 public void set_menu_model (GLib.MenuModel? menu_model);
4853                 [Version (since = "3.12")]
4854                 public void set_popover (Gtk.Widget? popover);
4855                 [Version (since = "3.6")]
4856                 public void set_popup (Gtk.Widget? menu);
4857                 [Version (since = "3.12")]
4858                 public void set_use_popover (bool use_popover);
4859                 [Version (since = "3.6")]
4860                 public Gtk.Container align_widget { get; set; }
4861                 [Version (since = "3.6")]
4862                 public Gtk.ArrowType direction { get; set; }
4863                 [Version (since = "3.6")]
4864                 public GLib.MenuModel menu_model { get; set; }
4865                 [Version (since = "3.12")]
4866                 public Gtk.Popover popover { get; set; }
4867                 [Version (since = "3.6")]
4868                 public Gtk.Menu popup { get; set; }
4869                 [Version (since = "3.12")]
4870                 public bool use_popover { get; set; }
4871         }
4872         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_button_accessible_get_type ()")]
4873         public class MenuButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
4874                 [CCode (has_construct_function = false)]
4875                 protected MenuButtonAccessible ();
4876         }
4877         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_item_get_type ()")]
4878         public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4879                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4880                 public MenuItem ();
4881                 [Version (since = "2.14")]
4882                 public unowned string? get_accel_path ();
4883                 [Version (since = "2.16")]
4884                 public virtual unowned string get_label ();
4885                 [Version (since = "3.0")]
4886                 public bool get_reserve_indicator ();
4887                 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Widget.get_hexpand and Widget.get_halign")]
4888                 public bool get_right_justified ();
4889                 public unowned Gtk.Widget? get_submenu ();
4890                 [Version (since = "2.16")]
4891                 public bool get_use_underline ();
4892                 public void set_accel_path (string? accel_path);
4893                 [Version (since = "2.16")]
4894                 public virtual void set_label (string label);
4895                 [Version (since = "3.0")]
4896                 public void set_reserve_indicator (bool reserve);
4897                 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Widget.set_hexpand and Widget.set_halign")]
4898                 public void set_right_justified (bool right_justified);
4899                 public void set_submenu (Gtk.Menu? submenu);
4900                 [Version (since = "2.16")]
4901                 public void set_use_underline (bool setting);
4902                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4903                 public MenuItem.with_label (string label);
4904                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4905                 public MenuItem.with_mnemonic (string label);
4906                 [Version (since = "2.14")]
4907                 public string accel_path { get; set; }
4908                 [Version (since = "2.16")]
4909                 public string label { get; set; }
4910                 [Version (since = "2.14")]
4911                 public bool right_justified { get; set; }
4912                 [Version (since = "2.12")]
4913                 public Gtk.Menu submenu { get; set; }
4914                 [Version (since = "2.16")]
4915                 public bool use_underline { get; set; }
4916                 [HasEmitter]
4917                 public virtual signal void activate ();
4918                 public virtual signal void activate_item ();
4919                 [HasEmitter]
4920                 public virtual signal void deselect ();
4921                 [HasEmitter]
4922                 public virtual signal void select ();
4923                 [HasEmitter]
4924                 public virtual signal void toggle_size_allocate (int allocation);
4925                 [HasEmitter]
4926                 public virtual signal void toggle_size_request (void* requisition);
4927         }
4928         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_item_accessible_get_type ()")]
4929         public class MenuItemAccessible : Gtk.ContainerAccessible, Atk.Action, Atk.Component, Atk.Selection {
4930                 [CCode (has_construct_function = false)]
4931                 protected MenuItemAccessible ();
4932         }
4933         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_shell_get_type ()")]
4934         public abstract class MenuShell : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4935                 [CCode (has_construct_function = false)]
4936                 protected MenuShell ();
4937                 public void activate_item (Gtk.Widget menu_item, bool force_deactivate);
4938                 public void append (Gtk.MenuItem child);
4939                 [Version (since = "3.6")]
4940                 public void bind_model (GLib.MenuModel? model, string? action_namespace, bool with_separators);
4941                 public void deselect ();
4942                 [Version (since = "3.0")]
4943                 public unowned Gtk.Widget get_parent_shell ();
4944                 [NoWrapper]
4945                 public virtual int get_popup_delay ();
4946                 [Version (since = "3.0")]
4947                 public unowned Gtk.Widget get_selected_item ();
4948                 [Version (since = "2.8")]
4949                 public bool get_take_focus ();
4950                 public void prepend (Gtk.Widget child);
4951                 [Version (since = "2.2")]
4952                 public void select_first (bool search_sensitive);
4953                 public virtual void select_item (Gtk.Widget menu_item);
4954                 [Version (since = "2.8")]
4955                 public void set_take_focus (bool take_focus);
4956                 [Version (since = "2.8")]
4957                 public bool take_focus { get; set; }
4958                 public virtual signal void activate_current (bool force_hide);
4959                 [HasEmitter]
4960                 public virtual signal void cancel ();
4961                 public signal void cycle_focus (Gtk.DirectionType direction);
4962                 [HasEmitter]
4963                 public virtual signal void deactivate ();
4964                 [HasEmitter]
4965                 [Version (since = "3.2")]
4966                 public virtual signal void insert (Gtk.Widget child, int position);
4967                 public virtual signal void move_current (Gtk.MenuDirectionType direction);
4968                 [Version (since = "2.12")]
4969                 public virtual signal bool move_selected (int distance);
4970                 public virtual signal void selection_done ();
4971         }
4972         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_shell_accessible_get_type ()")]
4973         public class MenuShellAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
4974                 [CCode (has_construct_function = false)]
4975                 protected MenuShellAccessible ();
4976         }
4977         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_tool_button_get_type ()")]
4978         public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4979                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
4980                 [Version (since = "2.6")]
4981                 public MenuToolButton (Gtk.Widget? icon_widget, string? label);
4982                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
4983                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
4984                 public MenuToolButton.from_stock (string stock_id);
4985                 [Version (since = "2.6")]
4986                 public unowned Gtk.Widget get_menu ();
4987                 [Version (since = "2.12")]
4988                 public void set_arrow_tooltip_markup (string markup);
4989                 [Version (since = "2.12")]
4990                 public void set_arrow_tooltip_text (string text);
4991                 [Version (since = "2.6")]
4992                 public void set_menu (Gtk.Widget menu);
4993                 public Gtk.Menu menu { get; set; }
4994                 public virtual signal void show_menu ();
4995         }
4996         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_message_dialog_get_type ()")]
4997         public class MessageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
4998                 [CCode (has_construct_function = false, type = "GtkWidget*")]
4999                 [PrintfFormat]
5000                 public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string? message_format, ...);
5001                 [PrintfFormat]
5002                 [Version (since = "2.6")]
5003                 public void format_secondary_markup (string message_format, ...);
5004                 [PrintfFormat]
5005                 [Version (since = "2.6")]
5006                 public void format_secondary_text (string? message_format, ...);
5007                 [Version (deprecated = true, deprecated_since = "3.12", since = "2.14")]
5008                 public unowned Gtk.Widget get_image ();
5009                 [Version (since = "2.22")]
5010                 public unowned Gtk.Widget get_message_area ();
5011                 [Version (deprecated = true, deprecated_since = "3.12", since = "2.10")]
5012                 public void set_image (Gtk.Widget image);
5013                 [Version (since = "2.4")]
5014                 public void set_markup (string str);
5015                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5016                 [PrintfFormat]
5017                 [Version (since = "2.4")]
5018                 public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string? message_format, ...);
5019                 [NoAccessorMethod]
5020                 public Gtk.ButtonsType buttons { construct; }
5021                 [Version (deprecated = true, deprecated_since = "3.12", since = "2.10")]
5022                 public Gtk.Widget image { get; set; }
5023                 [Version (since = "2.22")]
5024                 public Gtk.Widget message_area { get; }
5025                 [NoAccessorMethod]
5026                 public Gtk.MessageType message_type { get; set construct; }
5027                 [NoAccessorMethod]
5028                 [Version (since = "2.10")]
5029                 public string secondary_text { owned get; set; }
5030                 [NoAccessorMethod]
5031                 [Version (since = "2.10")]
5032                 public bool secondary_use_markup { get; set; }
5033                 [NoAccessorMethod]
5034                 [Version (since = "2.10")]
5035                 public string text { owned get; set; }
5036                 [NoAccessorMethod]
5037                 [Version (since = "2.10")]
5038                 public bool use_markup { get; set; }
5039         }
5040         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_misc_get_type ()")]
5041         [Version (deprecated = true, deprecated_since = "3.14")]
5042         public abstract class Misc : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
5043                 [CCode (has_construct_function = false)]
5044                 protected Misc ();
5045                 public void get_alignment (out float xalign, out float yalign);
5046                 public void get_padding (out int xpad, out int ypad);
5047                 public void set_alignment (float xalign, float yalign);
5048                 public void set_padding (int xpad, int ypad);
5049                 [NoAccessorMethod]
5050                 public float xalign { get; set; }
5051                 [NoAccessorMethod]
5052                 public int xpad { get; set; }
5053                 [NoAccessorMethod]
5054                 public float yalign { get; set; }
5055                 [NoAccessorMethod]
5056                 public int ypad { get; set; }
5057         }
5058         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_model_button_get_type ()")]
5059         public class ModelButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
5060                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5061                 [Version (since = "3.16")]
5062                 public ModelButton ();
5063                 [NoAccessorMethod]
5064                 [Version (since = "3.16")]
5065                 public bool active { get; set; }
5066                 [NoAccessorMethod]
5067                 [Version (since = "3.16")]
5068                 public bool centered { get; set; }
5069                 [NoAccessorMethod]
5070                 [Version (since = "3.16")]
5071                 public GLib.Icon? icon { owned get; set; }
5072                 [NoAccessorMethod]
5073                 [Version (since = "3.16")]
5074                 public bool iconic { get; set; }
5075                 [NoAccessorMethod]
5076                 [Version (since = "3.16")]
5077                 public bool inverted { get; set; }
5078                 [NoAccessorMethod]
5079                 [Version (since = "3.16")]
5080                 public string menu_name { owned get; set; }
5081                 [NoAccessorMethod]
5082                 [Version (since = "3.16")]
5083                 public Gtk.ButtonRole role { get; set; }
5084                 [NoAccessorMethod]
5085                 [Version (since = "3.16")]
5086                 public string text { owned get; set; }
5087         }
5088         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_mount_operation_get_type ()")]
5089         public class MountOperation : GLib.MountOperation {
5090                 [CCode (has_construct_function = false, type = "GMountOperation*")]
5091                 [Version (since = "2.14")]
5092                 public MountOperation (Gtk.Window? parent);
5093                 [Version (since = "2.14")]
5094                 public unowned Gtk.Window get_parent ();
5095                 [Version (since = "2.14")]
5096                 public unowned Gdk.Screen get_screen ();
5097                 [Version (since = "2.14")]
5098                 public void set_parent (Gtk.Window? parent);
5099                 [Version (since = "2.14")]
5100                 public void set_screen (Gdk.Screen screen);
5101                 [NoAccessorMethod]
5102                 public bool is_showing { get; }
5103                 public Gtk.Window parent { get; set; }
5104                 public Gdk.Screen screen { get; set; }
5105         }
5106         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_native_dialog_get_type ()")]
5107         public abstract class NativeDialog : GLib.Object {
5108                 [CCode (has_construct_function = false)]
5109                 protected NativeDialog ();
5110                 [Version (since = "3.20")]
5111                 public void destroy ();
5112                 [Version (since = "3.20")]
5113                 public bool get_modal ();
5114                 [Version (since = "3.20")]
5115                 public unowned string? get_title ();
5116                 [Version (since = "3.20")]
5117                 public unowned Gtk.Window? get_transient_for ();
5118                 [Version (since = "3.20")]
5119                 public bool get_visible ();
5120                 [Version (since = "3.20")]
5121                 public virtual void hide ();
5122                 [Version (since = "3.20")]
5123                 public int run ();
5124                 [Version (since = "3.20")]
5125                 public void set_modal (bool modal);
5126                 [Version (since = "3.20")]
5127                 public void set_title (string? title);
5128                 [Version (since = "3.20")]
5129                 public void set_transient_for (Gtk.Window? parent);
5130                 [Version (since = "3.20")]
5131                 public virtual void show ();
5132                 [Version (since = "3.20")]
5133                 public bool modal { get; set; }
5134                 [Version (since = "3.20")]
5135                 public string? title { get; set; }
5136                 [Version (since = "3.20")]
5137                 public Gtk.Window? transient_for { get; set construct; }
5138                 [NoAccessorMethod]
5139                 [Version (since = "3.20")]
5140                 public bool visible { get; set; }
5141                 [Version (since = "3.20")]
5142                 public virtual signal void response (int response_id);
5143         }
5144         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_notebook_get_type ()")]
5145         public class Notebook : Gtk.Container, Atk.Implementor, Gtk.Buildable {
5146                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5147                 public Notebook ();
5148                 public int append_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
5149                 public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
5150                 [Version (since = "3.16")]
5151                 public void detach_tab (Gtk.Widget child);
5152                 [Version (since = "2.20")]
5153                 public unowned Gtk.Widget? get_action_widget (Gtk.PackType pack_type);
5154                 public int get_current_page ();
5155                 [Version (since = "2.24")]
5156                 public unowned string? get_group_name ();
5157                 public unowned Gtk.Widget? get_menu_label (Gtk.Widget child);
5158                 public unowned string? get_menu_label_text (Gtk.Widget child);
5159                 [Version (since = "2.2")]
5160                 public int get_n_pages ();
5161                 public unowned Gtk.Widget? get_nth_page (int page_num);
5162                 public bool get_scrollable ();
5163                 public bool get_show_border ();
5164                 public bool get_show_tabs ();
5165                 [Version (since = "2.10")]
5166                 public bool get_tab_detachable (Gtk.Widget child);
5167                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.22")]
5168                 public uint16 get_tab_hborder ();
5169                 public unowned Gtk.Widget? get_tab_label (Gtk.Widget child);
5170                 public unowned string? get_tab_label_text (Gtk.Widget child);
5171                 public Gtk.PositionType get_tab_pos ();
5172                 [Version (since = "2.10")]
5173                 public bool get_tab_reorderable (Gtk.Widget child);
5174                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.22")]
5175                 public uint16 get_tab_vborder ();
5176                 public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
5177                 [CCode (vfunc_name = "insert_page")]
5178                 [NoWrapper]
5179                 public virtual int insert_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label, int position);
5180                 public void next_page ();
5181                 public int page_num (Gtk.Widget child);
5182                 public void popup_disable ();
5183                 public void popup_enable ();
5184                 public int prepend_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
5185                 public int prepend_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
5186                 public void prev_page ();
5187                 public void remove_page (int page_num);
5188                 public void reorder_child (Gtk.Widget child, int position);
5189                 [Version (since = "2.20")]
5190                 public void set_action_widget (Gtk.Widget widget, Gtk.PackType pack_type);
5191                 public void set_current_page (int page_num);
5192                 [Version (since = "2.24")]
5193                 public void set_group_name (string? group_name);
5194                 public void set_menu_label (Gtk.Widget child, Gtk.Widget? menu_label);
5195                 public void set_menu_label_text (Gtk.Widget child, string menu_text);
5196                 public void set_scrollable (bool scrollable);
5197                 public void set_show_border (bool show_border);
5198                 public void set_show_tabs (bool show_tabs);
5199                 [Version (since = "2.10")]
5200                 public void set_tab_detachable (Gtk.Widget child, bool detachable);
5201                 public void set_tab_label (Gtk.Widget child, Gtk.Widget? tab_label);
5202                 public void set_tab_label_text (Gtk.Widget child, string tab_text);
5203                 public void set_tab_pos (Gtk.PositionType pos);
5204                 [Version (since = "2.10")]
5205                 public void set_tab_reorderable (Gtk.Widget child, bool reorderable);
5206                 [NoAccessorMethod]
5207                 public bool enable_popup { get; set; }
5208                 [Version (since = "2.24")]
5209                 public string group_name { get; set; }
5210                 [NoAccessorMethod]
5211                 public int page { get; set; }
5212                 public bool scrollable { get; set; }
5213                 public bool show_border { get; set; }
5214                 public bool show_tabs { get; set; }
5215                 public Gtk.PositionType tab_pos { get; set; }
5216                 public virtual signal bool change_current_page (int offset);
5217                 [Version (since = "2.12")]
5218                 public signal unowned Gtk.Notebook create_window (Gtk.Widget page, int x, int y);
5219                 public virtual signal bool focus_tab (Gtk.NotebookTab type);
5220                 public virtual signal void move_focus_out (Gtk.DirectionType direction);
5221                 [Version (since = "2.10")]
5222                 public virtual signal void page_added (Gtk.Widget child, uint page_num);
5223                 [Version (since = "2.10")]
5224                 public virtual signal void page_removed (Gtk.Widget child, uint page_num);
5225                 [Version (since = "2.10")]
5226                 public virtual signal void page_reordered (Gtk.Widget child, uint page_num);
5227                 public virtual signal bool reorder_tab (Gtk.DirectionType direction, bool move_to_last);
5228                 public virtual signal bool select_page (bool move_focus);
5229                 public virtual signal void switch_page (Gtk.Widget page, uint page_num);
5230         }
5231         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_notebook_accessible_get_type ()")]
5232         public class NotebookAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
5233                 [CCode (has_construct_function = false)]
5234                 protected NotebookAccessible ();
5235         }
5236         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_notebook_page_accessible_get_type ()")]
5237         public class NotebookPageAccessible : Atk.Object, Atk.Component {
5238                 [CCode (has_construct_function = false, type = "AtkObject*")]
5239                 public NotebookPageAccessible (Gtk.NotebookAccessible notebook, Gtk.Widget child);
5240                 public void invalidate ();
5241         }
5242         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_numerable_icon_get_type ()")]
5243         [Version (deprecated = true, deprecated_since = "3.14")]
5244         public class NumerableIcon : GLib.EmblemedIcon, GLib.Icon {
5245                 [CCode (has_construct_function = false, type = "GIcon*")]
5246                 [Version (since = "3.0")]
5247                 public NumerableIcon (GLib.Icon base_icon);
5248                 [Version (since = "3.0")]
5249                 public unowned GLib.Icon? get_background_gicon ();
5250                 [Version (since = "3.0")]
5251                 public unowned string? get_background_icon_name ();
5252                 [Version (since = "3.0")]
5253                 public int get_count ();
5254                 [Version (since = "3.0")]
5255                 public unowned string? get_label ();
5256                 [Version (since = "3.0")]
5257                 public unowned Gtk.StyleContext? get_style_context ();
5258                 [Version (since = "3.0")]
5259                 public void set_background_gicon (GLib.Icon? icon);
5260                 [Version (since = "3.0")]
5261                 public void set_background_icon_name (string? icon_name);
5262                 [Version (since = "3.0")]
5263                 public void set_count (int count);
5264                 [Version (since = "3.0")]
5265                 public void set_label (string? label);
5266                 [Version (since = "3.0")]
5267                 public void set_style_context (Gtk.StyleContext style);
5268                 [CCode (has_construct_function = false, type = "GIcon*")]
5269                 [Version (since = "3.0")]
5270                 public NumerableIcon.with_style_context (GLib.Icon base_icon, Gtk.StyleContext context);
5271                 [NoAccessorMethod]
5272                 public GLib.Icon background_icon { owned get; set; }
5273                 public string background_icon_name { get; set; }
5274                 public int count { get; set; }
5275                 public string label { get; set; }
5276                 public Gtk.StyleContext style_context { get; set; }
5277         }
5278         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_offscreen_window_get_type ()")]
5279         public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
5280                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5281                 [Version (since = "2.20")]
5282                 public OffscreenWindow ();
5283                 [Version (since = "2.20")]
5284                 public Gdk.Pixbuf? get_pixbuf ();
5285                 [Version (since = "2.20")]
5286                 public unowned Cairo.Surface? get_surface ();
5287         }
5288         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_overlay_get_type ()")]
5289         public class Overlay : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
5290                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5291                 [Version (since = "3.2")]
5292                 public Overlay ();
5293                 [Version (since = "3.2")]
5294                 public void add_overlay (Gtk.Widget widget);
5295                 [Version (since = "3.18")]
5296                 public bool get_overlay_pass_through (Gtk.Widget widget);
5297                 [Version (since = "3.18")]
5298                 public void reorder_overlay (Gtk.Widget child, int position);
5299                 [Version (since = "3.18")]
5300                 public void set_overlay_pass_through (Gtk.Widget widget, bool pass_through);
5301                 public virtual signal bool get_child_position (Gtk.Widget widget, out Gdk.Rectangle allocation);
5302         }
5303         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_pad_controller_get_type ()")]
5304         public class PadController : Gtk.EventController {
5305                 [CCode (has_construct_function = false)]
5306                 [Version (since = "3.22")]
5307                 public PadController (Gtk.Window window, GLib.ActionGroup group, Gdk.Device? pad);
5308                 [Version (since = "3.22")]
5309                 public void set_action (Gtk.PadActionType type, int index, int mode, string label, string action_name);
5310                 [Version (since = "3.22")]
5311                 public void set_action_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.1)] Gtk.PadActionEntry[] entries);
5312                 [NoAccessorMethod]
5313                 public GLib.ActionGroup action_group { owned get; construct; }
5314                 [NoAccessorMethod]
5315                 public Gdk.Device pad { owned get; construct; }
5316         }
5317         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_page_setup_get_type ()")]
5318         public class PageSetup : GLib.Object {
5319                 [CCode (has_construct_function = false)]
5320                 [Version (since = "2.10")]
5321                 public PageSetup ();
5322                 [Version (since = "2.10")]
5323                 public Gtk.PageSetup copy ();
5324                 [CCode (has_construct_function = false)]
5325                 [Version (since = "2.12")]
5326                 public PageSetup.from_file (string file_name) throws GLib.Error;
5327                 [CCode (has_construct_function = false)]
5328                 [Version (since = "3.22")]
5329                 public PageSetup.from_gvariant (GLib.Variant variant);
5330                 [CCode (has_construct_function = false)]
5331                 [Version (since = "2.12")]
5332                 public PageSetup.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5333                 [Version (since = "2.10")]
5334                 public double get_bottom_margin (Gtk.Unit unit);
5335                 [Version (since = "2.10")]
5336                 public double get_left_margin (Gtk.Unit unit);
5337                 [Version (since = "2.10")]
5338                 public Gtk.PageOrientation get_orientation ();
5339                 [Version (since = "2.10")]
5340                 public double get_page_height (Gtk.Unit unit);
5341                 [Version (since = "2.10")]
5342                 public double get_page_width (Gtk.Unit unit);
5343                 [Version (since = "2.10")]
5344                 public double get_paper_height (Gtk.Unit unit);
5345                 [Version (since = "2.10")]
5346                 public unowned Gtk.PaperSize get_paper_size ();
5347                 [Version (since = "2.10")]
5348                 public double get_paper_width (Gtk.Unit unit);
5349                 [Version (since = "2.10")]
5350                 public double get_right_margin (Gtk.Unit unit);
5351                 [Version (since = "2.10")]
5352                 public double get_top_margin (Gtk.Unit unit);
5353                 [Version (since = "2.14")]
5354                 public bool load_file (string file_name) throws GLib.Error;
5355                 [Version (since = "2.14")]
5356                 public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5357                 [Version (since = "2.10")]
5358                 public void set_bottom_margin (double margin, Gtk.Unit unit);
5359                 [Version (since = "2.10")]
5360                 public void set_left_margin (double margin, Gtk.Unit unit);
5361                 [Version (since = "2.10")]
5362                 public void set_orientation (Gtk.PageOrientation orientation);
5363                 [Version (since = "2.10")]
5364                 public void set_paper_size (Gtk.PaperSize size);
5365                 [Version (since = "2.10")]
5366                 public void set_paper_size_and_default_margins (Gtk.PaperSize size);
5367                 [Version (since = "2.10")]
5368                 public void set_right_margin (double margin, Gtk.Unit unit);
5369                 [Version (since = "2.10")]
5370                 public void set_top_margin (double margin, Gtk.Unit unit);
5371                 [Version (since = "2.12")]
5372                 public bool to_file (string file_name) throws GLib.Error;
5373                 [CCode (returns_floating_reference = true)]
5374                 [Version (since = "3.22")]
5375                 public GLib.Variant to_gvariant ();
5376                 [Version (since = "2.12")]
5377                 public void to_key_file (GLib.KeyFile key_file, string group_name);
5378         }
5379         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_paned_get_type ()")]
5380         public class Paned : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5381                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5382                 [Version (since = "3.0")]
5383                 public Paned (Gtk.Orientation orientation);
5384                 public void add1 (Gtk.Widget child);
5385                 public void add2 (Gtk.Widget child);
5386                 [Version (since = "2.4")]
5387                 public unowned Gtk.Widget? get_child1 ();
5388                 [Version (since = "2.4")]
5389                 public unowned Gtk.Widget? get_child2 ();
5390                 [Version (since = "2.20")]
5391                 public unowned Gdk.Window get_handle_window ();
5392                 public int get_position ();
5393                 [Version (since = "3.16")]
5394                 public bool get_wide_handle ();
5395                 public void pack1 (Gtk.Widget child, bool resize, bool shrink);
5396                 public void pack2 (Gtk.Widget child, bool resize, bool shrink);
5397                 public void set_position (int position);
5398                 [Version (since = "3.16")]
5399                 public void set_wide_handle (bool wide);
5400                 [NoAccessorMethod]
5401                 [Version (since = "2.4")]
5402                 public int max_position { get; }
5403                 [NoAccessorMethod]
5404                 [Version (since = "2.4")]
5405                 public int min_position { get; }
5406                 public int position { get; set; }
5407                 [NoAccessorMethod]
5408                 public bool position_set { get; set; }
5409                 [Version (since = "3.16")]
5410                 public bool wide_handle { get; set; }
5411                 [Version (since = "2.0")]
5412                 public virtual signal bool accept_position ();
5413                 [Version (since = "2.0")]
5414                 public virtual signal bool cancel_position ();
5415                 [Version (since = "2.0")]
5416                 public virtual signal bool cycle_child_focus (bool reverse);
5417                 [Version (since = "2.0")]
5418                 public virtual signal bool cycle_handle_focus (bool reverse);
5419                 [Version (since = "2.0")]
5420                 public virtual signal bool move_handle (Gtk.ScrollType scroll);
5421                 [Version (since = "2.0")]
5422                 public virtual signal bool toggle_handle_focus ();
5423         }
5424         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_paned_accessible_get_type ()")]
5425         public class PanedAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Value {
5426                 [CCode (has_construct_function = false)]
5427                 protected PanedAccessible ();
5428         }
5429         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_paper_size_get_type ()")]
5430         [Compact]
5431         public class PaperSize {
5432                 [CCode (has_construct_function = false)]
5433                 [Version (since = "2.10")]
5434                 public PaperSize (string? name);
5435                 [Version (since = "2.10")]
5436                 public Gtk.PaperSize copy ();
5437                 [CCode (has_construct_function = false)]
5438                 [Version (since = "2.10")]
5439                 public PaperSize.custom (string name, string display_name, double width, double height, Gtk.Unit unit);
5440                 [DestroysInstance]
5441                 [Version (since = "2.10")]
5442                 public void free ();
5443                 [CCode (has_construct_function = false)]
5444                 [Version (since = "3.22")]
5445                 public PaperSize.from_gvariant (GLib.Variant variant);
5446                 [CCode (has_construct_function = false)]
5447                 [Version (since = "3.16")]
5448                 public PaperSize.from_ipp (string ipp_name, double width, double height);
5449                 [CCode (has_construct_function = false)]
5450                 [Version (since = "2.12")]
5451                 public PaperSize.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
5452                 [CCode (has_construct_function = false)]
5453                 [Version (since = "2.10")]
5454                 public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height);
5455                 [CCode (cheader_filename = "gtk/gtk.h")]
5456                 [Version (since = "2.10")]
5457                 public static unowned string get_default ();
5458                 [Version (since = "2.10")]
5459                 public double get_default_bottom_margin (Gtk.Unit unit);
5460                 [Version (since = "2.10")]
5461                 public double get_default_left_margin (Gtk.Unit unit);
5462                 [Version (since = "2.10")]
5463                 public double get_default_right_margin (Gtk.Unit unit);
5464                 [Version (since = "2.10")]
5465                 public double get_default_top_margin (Gtk.Unit unit);
5466                 [Version (since = "2.10")]
5467                 public unowned string get_display_name ();
5468                 [Version (since = "2.10")]
5469                 public double get_height (Gtk.Unit unit);
5470                 [Version (since = "2.10")]
5471                 public unowned string get_name ();
5472                 [CCode (cheader_filename = "gtk/gtk.h")]
5473                 [Version (since = "2.12")]
5474                 public static GLib.List<Gtk.PaperSize> get_paper_sizes (bool include_custom);
5475                 [Version (since = "2.10")]
5476                 public unowned string get_ppd_name ();
5477                 [Version (since = "2.10")]
5478                 public double get_width (Gtk.Unit unit);
5479                 public bool is_custom ();
5480                 [Version (since = "2.10")]
5481                 public bool is_equal (Gtk.PaperSize size2);
5482                 public bool is_ipp ();
5483                 [Version (since = "2.10")]
5484                 public void set_size (double width, double height, Gtk.Unit unit);
5485                 [CCode (returns_floating_reference = true)]
5486                 [Version (since = "3.22")]
5487                 public GLib.Variant to_gvariant ();
5488                 [Version (since = "2.12")]
5489                 public void to_key_file (GLib.KeyFile key_file, string group_name);
5490         }
5491         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_places_sidebar_get_type ()")]
5492         public class PlacesSidebar : Gtk.ScrolledWindow, Atk.Implementor, Gtk.Buildable {
5493                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5494                 [Version (since = "3.10")]
5495                 public PlacesSidebar ();
5496                 [Version (since = "3.10")]
5497                 public void add_shortcut (GLib.File location);
5498                 [Version (since = "3.12")]
5499                 public bool get_local_only ();
5500                 [Version (since = "3.10")]
5501                 public GLib.File? get_location ();
5502                 [Version (since = "3.10")]
5503                 public GLib.File? get_nth_bookmark (int n);
5504                 [Version (since = "3.10")]
5505                 public Gtk.PlacesOpenFlags get_open_flags ();
5506                 [Version (deprecated = true, deprecated_since = "3.18")]
5507                 public bool get_show_connect_to_server ();
5508                 [Version (since = "3.10")]
5509                 public bool get_show_desktop ();
5510                 [Version (since = "3.14")]
5511                 public bool get_show_enter_location ();
5512                 [Version (since = "3.18")]
5513                 public bool get_show_other_locations ();
5514                 [Version (since = "3.18")]
5515                 public bool get_show_recent ();
5516                 [Version (since = "3.22.26")]
5517                 public bool get_show_starred_location ();
5518                 [Version (since = "3.18")]
5519                 public bool get_show_trash ();
5520                 [Version (since = "3.10")]
5521                 public GLib.SList<GLib.File> list_shortcuts ();
5522                 [Version (since = "3.10")]
5523                 public void remove_shortcut (GLib.File location);
5524                 [Version (since = "3.18")]
5525                 public void set_drop_targets_visible (bool visible, Gdk.DragContext context);
5526                 [Version (since = "3.12")]
5527                 public void set_local_only (bool local_only);
5528                 [Version (since = "3.10")]
5529                 public void set_location (GLib.File? location);
5530                 [Version (since = "3.10")]
5531                 public void set_open_flags (Gtk.PlacesOpenFlags flags);
5532                 [Version (deprecated = true, deprecated_since = "3.18", since = "3.10")]
5533                 public void set_show_connect_to_server (bool show_connect_to_server);
5534                 [Version (since = "3.10")]
5535                 public void set_show_desktop (bool show_desktop);
5536                 [Version (since = "3.14")]
5537                 public void set_show_enter_location (bool show_enter_location);
5538                 [Version (since = "3.18")]
5539                 public void set_show_other_locations (bool show_other_locations);
5540                 [Version (since = "3.18")]
5541                 public void set_show_recent (bool show_recent);
5542                 [Version (since = "3.22.26")]
5543                 public void set_show_starred_location (bool show_starred_location);
5544                 [Version (since = "3.18")]
5545                 public void set_show_trash (bool show_trash);
5546                 public bool local_only { get; set; }
5547                 public GLib.File location { owned get; set; }
5548                 public Gtk.PlacesOpenFlags open_flags { get; set; }
5549                 [NoAccessorMethod]
5550                 [Version (since = "3.18")]
5551                 public bool populate_all { get; set; }
5552                 public bool show_connect_to_server { get; set; }
5553                 public bool show_desktop { get; set; }
5554                 public bool show_enter_location { get; set; }
5555                 public bool show_other_locations { get; set; }
5556                 public bool show_recent { get; set; }
5557                 public bool show_starred_location { get; set; }
5558                 public bool show_trash { get; set; }
5559                 [Version (since = "3.10")]
5560                 public signal int drag_action_ask (int actions);
5561                 [Version (since = "3.10")]
5562                 public signal int drag_action_requested (Gdk.DragContext context, GLib.File dest_file, GLib.List<GLib.File> source_file_list);
5563                 [Version (since = "3.10")]
5564                 public signal void drag_perform_drop (GLib.File dest_file, GLib.List<GLib.File> source_file_list, int action);
5565                 [Version (since = "3.20")]
5566                 public signal void mount (GLib.MountOperation mount_operation);
5567                 [Version (since = "3.10")]
5568                 public signal void open_location (GLib.File location, Gtk.PlacesOpenFlags open_flags);
5569                 [Version (since = "3.10")]
5570                 public signal void populate_popup (Gtk.Widget container, GLib.File? selected_item, GLib.Volume? selected_volume);
5571                 [Version (since = "3.10")]
5572                 public signal void show_error_message (string primary, string secondary);
5573                 [CCode (cname = "show-other-locations")]
5574                 [Version (deprecated = true, deprecated_since = "3.20", since = "3.18")]
5575                 public signal void show_other_locations_requested ();
5576                 [Version (since = "3.20")]
5577                 public signal void show_other_locations_with_flags (Gtk.PlacesOpenFlags open_flags);
5578                 [Version (since = "3.20")]
5579                 public signal void unmount (GLib.MountOperation mount_operation);
5580         }
5581         [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_plug_get_type ()")]
5582         public class Plug : Gtk.Window, Atk.Implementor, Gtk.Buildable {
5583                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5584                 public Plug (X.Window socket_id);
5585                 public void @construct (X.Window socket_id);
5586                 [Version (since = "2.2")]
5587                 public void construct_for_display (Gdk.Display display, X.Window socket_id);
5588                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5589                 [Version (since = "2.2")]
5590                 public Plug.for_display (Gdk.Display display, X.Window socket_id);
5591                 [Version (since = "2.14")]
5592                 public bool get_embedded ();
5593                 public X.Window get_id ();
5594                 [Version (since = "2.14")]
5595                 public unowned Gdk.Window? get_socket_window ();
5596                 [Version (since = "2.12")]
5597                 public virtual bool embedded { get; }
5598                 [Version (since = "2.14")]
5599                 public Gdk.Window socket_window { get; }
5600         }
5601         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_get_type ()")]
5602         public class Popover : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
5603                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5604                 [Version (since = "3.12")]
5605                 public Popover (Gtk.Widget? relative_to);
5606                 [Version (since = "3.12")]
5607                 public void bind_model (GLib.MenuModel? model, string? action_namespace);
5608                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5609                 [Version (since = "3.12")]
5610                 public Popover.from_model (Gtk.Widget? relative_to, GLib.MenuModel model);
5611                 [Version (since = "3.20")]
5612                 public Gtk.PopoverConstraint get_constrain_to ();
5613                 [Version (since = "3.18")]
5614                 public unowned Gtk.Widget? get_default_widget ();
5615                 [Version (since = "3.12")]
5616                 public bool get_modal ();
5617                 public bool get_pointing_to (out Gdk.Rectangle rect);
5618                 public Gtk.PositionType get_position ();
5619                 [Version (since = "3.12")]
5620                 public unowned Gtk.Widget get_relative_to ();
5621                 [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
5622                 public bool get_transitions_enabled ();
5623                 [Version (since = "3.22")]
5624                 public void popdown ();
5625                 [Version (since = "3.22")]
5626                 public void popup ();
5627                 [Version (since = "3.20")]
5628                 public void set_constrain_to (Gtk.PopoverConstraint constraint);
5629                 [Version (since = "3.18")]
5630                 public void set_default_widget (Gtk.Widget? widget);
5631                 [Version (since = "3.12")]
5632                 public void set_modal (bool modal);
5633                 [Version (since = "3.12")]
5634                 public void set_pointing_to (Gdk.Rectangle rect);
5635                 [Version (since = "3.12")]
5636                 public void set_position (Gtk.PositionType position);
5637                 [Version (since = "3.12")]
5638                 public void set_relative_to (Gtk.Widget? relative_to);
5639                 [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
5640                 public void set_transitions_enabled (bool transitions_enabled);
5641                 [Version (since = "3.20")]
5642                 public Gtk.PopoverConstraint constrain_to { get; set; }
5643                 [Version (since = "3.12")]
5644                 public bool modal { get; set; }
5645                 [NoAccessorMethod]
5646                 [Version (since = "3.12")]
5647                 public Gdk.Rectangle pointing_to { get; set; }
5648                 [Version (since = "3.12")]
5649                 public Gtk.PositionType position { get; set; }
5650                 [Version (since = "3.12")]
5651                 public Gtk.Widget relative_to { get; set; }
5652                 [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
5653                 public bool transitions_enabled { get; set; }
5654                 public virtual signal void closed ();
5655         }
5656         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_popover_accessible_get_type ()")]
5657         public class PopoverAccessible : Gtk.ContainerAccessible, Atk.Component {
5658                 [CCode (has_construct_function = false)]
5659                 protected PopoverAccessible ();
5660         }
5661         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_menu_get_type ()")]
5662         public class PopoverMenu : Gtk.Popover, Atk.Implementor, Gtk.Buildable {
5663                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5664                 [Version (since = "3.16")]
5665                 public PopoverMenu ();
5666                 [Version (since = "3.16")]
5667                 public void open_submenu (string name);
5668                 [NoAccessorMethod]
5669                 public string visible_submenu { owned get; set; }
5670         }
5671         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_context_get_type ()")]
5672         public class PrintContext : GLib.Object {
5673                 [CCode (has_construct_function = false)]
5674                 protected PrintContext ();
5675                 [Version (since = "2.10")]
5676                 public Pango.Context create_pango_context ();
5677                 [Version (since = "2.10")]
5678                 public Pango.Layout create_pango_layout ();
5679                 [Version (since = "2.10")]
5680                 public unowned Cairo.Context get_cairo_context ();
5681                 [Version (since = "2.10")]
5682                 public double get_dpi_x ();
5683                 [Version (since = "2.10")]
5684                 public double get_dpi_y ();
5685                 [Version (since = "2.20")]
5686                 public bool get_hard_margins (out double top, out double bottom, out double left, out double right);
5687                 [Version (since = "2.10")]
5688                 public double get_height ();
5689                 [Version (since = "2.10")]
5690                 public unowned Gtk.PageSetup get_page_setup ();
5691                 [Version (since = "2.10")]
5692                 public unowned Pango.FontMap get_pango_fontmap ();
5693                 [Version (since = "2.10")]
5694                 public double get_width ();
5695                 [Version (since = "2.10")]
5696                 public void set_cairo_context (Cairo.Context cr, double dpi_x, double dpi_y);
5697         }
5698         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_get_type ()")]
5699         public class PrintOperation : GLib.Object, Gtk.PrintOperationPreview {
5700                 [CCode (has_construct_function = false)]
5701                 [Version (since = "2.10")]
5702                 public PrintOperation ();
5703                 [Version (since = "2.10")]
5704                 public void cancel ();
5705                 [Version (since = "2.16")]
5706                 public void draw_page_finish ();
5707                 [Version (since = "2.10")]
5708                 public unowned Gtk.PageSetup get_default_page_setup ();
5709                 [Version (since = "2.18")]
5710                 public bool get_embed_page_setup ();
5711                 [Version (since = "2.10")]
5712                 public void get_error () throws GLib.Error;
5713                 [Version (since = "2.18")]
5714                 public bool get_has_selection ();
5715                 [Version (since = "2.18")]
5716                 public int get_n_pages_to_print ();
5717                 [Version (since = "2.10")]
5718                 public unowned Gtk.PrintSettings get_print_settings ();
5719                 [Version (since = "2.10")]
5720                 public Gtk.PrintStatus get_status ();
5721                 [Version (since = "2.10")]
5722                 public unowned string get_status_string ();
5723                 [Version (since = "2.18")]
5724                 public bool get_support_selection ();
5725                 [Version (since = "2.10")]
5726                 public bool is_finished ();
5727                 [Version (since = "2.10")]
5728                 public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window? parent) throws GLib.Error;
5729                 [Version (since = "2.10")]
5730                 public void set_allow_async (bool allow_async);
5731                 [Version (since = "2.10")]
5732                 public void set_current_page (int current_page);
5733                 [Version (since = "2.10")]
5734                 public void set_custom_tab_label (string? label);
5735                 [Version (since = "2.10")]
5736                 public void set_default_page_setup (Gtk.PageSetup? default_page_setup);
5737                 [Version (since = "2.16")]
5738                 public void set_defer_drawing ();
5739                 [Version (since = "2.18")]
5740                 public void set_embed_page_setup (bool embed);
5741                 [Version (since = "2.10")]
5742                 public void set_export_filename (string filename);
5743                 [Version (since = "2.18")]
5744                 public void set_has_selection (bool has_selection);
5745                 [Version (since = "2.10")]
5746                 public void set_job_name (string job_name);
5747                 [Version (since = "2.10")]
5748                 public void set_n_pages (int n_pages);
5749                 [Version (since = "2.10")]
5750                 public void set_print_settings (Gtk.PrintSettings? print_settings);
5751                 [Version (since = "2.10")]
5752                 public void set_show_progress (bool show_progress);
5753                 [Version (since = "2.18")]
5754                 public void set_support_selection (bool support_selection);
5755                 [Version (since = "2.10")]
5756                 public void set_track_print_status (bool track_status);
5757                 [Version (since = "2.10")]
5758                 public void set_unit (Gtk.Unit unit);
5759                 [Version (since = "2.10")]
5760                 public void set_use_full_page (bool full_page);
5761                 [NoAccessorMethod]
5762                 [Version (since = "2.10")]
5763                 public bool allow_async { get; set; }
5764                 [NoAccessorMethod]
5765                 [Version (since = "2.10")]
5766                 public int current_page { get; set; }
5767                 [NoAccessorMethod]
5768                 [Version (since = "2.10")]
5769                 public string custom_tab_label { owned get; set; }
5770                 [Version (since = "2.10")]
5771                 public Gtk.PageSetup default_page_setup { get; set; }
5772                 [Version (since = "2.18")]
5773                 public bool embed_page_setup { get; set; }
5774                 [NoAccessorMethod]
5775                 [Version (since = "2.10")]
5776                 public string export_filename { owned get; set; }
5777                 [Version (since = "2.18")]
5778                 public bool has_selection { get; set; }
5779                 [NoAccessorMethod]
5780                 [Version (since = "2.10")]
5781                 public string job_name { owned get; set; }
5782                 [NoAccessorMethod]
5783                 [Version (since = "2.10")]
5784                 public int n_pages { get; set; }
5785                 [Version (since = "2.18")]
5786                 public int n_pages_to_print { get; }
5787                 [Version (since = "2.10")]
5788                 public Gtk.PrintSettings print_settings { get; set; }
5789                 [NoAccessorMethod]
5790                 [Version (since = "2.10")]
5791                 public bool show_progress { get; set; }
5792                 [Version (since = "2.10")]
5793                 public Gtk.PrintStatus status { get; }
5794                 [Version (since = "2.10")]
5795                 public string status_string { get; }
5796                 [Version (since = "2.18")]
5797                 public bool support_selection { get; set; }
5798                 [NoAccessorMethod]
5799                 [Version (since = "2.10")]
5800                 public bool track_print_status { get; set; }
5801                 [NoAccessorMethod]
5802                 [Version (since = "2.10")]
5803                 public Gtk.Unit unit { get; set; }
5804                 [NoAccessorMethod]
5805                 [Version (since = "2.10")]
5806                 public bool use_full_page { get; set; }
5807                 [Version (since = "2.10")]
5808                 public virtual signal void begin_print (Gtk.PrintContext context);
5809                 [Version (since = "2.10")]
5810                 public signal unowned GLib.Object create_custom_widget ();
5811                 [Version (since = "2.10")]
5812                 public virtual signal void custom_widget_apply (Gtk.Widget widget);
5813                 [Version (since = "2.10")]
5814                 public virtual signal void done (Gtk.PrintOperationResult result);
5815                 [Version (since = "2.10")]
5816                 public virtual signal void draw_page (Gtk.PrintContext context, int page_nr);
5817                 [Version (since = "2.10")]
5818                 public virtual signal void end_print (Gtk.PrintContext context);
5819                 [Version (since = "2.10")]
5820                 public virtual signal bool paginate (Gtk.PrintContext context);
5821                 [Version (since = "2.10")]
5822                 public virtual signal bool preview (Gtk.PrintOperationPreview preview, Gtk.PrintContext context, Gtk.Window? parent);
5823                 [Version (since = "2.10")]
5824                 public virtual signal void request_page_setup (Gtk.PrintContext context, int page_nr, Gtk.PageSetup setup);
5825                 [Version (since = "2.10")]
5826                 public virtual signal void status_changed ();
5827                 [Version (since = "2.18")]
5828                 public virtual signal void update_custom_widget (Gtk.Widget widget, Gtk.PageSetup setup, Gtk.PrintSettings settings);
5829         }
5830         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_settings_get_type ()")]
5831         public class PrintSettings : GLib.Object {
5832                 [CCode (has_construct_function = false)]
5833                 [Version (since = "2.10")]
5834                 public PrintSettings ();
5835                 [Version (since = "2.10")]
5836                 public Gtk.PrintSettings copy ();
5837                 [Version (since = "2.10")]
5838                 public void @foreach (Gtk.PrintSettingsFunc func);
5839                 [CCode (has_construct_function = false)]
5840                 [Version (since = "2.12")]
5841                 public PrintSettings.from_file (string file_name) throws GLib.Error;
5842                 [CCode (has_construct_function = false)]
5843                 [Version (since = "3.22")]
5844                 public PrintSettings.from_gvariant (GLib.Variant variant);
5845                 [CCode (has_construct_function = false)]
5846                 [Version (since = "2.12")]
5847                 public PrintSettings.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5848                 [Version (since = "2.10")]
5849                 public unowned string @get (string key);
5850                 [Version (since = "2.10")]
5851                 public bool get_bool (string key);
5852                 [Version (since = "2.10")]
5853                 public bool get_collate ();
5854                 [Version (since = "2.10")]
5855                 public unowned string get_default_source ();
5856                 [Version (since = "2.10")]
5857                 public unowned string get_dither ();
5858                 [Version (since = "2.10")]
5859                 public double get_double (string key);
5860                 [Version (since = "2.10")]
5861                 public double get_double_with_default (string key, double def);
5862                 [Version (since = "2.10")]
5863                 public Gtk.PrintDuplex get_duplex ();
5864                 [Version (since = "2.10")]
5865                 public unowned string get_finishings ();
5866                 [Version (since = "2.10")]
5867                 public int get_int (string key);
5868                 [Version (since = "2.10")]
5869                 public int get_int_with_default (string key, int def);
5870                 [Version (since = "2.10")]
5871                 public double get_length (string key, Gtk.Unit unit);
5872                 [Version (since = "2.10")]
5873                 public unowned string get_media_type ();
5874                 [Version (since = "2.10")]
5875                 public int get_n_copies ();
5876                 [Version (since = "2.10")]
5877                 public int get_number_up ();
5878                 [Version (since = "2.14")]
5879                 public Gtk.NumberUpLayout get_number_up_layout ();
5880                 [Version (since = "2.10")]
5881                 public Gtk.PageOrientation get_orientation ();
5882                 [Version (since = "2.10")]
5883                 public unowned string get_output_bin ();
5884                 [CCode (array_length_pos = 0.1)]
5885                 [Version (since = "2.10")]
5886                 public Gtk.PageRange[] get_page_ranges ();
5887                 [Version (since = "2.10")]
5888                 public Gtk.PageSet get_page_set ();
5889                 [Version (since = "2.10")]
5890                 public double get_paper_height (Gtk.Unit unit);
5891                 [Version (since = "2.10")]
5892                 public Gtk.PaperSize get_paper_size ();
5893                 [Version (since = "2.10")]
5894                 public double get_paper_width (Gtk.Unit unit);
5895                 [Version (since = "2.10")]
5896                 public Gtk.PrintPages get_print_pages ();
5897                 [Version (since = "2.10")]
5898                 public unowned string get_printer ();
5899                 [Version (since = "2.16")]
5900                 public double get_printer_lpi ();
5901                 [Version (since = "2.10")]
5902                 public Gtk.PrintQuality get_quality ();
5903                 [Version (since = "2.10")]
5904                 public int get_resolution ();
5905                 [Version (since = "2.16")]
5906                 public int get_resolution_x ();
5907                 [Version (since = "2.16")]
5908                 public int get_resolution_y ();
5909                 [Version (since = "2.10")]
5910                 public bool get_reverse ();
5911                 [Version (since = "2.10")]
5912                 public double get_scale ();
5913                 [Version (since = "2.10")]
5914                 public bool get_use_color ();
5915                 [Version (since = "2.10")]
5916                 public bool has_key (string key);
5917                 [Version (since = "2.14")]
5918                 public bool load_file (string file_name) throws GLib.Error;
5919                 [Version (since = "2.14")]
5920                 public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5921                 [Version (since = "2.10")]
5922                 public void @set (string key, string? value);
5923                 [Version (since = "2.10")]
5924                 public void set_bool (string key, bool value);
5925                 [Version (since = "2.10")]
5926                 public void set_collate (bool collate);
5927                 [Version (since = "2.10")]
5928                 public void set_default_source (string default_source);
5929                 [Version (since = "2.10")]
5930                 public void set_dither (string dither);
5931                 [Version (since = "2.10")]
5932                 public void set_double (string key, double value);
5933                 [Version (since = "2.10")]
5934                 public void set_duplex (Gtk.PrintDuplex duplex);
5935                 [Version (since = "2.10")]
5936                 public void set_finishings (string finishings);
5937                 [Version (since = "2.10")]
5938                 public void set_int (string key, int value);
5939                 [Version (since = "2.10")]
5940                 public void set_length (string key, double value, Gtk.Unit unit);
5941                 [Version (since = "2.10")]
5942                 public void set_media_type (string media_type);
5943                 [Version (since = "2.10")]
5944                 public void set_n_copies (int num_copies);
5945                 [Version (since = "2.10")]
5946                 public void set_number_up (int number_up);
5947                 [Version (since = "2.14")]
5948                 public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout);
5949                 [Version (since = "2.10")]
5950                 public void set_orientation (Gtk.PageOrientation orientation);
5951                 [Version (since = "2.10")]
5952                 public void set_output_bin (string output_bin);
5953                 [Version (since = "2.10")]
5954                 public void set_page_ranges ([CCode (array_length_cname = "num_ranges", array_length_pos = 1.1)] Gtk.PageRange[] page_ranges);
5955                 [Version (since = "2.10")]
5956                 public void set_page_set (Gtk.PageSet page_set);
5957                 [Version (since = "2.10")]
5958                 public void set_paper_height (double height, Gtk.Unit unit);
5959                 [Version (since = "2.10")]
5960                 public void set_paper_size (Gtk.PaperSize paper_size);
5961                 [Version (since = "2.10")]
5962                 public void set_paper_width (double width, Gtk.Unit unit);
5963                 [Version (since = "2.10")]
5964                 public void set_print_pages (Gtk.PrintPages pages);
5965                 [Version (since = "2.10")]
5966                 public void set_printer (string printer);
5967                 [Version (since = "2.16")]
5968                 public void set_printer_lpi (double lpi);
5969                 [Version (since = "2.10")]
5970                 public void set_quality (Gtk.PrintQuality quality);
5971                 [Version (since = "2.10")]
5972                 public void set_resolution (int resolution);
5973                 [Version (since = "2.16")]
5974                 public void set_resolution_xy (int resolution_x, int resolution_y);
5975                 [Version (since = "2.10")]
5976                 public void set_reverse (bool reverse);
5977                 [Version (since = "2.10")]
5978                 public void set_scale (double scale);
5979                 [Version (since = "2.10")]
5980                 public void set_use_color (bool use_color);
5981                 [Version (since = "2.12")]
5982                 public bool to_file (string file_name) throws GLib.Error;
5983                 [CCode (returns_floating_reference = true)]
5984                 [Version (since = "3.22")]
5985                 public GLib.Variant to_gvariant ();
5986                 [Version (since = "2.12")]
5987                 public void to_key_file (GLib.KeyFile key_file, string group_name);
5988                 [Version (since = "2.10")]
5989                 public void unset (string key);
5990         }
5991         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_progress_bar_get_type ()")]
5992         public class ProgressBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5993                 [CCode (has_construct_function = false, type = "GtkWidget*")]
5994                 public ProgressBar ();
5995                 [Version (since = "2.6")]
5996                 public Pango.EllipsizeMode get_ellipsize ();
5997                 public double get_fraction ();
5998                 public bool get_inverted ();
5999                 public double get_pulse_step ();
6000                 [Version (since = "3.0")]
6001                 public bool get_show_text ();
6002                 public unowned string? get_text ();
6003                 public void pulse ();
6004                 [Version (since = "2.6")]
6005                 public void set_ellipsize (Pango.EllipsizeMode mode);
6006                 public void set_fraction (double fraction);
6007                 public void set_inverted (bool inverted);
6008                 public void set_pulse_step (double fraction);
6009                 [Version (since = "3.0")]
6010                 public void set_show_text (bool show_text);
6011                 public void set_text (string? text);
6012                 [Version (since = "2.6")]
6013                 public Pango.EllipsizeMode ellipsize { get; set; }
6014                 public double fraction { get; set; }
6015                 public bool inverted { get; set; }
6016                 public double pulse_step { get; set; }
6017                 [Version (since = "3.0")]
6018                 public bool show_text { get; set; }
6019                 public string text { get; set; }
6020         }
6021         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_progress_bar_accessible_get_type ()")]
6022         public class ProgressBarAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
6023                 [CCode (has_construct_function = false)]
6024                 protected ProgressBarAccessible ();
6025         }
6026         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_action_get_type ()")]
6027         [Version (deprecated = true, deprecated_since = "3.10")]
6028         public class RadioAction : Gtk.ToggleAction, Gtk.Buildable {
6029                 [CCode (has_construct_function = false)]
6030                 [Version (since = "2.4")]
6031                 public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
6032                 [Version (since = "2.4")]
6033                 public int get_current_value ();
6034                 [Version (since = "2.4")]
6035                 public unowned GLib.SList<Gtk.RadioAction> get_group ();
6036                 [Version (since = "3.0")]
6037                 public void join_group (Gtk.RadioAction? group_source);
6038                 [Version (since = "2.10")]
6039                 public void set_current_value (int current_value);
6040                 [Version (since = "2.4")]
6041                 public void set_group (GLib.SList<Gtk.RadioAction>? group);
6042                 [Version (since = "2.10")]
6043                 public int current_value { get; set; }
6044                 [Version (since = "2.4")]
6045                 public Gtk.RadioAction group { set; }
6046                 [NoAccessorMethod]
6047                 [Version (since = "2.4")]
6048                 public int value { get; set; }
6049                 [Version (since = "2.4")]
6050                 public virtual signal void changed (Gtk.RadioAction current);
6051         }
6052         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_button_get_type ()")]
6053         public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6054                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6055                 public RadioButton (GLib.SList<Gtk.RadioButton>? group);
6056                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6057                 public RadioButton.from_widget (Gtk.RadioButton? radio_group_member);
6058                 public unowned GLib.SList<Gtk.RadioButton> get_group ();
6059                 [Version (since = "3.0")]
6060                 public void join_group (Gtk.RadioButton? group_source);
6061                 public void set_group (GLib.SList<Gtk.RadioButton>? group);
6062                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6063                 public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
6064                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6065                 public RadioButton.with_label_from_widget (Gtk.RadioButton? radio_group_member, string label);
6066                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6067                 public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
6068                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6069                 public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton? radio_group_member, string label);
6070                 public Gtk.RadioButton group { set; }
6071                 [Version (since = "2.4")]
6072                 public virtual signal void group_changed ();
6073         }
6074         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_button_accessible_get_type ()")]
6075         public class RadioButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
6076                 [CCode (has_construct_function = false)]
6077                 protected RadioButtonAccessible ();
6078         }
6079         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_menu_item_get_type ()")]
6080         public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6081                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6082                 public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem>? group);
6083                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6084                 [Version (since = "2.4")]
6085                 public RadioMenuItem.from_widget (Gtk.RadioMenuItem? group);
6086                 public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
6087                 [Version (since = "3.18")]
6088                 public void join_group (Gtk.RadioMenuItem? group_source);
6089                 public void set_group (GLib.SList<Gtk.RadioMenuItem>? group);
6090                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6091                 public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem>? group, string label);
6092                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6093                 [Version (since = "2.4")]
6094                 public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem? group, string? label);
6095                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6096                 public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem>? group, string label);
6097                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6098                 [Version (since = "2.4")]
6099                 public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem? group, string? label);
6100                 [Version (since = "2.8")]
6101                 public Gtk.RadioMenuItem group { set; }
6102                 public virtual signal void group_changed ();
6103         }
6104         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_menu_item_accessible_get_type ()")]
6105         public class RadioMenuItemAccessible : Gtk.CheckMenuItemAccessible, Atk.Action, Atk.Component, Atk.Selection {
6106                 [CCode (has_construct_function = false)]
6107                 protected RadioMenuItemAccessible ();
6108         }
6109         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_tool_button_get_type ()")]
6110         public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6111                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6112                 [Version (since = "2.4")]
6113                 public RadioToolButton (GLib.SList<Gtk.RadioButton>? group);
6114                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6115                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6116                 public RadioToolButton.from_stock (GLib.SList<Gtk.RadioButton>? group, string stock_id);
6117                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6118                 [Version (since = "2.4")]
6119                 public RadioToolButton.from_widget (Gtk.RadioToolButton? group);
6120                 [Version (since = "2.4")]
6121                 public unowned GLib.SList<Gtk.RadioButton>? get_group ();
6122                 [Version (since = "2.4")]
6123                 public void set_group (GLib.SList<Gtk.RadioButton>? group);
6124                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6125                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6126                 public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton? group, string stock_id);
6127                 [Version (since = "2.4")]
6128                 public Gtk.RadioToolButton group { set; }
6129         }
6130         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")]
6131         public abstract class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6132                 [CCode (has_construct_function = false)]
6133                 protected Range ();
6134                 public unowned Gtk.Adjustment get_adjustment ();
6135                 [Version (since = "2.12")]
6136                 public double get_fill_level ();
6137                 [Version (since = "2.18")]
6138                 public bool get_flippable ();
6139                 public bool get_inverted ();
6140                 [Version (since = "2.10")]
6141                 public Gtk.SensitivityType get_lower_stepper_sensitivity ();
6142                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.20")]
6143                 public int get_min_slider_size ();
6144                 [NoWrapper]
6145                 public virtual Gtk.Border get_range_border ();
6146                 [Version (since = "2.20")]
6147                 public Gdk.Rectangle get_range_rect ();
6148                 [NoWrapper]
6149                 public virtual void get_range_size_request (Gtk.Orientation orientation, out int minimum, out int natural);
6150                 [Version (since = "2.12")]
6151                 public bool get_restrict_to_fill_level ();
6152                 [Version (since = "2.24")]
6153                 public int get_round_digits ();
6154                 [Version (since = "2.12")]
6155                 public bool get_show_fill_level ();
6156                 [Version (since = "2.20")]
6157                 public void get_slider_range (out int slider_start, out int slider_end);
6158                 [Version (since = "2.20")]
6159                 public bool get_slider_size_fixed ();
6160                 [Version (since = "2.10")]
6161                 public Gtk.SensitivityType get_upper_stepper_sensitivity ();
6162                 public double get_value ();
6163                 public void set_adjustment (Gtk.Adjustment adjustment);
6164                 [Version (since = "2.12")]
6165                 public void set_fill_level (double fill_level);
6166                 [Version (since = "2.18")]
6167                 public void set_flippable (bool flippable);
6168                 public void set_increments (double step, double page);
6169                 public void set_inverted (bool setting);
6170                 [Version (since = "2.10")]
6171                 public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
6172                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.20")]
6173                 public void set_min_slider_size (int min_size);
6174                 public void set_range (double min, double max);
6175                 [Version (since = "2.12")]
6176                 public void set_restrict_to_fill_level (bool restrict_to_fill_level);
6177                 [Version (since = "2.24")]
6178                 public void set_round_digits (int round_digits);
6179                 [Version (since = "2.12")]
6180                 public void set_show_fill_level (bool show_fill_level);
6181                 [Version (since = "2.20")]
6182                 public void set_slider_size_fixed (bool size_fixed);
6183                 [Version (since = "2.10")]
6184                 public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
6185                 public void set_value (double value);
6186                 public Gtk.Adjustment adjustment { get; set construct; }
6187                 [Version (since = "2.12")]
6188                 public double fill_level { get; set; }
6189                 public bool inverted { get; set; }
6190                 public Gtk.SensitivityType lower_stepper_sensitivity { get; set; }
6191                 [Version (since = "2.12")]
6192                 public bool restrict_to_fill_level { get; set; }
6193                 [Version (since = "2.24")]
6194                 public int round_digits { get; set; }
6195                 [Version (since = "2.12")]
6196                 public bool show_fill_level { get; set; }
6197                 public Gtk.SensitivityType upper_stepper_sensitivity { get; set; }
6198                 public virtual signal void adjust_bounds (double new_value);
6199                 [Version (since = "2.6")]
6200                 public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
6201                 public virtual signal void move_slider (Gtk.ScrollType scroll);
6202                 public virtual signal void value_changed ();
6203         }
6204         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_range_accessible_get_type ()")]
6205         public class RangeAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
6206                 [CCode (has_construct_function = false)]
6207                 protected RangeAccessible ();
6208         }
6209         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
6210         [Compact]
6211         public class RcContext {
6212         }
6213         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_rc_style_get_type ()")]
6214         public class RcStyle : GLib.Object {
6215                 [CCode (array_length = false)]
6216                 public weak Gdk.Color @base[5];
6217                 [CCode (array_length = false)]
6218                 public weak Gdk.Color bg[5];
6219                 [CCode (array_length = false)]
6220                 public weak string bg_pixmap_name[5];
6221                 [CCode (array_length = false)]
6222                 public weak Gtk.RcFlags color_flags[5];
6223                 [CCode (array_length = false)]
6224                 public weak Gdk.Color fg[5];
6225                 public weak Pango.FontDescription font_desc;
6226                 public weak string name;
6227                 [CCode (array_length = false)]
6228                 public weak Gdk.Color text[5];
6229                 public int xthickness;
6230                 public int ythickness;
6231                 [CCode (has_construct_function = false)]
6232                 [Version (deprecated = true, deprecated_since = "3.0")]
6233                 public RcStyle ();
6234                 [Version (deprecated = true, deprecated_since = "3.0")]
6235                 public Gtk.RcStyle copy ();
6236                 [NoWrapper]
6237                 public virtual Gtk.RcStyle create_rc_style ();
6238                 [NoWrapper]
6239                 public virtual Gtk.Style create_style ();
6240                 [NoWrapper]
6241                 public virtual void merge (Gtk.RcStyle src);
6242                 [NoWrapper]
6243                 public virtual uint parse (Gtk.Settings settings, GLib.Scanner scanner);
6244         }
6245         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_action_get_type ()")]
6246         public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser {
6247                 [CCode (has_construct_function = false, type = "GtkAction*")]
6248                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6249                 public RecentAction (string name, string? label, string? tooltip, string? stock_id);
6250                 [CCode (has_construct_function = false, type = "GtkAction*")]
6251                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6252                 public RecentAction.for_manager (string name, string? label, string? tooltip, string? stock_id, Gtk.RecentManager? manager);
6253                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6254                 public bool get_show_numbers ();
6255                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6256                 public void set_show_numbers (bool show_numbers);
6257                 [Version (deprecated = true, deprecated_since = "3.10")]
6258                 public bool show_numbers { get; set; }
6259         }
6260         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_dialog_get_type ()")]
6261         public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
6262                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6263                 [Version (since = "2.10")]
6264                 public RecentChooserDialog (string? title, Gtk.Window? parent, ...);
6265                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6266                 [Version (since = "2.10")]
6267                 public RecentChooserDialog.for_manager (string? title, Gtk.Window? parent, Gtk.RecentManager manager, ...);
6268         }
6269         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_menu_get_type ()")]
6270         public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Activatable, Gtk.Buildable, Gtk.RecentChooser {
6271                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6272                 [Version (since = "2.10")]
6273                 public RecentChooserMenu ();
6274                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6275                 [Version (since = "2.10")]
6276                 public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
6277                 [Version (since = "2.10")]
6278                 public bool get_show_numbers ();
6279                 [Version (since = "2.10")]
6280                 public void set_show_numbers (bool show_numbers);
6281                 [Version (since = "2.10")]
6282                 public bool show_numbers { get; set; }
6283         }
6284         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_widget_get_type ()")]
6285         public class RecentChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
6286                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6287                 [Version (since = "2.10")]
6288                 public RecentChooserWidget ();
6289                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6290                 [Version (since = "2.10")]
6291                 public RecentChooserWidget.for_manager (Gtk.RecentManager manager);
6292         }
6293         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_filter_get_type ()")]
6294         public class RecentFilter : GLib.InitiallyUnowned, Gtk.Buildable {
6295                 [CCode (has_construct_function = false)]
6296                 [Version (since = "2.10")]
6297                 public RecentFilter ();
6298                 [Version (since = "2.10")]
6299                 public void add_age (int days);
6300                 [Version (since = "2.10")]
6301                 public void add_application (string application);
6302                 [Version (since = "2.10")]
6303                 public void add_custom (Gtk.RecentFilterFlags needed, owned Gtk.RecentFilterFunc func);
6304                 [Version (since = "2.10")]
6305                 public void add_group (string group);
6306                 [Version (since = "2.10")]
6307                 public void add_mime_type (string mime_type);
6308                 [Version (since = "2.10")]
6309                 public void add_pattern (string pattern);
6310                 [Version (since = "2.10")]
6311                 public void add_pixbuf_formats ();
6312                 [Version (since = "2.10")]
6313                 public bool filter (Gtk.RecentFilterInfo filter_info);
6314                 [CCode (cname = "gtk_recent_filter_get_name")]
6315                 [Version (since = "2.10")]
6316                 public unowned string? get_filter_name ();
6317                 [Version (since = "2.10")]
6318                 public Gtk.RecentFilterFlags get_needed ();
6319                 [CCode (cname = "gtk_recent_filter_set_name")]
6320                 [Version (since = "2.10")]
6321                 public void set_filter_name (string name);
6322         }
6323         [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")]
6324         [Compact]
6325         [Version (since = "2.10")]
6326         public class RecentInfo {
6327                 public GLib.AppInfo? create_app_info (string? app_name) throws GLib.Error;
6328                 public bool exists ();
6329                 public time_t get_added ();
6330                 public int get_age ();
6331                 public bool get_application_info (string app_name, out unowned string app_exec, out uint count, [CCode (type = "time_t*")] out time_t time_);
6332                 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
6333                 public string[] get_applications ();
6334                 public unowned string get_description ();
6335                 public unowned string get_display_name ();
6336                 [Version (since = "2.22")]
6337                 public GLib.Icon? get_gicon ();
6338                 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
6339                 public string[] get_groups ();
6340                 public Gdk.Pixbuf? get_icon (int size);
6341                 public unowned string get_mime_type ();
6342                 public time_t get_modified ();
6343                 public bool get_private_hint ();
6344                 public string get_short_name ();
6345                 public unowned string get_uri ();
6346                 public string? get_uri_display ();
6347                 public time_t get_visited ();
6348                 public bool has_application (string app_name);
6349                 public bool has_group (string group_name);
6350                 public bool is_local ();
6351                 public string last_application ();
6352                 public bool match (Gtk.RecentInfo info_b);
6353                 public unowned Gtk.RecentInfo @ref ();
6354                 public void unref ();
6355         }
6356         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_manager_get_type ()")]
6357         [Version (since = "2.10")]
6358         public class RecentManager : GLib.Object {
6359                 [CCode (has_construct_function = false)]
6360                 public RecentManager ();
6361                 public bool add_full (string uri, Gtk.RecentData recent_data);
6362                 public bool add_item (string uri);
6363                 public static unowned Gtk.RecentManager get_default ();
6364                 public GLib.List<Gtk.RecentInfo> get_items ();
6365                 public bool has_item (string uri);
6366                 public Gtk.RecentInfo? lookup_item (string uri) throws GLib.Error;
6367                 public bool move_item (string uri, string? new_uri) throws GLib.Error;
6368                 public int purge_items () throws GLib.Error;
6369                 public bool remove_item (string uri) throws GLib.Error;
6370                 [NoAccessorMethod]
6371                 public string filename { owned get; construct; }
6372                 [NoAccessorMethod]
6373                 public int size { get; }
6374                 public virtual signal void changed ();
6375         }
6376         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_renderer_cell_accessible_get_type ()")]
6377         public class RendererCellAccessible : Gtk.CellAccessible, Atk.Action, Atk.Component {
6378                 [CCode (has_construct_function = false, type = "AtkObject*")]
6379                 public RendererCellAccessible (Gtk.CellRenderer renderer);
6380                 [NoAccessorMethod]
6381                 public Gtk.CellRenderer renderer { owned get; construct; }
6382         }
6383         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_revealer_get_type ()")]
6384         public class Revealer : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6385                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6386                 [Version (since = "3.10")]
6387                 public Revealer ();
6388                 [Version (since = "3.10")]
6389                 public bool get_child_revealed ();
6390                 [Version (since = "3.10")]
6391                 public bool get_reveal_child ();
6392                 [Version (since = "3.10")]
6393                 public uint get_transition_duration ();
6394                 [Version (since = "3.10")]
6395                 public Gtk.RevealerTransitionType get_transition_type ();
6396                 [Version (since = "3.10")]
6397                 public void set_reveal_child (bool reveal_child);
6398                 [Version (since = "3.10")]
6399                 public void set_transition_duration (uint duration);
6400                 [Version (since = "3.10")]
6401                 public void set_transition_type (Gtk.RevealerTransitionType transition);
6402                 public bool child_revealed { get; }
6403                 public bool reveal_child { get; set construct; }
6404                 public uint transition_duration { get; set construct; }
6405                 public Gtk.RevealerTransitionType transition_type { get; set construct; }
6406         }
6407         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_get_type ()")]
6408         public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6409                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6410                 [Version (since = "3.0")]
6411                 public Scale (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
6412                 [Version (since = "2.16")]
6413                 public void add_mark (double value, Gtk.PositionType position, string? markup);
6414                 [Version (since = "2.16")]
6415                 public void clear_marks ();
6416                 public int get_digits ();
6417                 public bool get_draw_value ();
6418                 [Version (since = "3.4")]
6419                 public bool get_has_origin ();
6420                 [Version (since = "2.4")]
6421                 public unowned Pango.Layout? get_layout ();
6422                 [Version (since = "2.4")]
6423                 public virtual void get_layout_offsets (out int x, out int y);
6424                 public Gtk.PositionType get_value_pos ();
6425                 public void set_digits (int digits);
6426                 public void set_draw_value (bool draw_value);
6427                 [Version (since = "3.4")]
6428                 public void set_has_origin (bool has_origin);
6429                 public void set_value_pos (Gtk.PositionType pos);
6430                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6431                 [Version (since = "3.0")]
6432                 public Scale.with_range (Gtk.Orientation orientation, double min, double max, double step);
6433                 public int digits { get; set; }
6434                 public virtual bool draw_value { get; set; }
6435                 public bool has_origin { get; set; }
6436                 public Gtk.PositionType value_pos { get; set; }
6437                 public virtual signal string format_value (double value);
6438         }
6439         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_accessible_get_type ()")]
6440         public class ScaleAccessible : Gtk.RangeAccessible, Atk.Component, Atk.Value {
6441                 [CCode (has_construct_function = false)]
6442                 protected ScaleAccessible ();
6443         }
6444         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_button_get_type ()")]
6445         public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.Orientable {
6446                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6447                 [Version (since = "2.12")]
6448                 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);
6449                 [Version (since = "2.12")]
6450                 public unowned Gtk.Adjustment get_adjustment ();
6451                 [Version (since = "2.14")]
6452                 public unowned Gtk.Button get_minus_button ();
6453                 [Version (since = "2.14")]
6454                 public unowned Gtk.Button get_plus_button ();
6455                 [Version (since = "2.14")]
6456                 public unowned Gtk.Widget get_popup ();
6457                 [Version (since = "2.12")]
6458                 public double get_value ();
6459                 [Version (since = "2.12")]
6460                 public void set_adjustment (Gtk.Adjustment adjustment);
6461                 [Version (since = "2.12")]
6462                 public void set_icons ([CCode (array_length = false, array_null_terminated = true)] string[] icons);
6463                 [Version (since = "2.12")]
6464                 public void set_value (double value);
6465                 public Gtk.Adjustment adjustment { get; set; }
6466                 [CCode (array_length = false, array_null_terminated = true)]
6467                 [NoAccessorMethod]
6468                 [Version (since = "2.12")]
6469                 public string[] icons { owned get; set; }
6470                 [NoAccessorMethod]
6471                 public Gtk.IconSize size { get; set; }
6472                 public double value { get; set; }
6473                 [Version (since = "2.12")]
6474                 public signal void popdown ();
6475                 [Version (since = "2.12")]
6476                 public signal void popup ();
6477                 [Version (since = "2.12")]
6478                 public virtual signal void value_changed (double value);
6479         }
6480         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_button_accessible_get_type ()")]
6481         public class ScaleButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image, Atk.Value {
6482                 [CCode (has_construct_function = false)]
6483                 protected ScaleButtonAccessible ();
6484         }
6485         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrollbar_get_type ()")]
6486         public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6487                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6488                 [Version (since = "3.0")]
6489                 public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
6490         }
6491         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrolled_window_get_type ()")]
6492         public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6493                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6494                 public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
6495                 [Version (deprecated = true, deprecated_since = "3.8")]
6496                 public void add_with_viewport (Gtk.Widget child);
6497                 [Version (since = "3.4")]
6498                 public bool get_capture_button_press ();
6499                 public unowned Gtk.Adjustment get_hadjustment ();
6500                 [Version (since = "2.8")]
6501                 public unowned Gtk.Widget get_hscrollbar ();
6502                 [Version (since = "3.4")]
6503                 public bool get_kinetic_scrolling ();
6504                 [Version (since = "3.22")]
6505                 public int get_max_content_height ();
6506                 [Version (since = "3.22")]
6507                 public int get_max_content_width ();
6508                 [Version (since = "3.0")]
6509                 public int get_min_content_height ();
6510                 [Version (since = "3.0")]
6511                 public int get_min_content_width ();
6512                 [Version (since = "3.16")]
6513                 public bool get_overlay_scrolling ();
6514                 public Gtk.CornerType get_placement ();
6515                 public void get_policy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy);
6516                 [Version (since = "3.22")]
6517                 public bool get_propagate_natural_height ();
6518                 [Version (since = "3.22")]
6519                 public bool get_propagate_natural_width ();
6520                 public Gtk.ShadowType get_shadow_type ();
6521                 public unowned Gtk.Adjustment get_vadjustment ();
6522                 [Version (since = "2.8")]
6523                 public unowned Gtk.Widget get_vscrollbar ();
6524                 [Version (since = "3.4")]
6525                 public void set_capture_button_press (bool capture_button_press);
6526                 public void set_hadjustment (Gtk.Adjustment hadjustment);
6527                 [Version (since = "3.4")]
6528                 public void set_kinetic_scrolling (bool kinetic_scrolling);
6529                 [Version (since = "3.22")]
6530                 public void set_max_content_height (int height);
6531                 [Version (since = "3.22")]
6532                 public void set_max_content_width (int width);
6533                 [Version (since = "3.0")]
6534                 public void set_min_content_height (int height);
6535                 [Version (since = "3.0")]
6536                 public void set_min_content_width (int width);
6537                 [Version (since = "3.16")]
6538                 public void set_overlay_scrolling (bool overlay_scrolling);
6539                 public void set_placement (Gtk.CornerType window_placement);
6540                 public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
6541                 [Version (since = "3.22")]
6542                 public void set_propagate_natural_height (bool propagate);
6543                 [Version (since = "3.22")]
6544                 public void set_propagate_natural_width (bool propagate);
6545                 public void set_shadow_type (Gtk.ShadowType type);
6546                 public void set_vadjustment (Gtk.Adjustment vadjustment);
6547                 [Version (since = "2.10")]
6548                 public void unset_placement ();
6549                 public Gtk.Adjustment hadjustment { get; set construct; }
6550                 [NoAccessorMethod]
6551                 public Gtk.PolicyType hscrollbar_policy { get; set; }
6552                 [Version (since = "3.4")]
6553                 public bool kinetic_scrolling { get; set; }
6554                 [Version (since = "3.22")]
6555                 public int max_content_height { get; set; }
6556                 [Version (since = "3.22")]
6557                 public int max_content_width { get; set; }
6558                 [Version (since = "3.0")]
6559                 public int min_content_height { get; set; }
6560                 [Version (since = "3.0")]
6561                 public int min_content_width { get; set; }
6562                 [Version (since = "3.16")]
6563                 public bool overlay_scrolling { get; set; }
6564                 [Version (since = "3.22")]
6565                 public bool propagate_natural_height { get; set; }
6566                 [Version (since = "3.22")]
6567                 public bool propagate_natural_width { get; set; }
6568                 public Gtk.ShadowType shadow_type { get; set; }
6569                 public Gtk.Adjustment vadjustment { get; set construct; }
6570                 [NoAccessorMethod]
6571                 public Gtk.PolicyType vscrollbar_policy { get; set; }
6572                 [NoAccessorMethod]
6573                 public Gtk.CornerType window_placement { get; set; }
6574                 [NoAccessorMethod]
6575                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
6576                 public bool window_placement_set { get; set; }
6577                 [Version (since = "3.16")]
6578                 public signal void edge_overshot (Gtk.PositionType pos);
6579                 [Version (since = "3.16")]
6580                 public signal void edge_reached (Gtk.PositionType pos);
6581                 public virtual signal void move_focus_out (Gtk.DirectionType direction);
6582                 public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
6583         }
6584         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scrolled_window_accessible_get_type ()")]
6585         public class ScrolledWindowAccessible : Gtk.ContainerAccessible, Atk.Component {
6586                 [CCode (has_construct_function = false)]
6587                 protected ScrolledWindowAccessible ();
6588         }
6589         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_bar_get_type ()")]
6590         public class SearchBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6591                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6592                 [Version (since = "3.10")]
6593                 public SearchBar ();
6594                 [Version (since = "3.10")]
6595                 public void connect_entry (Gtk.Entry entry);
6596                 [Version (since = "3.10")]
6597                 public bool get_search_mode ();
6598                 [Version (since = "3.10")]
6599                 public bool get_show_close_button ();
6600                 [Version (since = "3.10")]
6601                 public bool handle_event (Gdk.Event event);
6602                 [Version (since = "3.10")]
6603                 public void set_search_mode (bool search_mode);
6604                 [Version (since = "3.10")]
6605                 public void set_show_close_button (bool visible);
6606                 [NoAccessorMethod]
6607                 public bool search_mode_enabled { get; set; }
6608                 public bool show_close_button { get; set construct; }
6609         }
6610         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_entry_get_type ()")]
6611         public class SearchEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
6612                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6613                 [Version (since = "3.6")]
6614                 public SearchEntry ();
6615                 [Version (since = "3.16")]
6616                 public bool handle_event (Gdk.Event event);
6617                 [Version (since = "3.16")]
6618                 public virtual signal void next_match ();
6619                 [Version (since = "3.16")]
6620                 public virtual signal void previous_match ();
6621                 [Version (since = "3.10")]
6622                 public virtual signal void search_changed ();
6623                 [Version (since = "3.16")]
6624                 public virtual signal void stop_search ();
6625         }
6626         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_selection_data_get_type ()")]
6627         [Compact]
6628         public class SelectionData {
6629                 public Gtk.SelectionData copy ();
6630                 [DestroysInstance]
6631                 public void free ();
6632                 [CCode (array_length = false)]
6633                 [Version (since = "2.14")]
6634                 public unowned uint8[] get_data ();
6635                 [Version (since = "2.14")]
6636                 public Gdk.Atom get_data_type ();
6637                 [CCode (array_length_pos = 0.1)]
6638                 [Version (since = "3.0")]
6639                 public unowned uint8[] get_data_with_length ();
6640                 [Version (since = "2.14")]
6641                 public unowned Gdk.Display get_display ();
6642                 [Version (since = "2.14")]
6643                 public int get_format ();
6644                 [Version (since = "2.14")]
6645                 public int get_length ();
6646                 [Version (since = "2.6")]
6647                 public Gdk.Pixbuf? get_pixbuf ();
6648                 [Version (since = "2.16")]
6649                 public Gdk.Atom get_selection ();
6650                 [Version (since = "2.14")]
6651                 public Gdk.Atom get_target ();
6652                 public bool get_targets ([CCode (array_length_cname = "n_atoms", array_length_pos = 1.1)] out Gdk.Atom[] targets);
6653                 public string? get_text ();
6654                 [CCode (array_length = false, array_null_terminated = true)]
6655                 [Version (since = "2.6")]
6656                 public string[] get_uris ();
6657                 public void @set (Gdk.Atom type, int format, [CCode (array_length_cname = "length", array_length_pos = 3.1)] uint8[] data);
6658                 [Version (since = "2.6")]
6659                 public bool set_pixbuf (Gdk.Pixbuf pixbuf);
6660                 public bool set_text (string str, int len);
6661                 [Version (since = "2.6")]
6662                 public bool set_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uris);
6663                 [Version (since = "2.6")]
6664                 public bool targets_include_image (bool writable);
6665                 [Version (since = "2.10")]
6666                 public bool targets_include_rich_text (Gtk.TextBuffer buffer);
6667                 public bool targets_include_text ();
6668                 [Version (since = "2.10")]
6669                 public bool targets_include_uri ();
6670         }
6671         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_get_type ()")]
6672         public class Separator : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6673                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6674                 [Version (since = "3.0")]
6675                 public Separator (Gtk.Orientation orientation);
6676         }
6677         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_menu_item_get_type ()")]
6678         public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6679                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6680                 public SeparatorMenuItem ();
6681         }
6682         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_tool_item_get_type ()")]
6683         public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Activatable, Gtk.Buildable {
6684                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6685                 [Version (since = "2.4")]
6686                 public SeparatorToolItem ();
6687                 [Version (since = "2.4")]
6688                 public bool get_draw ();
6689                 [Version (since = "2.4")]
6690                 public void set_draw (bool draw);
6691                 public bool draw { get; set; }
6692         }
6693         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_settings_get_type ()")]
6694         public class Settings : GLib.Object, Gtk.StyleProvider {
6695                 [CCode (has_construct_function = false)]
6696                 protected Settings ();
6697                 public static unowned Gtk.Settings? get_default ();
6698                 [Version (since = "2.2")]
6699                 public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
6700                 [Version (deprecated = true, deprecated_since = "3.16")]
6701                 public static void install_property (GLib.ParamSpec pspec);
6702                 [Version (deprecated = true, deprecated_since = "3.16")]
6703                 public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
6704                 [Version (since = "3.20")]
6705                 public void reset_property (string name);
6706                 [Version (deprecated = true, deprecated_since = "3.16")]
6707                 public void set_double_property (string name, double v_double, string origin);
6708                 [Version (deprecated = true, deprecated_since = "3.16")]
6709                 public void set_long_property (string name, long v_long, string origin);
6710                 [Version (deprecated = true, deprecated_since = "3.16")]
6711                 public void set_property_value (string name, Gtk.SettingsValue svalue);
6712                 [Version (deprecated = true, deprecated_since = "3.16")]
6713                 public void set_string_property (string name, string v_string, string origin);
6714                 [NoAccessorMethod]
6715                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
6716                 public GLib.HashTable<string,Gdk.Color> color_hash { owned get; }
6717                 [NoAccessorMethod]
6718                 public bool gtk_alternative_button_order { get; set; }
6719                 [NoAccessorMethod]
6720                 [Version (since = "2.12")]
6721                 public bool gtk_alternative_sort_arrows { get; set; }
6722                 [NoAccessorMethod]
6723                 [Version (since = "3.0")]
6724                 public bool gtk_application_prefer_dark_theme { get; set; }
6725                 [NoAccessorMethod]
6726                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.20")]
6727                 public bool gtk_auto_mnemonics { get; set; }
6728                 [NoAccessorMethod]
6729                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6730                 public bool gtk_button_images { get; set; }
6731                 [NoAccessorMethod]
6732                 [Version (deprecated = true, deprecated_since = "3.10")]
6733                 public bool gtk_can_change_accels { get; set; }
6734                 [NoAccessorMethod]
6735                 [Version (deprecated = true, deprecated_since = "3.10")]
6736                 public string gtk_color_palette { owned get; set; }
6737                 [NoAccessorMethod]
6738                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
6739                 public string gtk_color_scheme { owned get; set; }
6740                 [NoAccessorMethod]
6741                 public bool gtk_cursor_blink { get; set; }
6742                 [NoAccessorMethod]
6743                 public int gtk_cursor_blink_time { get; set; }
6744                 [NoAccessorMethod]
6745                 [Version (since = "2.12")]
6746                 public int gtk_cursor_blink_timeout { get; set; }
6747                 [NoAccessorMethod]
6748                 public string gtk_cursor_theme_name { owned get; set; }
6749                 [NoAccessorMethod]
6750                 public int gtk_cursor_theme_size { get; set; }
6751                 [NoAccessorMethod]
6752                 [Version (since = "3.12")]
6753                 public string gtk_decoration_layout { owned get; set; }
6754                 [NoAccessorMethod]
6755                 [Version (since = "3.12")]
6756                 public bool gtk_dialogs_use_header { get; set; }
6757                 [NoAccessorMethod]
6758                 public int gtk_dnd_drag_threshold { get; set; }
6759                 [NoAccessorMethod]
6760                 public int gtk_double_click_distance { get; set; }
6761                 [NoAccessorMethod]
6762                 public int gtk_double_click_time { get; set; }
6763                 [NoAccessorMethod]
6764                 [Version (since = "2.12")]
6765                 public bool gtk_enable_accels { get; set; }
6766                 [NoAccessorMethod]
6767                 public bool gtk_enable_animations { get; set; }
6768                 [NoAccessorMethod]
6769                 [Version (since = "2.14")]
6770                 public bool gtk_enable_event_sounds { get; set; }
6771                 [NoAccessorMethod]
6772                 [Version (since = "2.14")]
6773                 public bool gtk_enable_input_feedback_sounds { get; set; }
6774                 [NoAccessorMethod]
6775                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6776                 public bool gtk_enable_mnemonics { get; set; }
6777                 [NoAccessorMethod]
6778                 [Version (since = "3.4")]
6779                 public bool gtk_enable_primary_paste { get; set; }
6780                 [NoAccessorMethod]
6781                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
6782                 public bool gtk_enable_tooltips { get; set; }
6783                 [NoAccessorMethod]
6784                 [Version (since = "2.10")]
6785                 public uint gtk_entry_password_hint_timeout { get; set; }
6786                 [NoAccessorMethod]
6787                 public bool gtk_entry_select_on_focus { get; set; }
6788                 [NoAccessorMethod]
6789                 [Version (since = "2.12")]
6790                 public bool gtk_error_bell { get; set; }
6791                 [NoAccessorMethod]
6792                 [Version (deprecated = true, deprecated_since = "3.10")]
6793                 public string gtk_fallback_icon_theme { owned get; set; }
6794                 [NoAccessorMethod]
6795                 [Version (deprecated = true, deprecated_since = "3.10")]
6796                 public string gtk_file_chooser_backend { owned get; set; }
6797                 [NoAccessorMethod]
6798                 public string gtk_font_name { owned get; set; }
6799                 [NoAccessorMethod]
6800                 public uint gtk_fontconfig_timestamp { get; set; }
6801                 [NoAccessorMethod]
6802                 [Version (deprecated = true, deprecated_since = "3.10")]
6803                 public string gtk_icon_sizes { owned get; set; }
6804                 [NoAccessorMethod]
6805                 public string gtk_icon_theme_name { owned get; set; }
6806                 [NoAccessorMethod]
6807                 public string gtk_im_module { owned get; set; }
6808                 [NoAccessorMethod]
6809                 [Version (deprecated = true, deprecated_since = "3.10")]
6810                 public Gtk.IMPreeditStyle gtk_im_preedit_style { get; set; }
6811                 [NoAccessorMethod]
6812                 [Version (deprecated = true, deprecated_since = "3.10")]
6813                 public Gtk.IMStatusStyle gtk_im_status_style { get; set; }
6814                 [NoAccessorMethod]
6815                 public string gtk_key_theme_name { owned get; set; }
6816                 [NoAccessorMethod]
6817                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6818                 public bool gtk_keynav_cursor_only { get; set; }
6819                 [NoAccessorMethod]
6820                 [Version (since = "3.20")]
6821                 public bool gtk_keynav_use_caret { get; set; }
6822                 [NoAccessorMethod]
6823                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6824                 public bool gtk_keynav_wrap_around { get; set; }
6825                 [NoAccessorMethod]
6826                 public bool gtk_label_select_on_focus { get; set; }
6827                 [NoAccessorMethod]
6828                 [Version (since = "3.14")]
6829                 public uint gtk_long_press_time { get; set; }
6830                 [NoAccessorMethod]
6831                 [Version (deprecated = true, deprecated_since = "3.10")]
6832                 public string gtk_menu_bar_accel { owned get; set; }
6833                 [NoAccessorMethod]
6834                 [Version (deprecated = true, deprecated_since = "3.10")]
6835                 public int gtk_menu_bar_popup_delay { get; set; }
6836                 [NoAccessorMethod]
6837                 [Version (deprecated = true, deprecated_since = "3.10")]
6838                 public bool gtk_menu_images { get; set; }
6839                 [NoAccessorMethod]
6840                 [Version (deprecated = true, deprecated_since = "3.10")]
6841                 public int gtk_menu_popdown_delay { get; set; }
6842                 [NoAccessorMethod]
6843                 [Version (deprecated = true, deprecated_since = "3.10")]
6844                 public int gtk_menu_popup_delay { get; set; }
6845                 [NoAccessorMethod]
6846                 public string gtk_modules { owned get; set; }
6847                 [NoAccessorMethod]
6848                 [Version (since = "3.6")]
6849                 public bool gtk_primary_button_warps_slider { get; set; }
6850                 [NoAccessorMethod]
6851                 [Version (since = "2.10")]
6852                 public string gtk_print_backends { owned get; set; }
6853                 [NoAccessorMethod]
6854                 [Version (since = "2.10")]
6855                 public string gtk_print_preview_command { owned get; set; }
6856                 [NoAccessorMethod]
6857                 [Version (since = "3.8")]
6858                 public bool gtk_recent_files_enabled { get; set; }
6859                 [NoAccessorMethod]
6860                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6861                 public int gtk_recent_files_limit { get; set; }
6862                 [NoAccessorMethod]
6863                 [Version (since = "2.14")]
6864                 public int gtk_recent_files_max_age { get; set; }
6865                 [NoAccessorMethod]
6866                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
6867                 public Gtk.CornerType gtk_scrolled_window_placement { get; set; }
6868                 [NoAccessorMethod]
6869                 public bool gtk_shell_shows_app_menu { get; set; }
6870                 [NoAccessorMethod]
6871                 public bool gtk_shell_shows_desktop { get; set; }
6872                 [NoAccessorMethod]
6873                 public bool gtk_shell_shows_menubar { get; set; }
6874                 [NoAccessorMethod]
6875                 [Version (deprecated = true, deprecated_since = "3.10")]
6876                 public bool gtk_show_input_method_menu { get; set; }
6877                 [NoAccessorMethod]
6878                 [Version (deprecated = true, deprecated_since = "3.10")]
6879                 public bool gtk_show_unicode_menu { get; set; }
6880                 [NoAccessorMethod]
6881                 [Version (since = "2.14")]
6882                 public string gtk_sound_theme_name { owned get; set; }
6883                 [NoAccessorMethod]
6884                 public bool gtk_split_cursor { get; set; }
6885                 [NoAccessorMethod]
6886                 public string gtk_theme_name { owned get; set; }
6887                 [NoAccessorMethod]
6888                 [Version (deprecated = true, deprecated_since = "3.10")]
6889                 public int gtk_timeout_expand { get; set; }
6890                 [NoAccessorMethod]
6891                 [Version (deprecated = true, deprecated_since = "3.10")]
6892                 public int gtk_timeout_initial { get; set; }
6893                 [NoAccessorMethod]
6894                 [Version (deprecated = true, deprecated_since = "3.10")]
6895                 public int gtk_timeout_repeat { get; set; }
6896                 [NoAccessorMethod]
6897                 [Version (since = "3.14")]
6898                 public string gtk_titlebar_double_click { owned get; set; }
6899                 [NoAccessorMethod]
6900                 [Version (since = "3.14")]
6901                 public string gtk_titlebar_middle_click { owned get; set; }
6902                 [NoAccessorMethod]
6903                 [Version (since = "3.14")]
6904                 public string gtk_titlebar_right_click { owned get; set; }
6905                 [NoAccessorMethod]
6906                 [Version (deprecated = true, deprecated_since = "3.10")]
6907                 public Gtk.IconSize gtk_toolbar_icon_size { get; set; }
6908                 [NoAccessorMethod]
6909                 [Version (deprecated = true, deprecated_since = "3.10")]
6910                 public Gtk.ToolbarStyle gtk_toolbar_style { get; set; }
6911                 [NoAccessorMethod]
6912                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6913                 public int gtk_tooltip_browse_mode_timeout { get; set; }
6914                 [NoAccessorMethod]
6915                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6916                 public int gtk_tooltip_browse_timeout { get; set; }
6917                 [NoAccessorMethod]
6918                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6919                 public int gtk_tooltip_timeout { get; set; }
6920                 [NoAccessorMethod]
6921                 [Version (deprecated = true, deprecated_since = "3.4.", since = "2.10")]
6922                 public bool gtk_touchscreen_mode { get; set; }
6923                 [NoAccessorMethod]
6924                 [Version (deprecated = true, deprecated_since = "3.10", since = "3.2")]
6925                 public Gtk.PolicyType gtk_visible_focus { get; set; }
6926                 [NoAccessorMethod]
6927                 public int gtk_xft_antialias { get; set; }
6928                 [NoAccessorMethod]
6929                 public int gtk_xft_dpi { get; set; }
6930                 [NoAccessorMethod]
6931                 public int gtk_xft_hinting { get; set; }
6932                 [NoAccessorMethod]
6933                 public string gtk_xft_hintstyle { owned get; set; }
6934                 [NoAccessorMethod]
6935                 public string gtk_xft_rgba { owned get; set; }
6936         }
6937         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcut_label_get_type ()")]
6938         public class ShortcutLabel : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6939                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6940                 [Version (since = "3.22")]
6941                 public ShortcutLabel (string accelerator);
6942                 [Version (since = "3.22")]
6943                 public unowned string? get_accelerator ();
6944                 [Version (since = "3.22")]
6945                 public unowned string? get_disabled_text ();
6946                 [Version (since = "3.22")]
6947                 public void set_accelerator (string accelerator);
6948                 [Version (since = "3.22")]
6949                 public void set_disabled_text (string disabled_text);
6950                 [Version (since = "3.22")]
6951                 public string accelerator { get; set; }
6952                 [Version (since = "3.22")]
6953                 public string disabled_text { get; set; }
6954         }
6955         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_group_get_type ()")]
6956         public class ShortcutsGroup : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6957                 [CCode (has_construct_function = false)]
6958                 protected ShortcutsGroup ();
6959                 [NoAccessorMethod]
6960                 public Gtk.SizeGroup accel_size_group { set; }
6961                 [NoAccessorMethod]
6962                 public uint height { get; }
6963                 [NoAccessorMethod]
6964                 public string title { owned get; set; }
6965                 [NoAccessorMethod]
6966                 public Gtk.SizeGroup title_size_group { set; }
6967                 [NoAccessorMethod]
6968                 public string view { owned get; set; }
6969         }
6970         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_section_get_type ()")]
6971         public class ShortcutsSection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6972                 [CCode (has_construct_function = false)]
6973                 protected ShortcutsSection ();
6974                 [NoAccessorMethod]
6975                 public uint max_height { get; set; }
6976                 [NoAccessorMethod]
6977                 public string section_name { owned get; set; }
6978                 [NoAccessorMethod]
6979                 public string title { owned get; set; }
6980                 [NoAccessorMethod]
6981                 public string view_name { owned get; set; }
6982                 public signal bool change_current_page (int object);
6983         }
6984         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_shortcut_get_type ()")]
6985         public class ShortcutsShortcut : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6986                 [CCode (has_construct_function = false)]
6987                 protected ShortcutsShortcut ();
6988                 [NoAccessorMethod]
6989                 public Gtk.SizeGroup accel_size_group { set; }
6990                 [NoAccessorMethod]
6991                 public string accelerator { owned get; set; }
6992                 [NoAccessorMethod]
6993                 [Version (since = "3.22")]
6994                 public string action_name { owned get; set; }
6995                 [NoAccessorMethod]
6996                 public Gtk.TextDirection direction { get; set; }
6997                 [NoAccessorMethod]
6998                 public GLib.Icon icon { owned get; set; }
6999                 [NoAccessorMethod]
7000                 public bool icon_set { get; set; }
7001                 [NoAccessorMethod]
7002                 public Gtk.ShortcutType shortcut_type { get; set; }
7003                 [NoAccessorMethod]
7004                 public string subtitle { owned get; set; }
7005                 [NoAccessorMethod]
7006                 public bool subtitle_set { get; set; }
7007                 [NoAccessorMethod]
7008                 public string title { owned get; set; }
7009                 [NoAccessorMethod]
7010                 public Gtk.SizeGroup title_size_group { set; }
7011         }
7012         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_window_get_type ()")]
7013         public class ShortcutsWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
7014                 [CCode (has_construct_function = false)]
7015                 protected ShortcutsWindow ();
7016                 [NoAccessorMethod]
7017                 public string section_name { owned get; set; }
7018                 [NoAccessorMethod]
7019                 public string view_name { owned get; set; }
7020                 public virtual signal void close ();
7021                 public virtual signal void search ();
7022         }
7023         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_size_group_get_type ()")]
7024         public class SizeGroup : GLib.Object, Gtk.Buildable {
7025                 [CCode (has_construct_function = false)]
7026                 public SizeGroup (Gtk.SizeGroupMode mode);
7027                 public void add_widget (Gtk.Widget widget);
7028                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7029                 public bool get_ignore_hidden ();
7030                 public Gtk.SizeGroupMode get_mode ();
7031                 [Version (since = "2.10")]
7032                 public unowned GLib.SList<Gtk.Widget> get_widgets ();
7033                 public void remove_widget (Gtk.Widget widget);
7034                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7035                 public void set_ignore_hidden (bool ignore_hidden);
7036                 public void set_mode (Gtk.SizeGroupMode mode);
7037                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7038                 public bool ignore_hidden { get; set; }
7039                 public Gtk.SizeGroupMode mode { get; set; }
7040         }
7041         [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_socket_get_type ()")]
7042         public class Socket : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7043                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7044                 public Socket ();
7045                 public void add_id (X.Window window);
7046                 public X.Window get_id ();
7047                 [Version (since = "2.14")]
7048                 public unowned Gdk.Window? get_plug_window ();
7049                 public virtual signal void plug_added ();
7050                 public virtual signal bool plug_removed ();
7051         }
7052         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
7053         public class SpinButton : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable, Gtk.Orientable {
7054                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7055                 public SpinButton (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
7056                 public void configure (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
7057                 public unowned Gtk.Adjustment get_adjustment ();
7058                 public uint get_digits ();
7059                 public void get_increments (out double step, out double page);
7060                 public bool get_numeric ();
7061                 public void get_range (out double min, out double max);
7062                 public bool get_snap_to_ticks ();
7063                 public Gtk.SpinButtonUpdatePolicy get_update_policy ();
7064                 public double get_value ();
7065                 public int get_value_as_int ();
7066                 public bool get_wrap ();
7067                 public void set_adjustment (Gtk.Adjustment adjustment);
7068                 public void set_digits (uint digits);
7069                 public void set_increments (double step, double page);
7070                 public void set_numeric (bool numeric);
7071                 public void set_range (double min, double max);
7072                 public void set_snap_to_ticks (bool snap_to_ticks);
7073                 public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
7074                 public void set_value (double value);
7075                 public void set_wrap (bool wrap);
7076                 public void spin (Gtk.SpinType direction, double increment);
7077                 public void update ();
7078                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7079                 public SpinButton.with_range (double min, double max, double step);
7080                 public Gtk.Adjustment adjustment { get; set; }
7081                 [NoAccessorMethod]
7082                 public double climb_rate { get; set; }
7083                 public uint digits { get; set; }
7084                 public bool numeric { get; set; }
7085                 public bool snap_to_ticks { get; set; }
7086                 public Gtk.SpinButtonUpdatePolicy update_policy { get; set; }
7087                 public double value { get; set; }
7088                 public bool wrap { get; set; }
7089                 public virtual signal void change_value (Gtk.ScrollType scroll);
7090                 public virtual signal int input (out double new_value);
7091                 public virtual signal bool output ();
7092                 public virtual signal void value_changed ();
7093                 [Version (since = "2.10")]
7094                 public virtual signal void wrapped ();
7095         }
7096         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spin_button_accessible_get_type ()")]
7097         public class SpinButtonAccessible : Gtk.EntryAccessible, Atk.Action, Atk.Component, Atk.EditableText, Atk.Text, Atk.Value {
7098                 [CCode (has_construct_function = false)]
7099                 protected SpinButtonAccessible ();
7100         }
7101         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spinner_get_type ()")]
7102         public class Spinner : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
7103                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7104                 [Version (since = "2.20")]
7105                 public Spinner ();
7106                 [Version (since = "2.20")]
7107                 public void start ();
7108                 [Version (since = "2.20")]
7109                 public void stop ();
7110                 [NoAccessorMethod]
7111                 public bool active { get; set; }
7112         }
7113         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spinner_accessible_get_type ()")]
7114         public class SpinnerAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
7115                 [CCode (has_construct_function = false)]
7116                 protected SpinnerAccessible ();
7117         }
7118         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_get_type ()")]
7119         public class Stack : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7120                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7121                 [Version (since = "3.10")]
7122                 public Stack ();
7123                 [Version (since = "3.10")]
7124                 public void add_named (Gtk.Widget child, string name);
7125                 [Version (since = "3.10")]
7126                 public void add_titled (Gtk.Widget child, string name, string title);
7127                 [Version (since = "3.12")]
7128                 public unowned Gtk.Widget? get_child_by_name (string name);
7129                 [Version (since = "3.16")]
7130                 public bool get_hhomogeneous ();
7131                 [Version (since = "3.10")]
7132                 public bool get_homogeneous ();
7133                 [Version (since = "3.18")]
7134                 public bool get_interpolate_size ();
7135                 [Version (since = "3.10")]
7136                 public uint get_transition_duration ();
7137                 [Version (since = "3.12")]
7138                 public bool get_transition_running ();
7139                 [Version (since = "3.10")]
7140                 public Gtk.StackTransitionType get_transition_type ();
7141                 [Version (since = "3.16")]
7142                 public bool get_vhomogeneous ();
7143                 [Version (since = "3.10")]
7144                 public unowned Gtk.Widget? get_visible_child ();
7145                 [Version (since = "3.10")]
7146                 public unowned string? get_visible_child_name ();
7147                 [Version (since = "3.16")]
7148                 public void set_hhomogeneous (bool hhomogeneous);
7149                 [Version (since = "3.10")]
7150                 public void set_homogeneous (bool homogeneous);
7151                 [Version (since = "3.18")]
7152                 public void set_interpolate_size (bool interpolate_size);
7153                 [Version (since = "3.10")]
7154                 public void set_transition_duration (uint duration);
7155                 [Version (since = "3.10")]
7156                 public void set_transition_type (Gtk.StackTransitionType transition);
7157                 [Version (since = "3.16")]
7158                 public void set_vhomogeneous (bool vhomogeneous);
7159                 [Version (since = "3.10")]
7160                 public void set_visible_child (Gtk.Widget child);
7161                 [Version (since = "3.10")]
7162                 public void set_visible_child_full (string name, Gtk.StackTransitionType transition);
7163                 [Version (since = "3.10")]
7164                 public void set_visible_child_name (string name);
7165                 [Version (since = "3.16")]
7166                 public bool hhomogeneous { get; set; }
7167                 public bool homogeneous { get; set; }
7168                 public bool interpolate_size { get; set; }
7169                 public uint transition_duration { get; set; }
7170                 public bool transition_running { get; }
7171                 public Gtk.StackTransitionType transition_type { get; set; }
7172                 [Version (since = "3.16")]
7173                 public bool vhomogeneous { get; set; }
7174                 public Gtk.Widget visible_child { get; set; }
7175                 public string visible_child_name { get; set; }
7176         }
7177         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_stack_accessible_get_type ()")]
7178         public class StackAccessible : Gtk.ContainerAccessible, Atk.Component {
7179                 [CCode (has_construct_function = false)]
7180                 protected StackAccessible ();
7181         }
7182         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_sidebar_get_type ()")]
7183         public class StackSidebar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
7184                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7185                 [Version (since = "3.16")]
7186                 public StackSidebar ();
7187                 [Version (since = "3.16")]
7188                 public unowned Gtk.Stack? get_stack ();
7189                 [Version (since = "3.16")]
7190                 public void set_stack (Gtk.Stack stack);
7191                 public Gtk.Stack stack { get; set; }
7192         }
7193         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_switcher_get_type ()")]
7194         public class StackSwitcher : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7195                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7196                 [Version (since = "3.10")]
7197                 public StackSwitcher ();
7198                 [Version (since = "3.10")]
7199                 public unowned Gtk.Stack? get_stack ();
7200                 [Version (since = "3.10")]
7201                 public void set_stack (Gtk.Stack? stack);
7202                 [NoAccessorMethod]
7203                 [Version (since = "3.20")]
7204                 public int icon_size { get; set; }
7205                 public Gtk.Stack stack { get; set construct; }
7206         }
7207         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_status_icon_get_type ()")]
7208         [Version (deprecated = true, deprecated_since = "3.14")]
7209         public class StatusIcon : GLib.Object {
7210                 [CCode (has_construct_function = false)]
7211                 [Version (since = "2.10")]
7212                 public StatusIcon ();
7213                 [CCode (has_construct_function = false)]
7214                 [Version (since = "2.10")]
7215                 public StatusIcon.from_file (string filename);
7216                 [CCode (has_construct_function = false)]
7217                 [Version (since = "2.14")]
7218                 public StatusIcon.from_gicon (GLib.Icon icon);
7219                 [CCode (has_construct_function = false)]
7220                 [Version (since = "2.10")]
7221                 public StatusIcon.from_icon_name (string icon_name);
7222                 [CCode (has_construct_function = false)]
7223                 [Version (since = "2.10")]
7224                 public StatusIcon.from_pixbuf (Gdk.Pixbuf pixbuf);
7225                 [CCode (has_construct_function = false)]
7226                 [Version (since = "2.10")]
7227                 public StatusIcon.from_stock (string stock_id);
7228                 [Version (since = "2.10")]
7229                 public bool get_geometry (out unowned Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation);
7230                 [Version (since = "2.14")]
7231                 public unowned GLib.Icon? get_gicon ();
7232                 [Version (since = "2.16")]
7233                 public bool get_has_tooltip ();
7234                 [Version (since = "2.10")]
7235                 public unowned string? get_icon_name ();
7236                 [Version (since = "2.10")]
7237                 public unowned Gdk.Pixbuf? get_pixbuf ();
7238                 [Version (since = "2.12")]
7239                 public unowned Gdk.Screen get_screen ();
7240                 [Version (since = "2.10")]
7241                 public int get_size ();
7242                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
7243                 public unowned string? get_stock ();
7244                 [Version (since = "2.10")]
7245                 public Gtk.ImageType get_storage_type ();
7246                 [Version (since = "2.18")]
7247                 public unowned string get_title ();
7248                 [Version (since = "2.16")]
7249                 public string? get_tooltip_markup ();
7250                 [Version (since = "2.16")]
7251                 public string? get_tooltip_text ();
7252                 [Version (since = "2.10")]
7253                 public bool get_visible ();
7254                 [Version (since = "2.14")]
7255                 public uint32 get_x11_window_id ();
7256                 [Version (since = "2.10")]
7257                 public bool is_embedded ();
7258                 [Version (since = "2.10")]
7259                 public static void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in, Gtk.StatusIcon user_data);
7260                 [Version (since = "2.10")]
7261                 public void set_from_file (string filename);
7262                 [Version (since = "2.14")]
7263                 public void set_from_gicon (GLib.Icon icon);
7264                 [Version (since = "2.10")]
7265                 public void set_from_icon_name (string icon_name);
7266                 [Version (since = "2.10")]
7267                 public void set_from_pixbuf (Gdk.Pixbuf? pixbuf);
7268                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
7269                 public void set_from_stock (string stock_id);
7270                 [Version (since = "2.16")]
7271                 public void set_has_tooltip (bool has_tooltip);
7272                 [Version (since = "2.20")]
7273                 public void set_name (string name);
7274                 [Version (since = "2.12")]
7275                 public void set_screen (Gdk.Screen screen);
7276                 [Version (since = "2.18")]
7277                 public void set_title (string title);
7278                 [Version (since = "2.16")]
7279                 public void set_tooltip_markup (string? markup);
7280                 [Version (since = "2.16")]
7281                 public void set_tooltip_text (string text);
7282                 [Version (since = "2.10")]
7283                 public void set_visible (bool visible);
7284                 [NoAccessorMethod]
7285                 [Version (since = "2.12")]
7286                 public bool embedded { get; }
7287                 [NoAccessorMethod]
7288                 public string file { set; }
7289                 [NoAccessorMethod]
7290                 [Version (since = "2.14")]
7291                 public GLib.Icon gicon { owned get; set; }
7292                 [Version (since = "2.16")]
7293                 public bool has_tooltip { get; set; }
7294                 [NoAccessorMethod]
7295                 public string icon_name { owned get; set; }
7296                 [NoAccessorMethod]
7297                 [Version (since = "2.12")]
7298                 public Gtk.Orientation orientation { get; }
7299                 [NoAccessorMethod]
7300                 public Gdk.Pixbuf pixbuf { owned get; set; }
7301                 public Gdk.Screen screen { get; set; }
7302                 public int size { get; }
7303                 [NoAccessorMethod]
7304                 [Version (deprecated = true, deprecated_since = "3.10")]
7305                 public string stock { owned get; set; }
7306                 public Gtk.ImageType storage_type { get; }
7307                 [Version (since = "2.18")]
7308                 public string title { get; set; }
7309                 [Version (since = "2.16")]
7310                 public string tooltip_markup { owned get; set; }
7311                 [Version (since = "2.16")]
7312                 public string tooltip_text { owned get; set; }
7313                 public bool visible { get; set; }
7314                 [Version (since = "2.10")]
7315                 public virtual signal void activate ();
7316                 [Version (since = "2.14")]
7317                 public virtual signal bool button_press_event (Gdk.EventButton event);
7318                 [Version (since = "2.14")]
7319                 public virtual signal bool button_release_event (Gdk.EventButton event);
7320                 [Version (since = "2.10")]
7321                 public virtual signal void popup_menu (uint button, uint activate_time);
7322                 [Version (since = "2.16")]
7323                 public virtual signal bool query_tooltip (int x, int y, bool keyboard_mode, Gtk.Tooltip tooltip);
7324                 [Version (since = "2.16")]
7325                 public virtual signal bool scroll_event (Gdk.EventScroll event);
7326                 [Version (since = "2.10")]
7327                 public virtual signal bool size_changed (int size);
7328         }
7329         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_statusbar_get_type ()")]
7330         public class Statusbar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7331                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7332                 public Statusbar ();
7333                 public uint get_context_id (string context_description);
7334                 [Version (since = "2.20")]
7335                 public unowned Gtk.Box get_message_area ();
7336                 public void pop (uint context_id);
7337                 public uint push (uint context_id, string text);
7338                 public void remove (uint context_id, uint message_id);
7339                 [Version (since = "2.22")]
7340                 public void remove_all (uint context_id);
7341                 public virtual signal void text_popped (uint context_id, string text);
7342                 public virtual signal void text_pushed (uint context_id, string text);
7343         }
7344         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_statusbar_accessible_get_type ()")]
7345         public class StatusbarAccessible : Gtk.ContainerAccessible, Atk.Component {
7346                 [CCode (has_construct_function = false)]
7347                 protected StatusbarAccessible ();
7348         }
7349         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_get_type ()")]
7350         [Version (deprecated = true, deprecated_since = "3.0", replacement = "StyleContext")]
7351         public class Style : GLib.Object {
7352                 [CCode (array_length = false)]
7353                 public weak Cairo.Pattern background[5];
7354                 [CCode (array_length = false)]
7355                 public Gdk.Color @base[5];
7356                 [CCode (array_length = false)]
7357                 public Gdk.Color bg[5];
7358                 public Gdk.Color black;
7359                 [CCode (array_length = false)]
7360                 public Gdk.Color dark[5];
7361                 [CCode (array_length = false)]
7362                 public Gdk.Color fg[5];
7363                 public weak Pango.FontDescription font_desc;
7364                 [CCode (array_length = false)]
7365                 public Gdk.Color light[5];
7366                 [CCode (array_length = false)]
7367                 public Gdk.Color mid[5];
7368                 [CCode (array_length = false)]
7369                 public Gdk.Color text[5];
7370                 [CCode (array_length = false)]
7371                 public Gdk.Color text_aa[5];
7372                 public Gdk.Color white;
7373                 public int xthickness;
7374                 public int ythickness;
7375                 [CCode (has_construct_function = false)]
7376                 public Style ();
7377                 public void apply_default_background (Cairo.Context cr, Gdk.Window window, Gtk.StateType state_type, int x, int y, int width, int height);
7378                 [NoWrapper]
7379                 public virtual Gtk.Style clone ();
7380                 public Gtk.Style copy ();
7381                 [CCode (instance_pos = -1, vfunc_name = "copy")]
7382                 [NoWrapper]
7383                 public virtual void copy_to (Gtk.Style dest);
7384                 public void detach ();
7385                 [NoWrapper]
7386                 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);
7387                 [NoWrapper]
7388                 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);
7389                 [NoWrapper]
7390                 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);
7391                 [NoWrapper]
7392                 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);
7393                 [NoWrapper]
7394                 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);
7395                 [NoWrapper]
7396                 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);
7397                 [NoWrapper]
7398                 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);
7399                 [NoWrapper]
7400                 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);
7401                 [NoWrapper]
7402                 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);
7403                 [NoWrapper]
7404                 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);
7405                 [NoWrapper]
7406                 public virtual void draw_hline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x1, int x2, int y);
7407                 [NoWrapper]
7408                 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);
7409                 [NoWrapper]
7410                 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);
7411                 [NoWrapper]
7412                 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);
7413                 [NoWrapper]
7414                 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);
7415                 [NoWrapper]
7416                 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);
7417                 [NoWrapper]
7418                 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);
7419                 [NoWrapper]
7420                 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);
7421                 [NoWrapper]
7422                 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);
7423                 [NoWrapper]
7424                 public virtual void draw_vline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int y1_, int y2_, int x);
7425                 [Version (since = "2.16")]
7426                 public void @get (GLib.Type widget_type, ...);
7427                 [Version (since = "2.16")]
7428                 public void get_style_property (GLib.Type widget_type, string property_name, out GLib.Value value);
7429                 [Version (since = "2.16")]
7430                 public void get_valist (GLib.Type widget_type, string first_property_name, [CCode (type = "va_list")] va_list var_args);
7431                 [Version (since = "3.0")]
7432                 public bool has_context ();
7433                 [NoWrapper]
7434                 public virtual void init_from_rc (Gtk.RcStyle rc_style);
7435                 [Version (since = "2.10")]
7436                 public bool lookup_color (string color_name, out Gdk.Color color);
7437                 public unowned Gtk.IconSet lookup_icon_set (string stock_id);
7438                 public virtual Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, int size, Gtk.Widget? widget, string? detail);
7439                 public virtual void set_background (Gdk.Window window, Gtk.StateType state_type);
7440                 [NoAccessorMethod]
7441                 public Gtk.StyleContext context { owned get; construct; }
7442                 [Version (since = "2.4")]
7443                 public virtual signal void realize ();
7444                 [Version (since = "2.4")]
7445                 public virtual signal void unrealize ();
7446         }
7447         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_context_get_type ()")]
7448         public class StyleContext : GLib.Object {
7449                 [CCode (has_construct_function = false)]
7450                 public StyleContext ();
7451                 [Version (since = "3.0")]
7452                 public void add_class (string class_name);
7453                 [Version (since = "3.0")]
7454                 public void add_provider (Gtk.StyleProvider provider, uint priority);
7455                 [Version (since = "3.0")]
7456                 public static void add_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider, uint priority);
7457                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7458                 public void add_region (string region_name, Gtk.RegionFlags flags);
7459                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7460                 public void cancel_animations (void* region_id);
7461                 [Version (since = "3.0")]
7462                 public void @get (Gtk.StateFlags state, ...);
7463                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7464                 public Gdk.RGBA get_background_color (Gtk.StateFlags state);
7465                 [Version (since = "3.0")]
7466                 public Gtk.Border get_border (Gtk.StateFlags state);
7467                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7468                 public Gdk.RGBA get_border_color (Gtk.StateFlags state);
7469                 [Version (since = "3.0")]
7470                 public Gdk.RGBA get_color (Gtk.StateFlags state);
7471                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7472                 public Gtk.TextDirection get_direction ();
7473                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7474                 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
7475                 [Version (since = "3.8")]
7476                 public unowned Gdk.FrameClock? get_frame_clock ();
7477                 [Version (since = "3.0")]
7478                 public Gtk.JunctionSides get_junction_sides ();
7479                 [Version (since = "3.0")]
7480                 public Gtk.Border get_margin (Gtk.StateFlags state);
7481                 [Version (since = "3.0")]
7482                 public Gtk.Border get_padding (Gtk.StateFlags state);
7483                 [Version (since = "3.4")]
7484                 public unowned Gtk.StyleContext? get_parent ();
7485                 [Version (since = "3.0")]
7486                 public unowned Gtk.WidgetPath get_path ();
7487                 [Version (since = "3.0")]
7488                 public GLib.Value get_property (string property, Gtk.StateFlags state);
7489                 [Version (since = "3.10")]
7490                 public int get_scale ();
7491                 public unowned Gdk.Screen get_screen ();
7492                 public unowned Gtk.CssSection? get_section (string property);
7493                 [Version (since = "3.0")]
7494                 public Gtk.StateFlags get_state ();
7495                 [Version (since = "3.0")]
7496                 public void get_style (...);
7497                 public void get_style_property (string property_name, GLib.Value value);
7498                 [Version (since = "3.0")]
7499                 public void get_style_valist ([CCode (type = "va_list")] va_list args);
7500                 [Version (since = "3.0")]
7501                 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7502                 [Version (since = "3.0")]
7503                 public bool has_class (string class_name);
7504                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7505                 public bool has_region (string region_name, out Gtk.RegionFlags flags_return);
7506                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
7507                 public void invalidate ();
7508                 [Version (since = "3.0")]
7509                 public GLib.List<weak string> list_classes ();
7510                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7511                 public GLib.List<weak string> list_regions ();
7512                 public bool lookup_color (string color_name, out Gdk.RGBA color);
7513                 [Version (deprecated = true, deprecated_since = "3.10")]
7514                 public unowned Gtk.IconSet? lookup_icon_set (string stock_id);
7515                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7516                 public void notify_state_change (Gdk.Window window, void* region_id, Gtk.StateType state, bool state_value);
7517                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7518                 public void pop_animatable_region ();
7519                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7520                 public void push_animatable_region (void* region_id);
7521                 [Version (since = "3.0")]
7522                 public void remove_class (string class_name);
7523                 [Version (since = "3.0")]
7524                 public void remove_provider (Gtk.StyleProvider provider);
7525                 [Version (since = "3.0")]
7526                 public static void remove_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider);
7527                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7528                 public void remove_region (string region_name);
7529                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_activity")]
7530                 [Version (since = "3.0")]
7531                 public void render_activity (Cairo.Context cr, double x, double y, double width, double height);
7532                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_arrow")]
7533                 [Version (since = "3.0")]
7534                 public void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
7535                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_background")]
7536                 [Version (since = "3.0.")]
7537                 public void render_background (Cairo.Context cr, double x, double y, double width, double height);
7538                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_background_get_clip")]
7539                 [Version (since = "3.20")]
7540                 public Gdk.Rectangle render_background_get_clip (double x, double y, double width, double height);
7541                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_check")]
7542                 [Version (since = "3.0")]
7543                 public void render_check (Cairo.Context cr, double x, double y, double width, double height);
7544                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_expander")]
7545                 [Version (since = "3.0")]
7546                 public void render_expander (Cairo.Context cr, double x, double y, double width, double height);
7547                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_extension")]
7548                 [Version (since = "3.0")]
7549                 public void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
7550                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_focus")]
7551                 [Version (since = "3.0")]
7552                 public void render_focus (Cairo.Context cr, double x, double y, double width, double height);
7553                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_frame")]
7554                 [Version (since = "3.0")]
7555                 public void render_frame (Cairo.Context cr, double x, double y, double width, double height);
7556                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_frame_gap")]
7557                 [Version (since = "3.0")]
7558                 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);
7559                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_handle")]
7560                 [Version (since = "3.0")]
7561                 public void render_handle (Cairo.Context cr, double x, double y, double width, double height);
7562                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon")]
7563                 [Version (since = "3.2")]
7564                 public void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
7565                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon_pixbuf")]
7566                 [Version (deprecated = true, deprecated_since = "3.10", since = "3.0")]
7567                 public Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
7568                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon_surface")]
7569                 [Version (since = "3.10")]
7570                 public void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
7571                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_insertion_cursor")]
7572                 [Version (since = "3.4")]
7573                 public void render_insertion_cursor (Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
7574                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_layout")]
7575                 [Version (since = "3.0")]
7576                 public void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
7577                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_line")]
7578                 [Version (since = "3.0")]
7579                 public void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
7580                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_option")]
7581                 [Version (since = "3.0")]
7582                 public void render_option (Cairo.Context cr, double x, double y, double width, double height);
7583                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_slider")]
7584                 [Version (since = "3.0")]
7585                 public void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
7586                 [Version (since = "3.0")]
7587                 public static void reset_widgets (Gdk.Screen screen);
7588                 [Version (since = "3.0")]
7589                 public void restore ();
7590                 [Version (since = "3.0")]
7591                 public void save ();
7592                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7593                 public void scroll_animations (Gdk.Window window, int dx, int dy);
7594                 [Version (deprecated = true, deprecated_since = "3.18", since = "3.0")]
7595                 public void set_background (Gdk.Window window);
7596                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7597                 public void set_direction (Gtk.TextDirection direction);
7598                 [Version (since = "3.8")]
7599                 public void set_frame_clock (Gdk.FrameClock frame_clock);
7600                 [Version (since = "3.0")]
7601                 public void set_junction_sides (Gtk.JunctionSides sides);
7602                 [Version (since = "3.4")]
7603                 public void set_parent (Gtk.StyleContext? parent);
7604                 [Version (since = "3.0")]
7605                 public void set_path (Gtk.WidgetPath path);
7606                 [Version (since = "3.10")]
7607                 public void set_scale (int scale);
7608                 [Version (since = "3.0")]
7609                 public void set_screen (Gdk.Screen screen);
7610                 [Version (since = "3.0")]
7611                 public void set_state (Gtk.StateFlags flags);
7612                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7613                 public bool state_is_running (Gtk.StateType state, out double progress);
7614                 [Version (since = "3.20")]
7615                 public string to_string (Gtk.StyleContextPrintFlags flags);
7616                 public Gtk.TextDirection direction { get; set; }
7617                 [NoAccessorMethod]
7618                 public Gdk.FrameClock paint_clock { owned get; set; }
7619                 [Version (since = "3.4")]
7620                 public Gtk.StyleContext parent { get; set; }
7621                 public Gdk.Screen screen { get; set; }
7622                 [Version (since = "3.0")]
7623                 public virtual signal void changed ();
7624         }
7625         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_properties_get_type ()")]
7626         public class StyleProperties : GLib.Object, Gtk.StyleProvider {
7627                 [CCode (has_construct_function = false)]
7628                 [Version (deprecated = true, deprecated_since = "3.16")]
7629                 public StyleProperties ();
7630                 [Version (deprecated = true, deprecated_since = "3.16")]
7631                 public void clear ();
7632                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7633                 public void @get (Gtk.StateFlags state, ...);
7634                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7635                 public bool get_property (string property, Gtk.StateFlags state, out GLib.Value value);
7636                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7637                 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7638                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7639                 public unowned Gtk.SymbolicColor lookup_color (string name);
7640                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7641                 public static bool lookup_property (string property_name, out Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec);
7642                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7643                 public void map_color (string name, Gtk.SymbolicColor color);
7644                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7645                 public void merge (Gtk.StyleProperties props_to_merge, bool replace);
7646                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7647                 public static void register_property (Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
7648                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7649                 public void @set (Gtk.StateFlags state, ...);
7650                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7651                 public void set_property (string property, Gtk.StateFlags state, GLib.Value value);
7652                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7653                 public void set_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7654                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7655                 public void unset_property (string property, Gtk.StateFlags state);
7656         }
7657         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_switch_get_type ()")]
7658         public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
7659                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7660                 [Version (since = "3.0")]
7661                 public Switch ();
7662                 [Version (since = "3.0")]
7663                 public bool get_active ();
7664                 [Version (since = "3.14")]
7665                 public bool get_state ();
7666                 [Version (since = "3.0")]
7667                 public void set_active (bool is_active);
7668                 [Version (since = "3.14")]
7669                 public void set_state (bool state);
7670                 public bool active { get; set; }
7671                 [Version (since = "3.14")]
7672                 public bool state { get; set; }
7673                 public virtual signal void activate ();
7674                 [Version (since = "3.14")]
7675                 public virtual signal bool state_set (bool state);
7676         }
7677         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_switch_accessible_get_type ()")]
7678         public class SwitchAccessible : Gtk.WidgetAccessible, Atk.Action, Atk.Component {
7679                 [CCode (has_construct_function = false)]
7680                 protected SwitchAccessible ();
7681         }
7682         [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")]
7683         [Compact]
7684         public class SymbolicColor {
7685                 [CCode (has_construct_function = false)]
7686                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7687                 public SymbolicColor.alpha (Gtk.SymbolicColor color, double factor);
7688                 [CCode (has_construct_function = false)]
7689                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7690                 public SymbolicColor.literal (Gdk.RGBA color);
7691                 [CCode (has_construct_function = false)]
7692                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7693                 public SymbolicColor.mix (Gtk.SymbolicColor color1, Gtk.SymbolicColor color2, double factor);
7694                 [CCode (has_construct_function = false)]
7695                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7696                 public SymbolicColor.name (string name);
7697                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7698                 public unowned Gtk.SymbolicColor @ref ();
7699                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7700                 public bool resolve (Gtk.StyleProperties? props, out Gdk.RGBA resolved_color);
7701                 [CCode (has_construct_function = false)]
7702                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7703                 public SymbolicColor.shade (Gtk.SymbolicColor color, double factor);
7704                 [Version (deprecated = true, deprecated_since = "3.8")]
7705                 public string to_string ();
7706                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7707                 public void unref ();
7708                 [CCode (has_construct_function = false)]
7709                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.4")]
7710                 public SymbolicColor.win32 (string theme_class, int id);
7711         }
7712         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_table_get_type ()")]
7713         [Version (deprecated = true, deprecated_since = "3.4", replacement = "Grid")]
7714         public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7715                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7716                 public Table (uint rows, uint columns, bool homogeneous);
7717                 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);
7718                 public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
7719                 public uint get_col_spacing (uint column);
7720                 public uint get_default_col_spacing ();
7721                 public uint get_default_row_spacing ();
7722                 public bool get_homogeneous ();
7723                 public uint get_row_spacing (uint row);
7724                 [Version (since = "2.22")]
7725                 public void get_size (out uint rows, out uint columns);
7726                 public void resize (uint rows, uint columns);
7727                 public void set_col_spacing (uint column, uint spacing);
7728                 public void set_col_spacings (uint spacing);
7729                 public void set_homogeneous (bool homogeneous);
7730                 public void set_row_spacing (uint row, uint spacing);
7731                 public void set_row_spacings (uint spacing);
7732                 [NoAccessorMethod]
7733                 public uint column_spacing { get; set; }
7734                 public bool homogeneous { get; set; }
7735                 [NoAccessorMethod]
7736                 public uint n_columns { get; set; }
7737                 [NoAccessorMethod]
7738                 public uint n_rows { get; set; }
7739                 [NoAccessorMethod]
7740                 public uint row_spacing { get; set; }
7741         }
7742         [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")]
7743         [Compact]
7744         public class TargetList {
7745                 [CCode (has_construct_function = false)]
7746                 public TargetList ([CCode (array_length_cname = "ntargets", array_length_pos = 1.1, array_length_type = "guint")] Gtk.TargetEntry[]? targets);
7747                 public void add (Gdk.Atom target, uint flags, uint info);
7748                 [Version (since = "2.6")]
7749                 public void add_image_targets (uint info, bool writable);
7750                 [Version (since = "2.10")]
7751                 public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
7752                 public void add_table ([CCode (array_length_cname = "ntargets", array_length_pos = 1.1, array_length_type = "guint")] Gtk.TargetEntry[] targets);
7753                 [Version (since = "2.6")]
7754                 public void add_text_targets (uint info);
7755                 [Version (since = "2.6")]
7756                 public void add_uri_targets (uint info);
7757                 public bool find (Gdk.Atom target, out uint info);
7758                 public unowned Gtk.TargetList @ref ();
7759                 public void remove (Gdk.Atom target);
7760                 public void unref ();
7761         }
7762         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tearoff_menu_item_get_type ()")]
7763         [Version (deprecated = true, deprecated_since = "3.4")]
7764         public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
7765                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7766                 public TearoffMenuItem ();
7767         }
7768         [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")]
7769         [Compact]
7770         public class TextAttributes {
7771                 public Gtk.TextAppearance appearance;
7772                 public uint bg_full_height;
7773                 public Gtk.TextDirection direction;
7774                 public uint editable;
7775                 public Pango.FontDescription font;
7776                 public string font_features;
7777                 public double font_scale;
7778                 public int indent;
7779                 public uint invisible;
7780                 public Gtk.Justification justification;
7781                 public Pango.Language language;
7782                 public int left_margin;
7783                 public int letter_spacing;
7784                 public uint no_fallback;
7785                 public int pixels_above_lines;
7786                 public int pixels_below_lines;
7787                 public int pixels_inside_wrap;
7788                 public int right_margin;
7789                 public Pango.TabArray tabs;
7790                 public Gtk.WrapMode wrap_mode;
7791                 [CCode (has_construct_function = false)]
7792                 public TextAttributes ();
7793                 public Gtk.TextAttributes copy ();
7794                 public void copy_values (Gtk.TextAttributes dest);
7795                 public unowned Gtk.TextAttributes @ref ();
7796                 public void unref ();
7797         }
7798         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
7799         [Compact]
7800         public class TextBTree {
7801         }
7802         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_buffer_get_type ()")]
7803         public class TextBuffer : GLib.Object {
7804                 [CCode (has_construct_function = false)]
7805                 public TextBuffer (Gtk.TextTagTable? table);
7806                 [Version (since = "2.12")]
7807                 public void add_mark (Gtk.TextMark mark, Gtk.TextIter where);
7808                 public void add_selection_clipboard (Gtk.Clipboard clipboard);
7809                 public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
7810                 [Version (since = "2.6")]
7811                 public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
7812                 public void copy_clipboard (Gtk.Clipboard clipboard);
7813                 public unowned Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
7814                 public unowned Gtk.TextMark create_mark (string? mark_name, Gtk.TextIter where, bool left_gravity);
7815                 public unowned Gtk.TextTag create_tag (string? tag_name, ...);
7816                 public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable);
7817                 public void @delete (ref Gtk.TextIter start, ref Gtk.TextIter end);
7818                 public bool delete_interactive (ref Gtk.TextIter start_iter, ref Gtk.TextIter end_iter, bool default_editable);
7819                 public void delete_mark (Gtk.TextMark mark);
7820                 public void delete_mark_by_name (string name);
7821                 public bool delete_selection (bool interactive, bool default_editable);
7822                 [Version (since = "2.10")]
7823                 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;
7824                 [Version (since = "2.10")]
7825                 public bool deserialize_get_can_create_tags (Gdk.Atom format);
7826                 [Version (since = "2.10")]
7827                 public void deserialize_set_can_create_tags (Gdk.Atom format, bool can_create_tags);
7828                 public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
7829                 public int get_char_count ();
7830                 [Version (since = "2.10")]
7831                 public unowned Gtk.TargetList get_copy_target_list ();
7832                 [CCode (array_length_pos = 0.1)]
7833                 [Version (since = "2.10")]
7834                 public Gdk.Atom[] get_deserialize_formats ();
7835                 public void get_end_iter (out Gtk.TextIter iter);
7836                 [Version (since = "2.10")]
7837                 public bool get_has_selection ();
7838                 public unowned Gtk.TextMark get_insert ();
7839                 public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
7840                 public void get_iter_at_line (out Gtk.TextIter iter, int line_number);
7841                 public void get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
7842                 public void get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
7843                 public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
7844                 public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
7845                 public int get_line_count ();
7846                 public unowned Gtk.TextMark? get_mark (string name);
7847                 public bool get_modified ();
7848                 [Version (since = "2.10")]
7849                 public unowned Gtk.TargetList get_paste_target_list ();
7850                 public unowned Gtk.TextMark get_selection_bound ();
7851                 public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
7852                 [CCode (array_length_pos = 0.1)]
7853                 [Version (since = "2.10")]
7854                 public Gdk.Atom[] get_serialize_formats ();
7855                 public string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
7856                 public void get_start_iter (out Gtk.TextIter iter);
7857                 public unowned Gtk.TextTagTable get_tag_table ();
7858                 public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
7859                 public void insert (ref Gtk.TextIter iter, string text, int len);
7860                 public void insert_at_cursor (string text, int len);
7861                 public bool insert_interactive (ref Gtk.TextIter iter, string text, int len, bool default_editable);
7862                 public bool insert_interactive_at_cursor (string text, int len, bool default_editable);
7863                 [Version (since = "3.16")]
7864                 public void insert_markup (ref Gtk.TextIter iter, string markup, int len);
7865                 public void insert_range (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end);
7866                 public bool insert_range_interactive (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable);
7867                 public void insert_with_tags (ref Gtk.TextIter iter, string text, int len, ...);
7868                 public void insert_with_tags_by_name (ref Gtk.TextIter iter, string text, int len, ...);
7869                 public void move_mark (Gtk.TextMark mark, Gtk.TextIter where);
7870                 public void move_mark_by_name (string name, Gtk.TextIter where);
7871                 public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter? override_location, bool default_editable);
7872                 public void place_cursor (Gtk.TextIter where);
7873                 [Version (since = "2.10")]
7874                 public Gdk.Atom register_deserialize_format (string mime_type, owned Gtk.TextBufferDeserializeFunc function);
7875                 [Version (since = "2.10")]
7876                 public Gdk.Atom register_deserialize_tagset (string? tagset_name);
7877                 [Version (since = "2.10")]
7878                 public Gdk.Atom register_serialize_format (string mime_type, owned Gtk.TextBufferSerializeFunc function);
7879                 [Version (since = "2.10")]
7880                 public Gdk.Atom register_serialize_tagset (string? tagset_name);
7881                 public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end);
7882                 public void remove_selection_clipboard (Gtk.Clipboard clipboard);
7883                 public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
7884                 [Version (since = "2.4")]
7885                 public void select_range (Gtk.TextIter ins, Gtk.TextIter bound);
7886                 [CCode (array_length_pos = 4.1, array_length_type = "gsize")]
7887                 [Version (since = "2.10")]
7888                 public uint8[] serialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end);
7889                 public void set_modified (bool setting);
7890                 public void set_text (string text, int len = -1);
7891                 [Version (since = "2.10")]
7892                 public void unregister_deserialize_format (Gdk.Atom format);
7893                 [Version (since = "2.10")]
7894                 public void unregister_serialize_format (Gdk.Atom format);
7895                 [Version (since = "2.10")]
7896                 public Gtk.TargetList copy_target_list { get; }
7897                 [NoAccessorMethod]
7898                 [Version (since = "2.10")]
7899                 public int cursor_position { get; }
7900                 [Version (since = "2.10")]
7901                 public bool has_selection { get; }
7902                 [Version (since = "2.10")]
7903                 public Gtk.TargetList paste_target_list { get; }
7904                 public Gtk.TextTagTable tag_table { get; construct; }
7905                 [NoAccessorMethod]
7906                 [Version (since = "2.8")]
7907                 public string text { owned get; set; }
7908                 [HasEmitter]
7909                 public virtual signal void apply_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
7910                 [HasEmitter]
7911                 public virtual signal void begin_user_action ();
7912                 public virtual signal void changed ();
7913                 public virtual signal void delete_range (Gtk.TextIter start, Gtk.TextIter end);
7914                 [HasEmitter]
7915                 public virtual signal void end_user_action ();
7916                 [HasEmitter]
7917                 public virtual signal void insert_child_anchor (Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
7918                 [HasEmitter]
7919                 public virtual signal void insert_pixbuf (Gtk.TextIter iter, Gdk.Pixbuf pixbuf);
7920                 public virtual signal void insert_text (ref Gtk.TextIter pos, string new_text, int new_text_length);
7921                 public virtual signal void mark_deleted (Gtk.TextMark mark);
7922                 public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
7923                 public virtual signal void modified_changed ();
7924                 [Version (since = "2.16")]
7925                 public virtual signal void paste_done (Gtk.Clipboard clipboard);
7926                 [HasEmitter]
7927                 public virtual signal void remove_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
7928         }
7929         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_cell_accessible_get_type ()")]
7930         public class TextCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component, Atk.Text {
7931                 [CCode (has_construct_function = false)]
7932                 protected TextCellAccessible ();
7933         }
7934         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_child_anchor_get_type ()")]
7935         public class TextChildAnchor : GLib.Object {
7936                 [CCode (has_construct_function = false)]
7937                 public TextChildAnchor ();
7938                 public bool get_deleted ();
7939                 public GLib.List<weak Gtk.Widget> get_widgets ();
7940         }
7941         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_mark_get_type ()")]
7942         public class TextMark : GLib.Object {
7943                 [CCode (has_construct_function = false)]
7944                 [Version (since = "2.12")]
7945                 public TextMark (string? name, bool left_gravity = false);
7946                 public unowned Gtk.TextBuffer get_buffer ();
7947                 public bool get_deleted ();
7948                 public bool get_left_gravity ();
7949                 public unowned string? get_name ();
7950                 public bool get_visible ();
7951                 public void set_visible (bool setting);
7952                 public bool left_gravity { get; construct; }
7953                 public string name { get; construct; }
7954         }
7955         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_get_type ()")]
7956         public class TextTag : GLib.Object {
7957                 [CCode (has_construct_function = false)]
7958                 public TextTag (string? name = null);
7959                 [Version (since = "3.20")]
7960                 public void changed (bool size_changed);
7961                 public int get_priority ();
7962                 public void set_priority (int priority);
7963                 [NoAccessorMethod]
7964                 [Version (since = "2.12")]
7965                 public bool accumulative_margin { get; set; }
7966                 [NoAccessorMethod]
7967                 public string background { set; }
7968                 [NoAccessorMethod]
7969                 public bool background_full_height { get; set; }
7970                 [NoAccessorMethod]
7971                 public bool background_full_height_set { get; set; }
7972                 [NoAccessorMethod]
7973                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
7974                 public Gdk.Color background_gdk { get; set; }
7975                 [NoAccessorMethod]
7976                 [Version (since = "3.2")]
7977                 public Gdk.RGBA background_rgba { get; set; }
7978                 [NoAccessorMethod]
7979                 public bool background_set { get; set; }
7980                 [NoAccessorMethod]
7981                 public Gtk.TextDirection direction { get; set; }
7982                 [NoAccessorMethod]
7983                 public bool editable { get; set; }
7984                 [NoAccessorMethod]
7985                 public bool editable_set { get; set; }
7986                 [NoAccessorMethod]
7987                 [Version (since = "3.16")]
7988                 public bool fallback { get; set; }
7989                 [NoAccessorMethod]
7990                 public bool fallback_set { get; set; }
7991                 [NoAccessorMethod]
7992                 public string family { owned get; set; }
7993                 [NoAccessorMethod]
7994                 public bool family_set { get; set; }
7995                 [NoAccessorMethod]
7996                 public string font { owned get; set; }
7997                 [NoAccessorMethod]
7998                 public Pango.FontDescription font_desc { owned get; set; }
7999                 [NoAccessorMethod]
8000                 [Version (since = "3.18")]
8001                 public string font_features { owned get; set; }
8002                 [NoAccessorMethod]
8003                 public bool font_features_set { get; set; }
8004                 [NoAccessorMethod]
8005                 public string foreground { set; }
8006                 [NoAccessorMethod]
8007                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "foreground_rgba")]
8008                 public Gdk.Color foreground_gdk { get; set; }
8009                 [NoAccessorMethod]
8010                 [Version (since = "3.2")]
8011                 public Gdk.RGBA foreground_rgba { get; set; }
8012                 [NoAccessorMethod]
8013                 public bool foreground_set { get; set; }
8014                 [NoAccessorMethod]
8015                 public int indent { get; set; }
8016                 [NoAccessorMethod]
8017                 public bool indent_set { get; set; }
8018                 [NoAccessorMethod]
8019                 [Version (since = "2.8")]
8020                 public bool invisible { get; set; }
8021                 [NoAccessorMethod]
8022                 public bool invisible_set { get; set; }
8023                 [NoAccessorMethod]
8024                 public Gtk.Justification justification { get; set; }
8025                 [NoAccessorMethod]
8026                 public bool justification_set { get; set; }
8027                 [NoAccessorMethod]
8028                 public string language { owned get; set; }
8029                 [NoAccessorMethod]
8030                 public bool language_set { get; set; }
8031                 [NoAccessorMethod]
8032                 public int left_margin { get; set; }
8033                 [NoAccessorMethod]
8034                 public bool left_margin_set { get; set; }
8035                 [NoAccessorMethod]
8036                 [Version (since = "3.16")]
8037                 public int letter_spacing { get; set; }
8038                 [NoAccessorMethod]
8039                 public bool letter_spacing_set { get; set; }
8040                 [NoAccessorMethod]
8041                 public string name { owned get; construct; }
8042                 [NoAccessorMethod]
8043                 [Version (since = "2.8")]
8044                 public string paragraph_background { set; }
8045                 [NoAccessorMethod]
8046                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "paragraph_background_rgba", since = "2.8")]
8047                 public Gdk.Color paragraph_background_gdk { get; set; }
8048                 [NoAccessorMethod]
8049                 [Version (since = "3.2")]
8050                 public Gdk.RGBA paragraph_background_rgba { get; set; }
8051                 [NoAccessorMethod]
8052                 public bool paragraph_background_set { get; set; }
8053                 [NoAccessorMethod]
8054                 public int pixels_above_lines { get; set; }
8055                 [NoAccessorMethod]
8056                 public bool pixels_above_lines_set { get; set; }
8057                 [NoAccessorMethod]
8058                 public int pixels_below_lines { get; set; }
8059                 [NoAccessorMethod]
8060                 public bool pixels_below_lines_set { get; set; }
8061                 [NoAccessorMethod]
8062                 public int pixels_inside_wrap { get; set; }
8063                 [NoAccessorMethod]
8064                 public bool pixels_inside_wrap_set { get; set; }
8065                 [NoAccessorMethod]
8066                 public int right_margin { get; set; }
8067                 [NoAccessorMethod]
8068                 public bool right_margin_set { get; set; }
8069                 [NoAccessorMethod]
8070                 public int rise { get; set; }
8071                 [NoAccessorMethod]
8072                 public bool rise_set { get; set; }
8073                 [NoAccessorMethod]
8074                 public double scale { get; set; }
8075                 [NoAccessorMethod]
8076                 public bool scale_set { get; set; }
8077                 [NoAccessorMethod]
8078                 public int size { get; set; }
8079                 [NoAccessorMethod]
8080                 public double size_points { get; set; }
8081                 [NoAccessorMethod]
8082                 public bool size_set { get; set; }
8083                 [NoAccessorMethod]
8084                 public Pango.Stretch stretch { get; set; }
8085                 [NoAccessorMethod]
8086                 public bool stretch_set { get; set; }
8087                 [NoAccessorMethod]
8088                 public bool strikethrough { get; set; }
8089                 [NoAccessorMethod]
8090                 [Version (since = "3.16")]
8091                 public Gdk.RGBA strikethrough_rgba { get; set; }
8092                 [NoAccessorMethod]
8093                 [Version (since = "3.16")]
8094                 public bool strikethrough_rgba_set { get; set; }
8095                 [NoAccessorMethod]
8096                 public bool strikethrough_set { get; set; }
8097                 [NoAccessorMethod]
8098                 public Pango.Style style { get; set; }
8099                 [NoAccessorMethod]
8100                 public bool style_set { get; set; }
8101                 [NoAccessorMethod]
8102                 public Pango.TabArray tabs { owned get; set; }
8103                 [NoAccessorMethod]
8104                 public bool tabs_set { get; set; }
8105                 [NoAccessorMethod]
8106                 public Pango.Underline underline { get; set; }
8107                 [NoAccessorMethod]
8108                 [Version (since = "3.16")]
8109                 public Gdk.RGBA underline_rgba { get; set; }
8110                 [NoAccessorMethod]
8111                 [Version (since = "3.16")]
8112                 public bool underline_rgba_set { get; set; }
8113                 [NoAccessorMethod]
8114                 public bool underline_set { get; set; }
8115                 [NoAccessorMethod]
8116                 public Pango.Variant variant { get; set; }
8117                 [NoAccessorMethod]
8118                 public bool variant_set { get; set; }
8119                 [NoAccessorMethod]
8120                 public int weight { get; set; }
8121                 [NoAccessorMethod]
8122                 public bool weight_set { get; set; }
8123                 [NoAccessorMethod]
8124                 public Gtk.WrapMode wrap_mode { get; set; }
8125                 [NoAccessorMethod]
8126                 public bool wrap_mode_set { get; set; }
8127                 [HasEmitter]
8128                 public virtual signal bool event (GLib.Object event_object, Gdk.Event event, Gtk.TextIter iter);
8129         }
8130         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_table_get_type ()")]
8131         public class TextTagTable : GLib.Object, Gtk.Buildable {
8132                 [CCode (has_construct_function = false)]
8133                 public TextTagTable ();
8134                 public bool add (Gtk.TextTag tag);
8135                 public void @foreach (Gtk.TextTagTableForeach func);
8136                 public int get_size ();
8137                 public unowned Gtk.TextTag? lookup (string name);
8138                 public void remove (Gtk.TextTag tag);
8139                 public virtual signal void tag_added (Gtk.TextTag tag);
8140                 public virtual signal void tag_changed (Gtk.TextTag tag, bool size_changed);
8141                 public virtual signal void tag_removed (Gtk.TextTag tag);
8142         }
8143         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_view_get_type ()")]
8144         public class TextView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
8145                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8146                 public TextView ();
8147                 public void add_child_at_anchor (Gtk.Widget child, Gtk.TextChildAnchor anchor);
8148                 public void add_child_in_window (Gtk.Widget child, Gtk.TextWindowType which_window, int xpos, int ypos);
8149                 public bool backward_display_line (ref Gtk.TextIter iter);
8150                 public bool backward_display_line_start (ref Gtk.TextIter iter);
8151                 public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y);
8152                 [NoWrapper]
8153                 public virtual Gtk.TextBuffer create_buffer ();
8154                 [NoWrapper]
8155                 public virtual void draw_layer (Gtk.TextViewLayer layer, Cairo.Context cr);
8156                 public bool forward_display_line (ref Gtk.TextIter iter);
8157                 public bool forward_display_line_end (ref Gtk.TextIter iter);
8158                 [Version (since = "2.4")]
8159                 public bool get_accepts_tab ();
8160                 public int get_border_window_size (Gtk.TextWindowType type);
8161                 [Version (since = "3.18")]
8162                 public int get_bottom_margin ();
8163                 public unowned Gtk.TextBuffer get_buffer ();
8164                 [Version (since = "3.0")]
8165                 public void get_cursor_locations (Gtk.TextIter? iter, out Gdk.Rectangle strong, out Gdk.Rectangle @weak);
8166                 public bool get_cursor_visible ();
8167                 public Gtk.TextAttributes get_default_attributes ();
8168                 public bool get_editable ();
8169                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.22")]
8170                 public unowned Gtk.Adjustment get_hadjustment ();
8171                 public int get_indent ();
8172                 [Version (since = "3.6")]
8173                 public Gtk.InputHints get_input_hints ();
8174                 [Version (since = "3.6")]
8175                 public Gtk.InputPurpose get_input_purpose ();
8176                 public bool get_iter_at_location (out Gtk.TextIter iter, int x, int y);
8177                 [Version (since = "2.6")]
8178                 public bool get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
8179                 public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
8180                 public Gtk.Justification get_justification ();
8181                 public int get_left_margin ();
8182                 public void get_line_at_y (out Gtk.TextIter target_iter, int y, out int line_top);
8183                 public void get_line_yrange (Gtk.TextIter iter, out int y, out int height);
8184                 [Version (since = "3.16")]
8185                 public bool get_monospace ();
8186                 [Version (since = "2.4")]
8187                 public bool get_overwrite ();
8188                 public int get_pixels_above_lines ();
8189                 public int get_pixels_below_lines ();
8190                 public int get_pixels_inside_wrap ();
8191                 public int get_right_margin ();
8192                 public Pango.TabArray? get_tabs ();
8193                 [Version (since = "3.18")]
8194                 public int get_top_margin ();
8195                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.22")]
8196                 public unowned Gtk.Adjustment get_vadjustment ();
8197                 public void get_visible_rect (out Gdk.Rectangle visible_rect);
8198                 public unowned Gdk.Window? get_window (Gtk.TextWindowType win);
8199                 public Gtk.TextWindowType get_window_type (Gdk.Window window);
8200                 public Gtk.WrapMode get_wrap_mode ();
8201                 [Version (since = "2.22")]
8202                 public bool im_context_filter_keypress (Gdk.EventKey event);
8203                 public void move_child (Gtk.Widget child, int xpos, int ypos);
8204                 public bool move_mark_onscreen (Gtk.TextMark mark);
8205                 public bool move_visually (ref Gtk.TextIter iter, int count);
8206                 public bool place_cursor_onscreen ();
8207                 [Version (since = "3.20")]
8208                 public void reset_cursor_blink ();
8209                 [Version (since = "2.22")]
8210                 public void reset_im_context ();
8211                 public void scroll_mark_onscreen (Gtk.TextMark mark);
8212                 public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
8213                 public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
8214                 [Version (since = "2.4")]
8215                 public void set_accepts_tab (bool accepts_tab);
8216                 public void set_border_window_size (Gtk.TextWindowType type, int size);
8217                 [Version (since = "3.18")]
8218                 public void set_bottom_margin (int bottom_margin);
8219                 public void set_buffer (Gtk.TextBuffer? buffer);
8220                 public void set_cursor_visible (bool setting);
8221                 public void set_editable (bool setting);
8222                 public void set_indent (int indent);
8223                 [Version (since = "3.6")]
8224                 public void set_input_hints (Gtk.InputHints hints);
8225                 [Version (since = "3.6")]
8226                 public void set_input_purpose (Gtk.InputPurpose purpose);
8227                 public void set_justification (Gtk.Justification justification);
8228                 public void set_left_margin (int left_margin);
8229                 [Version (since = "3.16")]
8230                 public void set_monospace (bool monospace);
8231                 [Version (since = "2.4")]
8232                 public void set_overwrite (bool overwrite);
8233                 public void set_pixels_above_lines (int pixels_above_lines);
8234                 public void set_pixels_below_lines (int pixels_below_lines);
8235                 public void set_pixels_inside_wrap (int pixels_inside_wrap);
8236                 public void set_right_margin (int right_margin);
8237                 public void set_tabs (Pango.TabArray tabs);
8238                 [Version (since = "3.18")]
8239                 public void set_top_margin (int top_margin);
8240                 public void set_wrap_mode (Gtk.WrapMode wrap_mode);
8241                 public bool starts_display_line (Gtk.TextIter iter);
8242                 public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y);
8243                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8244                 public TextView.with_buffer (Gtk.TextBuffer buffer);
8245                 public bool accepts_tab { get; set; }
8246                 [Version (since = "3.18")]
8247                 public int bottom_margin { get; set; }
8248                 public Gtk.TextBuffer buffer { get; set; }
8249                 public bool cursor_visible { get; set; }
8250                 public bool editable { get; set; }
8251                 [NoAccessorMethod]
8252                 [Version (since = "2.16")]
8253                 public string im_module { owned get; set; }
8254                 public int indent { get; set; }
8255                 [Version (since = "3.6")]
8256                 public Gtk.InputHints input_hints { get; set; }
8257                 [Version (since = "3.6")]
8258                 public Gtk.InputPurpose input_purpose { get; set; }
8259                 public Gtk.Justification justification { get; set; }
8260                 public int left_margin { get; set; }
8261                 public bool monospace { get; set; }
8262                 public bool overwrite { get; set; }
8263                 public int pixels_above_lines { get; set; }
8264                 public int pixels_below_lines { get; set; }
8265                 public int pixels_inside_wrap { get; set; }
8266                 [NoAccessorMethod]
8267                 [Version (since = "3.8")]
8268                 public bool populate_all { get; set; }
8269                 public int right_margin { get; set; }
8270                 public Pango.TabArray tabs { owned get; set; }
8271                 [Version (since = "3.18")]
8272                 public int top_margin { get; set; }
8273                 public Gtk.WrapMode wrap_mode { get; set; }
8274                 public virtual signal void backspace ();
8275                 public virtual signal void copy_clipboard ();
8276                 public virtual signal void cut_clipboard ();
8277                 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
8278                 [Version (since = "3.16")]
8279                 public virtual signal bool extend_selection (Gtk.TextExtendSelection granularity, Gtk.TextIter location, Gtk.TextIter start, Gtk.TextIter end);
8280                 public virtual signal void insert_at_cursor (string str);
8281                 [Version (since = "3.22.27")]
8282                 public virtual signal void insert_emoji ();
8283                 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
8284                 public signal void move_viewport (Gtk.ScrollStep step, int count);
8285                 public virtual signal void paste_clipboard ();
8286                 public virtual signal void populate_popup (Gtk.Menu popup);
8287                 [Version (since = "2.20")]
8288                 public signal void preedit_changed (string preedit);
8289                 public signal void select_all (bool select);
8290                 public virtual signal void set_anchor ();
8291                 public signal void toggle_cursor_visible ();
8292                 public virtual signal void toggle_overwrite ();
8293         }
8294         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_view_accessible_get_type ()")]
8295         public class TextViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.EditableText, Atk.StreamableContent, Atk.Text {
8296                 [CCode (has_construct_function = false)]
8297                 protected TextViewAccessible ();
8298         }
8299         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
8300         [Compact]
8301         public class ThemeEngine {
8302         }
8303         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_theming_engine_get_type ()")]
8304         public class ThemingEngine : GLib.Object {
8305                 [CCode (has_construct_function = false)]
8306                 protected ThemingEngine ();
8307                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8308                 public void @get (Gtk.StateFlags state, ...);
8309                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8310                 public Gdk.RGBA get_background_color (Gtk.StateFlags state);
8311                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8312                 public Gtk.Border get_border (Gtk.StateFlags state);
8313                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8314                 public Gdk.RGBA get_border_color (Gtk.StateFlags state);
8315                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8316                 public Gdk.RGBA get_color (Gtk.StateFlags state);
8317                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8318                 public Gtk.TextDirection get_direction ();
8319                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8320                 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
8321                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8322                 public Gtk.JunctionSides get_junction_sides ();
8323                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8324                 public Gtk.Border get_margin (Gtk.StateFlags state);
8325                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8326                 public Gtk.Border get_padding (Gtk.StateFlags state);
8327                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8328                 public unowned Gtk.WidgetPath get_path ();
8329                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8330                 public GLib.Value get_property (string property, Gtk.StateFlags state);
8331                 [Version (deprecated = true, deprecated_since = "3.14")]
8332                 public unowned Gdk.Screen? get_screen ();
8333                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8334                 public Gtk.StateFlags get_state ();
8335                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8336                 public void get_style (...);
8337                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8338                 public GLib.Value get_style_property (string property_name);
8339                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8340                 public void get_style_valist ([CCode (type = "va_list")] va_list args);
8341                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8342                 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
8343                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8344                 public bool has_class (string style_class);
8345                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8346                 public bool has_region (string style_region, out Gtk.RegionFlags flags);
8347                 [Version (deprecated = true, deprecated_since = "3.14")]
8348                 public static unowned Gtk.ThemingEngine? load (string name);
8349                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8350                 public bool lookup_color (string color_name, out Gdk.RGBA color);
8351                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8352                 public static void register_property (string name_space, Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
8353                 [NoWrapper]
8354                 public virtual void render_activity (Cairo.Context cr, double x, double y, double width, double height);
8355                 [NoWrapper]
8356                 public virtual void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
8357                 [NoWrapper]
8358                 public virtual void render_background (Cairo.Context cr, double x, double y, double width, double height);
8359                 [NoWrapper]
8360                 public virtual void render_check (Cairo.Context cr, double x, double y, double width, double height);
8361                 [NoWrapper]
8362                 public virtual void render_expander (Cairo.Context cr, double x, double y, double width, double height);
8363                 [NoWrapper]
8364                 public virtual void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
8365                 [NoWrapper]
8366                 public virtual void render_focus (Cairo.Context cr, double x, double y, double width, double height);
8367                 [NoWrapper]
8368                 public virtual void render_frame (Cairo.Context cr, double x, double y, double width, double height);
8369                 [NoWrapper]
8370                 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);
8371                 [NoWrapper]
8372                 public virtual void render_handle (Cairo.Context cr, double x, double y, double width, double height);
8373                 [NoWrapper]
8374                 public virtual void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
8375                 [NoWrapper]
8376                 public virtual Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
8377                 [NoWrapper]
8378                 public virtual void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
8379                 [NoWrapper]
8380                 public virtual void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
8381                 [NoWrapper]
8382                 public virtual void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
8383                 [NoWrapper]
8384                 public virtual void render_option (Cairo.Context cr, double x, double y, double width, double height);
8385                 [NoWrapper]
8386                 public virtual void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
8387                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
8388                 public bool state_is_running (Gtk.StateType state, out double progress);
8389                 [NoAccessorMethod]
8390                 [Version (since = "3.0")]
8391                 public string name { owned get; construct; }
8392         }
8393         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_action_get_type ()")]
8394         [Version (deprecated = true, deprecated_since = "3.10")]
8395         public class ToggleAction : Gtk.Action, Gtk.Buildable {
8396                 [CCode (has_construct_function = false)]
8397                 [Version (since = "2.4")]
8398                 public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
8399                 [Version (since = "2.4")]
8400                 public bool get_active ();
8401                 [Version (since = "2.4")]
8402                 public bool get_draw_as_radio ();
8403                 [Version (since = "2.4")]
8404                 public void set_active (bool is_active);
8405                 [Version (since = "2.4")]
8406                 public void set_draw_as_radio (bool draw_as_radio);
8407                 [Version (since = "2.10")]
8408                 public bool active { get; set; }
8409                 public bool draw_as_radio { get; set; }
8410                 [HasEmitter]
8411                 public virtual signal void toggled ();
8412         }
8413         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_button_get_type ()")]
8414         public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8415                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8416                 public ToggleButton ();
8417                 public bool get_active ();
8418                 public bool get_inconsistent ();
8419                 public bool get_mode ();
8420                 public void set_active (bool is_active);
8421                 public void set_inconsistent (bool setting);
8422                 public void set_mode (bool draw_indicator);
8423                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8424                 public ToggleButton.with_label (string label);
8425                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8426                 public ToggleButton.with_mnemonic (string label);
8427                 public bool active { get; set; }
8428                 [NoAccessorMethod]
8429                 public bool draw_indicator { get; set; }
8430                 public bool inconsistent { get; set; }
8431                 [HasEmitter]
8432                 public virtual signal void toggled ();
8433         }
8434         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toggle_button_accessible_get_type ()")]
8435         public class ToggleButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
8436                 [CCode (has_construct_function = false)]
8437                 protected ToggleButtonAccessible ();
8438         }
8439         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_tool_button_get_type ()")]
8440         public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8441                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8442                 [Version (since = "2.4")]
8443                 public ToggleToolButton ();
8444                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8445                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8446                 public ToggleToolButton.from_stock (string stock_id);
8447                 [Version (since = "2.4")]
8448                 public bool get_active ();
8449                 [Version (since = "2.4")]
8450                 public void set_active (bool is_active);
8451                 [Version (since = "2.8")]
8452                 public bool active { get; set; }
8453                 public virtual signal void toggled ();
8454         }
8455         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_button_get_type ()")]
8456         public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8457                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8458                 [Version (since = "2.4")]
8459                 public ToolButton (Gtk.Widget? icon_widget, string? label);
8460                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8461                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8462                 public ToolButton.from_stock (string stock_id);
8463                 [Version (since = "2.8")]
8464                 public unowned string? get_icon_name ();
8465                 [Version (since = "2.4")]
8466                 public unowned Gtk.Widget? get_icon_widget ();
8467                 [Version (since = "2.4")]
8468                 public unowned string? get_label ();
8469                 [Version (since = "2.4")]
8470                 public unowned Gtk.Widget? get_label_widget ();
8471                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8472                 public unowned string get_stock_id ();
8473                 [Version (since = "2.4")]
8474                 public bool get_use_underline ();
8475                 [Version (since = "2.8")]
8476                 public void set_icon_name (string? icon_name);
8477                 [Version (since = "2.4")]
8478                 public void set_icon_widget (Gtk.Widget? icon_widget);
8479                 [Version (since = "2.4")]
8480                 public void set_label (string? label);
8481                 [Version (since = "2.4")]
8482                 public void set_label_widget (Gtk.Widget? label_widget);
8483                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8484                 public void set_stock_id (string? stock_id);
8485                 [Version (since = "2.4")]
8486                 public void set_use_underline (bool use_underline);
8487                 [Version (since = "2.8")]
8488                 public string icon_name { get; set; }
8489                 public Gtk.Widget icon_widget { get; set; }
8490                 public string label { get; set; }
8491                 public Gtk.Widget label_widget { get; set; }
8492                 [Version (deprecated = true, deprecated_since = "3.10")]
8493                 public string stock_id { get; set; }
8494                 public bool use_underline { get; set; }
8495                 public virtual signal void clicked ();
8496         }
8497         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_get_type ()")]
8498         public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Activatable, Gtk.Buildable {
8499                 [CCode (has_construct_function = false)]
8500                 [Version (since = "2.4")]
8501                 public ToolItem ();
8502                 [Version (since = "2.20")]
8503                 public Pango.EllipsizeMode get_ellipsize_mode ();
8504                 [Version (since = "2.4")]
8505                 public bool get_expand ();
8506                 [Version (since = "2.4")]
8507                 public bool get_homogeneous ();
8508                 [Version (since = "2.4")]
8509                 public Gtk.IconSize get_icon_size ();
8510                 [Version (since = "2.4")]
8511                 public bool get_is_important ();
8512                 [Version (since = "2.4")]
8513                 public Gtk.Orientation get_orientation ();
8514                 [Version (since = "2.4")]
8515                 public unowned Gtk.Widget? get_proxy_menu_item (string menu_item_id);
8516                 [Version (since = "2.4")]
8517                 public Gtk.ReliefStyle get_relief_style ();
8518                 [Version (since = "2.20")]
8519                 public float get_text_alignment ();
8520                 [Version (since = "2.20")]
8521                 public Gtk.Orientation get_text_orientation ();
8522                 [Version (since = "2.20")]
8523                 public unowned Gtk.SizeGroup get_text_size_group ();
8524                 [Version (since = "2.4")]
8525                 public Gtk.ToolbarStyle get_toolbar_style ();
8526                 [Version (since = "2.4")]
8527                 public bool get_use_drag_window ();
8528                 [Version (since = "2.4")]
8529                 public bool get_visible_horizontal ();
8530                 [Version (since = "2.4")]
8531                 public bool get_visible_vertical ();
8532                 [Version (since = "2.6")]
8533                 public void rebuild_menu ();
8534                 [Version (since = "2.4")]
8535                 public unowned Gtk.Widget retrieve_proxy_menu_item ();
8536                 [Version (since = "2.4")]
8537                 public void set_expand (bool expand);
8538                 [Version (since = "2.4")]
8539                 public void set_homogeneous (bool homogeneous);
8540                 [Version (since = "2.4")]
8541                 public void set_is_important (bool is_important);
8542                 [Version (since = "2.4")]
8543                 public void set_proxy_menu_item (string menu_item_id, Gtk.Widget? menu_item);
8544                 [Version (since = "2.12")]
8545                 public void set_tooltip_markup (string markup);
8546                 [Version (since = "2.12")]
8547                 public void set_tooltip_text (string text);
8548                 [Version (since = "2.4")]
8549                 public void set_use_drag_window (bool use_drag_window);
8550                 [Version (since = "2.4")]
8551                 public void set_visible_horizontal (bool visible_horizontal);
8552                 [Version (since = "2.4")]
8553                 public void set_visible_vertical (bool visible_vertical);
8554                 public bool is_important { get; set; }
8555                 public bool visible_horizontal { get; set; }
8556                 public bool visible_vertical { get; set; }
8557                 public virtual signal bool create_menu_proxy ();
8558                 [HasEmitter]
8559                 public virtual signal void toolbar_reconfigured ();
8560         }
8561         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_group_get_type ()")]
8562         public class ToolItemGroup : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
8563                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8564                 [Version (since = "2.20")]
8565                 public ToolItemGroup (string label);
8566                 [Version (since = "2.20")]
8567                 public bool get_collapsed ();
8568                 [Version (since = "2.20")]
8569                 public unowned Gtk.ToolItem get_drop_item (int x, int y);
8570                 [Version (since = "2.20")]
8571                 public Pango.EllipsizeMode get_ellipsize ();
8572                 [Version (since = "2.20")]
8573                 public Gtk.ReliefStyle get_header_relief ();
8574                 [Version (since = "2.20")]
8575                 public int get_item_position (Gtk.ToolItem item);
8576                 [Version (since = "2.20")]
8577                 public unowned string get_label ();
8578                 [Version (since = "2.20")]
8579                 public unowned Gtk.Widget get_label_widget ();
8580                 [Version (since = "2.20")]
8581                 public uint get_n_items ();
8582                 [Version (since = "2.20")]
8583                 public unowned Gtk.ToolItem get_nth_item (uint index);
8584                 [Version (since = "2.20")]
8585                 public void insert (Gtk.ToolItem item, int position);
8586                 [Version (since = "2.20")]
8587                 public void set_collapsed (bool collapsed);
8588                 [Version (since = "2.20")]
8589                 public void set_ellipsize (Pango.EllipsizeMode ellipsize);
8590                 [Version (since = "2.20")]
8591                 public void set_header_relief (Gtk.ReliefStyle style);
8592                 [Version (since = "2.20")]
8593                 public void set_item_position (Gtk.ToolItem item, int position);
8594                 [Version (since = "2.20")]
8595                 public void set_label (string label);
8596                 [Version (since = "2.20")]
8597                 public void set_label_widget (Gtk.Widget label_widget);
8598                 public bool collapsed { get; set; }
8599                 public Pango.EllipsizeMode ellipsize { get; set; }
8600                 public Gtk.ReliefStyle header_relief { get; set; }
8601                 public string label { get; set; }
8602                 public Gtk.Widget label_widget { get; set; }
8603         }
8604         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_palette_get_type ()")]
8605         public class ToolPalette : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Scrollable {
8606                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8607                 [Version (since = "2.20")]
8608                 public ToolPalette ();
8609                 [Version (since = "2.20")]
8610                 public void add_drag_dest (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.ToolPaletteDragTargets targets, Gdk.DragAction actions);
8611                 [Version (since = "2.20")]
8612                 public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
8613                 [Version (since = "2.20")]
8614                 public static unowned Gtk.TargetEntry? get_drag_target_group ();
8615                 [Version (since = "2.20")]
8616                 public static unowned Gtk.TargetEntry? get_drag_target_item ();
8617                 [Version (since = "2.20")]
8618                 public unowned Gtk.ToolItemGroup? get_drop_group (int x, int y);
8619                 [Version (since = "2.20")]
8620                 public unowned Gtk.ToolItem? get_drop_item (int x, int y);
8621                 [Version (since = "2.20")]
8622                 public bool get_exclusive (Gtk.ToolItemGroup group);
8623                 [Version (since = "2.20")]
8624                 public bool get_expand (Gtk.ToolItemGroup group);
8625                 [Version (since = "2.20")]
8626                 public int get_group_position (Gtk.ToolItemGroup group);
8627                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
8628                 public unowned Gtk.Adjustment get_hadjustment ();
8629                 [Version (since = "2.20")]
8630                 public Gtk.IconSize get_icon_size ();
8631                 [Version (since = "2.20")]
8632                 public Gtk.ToolbarStyle get_style ();
8633                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
8634                 public unowned Gtk.Adjustment get_vadjustment ();
8635                 [Version (since = "2.20")]
8636                 public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
8637                 [Version (since = "2.20")]
8638                 public void set_exclusive (Gtk.ToolItemGroup group, bool exclusive);
8639                 [Version (since = "2.20")]
8640                 public void set_expand (Gtk.ToolItemGroup group, bool expand);
8641                 [Version (since = "2.20")]
8642                 public void set_group_position (Gtk.ToolItemGroup group, int position);
8643                 [Version (since = "2.20")]
8644                 public void set_icon_size ([CCode (type = "GtkIconSize")] Gtk.IconSize icon_size);
8645                 [Version (since = "2.20")]
8646                 public void set_style (Gtk.ToolbarStyle style);
8647                 [Version (since = "2.20")]
8648                 public void unset_icon_size ();
8649                 [Version (since = "2.20")]
8650                 public void unset_style ();
8651                 [Version (since = "2.20")]
8652                 public Gtk.IconSize icon_size { get; set; }
8653                 [NoAccessorMethod]
8654                 [Version (since = "2.20")]
8655                 public bool icon_size_set { get; set; }
8656                 [NoAccessorMethod]
8657                 [Version (since = "2.20")]
8658                 public Gtk.ToolbarStyle toolbar_style { get; set; }
8659         }
8660         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toolbar_get_type ()")]
8661         public class Toolbar : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.ToolShell {
8662                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8663                 public Toolbar ();
8664                 [Version (since = "2.4")]
8665                 public int get_drop_index (int x, int y);
8666                 [Version (since = "2.4")]
8667                 public int get_item_index (Gtk.ToolItem item);
8668                 [Version (since = "2.4")]
8669                 public int get_n_items ();
8670                 [Version (since = "2.4")]
8671                 public unowned Gtk.ToolItem? get_nth_item (int n);
8672                 [Version (since = "2.4")]
8673                 public bool get_show_arrow ();
8674                 [Version (since = "2.4")]
8675                 public void insert (Gtk.ToolItem item, int pos);
8676                 [Version (since = "2.4")]
8677                 public void set_drop_highlight_item (Gtk.ToolItem? tool_item, int index_);
8678                 public void set_icon_size (Gtk.IconSize icon_size);
8679                 [Version (since = "2.4")]
8680                 public void set_show_arrow (bool show_arrow);
8681                 public void set_style (Gtk.ToolbarStyle style);
8682                 public void unset_icon_size ();
8683                 public void unset_style ();
8684                 [Version (since = "2.10")]
8685                 public Gtk.IconSize icon_size { get; set; }
8686                 [NoAccessorMethod]
8687                 [Version (since = "2.10")]
8688                 public bool icon_size_set { get; set; }
8689                 public bool show_arrow { get; set; }
8690                 [NoAccessorMethod]
8691                 public Gtk.ToolbarStyle toolbar_style { get; set; }
8692                 public signal bool focus_home_or_end (bool focus_home);
8693                 public virtual signal void orientation_changed (Gtk.Orientation orientation);
8694                 public virtual signal bool popup_context_menu (int x, int y, int button_number);
8695                 public virtual signal void style_changed (Gtk.ToolbarStyle style);
8696         }
8697         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tooltip_get_type ()")]
8698         public class Tooltip : GLib.Object {
8699                 [CCode (has_construct_function = false)]
8700                 protected Tooltip ();
8701                 [Version (since = "2.12")]
8702                 public void set_custom (Gtk.Widget? custom_widget);
8703                 [Version (since = "2.12")]
8704                 public void set_icon (Gdk.Pixbuf? pixbuf);
8705                 [Version (since = "2.20")]
8706                 public void set_icon_from_gicon (GLib.Icon? gicon, int size);
8707                 [Version (since = "2.14")]
8708                 public void set_icon_from_icon_name (string? icon_name, int size);
8709                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
8710                 public void set_icon_from_stock (string? stock_id, int size);
8711                 [Version (since = "2.12")]
8712                 public void set_markup (string? markup);
8713                 [Version (since = "2.12")]
8714                 public void set_text (string? text);
8715                 [Version (since = "2.12")]
8716                 public void set_tip_area (Gdk.Rectangle rect);
8717                 [Version (since = "2.12")]
8718                 public static void trigger_tooltip_query (Gdk.Display display);
8719         }
8720         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toplevel_accessible_get_type ()")]
8721         public class ToplevelAccessible : Atk.Object {
8722                 [CCode (has_construct_function = false)]
8723                 protected ToplevelAccessible ();
8724                 public unowned GLib.List<Gtk.Window> get_children ();
8725         }
8726         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_filter_get_type ()")]
8727         public class TreeModelFilter : GLib.Object, Gtk.TreeDragSource, Gtk.TreeModel {
8728                 [CCode (has_construct_function = false, type = "GtkTreeModel*")]
8729                 [Version (since = "2.4")]
8730                 public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root);
8731                 [Version (since = "2.4")]
8732                 public void clear_cache ();
8733                 [Version (since = "2.4")]
8734                 public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter);
8735                 [Version (since = "2.4")]
8736                 public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
8737                 [Version (since = "2.4")]
8738                 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter);
8739                 [Version (since = "2.4")]
8740                 public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath filter_path);
8741                 [Version (since = "2.4")]
8742                 public unowned Gtk.TreeModel get_model ();
8743                 [NoWrapper]
8744                 public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column);
8745                 [Version (since = "2.4")]
8746                 public void refilter ();
8747                 [Version (since = "2.4")]
8748                 public void set_modify_func ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
8749                 [Version (since = "2.4")]
8750                 public void set_visible_column (int column);
8751                 [Version (since = "2.4")]
8752                 public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
8753                 [NoWrapper]
8754                 public virtual bool visible (Gtk.TreeModel child_model, Gtk.TreeIter iter);
8755                 [NoAccessorMethod]
8756                 public Gtk.TreeModel child_model { owned get; construct; }
8757                 [NoAccessorMethod]
8758                 public Gtk.TreePath virtual_root { owned get; construct; }
8759         }
8760         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_sort_get_type ()")]
8761         public class TreeModelSort : GLib.Object, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
8762                 [CCode (has_construct_function = false)]
8763                 protected TreeModelSort ();
8764                 public void clear_cache ();
8765                 public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter);
8766                 public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
8767                 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter);
8768                 public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath sorted_path);
8769                 public unowned Gtk.TreeModel get_model ();
8770                 [Version (since = "2.2")]
8771                 public bool iter_is_valid (Gtk.TreeIter iter);
8772                 public void reset_default_sort_func ();
8773                 [CCode (has_construct_function = false, type = "GtkTreeModel*")]
8774                 public TreeModelSort.with_model (Gtk.TreeModel child_model);
8775                 public Gtk.TreeModel model { get; construct; }
8776         }
8777         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_tree_path_get_type ()")]
8778         [Compact]
8779         public class TreePath {
8780                 [CCode (has_construct_function = false)]
8781                 public TreePath ();
8782                 public void append_index (int index_);
8783                 public int compare (Gtk.TreePath b);
8784                 public Gtk.TreePath copy ();
8785                 public void down ();
8786                 [CCode (has_construct_function = false)]
8787                 public TreePath.first ();
8788                 [DestroysInstance]
8789                 public void free ();
8790                 [CCode (has_construct_function = false, sentinel = "-1")]
8791                 [Version (since = "2.2")]
8792                 public TreePath.from_indices (...);
8793                 [CCode (has_construct_function = false)]
8794                 [Version (since = "3.12")]
8795                 public TreePath.from_indicesv ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] int[] indices);
8796                 [CCode (has_construct_function = false)]
8797                 public TreePath.from_string (string path);
8798                 public int get_depth ();
8799                 [CCode (array_length_pos = 0.1, cname = "gtk_tree_path_get_indices_with_depth")]
8800                 [Version (since = "3.0")]
8801                 public unowned int[] get_indices ();
8802                 public bool is_ancestor (Gtk.TreePath descendant);
8803                 public bool is_descendant (Gtk.TreePath ancestor);
8804                 public void next ();
8805                 public void prepend_index (int index_);
8806                 public bool prev ();
8807                 public string to_string ();
8808                 public bool up ();
8809         }
8810         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_tree_row_reference_get_type ()")]
8811         [Compact]
8812         public class TreeRowReference {
8813                 [CCode (has_construct_function = false)]
8814                 public TreeRowReference (Gtk.TreeModel model, Gtk.TreePath path);
8815                 [Version (since = "2.2")]
8816                 public Gtk.TreeRowReference copy ();
8817                 [CCode (cheader_filename = "gtk/gtk.h")]
8818                 public static void deleted (GLib.Object proxy, Gtk.TreePath path);
8819                 [DestroysInstance]
8820                 public void free ();
8821                 [Version (since = "2.8")]
8822                 public unowned Gtk.TreeModel get_model ();
8823                 public Gtk.TreePath? get_path ();
8824                 [CCode (cheader_filename = "gtk/gtk.h")]
8825                 public static void inserted (GLib.Object proxy, Gtk.TreePath path);
8826                 [CCode (has_construct_function = false)]
8827                 public TreeRowReference.proxy (GLib.Object proxy, Gtk.TreeModel model, Gtk.TreePath path);
8828                 [CCode (cheader_filename = "gtk/gtk.h")]
8829                 public static void reordered (GLib.Object proxy, Gtk.TreePath path, Gtk.TreeIter iter, [CCode (array_length = false)] int[] new_order);
8830                 public bool valid ();
8831         }
8832         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_selection_get_type ()")]
8833         public class TreeSelection : GLib.Object {
8834                 [CCode (has_construct_function = false)]
8835                 protected TreeSelection ();
8836                 [Version (since = "2.2")]
8837                 public int count_selected_rows ();
8838                 public Gtk.SelectionMode get_mode ();
8839                 public bool get_selected (out unowned Gtk.TreeModel model, out Gtk.TreeIter iter);
8840                 [Version (since = "2.2")]
8841                 public GLib.List<Gtk.TreePath> get_selected_rows (out unowned Gtk.TreeModel model);
8842                 public unowned Gtk.TreeView get_tree_view ();
8843                 public bool iter_is_selected (Gtk.TreeIter iter);
8844                 public bool path_is_selected (Gtk.TreePath path);
8845                 public void select_all ();
8846                 public void select_iter (Gtk.TreeIter iter);
8847                 public void select_path (Gtk.TreePath path);
8848                 public void select_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
8849                 public void selected_foreach (Gtk.TreeSelectionForeachFunc func);
8850                 public void set_mode (Gtk.SelectionMode type);
8851                 public void set_select_function (owned Gtk.TreeSelectionFunc func);
8852                 public void unselect_all ();
8853                 public void unselect_iter (Gtk.TreeIter iter);
8854                 public void unselect_path (Gtk.TreePath path);
8855                 [Version (since = "2.2")]
8856                 public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
8857                 [Version (since = "3.2")]
8858                 public Gtk.SelectionMode mode { get; set; }
8859                 public virtual signal void changed ();
8860         }
8861         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_store_get_type ()")]
8862         public class TreeStore : GLib.Object, Gtk.Buildable, Gtk.TreeDragDest, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
8863                 [CCode (has_construct_function = false, sentinel = "")]
8864                 public TreeStore (int n_columns, ...);
8865                 public void append (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
8866                 public void clear ();
8867                 public void insert (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position);
8868                 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
8869                 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
8870                 [CCode (sentinel = "-1")]
8871                 [Version (since = "2.10")]
8872                 public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...);
8873                 [Version (since = "2.10")]
8874                 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);
8875                 public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant);
8876                 public int iter_depth (Gtk.TreeIter iter);
8877                 [Version (since = "2.2")]
8878                 public bool iter_is_valid (Gtk.TreeIter iter);
8879                 [Version (since = "2.2")]
8880                 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
8881                 [Version (since = "2.2")]
8882                 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
8883                 [CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
8884                 public TreeStore.newv ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
8885                 public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
8886                 public bool remove (ref Gtk.TreeIter iter);
8887                 [Version (since = "2.2")]
8888                 public void reorder (Gtk.TreeIter? parent, [CCode (array_length = false)] int[] new_order);
8889                 [CCode (sentinel = "-1")]
8890                 public void @set (Gtk.TreeIter iter, ...);
8891                 public void set_column_types ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
8892                 public void set_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
8893                 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
8894                 [Version (since = "2.12")]
8895                 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);
8896                 [Version (since = "2.2")]
8897                 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
8898         }
8899         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_get_type ()")]
8900         public class TreeView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
8901                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8902                 public TreeView ();
8903                 public int append_column (Gtk.TreeViewColumn column);
8904                 public void collapse_all ();
8905                 public bool collapse_row (Gtk.TreePath path);
8906                 public void columns_autosize ();
8907                 [Version (since = "2.12")]
8908                 public void convert_bin_window_to_tree_coords (int bx, int by, out int tx, out int ty);
8909                 [Version (since = "2.12")]
8910                 public void convert_bin_window_to_widget_coords (int bx, int by, out int wx, out int wy);
8911                 [Version (since = "2.12")]
8912                 public void convert_tree_to_bin_window_coords (int tx, int ty, out int bx, out int by);
8913                 [Version (since = "2.12")]
8914                 public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy);
8915                 [Version (since = "2.12")]
8916                 public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
8917                 [Version (since = "2.12")]
8918                 public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty);
8919                 public Cairo.Surface create_row_drag_icon (Gtk.TreePath path);
8920                 public void enable_model_drag_dest ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gtk.TargetEntry[] targets, Gdk.DragAction actions);
8921                 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);
8922                 public void expand_all ();
8923                 public bool expand_row (Gtk.TreePath path, bool open_all);
8924                 [Version (since = "2.2")]
8925                 public void expand_to_path (Gtk.TreePath path);
8926                 [Version (since = "3.8")]
8927                 public bool get_activate_on_single_click ();
8928                 public void get_background_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
8929                 public unowned Gdk.Window? get_bin_window ();
8930                 public void get_cell_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
8931                 public unowned Gtk.TreeViewColumn? get_column (int n);
8932                 public GLib.List<weak Gtk.TreeViewColumn> get_columns ();
8933                 public void get_cursor (out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? focus_column);
8934                 public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
8935                 public void get_drag_dest_row (out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
8936                 public bool get_enable_search ();
8937                 [Version (since = "2.10")]
8938                 public bool get_enable_tree_lines ();
8939                 public unowned Gtk.TreeViewColumn get_expander_column ();
8940                 [Version (since = "2.6")]
8941                 public bool get_fixed_height_mode ();
8942                 [Version (since = "2.10")]
8943                 public Gtk.TreeViewGridLines get_grid_lines ();
8944                 [Version (deprecated = true, deprecated_since = "3.0")]
8945                 public unowned Gtk.Adjustment get_hadjustment ();
8946                 [Version (since = "2.10")]
8947                 public bool get_headers_clickable ();
8948                 public bool get_headers_visible ();
8949                 [Version (since = "2.6")]
8950                 public bool get_hover_expand ();
8951                 [Version (since = "2.6")]
8952                 public bool get_hover_selection ();
8953                 [Version (since = "2.12")]
8954                 public int get_level_indentation ();
8955                 public unowned Gtk.TreeModel? get_model ();
8956                 [Version (since = "3.4")]
8957                 public uint get_n_columns ();
8958                 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);
8959                 public bool get_reorderable ();
8960                 [Version (since = "2.6")]
8961                 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
8962                 [Version (since = "2.10")]
8963                 public bool get_rubber_banding ();
8964                 [Version (deprecated = true, deprecated_since = "3.14")]
8965                 public bool get_rules_hint ();
8966                 public int get_search_column ();
8967                 [Version (since = "2.10")]
8968                 public unowned Gtk.Entry get_search_entry ();
8969                 public unowned Gtk.TreeViewSearchEqualFunc get_search_equal_func ();
8970                 [Version (since = "2.10")]
8971                 public unowned Gtk.TreeViewSearchPositionFunc get_search_position_func ();
8972                 public unowned Gtk.TreeSelection get_selection ();
8973                 [Version (since = "2.12")]
8974                 public bool get_show_expanders ();
8975                 [Version (since = "2.12")]
8976                 public int get_tooltip_column ();
8977                 [Version (since = "2.12")]
8978                 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);
8979                 [Version (deprecated = true, deprecated_since = "3.0")]
8980                 public unowned Gtk.Adjustment get_vadjustment ();
8981                 [Version (since = "2.8")]
8982                 public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
8983                 public void get_visible_rect (out Gdk.Rectangle visible_rect);
8984                 public int insert_column (Gtk.TreeViewColumn column, int position);
8985                 public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...);
8986                 public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func);
8987                 [Version (since = "3.0")]
8988                 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);
8989                 [CCode (cname = "gtk_tree_view_row_expanded")]
8990                 public bool is_row_expanded (Gtk.TreePath path);
8991                 [Version (since = "2.12")]
8992                 public bool is_rubber_banding_active ();
8993                 public void map_expanded_rows (Gtk.TreeViewMappingFunc func);
8994                 public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn? base_column);
8995                 public int remove_column (Gtk.TreeViewColumn column);
8996                 public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align);
8997                 public void scroll_to_point (int tree_x, int tree_y);
8998                 [Version (since = "3.8")]
8999                 public void set_activate_on_single_click (bool single);
9000                 public void set_column_drag_function (owned Gtk.TreeViewColumnDropFunc? func);
9001                 public void set_cursor (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, bool start_editing);
9002                 [Version (since = "2.2")]
9003                 public void set_cursor_on_cell (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, Gtk.CellRenderer? focus_cell, bool start_editing);
9004                 [Version (deprecated = true, deprecated_since = "3.4")]
9005                 public void set_destroy_count_func (owned Gtk.TreeDestroyCountFunc? func);
9006                 public void set_drag_dest_row (Gtk.TreePath? path, Gtk.TreeViewDropPosition pos);
9007                 public void set_enable_search (bool enable_search);
9008                 [Version (since = "2.10")]
9009                 public void set_enable_tree_lines (bool enabled);
9010                 public void set_expander_column (Gtk.TreeViewColumn column);
9011                 [Version (since = "2.6")]
9012                 public void set_fixed_height_mode (bool enable);
9013                 [Version (since = "2.10")]
9014                 public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
9015                 [Version (deprecated = true, deprecated_since = "3.0")]
9016                 public void set_hadjustment (Gtk.Adjustment? adjustment);
9017                 public void set_headers_clickable (bool setting);
9018                 public void set_headers_visible (bool headers_visible);
9019                 [Version (since = "2.6")]
9020                 public void set_hover_expand (bool expand);
9021                 [Version (since = "2.6")]
9022                 public void set_hover_selection (bool hover);
9023                 [Version (since = "2.12")]
9024                 public void set_level_indentation (int indentation);
9025                 public void set_model (Gtk.TreeModel? model);
9026                 public void set_reorderable (bool reorderable);
9027                 [Version (since = "2.6")]
9028                 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc? func);
9029                 [Version (since = "2.10")]
9030                 public void set_rubber_banding (bool enable);
9031                 [Version (deprecated = true, deprecated_since = "3.14")]
9032                 public void set_rules_hint (bool setting);
9033                 public void set_search_column (int column);
9034                 [Version (since = "2.10")]
9035                 public void set_search_entry (Gtk.Entry? entry);
9036                 public void set_search_equal_func (owned Gtk.TreeViewSearchEqualFunc search_equal_func);
9037                 [Version (since = "2.10")]
9038                 public void set_search_position_func (owned Gtk.TreeViewSearchPositionFunc? func);
9039                 [Version (since = "2.12")]
9040                 public void set_show_expanders (bool enabled);
9041                 [Version (since = "2.12")]
9042                 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath? path, Gtk.TreeViewColumn? column, Gtk.CellRenderer? cell);
9043                 [Version (since = "2.12")]
9044                 public void set_tooltip_column (int column);
9045                 [Version (since = "2.12")]
9046                 public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
9047                 [Version (deprecated = true, deprecated_since = "3.0")]
9048                 public void set_vadjustment (Gtk.Adjustment? adjustment);
9049                 public void unset_rows_drag_dest ();
9050                 public void unset_rows_drag_source ();
9051                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9052                 public TreeView.with_model (Gtk.TreeModel model);
9053                 [Version (since = "3.8")]
9054                 public bool activate_on_single_click { get; set; }
9055                 [NoAccessorMethod]
9056                 public Gtk.TreeViewGridLines enable_grid_lines { get; set; }
9057                 public bool enable_search { get; set; }
9058                 public bool enable_tree_lines { get; set; }
9059                 public Gtk.TreeViewColumn expander_column { get; set; }
9060                 [Version (since = "2.4")]
9061                 public bool fixed_height_mode { get; set; }
9062                 public bool headers_clickable { get; set; }
9063                 public bool headers_visible { get; set; }
9064                 [Version (since = "2.6")]
9065                 public bool hover_expand { get; set; }
9066                 [Version (since = "2.6")]
9067                 public bool hover_selection { get; set; }
9068                 [Version (since = "2.12")]
9069                 public int level_indentation { get; set; }
9070                 public Gtk.TreeModel model { get; set; }
9071                 public bool reorderable { get; set; }
9072                 public bool rubber_banding { get; set; }
9073                 [Version (deprecated = true, deprecated_since = "3.14")]
9074                 public bool rules_hint { get; set; }
9075                 public int search_column { get; set; }
9076                 [Version (since = "2.12")]
9077                 public bool show_expanders { get; set; }
9078                 public int tooltip_column { get; set; }
9079                 public virtual signal void columns_changed ();
9080                 public virtual signal void cursor_changed ();
9081                 public virtual signal bool expand_collapse_cursor_row (bool logical, bool expand, bool open_all);
9082                 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
9083                 [HasEmitter]
9084                 public virtual signal void row_activated (Gtk.TreePath path, Gtk.TreeViewColumn column);
9085                 public virtual signal void row_collapsed (Gtk.TreeIter iter, Gtk.TreePath path);
9086                 public virtual signal void row_expanded (Gtk.TreeIter iter, Gtk.TreePath path);
9087                 public virtual signal bool select_all ();
9088                 public virtual signal bool select_cursor_parent ();
9089                 public virtual signal bool select_cursor_row (bool start_editing);
9090                 public virtual signal bool start_interactive_search ();
9091                 public virtual signal bool test_collapse_row (Gtk.TreeIter iter, Gtk.TreePath path);
9092                 public virtual signal bool test_expand_row (Gtk.TreeIter iter, Gtk.TreePath path);
9093                 public virtual signal bool toggle_cursor_row ();
9094                 public virtual signal bool unselect_all ();
9095         }
9096         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_tree_view_accessible_get_type ()")]
9097         public class TreeViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection, Atk.Table, Gtk.CellAccessibleParent {
9098                 [CCode (has_construct_function = false)]
9099                 protected TreeViewAccessible ();
9100         }
9101         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_column_get_type ()")]
9102         public class TreeViewColumn : GLib.InitiallyUnowned, Gtk.Buildable, Gtk.CellLayout {
9103                 [CCode (has_construct_function = false)]
9104                 public TreeViewColumn ();
9105                 public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int x_offset, out int width);
9106                 public void cell_get_size (Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
9107                 public bool cell_is_visible ();
9108                 public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
9109                 [Version (since = "2.2")]
9110                 public void focus_cell (Gtk.CellRenderer cell);
9111                 public float get_alignment ();
9112                 [Version (since = "3.0")]
9113                 public unowned Gtk.Widget get_button ();
9114                 public bool get_clickable ();
9115                 [Version (since = "2.4")]
9116                 public bool get_expand ();
9117                 public int get_fixed_width ();
9118                 public int get_max_width ();
9119                 public int get_min_width ();
9120                 public bool get_reorderable ();
9121                 public bool get_resizable ();
9122                 public Gtk.TreeViewColumnSizing get_sizing ();
9123                 public int get_sort_column_id ();
9124                 public bool get_sort_indicator ();
9125                 public Gtk.SortType get_sort_order ();
9126                 public int get_spacing ();
9127                 public unowned string get_title ();
9128                 [Version (since = "2.12")]
9129                 public unowned Gtk.Widget? get_tree_view ();
9130                 public bool get_visible ();
9131                 public unowned Gtk.Widget? get_widget ();
9132                 public int get_width ();
9133                 [Version (since = "3.2")]
9134                 public int get_x_offset ();
9135                 [Version (since = "2.8")]
9136                 public void queue_resize ();
9137                 public void set_alignment (float xalign);
9138                 public void set_attributes (Gtk.CellRenderer cell_renderer, ...);
9139                 public void set_clickable (bool clickable);
9140                 [Version (since = "2.4")]
9141                 public void set_expand (bool expand);
9142                 public void set_fixed_width (int fixed_width);
9143                 public void set_max_width (int max_width);
9144                 public void set_min_width (int min_width);
9145                 public void set_reorderable (bool reorderable);
9146                 public void set_resizable (bool resizable);
9147                 public void set_sizing (Gtk.TreeViewColumnSizing type);
9148                 public void set_sort_column_id (int sort_column_id);
9149                 public void set_sort_indicator (bool setting);
9150                 public void set_sort_order (Gtk.SortType order);
9151                 public void set_spacing (int spacing);
9152                 public void set_title (string title);
9153                 public void set_visible (bool visible);
9154                 public void set_widget (Gtk.Widget? widget);
9155                 [CCode (has_construct_function = false)]
9156                 [Version (since = "3.0")]
9157                 public TreeViewColumn.with_area (Gtk.CellArea area);
9158                 [CCode (has_construct_function = false)]
9159                 public TreeViewColumn.with_attributes (string? title, Gtk.CellRenderer cell, ...);
9160                 public float alignment { get; set; }
9161                 [NoAccessorMethod]
9162                 [Version (since = "3.0")]
9163                 public Gtk.CellArea cell_area { owned get; construct; }
9164                 public bool clickable { get; set; }
9165                 public bool expand { get; set; }
9166                 public int fixed_width { get; set; }
9167                 public int max_width { get; set; }
9168                 public int min_width { get; set; }
9169                 public bool reorderable { get; set; }
9170                 public bool resizable { get; set; }
9171                 public Gtk.TreeViewColumnSizing sizing { get; set; }
9172                 [Version (since = "2.18")]
9173                 public int sort_column_id { get; set; }
9174                 public bool sort_indicator { get; set; }
9175                 public Gtk.SortType sort_order { get; set; }
9176                 public int spacing { get; set; }
9177                 public string title { get; set; }
9178                 public bool visible { get; set; }
9179                 public Gtk.Widget widget { get; set; }
9180                 public int width { get; }
9181                 public int x_offset { get; }
9182                 [HasEmitter]
9183                 public virtual signal void clicked ();
9184         }
9185         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_ui_manager_get_type ()")]
9186         [Version (deprecated = true, deprecated_since = "3.10")]
9187         public class UIManager : GLib.Object, Gtk.Buildable {
9188                 [CCode (has_construct_function = false)]
9189                 [Version (since = "2.4")]
9190                 public UIManager ();
9191                 [Version (since = "2.4")]
9192                 public void add_ui (uint merge_id, string path, string name, string? action, Gtk.UIManagerItemType type, bool top);
9193                 [Version (since = "2.4")]
9194                 public uint add_ui_from_file (string filename) throws GLib.Error;
9195                 [Version (since = "3.4")]
9196                 public uint add_ui_from_resource (string resource_path) throws GLib.Error;
9197                 [Version (since = "2.4")]
9198                 public uint add_ui_from_string (string buffer, ssize_t length) throws GLib.Error;
9199                 [Version (since = "2.4")]
9200                 public void ensure_update ();
9201                 [Version (since = "2.4")]
9202                 public unowned Gtk.AccelGroup get_accel_group ();
9203                 [Version (since = "2.4")]
9204                 public virtual unowned Gtk.Action get_action (string path);
9205                 [Version (since = "2.4")]
9206                 public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
9207                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9208                 public bool get_add_tearoffs ();
9209                 [Version (since = "2.4")]
9210                 public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
9211                 [Version (since = "2.4")]
9212                 public string get_ui ();
9213                 [Version (since = "2.4")]
9214                 public virtual unowned Gtk.Widget get_widget (string path);
9215                 [Version (since = "2.4")]
9216                 public void insert_action_group (Gtk.ActionGroup action_group, int pos);
9217                 [Version (since = "2.4")]
9218                 public uint new_merge_id ();
9219                 [Version (since = "2.4")]
9220                 public void remove_action_group (Gtk.ActionGroup action_group);
9221                 [Version (since = "2.4")]
9222                 public void remove_ui (uint merge_id);
9223                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9224                 public void set_add_tearoffs (bool add_tearoffs);
9225                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9226                 public bool add_tearoffs { get; set; }
9227                 public string ui { owned get; }
9228                 [Version (since = "2.4")]
9229                 public virtual signal void actions_changed ();
9230                 [Version (since = "2.4")]
9231                 public virtual signal void add_widget (Gtk.Widget widget);
9232                 [Version (since = "2.4")]
9233                 public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy);
9234                 [Version (since = "2.4")]
9235                 public virtual signal void disconnect_proxy (Gtk.Action action, Gtk.Widget proxy);
9236                 [Version (since = "2.4")]
9237                 public virtual signal void post_activate (Gtk.Action action);
9238                 [Version (since = "2.4")]
9239                 public virtual signal void pre_activate (Gtk.Action action);
9240         }
9241         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbox_get_type ()")]
9242         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Box")]
9243         public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9244                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9245                 public VBox (bool homogeneous, int spacing);
9246         }
9247         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbutton_box_get_type ()")]
9248         [Version (deprecated = true, deprecated_since = "3.2", replacement = "ButtonBox")]
9249         public class VButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9250                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9251                 public VButtonBox ();
9252         }
9253         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vpaned_get_type ()")]
9254         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Paned")]
9255         public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9256                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9257                 public VPaned ();
9258         }
9259         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscale_get_type ()")]
9260         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scale")]
9261         public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9262                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9263                 public VScale (Gtk.Adjustment? adjustment);
9264                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9265                 public VScale.with_range (double min, double max, double step);
9266         }
9267         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscrollbar_get_type ()")]
9268         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scrollbar")]
9269         public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9270                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9271                 public VScrollbar (Gtk.Adjustment? adjustment);
9272         }
9273         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vseparator_get_type ()")]
9274         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Separator")]
9275         public class VSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9276                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9277                 public VSeparator ();
9278         }
9279         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_viewport_get_type ()")]
9280         public class Viewport : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
9281                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9282                 public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
9283                 [Version (since = "2.20")]
9284                 public unowned Gdk.Window get_bin_window ();
9285                 [Version (deprecated = true, deprecated_since = "3.0")]
9286                 public unowned Gtk.Adjustment? get_hadjustment ();
9287                 public Gtk.ShadowType get_shadow_type ();
9288                 [Version (deprecated = true, deprecated_since = "3.0")]
9289                 public unowned Gtk.Adjustment? get_vadjustment ();
9290                 [Version (since = "2.22")]
9291                 public unowned Gdk.Window get_view_window ();
9292                 [Version (deprecated = true, deprecated_since = "3.0")]
9293                 public void set_hadjustment (Gtk.Adjustment? adjustment);
9294                 public void set_shadow_type (Gtk.ShadowType type);
9295                 [Version (deprecated = true, deprecated_since = "3.0")]
9296                 public void set_vadjustment (Gtk.Adjustment? adjustment);
9297                 public Gtk.ShadowType shadow_type { get; set; }
9298         }
9299         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_volume_button_get_type ()")]
9300         public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.Orientable {
9301                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9302                 [Version (since = "2.12")]
9303                 public VolumeButton ();
9304                 [NoAccessorMethod]
9305                 [Version (since = "3.0")]
9306                 public bool use_symbolic { get; set construct; }
9307         }
9308         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_widget_get_type ()")]
9309         public class Widget : GLib.InitiallyUnowned, Atk.Implementor, Gtk.Buildable {
9310                 [CCode (construct_function = "gtk_widget_new", has_new_function = false)]
9311                 public Widget (...);
9312                 public bool activate ();
9313                 public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
9314                 [Version (since = "3.0")]
9315                 public void add_device_events (Gdk.Device device, Gdk.EventMask events);
9316                 public void add_events (int events);
9317                 [Version (since = "2.4")]
9318                 public void add_mnemonic_label (Gtk.Widget label);
9319                 [Version (since = "3.8")]
9320                 public uint add_tick_callback (owned Gtk.TickCallback callback);
9321                 [NoWrapper]
9322                 public virtual void adjust_baseline_allocation (int baseline);
9323                 [NoWrapper]
9324                 public virtual void adjust_baseline_request (int minimum_baseline, int natural_baseline);
9325                 [NoWrapper]
9326                 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);
9327                 [NoWrapper]
9328                 public virtual void adjust_size_request (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size);
9329                 [CCode (cname = "gtk_widget_class_bind_template_callback_full")]
9330                 [Version (since = "3.10")]
9331                 public class void bind_template_callback_full (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
9332                 [CCode (cname = "gtk_widget_class_bind_template_child_full")]
9333                 [Version (since = "3.10")]
9334                 public class void bind_template_child_full (string name, bool internal_child, ssize_t struct_offset);
9335                 public bool child_focus (Gtk.DirectionType direction);
9336                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "get_path")]
9337                 public void class_path (out uint path_length, out string path, out string path_reversed);
9338                 public bool compute_expand (Gtk.Orientation orientation);
9339                 [CCode (vfunc_name = "compute_expand")]
9340                 [NoWrapper]
9341                 public virtual void compute_expand_internal (out bool hexpand_p, out bool vexpand_p);
9342                 public Pango.Context create_pango_context ();
9343                 public Pango.Layout create_pango_layout (string? text);
9344                 public void destroyed (ref unowned Gtk.Widget widget_pointer);
9345                 [Version (since = "3.0")]
9346                 public bool device_is_shadowed (Gdk.Device device);
9347                 [NoWrapper]
9348                 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);
9349                 [CCode (cname = "gtk_widget_draw")]
9350                 [Version (since = "3.0")]
9351                 public void draw_to_cairo_context (Cairo.Context cr);
9352                 [Version (deprecated = true, deprecated_since = "3.0")]
9353                 public void ensure_style ();
9354                 [Version (since = "2.12")]
9355                 public void error_bell ();
9356                 [CCode (cname = "gtk_widget_class_find_style_property")]
9357                 [Version (since = "2.2")]
9358                 public class unowned GLib.ParamSpec find_style_property (string property_name);
9359                 public void freeze_child_notify ();
9360                 public virtual unowned Atk.Object get_accessible ();
9361                 [Version (since = "3.16")]
9362                 public unowned GLib.ActionGroup? get_action_group (string prefix);
9363                 [Version (since = "3.10")]
9364                 public int get_allocated_baseline ();
9365                 public int get_allocated_height ();
9366                 [Version (since = "3.20")]
9367                 public void get_allocated_size (out Gtk.Allocation allocation, out int baseline);
9368                 public int get_allocated_width ();
9369                 [Version (since = "2.18")]
9370                 public void get_allocation (out Gtk.Allocation allocation);
9371                 public unowned Gtk.Widget? get_ancestor (GLib.Type widget_type);
9372                 [Version (since = "2.18")]
9373                 public bool get_app_paintable ();
9374                 [Version (since = "2.18")]
9375                 public bool get_can_default ();
9376                 [Version (since = "2.18")]
9377                 public bool get_can_focus ();
9378                 [Version (deprecated = true, deprecated_since = "3.0")]
9379                 public void get_child_requisition (out Gtk.Requisition requisition);
9380                 public bool get_child_visible ();
9381                 [Version (since = "3.14")]
9382                 public void get_clip (out Gtk.Allocation clip);
9383                 [Version (since = "2.2")]
9384                 public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
9385                 [Version (deprecated = true, deprecated_since = "3.10")]
9386                 public string get_composite_name ();
9387                 [CCode (cname = "gtk_widget_class_get_css_name")]
9388                 [Version (since = "3.20")]
9389                 public class unowned string get_css_name ();
9390                 public static Gtk.TextDirection get_default_direction ();
9391                 [Version (deprecated = true, deprecated_since = "3.0")]
9392                 public static unowned Gtk.Style get_default_style ();
9393                 [Version (since = "3.0")]
9394                 public bool get_device_enabled (Gdk.Device device);
9395                 [Version (since = "3.0")]
9396                 public Gdk.EventMask get_device_events (Gdk.Device device);
9397                 public Gtk.TextDirection get_direction ();
9398                 [Version (since = "2.2")]
9399                 public unowned Gdk.Display get_display ();
9400                 [Version (since = "2.18")]
9401                 public bool get_double_buffered ();
9402                 public int get_events ();
9403                 [Version (since = "3.20")]
9404                 public bool get_focus_on_click ();
9405                 [Version (since = "3.18")]
9406                 public unowned Pango.FontMap? get_font_map ();
9407                 [Version (since = "3.18")]
9408                 public unowned Cairo.FontOptions? get_font_options ();
9409                 [Version (since = "3.8")]
9410                 public unowned Gdk.FrameClock? get_frame_clock ();
9411                 public Gtk.Align get_halign ();
9412                 [Version (since = "2.12")]
9413                 public bool get_has_tooltip ();
9414                 [Version (since = "2.18")]
9415                 public bool get_has_window ();
9416                 public bool get_hexpand ();
9417                 public bool get_hexpand_set ();
9418                 [Version (since = "2.20")]
9419                 public bool get_mapped ();
9420                 [Version (since = "3.0")]
9421                 public int get_margin_bottom ();
9422                 [Version (since = "3.12")]
9423                 public int get_margin_end ();
9424                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9425                 public int get_margin_left ();
9426                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9427                 public int get_margin_right ();
9428                 [Version (since = "3.12")]
9429                 public int get_margin_start ();
9430                 [Version (since = "3.0")]
9431                 public int get_margin_top ();
9432                 [Version (since = "3.4")]
9433                 public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
9434                 [Version (deprecated = true, deprecated_since = "3.0")]
9435                 public unowned Gtk.RcStyle get_modifier_style ();
9436                 [Version (since = "2.4")]
9437                 public bool get_no_show_all ();
9438                 [Version (since = "3.8")]
9439                 public double get_opacity ();
9440                 public unowned Pango.Context get_pango_context ();
9441                 public unowned Gtk.Container? get_parent ();
9442                 public unowned Gdk.Window? get_parent_window ();
9443                 public unowned Gtk.WidgetPath get_path ();
9444                 [Version (deprecated = true, deprecated_since = "3.4")]
9445                 public void get_pointer (out int x, out int y);
9446                 [Version (since = "3.0")]
9447                 public virtual void get_preferred_height (out int minimum_height, out int natural_height);
9448                 [Version (since = "3.10")]
9449                 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);
9450                 [Version (since = "3.0")]
9451                 public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
9452                 [CCode (vfunc_name = "get_preferred_height_for_width")]
9453                 [NoWrapper]
9454                 [Version (deprecated = true)]
9455                 public virtual void get_preferred_height_for_width_internal (int width, out int minimum_height, out int natural_height);
9456                 [CCode (vfunc_name = "get_preferred_height")]
9457                 [NoWrapper]
9458                 [Version (deprecated = true)]
9459                 public virtual void get_preferred_height_internal (out int minimum_height, out int natural_height);
9460                 [Version (since = "3.0")]
9461                 public void get_preferred_size (out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
9462                 [Version (since = "3.0")]
9463                 public virtual void get_preferred_width (out int minimum_width, out int natural_width);
9464                 [Version (since = "3.0")]
9465                 public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
9466                 [CCode (vfunc_name = "get_preferred_width_for_height")]
9467                 [NoWrapper]
9468                 [Version (deprecated = true)]
9469                 public virtual void get_preferred_width_for_height_internal (int height, out int minimum_width, out int natural_width);
9470                 [CCode (vfunc_name = "get_preferred_width")]
9471                 [NoWrapper]
9472                 [Version (deprecated = true)]
9473                 public virtual void get_preferred_width_internal (out int minimum_width, out int natural_width);
9474                 [Version (since = "2.20")]
9475                 public bool get_realized ();
9476                 [Version (since = "2.18")]
9477                 public bool get_receives_default ();
9478                 [Version (since = "3.0")]
9479                 public virtual Gtk.SizeRequestMode get_request_mode ();
9480                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9481                 public Gtk.Requisition get_requisition ();
9482                 [Version (deprecated = true, deprecated_since = "3.12", since = "2.2")]
9483                 public unowned Gdk.Window get_root_window ();
9484                 [Version (since = "3.10")]
9485                 public int get_scale_factor ();
9486                 [Version (since = "2.2")]
9487                 public unowned Gdk.Screen get_screen ();
9488                 [Version (since = "2.18")]
9489                 public bool get_sensitive ();
9490                 public unowned Gtk.Settings get_settings ();
9491                 public void get_size_request (out int width, out int height);
9492                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.18")]
9493                 public Gtk.StateType get_state ();
9494                 [Version (since = "3.0")]
9495                 public Gtk.StateFlags get_state_flags ();
9496                 [Version (deprecated = true, deprecated_since = "3.0")]
9497                 public unowned Gtk.Style get_style ();
9498                 public unowned Gtk.StyleContext get_style_context ();
9499                 public bool get_support_multidevice ();
9500                 public unowned GLib.Object get_template_child (GLib.Type widget_type, string name);
9501                 [Version (since = "2.12")]
9502                 public string? get_tooltip_markup ();
9503                 [Version (since = "2.12")]
9504                 public string? get_tooltip_text ();
9505                 [Version (since = "2.12")]
9506                 public unowned Gtk.Window get_tooltip_window ();
9507                 public unowned Gtk.Widget get_toplevel ();
9508                 public Gtk.Align get_valign ();
9509                 [Version (since = "3.10")]
9510                 public Gtk.Align get_valign_with_baseline ();
9511                 public bool get_vexpand ();
9512                 public bool get_vexpand_set ();
9513                 [Version (since = "2.18")]
9514                 public bool get_visible ();
9515                 public unowned Gdk.Visual get_visual ();
9516                 [Version (since = "2.14")]
9517                 public unowned Gdk.Window? get_window ();
9518                 public void grab_default ();
9519                 [Version (since = "2.18")]
9520                 public bool has_grab ();
9521                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9522                 public bool has_rc_style ();
9523                 [Version (since = "2.2")]
9524                 public bool has_screen ();
9525                 [Version (since = "3.2")]
9526                 public bool has_visible_focus ();
9527                 public bool hide_on_delete ();
9528                 public bool in_destruction ();
9529                 [Version (since = "3.10")]
9530                 public void init_template ();
9531                 [Version (since = "3.0")]
9532                 public void input_shape_combine_region (Cairo.Region? region);
9533                 [Version (since = "3.6")]
9534                 public void insert_action_group (string name, GLib.ActionGroup? group);
9535                 [CCode (cname = "gtk_widget_class_install_style_property")]
9536                 public class void install_style_property (GLib.ParamSpec pspec);
9537                 [CCode (cname = "gtk_widget_class_install_style_property_parser")]
9538                 public class void install_style_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
9539                 public bool intersect (Gdk.Rectangle area, out Gdk.Rectangle? intersection = null);
9540                 public bool is_ancestor (Gtk.Widget ancestor);
9541                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.10")]
9542                 public bool is_composited ();
9543                 [Version (since = "2.18")]
9544                 public bool is_drawable ();
9545                 [Version (since = "2.18")]
9546                 public bool is_sensitive ();
9547                 [Version (since = "2.18")]
9548                 public bool is_toplevel ();
9549                 [Version (since = "3.8")]
9550                 public bool is_visible ();
9551                 public GLib.List<weak GLib.Closure> list_accel_closures ();
9552                 [CCode (array_length = false, array_null_terminated = true)]
9553                 [Version (since = "3.16")]
9554                 public (unowned string)[] list_action_prefixes ();
9555                 [Version (since = "2.4")]
9556                 public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
9557                 [CCode (array_length_pos = 0.1, array_length_type = "guint", cname = "gtk_widget_class_list_style_properties")]
9558                 [Version (since = "2.2")]
9559                 public class (unowned GLib.ParamSpec)[] list_style_properties ();
9560                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_background_color")]
9561                 public void modify_base (Gtk.StateType state, Gdk.Color? color);
9562                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_background_color")]
9563                 public void modify_bg (Gtk.StateType state, Gdk.Color? color);
9564                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_cursor", since = "2.12")]
9565                 public void modify_cursor (Gdk.Color? primary, Gdk.Color? secondary);
9566                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_color")]
9567                 public void modify_fg (Gtk.StateType state, Gdk.Color? color);
9568                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_font")]
9569                 public void modify_font (Pango.FontDescription? font_desc);
9570                 [Version (deprecated = true, deprecated_since = "3.0")]
9571                 public void modify_style (Gtk.RcStyle style);
9572                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_color")]
9573                 public void modify_text (Gtk.StateType state, Gdk.Color? color);
9574                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9575                 public void override_background_color (Gtk.StateFlags state, Gdk.RGBA? color);
9576                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9577                 public void override_color (Gtk.StateFlags state, Gdk.RGBA? color);
9578                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9579                 public void override_cursor (Gdk.RGBA? cursor, Gdk.RGBA? secondary_cursor);
9580                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9581                 public void override_font (Pango.FontDescription? font_desc);
9582                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9583                 public void override_symbolic_color (string name, Gdk.RGBA? color);
9584                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "get_path")]
9585                 public void path (out uint path_length, out string path, out string path_reversed);
9586                 [Version (deprecated = true, deprecated_since = "3.10")]
9587                 public static void pop_composite_child ();
9588                 [Version (deprecated = true, deprecated_since = "3.10")]
9589                 public static void push_composite_child ();
9590                 [Version (since = "3.20")]
9591                 public void queue_allocate ();
9592                 public void queue_compute_expand ();
9593                 public void queue_draw ();
9594                 public void queue_draw_area (int x, int y, int width, int height);
9595                 [Version (since = "3.0")]
9596                 public virtual void queue_draw_region (Cairo.Region region);
9597                 public void queue_resize ();
9598                 [Version (since = "2.4")]
9599                 public void queue_resize_no_redraw ();
9600                 [Version (deprecated = true, deprecated_since = "3.14")]
9601                 public Cairo.Region region_intersect (Cairo.Region region);
9602                 [Version (since = "3.8")]
9603                 public void register_window (Gdk.Window window);
9604                 public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);
9605                 [Version (since = "2.4")]
9606                 public void remove_mnemonic_label (Gtk.Widget label);
9607                 [Version (since = "3.8")]
9608                 public void remove_tick_callback (uint id);
9609                 [Version (deprecated = true, deprecated_since = "3.0")]
9610                 public Gdk.Pixbuf? render_icon (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size, string? detail);
9611                 [Version (deprecated = true, deprecated_since = "3.10", since = "3.0")]
9612                 public Gdk.Pixbuf? render_icon_pixbuf (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
9613                 [Version (deprecated = true, deprecated_since = "3.14")]
9614                 public void reparent (Gtk.Widget new_parent);
9615                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "reset_style")]
9616                 public void reset_rc_styles ();
9617                 [Version (since = "3.0")]
9618                 public void reset_style ();
9619                 [Version (deprecated = true, deprecated_since = "3.22")]
9620                 public int send_expose (Gdk.Event event);
9621                 [Version (since = "2.20")]
9622                 public bool send_focus_change (Gdk.Event event);
9623                 public void set_accel_path (string? accel_path, Gtk.AccelGroup? accel_group);
9624                 [CCode (cname = "gtk_widget_class_set_accessible_role")]
9625                 [Version (since = "3.2")]
9626                 public class void set_accessible_role (Atk.Role role);
9627                 [CCode (cname = "gtk_widget_class_set_accessible_type")]
9628                 [Version (since = "3.2")]
9629                 public class void set_accessible_type (GLib.Type type);
9630                 [Version (since = "2.18")]
9631                 public void set_allocation (Gtk.Allocation allocation);
9632                 public void set_app_paintable (bool app_paintable);
9633                 [Version (since = "2.18")]
9634                 public void set_can_default (bool can_default);
9635                 [Version (since = "2.18")]
9636                 public void set_can_focus (bool can_focus);
9637                 public void set_child_visible (bool is_visible);
9638                 [Version (since = "3.14")]
9639                 public void set_clip (Gtk.Allocation clip);
9640                 [Version (deprecated = true, deprecated_since = "3.10")]
9641                 public void set_composite_name (string name);
9642                 [CCode (cname = "gtk_widget_class_set_connect_func")]
9643                 [Version (since = "3.10")]
9644                 public class void set_connect_func (owned Gtk.BuilderConnectFunc connect_func);
9645                 [CCode (cname = "gtk_widget_class_set_css_name")]
9646                 [Version (since = "3.20")]
9647                 public class void set_css_name (string name);
9648                 public static void set_default_direction (Gtk.TextDirection dir);
9649                 [Version (since = "3.0")]
9650                 public void set_device_enabled (Gdk.Device device, bool enabled);
9651                 [Version (since = "3.0")]
9652                 public void set_device_events (Gdk.Device device, Gdk.EventMask events);
9653                 public void set_direction (Gtk.TextDirection dir);
9654                 [Version (deprecated = true, deprecated_since = "3.14")]
9655                 public void set_double_buffered (bool double_buffered);
9656                 public void set_events (int events);
9657                 [Version (since = "3.20")]
9658                 public void set_focus_on_click (bool focus_on_click);
9659                 [Version (since = "3.18")]
9660                 public void set_font_map (Pango.FontMap? font_map);
9661                 [Version (since = "3.18")]
9662                 public void set_font_options (Cairo.FontOptions? options);
9663                 public void set_halign (Gtk.Align align);
9664                 [Version (since = "2.12")]
9665                 public void set_has_tooltip (bool has_tooltip);
9666                 [Version (since = "2.18")]
9667                 public void set_has_window (bool has_window);
9668                 public void set_hexpand (bool expand);
9669                 public void set_hexpand_set (bool @set);
9670                 [Version (since = "2.20")]
9671                 public void set_mapped (bool mapped);
9672                 [Version (since = "3.0")]
9673                 public void set_margin_bottom (int margin);
9674                 [Version (since = "3.12")]
9675                 public void set_margin_end (int margin);
9676                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9677                 public void set_margin_left (int margin);
9678                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9679                 public void set_margin_right (int margin);
9680                 [Version (since = "3.12")]
9681                 public void set_margin_start (int margin);
9682                 [Version (since = "3.0")]
9683                 public void set_margin_top (int margin);
9684                 [Version (since = "2.4")]
9685                 public void set_no_show_all (bool no_show_all);
9686                 [Version (since = "3.8")]
9687                 public void set_opacity (double opacity);
9688                 public void set_parent ([CCode (type = "GtkWidget*")] Gtk.Container parent);
9689                 public void set_parent_window (Gdk.Window parent_window);
9690                 [Version (since = "2.20")]
9691                 public void set_realized (bool realized);
9692                 [Version (since = "2.18")]
9693                 public void set_receives_default (bool receives_default);
9694                 public void set_redraw_on_allocate (bool redraw_on_allocate);
9695                 public void set_sensitive (bool sensitive);
9696                 public void set_size_request (int width, int height);
9697                 [Version (deprecated = true, deprecated_since = "3.0")]
9698                 public void set_state (Gtk.StateType state);
9699                 [Version (since = "3.0")]
9700                 public void set_state_flags (Gtk.StateFlags flags, bool clear);
9701                 [Version (deprecated = true, deprecated_since = "3.0")]
9702                 public void set_style (Gtk.Style? style);
9703                 [Version (since = "3.0")]
9704                 public void set_support_multidevice (bool support_multidevice);
9705                 [CCode (cname = "gtk_widget_class_set_template")]
9706                 [Version (since = "3.10")]
9707                 public class void set_template (GLib.Bytes template_bytes);
9708                 [CCode (cname = "gtk_widget_class_set_template_from_resource")]
9709                 [Version (since = "3.10")]
9710                 public class void set_template_from_resource (string resource_name);
9711                 [Version (since = "2.12")]
9712                 public void set_tooltip_markup (string? markup);
9713                 [Version (since = "2.12")]
9714                 public void set_tooltip_text (string? text);
9715                 [Version (since = "2.12")]
9716                 public void set_tooltip_window (Gtk.Window? custom_window);
9717                 public void set_valign (Gtk.Align align);
9718                 public void set_vexpand (bool expand);
9719                 public void set_vexpand_set (bool @set);
9720                 [Version (since = "2.18")]
9721                 public void set_visible (bool visible);
9722                 public void set_visual (Gdk.Visual? visual);
9723                 [Version (since = "2.18")]
9724                 public void set_window (owned Gdk.Window window);
9725                 [Version (since = "3.0")]
9726                 public void shape_combine_region (Cairo.Region? region);
9727                 public virtual void show_all ();
9728                 public void show_now ();
9729                 [Version (since = "3.10")]
9730                 public void size_allocate_with_baseline (Gtk.Allocation allocation, int baseline);
9731                 [Version (deprecated = true, deprecated_since = "3.0")]
9732                 public Gtk.Requisition size_request ();
9733                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9734                 public void style_attach ();
9735                 public void style_get (...);
9736                 public void style_get_property (string property_name, ref GLib.Value value);
9737                 public void style_get_valist (string first_property_name, [CCode (type = "va_list")] va_list var_args);
9738                 public void thaw_child_notify ();
9739                 public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);
9740                 [Version (since = "2.12")]
9741                 public void trigger_tooltip_query ();
9742                 public void unparent ();
9743                 [Version (since = "3.8")]
9744                 public void unregister_window (Gdk.Window window);
9745                 [Version (since = "3.0")]
9746                 public void unset_state_flags (Gtk.StateFlags flags);
9747                 public bool app_paintable { get; set; }
9748                 public bool can_default { get; set; }
9749                 public bool can_focus { get; set; }
9750                 [NoAccessorMethod]
9751                 public bool composite_child { get; }
9752                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.18")]
9753                 public bool double_buffered { get; set; }
9754                 public Gdk.EventMask events { get; set; }
9755                 [NoAccessorMethod]
9756                 [Version (since = "3.0")]
9757                 public bool expand { get; set; }
9758                 [Version (since = "3.20")]
9759                 public bool focus_on_click { get; set; }
9760                 [Version (since = "3.0")]
9761                 public Gtk.Align halign { get; set; }
9762                 [NoAccessorMethod]
9763                 public bool has_default { get; set; }
9764                 [NoAccessorMethod]
9765                 public bool has_focus { get; set; }
9766                 [Version (since = "2.12")]
9767                 public bool has_tooltip { get; set; }
9768                 [NoAccessorMethod]
9769                 public int height_request { get; set; }
9770                 [Version (since = "3.0")]
9771                 public bool hexpand { get; set; }
9772                 [Version (since = "3.0")]
9773                 public bool hexpand_set { get; set; }
9774                 [NoAccessorMethod]
9775                 public bool is_focus { get; set; }
9776                 [NoAccessorMethod]
9777                 [Version (since = "3.0")]
9778                 public int margin { get; set; }
9779                 [Version (since = "3.0")]
9780                 public int margin_bottom { get; set; }
9781                 [Version (since = "3.12")]
9782                 public int margin_end { get; set; }
9783                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9784                 public int margin_left { get; set; }
9785                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9786                 public int margin_right { get; set; }
9787                 [Version (since = "3.12")]
9788                 public int margin_start { get; set; }
9789                 [Version (since = "3.0")]
9790                 public int margin_top { get; set; }
9791                 public string name { get; set; }
9792                 public bool no_show_all { get; set; }
9793                 [Version (since = "3.8")]
9794                 public double opacity { get; set; }
9795                 public Gtk.Container parent { get; set; }
9796                 public bool receives_default { get; set; }
9797                 [Version (since = "3.10")]
9798                 public int scale_factor { get; }
9799                 public bool sensitive { get; set; }
9800                 [Version (deprecated = true)]
9801                 public Gtk.Style style { get; set; }
9802                 [Version (since = "2.12")]
9803                 public string tooltip_markup { owned get; set; }
9804                 [Version (since = "2.12")]
9805                 public string tooltip_text { owned get; set; }
9806                 [Version (since = "3.0")]
9807                 public Gtk.Align valign { get; set; }
9808                 [Version (since = "3.0")]
9809                 public bool vexpand { get; set; }
9810                 [Version (since = "3.0")]
9811                 public bool vexpand_set { get; set; }
9812                 public bool visible { get; set; }
9813                 [NoAccessorMethod]
9814                 public int width_request { get; set; }
9815                 public signal void accel_closures_changed ();
9816                 public virtual signal bool button_press_event (Gdk.EventButton event);
9817                 public virtual signal bool button_release_event (Gdk.EventButton event);
9818                 [HasEmitter]
9819                 public virtual signal bool can_activate_accel (uint signal_id);
9820                 [HasEmitter]
9821                 public virtual signal void child_notify (GLib.ParamSpec child_property);
9822                 [Version (deprecated = true, deprecated_since = "3.22")]
9823                 public virtual signal void composited_changed ();
9824                 public virtual signal bool configure_event (Gdk.EventConfigure event);
9825                 [Version (since = "2.14")]
9826                 public virtual signal bool damage_event (Gdk.EventExpose event);
9827                 public virtual signal bool delete_event (Gdk.EventAny event);
9828                 [HasEmitter]
9829                 public virtual signal void destroy ();
9830                 public virtual signal bool destroy_event (Gdk.EventAny event);
9831                 public virtual signal void direction_changed (Gtk.TextDirection previous_direction);
9832                 public virtual signal void drag_begin (Gdk.DragContext context);
9833                 public virtual signal void drag_data_delete (Gdk.DragContext context);
9834                 public virtual signal void drag_data_get (Gdk.DragContext context, Gtk.SelectionData selection_data, uint info, uint time_);
9835                 public virtual signal void drag_data_received (Gdk.DragContext context, int x, int y, Gtk.SelectionData selection_data, uint info, uint time_);
9836                 public virtual signal bool drag_drop (Gdk.DragContext context, int x, int y, uint time_);
9837                 public virtual signal void drag_end (Gdk.DragContext context);
9838                 [Version (since = "2.12")]
9839                 public virtual signal bool drag_failed (Gdk.DragContext context, Gtk.DragResult result);
9840                 public virtual signal void drag_leave (Gdk.DragContext context, uint time_);
9841                 public virtual signal bool drag_motion (Gdk.DragContext context, int x, int y, uint time_);
9842                 [Version (since = "3.0")]
9843                 public virtual signal bool draw (Cairo.Context cr);
9844                 public virtual signal bool enter_notify_event (Gdk.EventCrossing event);
9845                 [HasEmitter]
9846                 public virtual signal bool event (Gdk.Event event);
9847                 public signal void event_after (Gdk.Event event);
9848                 public virtual signal bool focus (Gtk.DirectionType direction);
9849                 public virtual signal bool focus_in_event (Gdk.EventFocus event);
9850                 public virtual signal bool focus_out_event (Gdk.EventFocus event);
9851                 [Version (since = "2.8")]
9852                 public virtual signal bool grab_broken_event (Gdk.EventGrabBroken event);
9853                 [HasEmitter]
9854                 public virtual signal void grab_focus ();
9855                 public virtual signal void grab_notify (bool was_grabbed);
9856                 [HasEmitter]
9857                 public virtual signal void hide ();
9858                 public virtual signal void hierarchy_changed (Gtk.Widget? previous_toplevel);
9859                 public virtual signal bool key_press_event (Gdk.EventKey event);
9860                 public virtual signal bool key_release_event (Gdk.EventKey event);
9861                 [HasEmitter]
9862                 [Version (since = "2.12")]
9863                 public virtual signal bool keynav_failed (Gtk.DirectionType direction);
9864                 public virtual signal bool leave_notify_event (Gdk.EventCrossing event);
9865                 [HasEmitter]
9866                 public virtual signal void map ();
9867                 public virtual signal bool map_event (Gdk.EventAny event);
9868                 [HasEmitter]
9869                 public virtual signal bool mnemonic_activate (bool group_cycling);
9870                 public virtual signal bool motion_notify_event (Gdk.EventMotion event);
9871                 public virtual signal void move_focus (Gtk.DirectionType direction);
9872                 public virtual signal void parent_set (Gtk.Widget? previous_parent);
9873                 public virtual signal bool popup_menu ();
9874                 public virtual signal bool property_notify_event (Gdk.EventProperty event);
9875                 public virtual signal bool proximity_in_event (Gdk.EventProximity event);
9876                 public virtual signal bool proximity_out_event (Gdk.EventProximity event);
9877                 [Version (since = "2.12")]
9878                 public virtual signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
9879                 [HasEmitter]
9880                 public virtual signal void realize ();
9881                 public virtual signal void screen_changed (Gdk.Screen? previous_screen);
9882                 public virtual signal bool scroll_event (Gdk.EventScroll event);
9883                 public virtual signal bool selection_clear_event (Gdk.EventSelection event);
9884                 public virtual signal void selection_get (Gtk.SelectionData selection_data, uint info, uint time_);
9885                 public virtual signal bool selection_notify_event (Gdk.EventSelection event);
9886                 public virtual signal void selection_received (Gtk.SelectionData selection_data, uint time_);
9887                 public virtual signal bool selection_request_event (Gdk.EventSelection event);
9888                 [HasEmitter]
9889                 public virtual signal void show ();
9890                 public virtual signal bool show_help (Gtk.WidgetHelpType help_type);
9891                 [HasEmitter]
9892                 public virtual signal void size_allocate (Gtk.Allocation allocation);
9893                 [Version (deprecated = true, deprecated_since = "3.0")]
9894                 public virtual signal void state_changed (Gtk.StateType previous_state);
9895                 [Version (since = "3.0")]
9896                 public virtual signal void state_flags_changed (Gtk.StateFlags previous_state_flags);
9897                 [Version (deprecated = true, deprecated_since = "3.0")]
9898                 public virtual signal void style_set (Gtk.Style? previous_style);
9899                 [Version (since = "3.0")]
9900                 public virtual signal void style_updated ();
9901                 public virtual signal bool touch_event (Gdk.Event event);
9902                 [HasEmitter]
9903                 public virtual signal void unmap ();
9904                 public virtual signal bool unmap_event (Gdk.EventAny event);
9905                 [HasEmitter]
9906                 public virtual signal void unrealize ();
9907                 [Version (deprecated = true, deprecated_since = "3.12")]
9908                 public virtual signal bool visibility_notify_event (Gdk.EventVisibility event);
9909                 public virtual signal bool window_state_event (Gdk.EventWindowState event);
9910         }
9911         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_widget_accessible_get_type ()")]
9912         public class WidgetAccessible : Gtk.Accessible, Atk.Component {
9913                 [CCode (has_construct_function = false)]
9914                 protected WidgetAccessible ();
9915                 [NoWrapper]
9916                 public virtual void notify_gtk (GLib.ParamSpec pspec);
9917         }
9918         [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")]
9919         [Compact]
9920         public class WidgetPath {
9921                 [CCode (has_construct_function = false)]
9922                 [Version (since = "3.0")]
9923                 public WidgetPath ();
9924                 [Version (since = "3.2")]
9925                 public int append_for_widget (Gtk.Widget widget);
9926                 [Version (since = "3.0")]
9927                 public int append_type (GLib.Type type);
9928                 [Version (since = "3.2")]
9929                 public int append_with_siblings (Gtk.WidgetPath siblings, uint sibling_index);
9930                 [Version (since = "3.0")]
9931                 public Gtk.WidgetPath copy ();
9932                 [DestroysInstance]
9933                 [Version (since = "3.0")]
9934                 public void free ();
9935                 [Version (since = "3.0")]
9936                 public GLib.Type get_object_type ();
9937                 [Version (since = "3.0")]
9938                 public bool has_parent (GLib.Type type);
9939                 [Version (since = "3.0")]
9940                 public bool is_type (GLib.Type type);
9941                 [Version (since = "3.0")]
9942                 public void iter_add_class (int pos, string name);
9943                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9944                 public void iter_add_region (int pos, string name, Gtk.RegionFlags flags);
9945                 [Version (since = "3.0")]
9946                 public void iter_clear_classes (int pos);
9947                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9948                 public void iter_clear_regions (int pos);
9949                 public unowned string? iter_get_name (int pos);
9950                 [Version (since = "3.20")]
9951                 public unowned string? iter_get_object_name (int pos);
9952                 [Version (since = "3.0")]
9953                 public GLib.Type iter_get_object_type (int pos);
9954                 public uint iter_get_sibling_index (int pos);
9955                 public unowned Gtk.WidgetPath iter_get_siblings (int pos);
9956                 [Version (since = "3.14")]
9957                 public Gtk.StateFlags iter_get_state (int pos);
9958                 [Version (since = "3.0")]
9959                 public bool iter_has_class (int pos, string name);
9960                 [Version (since = "3.0")]
9961                 public bool iter_has_name (int pos, string name);
9962                 [Version (since = "3.0")]
9963                 public bool iter_has_qclass (int pos, GLib.Quark qname);
9964                 [Version (since = "3.0")]
9965                 public bool iter_has_qname (int pos, GLib.Quark qname);
9966                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9967                 public bool iter_has_qregion (int pos, GLib.Quark qname, out Gtk.RegionFlags flags);
9968                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9969                 public bool iter_has_region (int pos, string name, out Gtk.RegionFlags flags);
9970                 [Version (since = "3.0")]
9971                 public GLib.SList<weak string> iter_list_classes (int pos);
9972                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9973                 public GLib.SList<weak string> iter_list_regions (int pos);
9974                 [Version (since = "3.0")]
9975                 public void iter_remove_class (int pos, string name);
9976                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9977                 public void iter_remove_region (int pos, string name);
9978                 [Version (since = "3.0")]
9979                 public void iter_set_name (int pos, string name);
9980                 [Version (since = "3.20")]
9981                 public void iter_set_object_name (int pos, string? name);
9982                 [Version (since = "3.0")]
9983                 public void iter_set_object_type (int pos, GLib.Type type);
9984                 [Version (since = "3.14")]
9985                 public void iter_set_state (int pos, Gtk.StateFlags state);
9986                 [Version (since = "3.0")]
9987                 public int length ();
9988                 [Version (since = "3.0")]
9989                 public void prepend_type (GLib.Type type);
9990                 [Version (since = "3.2")]
9991                 public unowned Gtk.WidgetPath @ref ();
9992                 [Version (since = "3.2")]
9993                 public string to_string ();
9994                 [Version (since = "3.2")]
9995                 public void unref ();
9996         }
9997         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_get_type ()")]
9998         public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
9999                 [CCode (has_construct_function = false, type = "GtkWidget*")]
10000                 public Window (Gtk.WindowType type = Gtk.WindowType.TOPLEVEL);
10001                 [Version (since = "2.4")]
10002                 public bool activate_key (Gdk.EventKey event);
10003                 public void add_accel_group (Gtk.AccelGroup accel_group);
10004                 public void add_mnemonic (uint keyval, Gtk.Widget target);
10005                 public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
10006                 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
10007                 [Version (since = "3.10")]
10008                 public void close ();
10009                 public void deiconify ();
10010                 [Version (since = "2.2")]
10011                 public void fullscreen ();
10012                 [Version (since = "3.18")]
10013                 public void fullscreen_on_monitor (Gdk.Screen screen, int monitor);
10014                 [Version (since = "2.4")]
10015                 public bool get_accept_focus ();
10016                 [Version (since = "3.0")]
10017                 public unowned Gtk.Application? get_application ();
10018                 [Version (since = "3.4")]
10019                 public unowned Gtk.Widget? get_attached_to ();
10020                 public bool get_decorated ();
10021                 public static GLib.List<weak Gdk.Pixbuf> get_default_icon_list ();
10022                 [Version (since = "2.16")]
10023                 public static unowned string get_default_icon_name ();
10024                 public void get_default_size (out int width, out int height);
10025                 [Version (since = "2.14")]
10026                 public unowned Gtk.Widget? get_default_widget ();
10027                 [Version (since = "2.10")]
10028                 public bool get_deletable ();
10029                 public bool get_destroy_with_parent ();
10030                 public unowned Gtk.Widget? get_focus ();
10031                 [Version (since = "2.6")]
10032                 public bool get_focus_on_map ();
10033                 [Version (since = "3.2")]
10034                 public bool get_focus_visible ();
10035                 public Gdk.Gravity get_gravity ();
10036                 [Version (since = "2.10")]
10037                 public unowned Gtk.WindowGroup get_group ();
10038                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10039                 public bool get_has_resize_grip ();
10040                 [Version (since = "3.4")]
10041                 public bool get_hide_titlebar_when_maximized ();
10042                 public unowned Gdk.Pixbuf? get_icon ();
10043                 public GLib.List<weak Gdk.Pixbuf> get_icon_list ();
10044                 [Version (since = "2.6")]
10045                 public unowned string? get_icon_name ();
10046                 public Gdk.ModifierType get_mnemonic_modifier ();
10047                 [Version (since = "2.20")]
10048                 public bool get_mnemonics_visible ();
10049                 public bool get_modal ();
10050                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.12")]
10051                 public double get_opacity ();
10052                 public void get_position (out int root_x, out int root_y);
10053                 public bool get_resizable ();
10054                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10055                 public bool get_resize_grip_area (out Gdk.Rectangle rect);
10056                 public unowned string? get_role ();
10057                 [Version (since = "2.2")]
10058                 public unowned Gdk.Screen get_screen ();
10059                 public void get_size (out int width, out int height);
10060                 [Version (since = "2.2")]
10061                 public bool get_skip_pager_hint ();
10062                 [Version (since = "2.2")]
10063                 public bool get_skip_taskbar_hint ();
10064                 public unowned string? get_title ();
10065                 [Version (since = "3.16")]
10066                 public unowned Gtk.Widget? get_titlebar ();
10067                 public unowned Gtk.Window? get_transient_for ();
10068                 public Gdk.WindowTypeHint get_type_hint ();
10069                 [Version (since = "2.8")]
10070                 public bool get_urgency_hint ();
10071                 [Version (since = "2.20")]
10072                 public Gtk.WindowType get_window_type ();
10073                 public bool has_group ();
10074                 public void iconify ();
10075                 public static GLib.List<weak Gtk.Window> list_toplevels ();
10076                 public void maximize ();
10077                 public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier);
10078                 public void move (int x, int y);
10079                 [Version (deprecated = true, deprecated_since = "3.20")]
10080                 public bool parse_geometry (string geometry);
10081                 public void present ();
10082                 [Version (since = "2.8")]
10083                 public void present_with_time (uint32 timestamp);
10084                 [Version (since = "2.4")]
10085                 public bool propagate_key_event (Gdk.EventKey event);
10086                 public void remove_accel_group (Gtk.AccelGroup accel_group);
10087                 public void remove_mnemonic (uint keyval, Gtk.Widget target);
10088                 [Version (deprecated = true, deprecated_since = "3.10")]
10089                 public void reshow_with_initial_size ();
10090                 public void resize (int width, int height);
10091                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10092                 public bool resize_grip_is_visible ();
10093                 [Version (deprecated = true, deprecated_since = "3.20", since = "3.0")]
10094                 public void resize_to_geometry (int width, int height);
10095                 [Version (since = "2.4")]
10096                 public void set_accept_focus (bool setting);
10097                 [Version (since = "3.0")]
10098                 public void set_application (Gtk.Application? application);
10099                 [Version (since = "3.4")]
10100                 public void set_attached_to (Gtk.Widget? attach_widget);
10101                 [Version (since = "2.2")]
10102                 public static void set_auto_startup_notification (bool setting);
10103                 public void set_decorated (bool setting);
10104                 public void set_default (Gtk.Widget? default_widget);
10105                 [Version (deprecated = true, deprecated_since = "3.20", since = "3.0")]
10106                 public void set_default_geometry (int width, int height);
10107                 [Version (since = "2.4")]
10108                 public static void set_default_icon (Gdk.Pixbuf icon);
10109                 [Version (since = "2.2")]
10110                 public static bool set_default_icon_from_file (string filename) throws GLib.Error;
10111                 public static void set_default_icon_list (owned GLib.List<weak Gdk.Pixbuf> list);
10112                 [Version (since = "2.6")]
10113                 public static void set_default_icon_name (string name);
10114                 public void set_default_size (int width, int height);
10115                 [Version (since = "2.10")]
10116                 public void set_deletable (bool setting);
10117                 public void set_destroy_with_parent (bool setting);
10118                 [Version (since = "2.6")]
10119                 public void set_focus_on_map (bool setting);
10120                 [Version (since = "3.2")]
10121                 public void set_focus_visible (bool setting);
10122                 public void set_geometry_hints (Gtk.Widget? geometry_widget, Gdk.Geometry? geometry, Gdk.WindowHints geom_mask);
10123                 public void set_gravity (Gdk.Gravity gravity);
10124                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10125                 public void set_has_resize_grip (bool value);
10126                 [Version (since = "3.0")]
10127                 public void set_has_user_ref_count (bool setting);
10128                 [Version (since = "3.4")]
10129                 public void set_hide_titlebar_when_maximized (bool setting);
10130                 public void set_icon (Gdk.Pixbuf? icon);
10131                 [Version (since = "2.2")]
10132                 public bool set_icon_from_file (string filename) throws GLib.Error;
10133                 public void set_icon_list (GLib.List<Gdk.Pixbuf> list);
10134                 [Version (since = "2.6")]
10135                 public void set_icon_name (string? name);
10136                 [Version (since = "3.14")]
10137                 public static void set_interactive_debugging (bool enable);
10138                 [Version (since = "2.4")]
10139                 public void set_keep_above (bool setting);
10140                 [Version (since = "2.4")]
10141                 public void set_keep_below (bool setting);
10142                 public void set_mnemonic_modifier (Gdk.ModifierType modifier);
10143                 [Version (since = "2.20")]
10144                 public void set_mnemonics_visible (bool setting);
10145                 public void set_modal (bool modal);
10146                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.12")]
10147                 public void set_opacity (double opacity);
10148                 public void set_position (Gtk.WindowPosition position);
10149                 public void set_resizable (bool resizable);
10150                 public void set_role (string role);
10151                 [Version (since = "2.2")]
10152                 public void set_screen (Gdk.Screen screen);
10153                 [Version (since = "2.2")]
10154                 public void set_skip_pager_hint (bool setting);
10155                 [Version (since = "2.2")]
10156                 public void set_skip_taskbar_hint (bool setting);
10157                 [Version (since = "2.12")]
10158                 public void set_startup_id (string startup_id);
10159                 public void set_title (string title);
10160                 [Version (since = "3.10")]
10161                 public void set_titlebar (Gtk.Widget? titlebar);
10162                 public void set_transient_for (Gtk.Window? parent);
10163                 public void set_type_hint (Gdk.WindowTypeHint hint);
10164                 [Version (since = "2.8")]
10165                 public void set_urgency_hint (bool setting);
10166                 [Version (deprecated = true, deprecated_since = "3.22")]
10167                 public void set_wmclass (string wmclass_name, string wmclass_class);
10168                 public void stick ();
10169                 [CCode (cname = "gtk_window_activate_default")]
10170                 public bool try_activate_default ();
10171                 [CCode (cname = "gtk_window_activate_focus")]
10172                 public bool try_activate_focus ();
10173                 [Version (since = "2.2")]
10174                 public void unfullscreen ();
10175                 public void unmaximize ();
10176                 public void unstick ();
10177                 [Version (since = "2.4")]
10178                 public bool accept_focus { get; set; }
10179                 [Version (since = "3.0")]
10180                 public Gtk.Application application { get; set; }
10181                 [Version (since = "3.4")]
10182                 public Gtk.Widget attached_to { get; set construct; }
10183                 [Version (since = "2.4")]
10184                 public bool decorated { get; set; }
10185                 [NoAccessorMethod]
10186                 public int default_height { get; set; }
10187                 [NoAccessorMethod]
10188                 public int default_width { get; set; }
10189                 [Version (since = "2.10")]
10190                 public bool deletable { get; set; }
10191                 public bool destroy_with_parent { get; set; }
10192                 [Version (since = "2.6")]
10193                 public bool focus_on_map { get; set; }
10194                 [Version (since = "2.20")]
10195                 public bool focus_visible { get; set; }
10196                 [Version (since = "2.4")]
10197                 public Gdk.Gravity gravity { get; set; }
10198                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10199                 public bool has_resize_grip { get; set; }
10200                 [NoAccessorMethod]
10201                 public bool has_toplevel_focus { get; }
10202                 [Version (since = "3.4")]
10203                 public bool hide_titlebar_when_maximized { get; set; }
10204                 public Gdk.Pixbuf icon { get; set; }
10205                 [Version (since = "2.6")]
10206                 public string icon_name { get; set; }
10207                 [NoAccessorMethod]
10208                 public bool is_active { get; }
10209                 [NoAccessorMethod]
10210                 public bool is_maximized { get; }
10211                 [Version (since = "2.20")]
10212                 public bool mnemonics_visible { get; set; }
10213                 public bool modal { get; set; }
10214                 public bool resizable { get; set; }
10215                 [NoAccessorMethod]
10216                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10217                 public bool resize_grip_visible { get; }
10218                 public string role { get; set; }
10219                 public Gdk.Screen screen { get; set; }
10220                 public bool skip_pager_hint { get; set; }
10221                 public bool skip_taskbar_hint { get; set; }
10222                 [Version (since = "2.12")]
10223                 public string startup_id { set; }
10224                 public string title { get; set; }
10225                 [Version (since = "2.10")]
10226                 public Gtk.Window transient_for { get; set construct; }
10227                 [NoAccessorMethod]
10228                 public Gtk.WindowType type { get; construct; }
10229                 public Gdk.WindowTypeHint type_hint { get; set; }
10230                 public bool urgency_hint { get; set; }
10231                 [NoAccessorMethod]
10232                 public Gtk.WindowPosition window_position { get; set; }
10233                 public virtual signal void activate_default ();
10234                 public virtual signal void activate_focus ();
10235                 public virtual signal bool enable_debugging (bool toggle);
10236                 public virtual signal void keys_changed ();
10237                 [HasEmitter]
10238                 public virtual signal void set_focus (Gtk.Widget? focus);
10239         }
10240         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_window_accessible_get_type ()")]
10241         public class WindowAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Window {
10242                 [CCode (has_construct_function = false)]
10243                 protected WindowAccessible ();
10244         }
10245         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10246         [Compact]
10247         public class WindowGeometryInfo {
10248         }
10249         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_group_get_type ()")]
10250         public class WindowGroup : GLib.Object {
10251                 [CCode (has_construct_function = false)]
10252                 public WindowGroup ();
10253                 public void add_window (Gtk.Window window);
10254                 [Version (since = "3.0")]
10255                 public unowned Gtk.Widget? get_current_device_grab (Gdk.Device device);
10256                 [Version (since = "2.22")]
10257                 public unowned Gtk.Widget get_current_grab ();
10258                 [Version (since = "2.14")]
10259                 public GLib.List<weak Gtk.Window> list_windows ();
10260                 public void remove_window (Gtk.Window window);
10261         }
10262         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkActionableInterface", type_id = "gtk_actionable_get_type ()")]
10263         public interface Actionable : Gtk.Widget {
10264                 [Version (since = "3.4")]
10265                 public abstract unowned string? get_action_name ();
10266                 [Version (since = "3.4")]
10267                 public abstract unowned GLib.Variant get_action_target_value ();
10268                 [Version (since = "3.4")]
10269                 public abstract void set_action_name (string? action_name);
10270                 [Version (since = "3.4")]
10271                 public void set_action_target (string format_string, ...);
10272                 [Version (since = "3.4")]
10273                 public abstract void set_action_target_value (GLib.Variant target_value);
10274                 [Version (since = "3.4")]
10275                 public void set_detailed_action_name (string detailed_action_name);
10276                 public string action_name { get; set; }
10277                 [NoAccessorMethod]
10278                 public GLib.Variant action_target { owned get; set; }
10279         }
10280         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_activatable_get_type ()")]
10281         [Version (deprecated = true, deprecated_since = "3.10")]
10282         public interface Activatable : GLib.Object {
10283                 [Version (since = "2.16")]
10284                 public void do_set_related_action (Gtk.Action action);
10285                 [Version (since = "2.16")]
10286                 public unowned Gtk.Action get_related_action ();
10287                 [Version (since = "2.16")]
10288                 public bool get_use_action_appearance ();
10289                 [Version (since = "2.16")]
10290                 public void set_related_action (Gtk.Action action);
10291                 [Version (since = "2.16")]
10292                 public void set_use_action_appearance (bool use_appearance);
10293                 [Version (since = "2.16")]
10294                 public abstract void sync_action_properties (Gtk.Action? action);
10295                 [NoWrapper]
10296                 public abstract void update (Gtk.Action action, string property_name);
10297                 [Version (since = "2.16")]
10298                 public Gtk.Action related_action { get; set; }
10299                 [Version (since = "2.16")]
10300                 public bool use_action_appearance { get; set; }
10301         }
10302         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_get_type ()")]
10303         public interface AppChooser : Gtk.Widget {
10304                 [Version (since = "3.0")]
10305                 public GLib.AppInfo? get_app_info ();
10306                 [Version (since = "3.0")]
10307                 public string get_content_type ();
10308                 [Version (since = "3.0")]
10309                 public void refresh ();
10310                 public string content_type { owned get; construct; }
10311         }
10312         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_buildable_get_type ()")]
10313         public interface Buildable : GLib.Object {
10314                 [Version (since = "2.12")]
10315                 public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type);
10316                 [Version (since = "2.12")]
10317                 public abstract GLib.Object construct_child (Gtk.Builder builder, string name);
10318                 [Version (since = "2.12")]
10319                 public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
10320                 [Version (since = "2.12")]
10321                 public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
10322                 [Version (since = "2.12")]
10323                 public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data);
10324                 [Version (since = "2.12")]
10325                 public abstract unowned GLib.Object get_internal_child (Gtk.Builder builder, string childname);
10326                 [Version (since = "2.12")]
10327                 public abstract unowned string get_name ();
10328                 [Version (since = "2.12")]
10329                 public abstract void parser_finished (Gtk.Builder builder);
10330                 [Version (since = "2.12")]
10331                 public abstract void set_buildable_property (Gtk.Builder builder, string name, GLib.Value value);
10332                 [Version (since = "2.12")]
10333                 public abstract void set_name (string name);
10334         }
10335         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_accessible_parent_get_type ()")]
10336         public interface CellAccessibleParent : GLib.Object {
10337                 public abstract void activate (Gtk.CellAccessible cell);
10338                 public abstract void edit (Gtk.CellAccessible cell);
10339                 public abstract void expand_collapse (Gtk.CellAccessible cell);
10340                 public abstract void get_cell_area (Gtk.CellAccessible cell, Gdk.Rectangle cell_rect);
10341                 public abstract void get_cell_extents (Gtk.CellAccessible cell, int x, int y, int width, int height, Atk.CoordType coord_type);
10342                 public abstract int get_child_index (Gtk.CellAccessible cell);
10343                 public abstract Gtk.CellRendererState get_renderer_state (Gtk.CellAccessible cell);
10344                 public abstract bool grab_focus (Gtk.CellAccessible cell);
10345                 public abstract void update_relationset (Gtk.CellAccessible cell, Atk.RelationSet relationset);
10346         }
10347         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_editable_get_type ()")]
10348         public interface CellEditable : Gtk.Widget {
10349                 public abstract void start_editing (Gdk.Event? event);
10350                 [NoAccessorMethod]
10351                 [Version (since = "2.20")]
10352                 public bool editing_canceled { get; set; }
10353                 [HasEmitter]
10354                 public virtual signal void editing_done ();
10355                 [HasEmitter]
10356                 public virtual signal void remove_widget ();
10357         }
10358         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_layout_get_type ()")]
10359         public interface CellLayout : GLib.Object {
10360                 [Version (since = "2.4")]
10361                 public abstract void add_attribute (Gtk.CellRenderer cell, string attribute, int column);
10362                 [Version (since = "2.4")]
10363                 public abstract void clear ();
10364                 [Version (since = "2.4")]
10365                 public abstract void clear_attributes (Gtk.CellRenderer cell);
10366                 [Version (since = "3.0")]
10367                 public abstract unowned Gtk.CellArea? get_area ();
10368                 [Version (since = "2.12")]
10369                 public abstract GLib.List<weak Gtk.CellRenderer> get_cells ();
10370                 [Version (since = "2.4")]
10371                 public abstract void pack_end (Gtk.CellRenderer cell, bool expand);
10372                 [Version (since = "2.4")]
10373                 public abstract void pack_start (Gtk.CellRenderer cell, bool expand);
10374                 [Version (since = "2.4")]
10375                 public abstract void reorder (Gtk.CellRenderer cell, int position);
10376                 [Version (since = "2.4")]
10377                 public void set_attributes (Gtk.CellRenderer cell, ...);
10378                 [Version (since = "2.4")]
10379                 public abstract void set_cell_data_func (Gtk.CellRenderer cell, owned Gtk.CellLayoutDataFunc? func);
10380         }
10381         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkColorChooserInterface", type_id = "gtk_color_chooser_get_type ()")]
10382         public interface ColorChooser : GLib.Object {
10383                 [Version (since = "3.4")]
10384                 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);
10385                 [Version (since = "3.4")]
10386                 public abstract Gdk.RGBA get_rgba ();
10387                 [Version (since = "3.4")]
10388                 public bool get_use_alpha ();
10389                 [Version (since = "3.4")]
10390                 public abstract void set_rgba (Gdk.RGBA color);
10391                 [Version (since = "3.4")]
10392                 public void set_use_alpha (bool use_alpha);
10393                 [Version (since = "3.4")]
10394                 public Gdk.RGBA rgba { get; set; }
10395                 [Version (since = "3.4")]
10396                 public bool use_alpha { get; set; }
10397                 [Version (since = "3.4")]
10398                 public virtual signal void color_activated (Gdk.RGBA color);
10399         }
10400         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkEditableInterface", type_id = "gtk_editable_get_type ()")]
10401         public interface Editable : GLib.Object {
10402                 public void copy_clipboard ();
10403                 public void cut_clipboard ();
10404                 public void delete_selection ();
10405                 [NoWrapper]
10406                 public abstract void do_delete_text (int start_pos, int end_pos);
10407                 [NoWrapper]
10408                 public abstract void do_insert_text (string new_text, int new_text_length, ref int position);
10409                 public abstract string get_chars (int start_pos = 0, int end_pos = -1);
10410                 public bool get_editable ();
10411                 public abstract int get_position ();
10412                 public abstract bool get_selection_bounds (out int start_pos, out int end_pos);
10413                 public void paste_clipboard ();
10414                 [CCode (vfunc_name = "set_selection_bounds")]
10415                 public abstract void select_region (int start_pos, int end_pos);
10416                 public void set_editable (bool is_editable);
10417                 public abstract void set_position (int position);
10418                 public virtual signal void changed ();
10419                 public virtual signal void delete_text (int start_pos, int end_pos);
10420                 public virtual signal void insert_text (string new_text, int new_text_length, ref int position);
10421         }
10422         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_get_type ()")]
10423         public interface FileChooser : GLib.Object {
10424                 [Version (since = "3.22")]
10425                 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);
10426                 [Version (since = "2.4")]
10427                 public void add_filter (owned Gtk.FileFilter filter);
10428                 [Version (since = "2.4")]
10429                 public bool add_shortcut_folder (string folder) throws GLib.Error;
10430                 [Version (since = "2.4")]
10431                 public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
10432                 [Version (since = "2.4")]
10433                 public Gtk.FileChooserAction get_action ();
10434                 [Version (since = "3.22")]
10435                 public unowned string get_choice (string id);
10436                 [Version (since = "2.18")]
10437                 public bool get_create_folders ();
10438                 [Version (since = "2.4")]
10439                 public string? get_current_folder ();
10440                 [Version (since = "2.14")]
10441                 public GLib.File get_current_folder_file ();
10442                 [Version (since = "2.4")]
10443                 public string? get_current_folder_uri ();
10444                 [Version (since = "3.10")]
10445                 public string get_current_name ();
10446                 [Version (since = "2.8")]
10447                 public bool get_do_overwrite_confirmation ();
10448                 [Version (since = "2.4")]
10449                 public unowned Gtk.Widget? get_extra_widget ();
10450                 [Version (since = "2.14")]
10451                 public GLib.File get_file ();
10452                 [Version (since = "2.4")]
10453                 public string? get_filename ();
10454                 [Version (since = "2.4")]
10455                 public GLib.SList<string> get_filenames ();
10456                 [Version (since = "2.14")]
10457                 public GLib.SList<GLib.File> get_files ();
10458                 [Version (since = "2.4")]
10459                 public unowned Gtk.FileFilter? get_filter ();
10460                 [Version (since = "2.4")]
10461                 public bool get_local_only ();
10462                 [Version (since = "2.14")]
10463                 public GLib.File? get_preview_file ();
10464                 [Version (since = "2.4")]
10465                 public string? get_preview_filename ();
10466                 [Version (since = "2.4")]
10467                 public string? get_preview_uri ();
10468                 [Version (since = "2.4")]
10469                 public unowned Gtk.Widget? get_preview_widget ();
10470                 [Version (since = "2.4")]
10471                 public bool get_preview_widget_active ();
10472                 [Version (since = "2.4")]
10473                 public bool get_select_multiple ();
10474                 [Version (since = "2.6")]
10475                 public bool get_show_hidden ();
10476                 [Version (since = "2.4")]
10477                 public string? get_uri ();
10478                 [Version (since = "2.4")]
10479                 public GLib.SList<string> get_uris ();
10480                 public bool get_use_preview_label ();
10481                 [Version (since = "2.4")]
10482                 public GLib.SList<weak Gtk.FileFilter> list_filters ();
10483                 [Version (since = "2.4")]
10484                 public GLib.SList<string>? list_shortcut_folder_uris ();
10485                 [Version (since = "2.4")]
10486                 public GLib.SList<string>? list_shortcut_folders ();
10487                 [Version (since = "3.22")]
10488                 public void remove_choice (string id);
10489                 [Version (since = "2.4")]
10490                 public void remove_filter (Gtk.FileFilter filter);
10491                 [Version (since = "2.4")]
10492                 public bool remove_shortcut_folder (string folder) throws GLib.Error;
10493                 [Version (since = "2.4")]
10494                 public bool remove_shortcut_folder_uri (string uri) throws GLib.Error;
10495                 [Version (since = "2.4")]
10496                 public void select_all ();
10497                 [Version (since = "2.14")]
10498                 public bool select_file (GLib.File file) throws GLib.Error;
10499                 [Version (since = "2.4")]
10500                 public bool select_filename (string filename);
10501                 [Version (since = "2.4")]
10502                 public bool select_uri (string uri);
10503                 [Version (since = "2.4")]
10504                 public void set_action (Gtk.FileChooserAction action);
10505                 [Version (since = "3.22")]
10506                 public void set_choice (string id, string option);
10507                 [Version (since = "2.18")]
10508                 public void set_create_folders (bool create_folders);
10509                 [Version (since = "2.4")]
10510                 public bool set_current_folder (string filename);
10511                 [Version (since = "2.14")]
10512                 public bool set_current_folder_file (GLib.File file) throws GLib.Error;
10513                 [Version (since = "2.4")]
10514                 public bool set_current_folder_uri (string uri);
10515                 [Version (since = "2.4")]
10516                 public void set_current_name (string name);
10517                 [Version (since = "2.8")]
10518                 public void set_do_overwrite_confirmation (bool do_overwrite_confirmation);
10519                 [Version (since = "2.4")]
10520                 public void set_extra_widget (Gtk.Widget extra_widget);
10521                 [Version (since = "2.14")]
10522                 public bool set_file (GLib.File file) throws GLib.Error;
10523                 [Version (since = "2.4")]
10524                 public bool set_filename (string filename);
10525                 [Version (since = "2.4")]
10526                 public void set_filter (Gtk.FileFilter filter);
10527                 [Version (since = "2.4")]
10528                 public void set_local_only (bool local_only);
10529                 [Version (since = "2.4")]
10530                 public void set_preview_widget (Gtk.Widget preview_widget);
10531                 [Version (since = "2.4")]
10532                 public void set_preview_widget_active (bool active);
10533                 [Version (since = "2.4")]
10534                 public void set_select_multiple (bool select_multiple);
10535                 [Version (since = "2.6")]
10536                 public void set_show_hidden (bool show_hidden);
10537                 [Version (since = "2.4")]
10538                 public bool set_uri (string uri);
10539                 [Version (since = "2.4")]
10540                 public void set_use_preview_label (bool use_label);
10541                 [Version (since = "2.4")]
10542                 public void unselect_all ();
10543                 [Version (since = "2.14")]
10544                 public void unselect_file (GLib.File file);
10545                 [Version (since = "2.4")]
10546                 public void unselect_filename (string filename);
10547                 [Version (since = "2.4")]
10548                 public void unselect_uri (string uri);
10549                 public Gtk.FileChooserAction action { get; set; }
10550                 [Version (since = "2.18")]
10551                 public bool create_folders { get; set; }
10552                 [Version (since = "2.8")]
10553                 public bool do_overwrite_confirmation { get; set; }
10554                 public Gtk.Widget extra_widget { get; set; }
10555                 public Gtk.FileFilter filter { get; set; }
10556                 public bool local_only { get; set; }
10557                 public Gtk.Widget preview_widget { get; set; }
10558                 public bool preview_widget_active { get; set; }
10559                 public bool select_multiple { get; set; }
10560                 public bool show_hidden { get; set; }
10561                 public bool use_preview_label { get; set; }
10562                 [Version (since = "2.8")]
10563                 public signal Gtk.FileChooserConfirmation confirm_overwrite ();
10564                 public signal void current_folder_changed ();
10565                 public signal void file_activated ();
10566                 public signal void selection_changed ();
10567                 public signal void update_preview ();
10568         }
10569         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_get_type ()")]
10570         public interface FontChooser : GLib.Object {
10571                 [Version (since = "3.2")]
10572                 public string? get_font ();
10573                 [Version (since = "3.2")]
10574                 public Pango.FontDescription? get_font_desc ();
10575                 [Version (since = "3.2")]
10576                 public abstract unowned Pango.FontFace? get_font_face ();
10577                 [Version (since = "3.2")]
10578                 public abstract unowned Pango.FontFamily? get_font_family ();
10579                 [Version (since = "3.18")]
10580                 public abstract Pango.FontMap? get_font_map ();
10581                 [Version (since = "3.2")]
10582                 public abstract int get_font_size ();
10583                 [Version (since = "3.2")]
10584                 public string get_preview_text ();
10585                 [Version (since = "3.2")]
10586                 public bool get_show_preview_entry ();
10587                 [Version (since = "3.2")]
10588                 public abstract void set_filter_func (owned Gtk.FontFilterFunc? filter);
10589                 [Version (since = "3.2")]
10590                 public void set_font (string fontname);
10591                 [Version (since = "3.2")]
10592                 public void set_font_desc (Pango.FontDescription font_desc);
10593                 [Version (since = "3.18")]
10594                 public abstract void set_font_map (Pango.FontMap? fontmap);
10595                 [Version (since = "3.2")]
10596                 public void set_preview_text (string text);
10597                 [Version (since = "3.2")]
10598                 public void set_show_preview_entry (bool show_preview_entry);
10599                 public string font { owned get; set; }
10600                 public Pango.FontDescription font_desc { owned get; set; }
10601                 public string preview_text { owned get; set; }
10602                 public bool show_preview_entry { get; set; }
10603                 public virtual signal void font_activated (string fontname);
10604         }
10605         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_orientable_get_type ()")]
10606         public interface Orientable : GLib.Object {
10607                 [Version (since = "2.16")]
10608                 public Gtk.Orientation get_orientation ();
10609                 [Version (since = "2.16")]
10610                 public void set_orientation (Gtk.Orientation orientation);
10611                 [Version (since = "2.16")]
10612                 public Gtk.Orientation orientation { get; set; }
10613         }
10614         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_preview_get_type ()")]
10615         public interface PrintOperationPreview : GLib.Object {
10616                 [Version (since = "2.10")]
10617                 public abstract void end_preview ();
10618                 [Version (since = "2.10")]
10619                 public abstract bool is_selected (int page_nr);
10620                 [Version (since = "2.10")]
10621                 public abstract void render_page (int page_nr);
10622                 public virtual signal void got_page_size (Gtk.PrintContext context, Gtk.PageSetup page_setup);
10623                 public virtual signal void ready (Gtk.PrintContext context);
10624         }
10625         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_get_type ()")]
10626         public interface RecentChooser : GLib.Object {
10627                 [Version (since = "2.10")]
10628                 public abstract void add_filter (Gtk.RecentFilter filter);
10629                 [Version (since = "2.10")]
10630                 public Gtk.RecentInfo get_current_item ();
10631                 [Version (since = "2.10")]
10632                 public abstract string get_current_uri ();
10633                 [Version (since = "2.10")]
10634                 public unowned Gtk.RecentFilter get_filter ();
10635                 [Version (since = "2.10")]
10636                 public abstract GLib.List<Gtk.RecentInfo> get_items ();
10637                 [Version (since = "2.10")]
10638                 public int get_limit ();
10639                 [Version (since = "2.10")]
10640                 public bool get_local_only ();
10641                 [NoWrapper]
10642                 public abstract unowned Gtk.RecentManager get_recent_manager ();
10643                 [Version (since = "2.10")]
10644                 public bool get_select_multiple ();
10645                 [Version (since = "2.10")]
10646                 public bool get_show_icons ();
10647                 [Version (since = "2.10")]
10648                 public bool get_show_not_found ();
10649                 [Version (since = "2.10")]
10650                 public bool get_show_private ();
10651                 [Version (since = "2.10")]
10652                 public bool get_show_tips ();
10653                 [Version (since = "2.10")]
10654                 public Gtk.RecentSortType get_sort_type ();
10655                 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
10656                 [Version (since = "2.10")]
10657                 public string[] get_uris ();
10658                 [Version (since = "2.10")]
10659                 public abstract GLib.SList<weak Gtk.RecentFilter> list_filters ();
10660                 [Version (since = "2.10")]
10661                 public abstract void remove_filter (Gtk.RecentFilter filter);
10662                 [Version (since = "2.10")]
10663                 public abstract void select_all ();
10664                 [Version (since = "2.10")]
10665                 public abstract bool select_uri (string uri) throws GLib.Error;
10666                 [Version (since = "2.10")]
10667                 public abstract bool set_current_uri (string uri) throws GLib.Error;
10668                 [Version (since = "2.10")]
10669                 public void set_filter (Gtk.RecentFilter? filter);
10670                 [Version (since = "2.10")]
10671                 public void set_limit (int limit);
10672                 [Version (since = "2.10")]
10673                 public void set_local_only (bool local_only);
10674                 [Version (since = "2.10")]
10675                 public void set_select_multiple (bool select_multiple);
10676                 [Version (since = "2.10")]
10677                 public void set_show_icons (bool show_icons);
10678                 [Version (since = "2.10")]
10679                 public void set_show_not_found (bool show_not_found);
10680                 [Version (since = "2.10")]
10681                 public void set_show_private (bool show_private);
10682                 [Version (since = "2.10")]
10683                 public void set_show_tips (bool show_tips);
10684                 [Version (since = "2.10")]
10685                 public abstract void set_sort_func (owned Gtk.RecentSortFunc sort_func);
10686                 [Version (since = "2.10")]
10687                 public void set_sort_type (Gtk.RecentSortType sort_type);
10688                 [Version (since = "2.10")]
10689                 public abstract void unselect_all ();
10690                 [Version (since = "2.10")]
10691                 public abstract void unselect_uri (string uri);
10692                 [Version (since = "2.10")]
10693                 public Gtk.RecentFilter filter { get; set; }
10694                 [Version (since = "2.10")]
10695                 public int limit { get; set; }
10696                 [Version (since = "2.10")]
10697                 public bool local_only { get; set; }
10698                 [NoAccessorMethod]
10699                 [Version (since = "2.10")]
10700                 public Gtk.RecentManager recent_manager { construct; }
10701                 [Version (since = "2.10")]
10702                 public bool select_multiple { get; set; }
10703                 [Version (since = "2.10")]
10704                 public bool show_icons { get; set; }
10705                 [Version (since = "2.10")]
10706                 public bool show_not_found { get; set; }
10707                 public bool show_private { get; set; }
10708                 [Version (since = "2.10")]
10709                 public bool show_tips { get; set; }
10710                 [Version (since = "2.10")]
10711                 public Gtk.RecentSortType sort_type { get; set; }
10712                 [Version (since = "2.10")]
10713                 public virtual signal void item_activated ();
10714                 [Version (since = "2.10")]
10715                 public virtual signal void selection_changed ();
10716         }
10717         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkScrollableInterface", type_id = "gtk_scrollable_get_type ()")]
10718         public interface Scrollable : GLib.Object {
10719                 [Version (since = "3.16")]
10720                 public abstract bool get_border (out Gtk.Border border);
10721                 [Version (since = "3.0")]
10722                 public unowned Gtk.Adjustment get_hadjustment ();
10723                 [Version (since = "3.0")]
10724                 public Gtk.ScrollablePolicy get_hscroll_policy ();
10725                 [Version (since = "3.0")]
10726                 public unowned Gtk.Adjustment get_vadjustment ();
10727                 [Version (since = "3.0")]
10728                 public Gtk.ScrollablePolicy get_vscroll_policy ();
10729                 [Version (since = "3.0")]
10730                 public void set_hadjustment (Gtk.Adjustment? hadjustment);
10731                 [Version (since = "3.0")]
10732                 public void set_hscroll_policy (Gtk.ScrollablePolicy policy);
10733                 [Version (since = "3.0")]
10734                 public void set_vadjustment (Gtk.Adjustment? vadjustment);
10735                 [Version (since = "3.0")]
10736                 public void set_vscroll_policy (Gtk.ScrollablePolicy policy);
10737                 [Version (since = "3.0")]
10738                 public Gtk.Adjustment hadjustment { get; set construct; }
10739                 [Version (since = "3.0")]
10740                 public Gtk.ScrollablePolicy hscroll_policy { get; set; }
10741                 [Version (since = "3.0")]
10742                 public Gtk.Adjustment vadjustment { get; set construct; }
10743                 [Version (since = "3.0")]
10744                 public Gtk.ScrollablePolicy vscroll_policy { get; set; }
10745         }
10746         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_provider_get_type ()")]
10747         public interface StyleProvider : GLib.Object {
10748                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
10749                 public abstract unowned Gtk.IconFactory? get_icon_factory (Gtk.WidgetPath path);
10750                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
10751                 public abstract Gtk.StyleProperties? get_style (Gtk.WidgetPath path);
10752                 [Version (since = "3.0")]
10753                 public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state, GLib.ParamSpec pspec, out GLib.Value value);
10754         }
10755         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_shell_get_type ()")]
10756         public interface ToolShell : Gtk.Widget {
10757                 [Version (since = "2.20")]
10758                 public abstract Pango.EllipsizeMode get_ellipsize_mode ();
10759                 [NoWrapper]
10760                 public abstract Gtk.IconSize get_icon_size ();
10761                 [Version (since = "2.14")]
10762                 public abstract Gtk.Orientation get_orientation ();
10763                 [Version (since = "2.14")]
10764                 public abstract Gtk.ReliefStyle get_relief_style ();
10765                 [Version (since = "2.14")]
10766                 public abstract Gtk.ToolbarStyle get_style ();
10767                 [Version (since = "2.20")]
10768                 public abstract float get_text_alignment ();
10769                 [Version (since = "2.20")]
10770                 public abstract Gtk.Orientation get_text_orientation ();
10771                 [Version (since = "2.20")]
10772                 public abstract unowned Gtk.SizeGroup get_text_size_group ();
10773                 [Version (since = "2.14")]
10774                 public abstract void rebuild_menu ();
10775         }
10776         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_drag_dest_get_type ()")]
10777         public interface TreeDragDest : GLib.Object {
10778                 public abstract bool drag_data_received (Gtk.TreePath dest, Gtk.SelectionData selection_data);
10779                 public abstract bool row_drop_possible (Gtk.TreePath dest_path, Gtk.SelectionData selection_data);
10780         }
10781         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_drag_source_get_type ()")]
10782         public interface TreeDragSource : GLib.Object {
10783                 public abstract bool drag_data_delete (Gtk.TreePath path);
10784                 public abstract bool drag_data_get (Gtk.TreePath path, Gtk.SelectionData selection_data);
10785                 public abstract bool row_draggable (Gtk.TreePath path);
10786         }
10787         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_get_type ()")]
10788         public interface TreeModel : GLib.Object {
10789                 public void @foreach (Gtk.TreeModelForeachFunc func);
10790                 [CCode (sentinel = "-1")]
10791                 public void @get (Gtk.TreeIter iter, ...);
10792                 public abstract GLib.Type get_column_type (int index_);
10793                 public abstract Gtk.TreeModelFlags get_flags ();
10794                 public abstract bool get_iter (out Gtk.TreeIter iter, Gtk.TreePath path);
10795                 public bool get_iter_first (out Gtk.TreeIter iter);
10796                 public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
10797                 public abstract int get_n_columns ();
10798                 public abstract Gtk.TreePath? get_path (Gtk.TreeIter iter);
10799                 [Version (since = "2.2")]
10800                 public string get_string_from_iter (Gtk.TreeIter iter);
10801                 public void get_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
10802                 public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
10803                 public abstract bool iter_children (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
10804                 public abstract bool iter_has_child (Gtk.TreeIter iter);
10805                 public abstract int iter_n_children (Gtk.TreeIter? iter);
10806                 public abstract bool iter_next (ref Gtk.TreeIter iter);
10807                 public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
10808                 public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
10809                 [Version (since = "3.0")]
10810                 public virtual bool iter_previous (ref Gtk.TreeIter iter);
10811                 public virtual void ref_node (Gtk.TreeIter iter);
10812                 [Version (since = "3.10")]
10813                 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);
10814                 public virtual void unref_node (Gtk.TreeIter iter);
10815                 [HasEmitter]
10816                 public virtual signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter);
10817                 [HasEmitter]
10818                 public virtual signal void row_deleted (Gtk.TreePath path);
10819                 [HasEmitter]
10820                 public virtual signal void row_has_child_toggled (Gtk.TreePath path, Gtk.TreeIter iter);
10821                 [HasEmitter]
10822                 public virtual signal void row_inserted (Gtk.TreePath path, Gtk.TreeIter iter);
10823                 [HasEmitter]
10824                 public virtual signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter iter, [CCode (array_length = false)] int[] new_order);
10825         }
10826         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_sortable_get_type ()")]
10827         public interface TreeSortable : Gtk.TreeModel, GLib.Object {
10828                 public abstract bool get_sort_column_id (out int sort_column_id, out Gtk.SortType order);
10829                 public abstract bool has_default_sort_func ();
10830                 public abstract void set_default_sort_func (owned Gtk.TreeIterCompareFunc sort_func);
10831                 public abstract void set_sort_column_id (int sort_column_id, Gtk.SortType order);
10832                 public abstract void set_sort_func (int sort_column_id, owned Gtk.TreeIterCompareFunc sort_func);
10833                 [HasEmitter]
10834                 public virtual signal void sort_column_changed ();
10835         }
10836         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10837         public struct AccelGroupEntry {
10838                 public Gtk.AccelKey key;
10839                 public weak GLib.Closure closure;
10840                 public GLib.Quark accel_path_quark;
10841         }
10842         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10843         public struct AccelKey {
10844                 public uint accel_key;
10845                 public Gdk.ModifierType accel_mods;
10846                 public uint accel_flags;
10847         }
10848         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10849         [Version (deprecated = true, deprecated_since = "3.10")]
10850         public struct ActionEntry {
10851                 public weak string name;
10852                 public weak string stock_id;
10853                 public weak string label;
10854                 public weak string accelerator;
10855                 public weak string tooltip;
10856                 [CCode (delegate_target = false, type = "GCallback")]
10857                 public weak Gtk.ActionCallback callback;
10858         }
10859         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gdk_rectangle_get_type ()")]
10860         public struct Allocation : Gdk.Rectangle {
10861         }
10862         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10863         public struct BindingArg {
10864                 [CCode (cname = "d.long_data")]
10865                 public long long_data;
10866                 [CCode (cname = "d.double_data")]
10867                 public double double_data;
10868                 [CCode (cname = "d.string_data")]
10869                 public weak string string_data;
10870                 public GLib.Type arg_type;
10871         }
10872         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_border_get_type ()")]
10873         public struct Border {
10874                 public int16 left;
10875                 public int16 right;
10876                 public int16 top;
10877                 public int16 bottom;
10878                 public Gtk.Border? copy ();
10879                 public void free ();
10880         }
10881         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10882         public struct IMContextInfo {
10883                 public weak string context_id;
10884                 public weak string context_name;
10885                 public weak string domain;
10886                 public weak string domain_dirname;
10887                 public weak string default_locales;
10888         }
10889         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10890         public struct PadActionEntry {
10891                 public Gtk.PadActionType type;
10892                 public int index;
10893                 public int mode;
10894                 public weak string label;
10895                 public weak string action_name;
10896         }
10897         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10898         public struct PageRange {
10899                 public int start;
10900                 public int end;
10901         }
10902         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10903         [Version (deprecated = true, deprecated_since = "3.10")]
10904         public struct RadioActionEntry {
10905                 public weak string name;
10906                 public weak string stock_id;
10907                 public weak string label;
10908                 public weak string accelerator;
10909                 public weak string tooltip;
10910                 public int value;
10911         }
10912         [CCode (cheader_filename = "gtk/gtk.h", has_copy_function = false, has_destroy_function = false, has_type_id = false)]
10913         public struct RecentData {
10914                 public string? display_name;
10915                 public string? description;
10916                 public string mime_type;
10917                 public string app_name;
10918                 public string app_exec;
10919                 [CCode (array_length = false, array_null_terminated = true)]
10920                 public string[] groups;
10921                 public bool is_private;
10922         }
10923         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10924         public struct RecentFilterInfo {
10925                 public Gtk.RecentFilterFlags contains;
10926                 public weak string? uri;
10927                 public weak string? display_name;
10928                 public weak string? mime_type;
10929                 [CCode (array_length = false, array_null_terminated = true)]
10930                 public weak string[]? applications;
10931                 [CCode (array_length = false, array_null_terminated = true)]
10932                 public weak string[]? groups;
10933                 public int age;
10934         }
10935         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10936         public struct RequestedSize {
10937                 public void* data;
10938                 public int minimum_size;
10939                 public int natural_size;
10940         }
10941         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_requisition_get_type ()")]
10942         public struct Requisition {
10943                 public int width;
10944                 public int height;
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                 public Gtk.TargetEntry? copy ();
10970                 public void free ();
10971         }
10972         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10973         public struct TextAppearance {
10974                 public Gdk.Color bg_color;
10975                 public Gdk.Color fg_color;
10976                 public int rise;
10977                 public uint underline;
10978                 public uint strikethrough;
10979                 public uint draw_bg;
10980                 public uint inside_selection;
10981                 public uint is_text;
10982                 [CCode (array_length = false)]
10983                 public Gdk.RGBA rgba[2];
10984         }
10985         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_iter_get_type ()")]
10986         public struct TextIter {
10987                 [Version (since = "3.2")]
10988                 public void assign (Gtk.TextIter other);
10989                 public bool backward_char ();
10990                 public bool backward_chars (int count);
10991                 public bool backward_cursor_position ();
10992                 public bool backward_cursor_positions (int count);
10993                 public bool backward_find_char ([CCode (delegate_target_pos = 1.5)] Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
10994                 public bool backward_line ();
10995                 public bool backward_lines (int count);
10996                 public bool backward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
10997                 public bool backward_sentence_start ();
10998                 public bool backward_sentence_starts (int count);
10999                 public bool backward_to_tag_toggle (Gtk.TextTag? tag);
11000                 [Version (since = "2.4")]
11001                 public bool backward_visible_cursor_position ();
11002                 [Version (since = "2.4")]
11003                 public bool backward_visible_cursor_positions (int count);
11004                 [Version (since = "2.8")]
11005                 public bool backward_visible_line ();
11006                 [Version (since = "2.8")]
11007                 public bool backward_visible_lines (int count);
11008                 [Version (since = "2.4")]
11009                 public bool backward_visible_word_start ();
11010                 [Version (since = "2.4")]
11011                 public bool backward_visible_word_starts (int count);
11012                 public bool backward_word_start ();
11013                 public bool backward_word_starts (int count);
11014                 [Version (deprecated = true, deprecated_since = "3.20")]
11015                 public bool begins_tag (Gtk.TextTag? tag);
11016                 public bool can_insert (bool default_editability);
11017                 public int compare (Gtk.TextIter rhs);
11018                 public Gtk.TextIter? copy ();
11019                 public bool editable (bool default_setting);
11020                 public bool ends_line ();
11021                 public bool ends_sentence ();
11022                 public bool ends_tag (Gtk.TextTag? tag);
11023                 public bool ends_word ();
11024                 public bool equal (Gtk.TextIter rhs);
11025                 public bool forward_char ();
11026                 public bool forward_chars (int count);
11027                 public bool forward_cursor_position ();
11028                 public bool forward_cursor_positions (int count);
11029                 public bool forward_find_char ([CCode (delegate_target_pos = 1.5)] Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
11030                 public bool forward_line ();
11031                 public bool forward_lines (int count);
11032                 public bool forward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
11033                 public bool forward_sentence_end ();
11034                 public bool forward_sentence_ends (int count);
11035                 public void forward_to_end ();
11036                 public bool forward_to_line_end ();
11037                 public bool forward_to_tag_toggle (Gtk.TextTag? tag);
11038                 [Version (since = "2.4")]
11039                 public bool forward_visible_cursor_position ();
11040                 [Version (since = "2.4")]
11041                 public bool forward_visible_cursor_positions (int count);
11042                 [Version (since = "2.8")]
11043                 public bool forward_visible_line ();
11044                 [Version (since = "2.8")]
11045                 public bool forward_visible_lines (int count);
11046                 [Version (since = "2.4")]
11047                 public bool forward_visible_word_end ();
11048                 [Version (since = "2.4")]
11049                 public bool forward_visible_word_ends (int count);
11050                 public bool forward_word_end ();
11051                 public bool forward_word_ends (int count);
11052                 public void free ();
11053                 public bool get_attributes (Gtk.TextAttributes values);
11054                 public unowned Gtk.TextBuffer get_buffer ();
11055                 public int get_bytes_in_line ();
11056                 public unichar get_char ();
11057                 public int get_chars_in_line ();
11058                 public unowned Gtk.TextChildAnchor get_child_anchor ();
11059                 public Pango.Language get_language ();
11060                 public int get_line ();
11061                 public int get_line_index ();
11062                 public int get_line_offset ();
11063                 public GLib.SList<weak Gtk.TextMark> get_marks ();
11064                 public int get_offset ();
11065                 public unowned Gdk.Pixbuf get_pixbuf ();
11066                 public string get_slice (Gtk.TextIter end);
11067                 public GLib.SList<weak Gtk.TextTag> get_tags ();
11068                 public string get_text (Gtk.TextIter end);
11069                 public GLib.SList<weak Gtk.TextTag> get_toggled_tags (bool toggled_on);
11070                 public int get_visible_line_index ();
11071                 public int get_visible_line_offset ();
11072                 public string get_visible_slice (Gtk.TextIter end);
11073                 public string get_visible_text (Gtk.TextIter end);
11074                 public bool has_tag (Gtk.TextTag tag);
11075                 public bool in_range (Gtk.TextIter start, Gtk.TextIter end);
11076                 public bool inside_sentence ();
11077                 public bool inside_word ();
11078                 public bool is_cursor_position ();
11079                 public bool is_end ();
11080                 public bool is_start ();
11081                 public void order (Gtk.TextIter second);
11082                 public void set_line (int line_number);
11083                 public void set_line_index (int byte_on_line);
11084                 public void set_line_offset (int char_on_line);
11085                 public void set_offset (int char_offset);
11086                 public void set_visible_line_index (int byte_on_line);
11087                 public void set_visible_line_offset (int char_on_line);
11088                 public bool starts_line ();
11089                 public bool starts_sentence ();
11090                 [Version (since = "3.20")]
11091                 public bool starts_tag (Gtk.TextTag? tag);
11092                 public bool starts_word ();
11093                 public bool toggles_tag (Gtk.TextTag? tag);
11094         }
11095         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
11096         [Version (deprecated = true, deprecated_since = "3.10")]
11097         public struct ToggleActionEntry {
11098                 public weak string name;
11099                 public weak string stock_id;
11100                 public weak string label;
11101                 public weak string accelerator;
11102                 public weak string tooltip;
11103                 [CCode (delegate_target = false, type = "GCallback")]
11104                 public weak Gtk.ActionCallback callback;
11105                 public bool is_active;
11106         }
11107         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_iter_get_type ()")]
11108         public struct TreeIter {
11109                 public int stamp;
11110                 public void* user_data;
11111                 public void* user_data2;
11112                 public void* user_data3;
11113                 public Gtk.TreeIter? copy ();
11114                 public void free ();
11115         }
11116         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ACCEL_", type_id = "gtk_accel_flags_get_type ()")]
11117         [Flags]
11118         public enum AccelFlags {
11119                 VISIBLE,
11120                 LOCKED,
11121                 MASK
11122         }
11123         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ALIGN_", type_id = "gtk_align_get_type ()")]
11124         public enum Align {
11125                 FILL,
11126                 START,
11127                 END,
11128                 CENTER,
11129                 BASELINE
11130         }
11131         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_INHIBIT_", type_id = "gtk_application_inhibit_flags_get_type ()")]
11132         [Flags]
11133         [Version (since = "3.4")]
11134         public enum ApplicationInhibitFlags {
11135                 LOGOUT,
11136                 SWITCH,
11137                 SUSPEND,
11138                 IDLE
11139         }
11140         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROWS_", type_id = "gtk_arrow_placement_get_type ()")]
11141         public enum ArrowPlacement {
11142                 BOTH,
11143                 START,
11144                 END
11145         }
11146         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROW_", type_id = "gtk_arrow_type_get_type ()")]
11147         public enum ArrowType {
11148                 UP,
11149                 DOWN,
11150                 LEFT,
11151                 RIGHT,
11152                 NONE
11153         }
11154         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ASSISTANT_PAGE_", type_id = "gtk_assistant_page_type_get_type ()")]
11155         public enum AssistantPageType {
11156                 CONTENT,
11157                 INTRO,
11158                 CONFIRM,
11159                 SUMMARY,
11160                 PROGRESS,
11161                 CUSTOM
11162         }
11163         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_", type_id = "gtk_attach_options_get_type ()")]
11164         [Flags]
11165         public enum AttachOptions {
11166                 EXPAND,
11167                 SHRINK,
11168                 FILL
11169         }
11170         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BASELINE_POSITION_", type_id = "gtk_baseline_position_get_type ()")]
11171         [Version (since = "3.10")]
11172         public enum BaselinePosition {
11173                 TOP,
11174                 CENTER,
11175                 BOTTOM
11176         }
11177         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BORDER_STYLE_", type_id = "gtk_border_style_get_type ()")]
11178         public enum BorderStyle {
11179                 NONE,
11180                 SOLID,
11181                 INSET,
11182                 OUTSET,
11183                 HIDDEN,
11184                 DOTTED,
11185                 DASHED,
11186                 DOUBLE,
11187                 GROOVE,
11188                 RIDGE
11189         }
11190         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONBOX_", type_id = "gtk_button_box_style_get_type ()")]
11191         public enum ButtonBoxStyle {
11192                 SPREAD,
11193                 EDGE,
11194                 START,
11195                 END,
11196                 CENTER,
11197                 EXPAND
11198         }
11199         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTON_ROLE_", type_id = "gtk_button_role_get_type ()")]
11200         public enum ButtonRole {
11201                 NORMAL,
11202                 CHECK,
11203                 RADIO
11204         }
11205         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONS_", type_id = "gtk_buttons_type_get_type ()")]
11206         public enum ButtonsType {
11207                 NONE,
11208                 OK,
11209                 CLOSE,
11210                 CANCEL,
11211                 YES_NO,
11212                 OK_CANCEL
11213         }
11214         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CALENDAR_", type_id = "gtk_calendar_display_options_get_type ()")]
11215         [Flags]
11216         public enum CalendarDisplayOptions {
11217                 SHOW_HEADING,
11218                 SHOW_DAY_NAMES,
11219                 NO_MONTH_CHANGE,
11220                 SHOW_WEEK_NUMBERS,
11221                 SHOW_DETAILS
11222         }
11223         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_ACCEL_MODE_", type_id = "gtk_cell_renderer_accel_mode_get_type ()")]
11224         public enum CellRendererAccelMode {
11225                 GTK,
11226                 OTHER
11227         }
11228         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_MODE_", type_id = "gtk_cell_renderer_mode_get_type ()")]
11229         public enum CellRendererMode {
11230                 INERT,
11231                 ACTIVATABLE,
11232                 EDITABLE
11233         }
11234         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_", type_id = "gtk_cell_renderer_state_get_type ()")]
11235         [Flags]
11236         public enum CellRendererState {
11237                 SELECTED,
11238                 PRELIT,
11239                 INSENSITIVE,
11240                 SORTED,
11241                 FOCUSED,
11242                 EXPANDABLE,
11243                 EXPANDED
11244         }
11245         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CORNER_", type_id = "gtk_corner_type_get_type ()")]
11246         public enum CornerType {
11247                 TOP_LEFT,
11248                 BOTTOM_LEFT,
11249                 TOP_RIGHT,
11250                 BOTTOM_RIGHT
11251         }
11252         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_", type_id = "gtk_css_section_type_get_type ()")]
11253         [Version (since = "3.2")]
11254         public enum CssSectionType {
11255                 DOCUMENT,
11256                 IMPORT,
11257                 COLOR_DEFINITION,
11258                 BINDING_SET,
11259                 RULESET,
11260                 SELECTOR,
11261                 DECLARATION,
11262                 VALUE,
11263                 KEYFRAMES
11264         }
11265         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEBUG_", type_id = "gtk_debug_flag_get_type ()")]
11266         [Flags]
11267         public enum DebugFlag {
11268                 MISC,
11269                 PLUGSOCKET,
11270                 TEXT,
11271                 TREE,
11272                 UPDATES,
11273                 KEYBINDINGS,
11274                 MULTIHEAD,
11275                 MODULES,
11276                 GEOMETRY,
11277                 ICONTHEME,
11278                 PRINTING,
11279                 BUILDER,
11280                 SIZE_REQUEST,
11281                 NO_CSS_CACHE,
11282                 BASELINES,
11283                 PIXEL_CACHE,
11284                 NO_PIXEL_CACHE,
11285                 INTERACTIVE,
11286                 TOUCHSCREEN,
11287                 ACTIONS,
11288                 RESIZE,
11289                 LAYOUT
11290         }
11291         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DELETE_", type_id = "gtk_delete_type_get_type ()")]
11292         public enum DeleteType {
11293                 CHARS,
11294                 WORD_ENDS,
11295                 WORDS,
11296                 DISPLAY_LINES,
11297                 DISPLAY_LINE_ENDS,
11298                 PARAGRAPH_ENDS,
11299                 PARAGRAPHS,
11300                 WHITESPACE
11301         }
11302         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEST_DEFAULT_", type_id = "gtk_dest_defaults_get_type ()")]
11303         [Flags]
11304         public enum DestDefaults {
11305                 MOTION,
11306                 HIGHLIGHT,
11307                 DROP,
11308                 ALL
11309         }
11310         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIALOG_", type_id = "gtk_dialog_flags_get_type ()")]
11311         [Flags]
11312         public enum DialogFlags {
11313                 MODAL,
11314                 DESTROY_WITH_PARENT,
11315                 USE_HEADER_BAR
11316         }
11317         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIR_", type_id = "gtk_direction_type_get_type ()")]
11318         public enum DirectionType {
11319                 TAB_FORWARD,
11320                 TAB_BACKWARD,
11321                 UP,
11322                 DOWN,
11323                 LEFT,
11324                 RIGHT
11325         }
11326         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DRAG_RESULT_", type_id = "gtk_drag_result_get_type ()")]
11327         public enum DragResult {
11328                 SUCCESS,
11329                 NO_TARGET,
11330                 USER_CANCELLED,
11331                 TIMEOUT_EXPIRED,
11332                 GRAB_BROKEN,
11333                 ERROR
11334         }
11335         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ENTRY_ICON_", type_id = "gtk_entry_icon_position_get_type ()")]
11336         [Version (since = "2.16")]
11337         public enum EntryIconPosition {
11338                 PRIMARY,
11339                 SECONDARY
11340         }
11341         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EVENT_SEQUENCE_", type_id = "gtk_event_sequence_state_get_type ()")]
11342         [Version (since = "3.14")]
11343         public enum EventSequenceState {
11344                 NONE,
11345                 CLAIMED,
11346                 DENIED
11347         }
11348         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EXPANDER_", type_id = "gtk_expander_style_get_type ()")]
11349         public enum ExpanderStyle {
11350                 COLLAPSED,
11351                 SEMI_COLLAPSED,
11352                 SEMI_EXPANDED,
11353                 EXPANDED
11354         }
11355         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ACTION_", type_id = "gtk_file_chooser_action_get_type ()")]
11356         public enum FileChooserAction {
11357                 OPEN,
11358                 SAVE,
11359                 SELECT_FOLDER,
11360                 CREATE_FOLDER
11361         }
11362         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_", type_id = "gtk_file_chooser_confirmation_get_type ()")]
11363         [Version (since = "2.8")]
11364         public enum FileChooserConfirmation {
11365                 CONFIRM,
11366                 ACCEPT_FILENAME,
11367                 SELECT_AGAIN
11368         }
11369         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_FILTER_", type_id = "gtk_file_filter_flags_get_type ()")]
11370         [Flags]
11371         public enum FileFilterFlags {
11372                 FILENAME,
11373                 URI,
11374                 DISPLAY_NAME,
11375                 MIME_TYPE
11376         }
11377         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_PREEDIT_", type_id = "gtk_im_preedit_style_get_type ()")]
11378         [Version (deprecated = true, deprecated_since = "3.10")]
11379         public enum IMPreeditStyle {
11380                 NOTHING,
11381                 CALLBACK,
11382                 NONE
11383         }
11384         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_STATUS_", type_id = "gtk_im_status_style_get_type ()")]
11385         [Version (deprecated = true, deprecated_since = "3.10")]
11386         public enum IMStatusStyle {
11387                 NOTHING,
11388                 CALLBACK,
11389                 NONE
11390         }
11391         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_LOOKUP_", type_id = "gtk_icon_lookup_flags_get_type ()")]
11392         [Flags]
11393         public enum IconLookupFlags {
11394                 NO_SVG,
11395                 FORCE_SVG,
11396                 USE_BUILTIN,
11397                 GENERIC_FALLBACK,
11398                 FORCE_SIZE,
11399                 FORCE_REGULAR,
11400                 FORCE_SYMBOLIC,
11401                 DIR_LTR,
11402                 DIR_RTL
11403         }
11404         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_SIZE_", type_id = "gtk_icon_size_get_type ()")]
11405         public enum IconSize {
11406                 INVALID,
11407                 MENU,
11408                 SMALL_TOOLBAR,
11409                 LARGE_TOOLBAR,
11410                 BUTTON,
11411                 DND,
11412                 DIALOG
11413         }
11414         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_VIEW_", type_id = "gtk_icon_view_drop_position_get_type ()")]
11415         public enum IconViewDropPosition {
11416                 NO_DROP,
11417                 DROP_INTO,
11418                 DROP_LEFT,
11419                 DROP_RIGHT,
11420                 DROP_ABOVE,
11421                 DROP_BELOW
11422         }
11423         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IMAGE_", type_id = "gtk_image_type_get_type ()")]
11424         public enum ImageType {
11425                 EMPTY,
11426                 PIXBUF,
11427                 STOCK,
11428                 ICON_SET,
11429                 ANIMATION,
11430                 ICON_NAME,
11431                 GICON,
11432                 SURFACE
11433         }
11434         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_HINT_", type_id = "gtk_input_hints_get_type ()")]
11435         [Flags]
11436         [Version (since = "3.6")]
11437         public enum InputHints {
11438                 NONE,
11439                 SPELLCHECK,
11440                 NO_SPELLCHECK,
11441                 WORD_COMPLETION,
11442                 LOWERCASE,
11443                 UPPERCASE_CHARS,
11444                 UPPERCASE_WORDS,
11445                 UPPERCASE_SENTENCES,
11446                 INHIBIT_OSK,
11447                 VERTICAL_WRITING,
11448                 EMOJI,
11449                 NO_EMOJI
11450         }
11451         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_PURPOSE_", type_id = "gtk_input_purpose_get_type ()")]
11452         [Version (since = "3.6")]
11453         public enum InputPurpose {
11454                 FREE_FORM,
11455                 ALPHA,
11456                 DIGITS,
11457                 NUMBER,
11458                 PHONE,
11459                 URL,
11460                 EMAIL,
11461                 NAME,
11462                 PASSWORD,
11463                 PIN
11464         }
11465         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUNCTION_", type_id = "gtk_junction_sides_get_type ()")]
11466         [Flags]
11467         public enum JunctionSides {
11468                 NONE,
11469                 CORNER_TOPLEFT,
11470                 CORNER_TOPRIGHT,
11471                 CORNER_BOTTOMLEFT,
11472                 CORNER_BOTTOMRIGHT,
11473                 TOP,
11474                 BOTTOM,
11475                 LEFT,
11476                 RIGHT
11477         }
11478         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUSTIFY_", type_id = "gtk_justification_get_type ()")]
11479         public enum Justification {
11480                 LEFT,
11481                 RIGHT,
11482                 CENTER,
11483                 FILL
11484         }
11485         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LEVEL_BAR_MODE_", type_id = "gtk_level_bar_mode_get_type ()")]
11486         [Version (since = "3.6")]
11487         public enum LevelBarMode {
11488                 CONTINUOUS,
11489                 DISCRETE
11490         }
11491         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LICENSE_", type_id = "gtk_license_get_type ()")]
11492         [Version (since = "3.0")]
11493         public enum License {
11494                 UNKNOWN,
11495                 CUSTOM,
11496                 GPL_2_0,
11497                 GPL_3_0,
11498                 LGPL_2_1,
11499                 LGPL_3_0,
11500                 BSD,
11501                 MIT_X11,
11502                 ARTISTIC,
11503                 GPL_2_0_ONLY,
11504                 GPL_3_0_ONLY,
11505                 LGPL_2_1_ONLY,
11506                 LGPL_3_0_ONLY,
11507                 AGPL_3_0,
11508                 AGPL_3_0_ONLY
11509         }
11510         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MENU_DIR_", type_id = "gtk_menu_direction_type_get_type ()")]
11511         public enum MenuDirectionType {
11512                 PARENT,
11513                 CHILD,
11514                 NEXT,
11515                 PREV
11516         }
11517         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MESSAGE_", type_id = "gtk_message_type_get_type ()")]
11518         public enum MessageType {
11519                 INFO,
11520                 WARNING,
11521                 QUESTION,
11522                 ERROR,
11523                 OTHER
11524         }
11525         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MOVEMENT_", type_id = "gtk_movement_step_get_type ()")]
11526         public enum MovementStep {
11527                 LOGICAL_POSITIONS,
11528                 VISUAL_POSITIONS,
11529                 WORDS,
11530                 DISPLAY_LINES,
11531                 DISPLAY_LINE_ENDS,
11532                 PARAGRAPHS,
11533                 PARAGRAPH_ENDS,
11534                 PAGES,
11535                 BUFFER_ENDS,
11536                 HORIZONTAL_PAGES
11537         }
11538         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NOTEBOOK_TAB_", type_id = "gtk_notebook_tab_get_type ()")]
11539         public enum NotebookTab {
11540                 FIRST,
11541                 LAST
11542         }
11543         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NUMBER_UP_LAYOUT_", type_id = "gtk_number_up_layout_get_type ()")]
11544         public enum NumberUpLayout {
11545                 [Version (deprecated_since = "vala-0.40", replacement = "LRTB")]
11546                 LEFT_TO_RIGHT_TOP_TO_BOTTOM,
11547                 [Version (deprecated_since = "vala-0.40", replacement = "LRBT")]
11548                 LEFT_TO_RIGHT_BOTTOM_TO_TOP,
11549                 [Version (deprecated_since = "vala-0.40", replacement = "RLTB")]
11550                 RIGHT_TO_LEFT_TOP_TO_BOTTOM,
11551                 [Version (deprecated_since = "vala-0.40", replacement = "RLBT")]
11552                 RIGHT_TO_LEFT_BOTTOM_TO_TOP,
11553                 [Version (deprecated_since = "vala-0.40", replacement = "TBLR")]
11554                 TOP_TO_BOTTOM_LEFT_TO_RIGHT,
11555                 [Version (deprecated_since = "vala-0.40", replacement = "TBRL")]
11556                 TOP_TO_BOTTOM_RIGHT_TO_LEFT,
11557                 [Version (deprecated_since = "vala-0.40", replacement = "BTLR")]
11558                 BOTTOM_TO_TOP_LEFT_TO_RIGHT,
11559                 [Version (deprecated_since = "vala-0.40", replacement = "BTRL")]
11560                 BOTTOM_TO_TOP_RIGHT_TO_LEFT,
11561                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM")]
11562                 LRTB,
11563                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP")]
11564                 LRBT,
11565                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM")]
11566                 RLTB,
11567                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP")]
11568                 RLBT,
11569                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT")]
11570                 TBLR,
11571                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT")]
11572                 TBRL,
11573                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT")]
11574                 BTLR,
11575                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT")]
11576                 BTRL
11577         }
11578         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ORIENTATION_", type_id = "gtk_orientation_get_type ()")]
11579         public enum Orientation {
11580                 HORIZONTAL,
11581                 VERTICAL
11582         }
11583         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_DIRECTION_", type_id = "gtk_pack_direction_get_type ()")]
11584         public enum PackDirection {
11585                 LTR,
11586                 RTL,
11587                 TTB,
11588                 BTT
11589         }
11590         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_", type_id = "gtk_pack_type_get_type ()")]
11591         public enum PackType {
11592                 START,
11593                 END
11594         }
11595         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAD_ACTION_", type_id = "gtk_pad_action_type_get_type ()")]
11596         public enum PadActionType {
11597                 BUTTON,
11598                 RING,
11599                 STRIP
11600         }
11601         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_ORIENTATION_", type_id = "gtk_page_orientation_get_type ()")]
11602         public enum PageOrientation {
11603                 PORTRAIT,
11604                 LANDSCAPE,
11605                 REVERSE_PORTRAIT,
11606                 REVERSE_LANDSCAPE
11607         }
11608         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_SET_", type_id = "gtk_page_set_get_type ()")]
11609         public enum PageSet {
11610                 ALL,
11611                 EVEN,
11612                 ODD
11613         }
11614         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAN_DIRECTION_", type_id = "gtk_pan_direction_get_type ()")]
11615         [Version (since = "3.14")]
11616         public enum PanDirection {
11617                 LEFT,
11618                 RIGHT,
11619                 UP,
11620                 DOWN
11621         }
11622         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_PRIO_", type_id = "gtk_path_priority_type_get_type ()")]
11623         [Version (deprecated = true, deprecated_since = "3.0")]
11624         public enum PathPriorityType {
11625                 LOWEST,
11626                 GTK,
11627                 APPLICATION,
11628                 THEME,
11629                 RC,
11630                 HIGHEST
11631         }
11632         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_", type_id = "gtk_path_type_get_type ()")]
11633         [Version (deprecated = true, deprecated_since = "3.0")]
11634         public enum PathType {
11635                 WIDGET,
11636                 WIDGET_CLASS,
11637                 CLASS
11638         }
11639         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PLACES_OPEN_", type_id = "gtk_places_open_flags_get_type ()")]
11640         [Flags]
11641         public enum PlacesOpenFlags {
11642                 NORMAL,
11643                 NEW_TAB,
11644                 NEW_WINDOW
11645         }
11646         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POLICY_", type_id = "gtk_policy_type_get_type ()")]
11647         public enum PolicyType {
11648                 ALWAYS,
11649                 AUTOMATIC,
11650                 NEVER,
11651                 EXTERNAL
11652         }
11653         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POPOVER_CONSTRAINT_", type_id = "gtk_popover_constraint_get_type ()")]
11654         [Version (since = "3.20")]
11655         public enum PopoverConstraint {
11656                 NONE,
11657                 WINDOW
11658         }
11659         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POS_", type_id = "gtk_position_type_get_type ()")]
11660         public enum PositionType {
11661                 LEFT,
11662                 RIGHT,
11663                 TOP,
11664                 BOTTOM
11665         }
11666         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_DUPLEX_", type_id = "gtk_print_duplex_get_type ()")]
11667         public enum PrintDuplex {
11668                 SIMPLEX,
11669                 HORIZONTAL,
11670                 VERTICAL
11671         }
11672         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_ACTION_", type_id = "gtk_print_operation_action_get_type ()")]
11673         public enum PrintOperationAction {
11674                 PRINT_DIALOG,
11675                 PRINT,
11676                 PREVIEW,
11677                 EXPORT
11678         }
11679         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_RESULT_", type_id = "gtk_print_operation_result_get_type ()")]
11680         public enum PrintOperationResult {
11681                 ERROR,
11682                 APPLY,
11683                 CANCEL,
11684                 IN_PROGRESS
11685         }
11686         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_PAGES_", type_id = "gtk_print_pages_get_type ()")]
11687         public enum PrintPages {
11688                 ALL,
11689                 CURRENT,
11690                 RANGES,
11691                 SELECTION
11692         }
11693         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_QUALITY_", type_id = "gtk_print_quality_get_type ()")]
11694         public enum PrintQuality {
11695                 LOW,
11696                 NORMAL,
11697                 HIGH,
11698                 DRAFT
11699         }
11700         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_STATUS_", type_id = "gtk_print_status_get_type ()")]
11701         public enum PrintStatus {
11702                 INITIAL,
11703                 PREPARING,
11704                 GENERATING_DATA,
11705                 SENDING_DATA,
11706                 PENDING,
11707                 PENDING_ISSUE,
11708                 PRINTING,
11709                 FINISHED,
11710                 FINISHED_ABORTED
11711         }
11712         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PHASE_", type_id = "gtk_propagation_phase_get_type ()")]
11713         [Version (since = "3.14")]
11714         public enum PropagationPhase {
11715                 NONE,
11716                 CAPTURE,
11717                 BUBBLE,
11718                 TARGET
11719         }
11720         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_", type_id = "gtk_rc_flags_get_type ()")]
11721         [Flags]
11722         public enum RcFlags {
11723                 FG,
11724                 BG,
11725                 TEXT,
11726                 BASE
11727         }
11728         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_TOKEN_", type_id = "gtk_rc_token_type_get_type ()")]
11729         [Version (deprecated = true, deprecated_since = "3.0")]
11730         public enum RcTokenType {
11731                 INVALID,
11732                 INCLUDE,
11733                 NORMAL,
11734                 ACTIVE,
11735                 PRELIGHT,
11736                 SELECTED,
11737                 INSENSITIVE,
11738                 FG,
11739                 BG,
11740                 TEXT,
11741                 BASE,
11742                 XTHICKNESS,
11743                 YTHICKNESS,
11744                 FONT,
11745                 FONTSET,
11746                 FONT_NAME,
11747                 BG_PIXMAP,
11748                 PIXMAP_PATH,
11749                 STYLE,
11750                 BINDING,
11751                 BIND,
11752                 WIDGET,
11753                 WIDGET_CLASS,
11754                 CLASS,
11755                 LOWEST,
11756                 GTK,
11757                 APPLICATION,
11758                 THEME,
11759                 RC,
11760                 HIGHEST,
11761                 ENGINE,
11762                 MODULE_PATH,
11763                 IM_MODULE_PATH,
11764                 IM_MODULE_FILE,
11765                 STOCK,
11766                 LTR,
11767                 RTL,
11768                 COLOR,
11769                 UNBIND,
11770                 LAST
11771         }
11772         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_FILTER_", type_id = "gtk_recent_filter_flags_get_type ()")]
11773         [Flags]
11774         public enum RecentFilterFlags {
11775                 URI,
11776                 DISPLAY_NAME,
11777                 MIME_TYPE,
11778                 APPLICATION,
11779                 GROUP,
11780                 AGE
11781         }
11782         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_SORT_", type_id = "gtk_recent_sort_type_get_type ()")]
11783         [Version (since = "2.10")]
11784         public enum RecentSortType {
11785                 NONE,
11786                 MRU,
11787                 LRU,
11788                 CUSTOM
11789         }
11790         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REGION_", type_id = "gtk_region_flags_get_type ()")]
11791         [Flags]
11792         public enum RegionFlags {
11793                 EVEN,
11794                 ODD,
11795                 FIRST,
11796                 LAST,
11797                 ONLY,
11798                 SORTED
11799         }
11800         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RELIEF_", type_id = "gtk_relief_style_get_type ()")]
11801         public enum ReliefStyle {
11802                 NORMAL,
11803                 HALF,
11804                 NONE
11805         }
11806         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESIZE_", type_id = "gtk_resize_mode_get_type ()")]
11807         public enum ResizeMode {
11808                 PARENT,
11809                 QUEUE,
11810                 IMMEDIATE
11811         }
11812         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESPONSE_", type_id = "gtk_response_type_get_type ()")]
11813         public enum ResponseType {
11814                 NONE,
11815                 REJECT,
11816                 ACCEPT,
11817                 DELETE_EVENT,
11818                 OK,
11819                 CANCEL,
11820                 CLOSE,
11821                 YES,
11822                 NO,
11823                 APPLY,
11824                 HELP
11825         }
11826         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REVEALER_TRANSITION_TYPE_", type_id = "gtk_revealer_transition_type_get_type ()")]
11827         public enum RevealerTransitionType {
11828                 NONE,
11829                 CROSSFADE,
11830                 SLIDE_RIGHT,
11831                 SLIDE_LEFT,
11832                 SLIDE_UP,
11833                 SLIDE_DOWN
11834         }
11835         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scroll_step_get_type ()")]
11836         public enum ScrollStep {
11837                 STEPS,
11838                 PAGES,
11839                 ENDS,
11840                 HORIZONTAL_STEPS,
11841                 HORIZONTAL_PAGES,
11842                 HORIZONTAL_ENDS
11843         }
11844         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scroll_type_get_type ()")]
11845         public enum ScrollType {
11846                 NONE,
11847                 JUMP,
11848                 STEP_BACKWARD,
11849                 STEP_FORWARD,
11850                 PAGE_BACKWARD,
11851                 PAGE_FORWARD,
11852                 STEP_UP,
11853                 STEP_DOWN,
11854                 PAGE_UP,
11855                 PAGE_DOWN,
11856                 STEP_LEFT,
11857                 STEP_RIGHT,
11858                 PAGE_LEFT,
11859                 PAGE_RIGHT,
11860                 START,
11861                 END
11862         }
11863         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scrollable_policy_get_type ()")]
11864         public enum ScrollablePolicy {
11865                 MINIMUM,
11866                 NATURAL
11867         }
11868         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SELECTION_", type_id = "gtk_selection_mode_get_type ()")]
11869         public enum SelectionMode {
11870                 NONE,
11871                 SINGLE,
11872                 BROWSE,
11873                 MULTIPLE
11874         }
11875         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SENSITIVITY_", type_id = "gtk_sensitivity_type_get_type ()")]
11876         public enum SensitivityType {
11877                 AUTO,
11878                 ON,
11879                 OFF
11880         }
11881         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHADOW_", type_id = "gtk_shadow_type_get_type ()")]
11882         public enum ShadowType {
11883                 NONE,
11884                 IN,
11885                 OUT,
11886                 ETCHED_IN,
11887                 ETCHED_OUT
11888         }
11889         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHORTCUT_", type_id = "gtk_shortcut_type_get_type ()")]
11890         [Version (since = "3.20")]
11891         public enum ShortcutType {
11892                 ACCELERATOR,
11893                 GESTURE_PINCH,
11894                 GESTURE_STRETCH,
11895                 GESTURE_ROTATE_CLOCKWISE,
11896                 GESTURE_ROTATE_COUNTERCLOCKWISE,
11897                 GESTURE_TWO_FINGER_SWIPE_LEFT,
11898                 GESTURE_TWO_FINGER_SWIPE_RIGHT,
11899                 GESTURE
11900         }
11901         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_GROUP_", type_id = "gtk_size_group_mode_get_type ()")]
11902         public enum SizeGroupMode {
11903                 NONE,
11904                 HORIZONTAL,
11905                 VERTICAL,
11906                 BOTH
11907         }
11908         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_REQUEST_", type_id = "gtk_size_request_mode_get_type ()")]
11909         public enum SizeRequestMode {
11910                 HEIGHT_FOR_WIDTH,
11911                 WIDTH_FOR_HEIGHT,
11912                 CONSTANT_SIZE
11913         }
11914         [CCode (cheader_filename = "gtk/gtk.h", cname = "gint", has_type_id = false)]
11915         public enum SortColumn {
11916                 [CCode (cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
11917                 DEFAULT,
11918                 [CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
11919                 UNSORTED
11920         }
11921         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SORT_", type_id = "gtk_sort_type_get_type ()")]
11922         public enum SortType {
11923                 ASCENDING,
11924                 DESCENDING
11925         }
11926         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UPDATE_", type_id = "gtk_spin_button_update_policy_get_type ()")]
11927         public enum SpinButtonUpdatePolicy {
11928                 ALWAYS,
11929                 IF_VALID
11930         }
11931         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SPIN_", type_id = "gtk_spin_type_get_type ()")]
11932         public enum SpinType {
11933                 STEP_FORWARD,
11934                 STEP_BACKWARD,
11935                 PAGE_FORWARD,
11936                 PAGE_BACKWARD,
11937                 HOME,
11938                 END,
11939                 USER_DEFINED
11940         }
11941         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STACK_TRANSITION_TYPE_", type_id = "gtk_stack_transition_type_get_type ()")]
11942         public enum StackTransitionType {
11943                 NONE,
11944                 CROSSFADE,
11945                 SLIDE_RIGHT,
11946                 SLIDE_LEFT,
11947                 SLIDE_UP,
11948                 SLIDE_DOWN,
11949                 SLIDE_LEFT_RIGHT,
11950                 SLIDE_UP_DOWN,
11951                 OVER_UP,
11952                 OVER_DOWN,
11953                 OVER_LEFT,
11954                 OVER_RIGHT,
11955                 UNDER_UP,
11956                 UNDER_DOWN,
11957                 UNDER_LEFT,
11958                 UNDER_RIGHT,
11959                 OVER_UP_DOWN,
11960                 OVER_DOWN_UP,
11961                 OVER_LEFT_RIGHT,
11962                 OVER_RIGHT_LEFT
11963         }
11964         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_FLAG_", type_id = "gtk_state_flags_get_type ()")]
11965         [Flags]
11966         public enum StateFlags {
11967                 NORMAL,
11968                 ACTIVE,
11969                 PRELIGHT,
11970                 SELECTED,
11971                 INSENSITIVE,
11972                 INCONSISTENT,
11973                 FOCUSED,
11974                 BACKDROP,
11975                 DIR_LTR,
11976                 DIR_RTL,
11977                 LINK,
11978                 VISITED,
11979                 CHECKED,
11980                 DROP_ACTIVE
11981         }
11982         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_", type_id = "gtk_state_type_get_type ()")]
11983         [Version (deprecated = true, deprecated_since = "3.14")]
11984         public enum StateType {
11985                 NORMAL,
11986                 ACTIVE,
11987                 PRELIGHT,
11988                 SELECTED,
11989                 INSENSITIVE,
11990                 INCONSISTENT,
11991                 FOCUSED
11992         }
11993         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STYLE_CONTEXT_PRINT_", type_id = "gtk_style_context_print_flags_get_type ()")]
11994         [Flags]
11995         public enum StyleContextPrintFlags {
11996                 NONE,
11997                 RECURSE,
11998                 SHOW_STYLE
11999         }
12000         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TARGET_", type_id = "gtk_target_flags_get_type ()")]
12001         [Flags]
12002         public enum TargetFlags {
12003                 SAME_APP,
12004                 SAME_WIDGET,
12005                 OTHER_APP,
12006                 OTHER_WIDGET
12007         }
12008         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_BUFFER_TARGET_INFO_", type_id = "gtk_text_buffer_target_info_get_type ()")]
12009         public enum TextBufferTargetInfo {
12010                 BUFFER_CONTENTS,
12011                 RICH_TEXT,
12012                 TEXT
12013         }
12014         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_DIR_", type_id = "gtk_text_direction_get_type ()")]
12015         public enum TextDirection {
12016                 NONE,
12017                 LTR,
12018                 RTL
12019         }
12020         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_EXTEND_SELECTION_", type_id = "gtk_text_extend_selection_get_type ()")]
12021         [Version (since = "3.16")]
12022         public enum TextExtendSelection {
12023                 WORD,
12024                 LINE
12025         }
12026         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_SEARCH_", type_id = "gtk_text_search_flags_get_type ()")]
12027         [Flags]
12028         public enum TextSearchFlags {
12029                 VISIBLE_ONLY,
12030                 TEXT_ONLY,
12031                 CASE_INSENSITIVE
12032         }
12033         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_VIEW_LAYER_", type_id = "gtk_text_view_layer_get_type ()")]
12034         public enum TextViewLayer {
12035                 BELOW,
12036                 ABOVE,
12037                 BELOW_TEXT,
12038                 ABOVE_TEXT
12039         }
12040         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_WINDOW_", type_id = "gtk_text_window_type_get_type ()")]
12041         public enum TextWindowType {
12042                 PRIVATE,
12043                 WIDGET,
12044                 TEXT,
12045                 LEFT,
12046                 RIGHT,
12047                 TOP,
12048                 BOTTOM
12049         }
12050         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOL_PALETTE_DRAG_", type_id = "gtk_tool_palette_drag_targets_get_type ()")]
12051         [Flags]
12052         public enum ToolPaletteDragTargets {
12053                 ITEMS,
12054                 GROUPS
12055         }
12056         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_SPACE_", type_id = "gtk_toolbar_space_style_get_type ()")]
12057         [Version (deprecated = true, deprecated_since = "3.20")]
12058         public enum ToolbarSpaceStyle {
12059                 EMPTY,
12060                 LINE
12061         }
12062         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_", type_id = "gtk_toolbar_style_get_type ()")]
12063         public enum ToolbarStyle {
12064                 ICONS,
12065                 TEXT,
12066                 BOTH,
12067                 BOTH_HORIZ
12068         }
12069         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_MODEL_", type_id = "gtk_tree_model_flags_get_type ()")]
12070         [Flags]
12071         public enum TreeModelFlags {
12072                 ITERS_PERSIST,
12073                 LIST_ONLY
12074         }
12075         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_COLUMN_", type_id = "gtk_tree_view_column_sizing_get_type ()")]
12076         public enum TreeViewColumnSizing {
12077                 GROW_ONLY,
12078                 AUTOSIZE,
12079                 FIXED
12080         }
12081         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_DROP_", type_id = "gtk_tree_view_drop_position_get_type ()")]
12082         public enum TreeViewDropPosition {
12083                 BEFORE,
12084                 AFTER,
12085                 INTO_OR_BEFORE,
12086                 INTO_OR_AFTER
12087         }
12088         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_GRID_LINES_", type_id = "gtk_tree_view_grid_lines_get_type ()")]
12089         public enum TreeViewGridLines {
12090                 NONE,
12091                 HORIZONTAL,
12092                 VERTICAL,
12093                 BOTH
12094         }
12095         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UI_MANAGER_", type_id = "gtk_ui_manager_item_type_get_type ()")]
12096         [Flags]
12097         [Version (deprecated = true, deprecated_since = "3.10")]
12098         public enum UIManagerItemType {
12099                 AUTO,
12100                 MENUBAR,
12101                 MENU,
12102                 TOOLBAR,
12103                 PLACEHOLDER,
12104                 POPUP,
12105                 MENUITEM,
12106                 TOOLITEM,
12107                 SEPARATOR,
12108                 ACCELERATOR,
12109                 POPUP_WITH_ACCELS
12110         }
12111         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UNIT_", type_id = "gtk_unit_get_type ()")]
12112         public enum Unit {
12113                 NONE,
12114                 POINTS,
12115                 INCH,
12116                 MM
12117         }
12118         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIDGET_HELP_", type_id = "gtk_widget_help_type_get_type ()")]
12119         public enum WidgetHelpType {
12120                 TOOLTIP,
12121                 WHATS_THIS
12122         }
12123         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIN_POS_", type_id = "gtk_window_position_get_type ()")]
12124         public enum WindowPosition {
12125                 NONE,
12126                 CENTER,
12127                 MOUSE,
12128                 CENTER_ALWAYS,
12129                 CENTER_ON_PARENT
12130         }
12131         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WINDOW_", type_id = "gtk_window_type_get_type ()")]
12132         public enum WindowType {
12133                 TOPLEVEL,
12134                 POPUP
12135         }
12136         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WRAP_", type_id = "gtk_wrap_mode_get_type ()")]
12137         public enum WrapMode {
12138                 NONE,
12139                 CHAR,
12140                 WORD,
12141                 WORD_CHAR
12142         }
12143         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUILDER_ERROR_")]
12144         public errordomain BuilderError {
12145                 INVALID_TYPE_FUNCTION,
12146                 UNHANDLED_TAG,
12147                 MISSING_ATTRIBUTE,
12148                 INVALID_ATTRIBUTE,
12149                 INVALID_TAG,
12150                 MISSING_PROPERTY_VALUE,
12151                 INVALID_VALUE,
12152                 VERSION_MISMATCH,
12153                 DUPLICATE_ID,
12154                 OBJECT_TYPE_REFUSED,
12155                 TEMPLATE_MISMATCH,
12156                 INVALID_PROPERTY,
12157                 INVALID_SIGNAL,
12158                 INVALID_ID;
12159                 [CCode (cheader_filename = "gtk/gtk.h")]
12160                 public static GLib.Quark quark ();
12161         }
12162         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PROVIDER_ERROR_")]
12163         public errordomain CssProviderError {
12164                 FAILED,
12165                 SYNTAX,
12166                 IMPORT,
12167                 NAME,
12168                 DEPRECATED,
12169                 UNKNOWN_VALUE;
12170                 [CCode (cheader_filename = "gtk/gtk.h")]
12171                 public static GLib.Quark quark ();
12172         }
12173         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")]
12174         public errordomain FileChooserError {
12175                 NONEXISTENT,
12176                 BAD_FILENAME,
12177                 ALREADY_EXISTS,
12178                 INCOMPLETE_HOSTNAME;
12179                 [CCode (cheader_filename = "gtk/gtk.h")]
12180                 [Version (since = "2.4")]
12181                 public static GLib.Quark quark ();
12182         }
12183         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")]
12184         public errordomain IconThemeError {
12185                 NOT_FOUND,
12186                 FAILED;
12187                 [CCode (cheader_filename = "gtk/gtk.h")]
12188                 public static GLib.Quark quark ();
12189         }
12190         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
12191         public errordomain PrintError {
12192                 GENERAL,
12193                 INTERNAL_ERROR,
12194                 NOMEM,
12195                 INVALID_FILE;
12196                 [CCode (cheader_filename = "gtk/gtk.h")]
12197                 [Version (since = "2.10")]
12198                 public static GLib.Quark quark ();
12199         }
12200         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")]
12201         [Version (since = "2.10")]
12202         public errordomain RecentChooserError {
12203                 NOT_FOUND,
12204                 INVALID_URI;
12205                 [CCode (cheader_filename = "gtk/gtk.h")]
12206                 public static GLib.Quark quark ();
12207         }
12208         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")]
12209         [Version (since = "2.10")]
12210         public errordomain RecentManagerError {
12211                 NOT_FOUND,
12212                 INVALID_URI,
12213                 INVALID_ENCODING,
12214                 NOT_REGISTERED,
12215                 READ,
12216                 WRITE,
12217                 UNKNOWN;
12218                 [CCode (cheader_filename = "gtk/gtk.h")]
12219                 public static GLib.Quark quark ();
12220         }
12221         [CCode (cheader_filename = "gtk/gtk.h")]
12222         public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
12223         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12224         [Version (since = "2.2")]
12225         public delegate bool AccelGroupFindFunc (Gtk.AccelKey key, GLib.Closure closure);
12226         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12227         public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);
12228         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
12229         [Version (deprecated_since = "3.10")]
12230         public delegate void ActionCallback (Gtk.Action action);
12231         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12232         public delegate int AssistantPageFunc (int current_page);
12233         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 6.9)]
12234         [Version (since = "2.12")]
12235         public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object? connect_object, GLib.ConnectFlags flags);
12236         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12237         [Version (since = "2.14")]
12238         public delegate string? CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
12239         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12240         public delegate void Callback (Gtk.Widget widget);
12241         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12242         public delegate bool CellAllocCallback (Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle cell_background);
12243         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12244         public delegate bool CellCallback (Gtk.CellRenderer renderer);
12245         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12246         public delegate void CellLayoutDataFunc (Gtk.CellLayout cell_layout, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
12247         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12248         public delegate void ClipboardClearFunc (Gtk.Clipboard clipboard, void* user_data_or_owner);
12249         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12250         public delegate void ClipboardGetFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data, uint info, void* user_data_or_owner);
12251         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12252         [Version (since = "2.6")]
12253         public delegate void ClipboardImageReceivedFunc (Gtk.Clipboard clipboard, Gdk.Pixbuf pixbuf);
12254         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12255         public delegate void ClipboardReceivedFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data);
12256         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12257         [Version (since = "2.10")]
12258         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);
12259         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12260         [Version (since = "2.4")]
12261         public delegate void ClipboardTargetsReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length_cname = "n_atoms", array_length_pos = 2.1)] Gdk.Atom[]? atoms);
12262         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12263         public delegate void ClipboardTextReceivedFunc (Gtk.Clipboard clipboard, string? text);
12264         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12265         [Version (since = "2.14")]
12266         public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length = false, array_null_terminated = true)] string[] uris);
12267         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12268         [Version (deprecated = true, deprecated_since = "3.4")]
12269         public delegate void ColorSelectionChangePaletteFunc ([CCode (array_length_cname = "n_colors", array_length_pos = 1.1)] Gdk.Color[] colors);
12270         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12271         [Version (deprecated = true, deprecated_since = "3.4", since = "2.2")]
12272         public delegate void ColorSelectionChangePaletteWithScreenFunc (Gdk.Screen screen, [CCode (array_length_cname = "n_colors", array_length_pos = 2.1)] Gdk.Color[] colors);
12273         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12274         public delegate bool EntryCompletionMatchFunc (Gtk.EntryCompletion completion, string key, Gtk.TreeIter iter);
12275         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12276         public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
12277         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12278         [Version (since = "3.18")]
12279         public delegate Gtk.Widget FlowBoxCreateWidgetFunc ([CCode (type = "gpointer")] GLib.Object item);
12280         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12281         [Version (since = "3.12")]
12282         public delegate bool FlowBoxFilterFunc (Gtk.FlowBoxChild child);
12283         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12284         [Version (since = "3.12")]
12285         public delegate void FlowBoxForeachFunc (Gtk.FlowBox box, Gtk.FlowBoxChild child);
12286         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12287         [Version (since = "3.12")]
12288         public delegate int FlowBoxSortFunc (Gtk.FlowBoxChild child1, Gtk.FlowBoxChild child2);
12289         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12290         public delegate bool FontFilterFunc (Pango.FontFamily family, Pango.FontFace face);
12291         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12292         public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
12293         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12294         public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event);
12295         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12296         [Version (since = "3.16")]
12297         public delegate Gtk.Widget ListBoxCreateWidgetFunc (GLib.Object item);
12298         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12299         [Version (since = "3.10")]
12300         public delegate bool ListBoxFilterFunc (Gtk.ListBoxRow row);
12301         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12302         [Version (since = "3.14")]
12303         public delegate void ListBoxForeachFunc (Gtk.ListBox box, Gtk.ListBoxRow row);
12304         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12305         [Version (since = "3.10")]
12306         public delegate int ListBoxSortFunc (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2);
12307         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12308         [Version (since = "3.10")]
12309         public delegate void ListBoxUpdateHeaderFunc (Gtk.ListBoxRow row, Gtk.ListBoxRow? before);
12310         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12311         public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
12312         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12313         public delegate void MenuPositionFunc (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
12314         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12315         [Version (since = "2.2")]
12316         public delegate void ModuleDisplayInitFunc (Gdk.Display display);
12317         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12318         public delegate void ModuleInitFunc ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] string[]? argv);
12319         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12320         public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup);
12321         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12322         public delegate void PrintSettingsFunc (string key, string value);
12323         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
12324         public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
12325         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12326         public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
12327         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12328         public delegate bool RecentFilterFunc (Gtk.RecentFilterInfo filter_info);
12329         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12330         public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
12331         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12332         public delegate bool StylePropertyParser (string str, GLib.Value value) throws GLib.Error;
12333         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
12334         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;
12335         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
12336         public delegate unowned uint8? TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
12337         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12338         public delegate bool TextCharPredicate (unichar ch);
12339         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12340         public delegate void TextTagTableForeach (Gtk.TextTag tag);
12341         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12342         [Version (since = "3.8")]
12343         public delegate bool TickCallback (Gtk.Widget widget, Gdk.FrameClock frame_clock);
12344         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12345         [Version (deprecated = true, deprecated_since = "3.10")]
12346         public delegate string TranslateFunc (string path);
12347         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12348         public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
12349         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12350         public delegate void TreeDestroyCountFunc (Gtk.TreeView tree_view, Gtk.TreePath path, int children);
12351         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12352         public delegate int TreeIterCompareFunc (Gtk.TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b);
12353         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12354         public delegate void TreeModelFilterModifyFunc (Gtk.TreeModel model, Gtk.TreeIter iter, out GLib.Value value, int column);
12355         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12356         public delegate bool TreeModelFilterVisibleFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
12357         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12358         public delegate bool TreeModelForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
12359         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12360         public delegate void TreeSelectionForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
12361         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12362         public delegate bool TreeSelectionFunc (Gtk.TreeSelection selection, Gtk.TreeModel model, Gtk.TreePath path, bool path_currently_selected);
12363         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12364         public delegate bool TreeViewColumnDropFunc (Gtk.TreeView tree_view, Gtk.TreeViewColumn column, Gtk.TreeViewColumn prev_column, Gtk.TreeViewColumn next_column);
12365         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12366         public delegate void TreeViewMappingFunc (Gtk.TreeView tree_view, Gtk.TreePath path);
12367         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12368         public delegate bool TreeViewRowSeparatorFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
12369         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12370         public delegate bool TreeViewSearchEqualFunc (Gtk.TreeModel model, int column, string key, Gtk.TreeIter iter);
12371         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12372         public delegate void TreeViewSearchPositionFunc (Gtk.TreeView tree_view, Gtk.Widget search_dialog);
12373         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_BINARY_AGE")]
12374         public const int BINARY_AGE;
12375         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_INPUT_ERROR")]
12376         public const int INPUT_ERROR;
12377         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_INTERFACE_AGE")]
12378         public const int INTERFACE_AGE;
12379         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_FULL")]
12380         [Version (since = "3.20")]
12381         public const string LEVEL_BAR_OFFSET_FULL;
12382         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_HIGH")]
12383         [Version (since = "3.6")]
12384         public const string LEVEL_BAR_OFFSET_HIGH;
12385         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_LOW")]
12386         [Version (since = "3.6")]
12387         public const string LEVEL_BAR_OFFSET_LOW;
12388         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MAJOR_VERSION")]
12389         public const int MAJOR_VERSION;
12390         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MAX_COMPOSE_LEN")]
12391         public const int MAX_COMPOSE_LEN;
12392         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MICRO_VERSION")]
12393         public const int MICRO_VERSION;
12394         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MINOR_VERSION")]
12395         public const int MINOR_VERSION;
12396         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A3")]
12397         public const string PAPER_NAME_A3;
12398         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A4")]
12399         public const string PAPER_NAME_A4;
12400         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A5")]
12401         public const string PAPER_NAME_A5;
12402         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_B5")]
12403         public const string PAPER_NAME_B5;
12404         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_EXECUTIVE")]
12405         public const string PAPER_NAME_EXECUTIVE;
12406         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_LEGAL")]
12407         public const string PAPER_NAME_LEGAL;
12408         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_LETTER")]
12409         public const string PAPER_NAME_LETTER;
12410         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PATH_PRIO_MASK")]
12411         public const int PATH_PRIO_MASK;
12412         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_COLLATE")]
12413         public const string PRINT_SETTINGS_COLLATE;
12414         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DEFAULT_SOURCE")]
12415         public const string PRINT_SETTINGS_DEFAULT_SOURCE;
12416         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DITHER")]
12417         public const string PRINT_SETTINGS_DITHER;
12418         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DUPLEX")]
12419         public const string PRINT_SETTINGS_DUPLEX;
12420         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_FINISHINGS")]
12421         public const string PRINT_SETTINGS_FINISHINGS;
12422         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_MEDIA_TYPE")]
12423         public const string PRINT_SETTINGS_MEDIA_TYPE;
12424         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_NUMBER_UP")]
12425         public const string PRINT_SETTINGS_NUMBER_UP;
12426         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT")]
12427         public const string PRINT_SETTINGS_NUMBER_UP_LAYOUT;
12428         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_N_COPIES")]
12429         public const string PRINT_SETTINGS_N_COPIES;
12430         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_ORIENTATION")]
12431         public const string PRINT_SETTINGS_ORIENTATION;
12432         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_BASENAME")]
12433         [Version (since = "3.6")]
12434         public const string PRINT_SETTINGS_OUTPUT_BASENAME;
12435         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_BIN")]
12436         public const string PRINT_SETTINGS_OUTPUT_BIN;
12437         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_DIR")]
12438         [Version (since = "3.6")]
12439         public const string PRINT_SETTINGS_OUTPUT_DIR;
12440         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT")]
12441         public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT;
12442         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_URI")]
12443         public const string PRINT_SETTINGS_OUTPUT_URI;
12444         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAGE_RANGES")]
12445         public const string PRINT_SETTINGS_PAGE_RANGES;
12446         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAGE_SET")]
12447         public const string PRINT_SETTINGS_PAGE_SET;
12448         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_FORMAT")]
12449         public const string PRINT_SETTINGS_PAPER_FORMAT;
12450         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_HEIGHT")]
12451         public const string PRINT_SETTINGS_PAPER_HEIGHT;
12452         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_WIDTH")]
12453         public const string PRINT_SETTINGS_PAPER_WIDTH;
12454         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINTER")]
12455         public const string PRINT_SETTINGS_PRINTER;
12456         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINTER_LPI")]
12457         public const string PRINT_SETTINGS_PRINTER_LPI;
12458         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINT_PAGES")]
12459         public const string PRINT_SETTINGS_PRINT_PAGES;
12460         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_QUALITY")]
12461         public const string PRINT_SETTINGS_QUALITY;
12462         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION")]
12463         public const string PRINT_SETTINGS_RESOLUTION;
12464         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION_X")]
12465         public const string PRINT_SETTINGS_RESOLUTION_X;
12466         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION_Y")]
12467         public const string PRINT_SETTINGS_RESOLUTION_Y;
12468         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_REVERSE")]
12469         public const string PRINT_SETTINGS_REVERSE;
12470         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_SCALE")]
12471         public const string PRINT_SETTINGS_SCALE;
12472         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_USE_COLOR")]
12473         public const string PRINT_SETTINGS_USE_COLOR;
12474         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA")]
12475         public const string PRINT_SETTINGS_WIN32_DRIVER_EXTRA;
12476         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION")]
12477         public const string PRINT_SETTINGS_WIN32_DRIVER_VERSION;
12478         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRIORITY_RESIZE")]
12479         public const int PRIORITY_RESIZE;
12480         [CCode (cheader_filename = "gtk/gtk.h")]
12481         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ABOUT")]
12482         public const string STOCK_ABOUT;
12483         [CCode (cheader_filename = "gtk/gtk.h")]
12484         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ADD")]
12485         public const string STOCK_ADD;
12486         [CCode (cheader_filename = "gtk/gtk.h")]
12487         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.APPLY")]
12488         public const string STOCK_APPLY;
12489         [CCode (cheader_filename = "gtk/gtk.h")]
12490         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.BOLD")]
12491         public const string STOCK_BOLD;
12492         [CCode (cheader_filename = "gtk/gtk.h")]
12493         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CANCEL")]
12494         public const string STOCK_CANCEL;
12495         [CCode (cheader_filename = "gtk/gtk.h")]
12496         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CAPS_LOCK_WARNING")]
12497         public const string STOCK_CAPS_LOCK_WARNING;
12498         [CCode (cheader_filename = "gtk/gtk.h")]
12499         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CDROM")]
12500         public const string STOCK_CDROM;
12501         [CCode (cheader_filename = "gtk/gtk.h")]
12502         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLEAR")]
12503         public const string STOCK_CLEAR;
12504         [CCode (cheader_filename = "gtk/gtk.h")]
12505         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CLOSE")]
12506         public const string STOCK_CLOSE;
12507         [CCode (cheader_filename = "gtk/gtk.h")]
12508         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COLOR_PICKER")]
12509         public const string STOCK_COLOR_PICKER;
12510         [CCode (cheader_filename = "gtk/gtk.h")]
12511         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONNECT")]
12512         public const string STOCK_CONNECT;
12513         [CCode (cheader_filename = "gtk/gtk.h")]
12514         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CONVERT")]
12515         public const string STOCK_CONVERT;
12516         [CCode (cheader_filename = "gtk/gtk.h")]
12517         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.COPY")]
12518         public const string STOCK_COPY;
12519         [CCode (cheader_filename = "gtk/gtk.h")]
12520         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.CUT")]
12521         public const string STOCK_CUT;
12522         [CCode (cheader_filename = "gtk/gtk.h")]
12523         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DELETE")]
12524         public const string STOCK_DELETE;
12525         [CCode (cheader_filename = "gtk/gtk.h")]
12526         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_AUTHENTICATION")]
12527         public const string STOCK_DIALOG_AUTHENTICATION;
12528         [CCode (cheader_filename = "gtk/gtk.h")]
12529         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_ERROR")]
12530         public const string STOCK_DIALOG_ERROR;
12531         [CCode (cheader_filename = "gtk/gtk.h")]
12532         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_INFO")]
12533         public const string STOCK_DIALOG_INFO;
12534         [CCode (cheader_filename = "gtk/gtk.h")]
12535         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_QUESTION")]
12536         public const string STOCK_DIALOG_QUESTION;
12537         [CCode (cheader_filename = "gtk/gtk.h")]
12538         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIALOG_WARNING")]
12539         public const string STOCK_DIALOG_WARNING;
12540         [CCode (cheader_filename = "gtk/gtk.h")]
12541         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DIRECTORY")]
12542         public const string STOCK_DIRECTORY;
12543         [CCode (cheader_filename = "gtk/gtk.h")]
12544         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCARD")]
12545         public const string STOCK_DISCARD;
12546         [CCode (cheader_filename = "gtk/gtk.h")]
12547         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DISCONNECT")]
12548         public const string STOCK_DISCONNECT;
12549         [CCode (cheader_filename = "gtk/gtk.h")]
12550         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND")]
12551         public const string STOCK_DND;
12552         [CCode (cheader_filename = "gtk/gtk.h")]
12553         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.DND_MULTIPLE")]
12554         public const string STOCK_DND_MULTIPLE;
12555         [CCode (cheader_filename = "gtk/gtk.h")]
12556         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EDIT")]
12557         public const string STOCK_EDIT;
12558         [CCode (cheader_filename = "gtk/gtk.h")]
12559         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.EXECUTE")]
12560         public const string STOCK_EXECUTE;
12561         [CCode (cheader_filename = "gtk/gtk.h")]
12562         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FILE")]
12563         public const string STOCK_FILE;
12564         [CCode (cheader_filename = "gtk/gtk.h")]
12565         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND")]
12566         public const string STOCK_FIND;
12567         [CCode (cheader_filename = "gtk/gtk.h")]
12568         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FIND_AND_REPLACE")]
12569         public const string STOCK_FIND_AND_REPLACE;
12570         [CCode (cheader_filename = "gtk/gtk.h")]
12571         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FLOPPY")]
12572         public const string STOCK_FLOPPY;
12573         [CCode (cheader_filename = "gtk/gtk.h")]
12574         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
12575         public const string STOCK_FULLSCREEN;
12576         [CCode (cheader_filename = "gtk/gtk.h")]
12577         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_BOTTOM")]
12578         public const string STOCK_GOTO_BOTTOM;
12579         [CCode (cheader_filename = "gtk/gtk.h")]
12580         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_FIRST")]
12581         public const string STOCK_GOTO_FIRST;
12582         [CCode (cheader_filename = "gtk/gtk.h")]
12583         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_LAST")]
12584         public const string STOCK_GOTO_LAST;
12585         [CCode (cheader_filename = "gtk/gtk.h")]
12586         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GOTO_TOP")]
12587         public const string STOCK_GOTO_TOP;
12588         [CCode (cheader_filename = "gtk/gtk.h")]
12589         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_BACK")]
12590         public const string STOCK_GO_BACK;
12591         [CCode (cheader_filename = "gtk/gtk.h")]
12592         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_DOWN")]
12593         public const string STOCK_GO_DOWN;
12594         [CCode (cheader_filename = "gtk/gtk.h")]
12595         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_FORWARD")]
12596         public const string STOCK_GO_FORWARD;
12597         [CCode (cheader_filename = "gtk/gtk.h")]
12598         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.GO_UP")]
12599         public const string STOCK_GO_UP;
12600         [CCode (cheader_filename = "gtk/gtk.h")]
12601         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HARDDISK")]
12602         public const string STOCK_HARDDISK;
12603         [CCode (cheader_filename = "gtk/gtk.h")]
12604         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HELP")]
12605         public const string STOCK_HELP;
12606         [CCode (cheader_filename = "gtk/gtk.h")]
12607         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.HOME")]
12608         public const string STOCK_HOME;
12609         [CCode (cheader_filename = "gtk/gtk.h")]
12610         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDENT")]
12611         public const string STOCK_INDENT;
12612         [CCode (cheader_filename = "gtk/gtk.h")]
12613         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INDEX")]
12614         public const string STOCK_INDEX;
12615         [CCode (cheader_filename = "gtk/gtk.h")]
12616         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.INFO")]
12617         public const string STOCK_INFO;
12618         [CCode (cheader_filename = "gtk/gtk.h")]
12619         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ITALIC")]
12620         public const string STOCK_ITALIC;
12621         [CCode (cheader_filename = "gtk/gtk.h")]
12622         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUMP_TO")]
12623         public const string STOCK_JUMP_TO;
12624         [CCode (cheader_filename = "gtk/gtk.h")]
12625         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_CENTER")]
12626         public const string STOCK_JUSTIFY_CENTER;
12627         [CCode (cheader_filename = "gtk/gtk.h")]
12628         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_FILL")]
12629         public const string STOCK_JUSTIFY_FILL;
12630         [CCode (cheader_filename = "gtk/gtk.h")]
12631         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_LEFT")]
12632         public const string STOCK_JUSTIFY_LEFT;
12633         [CCode (cheader_filename = "gtk/gtk.h")]
12634         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.JUSTIFY_RIGHT")]
12635         public const string STOCK_JUSTIFY_RIGHT;
12636         [CCode (cheader_filename = "gtk/gtk.h")]
12637         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.FULLSCREEN")]
12638         public const string STOCK_LEAVE_FULLSCREEN;
12639         [CCode (cheader_filename = "gtk/gtk.h")]
12640         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_FORWARD")]
12641         public const string STOCK_MEDIA_FORWARD;
12642         [CCode (cheader_filename = "gtk/gtk.h")]
12643         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_NEXT")]
12644         public const string STOCK_MEDIA_NEXT;
12645         [CCode (cheader_filename = "gtk/gtk.h")]
12646         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PAUSE")]
12647         public const string STOCK_MEDIA_PAUSE;
12648         [CCode (cheader_filename = "gtk/gtk.h")]
12649         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PLAY")]
12650         public const string STOCK_MEDIA_PLAY;
12651         [CCode (cheader_filename = "gtk/gtk.h")]
12652         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_PREVIOUS")]
12653         public const string STOCK_MEDIA_PREVIOUS;
12654         [CCode (cheader_filename = "gtk/gtk.h")]
12655         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_RECORD")]
12656         public const string STOCK_MEDIA_RECORD;
12657         [CCode (cheader_filename = "gtk/gtk.h")]
12658         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_REWIND")]
12659         public const string STOCK_MEDIA_REWIND;
12660         [CCode (cheader_filename = "gtk/gtk.h")]
12661         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MEDIA_STOP")]
12662         public const string STOCK_MEDIA_STOP;
12663         [CCode (cheader_filename = "gtk/gtk.h")]
12664         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.MISSING_IMAGE")]
12665         public const string STOCK_MISSING_IMAGE;
12666         [CCode (cheader_filename = "gtk/gtk.h")]
12667         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NETWORK")]
12668         public const string STOCK_NETWORK;
12669         [CCode (cheader_filename = "gtk/gtk.h")]
12670         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NEW")]
12671         public const string STOCK_NEW;
12672         [CCode (cheader_filename = "gtk/gtk.h")]
12673         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.NO")]
12674         public const string STOCK_NO;
12675         [CCode (cheader_filename = "gtk/gtk.h")]
12676         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OK")]
12677         public const string STOCK_OK;
12678         [CCode (cheader_filename = "gtk/gtk.h")]
12679         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.OPEN")]
12680         public const string STOCK_OPEN;
12681         [CCode (cheader_filename = "gtk/gtk.h")]
12682         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_LANDSCAPE")]
12683         public const string STOCK_ORIENTATION_LANDSCAPE;
12684         [CCode (cheader_filename = "gtk/gtk.h")]
12685         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_PORTRAIT")]
12686         public const string STOCK_ORIENTATION_PORTRAIT;
12687         [CCode (cheader_filename = "gtk/gtk.h")]
12688         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
12689         public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE;
12690         [CCode (cheader_filename = "gtk/gtk.h")]
12691         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
12692         public const string STOCK_ORIENTATION_REVERSE_PORTRAIT;
12693         [CCode (cheader_filename = "gtk/gtk.h")]
12694         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PAGE_SETUP")]
12695         public const string STOCK_PAGE_SETUP;
12696         [CCode (cheader_filename = "gtk/gtk.h")]
12697         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PASTE")]
12698         public const string STOCK_PASTE;
12699         [CCode (cheader_filename = "gtk/gtk.h")]
12700         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PREFERENCES")]
12701         public const string STOCK_PREFERENCES;
12702         [CCode (cheader_filename = "gtk/gtk.h")]
12703         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT")]
12704         public const string STOCK_PRINT;
12705         [CCode (cheader_filename = "gtk/gtk.h")]
12706         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_ERROR")]
12707         public const string STOCK_PRINT_ERROR;
12708         [CCode (cheader_filename = "gtk/gtk.h")]
12709         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PAUSED")]
12710         public const string STOCK_PRINT_PAUSED;
12711         [CCode (cheader_filename = "gtk/gtk.h")]
12712         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_PREVIEW")]
12713         public const string STOCK_PRINT_PREVIEW;
12714         [CCode (cheader_filename = "gtk/gtk.h")]
12715         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_REPORT")]
12716         public const string STOCK_PRINT_REPORT;
12717         [CCode (cheader_filename = "gtk/gtk.h")]
12718         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PRINT_WARNING")]
12719         public const string STOCK_PRINT_WARNING;
12720         [CCode (cheader_filename = "gtk/gtk.h")]
12721         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.PROPERTIES")]
12722         public const string STOCK_PROPERTIES;
12723         [CCode (cheader_filename = "gtk/gtk.h")]
12724         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.QUIT")]
12725         public const string STOCK_QUIT;
12726         [CCode (cheader_filename = "gtk/gtk.h")]
12727         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REDO")]
12728         public const string STOCK_REDO;
12729         [CCode (cheader_filename = "gtk/gtk.h")]
12730         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REFRESH")]
12731         public const string STOCK_REFRESH;
12732         [CCode (cheader_filename = "gtk/gtk.h")]
12733         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REMOVE")]
12734         public const string STOCK_REMOVE;
12735         [CCode (cheader_filename = "gtk/gtk.h")]
12736         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.REVERT_TO_SAVED")]
12737         public const string STOCK_REVERT_TO_SAVED;
12738         [CCode (cheader_filename = "gtk/gtk.h")]
12739         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE")]
12740         public const string STOCK_SAVE;
12741         [CCode (cheader_filename = "gtk/gtk.h")]
12742         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SAVE_AS")]
12743         public const string STOCK_SAVE_AS;
12744         [CCode (cheader_filename = "gtk/gtk.h")]
12745         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_ALL")]
12746         public const string STOCK_SELECT_ALL;
12747         [CCode (cheader_filename = "gtk/gtk.h")]
12748         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_COLOR")]
12749         public const string STOCK_SELECT_COLOR;
12750         [CCode (cheader_filename = "gtk/gtk.h")]
12751         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SELECT_FONT")]
12752         public const string STOCK_SELECT_FONT;
12753         [CCode (cheader_filename = "gtk/gtk.h")]
12754         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_ASCENDING")]
12755         public const string STOCK_SORT_ASCENDING;
12756         [CCode (cheader_filename = "gtk/gtk.h")]
12757         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SORT_DESCENDING")]
12758         public const string STOCK_SORT_DESCENDING;
12759         [CCode (cheader_filename = "gtk/gtk.h")]
12760         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.SPELL_CHECK")]
12761         public const string STOCK_SPELL_CHECK;
12762         [CCode (cheader_filename = "gtk/gtk.h")]
12763         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STOP")]
12764         public const string STOCK_STOP;
12765         [CCode (cheader_filename = "gtk/gtk.h")]
12766         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.STRIKETHROUGH")]
12767         public const string STOCK_STRIKETHROUGH;
12768         [CCode (cheader_filename = "gtk/gtk.h")]
12769         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDELETE")]
12770         public const string STOCK_UNDELETE;
12771         [CCode (cheader_filename = "gtk/gtk.h")]
12772         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDERLINE")]
12773         public const string STOCK_UNDERLINE;
12774         [CCode (cheader_filename = "gtk/gtk.h")]
12775         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNDO")]
12776         public const string STOCK_UNDO;
12777         [CCode (cheader_filename = "gtk/gtk.h")]
12778         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.UNINDENT")]
12779         public const string STOCK_UNINDENT;
12780         [CCode (cheader_filename = "gtk/gtk.h")]
12781         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.YES")]
12782         public const string STOCK_YES;
12783         [CCode (cheader_filename = "gtk/gtk.h")]
12784         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_100")]
12785         public const string STOCK_ZOOM_100;
12786         [CCode (cheader_filename = "gtk/gtk.h")]
12787         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_FIT")]
12788         public const string STOCK_ZOOM_FIT;
12789         [CCode (cheader_filename = "gtk/gtk.h")]
12790         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_IN")]
12791         public const string STOCK_ZOOM_IN;
12792         [CCode (cheader_filename = "gtk/gtk.h")]
12793         [Version (deprecated_since = "vala-0.12", replacement = "Gtk.Stock.ZOOM_OUT")]
12794         public const string STOCK_ZOOM_OUT;
12795         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ACCELERATOR")]
12796         public const string STYLE_CLASS_ACCELERATOR;
12797         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ARROW")]
12798         public const string STYLE_CLASS_ARROW;
12799         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BACKGROUND")]
12800         public const string STYLE_CLASS_BACKGROUND;
12801         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BOTTOM")]
12802         public const string STYLE_CLASS_BOTTOM;
12803         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BUTTON")]
12804         public const string STYLE_CLASS_BUTTON;
12805         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CALENDAR")]
12806         public const string STYLE_CLASS_CALENDAR;
12807         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CELL")]
12808         public const string STYLE_CLASS_CELL;
12809         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CHECK")]
12810         public const string STYLE_CLASS_CHECK;
12811         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_COMBOBOX_ENTRY")]
12812         public const string STYLE_CLASS_COMBOBOX_ENTRY;
12813         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CONTEXT_MENU")]
12814         public const string STYLE_CLASS_CONTEXT_MENU;
12815         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CSD")]
12816         [Version (since = "3.14")]
12817         public const string STYLE_CLASS_CSD;
12818         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CURSOR_HANDLE")]
12819         public const string STYLE_CLASS_CURSOR_HANDLE;
12820         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DEFAULT")]
12821         public const string STYLE_CLASS_DEFAULT;
12822         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DESTRUCTIVE_ACTION")]
12823         [Version (since = "3.12")]
12824         public const string STYLE_CLASS_DESTRUCTIVE_ACTION;
12825         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DIM_LABEL")]
12826         public const string STYLE_CLASS_DIM_LABEL;
12827         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DND")]
12828         public const string STYLE_CLASS_DND;
12829         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DOCK")]
12830         public const string STYLE_CLASS_DOCK;
12831         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ENTRY")]
12832         public const string STYLE_CLASS_ENTRY;
12833         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ERROR")]
12834         public const string STYLE_CLASS_ERROR;
12835         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_EXPANDER")]
12836         public const string STYLE_CLASS_EXPANDER;
12837         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FLAT")]
12838         [Version (since = "3.14")]
12839         public const string STYLE_CLASS_FLAT;
12840         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FRAME")]
12841         public const string STYLE_CLASS_FRAME;
12842         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_GRIP")]
12843         public const string STYLE_CLASS_GRIP;
12844         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HEADER")]
12845         public const string STYLE_CLASS_HEADER;
12846         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HIGHLIGHT")]
12847         public const string STYLE_CLASS_HIGHLIGHT;
12848         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HORIZONTAL")]
12849         public const string STYLE_CLASS_HORIZONTAL;
12850         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_IMAGE")]
12851         public const string STYLE_CLASS_IMAGE;
12852         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INFO")]
12853         public const string STYLE_CLASS_INFO;
12854         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INLINE_TOOLBAR")]
12855         public const string STYLE_CLASS_INLINE_TOOLBAR;
12856         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INSERTION_CURSOR")]
12857         public const string STYLE_CLASS_INSERTION_CURSOR;
12858         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LABEL")]
12859         [Version (since = "3.16")]
12860         public const string STYLE_CLASS_LABEL;
12861         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LEFT")]
12862         public const string STYLE_CLASS_LEFT;
12863         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LEVEL_BAR")]
12864         public const string STYLE_CLASS_LEVEL_BAR;
12865         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LINKED")]
12866         public const string STYLE_CLASS_LINKED;
12867         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LIST")]
12868         public const string STYLE_CLASS_LIST;
12869         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LIST_ROW")]
12870         public const string STYLE_CLASS_LIST_ROW;
12871         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MARK")]
12872         public const string STYLE_CLASS_MARK;
12873         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENU")]
12874         public const string STYLE_CLASS_MENU;
12875         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENUBAR")]
12876         public const string STYLE_CLASS_MENUBAR;
12877         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENUITEM")]
12878         public const string STYLE_CLASS_MENUITEM;
12879         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MESSAGE_DIALOG")]
12880         [Version (since = "3.14")]
12881         public const string STYLE_CLASS_MESSAGE_DIALOG;
12882         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MONOSPACE")]
12883         [Version (since = "3.16")]
12884         public const string STYLE_CLASS_MONOSPACE;
12885         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_NEEDS_ATTENTION")]
12886         [Version (since = "3.12")]
12887         public const string STYLE_CLASS_NEEDS_ATTENTION;
12888         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_NOTEBOOK")]
12889         public const string STYLE_CLASS_NOTEBOOK;
12890         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_OSD")]
12891         public const string STYLE_CLASS_OSD;
12892         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_OVERSHOOT")]
12893         [Version (since = "3.14")]
12894         public const string STYLE_CLASS_OVERSHOOT;
12895         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PANE_SEPARATOR")]
12896         public const string STYLE_CLASS_PANE_SEPARATOR;
12897         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PAPER")]
12898         [Version (since = "3.16")]
12899         public const string STYLE_CLASS_PAPER;
12900         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_POPOVER")]
12901         [Version (since = "3.14")]
12902         public const string STYLE_CLASS_POPOVER;
12903         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_POPUP")]
12904         [Version (since = "3.14")]
12905         public const string STYLE_CLASS_POPUP;
12906         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PRIMARY_TOOLBAR")]
12907         public const string STYLE_CLASS_PRIMARY_TOOLBAR;
12908         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PROGRESSBAR")]
12909         public const string STYLE_CLASS_PROGRESSBAR;
12910         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PULSE")]
12911         public const string STYLE_CLASS_PULSE;
12912         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_QUESTION")]
12913         public const string STYLE_CLASS_QUESTION;
12914         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RADIO")]
12915         public const string STYLE_CLASS_RADIO;
12916         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RAISED")]
12917         public const string STYLE_CLASS_RAISED;
12918         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_READ_ONLY")]
12919         public const string STYLE_CLASS_READ_ONLY;
12920         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RIGHT")]
12921         public const string STYLE_CLASS_RIGHT;
12922         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RUBBERBAND")]
12923         public const string STYLE_CLASS_RUBBERBAND;
12924         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE")]
12925         public const string STYLE_CLASS_SCALE;
12926         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE")]
12927         public const string STYLE_CLASS_SCALE_HAS_MARKS_ABOVE;
12928         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW")]
12929         public const string STYLE_CLASS_SCALE_HAS_MARKS_BELOW;
12930         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCROLLBAR")]
12931         public const string STYLE_CLASS_SCROLLBAR;
12932         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCROLLBARS_JUNCTION")]
12933         public const string STYLE_CLASS_SCROLLBARS_JUNCTION;
12934         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SEPARATOR")]
12935         public const string STYLE_CLASS_SEPARATOR;
12936         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SIDEBAR")]
12937         public const string STYLE_CLASS_SIDEBAR;
12938         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SLIDER")]
12939         public const string STYLE_CLASS_SLIDER;
12940         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SPINBUTTON")]
12941         public const string STYLE_CLASS_SPINBUTTON;
12942         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SPINNER")]
12943         public const string STYLE_CLASS_SPINNER;
12944         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_STATUSBAR")]
12945         [Version (since = "3.16")]
12946         public const string STYLE_CLASS_STATUSBAR;
12947         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SUBTITLE")]
12948         [Version (since = "3.14")]
12949         public const string STYLE_CLASS_SUBTITLE;
12950         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SUGGESTED_ACTION")]
12951         [Version (since = "3.12")]
12952         public const string STYLE_CLASS_SUGGESTED_ACTION;
12953         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TITLE")]
12954         [Version (since = "3.14")]
12955         public const string STYLE_CLASS_TITLE;
12956         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TITLEBAR")]
12957         public const string STYLE_CLASS_TITLEBAR;
12958         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOOLBAR")]
12959         public const string STYLE_CLASS_TOOLBAR;
12960         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOOLTIP")]
12961         public const string STYLE_CLASS_TOOLTIP;
12962         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOP")]
12963         public const string STYLE_CLASS_TOP;
12964         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOUCH_SELECTION")]
12965         [Version (since = "3.16")]
12966         public const string STYLE_CLASS_TOUCH_SELECTION;
12967         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TROUGH")]
12968         public const string STYLE_CLASS_TROUGH;
12969         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_UNDERSHOOT")]
12970         [Version (since = "3.16")]
12971         public const string STYLE_CLASS_UNDERSHOOT;
12972         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_VERTICAL")]
12973         public const string STYLE_CLASS_VERTICAL;
12974         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_VIEW")]
12975         public const string STYLE_CLASS_VIEW;
12976         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_WARNING")]
12977         public const string STYLE_CLASS_WARNING;
12978         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_WIDE")]
12979         [Version (since = "3.16")]
12980         public const string STYLE_CLASS_WIDE;
12981         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BACKGROUND_COLOR")]
12982         public const string STYLE_PROPERTY_BACKGROUND_COLOR;
12983         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BACKGROUND_IMAGE")]
12984         public const string STYLE_PROPERTY_BACKGROUND_IMAGE;
12985         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_COLOR")]
12986         public const string STYLE_PROPERTY_BORDER_COLOR;
12987         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_RADIUS")]
12988         public const string STYLE_PROPERTY_BORDER_RADIUS;
12989         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_STYLE")]
12990         public const string STYLE_PROPERTY_BORDER_STYLE;
12991         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_WIDTH")]
12992         public const string STYLE_PROPERTY_BORDER_WIDTH;
12993         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_COLOR")]
12994         public const string STYLE_PROPERTY_COLOR;
12995         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_FONT")]
12996         public const string STYLE_PROPERTY_FONT;
12997         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_MARGIN")]
12998         public const string STYLE_PROPERTY_MARGIN;
12999         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_PADDING")]
13000         public const string STYLE_PROPERTY_PADDING;
13001         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_APPLICATION")]
13002         public const int STYLE_PROVIDER_PRIORITY_APPLICATION;
13003         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_FALLBACK")]
13004         public const int STYLE_PROVIDER_PRIORITY_FALLBACK;
13005         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_SETTINGS")]
13006         public const int STYLE_PROVIDER_PRIORITY_SETTINGS;
13007         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_THEME")]
13008         public const int STYLE_PROVIDER_PRIORITY_THEME;
13009         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_USER")]
13010         public const int STYLE_PROVIDER_PRIORITY_USER;
13011         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_COLUMN")]
13012         [Version (deprecated = true, deprecated_since = "3.20")]
13013         public const string STYLE_REGION_COLUMN;
13014         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_COLUMN_HEADER")]
13015         [Version (deprecated = true, deprecated_since = "3.20")]
13016         public const string STYLE_REGION_COLUMN_HEADER;
13017         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_ROW")]
13018         [Version (deprecated = true, deprecated_since = "3.20")]
13019         public const string STYLE_REGION_ROW;
13020         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_TAB")]
13021         [Version (deprecated = true, deprecated_since = "3.20")]
13022         public const string STYLE_REGION_TAB;
13023         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TEXT_VIEW_PRIORITY_VALIDATE")]
13024         public const int TEXT_VIEW_PRIORITY_VALIDATE;
13025         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
13026         public const int TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID;
13027         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
13028         public const int TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID;
13029         [CCode (cheader_filename = "gtk/gtk.h")]
13030         public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods);
13031         [CCode (cheader_filename = "gtk/gtk.h")]
13032         public static unowned GLib.SList<Gtk.AccelGroup> accel_groups_from_object (GLib.Object object);
13033         [CCode (cheader_filename = "gtk/gtk.h")]
13034         public static Gdk.ModifierType accelerator_get_default_mod_mask ();
13035         [CCode (cheader_filename = "gtk/gtk.h")]
13036         [Version (since = "2.6")]
13037         public static string accelerator_get_label (uint accelerator_key, Gdk.ModifierType accelerator_mods);
13038         [CCode (cheader_filename = "gtk/gtk.h")]
13039         [Version (since = "3.4")]
13040         public static string accelerator_get_label_with_keycode (Gdk.Display? display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
13041         [CCode (cheader_filename = "gtk/gtk.h")]
13042         public static string accelerator_name (uint accelerator_key, Gdk.ModifierType accelerator_mods);
13043         [CCode (cheader_filename = "gtk/gtk.h")]
13044         [Version (since = "3.4")]
13045         public static string accelerator_name_with_keycode (Gdk.Display? display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
13046         [CCode (cheader_filename = "gtk/gtk.h")]
13047         public static void accelerator_parse (string accelerator, out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
13048         [CCode (cheader_filename = "gtk/gtk.h")]
13049         [Version (since = "3.4")]
13050         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);
13051         [CCode (cheader_filename = "gtk/gtk.h")]
13052         public static void accelerator_set_default_mod_mask (Gdk.ModifierType default_mod_mask);
13053         [CCode (cheader_filename = "gtk/gtk.h")]
13054         public static bool accelerator_valid (uint keyval, Gdk.ModifierType modifiers);
13055         [CCode (cheader_filename = "gtk/gtk.h")]
13056         [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
13057         public static bool alternative_dialog_button_order (Gdk.Screen? screen);
13058         [CCode (cheader_filename = "gtk/gtk.h")]
13059         public static bool bindings_activate (GLib.Object object, uint keyval, Gdk.ModifierType modifiers);
13060         [CCode (cheader_filename = "gtk/gtk.h")]
13061         [Version (since = "2.4")]
13062         public static bool bindings_activate_event (GLib.Object object, Gdk.EventKey event);
13063         [CCode (cheader_filename = "gtk/gtk.h")]
13064         [Version (since = "3.0")]
13065         public static bool cairo_should_draw_window (Cairo.Context cr, Gdk.Window window);
13066         [CCode (cheader_filename = "gtk/gtk.h")]
13067         [Version (since = "3.0")]
13068         public static void cairo_transform_to_window (Cairo.Context cr, Gtk.Widget widget, Gdk.Window window);
13069         [CCode (cheader_filename = "gtk/gtk.h")]
13070         public static unowned string? check_version (uint required_major, uint required_minor, uint required_micro);
13071         [CCode (cheader_filename = "gtk/gtk.h")]
13072         [Version (since = "3.0")]
13073         public static void device_grab_add (Gtk.Widget widget, Gdk.Device device, bool block_others);
13074         [CCode (cheader_filename = "gtk/gtk.h")]
13075         [Version (since = "3.0")]
13076         public static void device_grab_remove (Gtk.Widget widget, Gdk.Device device);
13077         [CCode (cheader_filename = "gtk/gtk.h")]
13078         public static void disable_setlocale ();
13079         [CCode (cheader_filename = "gtk/gtk.h")]
13080         public static int distribute_natural_allocation (int extra_space, uint n_requested_sizes, Gtk.RequestedSize sizes);
13081         [CCode (cheader_filename = "gtk/gtk.h")]
13082         [Version (deprecated = true, deprecated_since = "3.10")]
13083         public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event? event);
13084         [CCode (cheader_filename = "gtk/gtk.h")]
13085         [Version (since = "3.10")]
13086         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);
13087         [CCode (cheader_filename = "gtk/gtk.h")]
13088         [Version (since = "3.16")]
13089         public static void drag_cancel (Gdk.DragContext context);
13090         [CCode (cheader_filename = "gtk/gtk.h")]
13091         public static bool drag_check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x, int current_y);
13092         [CCode (cheader_filename = "gtk/gtk.h")]
13093         [Version (since = "2.6")]
13094         public static void drag_dest_add_image_targets (Gtk.Widget widget);
13095         [CCode (cheader_filename = "gtk/gtk.h")]
13096         [Version (since = "2.6")]
13097         public static void drag_dest_add_text_targets (Gtk.Widget widget);
13098         [CCode (cheader_filename = "gtk/gtk.h")]
13099         [Version (since = "2.6")]
13100         public static void drag_dest_add_uri_targets (Gtk.Widget widget);
13101         [CCode (cheader_filename = "gtk/gtk.h")]
13102         public static Gdk.Atom drag_dest_find_target (Gtk.Widget widget, Gdk.DragContext context, Gtk.TargetList? target_list);
13103         [CCode (cheader_filename = "gtk/gtk.h")]
13104         public static unowned Gtk.TargetList? drag_dest_get_target_list (Gtk.Widget widget);
13105         [CCode (cheader_filename = "gtk/gtk.h")]
13106         [Version (since = "2.10")]
13107         public static bool drag_dest_get_track_motion (Gtk.Widget widget);
13108         [CCode (cheader_filename = "gtk/gtk.h")]
13109         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);
13110         [CCode (cheader_filename = "gtk/gtk.h")]
13111         [Version (deprecated = true, deprecated_since = "3.22")]
13112         public static void drag_dest_set_proxy (Gtk.Widget widget, Gdk.Window proxy_window, Gdk.DragProtocol protocol, bool use_coordinates);
13113         [CCode (cheader_filename = "gtk/gtk.h")]
13114         public static void drag_dest_set_target_list (Gtk.Widget widget, Gtk.TargetList? target_list);
13115         [CCode (cheader_filename = "gtk/gtk.h")]
13116         [Version (since = "2.10")]
13117         public static void drag_dest_set_track_motion (Gtk.Widget widget, bool track_motion);
13118         [CCode (cheader_filename = "gtk/gtk.h")]
13119         public static void drag_dest_unset (Gtk.Widget widget);
13120         [CCode (cheader_filename = "gtk/gtk.h")]
13121         public static void drag_finish (Gdk.DragContext context, bool success, bool del, uint32 time_);
13122         [CCode (cheader_filename = "gtk/gtk.h")]
13123         public static void drag_get_data (Gtk.Widget widget, Gdk.DragContext context, Gdk.Atom target, uint32 time_);
13124         [CCode (cheader_filename = "gtk/gtk.h")]
13125         public static unowned Gtk.Widget? drag_get_source_widget (Gdk.DragContext context);
13126         [CCode (cheader_filename = "gtk/gtk.h")]
13127         public static void drag_highlight (Gtk.Widget widget);
13128         [CCode (cheader_filename = "gtk/gtk.h")]
13129         public static void drag_set_icon_default (Gdk.DragContext context);
13130         [CCode (cheader_filename = "gtk/gtk.h")]
13131         [Version (since = "3.2")]
13132         public static void drag_set_icon_gicon (Gdk.DragContext context, GLib.Icon icon, int hot_x, int hot_y);
13133         [CCode (cheader_filename = "gtk/gtk.h")]
13134         [Version (since = "2.8")]
13135         public static void drag_set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y);
13136         [CCode (cheader_filename = "gtk/gtk.h")]
13137         public static void drag_set_icon_pixbuf (Gdk.DragContext context, Gdk.Pixbuf pixbuf, int hot_x, int hot_y);
13138         [CCode (cheader_filename = "gtk/gtk.h")]
13139         [Version (deprecated = true, deprecated_since = "3.10")]
13140         public static void drag_set_icon_stock (Gdk.DragContext context, string stock_id, int hot_x, int hot_y);
13141         [CCode (cheader_filename = "gtk/gtk.h")]
13142         public static void drag_set_icon_surface (Gdk.DragContext context, Cairo.Surface surface);
13143         [CCode (cheader_filename = "gtk/gtk.h")]
13144         public static void drag_set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int hot_y);
13145         [CCode (cheader_filename = "gtk/gtk.h")]
13146         [Version (since = "2.6")]
13147         public static void drag_source_add_image_targets (Gtk.Widget widget);
13148         [CCode (cheader_filename = "gtk/gtk.h")]
13149         [Version (since = "2.6")]
13150         public static void drag_source_add_text_targets (Gtk.Widget widget);
13151         [CCode (cheader_filename = "gtk/gtk.h")]
13152         [Version (since = "2.6")]
13153         public static void drag_source_add_uri_targets (Gtk.Widget widget);
13154         [CCode (cheader_filename = "gtk/gtk.h")]
13155         [Version (since = "2.4")]
13156         public static unowned Gtk.TargetList? drag_source_get_target_list (Gtk.Widget widget);
13157         [CCode (cheader_filename = "gtk/gtk.h")]
13158         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);
13159         [CCode (cheader_filename = "gtk/gtk.h")]
13160         [Version (since = "3.2")]
13161         public static void drag_source_set_icon_gicon (Gtk.Widget widget, GLib.Icon icon);
13162         [CCode (cheader_filename = "gtk/gtk.h")]
13163         [Version (since = "2.8")]
13164         public static void drag_source_set_icon_name (Gtk.Widget widget, string icon_name);
13165         [CCode (cheader_filename = "gtk/gtk.h")]
13166         public static void drag_source_set_icon_pixbuf (Gtk.Widget widget, Gdk.Pixbuf pixbuf);
13167         [CCode (cheader_filename = "gtk/gtk.h")]
13168         [Version (deprecated = true, deprecated_since = "3.10")]
13169         public static void drag_source_set_icon_stock (Gtk.Widget widget, string stock_id);
13170         [CCode (cheader_filename = "gtk/gtk.h")]
13171         [Version (since = "2.4")]
13172         public static void drag_source_set_target_list (Gtk.Widget widget, Gtk.TargetList? target_list);
13173         [CCode (cheader_filename = "gtk/gtk.h")]
13174         public static void drag_source_unset (Gtk.Widget widget);
13175         [CCode (cheader_filename = "gtk/gtk.h")]
13176         public static void drag_unhighlight (Gtk.Widget widget);
13177         [CCode (cheader_filename = "gtk/gtk.h")]
13178         [Version (deprecated = true, deprecated_since = "3.4", replacement = "render_insertion_cursor", since = "3.0")]
13179         public static void draw_insertion_cursor (Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow);
13180         [CCode (cheader_filename = "gtk/gtk.h")]
13181         public static bool events_pending ();
13182         [CCode (cheader_filename = "gtk/gtk.h")]
13183         [Version (since = "3.0")]
13184         public static uint get_binary_age ();
13185         [CCode (cheader_filename = "gtk/gtk.h")]
13186         public static Gdk.Event? get_current_event ();
13187         [CCode (cheader_filename = "gtk/gtk.h")]
13188         public static unowned Gdk.Device? get_current_event_device ();
13189         [CCode (cheader_filename = "gtk/gtk.h")]
13190         public static bool get_current_event_state (out Gdk.ModifierType state);
13191         [CCode (cheader_filename = "gtk/gtk.h")]
13192         public static uint32 get_current_event_time ();
13193         [CCode (cheader_filename = "gtk/gtk.h")]
13194         public static uint get_debug_flags ();
13195         [CCode (cheader_filename = "gtk/gtk.h")]
13196         public static unowned Pango.Language get_default_language ();
13197         [CCode (cheader_filename = "gtk/gtk.h")]
13198         public static unowned Gtk.Widget? get_event_widget (Gdk.Event event);
13199         [CCode (cheader_filename = "gtk/gtk.h")]
13200         [Version (since = "3.0")]
13201         public static uint get_interface_age ();
13202         [CCode (cheader_filename = "gtk/gtk.h")]
13203         [Version (since = "3.12")]
13204         public static Gtk.TextDirection get_locale_direction ();
13205         [CCode (cheader_filename = "gtk/gtk.h")]
13206         [Version (since = "3.0")]
13207         public static uint get_major_version ();
13208         [CCode (cheader_filename = "gtk/gtk.h")]
13209         [Version (since = "3.0")]
13210         public static uint get_micro_version ();
13211         [CCode (cheader_filename = "gtk/gtk.h")]
13212         [Version (since = "3.0")]
13213         public static uint get_minor_version ();
13214         [CCode (cheader_filename = "gtk/gtk.h")]
13215         [Version (since = "2.6")]
13216         public static GLib.OptionGroup get_option_group (bool open_default_display);
13217         [CCode (cheader_filename = "gtk/gtk.h")]
13218         public static void grab_add (Gtk.Widget widget);
13219         [CCode (cheader_filename = "gtk/gtk.h")]
13220         public static unowned Gtk.Widget? grab_get_current ();
13221         [CCode (cheader_filename = "gtk/gtk.h")]
13222         public static void grab_remove (Gtk.Widget widget);
13223         [CCode (cheader_filename = "gtk/gtk.h")]
13224         [Version (deprecated_since = "3.10")]
13225         public static Gtk.IconSize icon_size_from_name (string name);
13226         [CCode (cheader_filename = "gtk/gtk.h")]
13227         [Version (deprecated_since = "3.10")]
13228         public static unowned string icon_size_get_name (Gtk.IconSize size);
13229         [CCode (cheader_filename = "gtk/gtk.h")]
13230         public static bool icon_size_lookup (Gtk.IconSize size, out int width, out int height);
13231         [CCode (cheader_filename = "gtk/gtk.h")]
13232         [Version (deprecated_since = "3.10")]
13233         public static bool icon_size_lookup_for_settings (Gtk.Settings settings, Gtk.IconSize size, out int width, out int height);
13234         [CCode (cheader_filename = "gtk/gtk.h")]
13235         [Version (deprecated_since = "3.10")]
13236         public static Gtk.IconSize icon_size_register (string name, int width, int height);
13237         [CCode (cheader_filename = "gtk/gtk.h")]
13238         [Version (deprecated_since = "3.10")]
13239         public static void icon_size_register_alias (string alias, Gtk.IconSize target);
13240         [CCode (cheader_filename = "gtk/gtk.h")]
13241         public static void init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
13242         [CCode (cheader_filename = "gtk/gtk.h")]
13243         public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
13244         [CCode (cheader_filename = "gtk/gtk.h")]
13245         [Version (since = "2.6")]
13246         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;
13247         [CCode (cheader_filename = "gtk/gtk.h")]
13248         [Version (deprecated = true, deprecated_since = "3.4")]
13249         public static uint key_snooper_install (Gtk.KeySnoopFunc snooper);
13250         [CCode (cheader_filename = "gtk/gtk.h")]
13251         [Version (deprecated = true, deprecated_since = "3.4")]
13252         public static void key_snooper_remove (uint snooper_handler_id);
13253         [CCode (cheader_filename = "gtk/gtk.h")]
13254         public static void main ();
13255         [CCode (cheader_filename = "gtk/gtk.h")]
13256         public static void main_do_event (Gdk.Event event);
13257         [CCode (cheader_filename = "gtk/gtk.h")]
13258         public static bool main_iteration ();
13259         [CCode (cheader_filename = "gtk/gtk.h")]
13260         public static bool main_iteration_do (bool blocking);
13261         [CCode (cheader_filename = "gtk/gtk.h")]
13262         public static uint main_level ();
13263         [CCode (cheader_filename = "gtk/gtk.h")]
13264         public static void main_quit ();
13265         [CCode (cheader_filename = "gtk/gtk.h")]
13266         [Version (deprecated = true, deprecated_since = "3.0")]
13267         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);
13268         [CCode (cheader_filename = "gtk/gtk.h")]
13269         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_background")]
13270         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);
13271         [CCode (cheader_filename = "gtk/gtk.h")]
13272         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_frame_gap")]
13273         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);
13274         [CCode (cheader_filename = "gtk/gtk.h")]
13275         [Version (deprecated = true, deprecated_since = "3.0")]
13276         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);
13277         [CCode (cheader_filename = "gtk/gtk.h")]
13278         [Version (deprecated = true, deprecated_since = "3.0")]
13279         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);
13280         [CCode (cheader_filename = "gtk/gtk.h")]
13281         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_expander")]
13282         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);
13283         [CCode (cheader_filename = "gtk/gtk.h")]
13284         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_extension")]
13285         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);
13286         [CCode (cheader_filename = "gtk/gtk.h")]
13287         [Version (deprecated = true, deprecated_since = "3.0")]
13288         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);
13289         [CCode (cheader_filename = "gtk/gtk.h")]
13290         [Version (deprecated = true, deprecated_since = "3.0")]
13291         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);
13292         [CCode (cheader_filename = "gtk/gtk.h")]
13293         [Version (deprecated = true, deprecated_since = "3.0")]
13294         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);
13295         [CCode (cheader_filename = "gtk/gtk.h")]
13296         [Version (deprecated = true, deprecated_since = "3.0")]
13297         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);
13298         [CCode (cheader_filename = "gtk/gtk.h")]
13299         [Version (deprecated = true, deprecated_since = "3.0")]
13300         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);
13301         [CCode (cheader_filename = "gtk/gtk.h")]
13302         [Version (deprecated = true, deprecated_since = "3.0")]
13303         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);
13304         [CCode (cheader_filename = "gtk/gtk.h")]
13305         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_handle")]
13306         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);
13307         [CCode (cheader_filename = "gtk/gtk.h")]
13308         [Version (deprecated = true, deprecated_since = "3.0")]
13309         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);
13310         [CCode (cheader_filename = "gtk/gtk.h")]
13311         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_frame")]
13312         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);
13313         [CCode (cheader_filename = "gtk/gtk.h")]
13314         [Version (deprecated = true, deprecated_since = "3.0")]
13315         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);
13316         [CCode (cheader_filename = "gtk/gtk.h")]
13317         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_activity")]
13318         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);
13319         [CCode (cheader_filename = "gtk/gtk.h")]
13320         [Version (deprecated = true, deprecated_since = "3.0")]
13321         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);
13322         [CCode (cheader_filename = "gtk/gtk.h")]
13323         [Version (deprecated = true, deprecated_since = "3.0")]
13324         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);
13325         [CCode (cheader_filename = "gtk/gtk.h")]
13326         public static bool parse_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[] argv);
13327         [CCode (cheader_filename = "gtk/gtk.h")]
13328         [Version (since = "2.10")]
13329         public static Gtk.PageSetup print_run_page_setup_dialog (Gtk.Window? parent, Gtk.PageSetup? page_setup, Gtk.PrintSettings settings);
13330         [CCode (cheader_filename = "gtk/gtk.h")]
13331         [Version (since = "2.10")]
13332         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);
13333         [CCode (cheader_filename = "gtk/gtk.h")]
13334         public static void propagate_event (Gtk.Widget widget, Gdk.Event event);
13335         [CCode (cheader_filename = "gtk/gtk.h")]
13336         [Version (deprecated = true, deprecated_since = "3.0")]
13337         public static void rc_add_default_file (string filename);
13338         [CCode (cheader_filename = "gtk/gtk.h")]
13339         [Version (deprecated = true, deprecated_since = "3.0")]
13340         public static string rc_find_module_in_path (string module_file);
13341         [CCode (cheader_filename = "gtk/gtk.h")]
13342         [Version (deprecated = true, deprecated_since = "3.0")]
13343         public static string rc_find_pixmap_in_path (Gtk.Settings settings, GLib.Scanner scanner, string pixmap_file);
13344         [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
13345         [Version (deprecated = true, deprecated_since = "3.0")]
13346         public static unowned string[] rc_get_default_files ();
13347         [CCode (cheader_filename = "gtk/gtk.h")]
13348         [Version (deprecated = true, deprecated_since = "3.0")]
13349         public static string rc_get_im_module_file ();
13350         [CCode (cheader_filename = "gtk/gtk.h")]
13351         [Version (deprecated = true, deprecated_since = "3.0")]
13352         public static string rc_get_im_module_path ();
13353         [CCode (cheader_filename = "gtk/gtk.h")]
13354         [Version (deprecated = true, deprecated_since = "3.0")]
13355         public static string rc_get_module_dir ();
13356         [CCode (cheader_filename = "gtk/gtk.h")]
13357         [Version (deprecated = true, deprecated_since = "3.0")]
13358         public static unowned Gtk.Style rc_get_style (Gtk.Widget widget);
13359         [CCode (cheader_filename = "gtk/gtk.h")]
13360         [Version (deprecated = true, deprecated_since = "3.0")]
13361         public static unowned Gtk.Style? rc_get_style_by_paths (Gtk.Settings settings, string? widget_path, string? class_path, GLib.Type type);
13362         [CCode (cheader_filename = "gtk/gtk.h")]
13363         [Version (deprecated = true, deprecated_since = "3.0")]
13364         public static string rc_get_theme_dir ();
13365         [CCode (cheader_filename = "gtk/gtk.h")]
13366         [Version (deprecated = true, deprecated_since = "3.0")]
13367         public static void rc_parse (string filename);
13368         [CCode (cheader_filename = "gtk/gtk.h")]
13369         [Version (deprecated = true, deprecated_since = "3.0")]
13370         public static uint rc_parse_color (GLib.Scanner scanner, out Gdk.Color color);
13371         [CCode (cheader_filename = "gtk/gtk.h")]
13372         [Version (deprecated = true, deprecated_since = "3.0", since = "2.12")]
13373         public static uint rc_parse_color_full (GLib.Scanner scanner, Gtk.RcStyle? style, out Gdk.Color color);
13374         [CCode (cheader_filename = "gtk/gtk.h")]
13375         [Version (deprecated = true, deprecated_since = "3.0")]
13376         public static uint rc_parse_priority (GLib.Scanner scanner, Gtk.PathPriorityType priority);
13377         [CCode (cheader_filename = "gtk/gtk.h")]
13378         [Version (deprecated = true, deprecated_since = "3.0")]
13379         public static uint rc_parse_state (GLib.Scanner scanner, out Gtk.StateType state);
13380         [CCode (cheader_filename = "gtk/gtk.h")]
13381         [Version (deprecated = true, deprecated_since = "3.0")]
13382         public static void rc_parse_string (string rc_string);
13383         [CCode (cheader_filename = "gtk/gtk.h")]
13384         [Version (deprecated = true, deprecated_since = "3.0")]
13385         public static bool rc_reparse_all ();
13386         [CCode (cheader_filename = "gtk/gtk.h")]
13387         [Version (deprecated = true, deprecated_since = "3.0")]
13388         public static bool rc_reparse_all_for_settings (Gtk.Settings settings, bool force_load);
13389         [CCode (cheader_filename = "gtk/gtk.h")]
13390         [Version (deprecated = true, deprecated_since = "3.0", since = "2.4")]
13391         public static void rc_reset_styles (Gtk.Settings settings);
13392         [CCode (cheader_filename = "gtk/gtk.h")]
13393         [Version (deprecated = true, deprecated_since = "3.0")]
13394         public static unowned GLib.Scanner rc_scanner_new ();
13395         [CCode (cheader_filename = "gtk/gtk.h")]
13396         [Version (deprecated = true, deprecated_since = "3.0")]
13397         public static void rc_set_default_files ([CCode (array_length = false, array_null_terminated = true)] string[] filenames);
13398         [CCode (cheader_filename = "gtk/gtk.h")]
13399         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_activity")]
13400         public static void render_activity (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13401         [CCode (cheader_filename = "gtk/gtk.h")]
13402         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_arrow")]
13403         public static void render_arrow (Gtk.StyleContext context, Cairo.Context cr, double angle, double x, double y, double size);
13404         [CCode (cheader_filename = "gtk/gtk.h")]
13405         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_background")]
13406         public static void render_background (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13407         [CCode (cheader_filename = "gtk/gtk.h")]
13408         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_check")]
13409         public static void render_check (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13410         [CCode (cheader_filename = "gtk/gtk.h")]
13411         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_expander")]
13412         public static void render_expander (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13413         [CCode (cheader_filename = "gtk/gtk.h")]
13414         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_extension")]
13415         public static void render_extension (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
13416         [CCode (cheader_filename = "gtk/gtk.h")]
13417         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_focus")]
13418         public static void render_focus (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13419         [CCode (cheader_filename = "gtk/gtk.h")]
13420         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_frame")]
13421         public static void render_frame (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13422         [CCode (cheader_filename = "gtk/gtk.h")]
13423         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_frame_gap")]
13424         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);
13425         [CCode (cheader_filename = "gtk/gtk.h")]
13426         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_handle")]
13427         public static void render_handle (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13428         [CCode (cheader_filename = "gtk/gtk.h")]
13429         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_icon")]
13430         public static void render_icon (Gtk.StyleContext context, Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
13431         [CCode (cheader_filename = "gtk/gtk.h")]
13432         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_icon_pixbuf")]
13433         public static Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSource source, Gtk.IconSize size);
13434         [CCode (cheader_filename = "gtk/gtk.h")]
13435         public static void render_icon_surface (Gtk.StyleContext context, Cairo.Context cr, Cairo.Surface surface, double x, double y);
13436         [CCode (cheader_filename = "gtk/gtk.h")]
13437         public static void render_insertion_cursor (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
13438         [CCode (cheader_filename = "gtk/gtk.h")]
13439         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_layout")]
13440         public static void render_layout (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout);
13441         [CCode (cheader_filename = "gtk/gtk.h")]
13442         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_line")]
13443         public static void render_line (Gtk.StyleContext context, Cairo.Context cr, double x0, double y0, double x1, double y1);
13444         [CCode (cheader_filename = "gtk/gtk.h")]
13445         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_option")]
13446         public static void render_option (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
13447         [CCode (cheader_filename = "gtk/gtk.h")]
13448         [Version (deprecated_since = "vala-0.16", replacement = "StyleContext.render_slider")]
13449         public static void render_slider (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
13450         [CCode (cheader_filename = "gtk/gtk.h")]
13451         [Version (since = "2.14")]
13452         public static void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double v);
13453         [CCode (cheader_filename = "gtk/gtk.h")]
13454         public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info);
13455         [CCode (cheader_filename = "gtk/gtk.h")]
13456         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);
13457         [CCode (cheader_filename = "gtk/gtk.h")]
13458         public static void selection_clear_targets (Gtk.Widget widget, Gdk.Atom selection);
13459         [CCode (cheader_filename = "gtk/gtk.h")]
13460         public static bool selection_convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
13461         [CCode (cheader_filename = "gtk/gtk.h")]
13462         public static bool selection_owner_set (Gtk.Widget? widget, Gdk.Atom selection, uint32 time_);
13463         [CCode (cheader_filename = "gtk/gtk.h")]
13464         [Version (since = "2.2")]
13465         public static bool selection_owner_set_for_display (Gdk.Display display, Gtk.Widget? widget, Gdk.Atom selection, uint32 time_);
13466         [CCode (cheader_filename = "gtk/gtk.h")]
13467         public static void selection_remove_all (Gtk.Widget widget);
13468         [CCode (cheader_filename = "gtk/gtk.h")]
13469         public static void set_debug_flags (uint flags);
13470         [CCode (cheader_filename = "gtk/gtk.h")]
13471         [Version (since = "2.6")]
13472         public static void show_about_dialog (Gtk.Window? parent, ...);
13473         [CCode (cheader_filename = "gtk/gtk.h")]
13474         [Version (since = "2.14")]
13475         public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
13476         [CCode (cheader_filename = "gtk/gtk.h")]
13477         [Version (since = "3.22")]
13478         public static bool show_uri_on_window (Gtk.Window? parent, string uri, uint32 timestamp) throws GLib.Error;
13479         [CCode (cheader_filename = "gtk/gtk.h")]
13480         [Version (deprecated = true, deprecated_since = "3.10")]
13481         public static void stock_add ([CCode (array_length_cname = "n_items", array_length_pos = 1.1, array_length_type = "guint")] Gtk.StockItem[] items);
13482         [CCode (cheader_filename = "gtk/gtk.h")]
13483         [Version (deprecated = true, deprecated_since = "3.10")]
13484         public static void stock_add_static ([CCode (array_length_cname = "n_items", array_length_pos = 1.1, array_length_type = "guint")] Gtk.StockItem[] items);
13485         [CCode (cheader_filename = "gtk/gtk.h")]
13486         [Version (deprecated = true, deprecated_since = "3.10")]
13487         public static GLib.SList<string> stock_list_ids ();
13488         [CCode (cheader_filename = "gtk/gtk.h")]
13489         [Version (deprecated = true, deprecated_since = "3.10")]
13490         public static bool stock_lookup (string stock_id, out Gtk.StockItem item);
13491         [CCode (cheader_filename = "gtk/gtk.h")]
13492         [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
13493         public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
13494         [CCode (cheader_filename = "gtk/gtk.h")]
13495         [Version (since = "2.10")]
13496         public static void target_table_free ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gtk.TargetEntry[] targets);
13497         [CCode (array_length_pos = 1.1, cheader_filename = "gtk/gtk.h")]
13498         [Version (since = "2.10")]
13499         public static Gtk.TargetEntry[] target_table_new_from_list (Gtk.TargetList list);
13500         [CCode (cheader_filename = "gtk/gtk.h")]
13501         [Version (since = "2.10")]
13502         public static bool targets_include_image ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gdk.Atom[] targets, bool writable);
13503         [CCode (cheader_filename = "gtk/gtk.h")]
13504         [Version (since = "2.10")]
13505         public static bool targets_include_rich_text ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gdk.Atom[] targets, Gtk.TextBuffer buffer);
13506         [CCode (cheader_filename = "gtk/gtk.h")]
13507         [Version (since = "2.10")]
13508         public static bool targets_include_text ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gdk.Atom[] targets);
13509         [CCode (cheader_filename = "gtk/gtk.h")]
13510         [Version (since = "2.10")]
13511         public static bool targets_include_uri ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gdk.Atom[] targets);
13512         [CCode (cheader_filename = "gtk/gtk.h")]
13513         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13514         public static unowned Gtk.Widget test_create_simple_window (string window_title, string dialog_text);
13515         [CCode (cheader_filename = "gtk/gtk.h")]
13516         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13517         public static unowned Gtk.Widget test_create_widget (GLib.Type widget_type, ...);
13518         [CCode (cheader_filename = "gtk/gtk.h")]
13519         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13520         public static Gtk.Widget test_display_button_window (string window_title, string dialog_text, ...);
13521         [CCode (cheader_filename = "gtk/gtk.h")]
13522         [Version (since = "2.14")]
13523         public static unowned Gtk.Widget test_find_label (Gtk.Widget widget, string label_pattern);
13524         [CCode (cheader_filename = "gtk/gtk.h")]
13525         [Version (since = "2.14")]
13526         public static unowned Gtk.Widget test_find_sibling (Gtk.Widget base_widget, GLib.Type widget_type);
13527         [CCode (cheader_filename = "gtk/gtk.h")]
13528         [Version (since = "2.14")]
13529         public static unowned Gtk.Widget? test_find_widget (Gtk.Widget widget, string label_pattern, GLib.Type widget_type);
13530         [CCode (cheader_filename = "gtk/gtk.h")]
13531         [Version (since = "2.14")]
13532         public static void test_init ([CCode (array_length_cname = "argcp", array_length_pos = 0.5)] ref unowned string[] argvp, ...);
13533         [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "guint", array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
13534         [Version (since = "2.14")]
13535         public static unowned GLib.Type[] test_list_all_types ();
13536         [CCode (cheader_filename = "gtk/gtk.h")]
13537         [Version (since = "2.14")]
13538         public static void test_register_all_types ();
13539         [CCode (cheader_filename = "gtk/gtk.h")]
13540         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13541         public static double test_slider_get_value (Gtk.Widget widget);
13542         [CCode (cheader_filename = "gtk/gtk.h")]
13543         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13544         public static void test_slider_set_perc (Gtk.Widget widget, double percentage);
13545         [CCode (cheader_filename = "gtk/gtk.h")]
13546         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13547         public static bool test_spin_button_click (Gtk.SpinButton spinner, uint button, bool upwards);
13548         [CCode (cheader_filename = "gtk/gtk.h")]
13549         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13550         public static string test_text_get (Gtk.Widget widget);
13551         [CCode (cheader_filename = "gtk/gtk.h")]
13552         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13553         public static void test_text_set (Gtk.Widget widget, string str);
13554         [CCode (cheader_filename = "gtk/gtk.h")]
13555         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13556         public static bool test_widget_click (Gtk.Widget widget, uint button, Gdk.ModifierType modifiers);
13557         [CCode (cheader_filename = "gtk/gtk.h")]
13558         [Version (since = "2.14")]
13559         public static bool test_widget_send_key (Gtk.Widget widget, uint keyval, Gdk.ModifierType modifiers);
13560         [CCode (cheader_filename = "gtk/gtk.h")]
13561         [Version (since = "3.10")]
13562         public static void test_widget_wait_for_draw (Gtk.Widget widget);
13563         [CCode (cheader_filename = "gtk/gtk.h")]
13564         public static bool tree_get_row_drag_data (Gtk.SelectionData selection_data, out unowned Gtk.TreeModel? tree_model, out Gtk.TreePath? path);
13565         [CCode (cheader_filename = "gtk/gtk.h")]
13566         public static bool tree_set_row_drag_data (Gtk.SelectionData selection_data, Gtk.TreeModel tree_model, Gtk.TreePath path);