gtk+-3.0: Update to 3.22.30+9ac7f906
[vala-gnome.git] / vapi / gtk+-3.0.vapi
blob7e7a326d89ca0fe43aacafa8c1106d2d7557c613
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                 [NoAccessorMethod]
6045                 [Version (since = "2.4")]
6046                 public Gtk.RadioAction group { set; }
6047                 [NoAccessorMethod]
6048                 [Version (since = "2.4")]
6049                 public int value { get; set; }
6050                 [Version (since = "2.4")]
6051                 public virtual signal void changed (Gtk.RadioAction current);
6052         }
6053         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_button_get_type ()")]
6054         public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6055                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6056                 public RadioButton (GLib.SList<Gtk.RadioButton>? group);
6057                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6058                 public RadioButton.from_widget (Gtk.RadioButton? radio_group_member);
6059                 public unowned GLib.SList<Gtk.RadioButton> get_group ();
6060                 [Version (since = "3.0")]
6061                 public void join_group (Gtk.RadioButton? group_source);
6062                 public void set_group (GLib.SList<Gtk.RadioButton>? group);
6063                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6064                 public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
6065                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6066                 public RadioButton.with_label_from_widget (Gtk.RadioButton? radio_group_member, string label);
6067                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6068                 public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
6069                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6070                 public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton? radio_group_member, string label);
6071                 [NoAccessorMethod]
6072                 public Gtk.RadioButton group { set; }
6073                 [Version (since = "2.4")]
6074                 public virtual signal void group_changed ();
6075         }
6076         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_button_accessible_get_type ()")]
6077         public class RadioButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
6078                 [CCode (has_construct_function = false)]
6079                 protected RadioButtonAccessible ();
6080         }
6081         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_menu_item_get_type ()")]
6082         public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6083                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6084                 public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem>? group);
6085                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6086                 [Version (since = "2.4")]
6087                 public RadioMenuItem.from_widget (Gtk.RadioMenuItem? group);
6088                 public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
6089                 [Version (since = "3.18")]
6090                 public void join_group (Gtk.RadioMenuItem? group_source);
6091                 public void set_group (GLib.SList<Gtk.RadioMenuItem>? group);
6092                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6093                 public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem>? group, string label);
6094                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6095                 [Version (since = "2.4")]
6096                 public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem? group, string? label);
6097                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6098                 public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem>? group, string label);
6099                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6100                 [Version (since = "2.4")]
6101                 public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem? group, string? label);
6102                 [NoAccessorMethod]
6103                 [Version (since = "2.8")]
6104                 public Gtk.RadioMenuItem group { set; }
6105                 public virtual signal void group_changed ();
6106         }
6107         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_menu_item_accessible_get_type ()")]
6108         public class RadioMenuItemAccessible : Gtk.CheckMenuItemAccessible, Atk.Action, Atk.Component, Atk.Selection {
6109                 [CCode (has_construct_function = false)]
6110                 protected RadioMenuItemAccessible ();
6111         }
6112         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_tool_button_get_type ()")]
6113         public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6114                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6115                 [Version (since = "2.4")]
6116                 public RadioToolButton (GLib.SList<Gtk.RadioButton>? group);
6117                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6118                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6119                 public RadioToolButton.from_stock (GLib.SList<Gtk.RadioButton>? group, string stock_id);
6120                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6121                 [Version (since = "2.4")]
6122                 public RadioToolButton.from_widget (Gtk.RadioToolButton? group);
6123                 [Version (since = "2.4")]
6124                 public unowned GLib.SList<Gtk.RadioButton>? get_group ();
6125                 [Version (since = "2.4")]
6126                 public void set_group (GLib.SList<Gtk.RadioButton>? group);
6127                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6128                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6129                 public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton? group, string stock_id);
6130                 [NoAccessorMethod]
6131                 [Version (since = "2.4")]
6132                 public Gtk.RadioToolButton group { set; }
6133         }
6134         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")]
6135         public abstract class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6136                 [CCode (has_construct_function = false)]
6137                 protected Range ();
6138                 public unowned Gtk.Adjustment get_adjustment ();
6139                 [Version (since = "2.12")]
6140                 public double get_fill_level ();
6141                 [Version (since = "2.18")]
6142                 public bool get_flippable ();
6143                 public bool get_inverted ();
6144                 [Version (since = "2.10")]
6145                 public Gtk.SensitivityType get_lower_stepper_sensitivity ();
6146                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.20")]
6147                 public int get_min_slider_size ();
6148                 [NoWrapper]
6149                 public virtual Gtk.Border get_range_border ();
6150                 [Version (since = "2.20")]
6151                 public Gdk.Rectangle get_range_rect ();
6152                 [NoWrapper]
6153                 public virtual void get_range_size_request (Gtk.Orientation orientation, out int minimum, out int natural);
6154                 [Version (since = "2.12")]
6155                 public bool get_restrict_to_fill_level ();
6156                 [Version (since = "2.24")]
6157                 public int get_round_digits ();
6158                 [Version (since = "2.12")]
6159                 public bool get_show_fill_level ();
6160                 [Version (since = "2.20")]
6161                 public void get_slider_range (out int slider_start, out int slider_end);
6162                 [Version (since = "2.20")]
6163                 public bool get_slider_size_fixed ();
6164                 [Version (since = "2.10")]
6165                 public Gtk.SensitivityType get_upper_stepper_sensitivity ();
6166                 public double get_value ();
6167                 public void set_adjustment (Gtk.Adjustment adjustment);
6168                 [Version (since = "2.12")]
6169                 public void set_fill_level (double fill_level);
6170                 [Version (since = "2.18")]
6171                 public void set_flippable (bool flippable);
6172                 public void set_increments (double step, double page);
6173                 public void set_inverted (bool setting);
6174                 [Version (since = "2.10")]
6175                 public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
6176                 [Version (deprecated = true, deprecated_since = "3.20", since = "2.20")]
6177                 public void set_min_slider_size (int min_size);
6178                 public void set_range (double min, double max);
6179                 [Version (since = "2.12")]
6180                 public void set_restrict_to_fill_level (bool restrict_to_fill_level);
6181                 [Version (since = "2.24")]
6182                 public void set_round_digits (int round_digits);
6183                 [Version (since = "2.12")]
6184                 public void set_show_fill_level (bool show_fill_level);
6185                 [Version (since = "2.20")]
6186                 public void set_slider_size_fixed (bool size_fixed);
6187                 [Version (since = "2.10")]
6188                 public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
6189                 public void set_value (double value);
6190                 public Gtk.Adjustment adjustment { get; set construct; }
6191                 [Version (since = "2.12")]
6192                 public double fill_level { get; set; }
6193                 public bool inverted { get; set; }
6194                 public Gtk.SensitivityType lower_stepper_sensitivity { get; set; }
6195                 [Version (since = "2.12")]
6196                 public bool restrict_to_fill_level { get; set; }
6197                 [Version (since = "2.24")]
6198                 public int round_digits { get; set; }
6199                 [Version (since = "2.12")]
6200                 public bool show_fill_level { get; set; }
6201                 public Gtk.SensitivityType upper_stepper_sensitivity { get; set; }
6202                 public virtual signal void adjust_bounds (double new_value);
6203                 [Version (since = "2.6")]
6204                 public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
6205                 public virtual signal void move_slider (Gtk.ScrollType scroll);
6206                 public virtual signal void value_changed ();
6207         }
6208         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_range_accessible_get_type ()")]
6209         public class RangeAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
6210                 [CCode (has_construct_function = false)]
6211                 protected RangeAccessible ();
6212         }
6213         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
6214         [Compact]
6215         public class RcContext {
6216         }
6217         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_rc_style_get_type ()")]
6218         public class RcStyle : GLib.Object {
6219                 [CCode (array_length = false)]
6220                 public weak Gdk.Color @base[5];
6221                 [CCode (array_length = false)]
6222                 public weak Gdk.Color bg[5];
6223                 [CCode (array_length = false)]
6224                 public weak string bg_pixmap_name[5];
6225                 [CCode (array_length = false)]
6226                 public weak Gtk.RcFlags color_flags[5];
6227                 [CCode (array_length = false)]
6228                 public weak Gdk.Color fg[5];
6229                 public weak Pango.FontDescription font_desc;
6230                 public weak string name;
6231                 [CCode (array_length = false)]
6232                 public weak Gdk.Color text[5];
6233                 public int xthickness;
6234                 public int ythickness;
6235                 [CCode (has_construct_function = false)]
6236                 [Version (deprecated = true, deprecated_since = "3.0")]
6237                 public RcStyle ();
6238                 [Version (deprecated = true, deprecated_since = "3.0")]
6239                 public Gtk.RcStyle copy ();
6240                 [NoWrapper]
6241                 public virtual Gtk.RcStyle create_rc_style ();
6242                 [NoWrapper]
6243                 public virtual Gtk.Style create_style ();
6244                 [NoWrapper]
6245                 public virtual void merge (Gtk.RcStyle src);
6246                 [NoWrapper]
6247                 public virtual uint parse (Gtk.Settings settings, GLib.Scanner scanner);
6248         }
6249         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_action_get_type ()")]
6250         public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser {
6251                 [CCode (has_construct_function = false, type = "GtkAction*")]
6252                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6253                 public RecentAction (string name, string? label, string? tooltip, string? stock_id);
6254                 [CCode (has_construct_function = false, type = "GtkAction*")]
6255                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6256                 public RecentAction.for_manager (string name, string? label, string? tooltip, string? stock_id, Gtk.RecentManager? manager);
6257                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6258                 public bool get_show_numbers ();
6259                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6260                 public void set_show_numbers (bool show_numbers);
6261                 [Version (deprecated = true, deprecated_since = "3.10")]
6262                 public bool show_numbers { get; set; }
6263         }
6264         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_dialog_get_type ()")]
6265         public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
6266                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6267                 [Version (since = "2.10")]
6268                 public RecentChooserDialog (string? title, Gtk.Window? parent, ...);
6269                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6270                 [Version (since = "2.10")]
6271                 public RecentChooserDialog.for_manager (string? title, Gtk.Window? parent, Gtk.RecentManager manager, ...);
6272         }
6273         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_menu_get_type ()")]
6274         public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Activatable, Gtk.Buildable, Gtk.RecentChooser {
6275                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6276                 [Version (since = "2.10")]
6277                 public RecentChooserMenu ();
6278                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6279                 [Version (since = "2.10")]
6280                 public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
6281                 [Version (since = "2.10")]
6282                 public bool get_show_numbers ();
6283                 [Version (since = "2.10")]
6284                 public void set_show_numbers (bool show_numbers);
6285                 [Version (since = "2.10")]
6286                 public bool show_numbers { get; set; }
6287         }
6288         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_widget_get_type ()")]
6289         public class RecentChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
6290                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6291                 [Version (since = "2.10")]
6292                 public RecentChooserWidget ();
6293                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6294                 [Version (since = "2.10")]
6295                 public RecentChooserWidget.for_manager (Gtk.RecentManager manager);
6296         }
6297         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_filter_get_type ()")]
6298         public class RecentFilter : GLib.InitiallyUnowned, Gtk.Buildable {
6299                 [CCode (has_construct_function = false)]
6300                 [Version (since = "2.10")]
6301                 public RecentFilter ();
6302                 [Version (since = "2.10")]
6303                 public void add_age (int days);
6304                 [Version (since = "2.10")]
6305                 public void add_application (string application);
6306                 [Version (since = "2.10")]
6307                 public void add_custom (Gtk.RecentFilterFlags needed, owned Gtk.RecentFilterFunc func);
6308                 [Version (since = "2.10")]
6309                 public void add_group (string group);
6310                 [Version (since = "2.10")]
6311                 public void add_mime_type (string mime_type);
6312                 [Version (since = "2.10")]
6313                 public void add_pattern (string pattern);
6314                 [Version (since = "2.10")]
6315                 public void add_pixbuf_formats ();
6316                 [Version (since = "2.10")]
6317                 public bool filter (Gtk.RecentFilterInfo filter_info);
6318                 [CCode (cname = "gtk_recent_filter_get_name")]
6319                 [Version (since = "2.10")]
6320                 public unowned string? get_filter_name ();
6321                 [Version (since = "2.10")]
6322                 public Gtk.RecentFilterFlags get_needed ();
6323                 [CCode (cname = "gtk_recent_filter_set_name")]
6324                 [Version (since = "2.10")]
6325                 public void set_filter_name (string name);
6326         }
6327         [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")]
6328         [Compact]
6329         [Version (since = "2.10")]
6330         public class RecentInfo {
6331                 public GLib.AppInfo? create_app_info (string? app_name) throws GLib.Error;
6332                 public bool exists ();
6333                 public time_t get_added ();
6334                 public int get_age ();
6335                 public bool get_application_info (string app_name, out unowned string app_exec, out uint count, [CCode (type = "time_t*")] out time_t time_);
6336                 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
6337                 public string[] get_applications ();
6338                 public unowned string get_description ();
6339                 public unowned string get_display_name ();
6340                 [Version (since = "2.22")]
6341                 public GLib.Icon? get_gicon ();
6342                 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
6343                 public string[] get_groups ();
6344                 public Gdk.Pixbuf? get_icon (int size);
6345                 public unowned string get_mime_type ();
6346                 public time_t get_modified ();
6347                 public bool get_private_hint ();
6348                 public string get_short_name ();
6349                 public unowned string get_uri ();
6350                 public string? get_uri_display ();
6351                 public time_t get_visited ();
6352                 public bool has_application (string app_name);
6353                 public bool has_group (string group_name);
6354                 public bool is_local ();
6355                 public string last_application ();
6356                 public bool match (Gtk.RecentInfo info_b);
6357                 public unowned Gtk.RecentInfo @ref ();
6358                 public void unref ();
6359         }
6360         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_manager_get_type ()")]
6361         [Version (since = "2.10")]
6362         public class RecentManager : GLib.Object {
6363                 [CCode (has_construct_function = false)]
6364                 public RecentManager ();
6365                 public bool add_full (string uri, Gtk.RecentData recent_data);
6366                 public bool add_item (string uri);
6367                 public static unowned Gtk.RecentManager get_default ();
6368                 public GLib.List<Gtk.RecentInfo> get_items ();
6369                 public bool has_item (string uri);
6370                 public Gtk.RecentInfo? lookup_item (string uri) throws GLib.Error;
6371                 public bool move_item (string uri, string? new_uri) throws GLib.Error;
6372                 public int purge_items () throws GLib.Error;
6373                 public bool remove_item (string uri) throws GLib.Error;
6374                 [NoAccessorMethod]
6375                 public string filename { owned get; construct; }
6376                 [NoAccessorMethod]
6377                 public int size { get; }
6378                 public virtual signal void changed ();
6379         }
6380         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_renderer_cell_accessible_get_type ()")]
6381         public class RendererCellAccessible : Gtk.CellAccessible, Atk.Action, Atk.Component {
6382                 [CCode (has_construct_function = false, type = "AtkObject*")]
6383                 public RendererCellAccessible (Gtk.CellRenderer renderer);
6384                 [NoAccessorMethod]
6385                 public Gtk.CellRenderer renderer { owned get; construct; }
6386         }
6387         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_revealer_get_type ()")]
6388         public class Revealer : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6389                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6390                 [Version (since = "3.10")]
6391                 public Revealer ();
6392                 [Version (since = "3.10")]
6393                 public bool get_child_revealed ();
6394                 [Version (since = "3.10")]
6395                 public bool get_reveal_child ();
6396                 [Version (since = "3.10")]
6397                 public uint get_transition_duration ();
6398                 [Version (since = "3.10")]
6399                 public Gtk.RevealerTransitionType get_transition_type ();
6400                 [Version (since = "3.10")]
6401                 public void set_reveal_child (bool reveal_child);
6402                 [Version (since = "3.10")]
6403                 public void set_transition_duration (uint duration);
6404                 [Version (since = "3.10")]
6405                 public void set_transition_type (Gtk.RevealerTransitionType transition);
6406                 public bool child_revealed { get; }
6407                 public bool reveal_child { get; set construct; }
6408                 public uint transition_duration { get; set construct; }
6409                 public Gtk.RevealerTransitionType transition_type { get; set construct; }
6410         }
6411         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_get_type ()")]
6412         public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6413                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6414                 [Version (since = "3.0")]
6415                 public Scale (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
6416                 [Version (since = "2.16")]
6417                 public void add_mark (double value, Gtk.PositionType position, string? markup);
6418                 [Version (since = "2.16")]
6419                 public void clear_marks ();
6420                 public int get_digits ();
6421                 public bool get_draw_value ();
6422                 [Version (since = "3.4")]
6423                 public bool get_has_origin ();
6424                 [Version (since = "2.4")]
6425                 public unowned Pango.Layout? get_layout ();
6426                 [Version (since = "2.4")]
6427                 public virtual void get_layout_offsets (out int x, out int y);
6428                 public Gtk.PositionType get_value_pos ();
6429                 public void set_digits (int digits);
6430                 public void set_draw_value (bool draw_value);
6431                 [Version (since = "3.4")]
6432                 public void set_has_origin (bool has_origin);
6433                 public void set_value_pos (Gtk.PositionType pos);
6434                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6435                 [Version (since = "3.0")]
6436                 public Scale.with_range (Gtk.Orientation orientation, double min, double max, double step);
6437                 public int digits { get; set; }
6438                 public virtual bool draw_value { get; set; }
6439                 public bool has_origin { get; set; }
6440                 public Gtk.PositionType value_pos { get; set; }
6441                 public virtual signal string format_value (double value);
6442         }
6443         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_accessible_get_type ()")]
6444         public class ScaleAccessible : Gtk.RangeAccessible, Atk.Component, Atk.Value {
6445                 [CCode (has_construct_function = false)]
6446                 protected ScaleAccessible ();
6447         }
6448         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_button_get_type ()")]
6449         public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.Orientable {
6450                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6451                 [Version (since = "2.12")]
6452                 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);
6453                 [Version (since = "2.12")]
6454                 public unowned Gtk.Adjustment get_adjustment ();
6455                 [Version (since = "2.14")]
6456                 public unowned Gtk.Button get_minus_button ();
6457                 [Version (since = "2.14")]
6458                 public unowned Gtk.Button get_plus_button ();
6459                 [Version (since = "2.14")]
6460                 public unowned Gtk.Widget get_popup ();
6461                 [Version (since = "2.12")]
6462                 public double get_value ();
6463                 [Version (since = "2.12")]
6464                 public void set_adjustment (Gtk.Adjustment adjustment);
6465                 [Version (since = "2.12")]
6466                 public void set_icons ([CCode (array_length = false, array_null_terminated = true)] string[] icons);
6467                 [Version (since = "2.12")]
6468                 public void set_value (double value);
6469                 public Gtk.Adjustment adjustment { get; set; }
6470                 [CCode (array_length = false, array_null_terminated = true)]
6471                 [NoAccessorMethod]
6472                 [Version (since = "2.12")]
6473                 public string[] icons { owned get; set; }
6474                 [NoAccessorMethod]
6475                 public Gtk.IconSize size { get; set; }
6476                 public double value { get; set; }
6477                 [Version (since = "2.12")]
6478                 public signal void popdown ();
6479                 [Version (since = "2.12")]
6480                 public signal void popup ();
6481                 [Version (since = "2.12")]
6482                 public virtual signal void value_changed (double value);
6483         }
6484         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_button_accessible_get_type ()")]
6485         public class ScaleButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image, Atk.Value {
6486                 [CCode (has_construct_function = false)]
6487                 protected ScaleButtonAccessible ();
6488         }
6489         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrollbar_get_type ()")]
6490         public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6491                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6492                 [Version (since = "3.0")]
6493                 public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
6494         }
6495         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrolled_window_get_type ()")]
6496         public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6497                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6498                 public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
6499                 [Version (deprecated = true, deprecated_since = "3.8")]
6500                 public void add_with_viewport (Gtk.Widget child);
6501                 [Version (since = "3.4")]
6502                 public bool get_capture_button_press ();
6503                 public unowned Gtk.Adjustment get_hadjustment ();
6504                 [Version (since = "2.8")]
6505                 public unowned Gtk.Widget get_hscrollbar ();
6506                 [Version (since = "3.4")]
6507                 public bool get_kinetic_scrolling ();
6508                 [Version (since = "3.22")]
6509                 public int get_max_content_height ();
6510                 [Version (since = "3.22")]
6511                 public int get_max_content_width ();
6512                 [Version (since = "3.0")]
6513                 public int get_min_content_height ();
6514                 [Version (since = "3.0")]
6515                 public int get_min_content_width ();
6516                 [Version (since = "3.16")]
6517                 public bool get_overlay_scrolling ();
6518                 public Gtk.CornerType get_placement ();
6519                 public void get_policy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy);
6520                 [Version (since = "3.22")]
6521                 public bool get_propagate_natural_height ();
6522                 [Version (since = "3.22")]
6523                 public bool get_propagate_natural_width ();
6524                 public Gtk.ShadowType get_shadow_type ();
6525                 public unowned Gtk.Adjustment get_vadjustment ();
6526                 [Version (since = "2.8")]
6527                 public unowned Gtk.Widget get_vscrollbar ();
6528                 [Version (since = "3.4")]
6529                 public void set_capture_button_press (bool capture_button_press);
6530                 public void set_hadjustment (Gtk.Adjustment hadjustment);
6531                 [Version (since = "3.4")]
6532                 public void set_kinetic_scrolling (bool kinetic_scrolling);
6533                 [Version (since = "3.22")]
6534                 public void set_max_content_height (int height);
6535                 [Version (since = "3.22")]
6536                 public void set_max_content_width (int width);
6537                 [Version (since = "3.0")]
6538                 public void set_min_content_height (int height);
6539                 [Version (since = "3.0")]
6540                 public void set_min_content_width (int width);
6541                 [Version (since = "3.16")]
6542                 public void set_overlay_scrolling (bool overlay_scrolling);
6543                 public void set_placement (Gtk.CornerType window_placement);
6544                 public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
6545                 [Version (since = "3.22")]
6546                 public void set_propagate_natural_height (bool propagate);
6547                 [Version (since = "3.22")]
6548                 public void set_propagate_natural_width (bool propagate);
6549                 public void set_shadow_type (Gtk.ShadowType type);
6550                 public void set_vadjustment (Gtk.Adjustment vadjustment);
6551                 [Version (since = "2.10")]
6552                 public void unset_placement ();
6553                 public Gtk.Adjustment hadjustment { get; set construct; }
6554                 [NoAccessorMethod]
6555                 public Gtk.PolicyType hscrollbar_policy { get; set; }
6556                 [Version (since = "3.4")]
6557                 public bool kinetic_scrolling { get; set; }
6558                 [Version (since = "3.22")]
6559                 public int max_content_height { get; set; }
6560                 [Version (since = "3.22")]
6561                 public int max_content_width { get; set; }
6562                 [Version (since = "3.0")]
6563                 public int min_content_height { get; set; }
6564                 [Version (since = "3.0")]
6565                 public int min_content_width { get; set; }
6566                 [Version (since = "3.16")]
6567                 public bool overlay_scrolling { get; set; }
6568                 [Version (since = "3.22")]
6569                 public bool propagate_natural_height { get; set; }
6570                 [Version (since = "3.22")]
6571                 public bool propagate_natural_width { get; set; }
6572                 public Gtk.ShadowType shadow_type { get; set; }
6573                 public Gtk.Adjustment vadjustment { get; set construct; }
6574                 [NoAccessorMethod]
6575                 public Gtk.PolicyType vscrollbar_policy { get; set; }
6576                 [NoAccessorMethod]
6577                 public Gtk.CornerType window_placement { get; set; }
6578                 [NoAccessorMethod]
6579                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
6580                 public bool window_placement_set { get; set; }
6581                 [Version (since = "3.16")]
6582                 public signal void edge_overshot (Gtk.PositionType pos);
6583                 [Version (since = "3.16")]
6584                 public signal void edge_reached (Gtk.PositionType pos);
6585                 public virtual signal void move_focus_out (Gtk.DirectionType direction);
6586                 public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
6587         }
6588         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scrolled_window_accessible_get_type ()")]
6589         public class ScrolledWindowAccessible : Gtk.ContainerAccessible, Atk.Component {
6590                 [CCode (has_construct_function = false)]
6591                 protected ScrolledWindowAccessible ();
6592         }
6593         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_bar_get_type ()")]
6594         public class SearchBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6595                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6596                 [Version (since = "3.10")]
6597                 public SearchBar ();
6598                 [Version (since = "3.10")]
6599                 public void connect_entry (Gtk.Entry entry);
6600                 [Version (since = "3.10")]
6601                 public bool get_search_mode ();
6602                 [Version (since = "3.10")]
6603                 public bool get_show_close_button ();
6604                 [Version (since = "3.10")]
6605                 public bool handle_event (Gdk.Event event);
6606                 [Version (since = "3.10")]
6607                 public void set_search_mode (bool search_mode);
6608                 [Version (since = "3.10")]
6609                 public void set_show_close_button (bool visible);
6610                 [NoAccessorMethod]
6611                 public bool search_mode_enabled { get; set; }
6612                 public bool show_close_button { get; set construct; }
6613         }
6614         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_entry_get_type ()")]
6615         public class SearchEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
6616                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6617                 [Version (since = "3.6")]
6618                 public SearchEntry ();
6619                 [Version (since = "3.16")]
6620                 public bool handle_event (Gdk.Event event);
6621                 [Version (since = "3.16")]
6622                 public virtual signal void next_match ();
6623                 [Version (since = "3.16")]
6624                 public virtual signal void previous_match ();
6625                 [Version (since = "3.10")]
6626                 public virtual signal void search_changed ();
6627                 [Version (since = "3.16")]
6628                 public virtual signal void stop_search ();
6629         }
6630         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_selection_data_get_type ()")]
6631         [Compact]
6632         public class SelectionData {
6633                 public Gtk.SelectionData copy ();
6634                 [DestroysInstance]
6635                 public void free ();
6636                 [CCode (array_length = false)]
6637                 [Version (since = "2.14")]
6638                 public unowned uint8[] get_data ();
6639                 [Version (since = "2.14")]
6640                 public Gdk.Atom get_data_type ();
6641                 [CCode (array_length_pos = 0.1)]
6642                 [Version (since = "3.0")]
6643                 public unowned uint8[] get_data_with_length ();
6644                 [Version (since = "2.14")]
6645                 public unowned Gdk.Display get_display ();
6646                 [Version (since = "2.14")]
6647                 public int get_format ();
6648                 [Version (since = "2.14")]
6649                 public int get_length ();
6650                 [Version (since = "2.6")]
6651                 public Gdk.Pixbuf? get_pixbuf ();
6652                 [Version (since = "2.16")]
6653                 public Gdk.Atom get_selection ();
6654                 [Version (since = "2.14")]
6655                 public Gdk.Atom get_target ();
6656                 public bool get_targets ([CCode (array_length_cname = "n_atoms", array_length_pos = 1.1)] out Gdk.Atom[] targets);
6657                 public string? get_text ();
6658                 [CCode (array_length = false, array_null_terminated = true)]
6659                 [Version (since = "2.6")]
6660                 public string[] get_uris ();
6661                 public void @set (Gdk.Atom type, int format, [CCode (array_length_cname = "length", array_length_pos = 3.1)] uint8[] data);
6662                 [Version (since = "2.6")]
6663                 public bool set_pixbuf (Gdk.Pixbuf pixbuf);
6664                 public bool set_text (string str, int len);
6665                 [Version (since = "2.6")]
6666                 public bool set_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uris);
6667                 [Version (since = "2.6")]
6668                 public bool targets_include_image (bool writable);
6669                 [Version (since = "2.10")]
6670                 public bool targets_include_rich_text (Gtk.TextBuffer buffer);
6671                 public bool targets_include_text ();
6672                 [Version (since = "2.10")]
6673                 public bool targets_include_uri ();
6674         }
6675         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_get_type ()")]
6676         public class Separator : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6677                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6678                 [Version (since = "3.0")]
6679                 public Separator (Gtk.Orientation orientation);
6680         }
6681         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_menu_item_get_type ()")]
6682         public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6683                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6684                 public SeparatorMenuItem ();
6685         }
6686         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_tool_item_get_type ()")]
6687         public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Activatable, Gtk.Buildable {
6688                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6689                 [Version (since = "2.4")]
6690                 public SeparatorToolItem ();
6691                 [Version (since = "2.4")]
6692                 public bool get_draw ();
6693                 [Version (since = "2.4")]
6694                 public void set_draw (bool draw);
6695                 public bool draw { get; set; }
6696         }
6697         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_settings_get_type ()")]
6698         public class Settings : GLib.Object, Gtk.StyleProvider {
6699                 [CCode (has_construct_function = false)]
6700                 protected Settings ();
6701                 public static unowned Gtk.Settings? get_default ();
6702                 [Version (since = "2.2")]
6703                 public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
6704                 [Version (deprecated = true, deprecated_since = "3.16")]
6705                 public static void install_property (GLib.ParamSpec pspec);
6706                 [Version (deprecated = true, deprecated_since = "3.16")]
6707                 public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
6708                 [Version (since = "3.20")]
6709                 public void reset_property (string name);
6710                 [Version (deprecated = true, deprecated_since = "3.16")]
6711                 public void set_double_property (string name, double v_double, string origin);
6712                 [Version (deprecated = true, deprecated_since = "3.16")]
6713                 public void set_long_property (string name, long v_long, string origin);
6714                 [Version (deprecated = true, deprecated_since = "3.16")]
6715                 public void set_property_value (string name, Gtk.SettingsValue svalue);
6716                 [Version (deprecated = true, deprecated_since = "3.16")]
6717                 public void set_string_property (string name, string v_string, string origin);
6718                 [NoAccessorMethod]
6719                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
6720                 public GLib.HashTable<string,Gdk.Color> color_hash { owned get; }
6721                 [NoAccessorMethod]
6722                 public bool gtk_alternative_button_order { get; set; }
6723                 [NoAccessorMethod]
6724                 [Version (since = "2.12")]
6725                 public bool gtk_alternative_sort_arrows { get; set; }
6726                 [NoAccessorMethod]
6727                 [Version (since = "3.0")]
6728                 public bool gtk_application_prefer_dark_theme { get; set; }
6729                 [NoAccessorMethod]
6730                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.20")]
6731                 public bool gtk_auto_mnemonics { get; set; }
6732                 [NoAccessorMethod]
6733                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6734                 public bool gtk_button_images { get; set; }
6735                 [NoAccessorMethod]
6736                 [Version (deprecated = true, deprecated_since = "3.10")]
6737                 public bool gtk_can_change_accels { get; set; }
6738                 [NoAccessorMethod]
6739                 [Version (deprecated = true, deprecated_since = "3.10")]
6740                 public string gtk_color_palette { owned get; set; }
6741                 [NoAccessorMethod]
6742                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
6743                 public string gtk_color_scheme { owned get; set; }
6744                 [NoAccessorMethod]
6745                 public bool gtk_cursor_blink { get; set; }
6746                 [NoAccessorMethod]
6747                 public int gtk_cursor_blink_time { get; set; }
6748                 [NoAccessorMethod]
6749                 [Version (since = "2.12")]
6750                 public int gtk_cursor_blink_timeout { get; set; }
6751                 [NoAccessorMethod]
6752                 public string gtk_cursor_theme_name { owned get; set; }
6753                 [NoAccessorMethod]
6754                 public int gtk_cursor_theme_size { get; set; }
6755                 [NoAccessorMethod]
6756                 [Version (since = "3.12")]
6757                 public string gtk_decoration_layout { owned get; set; }
6758                 [NoAccessorMethod]
6759                 [Version (since = "3.12")]
6760                 public bool gtk_dialogs_use_header { get; set; }
6761                 [NoAccessorMethod]
6762                 public int gtk_dnd_drag_threshold { get; set; }
6763                 [NoAccessorMethod]
6764                 public int gtk_double_click_distance { get; set; }
6765                 [NoAccessorMethod]
6766                 public int gtk_double_click_time { get; set; }
6767                 [NoAccessorMethod]
6768                 [Version (since = "2.12")]
6769                 public bool gtk_enable_accels { get; set; }
6770                 [NoAccessorMethod]
6771                 public bool gtk_enable_animations { get; set; }
6772                 [NoAccessorMethod]
6773                 [Version (since = "2.14")]
6774                 public bool gtk_enable_event_sounds { get; set; }
6775                 [NoAccessorMethod]
6776                 [Version (since = "2.14")]
6777                 public bool gtk_enable_input_feedback_sounds { get; set; }
6778                 [NoAccessorMethod]
6779                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6780                 public bool gtk_enable_mnemonics { get; set; }
6781                 [NoAccessorMethod]
6782                 [Version (since = "3.4")]
6783                 public bool gtk_enable_primary_paste { get; set; }
6784                 [NoAccessorMethod]
6785                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
6786                 public bool gtk_enable_tooltips { get; set; }
6787                 [NoAccessorMethod]
6788                 [Version (since = "2.10")]
6789                 public uint gtk_entry_password_hint_timeout { get; set; }
6790                 [NoAccessorMethod]
6791                 public bool gtk_entry_select_on_focus { get; set; }
6792                 [NoAccessorMethod]
6793                 [Version (since = "2.12")]
6794                 public bool gtk_error_bell { get; set; }
6795                 [NoAccessorMethod]
6796                 [Version (deprecated = true, deprecated_since = "3.10")]
6797                 public string gtk_fallback_icon_theme { owned get; set; }
6798                 [NoAccessorMethod]
6799                 [Version (deprecated = true, deprecated_since = "3.10")]
6800                 public string gtk_file_chooser_backend { owned get; set; }
6801                 [NoAccessorMethod]
6802                 public string gtk_font_name { owned get; set; }
6803                 [NoAccessorMethod]
6804                 public uint gtk_fontconfig_timestamp { get; set; }
6805                 [NoAccessorMethod]
6806                 [Version (deprecated = true, deprecated_since = "3.10")]
6807                 public string gtk_icon_sizes { owned get; set; }
6808                 [NoAccessorMethod]
6809                 public string gtk_icon_theme_name { owned get; set; }
6810                 [NoAccessorMethod]
6811                 public string gtk_im_module { owned get; set; }
6812                 [NoAccessorMethod]
6813                 [Version (deprecated = true, deprecated_since = "3.10")]
6814                 public Gtk.IMPreeditStyle gtk_im_preedit_style { get; set; }
6815                 [NoAccessorMethod]
6816                 [Version (deprecated = true, deprecated_since = "3.10")]
6817                 public Gtk.IMStatusStyle gtk_im_status_style { get; set; }
6818                 [NoAccessorMethod]
6819                 public string gtk_key_theme_name { owned get; set; }
6820                 [NoAccessorMethod]
6821                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6822                 public bool gtk_keynav_cursor_only { get; set; }
6823                 [NoAccessorMethod]
6824                 [Version (since = "3.20")]
6825                 public bool gtk_keynav_use_caret { get; set; }
6826                 [NoAccessorMethod]
6827                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6828                 public bool gtk_keynav_wrap_around { get; set; }
6829                 [NoAccessorMethod]
6830                 public bool gtk_label_select_on_focus { get; set; }
6831                 [NoAccessorMethod]
6832                 [Version (since = "3.14")]
6833                 public uint gtk_long_press_time { get; set; }
6834                 [NoAccessorMethod]
6835                 [Version (deprecated = true, deprecated_since = "3.10")]
6836                 public string gtk_menu_bar_accel { owned get; set; }
6837                 [NoAccessorMethod]
6838                 [Version (deprecated = true, deprecated_since = "3.10")]
6839                 public int gtk_menu_bar_popup_delay { get; set; }
6840                 [NoAccessorMethod]
6841                 [Version (deprecated = true, deprecated_since = "3.10")]
6842                 public bool gtk_menu_images { get; set; }
6843                 [NoAccessorMethod]
6844                 [Version (deprecated = true, deprecated_since = "3.10")]
6845                 public int gtk_menu_popdown_delay { get; set; }
6846                 [NoAccessorMethod]
6847                 [Version (deprecated = true, deprecated_since = "3.10")]
6848                 public int gtk_menu_popup_delay { get; set; }
6849                 [NoAccessorMethod]
6850                 public string gtk_modules { owned get; set; }
6851                 [NoAccessorMethod]
6852                 [Version (since = "3.6")]
6853                 public bool gtk_primary_button_warps_slider { get; set; }
6854                 [NoAccessorMethod]
6855                 [Version (since = "2.10")]
6856                 public string gtk_print_backends { owned get; set; }
6857                 [NoAccessorMethod]
6858                 [Version (since = "2.10")]
6859                 public string gtk_print_preview_command { owned get; set; }
6860                 [NoAccessorMethod]
6861                 [Version (since = "3.8")]
6862                 public bool gtk_recent_files_enabled { get; set; }
6863                 [NoAccessorMethod]
6864                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6865                 public int gtk_recent_files_limit { get; set; }
6866                 [NoAccessorMethod]
6867                 [Version (since = "2.14")]
6868                 public int gtk_recent_files_max_age { get; set; }
6869                 [NoAccessorMethod]
6870                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
6871                 public Gtk.CornerType gtk_scrolled_window_placement { get; set; }
6872                 [NoAccessorMethod]
6873                 public bool gtk_shell_shows_app_menu { get; set; }
6874                 [NoAccessorMethod]
6875                 public bool gtk_shell_shows_desktop { get; set; }
6876                 [NoAccessorMethod]
6877                 public bool gtk_shell_shows_menubar { get; set; }
6878                 [NoAccessorMethod]
6879                 [Version (deprecated = true, deprecated_since = "3.10")]
6880                 public bool gtk_show_input_method_menu { get; set; }
6881                 [NoAccessorMethod]
6882                 [Version (deprecated = true, deprecated_since = "3.10")]
6883                 public bool gtk_show_unicode_menu { get; set; }
6884                 [NoAccessorMethod]
6885                 [Version (since = "2.14")]
6886                 public string gtk_sound_theme_name { owned get; set; }
6887                 [NoAccessorMethod]
6888                 public bool gtk_split_cursor { get; set; }
6889                 [NoAccessorMethod]
6890                 public string gtk_theme_name { owned get; set; }
6891                 [NoAccessorMethod]
6892                 [Version (deprecated = true, deprecated_since = "3.10")]
6893                 public int gtk_timeout_expand { get; set; }
6894                 [NoAccessorMethod]
6895                 [Version (deprecated = true, deprecated_since = "3.10")]
6896                 public int gtk_timeout_initial { get; set; }
6897                 [NoAccessorMethod]
6898                 [Version (deprecated = true, deprecated_since = "3.10")]
6899                 public int gtk_timeout_repeat { get; set; }
6900                 [NoAccessorMethod]
6901                 [Version (since = "3.14")]
6902                 public string gtk_titlebar_double_click { owned get; set; }
6903                 [NoAccessorMethod]
6904                 [Version (since = "3.14")]
6905                 public string gtk_titlebar_middle_click { owned get; set; }
6906                 [NoAccessorMethod]
6907                 [Version (since = "3.14")]
6908                 public string gtk_titlebar_right_click { owned get; set; }
6909                 [NoAccessorMethod]
6910                 [Version (deprecated = true, deprecated_since = "3.10")]
6911                 public Gtk.IconSize gtk_toolbar_icon_size { get; set; }
6912                 [NoAccessorMethod]
6913                 [Version (deprecated = true, deprecated_since = "3.10")]
6914                 public Gtk.ToolbarStyle gtk_toolbar_style { get; set; }
6915                 [NoAccessorMethod]
6916                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6917                 public int gtk_tooltip_browse_mode_timeout { get; set; }
6918                 [NoAccessorMethod]
6919                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6920                 public int gtk_tooltip_browse_timeout { get; set; }
6921                 [NoAccessorMethod]
6922                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6923                 public int gtk_tooltip_timeout { get; set; }
6924                 [NoAccessorMethod]
6925                 [Version (deprecated = true, deprecated_since = "3.4.", since = "2.10")]
6926                 public bool gtk_touchscreen_mode { get; set; }
6927                 [NoAccessorMethod]
6928                 [Version (deprecated = true, deprecated_since = "3.10", since = "3.2")]
6929                 public Gtk.PolicyType gtk_visible_focus { get; set; }
6930                 [NoAccessorMethod]
6931                 public int gtk_xft_antialias { get; set; }
6932                 [NoAccessorMethod]
6933                 public int gtk_xft_dpi { get; set; }
6934                 [NoAccessorMethod]
6935                 public int gtk_xft_hinting { get; set; }
6936                 [NoAccessorMethod]
6937                 public string gtk_xft_hintstyle { owned get; set; }
6938                 [NoAccessorMethod]
6939                 public string gtk_xft_rgba { owned get; set; }
6940         }
6941         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcut_label_get_type ()")]
6942         public class ShortcutLabel : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6943                 [CCode (has_construct_function = false, type = "GtkWidget*")]
6944                 [Version (since = "3.22")]
6945                 public ShortcutLabel (string accelerator);
6946                 [Version (since = "3.22")]
6947                 public unowned string? get_accelerator ();
6948                 [Version (since = "3.22")]
6949                 public unowned string? get_disabled_text ();
6950                 [Version (since = "3.22")]
6951                 public void set_accelerator (string accelerator);
6952                 [Version (since = "3.22")]
6953                 public void set_disabled_text (string disabled_text);
6954                 [Version (since = "3.22")]
6955                 public string accelerator { get; set; }
6956                 [Version (since = "3.22")]
6957                 public string disabled_text { get; set; }
6958         }
6959         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_group_get_type ()")]
6960         public class ShortcutsGroup : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6961                 [CCode (has_construct_function = false)]
6962                 protected ShortcutsGroup ();
6963                 [NoAccessorMethod]
6964                 public Gtk.SizeGroup accel_size_group { set; }
6965                 [NoAccessorMethod]
6966                 public uint height { get; }
6967                 [NoAccessorMethod]
6968                 public string title { owned get; set; }
6969                 [NoAccessorMethod]
6970                 public Gtk.SizeGroup title_size_group { set; }
6971                 [NoAccessorMethod]
6972                 public string view { owned get; set; }
6973         }
6974         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_section_get_type ()")]
6975         public class ShortcutsSection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6976                 [CCode (has_construct_function = false)]
6977                 protected ShortcutsSection ();
6978                 [NoAccessorMethod]
6979                 public uint max_height { get; set; }
6980                 [NoAccessorMethod]
6981                 public string section_name { owned get; set; }
6982                 [NoAccessorMethod]
6983                 public string title { owned get; set; }
6984                 [NoAccessorMethod]
6985                 public string view_name { owned get; set; }
6986                 public signal bool change_current_page (int object);
6987         }
6988         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_shortcut_get_type ()")]
6989         public class ShortcutsShortcut : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6990                 [CCode (has_construct_function = false)]
6991                 protected ShortcutsShortcut ();
6992                 [NoAccessorMethod]
6993                 public Gtk.SizeGroup accel_size_group { set; }
6994                 [NoAccessorMethod]
6995                 public string accelerator { owned get; set; }
6996                 [NoAccessorMethod]
6997                 [Version (since = "3.22")]
6998                 public string action_name { owned get; set; }
6999                 [NoAccessorMethod]
7000                 public Gtk.TextDirection direction { get; set; }
7001                 [NoAccessorMethod]
7002                 public GLib.Icon icon { owned get; set; }
7003                 [NoAccessorMethod]
7004                 public bool icon_set { get; set; }
7005                 [NoAccessorMethod]
7006                 public Gtk.ShortcutType shortcut_type { get; set; }
7007                 [NoAccessorMethod]
7008                 public string subtitle { owned get; set; }
7009                 [NoAccessorMethod]
7010                 public bool subtitle_set { get; set; }
7011                 [NoAccessorMethod]
7012                 public string title { owned get; set; }
7013                 [NoAccessorMethod]
7014                 public Gtk.SizeGroup title_size_group { set; }
7015         }
7016         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_window_get_type ()")]
7017         public class ShortcutsWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
7018                 [CCode (has_construct_function = false)]
7019                 protected ShortcutsWindow ();
7020                 [NoAccessorMethod]
7021                 public string section_name { owned get; set; }
7022                 [NoAccessorMethod]
7023                 public string view_name { owned get; set; }
7024                 public virtual signal void close ();
7025                 public virtual signal void search ();
7026         }
7027         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_size_group_get_type ()")]
7028         public class SizeGroup : GLib.Object, Gtk.Buildable {
7029                 [CCode (has_construct_function = false)]
7030                 public SizeGroup (Gtk.SizeGroupMode mode);
7031                 public void add_widget (Gtk.Widget widget);
7032                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7033                 public bool get_ignore_hidden ();
7034                 public Gtk.SizeGroupMode get_mode ();
7035                 [Version (since = "2.10")]
7036                 public unowned GLib.SList<Gtk.Widget> get_widgets ();
7037                 public void remove_widget (Gtk.Widget widget);
7038                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7039                 public void set_ignore_hidden (bool ignore_hidden);
7040                 public void set_mode (Gtk.SizeGroupMode mode);
7041                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7042                 public bool ignore_hidden { get; set; }
7043                 public Gtk.SizeGroupMode mode { get; set; }
7044         }
7045         [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_socket_get_type ()")]
7046         public class Socket : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7047                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7048                 public Socket ();
7049                 public void add_id (X.Window window);
7050                 public X.Window get_id ();
7051                 [Version (since = "2.14")]
7052                 public unowned Gdk.Window? get_plug_window ();
7053                 public virtual signal void plug_added ();
7054                 public virtual signal bool plug_removed ();
7055         }
7056         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
7057         public class SpinButton : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable, Gtk.Orientable {
7058                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7059                 public SpinButton (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
7060                 public void configure (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
7061                 public unowned Gtk.Adjustment get_adjustment ();
7062                 public uint get_digits ();
7063                 public void get_increments (out double step, out double page);
7064                 public bool get_numeric ();
7065                 public void get_range (out double min, out double max);
7066                 public bool get_snap_to_ticks ();
7067                 public Gtk.SpinButtonUpdatePolicy get_update_policy ();
7068                 public double get_value ();
7069                 public int get_value_as_int ();
7070                 public bool get_wrap ();
7071                 public void set_adjustment (Gtk.Adjustment adjustment);
7072                 public void set_digits (uint digits);
7073                 public void set_increments (double step, double page);
7074                 public void set_numeric (bool numeric);
7075                 public void set_range (double min, double max);
7076                 public void set_snap_to_ticks (bool snap_to_ticks);
7077                 public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
7078                 public void set_value (double value);
7079                 public void set_wrap (bool wrap);
7080                 public void spin (Gtk.SpinType direction, double increment);
7081                 public void update ();
7082                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7083                 public SpinButton.with_range (double min, double max, double step);
7084                 public Gtk.Adjustment adjustment { get; set; }
7085                 [NoAccessorMethod]
7086                 public double climb_rate { get; set; }
7087                 public uint digits { get; set; }
7088                 public bool numeric { get; set; }
7089                 public bool snap_to_ticks { get; set; }
7090                 public Gtk.SpinButtonUpdatePolicy update_policy { get; set; }
7091                 public double value { get; set; }
7092                 public bool wrap { get; set; }
7093                 public virtual signal void change_value (Gtk.ScrollType scroll);
7094                 public virtual signal int input (out double new_value);
7095                 public virtual signal bool output ();
7096                 public virtual signal void value_changed ();
7097                 [Version (since = "2.10")]
7098                 public virtual signal void wrapped ();
7099         }
7100         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spin_button_accessible_get_type ()")]
7101         public class SpinButtonAccessible : Gtk.EntryAccessible, Atk.Action, Atk.Component, Atk.EditableText, Atk.Text, Atk.Value {
7102                 [CCode (has_construct_function = false)]
7103                 protected SpinButtonAccessible ();
7104         }
7105         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spinner_get_type ()")]
7106         public class Spinner : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
7107                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7108                 [Version (since = "2.20")]
7109                 public Spinner ();
7110                 [Version (since = "2.20")]
7111                 public void start ();
7112                 [Version (since = "2.20")]
7113                 public void stop ();
7114                 [NoAccessorMethod]
7115                 public bool active { get; set; }
7116         }
7117         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spinner_accessible_get_type ()")]
7118         public class SpinnerAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
7119                 [CCode (has_construct_function = false)]
7120                 protected SpinnerAccessible ();
7121         }
7122         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_get_type ()")]
7123         public class Stack : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7124                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7125                 [Version (since = "3.10")]
7126                 public Stack ();
7127                 [Version (since = "3.10")]
7128                 public void add_named (Gtk.Widget child, string name);
7129                 [Version (since = "3.10")]
7130                 public void add_titled (Gtk.Widget child, string name, string title);
7131                 [Version (since = "3.12")]
7132                 public unowned Gtk.Widget? get_child_by_name (string name);
7133                 [Version (since = "3.16")]
7134                 public bool get_hhomogeneous ();
7135                 [Version (since = "3.10")]
7136                 public bool get_homogeneous ();
7137                 [Version (since = "3.18")]
7138                 public bool get_interpolate_size ();
7139                 [Version (since = "3.10")]
7140                 public uint get_transition_duration ();
7141                 [Version (since = "3.12")]
7142                 public bool get_transition_running ();
7143                 [Version (since = "3.10")]
7144                 public Gtk.StackTransitionType get_transition_type ();
7145                 [Version (since = "3.16")]
7146                 public bool get_vhomogeneous ();
7147                 [Version (since = "3.10")]
7148                 public unowned Gtk.Widget? get_visible_child ();
7149                 [Version (since = "3.10")]
7150                 public unowned string? get_visible_child_name ();
7151                 [Version (since = "3.16")]
7152                 public void set_hhomogeneous (bool hhomogeneous);
7153                 [Version (since = "3.10")]
7154                 public void set_homogeneous (bool homogeneous);
7155                 [Version (since = "3.18")]
7156                 public void set_interpolate_size (bool interpolate_size);
7157                 [Version (since = "3.10")]
7158                 public void set_transition_duration (uint duration);
7159                 [Version (since = "3.10")]
7160                 public void set_transition_type (Gtk.StackTransitionType transition);
7161                 [Version (since = "3.16")]
7162                 public void set_vhomogeneous (bool vhomogeneous);
7163                 [Version (since = "3.10")]
7164                 public void set_visible_child (Gtk.Widget child);
7165                 [Version (since = "3.10")]
7166                 public void set_visible_child_full (string name, Gtk.StackTransitionType transition);
7167                 [Version (since = "3.10")]
7168                 public void set_visible_child_name (string name);
7169                 [Version (since = "3.16")]
7170                 public bool hhomogeneous { get; set; }
7171                 public bool homogeneous { get; set; }
7172                 public bool interpolate_size { get; set; }
7173                 public uint transition_duration { get; set; }
7174                 public bool transition_running { get; }
7175                 public Gtk.StackTransitionType transition_type { get; set; }
7176                 [Version (since = "3.16")]
7177                 public bool vhomogeneous { get; set; }
7178                 public Gtk.Widget visible_child { get; set; }
7179                 public string visible_child_name { get; set; }
7180         }
7181         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_stack_accessible_get_type ()")]
7182         public class StackAccessible : Gtk.ContainerAccessible, Atk.Component {
7183                 [CCode (has_construct_function = false)]
7184                 protected StackAccessible ();
7185         }
7186         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_sidebar_get_type ()")]
7187         public class StackSidebar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
7188                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7189                 [Version (since = "3.16")]
7190                 public StackSidebar ();
7191                 [Version (since = "3.16")]
7192                 public unowned Gtk.Stack? get_stack ();
7193                 [Version (since = "3.16")]
7194                 public void set_stack (Gtk.Stack stack);
7195                 public Gtk.Stack stack { get; set; }
7196         }
7197         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_switcher_get_type ()")]
7198         public class StackSwitcher : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7199                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7200                 [Version (since = "3.10")]
7201                 public StackSwitcher ();
7202                 [Version (since = "3.10")]
7203                 public unowned Gtk.Stack? get_stack ();
7204                 [Version (since = "3.10")]
7205                 public void set_stack (Gtk.Stack? stack);
7206                 [NoAccessorMethod]
7207                 [Version (since = "3.20")]
7208                 public int icon_size { get; set; }
7209                 public Gtk.Stack stack { get; set construct; }
7210         }
7211         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_status_icon_get_type ()")]
7212         [Version (deprecated = true, deprecated_since = "3.14")]
7213         public class StatusIcon : GLib.Object {
7214                 [CCode (has_construct_function = false)]
7215                 [Version (since = "2.10")]
7216                 public StatusIcon ();
7217                 [CCode (has_construct_function = false)]
7218                 [Version (since = "2.10")]
7219                 public StatusIcon.from_file (string filename);
7220                 [CCode (has_construct_function = false)]
7221                 [Version (since = "2.14")]
7222                 public StatusIcon.from_gicon (GLib.Icon icon);
7223                 [CCode (has_construct_function = false)]
7224                 [Version (since = "2.10")]
7225                 public StatusIcon.from_icon_name (string icon_name);
7226                 [CCode (has_construct_function = false)]
7227                 [Version (since = "2.10")]
7228                 public StatusIcon.from_pixbuf (Gdk.Pixbuf pixbuf);
7229                 [CCode (has_construct_function = false)]
7230                 [Version (since = "2.10")]
7231                 public StatusIcon.from_stock (string stock_id);
7232                 [Version (since = "2.10")]
7233                 public bool get_geometry (out unowned Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation);
7234                 [Version (since = "2.14")]
7235                 public unowned GLib.Icon? get_gicon ();
7236                 [Version (since = "2.16")]
7237                 public bool get_has_tooltip ();
7238                 [Version (since = "2.10")]
7239                 public unowned string? get_icon_name ();
7240                 [Version (since = "2.10")]
7241                 public unowned Gdk.Pixbuf? get_pixbuf ();
7242                 [Version (since = "2.12")]
7243                 public unowned Gdk.Screen get_screen ();
7244                 [Version (since = "2.10")]
7245                 public int get_size ();
7246                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
7247                 public unowned string? get_stock ();
7248                 [Version (since = "2.10")]
7249                 public Gtk.ImageType get_storage_type ();
7250                 [Version (since = "2.18")]
7251                 public unowned string get_title ();
7252                 [Version (since = "2.16")]
7253                 public string? get_tooltip_markup ();
7254                 [Version (since = "2.16")]
7255                 public string? get_tooltip_text ();
7256                 [Version (since = "2.10")]
7257                 public bool get_visible ();
7258                 [Version (since = "2.14")]
7259                 public uint32 get_x11_window_id ();
7260                 [Version (since = "2.10")]
7261                 public bool is_embedded ();
7262                 [CCode (instance_pos = -1)]
7263                 [Version (since = "2.10")]
7264                 public void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
7265                 [Version (since = "2.10")]
7266                 public void set_from_file (string filename);
7267                 [Version (since = "2.14")]
7268                 public void set_from_gicon (GLib.Icon icon);
7269                 [Version (since = "2.10")]
7270                 public void set_from_icon_name (string icon_name);
7271                 [Version (since = "2.10")]
7272                 public void set_from_pixbuf (Gdk.Pixbuf? pixbuf);
7273                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
7274                 public void set_from_stock (string stock_id);
7275                 [Version (since = "2.16")]
7276                 public void set_has_tooltip (bool has_tooltip);
7277                 [Version (since = "2.20")]
7278                 public void set_name (string name);
7279                 [Version (since = "2.12")]
7280                 public void set_screen (Gdk.Screen screen);
7281                 [Version (since = "2.18")]
7282                 public void set_title (string title);
7283                 [Version (since = "2.16")]
7284                 public void set_tooltip_markup (string? markup);
7285                 [Version (since = "2.16")]
7286                 public void set_tooltip_text (string text);
7287                 [Version (since = "2.10")]
7288                 public void set_visible (bool visible);
7289                 [NoAccessorMethod]
7290                 [Version (since = "2.12")]
7291                 public bool embedded { get; }
7292                 [NoAccessorMethod]
7293                 public string file { set; }
7294                 [NoAccessorMethod]
7295                 [Version (since = "2.14")]
7296                 public GLib.Icon gicon { owned get; set; }
7297                 [Version (since = "2.16")]
7298                 public bool has_tooltip { get; set; }
7299                 [NoAccessorMethod]
7300                 public string icon_name { owned get; set; }
7301                 [NoAccessorMethod]
7302                 [Version (since = "2.12")]
7303                 public Gtk.Orientation orientation { get; }
7304                 [NoAccessorMethod]
7305                 public Gdk.Pixbuf pixbuf { owned get; set; }
7306                 public Gdk.Screen screen { get; set; }
7307                 public int size { get; }
7308                 [NoAccessorMethod]
7309                 [Version (deprecated = true, deprecated_since = "3.10")]
7310                 public string stock { owned get; set; }
7311                 public Gtk.ImageType storage_type { get; }
7312                 [Version (since = "2.18")]
7313                 public string title { get; set; }
7314                 [Version (since = "2.16")]
7315                 public string tooltip_markup { owned get; set; }
7316                 [Version (since = "2.16")]
7317                 public string tooltip_text { owned get; set; }
7318                 public bool visible { get; set; }
7319                 [Version (since = "2.10")]
7320                 public virtual signal void activate ();
7321                 [Version (since = "2.14")]
7322                 public virtual signal bool button_press_event (Gdk.EventButton event);
7323                 [Version (since = "2.14")]
7324                 public virtual signal bool button_release_event (Gdk.EventButton event);
7325                 [Version (since = "2.10")]
7326                 public virtual signal void popup_menu (uint button, uint activate_time);
7327                 [Version (since = "2.16")]
7328                 public virtual signal bool query_tooltip (int x, int y, bool keyboard_mode, Gtk.Tooltip tooltip);
7329                 [Version (since = "2.16")]
7330                 public virtual signal bool scroll_event (Gdk.EventScroll event);
7331                 [Version (since = "2.10")]
7332                 public virtual signal bool size_changed (int size);
7333         }
7334         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_statusbar_get_type ()")]
7335         public class Statusbar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7336                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7337                 public Statusbar ();
7338                 public uint get_context_id (string context_description);
7339                 [Version (since = "2.20")]
7340                 public unowned Gtk.Box get_message_area ();
7341                 public void pop (uint context_id);
7342                 public uint push (uint context_id, string text);
7343                 public void remove (uint context_id, uint message_id);
7344                 [Version (since = "2.22")]
7345                 public void remove_all (uint context_id);
7346                 public virtual signal void text_popped (uint context_id, string text);
7347                 public virtual signal void text_pushed (uint context_id, string text);
7348         }
7349         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_statusbar_accessible_get_type ()")]
7350         public class StatusbarAccessible : Gtk.ContainerAccessible, Atk.Component {
7351                 [CCode (has_construct_function = false)]
7352                 protected StatusbarAccessible ();
7353         }
7354         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_get_type ()")]
7355         [Version (deprecated = true, deprecated_since = "3.0", replacement = "StyleContext")]
7356         public class Style : GLib.Object {
7357                 [CCode (array_length = false)]
7358                 public weak Cairo.Pattern background[5];
7359                 [CCode (array_length = false)]
7360                 public Gdk.Color @base[5];
7361                 [CCode (array_length = false)]
7362                 public Gdk.Color bg[5];
7363                 public Gdk.Color black;
7364                 [CCode (array_length = false)]
7365                 public Gdk.Color dark[5];
7366                 [CCode (array_length = false)]
7367                 public Gdk.Color fg[5];
7368                 public weak Pango.FontDescription font_desc;
7369                 [CCode (array_length = false)]
7370                 public Gdk.Color light[5];
7371                 [CCode (array_length = false)]
7372                 public Gdk.Color mid[5];
7373                 [CCode (array_length = false)]
7374                 public Gdk.Color text[5];
7375                 [CCode (array_length = false)]
7376                 public Gdk.Color text_aa[5];
7377                 public Gdk.Color white;
7378                 public int xthickness;
7379                 public int ythickness;
7380                 [CCode (has_construct_function = false)]
7381                 public Style ();
7382                 public void apply_default_background (Cairo.Context cr, Gdk.Window window, Gtk.StateType state_type, int x, int y, int width, int height);
7383                 [NoWrapper]
7384                 public virtual Gtk.Style clone ();
7385                 public Gtk.Style copy ();
7386                 [CCode (instance_pos = -1, vfunc_name = "copy")]
7387                 [NoWrapper]
7388                 public virtual void copy_to (Gtk.Style dest);
7389                 public void detach ();
7390                 [NoWrapper]
7391                 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);
7392                 [NoWrapper]
7393                 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);
7394                 [NoWrapper]
7395                 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);
7396                 [NoWrapper]
7397                 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);
7398                 [NoWrapper]
7399                 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);
7400                 [NoWrapper]
7401                 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);
7402                 [NoWrapper]
7403                 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);
7404                 [NoWrapper]
7405                 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);
7406                 [NoWrapper]
7407                 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);
7408                 [NoWrapper]
7409                 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);
7410                 [NoWrapper]
7411                 public virtual void draw_hline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x1, int x2, int y);
7412                 [NoWrapper]
7413                 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);
7414                 [NoWrapper]
7415                 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);
7416                 [NoWrapper]
7417                 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);
7418                 [NoWrapper]
7419                 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);
7420                 [NoWrapper]
7421                 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);
7422                 [NoWrapper]
7423                 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);
7424                 [NoWrapper]
7425                 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);
7426                 [NoWrapper]
7427                 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);
7428                 [NoWrapper]
7429                 public virtual void draw_vline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int y1_, int y2_, int x);
7430                 [Version (since = "2.16")]
7431                 public void @get (GLib.Type widget_type, ...);
7432                 [Version (since = "2.16")]
7433                 public void get_style_property (GLib.Type widget_type, string property_name, out GLib.Value value);
7434                 [Version (since = "2.16")]
7435                 public void get_valist (GLib.Type widget_type, string first_property_name, [CCode (type = "va_list")] va_list var_args);
7436                 [Version (since = "3.0")]
7437                 public bool has_context ();
7438                 [NoWrapper]
7439                 public virtual void init_from_rc (Gtk.RcStyle rc_style);
7440                 [Version (since = "2.10")]
7441                 public bool lookup_color (string color_name, out Gdk.Color color);
7442                 public unowned Gtk.IconSet lookup_icon_set (string stock_id);
7443                 public virtual Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, int size, Gtk.Widget? widget, string? detail);
7444                 public virtual void set_background (Gdk.Window window, Gtk.StateType state_type);
7445                 [NoAccessorMethod]
7446                 public Gtk.StyleContext context { owned get; construct; }
7447                 [Version (since = "2.4")]
7448                 public virtual signal void realize ();
7449                 [Version (since = "2.4")]
7450                 public virtual signal void unrealize ();
7451         }
7452         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_context_get_type ()")]
7453         public class StyleContext : GLib.Object {
7454                 [CCode (has_construct_function = false)]
7455                 public StyleContext ();
7456                 [Version (since = "3.0")]
7457                 public void add_class (string class_name);
7458                 [Version (since = "3.0")]
7459                 public void add_provider (Gtk.StyleProvider provider, uint priority);
7460                 [Version (since = "3.0")]
7461                 public static void add_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider, uint priority);
7462                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7463                 public void add_region (string region_name, Gtk.RegionFlags flags);
7464                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7465                 public void cancel_animations (void* region_id);
7466                 [Version (since = "3.0")]
7467                 public void @get (Gtk.StateFlags state, ...);
7468                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7469                 public Gdk.RGBA get_background_color (Gtk.StateFlags state);
7470                 [Version (since = "3.0")]
7471                 public Gtk.Border get_border (Gtk.StateFlags state);
7472                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7473                 public Gdk.RGBA get_border_color (Gtk.StateFlags state);
7474                 [Version (since = "3.0")]
7475                 public Gdk.RGBA get_color (Gtk.StateFlags state);
7476                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7477                 public Gtk.TextDirection get_direction ();
7478                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7479                 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
7480                 [Version (since = "3.8")]
7481                 public unowned Gdk.FrameClock? get_frame_clock ();
7482                 [Version (since = "3.0")]
7483                 public Gtk.JunctionSides get_junction_sides ();
7484                 [Version (since = "3.0")]
7485                 public Gtk.Border get_margin (Gtk.StateFlags state);
7486                 [Version (since = "3.0")]
7487                 public Gtk.Border get_padding (Gtk.StateFlags state);
7488                 [Version (since = "3.4")]
7489                 public unowned Gtk.StyleContext? get_parent ();
7490                 [Version (since = "3.0")]
7491                 public unowned Gtk.WidgetPath get_path ();
7492                 [Version (since = "3.0")]
7493                 public GLib.Value get_property (string property, Gtk.StateFlags state);
7494                 [Version (since = "3.10")]
7495                 public int get_scale ();
7496                 public unowned Gdk.Screen get_screen ();
7497                 public unowned Gtk.CssSection? get_section (string property);
7498                 [Version (since = "3.0")]
7499                 public Gtk.StateFlags get_state ();
7500                 [Version (since = "3.0")]
7501                 public void get_style (...);
7502                 public void get_style_property (string property_name, GLib.Value value);
7503                 [Version (since = "3.0")]
7504                 public void get_style_valist ([CCode (type = "va_list")] va_list args);
7505                 [Version (since = "3.0")]
7506                 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7507                 [Version (since = "3.0")]
7508                 public bool has_class (string class_name);
7509                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7510                 public bool has_region (string region_name, out Gtk.RegionFlags flags_return);
7511                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
7512                 public void invalidate ();
7513                 [Version (since = "3.0")]
7514                 public GLib.List<weak string> list_classes ();
7515                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7516                 public GLib.List<weak string> list_regions ();
7517                 public bool lookup_color (string color_name, out Gdk.RGBA color);
7518                 [Version (deprecated = true, deprecated_since = "3.10")]
7519                 public unowned Gtk.IconSet? lookup_icon_set (string stock_id);
7520                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7521                 public void notify_state_change (Gdk.Window window, void* region_id, Gtk.StateType state, bool state_value);
7522                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7523                 public void pop_animatable_region ();
7524                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7525                 public void push_animatable_region (void* region_id);
7526                 [Version (since = "3.0")]
7527                 public void remove_class (string class_name);
7528                 [Version (since = "3.0")]
7529                 public void remove_provider (Gtk.StyleProvider provider);
7530                 [Version (since = "3.0")]
7531                 public static void remove_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider);
7532                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7533                 public void remove_region (string region_name);
7534                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_activity")]
7535                 [Version (since = "3.0")]
7536                 public void render_activity (Cairo.Context cr, double x, double y, double width, double height);
7537                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_arrow")]
7538                 [Version (since = "3.0")]
7539                 public void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
7540                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_background")]
7541                 [Version (since = "3.0.")]
7542                 public void render_background (Cairo.Context cr, double x, double y, double width, double height);
7543                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_background_get_clip")]
7544                 [Version (since = "3.20")]
7545                 public Gdk.Rectangle render_background_get_clip (double x, double y, double width, double height);
7546                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_check")]
7547                 [Version (since = "3.0")]
7548                 public void render_check (Cairo.Context cr, double x, double y, double width, double height);
7549                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_expander")]
7550                 [Version (since = "3.0")]
7551                 public void render_expander (Cairo.Context cr, double x, double y, double width, double height);
7552                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_extension")]
7553                 [Version (since = "3.0")]
7554                 public void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
7555                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_focus")]
7556                 [Version (since = "3.0")]
7557                 public void render_focus (Cairo.Context cr, double x, double y, double width, double height);
7558                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_frame")]
7559                 [Version (since = "3.0")]
7560                 public void render_frame (Cairo.Context cr, double x, double y, double width, double height);
7561                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_frame_gap")]
7562                 [Version (since = "3.0")]
7563                 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);
7564                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_handle")]
7565                 [Version (since = "3.0")]
7566                 public void render_handle (Cairo.Context cr, double x, double y, double width, double height);
7567                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon")]
7568                 [Version (since = "3.2")]
7569                 public void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
7570                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon_pixbuf")]
7571                 [Version (deprecated = true, deprecated_since = "3.10", since = "3.0")]
7572                 public Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
7573                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon_surface")]
7574                 [Version (since = "3.10")]
7575                 public void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
7576                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_insertion_cursor")]
7577                 [Version (since = "3.4")]
7578                 public void render_insertion_cursor (Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
7579                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_layout")]
7580                 [Version (since = "3.0")]
7581                 public void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
7582                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_line")]
7583                 [Version (since = "3.0")]
7584                 public void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
7585                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_option")]
7586                 [Version (since = "3.0")]
7587                 public void render_option (Cairo.Context cr, double x, double y, double width, double height);
7588                 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_slider")]
7589                 [Version (since = "3.0")]
7590                 public void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
7591                 [Version (since = "3.0")]
7592                 public static void reset_widgets (Gdk.Screen screen);
7593                 [Version (since = "3.0")]
7594                 public void restore ();
7595                 [Version (since = "3.0")]
7596                 public void save ();
7597                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7598                 public void scroll_animations (Gdk.Window window, int dx, int dy);
7599                 [Version (deprecated = true, deprecated_since = "3.18", since = "3.0")]
7600                 public void set_background (Gdk.Window window);
7601                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7602                 public void set_direction (Gtk.TextDirection direction);
7603                 [Version (since = "3.8")]
7604                 public void set_frame_clock (Gdk.FrameClock frame_clock);
7605                 [Version (since = "3.0")]
7606                 public void set_junction_sides (Gtk.JunctionSides sides);
7607                 [Version (since = "3.4")]
7608                 public void set_parent (Gtk.StyleContext? parent);
7609                 [Version (since = "3.0")]
7610                 public void set_path (Gtk.WidgetPath path);
7611                 [Version (since = "3.10")]
7612                 public void set_scale (int scale);
7613                 [Version (since = "3.0")]
7614                 public void set_screen (Gdk.Screen screen);
7615                 [Version (since = "3.0")]
7616                 public void set_state (Gtk.StateFlags flags);
7617                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7618                 public bool state_is_running (Gtk.StateType state, out double progress);
7619                 [Version (since = "3.20")]
7620                 public string to_string (Gtk.StyleContextPrintFlags flags);
7621                 public Gtk.TextDirection direction { get; set; }
7622                 [NoAccessorMethod]
7623                 public Gdk.FrameClock paint_clock { owned get; set; }
7624                 [Version (since = "3.4")]
7625                 public Gtk.StyleContext parent { get; set; }
7626                 public Gdk.Screen screen { get; set; }
7627                 [Version (since = "3.0")]
7628                 public virtual signal void changed ();
7629         }
7630         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_properties_get_type ()")]
7631         public class StyleProperties : GLib.Object, Gtk.StyleProvider {
7632                 [CCode (has_construct_function = false)]
7633                 [Version (deprecated = true, deprecated_since = "3.16")]
7634                 public StyleProperties ();
7635                 [Version (deprecated = true, deprecated_since = "3.16")]
7636                 public void clear ();
7637                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7638                 public void @get (Gtk.StateFlags state, ...);
7639                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7640                 public bool get_property (string property, Gtk.StateFlags state, out GLib.Value value);
7641                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7642                 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7643                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7644                 public unowned Gtk.SymbolicColor lookup_color (string name);
7645                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7646                 public static bool lookup_property (string property_name, out Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec);
7647                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7648                 public void map_color (string name, Gtk.SymbolicColor color);
7649                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7650                 public void merge (Gtk.StyleProperties props_to_merge, bool replace);
7651                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7652                 public static void register_property (Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
7653                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7654                 public void @set (Gtk.StateFlags state, ...);
7655                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7656                 public void set_property (string property, Gtk.StateFlags state, GLib.Value value);
7657                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7658                 public void set_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7659                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7660                 public void unset_property (string property, Gtk.StateFlags state);
7661         }
7662         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_switch_get_type ()")]
7663         public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
7664                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7665                 [Version (since = "3.0")]
7666                 public Switch ();
7667                 [Version (since = "3.0")]
7668                 public bool get_active ();
7669                 [Version (since = "3.14")]
7670                 public bool get_state ();
7671                 [Version (since = "3.0")]
7672                 public void set_active (bool is_active);
7673                 [Version (since = "3.14")]
7674                 public void set_state (bool state);
7675                 public bool active { get; set; }
7676                 [Version (since = "3.14")]
7677                 public bool state { get; set; }
7678                 public virtual signal void activate ();
7679                 [Version (since = "3.14")]
7680                 public virtual signal bool state_set (bool state);
7681         }
7682         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_switch_accessible_get_type ()")]
7683         public class SwitchAccessible : Gtk.WidgetAccessible, Atk.Action, Atk.Component {
7684                 [CCode (has_construct_function = false)]
7685                 protected SwitchAccessible ();
7686         }
7687         [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")]
7688         [Compact]
7689         public class SymbolicColor {
7690                 [CCode (has_construct_function = false)]
7691                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7692                 public SymbolicColor.alpha (Gtk.SymbolicColor color, double factor);
7693                 [CCode (has_construct_function = false)]
7694                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7695                 public SymbolicColor.literal (Gdk.RGBA color);
7696                 [CCode (has_construct_function = false)]
7697                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7698                 public SymbolicColor.mix (Gtk.SymbolicColor color1, Gtk.SymbolicColor color2, double factor);
7699                 [CCode (has_construct_function = false)]
7700                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7701                 public SymbolicColor.name (string name);
7702                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7703                 public unowned Gtk.SymbolicColor @ref ();
7704                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7705                 public bool resolve (Gtk.StyleProperties? props, out Gdk.RGBA resolved_color);
7706                 [CCode (has_construct_function = false)]
7707                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7708                 public SymbolicColor.shade (Gtk.SymbolicColor color, double factor);
7709                 [Version (deprecated = true, deprecated_since = "3.8")]
7710                 public string to_string ();
7711                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7712                 public void unref ();
7713                 [CCode (has_construct_function = false)]
7714                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.4")]
7715                 public SymbolicColor.win32 (string theme_class, int id);
7716         }
7717         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_table_get_type ()")]
7718         [Version (deprecated = true, deprecated_since = "3.4", replacement = "Grid")]
7719         public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7720                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7721                 public Table (uint rows, uint columns, bool homogeneous);
7722                 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);
7723                 public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
7724                 public uint get_col_spacing (uint column);
7725                 public uint get_default_col_spacing ();
7726                 public uint get_default_row_spacing ();
7727                 public bool get_homogeneous ();
7728                 public uint get_row_spacing (uint row);
7729                 [Version (since = "2.22")]
7730                 public void get_size (out uint rows, out uint columns);
7731                 public void resize (uint rows, uint columns);
7732                 public void set_col_spacing (uint column, uint spacing);
7733                 public void set_col_spacings (uint spacing);
7734                 public void set_homogeneous (bool homogeneous);
7735                 public void set_row_spacing (uint row, uint spacing);
7736                 public void set_row_spacings (uint spacing);
7737                 [NoAccessorMethod]
7738                 public uint column_spacing { get; set; }
7739                 public bool homogeneous { get; set; }
7740                 [NoAccessorMethod]
7741                 public uint n_columns { get; set; }
7742                 [NoAccessorMethod]
7743                 public uint n_rows { get; set; }
7744                 [NoAccessorMethod]
7745                 public uint row_spacing { get; set; }
7746         }
7747         [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")]
7748         [Compact]
7749         public class TargetList {
7750                 [CCode (has_construct_function = false)]
7751                 public TargetList ([CCode (array_length_cname = "ntargets", array_length_pos = 1.1, array_length_type = "guint")] Gtk.TargetEntry[]? targets);
7752                 public void add (Gdk.Atom target, uint flags, uint info);
7753                 [Version (since = "2.6")]
7754                 public void add_image_targets (uint info, bool writable);
7755                 [Version (since = "2.10")]
7756                 public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
7757                 public void add_table ([CCode (array_length_cname = "ntargets", array_length_pos = 1.1, array_length_type = "guint")] Gtk.TargetEntry[] targets);
7758                 [Version (since = "2.6")]
7759                 public void add_text_targets (uint info);
7760                 [Version (since = "2.6")]
7761                 public void add_uri_targets (uint info);
7762                 public bool find (Gdk.Atom target, out uint info);
7763                 public unowned Gtk.TargetList @ref ();
7764                 public void remove (Gdk.Atom target);
7765                 public void unref ();
7766         }
7767         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tearoff_menu_item_get_type ()")]
7768         [Version (deprecated = true, deprecated_since = "3.4")]
7769         public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
7770                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7771                 public TearoffMenuItem ();
7772         }
7773         [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")]
7774         [Compact]
7775         public class TextAttributes {
7776                 public Gtk.TextAppearance appearance;
7777                 public uint bg_full_height;
7778                 public Gtk.TextDirection direction;
7779                 public uint editable;
7780                 public Pango.FontDescription font;
7781                 public string font_features;
7782                 public double font_scale;
7783                 public int indent;
7784                 public uint invisible;
7785                 public Gtk.Justification justification;
7786                 public Pango.Language language;
7787                 public int left_margin;
7788                 public int letter_spacing;
7789                 public uint no_fallback;
7790                 public int pixels_above_lines;
7791                 public int pixels_below_lines;
7792                 public int pixels_inside_wrap;
7793                 public int right_margin;
7794                 public Pango.TabArray tabs;
7795                 public Gtk.WrapMode wrap_mode;
7796                 [CCode (has_construct_function = false)]
7797                 public TextAttributes ();
7798                 public Gtk.TextAttributes copy ();
7799                 public void copy_values (Gtk.TextAttributes dest);
7800                 public unowned Gtk.TextAttributes @ref ();
7801                 public void unref ();
7802         }
7803         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
7804         [Compact]
7805         public class TextBTree {
7806         }
7807         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_buffer_get_type ()")]
7808         public class TextBuffer : GLib.Object {
7809                 [CCode (has_construct_function = false)]
7810                 public TextBuffer (Gtk.TextTagTable? table);
7811                 [Version (since = "2.12")]
7812                 public void add_mark (Gtk.TextMark mark, Gtk.TextIter where);
7813                 public void add_selection_clipboard (Gtk.Clipboard clipboard);
7814                 public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
7815                 [Version (since = "2.6")]
7816                 public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
7817                 public void copy_clipboard (Gtk.Clipboard clipboard);
7818                 public unowned Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
7819                 public unowned Gtk.TextMark create_mark (string? mark_name, Gtk.TextIter where, bool left_gravity);
7820                 public unowned Gtk.TextTag create_tag (string? tag_name, ...);
7821                 public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable);
7822                 public void @delete (ref Gtk.TextIter start, ref Gtk.TextIter end);
7823                 public bool delete_interactive (ref Gtk.TextIter start_iter, ref Gtk.TextIter end_iter, bool default_editable);
7824                 public void delete_mark (Gtk.TextMark mark);
7825                 public void delete_mark_by_name (string name);
7826                 public bool delete_selection (bool interactive, bool default_editable);
7827                 [Version (since = "2.10")]
7828                 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;
7829                 [Version (since = "2.10")]
7830                 public bool deserialize_get_can_create_tags (Gdk.Atom format);
7831                 [Version (since = "2.10")]
7832                 public void deserialize_set_can_create_tags (Gdk.Atom format, bool can_create_tags);
7833                 public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
7834                 public int get_char_count ();
7835                 [Version (since = "2.10")]
7836                 public unowned Gtk.TargetList get_copy_target_list ();
7837                 [CCode (array_length_pos = 0.1)]
7838                 [Version (since = "2.10")]
7839                 public Gdk.Atom[] get_deserialize_formats ();
7840                 public void get_end_iter (out Gtk.TextIter iter);
7841                 [Version (since = "2.10")]
7842                 public bool get_has_selection ();
7843                 public unowned Gtk.TextMark get_insert ();
7844                 public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
7845                 public void get_iter_at_line (out Gtk.TextIter iter, int line_number);
7846                 public void get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
7847                 public void get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
7848                 public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
7849                 public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
7850                 public int get_line_count ();
7851                 public unowned Gtk.TextMark? get_mark (string name);
7852                 public bool get_modified ();
7853                 [Version (since = "2.10")]
7854                 public unowned Gtk.TargetList get_paste_target_list ();
7855                 public unowned Gtk.TextMark get_selection_bound ();
7856                 public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
7857                 [CCode (array_length_pos = 0.1)]
7858                 [Version (since = "2.10")]
7859                 public Gdk.Atom[] get_serialize_formats ();
7860                 public string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
7861                 public void get_start_iter (out Gtk.TextIter iter);
7862                 public unowned Gtk.TextTagTable get_tag_table ();
7863                 public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
7864                 public void insert (ref Gtk.TextIter iter, string text, int len);
7865                 public void insert_at_cursor (string text, int len);
7866                 public bool insert_interactive (ref Gtk.TextIter iter, string text, int len, bool default_editable);
7867                 public bool insert_interactive_at_cursor (string text, int len, bool default_editable);
7868                 [Version (since = "3.16")]
7869                 public void insert_markup (ref Gtk.TextIter iter, string markup, int len);
7870                 public void insert_range (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end);
7871                 public bool insert_range_interactive (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable);
7872                 public void insert_with_tags (ref Gtk.TextIter iter, string text, int len, ...);
7873                 public void insert_with_tags_by_name (ref Gtk.TextIter iter, string text, int len, ...);
7874                 public void move_mark (Gtk.TextMark mark, Gtk.TextIter where);
7875                 public void move_mark_by_name (string name, Gtk.TextIter where);
7876                 public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter? override_location, bool default_editable);
7877                 public void place_cursor (Gtk.TextIter where);
7878                 [Version (since = "2.10")]
7879                 public Gdk.Atom register_deserialize_format (string mime_type, owned Gtk.TextBufferDeserializeFunc function);
7880                 [Version (since = "2.10")]
7881                 public Gdk.Atom register_deserialize_tagset (string? tagset_name);
7882                 [Version (since = "2.10")]
7883                 public Gdk.Atom register_serialize_format (string mime_type, owned Gtk.TextBufferSerializeFunc function);
7884                 [Version (since = "2.10")]
7885                 public Gdk.Atom register_serialize_tagset (string? tagset_name);
7886                 public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end);
7887                 public void remove_selection_clipboard (Gtk.Clipboard clipboard);
7888                 public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
7889                 [Version (since = "2.4")]
7890                 public void select_range (Gtk.TextIter ins, Gtk.TextIter bound);
7891                 [CCode (array_length_pos = 4.1, array_length_type = "gsize")]
7892                 [Version (since = "2.10")]
7893                 public uint8[] serialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end);
7894                 public void set_modified (bool setting);
7895                 public void set_text (string text, int len = -1);
7896                 [Version (since = "2.10")]
7897                 public void unregister_deserialize_format (Gdk.Atom format);
7898                 [Version (since = "2.10")]
7899                 public void unregister_serialize_format (Gdk.Atom format);
7900                 [Version (since = "2.10")]
7901                 public Gtk.TargetList copy_target_list { get; }
7902                 [NoAccessorMethod]
7903                 [Version (since = "2.10")]
7904                 public int cursor_position { get; }
7905                 [Version (since = "2.10")]
7906                 public bool has_selection { get; }
7907                 [Version (since = "2.10")]
7908                 public Gtk.TargetList paste_target_list { get; }
7909                 public Gtk.TextTagTable tag_table { get; construct; }
7910                 [NoAccessorMethod]
7911                 [Version (since = "2.8")]
7912                 public string text { owned get; set; }
7913                 [HasEmitter]
7914                 public virtual signal void apply_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
7915                 [HasEmitter]
7916                 public virtual signal void begin_user_action ();
7917                 public virtual signal void changed ();
7918                 public virtual signal void delete_range (Gtk.TextIter start, Gtk.TextIter end);
7919                 [HasEmitter]
7920                 public virtual signal void end_user_action ();
7921                 [HasEmitter]
7922                 public virtual signal void insert_child_anchor (Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
7923                 [HasEmitter]
7924                 public virtual signal void insert_pixbuf (Gtk.TextIter iter, Gdk.Pixbuf pixbuf);
7925                 public virtual signal void insert_text (ref Gtk.TextIter pos, string new_text, int new_text_length);
7926                 public virtual signal void mark_deleted (Gtk.TextMark mark);
7927                 public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
7928                 public virtual signal void modified_changed ();
7929                 [Version (since = "2.16")]
7930                 public virtual signal void paste_done (Gtk.Clipboard clipboard);
7931                 [HasEmitter]
7932                 public virtual signal void remove_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
7933         }
7934         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_cell_accessible_get_type ()")]
7935         public class TextCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component, Atk.Text {
7936                 [CCode (has_construct_function = false)]
7937                 protected TextCellAccessible ();
7938         }
7939         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_child_anchor_get_type ()")]
7940         public class TextChildAnchor : GLib.Object {
7941                 [CCode (has_construct_function = false)]
7942                 public TextChildAnchor ();
7943                 public bool get_deleted ();
7944                 public GLib.List<weak Gtk.Widget> get_widgets ();
7945         }
7946         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_mark_get_type ()")]
7947         public class TextMark : GLib.Object {
7948                 [CCode (has_construct_function = false)]
7949                 [Version (since = "2.12")]
7950                 public TextMark (string? name, bool left_gravity = false);
7951                 public unowned Gtk.TextBuffer get_buffer ();
7952                 public bool get_deleted ();
7953                 public bool get_left_gravity ();
7954                 public unowned string? get_name ();
7955                 public bool get_visible ();
7956                 public void set_visible (bool setting);
7957                 public bool left_gravity { get; construct; }
7958                 public string name { get; construct; }
7959         }
7960         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_get_type ()")]
7961         public class TextTag : GLib.Object {
7962                 [CCode (has_construct_function = false)]
7963                 public TextTag (string? name = null);
7964                 [Version (since = "3.20")]
7965                 public void changed (bool size_changed);
7966                 public int get_priority ();
7967                 public void set_priority (int priority);
7968                 [NoAccessorMethod]
7969                 [Version (since = "2.12")]
7970                 public bool accumulative_margin { get; set; }
7971                 [NoAccessorMethod]
7972                 public string background { set; }
7973                 [NoAccessorMethod]
7974                 public bool background_full_height { get; set; }
7975                 [NoAccessorMethod]
7976                 public bool background_full_height_set { get; set; }
7977                 [NoAccessorMethod]
7978                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
7979                 public Gdk.Color background_gdk { get; set; }
7980                 [NoAccessorMethod]
7981                 [Version (since = "3.2")]
7982                 public Gdk.RGBA background_rgba { get; set; }
7983                 [NoAccessorMethod]
7984                 public bool background_set { get; set; }
7985                 [NoAccessorMethod]
7986                 public Gtk.TextDirection direction { get; set; }
7987                 [NoAccessorMethod]
7988                 public bool editable { get; set; }
7989                 [NoAccessorMethod]
7990                 public bool editable_set { get; set; }
7991                 [NoAccessorMethod]
7992                 [Version (since = "3.16")]
7993                 public bool fallback { get; set; }
7994                 [NoAccessorMethod]
7995                 public bool fallback_set { get; set; }
7996                 [NoAccessorMethod]
7997                 public string family { owned get; set; }
7998                 [NoAccessorMethod]
7999                 public bool family_set { get; set; }
8000                 [NoAccessorMethod]
8001                 public string font { owned get; set; }
8002                 [NoAccessorMethod]
8003                 public Pango.FontDescription font_desc { owned get; set; }
8004                 [NoAccessorMethod]
8005                 [Version (since = "3.18")]
8006                 public string font_features { owned get; set; }
8007                 [NoAccessorMethod]
8008                 public bool font_features_set { get; set; }
8009                 [NoAccessorMethod]
8010                 public string foreground { set; }
8011                 [NoAccessorMethod]
8012                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "foreground_rgba")]
8013                 public Gdk.Color foreground_gdk { get; set; }
8014                 [NoAccessorMethod]
8015                 [Version (since = "3.2")]
8016                 public Gdk.RGBA foreground_rgba { get; set; }
8017                 [NoAccessorMethod]
8018                 public bool foreground_set { get; set; }
8019                 [NoAccessorMethod]
8020                 public int indent { get; set; }
8021                 [NoAccessorMethod]
8022                 public bool indent_set { get; set; }
8023                 [NoAccessorMethod]
8024                 [Version (since = "2.8")]
8025                 public bool invisible { get; set; }
8026                 [NoAccessorMethod]
8027                 public bool invisible_set { get; set; }
8028                 [NoAccessorMethod]
8029                 public Gtk.Justification justification { get; set; }
8030                 [NoAccessorMethod]
8031                 public bool justification_set { get; set; }
8032                 [NoAccessorMethod]
8033                 public string language { owned get; set; }
8034                 [NoAccessorMethod]
8035                 public bool language_set { get; set; }
8036                 [NoAccessorMethod]
8037                 public int left_margin { get; set; }
8038                 [NoAccessorMethod]
8039                 public bool left_margin_set { get; set; }
8040                 [NoAccessorMethod]
8041                 [Version (since = "3.16")]
8042                 public int letter_spacing { get; set; }
8043                 [NoAccessorMethod]
8044                 public bool letter_spacing_set { get; set; }
8045                 [NoAccessorMethod]
8046                 public string name { owned get; construct; }
8047                 [NoAccessorMethod]
8048                 [Version (since = "2.8")]
8049                 public string paragraph_background { set; }
8050                 [NoAccessorMethod]
8051                 [Version (deprecated = true, deprecated_since = "3.4", replacement = "paragraph_background_rgba", since = "2.8")]
8052                 public Gdk.Color paragraph_background_gdk { get; set; }
8053                 [NoAccessorMethod]
8054                 [Version (since = "3.2")]
8055                 public Gdk.RGBA paragraph_background_rgba { get; set; }
8056                 [NoAccessorMethod]
8057                 public bool paragraph_background_set { get; set; }
8058                 [NoAccessorMethod]
8059                 public int pixels_above_lines { get; set; }
8060                 [NoAccessorMethod]
8061                 public bool pixels_above_lines_set { get; set; }
8062                 [NoAccessorMethod]
8063                 public int pixels_below_lines { get; set; }
8064                 [NoAccessorMethod]
8065                 public bool pixels_below_lines_set { get; set; }
8066                 [NoAccessorMethod]
8067                 public int pixels_inside_wrap { get; set; }
8068                 [NoAccessorMethod]
8069                 public bool pixels_inside_wrap_set { get; set; }
8070                 [NoAccessorMethod]
8071                 public int right_margin { get; set; }
8072                 [NoAccessorMethod]
8073                 public bool right_margin_set { get; set; }
8074                 [NoAccessorMethod]
8075                 public int rise { get; set; }
8076                 [NoAccessorMethod]
8077                 public bool rise_set { get; set; }
8078                 [NoAccessorMethod]
8079                 public double scale { get; set; }
8080                 [NoAccessorMethod]
8081                 public bool scale_set { get; set; }
8082                 [NoAccessorMethod]
8083                 public int size { get; set; }
8084                 [NoAccessorMethod]
8085                 public double size_points { get; set; }
8086                 [NoAccessorMethod]
8087                 public bool size_set { get; set; }
8088                 [NoAccessorMethod]
8089                 public Pango.Stretch stretch { get; set; }
8090                 [NoAccessorMethod]
8091                 public bool stretch_set { get; set; }
8092                 [NoAccessorMethod]
8093                 public bool strikethrough { get; set; }
8094                 [NoAccessorMethod]
8095                 [Version (since = "3.16")]
8096                 public Gdk.RGBA strikethrough_rgba { get; set; }
8097                 [NoAccessorMethod]
8098                 [Version (since = "3.16")]
8099                 public bool strikethrough_rgba_set { get; set; }
8100                 [NoAccessorMethod]
8101                 public bool strikethrough_set { get; set; }
8102                 [NoAccessorMethod]
8103                 public Pango.Style style { get; set; }
8104                 [NoAccessorMethod]
8105                 public bool style_set { get; set; }
8106                 [NoAccessorMethod]
8107                 public Pango.TabArray tabs { owned get; set; }
8108                 [NoAccessorMethod]
8109                 public bool tabs_set { get; set; }
8110                 [NoAccessorMethod]
8111                 public Pango.Underline underline { get; set; }
8112                 [NoAccessorMethod]
8113                 [Version (since = "3.16")]
8114                 public Gdk.RGBA underline_rgba { get; set; }
8115                 [NoAccessorMethod]
8116                 [Version (since = "3.16")]
8117                 public bool underline_rgba_set { get; set; }
8118                 [NoAccessorMethod]
8119                 public bool underline_set { get; set; }
8120                 [NoAccessorMethod]
8121                 public Pango.Variant variant { get; set; }
8122                 [NoAccessorMethod]
8123                 public bool variant_set { get; set; }
8124                 [NoAccessorMethod]
8125                 public int weight { get; set; }
8126                 [NoAccessorMethod]
8127                 public bool weight_set { get; set; }
8128                 [NoAccessorMethod]
8129                 public Gtk.WrapMode wrap_mode { get; set; }
8130                 [NoAccessorMethod]
8131                 public bool wrap_mode_set { get; set; }
8132                 [HasEmitter]
8133                 public virtual signal bool event (GLib.Object event_object, Gdk.Event event, Gtk.TextIter iter);
8134         }
8135         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_table_get_type ()")]
8136         public class TextTagTable : GLib.Object, Gtk.Buildable {
8137                 [CCode (has_construct_function = false)]
8138                 public TextTagTable ();
8139                 public bool add (Gtk.TextTag tag);
8140                 public void @foreach (Gtk.TextTagTableForeach func);
8141                 public int get_size ();
8142                 public unowned Gtk.TextTag? lookup (string name);
8143                 public void remove (Gtk.TextTag tag);
8144                 public virtual signal void tag_added (Gtk.TextTag tag);
8145                 public virtual signal void tag_changed (Gtk.TextTag tag, bool size_changed);
8146                 public virtual signal void tag_removed (Gtk.TextTag tag);
8147         }
8148         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_view_get_type ()")]
8149         public class TextView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
8150                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8151                 public TextView ();
8152                 public void add_child_at_anchor (Gtk.Widget child, Gtk.TextChildAnchor anchor);
8153                 public void add_child_in_window (Gtk.Widget child, Gtk.TextWindowType which_window, int xpos, int ypos);
8154                 public bool backward_display_line (ref Gtk.TextIter iter);
8155                 public bool backward_display_line_start (ref Gtk.TextIter iter);
8156                 public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y);
8157                 [NoWrapper]
8158                 public virtual Gtk.TextBuffer create_buffer ();
8159                 [NoWrapper]
8160                 public virtual void draw_layer (Gtk.TextViewLayer layer, Cairo.Context cr);
8161                 public bool forward_display_line (ref Gtk.TextIter iter);
8162                 public bool forward_display_line_end (ref Gtk.TextIter iter);
8163                 [Version (since = "2.4")]
8164                 public bool get_accepts_tab ();
8165                 public int get_border_window_size (Gtk.TextWindowType type);
8166                 [Version (since = "3.18")]
8167                 public int get_bottom_margin ();
8168                 public unowned Gtk.TextBuffer get_buffer ();
8169                 [Version (since = "3.0")]
8170                 public void get_cursor_locations (Gtk.TextIter? iter, out Gdk.Rectangle strong, out Gdk.Rectangle @weak);
8171                 public bool get_cursor_visible ();
8172                 public Gtk.TextAttributes get_default_attributes ();
8173                 public bool get_editable ();
8174                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.22")]
8175                 public unowned Gtk.Adjustment get_hadjustment ();
8176                 public int get_indent ();
8177                 [Version (since = "3.6")]
8178                 public Gtk.InputHints get_input_hints ();
8179                 [Version (since = "3.6")]
8180                 public Gtk.InputPurpose get_input_purpose ();
8181                 public bool get_iter_at_location (out Gtk.TextIter iter, int x, int y);
8182                 [Version (since = "2.6")]
8183                 public bool get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
8184                 public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
8185                 public Gtk.Justification get_justification ();
8186                 public int get_left_margin ();
8187                 public void get_line_at_y (out Gtk.TextIter target_iter, int y, out int line_top);
8188                 public void get_line_yrange (Gtk.TextIter iter, out int y, out int height);
8189                 [Version (since = "3.16")]
8190                 public bool get_monospace ();
8191                 [Version (since = "2.4")]
8192                 public bool get_overwrite ();
8193                 public int get_pixels_above_lines ();
8194                 public int get_pixels_below_lines ();
8195                 public int get_pixels_inside_wrap ();
8196                 public int get_right_margin ();
8197                 public Pango.TabArray? get_tabs ();
8198                 [Version (since = "3.18")]
8199                 public int get_top_margin ();
8200                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.22")]
8201                 public unowned Gtk.Adjustment get_vadjustment ();
8202                 public void get_visible_rect (out Gdk.Rectangle visible_rect);
8203                 public unowned Gdk.Window? get_window (Gtk.TextWindowType win);
8204                 public Gtk.TextWindowType get_window_type (Gdk.Window window);
8205                 public Gtk.WrapMode get_wrap_mode ();
8206                 [Version (since = "2.22")]
8207                 public bool im_context_filter_keypress (Gdk.EventKey event);
8208                 public void move_child (Gtk.Widget child, int xpos, int ypos);
8209                 public bool move_mark_onscreen (Gtk.TextMark mark);
8210                 public bool move_visually (ref Gtk.TextIter iter, int count);
8211                 public bool place_cursor_onscreen ();
8212                 [Version (since = "3.20")]
8213                 public void reset_cursor_blink ();
8214                 [Version (since = "2.22")]
8215                 public void reset_im_context ();
8216                 public void scroll_mark_onscreen (Gtk.TextMark mark);
8217                 public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
8218                 public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
8219                 [Version (since = "2.4")]
8220                 public void set_accepts_tab (bool accepts_tab);
8221                 public void set_border_window_size (Gtk.TextWindowType type, int size);
8222                 [Version (since = "3.18")]
8223                 public void set_bottom_margin (int bottom_margin);
8224                 public void set_buffer (Gtk.TextBuffer? buffer);
8225                 public void set_cursor_visible (bool setting);
8226                 public void set_editable (bool setting);
8227                 public void set_indent (int indent);
8228                 [Version (since = "3.6")]
8229                 public void set_input_hints (Gtk.InputHints hints);
8230                 [Version (since = "3.6")]
8231                 public void set_input_purpose (Gtk.InputPurpose purpose);
8232                 public void set_justification (Gtk.Justification justification);
8233                 public void set_left_margin (int left_margin);
8234                 [Version (since = "3.16")]
8235                 public void set_monospace (bool monospace);
8236                 [Version (since = "2.4")]
8237                 public void set_overwrite (bool overwrite);
8238                 public void set_pixels_above_lines (int pixels_above_lines);
8239                 public void set_pixels_below_lines (int pixels_below_lines);
8240                 public void set_pixels_inside_wrap (int pixels_inside_wrap);
8241                 public void set_right_margin (int right_margin);
8242                 public void set_tabs (Pango.TabArray tabs);
8243                 [Version (since = "3.18")]
8244                 public void set_top_margin (int top_margin);
8245                 public void set_wrap_mode (Gtk.WrapMode wrap_mode);
8246                 public bool starts_display_line (Gtk.TextIter iter);
8247                 public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y);
8248                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8249                 public TextView.with_buffer (Gtk.TextBuffer buffer);
8250                 public bool accepts_tab { get; set; }
8251                 [Version (since = "3.18")]
8252                 public int bottom_margin { get; set; }
8253                 public Gtk.TextBuffer buffer { get; set; }
8254                 public bool cursor_visible { get; set; }
8255                 public bool editable { get; set; }
8256                 [NoAccessorMethod]
8257                 [Version (since = "2.16")]
8258                 public string im_module { owned get; set; }
8259                 public int indent { get; set; }
8260                 [Version (since = "3.6")]
8261                 public Gtk.InputHints input_hints { get; set; }
8262                 [Version (since = "3.6")]
8263                 public Gtk.InputPurpose input_purpose { get; set; }
8264                 public Gtk.Justification justification { get; set; }
8265                 public int left_margin { get; set; }
8266                 public bool monospace { get; set; }
8267                 public bool overwrite { get; set; }
8268                 public int pixels_above_lines { get; set; }
8269                 public int pixels_below_lines { get; set; }
8270                 public int pixels_inside_wrap { get; set; }
8271                 [NoAccessorMethod]
8272                 [Version (since = "3.8")]
8273                 public bool populate_all { get; set; }
8274                 public int right_margin { get; set; }
8275                 public Pango.TabArray tabs { owned get; set; }
8276                 [Version (since = "3.18")]
8277                 public int top_margin { get; set; }
8278                 public Gtk.WrapMode wrap_mode { get; set; }
8279                 public virtual signal void backspace ();
8280                 public virtual signal void copy_clipboard ();
8281                 public virtual signal void cut_clipboard ();
8282                 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
8283                 [Version (since = "3.16")]
8284                 public virtual signal bool extend_selection (Gtk.TextExtendSelection granularity, Gtk.TextIter location, Gtk.TextIter start, Gtk.TextIter end);
8285                 public virtual signal void insert_at_cursor (string str);
8286                 [Version (since = "3.22.27")]
8287                 public virtual signal void insert_emoji ();
8288                 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
8289                 public signal void move_viewport (Gtk.ScrollStep step, int count);
8290                 public virtual signal void paste_clipboard ();
8291                 public virtual signal void populate_popup (Gtk.Menu popup);
8292                 [Version (since = "2.20")]
8293                 public signal void preedit_changed (string preedit);
8294                 public signal void select_all (bool select);
8295                 public virtual signal void set_anchor ();
8296                 public signal void toggle_cursor_visible ();
8297                 public virtual signal void toggle_overwrite ();
8298         }
8299         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_view_accessible_get_type ()")]
8300         public class TextViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.EditableText, Atk.StreamableContent, Atk.Text {
8301                 [CCode (has_construct_function = false)]
8302                 protected TextViewAccessible ();
8303         }
8304         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
8305         [Compact]
8306         public class ThemeEngine {
8307         }
8308         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_theming_engine_get_type ()")]
8309         public class ThemingEngine : GLib.Object {
8310                 [CCode (has_construct_function = false)]
8311                 protected ThemingEngine ();
8312                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8313                 public void @get (Gtk.StateFlags state, ...);
8314                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8315                 public Gdk.RGBA get_background_color (Gtk.StateFlags state);
8316                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8317                 public Gtk.Border get_border (Gtk.StateFlags state);
8318                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8319                 public Gdk.RGBA get_border_color (Gtk.StateFlags state);
8320                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8321                 public Gdk.RGBA get_color (Gtk.StateFlags state);
8322                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8323                 public Gtk.TextDirection get_direction ();
8324                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8325                 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
8326                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8327                 public Gtk.JunctionSides get_junction_sides ();
8328                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8329                 public Gtk.Border get_margin (Gtk.StateFlags state);
8330                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8331                 public Gtk.Border get_padding (Gtk.StateFlags state);
8332                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8333                 public unowned Gtk.WidgetPath get_path ();
8334                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8335                 public GLib.Value get_property (string property, Gtk.StateFlags state);
8336                 [Version (deprecated = true, deprecated_since = "3.14")]
8337                 public unowned Gdk.Screen? get_screen ();
8338                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8339                 public Gtk.StateFlags get_state ();
8340                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8341                 public void get_style (...);
8342                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8343                 public GLib.Value get_style_property (string property_name);
8344                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8345                 public void get_style_valist ([CCode (type = "va_list")] va_list args);
8346                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8347                 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
8348                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8349                 public bool has_class (string style_class);
8350                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8351                 public bool has_region (string style_region, out Gtk.RegionFlags flags);
8352                 [Version (deprecated = true, deprecated_since = "3.14")]
8353                 public static unowned Gtk.ThemingEngine? load (string name);
8354                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8355                 public bool lookup_color (string color_name, out Gdk.RGBA color);
8356                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8357                 public static void register_property (string name_space, Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
8358                 [NoWrapper]
8359                 public virtual void render_activity (Cairo.Context cr, double x, double y, double width, double height);
8360                 [NoWrapper]
8361                 public virtual void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
8362                 [NoWrapper]
8363                 public virtual void render_background (Cairo.Context cr, double x, double y, double width, double height);
8364                 [NoWrapper]
8365                 public virtual void render_check (Cairo.Context cr, double x, double y, double width, double height);
8366                 [NoWrapper]
8367                 public virtual void render_expander (Cairo.Context cr, double x, double y, double width, double height);
8368                 [NoWrapper]
8369                 public virtual void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
8370                 [NoWrapper]
8371                 public virtual void render_focus (Cairo.Context cr, double x, double y, double width, double height);
8372                 [NoWrapper]
8373                 public virtual void render_frame (Cairo.Context cr, double x, double y, double width, double height);
8374                 [NoWrapper]
8375                 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);
8376                 [NoWrapper]
8377                 public virtual void render_handle (Cairo.Context cr, double x, double y, double width, double height);
8378                 [NoWrapper]
8379                 public virtual void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
8380                 [NoWrapper]
8381                 public virtual Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
8382                 [NoWrapper]
8383                 public virtual void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
8384                 [NoWrapper]
8385                 public virtual void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
8386                 [NoWrapper]
8387                 public virtual void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
8388                 [NoWrapper]
8389                 public virtual void render_option (Cairo.Context cr, double x, double y, double width, double height);
8390                 [NoWrapper]
8391                 public virtual void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
8392                 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
8393                 public bool state_is_running (Gtk.StateType state, out double progress);
8394                 [NoAccessorMethod]
8395                 [Version (since = "3.0")]
8396                 public string name { owned get; construct; }
8397         }
8398         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_action_get_type ()")]
8399         [Version (deprecated = true, deprecated_since = "3.10")]
8400         public class ToggleAction : Gtk.Action, Gtk.Buildable {
8401                 [CCode (has_construct_function = false)]
8402                 [Version (since = "2.4")]
8403                 public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
8404                 [Version (since = "2.4")]
8405                 public bool get_active ();
8406                 [Version (since = "2.4")]
8407                 public bool get_draw_as_radio ();
8408                 [Version (since = "2.4")]
8409                 public void set_active (bool is_active);
8410                 [Version (since = "2.4")]
8411                 public void set_draw_as_radio (bool draw_as_radio);
8412                 [Version (since = "2.10")]
8413                 public bool active { get; set; }
8414                 public bool draw_as_radio { get; set; }
8415                 [HasEmitter]
8416                 public virtual signal void toggled ();
8417         }
8418         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_button_get_type ()")]
8419         public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8420                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8421                 public ToggleButton ();
8422                 public bool get_active ();
8423                 public bool get_inconsistent ();
8424                 public bool get_mode ();
8425                 public void set_active (bool is_active);
8426                 public void set_inconsistent (bool setting);
8427                 public void set_mode (bool draw_indicator);
8428                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8429                 public ToggleButton.with_label (string label);
8430                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8431                 public ToggleButton.with_mnemonic (string label);
8432                 public bool active { get; set; }
8433                 [NoAccessorMethod]
8434                 public bool draw_indicator { get; set; }
8435                 public bool inconsistent { get; set; }
8436                 [HasEmitter]
8437                 public virtual signal void toggled ();
8438         }
8439         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toggle_button_accessible_get_type ()")]
8440         public class ToggleButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
8441                 [CCode (has_construct_function = false)]
8442                 protected ToggleButtonAccessible ();
8443         }
8444         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_tool_button_get_type ()")]
8445         public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8446                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8447                 [Version (since = "2.4")]
8448                 public ToggleToolButton ();
8449                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8450                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8451                 public ToggleToolButton.from_stock (string stock_id);
8452                 [Version (since = "2.4")]
8453                 public bool get_active ();
8454                 [Version (since = "2.4")]
8455                 public void set_active (bool is_active);
8456                 [Version (since = "2.8")]
8457                 public bool active { get; set; }
8458                 public virtual signal void toggled ();
8459         }
8460         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_button_get_type ()")]
8461         public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8462                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8463                 [Version (since = "2.4")]
8464                 public ToolButton (Gtk.Widget? icon_widget, string? label);
8465                 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8466                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8467                 public ToolButton.from_stock (string stock_id);
8468                 [Version (since = "2.8")]
8469                 public unowned string? get_icon_name ();
8470                 [Version (since = "2.4")]
8471                 public unowned Gtk.Widget? get_icon_widget ();
8472                 [Version (since = "2.4")]
8473                 public unowned string? get_label ();
8474                 [Version (since = "2.4")]
8475                 public unowned Gtk.Widget? get_label_widget ();
8476                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8477                 public unowned string get_stock_id ();
8478                 [Version (since = "2.4")]
8479                 public bool get_use_underline ();
8480                 [Version (since = "2.8")]
8481                 public void set_icon_name (string? icon_name);
8482                 [Version (since = "2.4")]
8483                 public void set_icon_widget (Gtk.Widget? icon_widget);
8484                 [Version (since = "2.4")]
8485                 public void set_label (string? label);
8486                 [Version (since = "2.4")]
8487                 public void set_label_widget (Gtk.Widget? label_widget);
8488                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8489                 public void set_stock_id (string? stock_id);
8490                 [Version (since = "2.4")]
8491                 public void set_use_underline (bool use_underline);
8492                 [Version (since = "2.8")]
8493                 public string icon_name { get; set; }
8494                 public Gtk.Widget icon_widget { get; set; }
8495                 public string label { get; set; }
8496                 public Gtk.Widget label_widget { get; set; }
8497                 [Version (deprecated = true, deprecated_since = "3.10")]
8498                 public string stock_id { get; set; }
8499                 public bool use_underline { get; set; }
8500                 public virtual signal void clicked ();
8501         }
8502         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_get_type ()")]
8503         public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Activatable, Gtk.Buildable {
8504                 [CCode (has_construct_function = false)]
8505                 [Version (since = "2.4")]
8506                 public ToolItem ();
8507                 [Version (since = "2.20")]
8508                 public Pango.EllipsizeMode get_ellipsize_mode ();
8509                 [Version (since = "2.4")]
8510                 public bool get_expand ();
8511                 [Version (since = "2.4")]
8512                 public bool get_homogeneous ();
8513                 [Version (since = "2.4")]
8514                 public Gtk.IconSize get_icon_size ();
8515                 [Version (since = "2.4")]
8516                 public bool get_is_important ();
8517                 [Version (since = "2.4")]
8518                 public Gtk.Orientation get_orientation ();
8519                 [Version (since = "2.4")]
8520                 public unowned Gtk.Widget? get_proxy_menu_item (string menu_item_id);
8521                 [Version (since = "2.4")]
8522                 public Gtk.ReliefStyle get_relief_style ();
8523                 [Version (since = "2.20")]
8524                 public float get_text_alignment ();
8525                 [Version (since = "2.20")]
8526                 public Gtk.Orientation get_text_orientation ();
8527                 [Version (since = "2.20")]
8528                 public unowned Gtk.SizeGroup get_text_size_group ();
8529                 [Version (since = "2.4")]
8530                 public Gtk.ToolbarStyle get_toolbar_style ();
8531                 [Version (since = "2.4")]
8532                 public bool get_use_drag_window ();
8533                 [Version (since = "2.4")]
8534                 public bool get_visible_horizontal ();
8535                 [Version (since = "2.4")]
8536                 public bool get_visible_vertical ();
8537                 [Version (since = "2.6")]
8538                 public void rebuild_menu ();
8539                 [Version (since = "2.4")]
8540                 public unowned Gtk.Widget retrieve_proxy_menu_item ();
8541                 [Version (since = "2.4")]
8542                 public void set_expand (bool expand);
8543                 [Version (since = "2.4")]
8544                 public void set_homogeneous (bool homogeneous);
8545                 [Version (since = "2.4")]
8546                 public void set_is_important (bool is_important);
8547                 [Version (since = "2.4")]
8548                 public void set_proxy_menu_item (string menu_item_id, Gtk.Widget? menu_item);
8549                 [Version (since = "2.12")]
8550                 public void set_tooltip_markup (string markup);
8551                 [Version (since = "2.12")]
8552                 public void set_tooltip_text (string text);
8553                 [Version (since = "2.4")]
8554                 public void set_use_drag_window (bool use_drag_window);
8555                 [Version (since = "2.4")]
8556                 public void set_visible_horizontal (bool visible_horizontal);
8557                 [Version (since = "2.4")]
8558                 public void set_visible_vertical (bool visible_vertical);
8559                 public bool is_important { get; set; }
8560                 public bool visible_horizontal { get; set; }
8561                 public bool visible_vertical { get; set; }
8562                 public virtual signal bool create_menu_proxy ();
8563                 [HasEmitter]
8564                 public virtual signal void toolbar_reconfigured ();
8565         }
8566         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_group_get_type ()")]
8567         public class ToolItemGroup : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
8568                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8569                 [Version (since = "2.20")]
8570                 public ToolItemGroup (string label);
8571                 [Version (since = "2.20")]
8572                 public bool get_collapsed ();
8573                 [Version (since = "2.20")]
8574                 public unowned Gtk.ToolItem get_drop_item (int x, int y);
8575                 [Version (since = "2.20")]
8576                 public Pango.EllipsizeMode get_ellipsize ();
8577                 [Version (since = "2.20")]
8578                 public Gtk.ReliefStyle get_header_relief ();
8579                 [Version (since = "2.20")]
8580                 public int get_item_position (Gtk.ToolItem item);
8581                 [Version (since = "2.20")]
8582                 public unowned string get_label ();
8583                 [Version (since = "2.20")]
8584                 public unowned Gtk.Widget get_label_widget ();
8585                 [Version (since = "2.20")]
8586                 public uint get_n_items ();
8587                 [Version (since = "2.20")]
8588                 public unowned Gtk.ToolItem get_nth_item (uint index);
8589                 [Version (since = "2.20")]
8590                 public void insert (Gtk.ToolItem item, int position);
8591                 [Version (since = "2.20")]
8592                 public void set_collapsed (bool collapsed);
8593                 [Version (since = "2.20")]
8594                 public void set_ellipsize (Pango.EllipsizeMode ellipsize);
8595                 [Version (since = "2.20")]
8596                 public void set_header_relief (Gtk.ReliefStyle style);
8597                 [Version (since = "2.20")]
8598                 public void set_item_position (Gtk.ToolItem item, int position);
8599                 [Version (since = "2.20")]
8600                 public void set_label (string label);
8601                 [Version (since = "2.20")]
8602                 public void set_label_widget (Gtk.Widget label_widget);
8603                 public bool collapsed { get; set; }
8604                 public Pango.EllipsizeMode ellipsize { get; set; }
8605                 public Gtk.ReliefStyle header_relief { get; set; }
8606                 public string label { get; set; }
8607                 public Gtk.Widget label_widget { get; set; }
8608         }
8609         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_palette_get_type ()")]
8610         public class ToolPalette : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Scrollable {
8611                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8612                 [Version (since = "2.20")]
8613                 public ToolPalette ();
8614                 [Version (since = "2.20")]
8615                 public void add_drag_dest (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.ToolPaletteDragTargets targets, Gdk.DragAction actions);
8616                 [Version (since = "2.20")]
8617                 public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
8618                 [Version (since = "2.20")]
8619                 public static unowned Gtk.TargetEntry? get_drag_target_group ();
8620                 [Version (since = "2.20")]
8621                 public static unowned Gtk.TargetEntry? get_drag_target_item ();
8622                 [Version (since = "2.20")]
8623                 public unowned Gtk.ToolItemGroup? get_drop_group (int x, int y);
8624                 [Version (since = "2.20")]
8625                 public unowned Gtk.ToolItem? get_drop_item (int x, int y);
8626                 [Version (since = "2.20")]
8627                 public bool get_exclusive (Gtk.ToolItemGroup group);
8628                 [Version (since = "2.20")]
8629                 public bool get_expand (Gtk.ToolItemGroup group);
8630                 [Version (since = "2.20")]
8631                 public int get_group_position (Gtk.ToolItemGroup group);
8632                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
8633                 public unowned Gtk.Adjustment get_hadjustment ();
8634                 [Version (since = "2.20")]
8635                 public Gtk.IconSize get_icon_size ();
8636                 [Version (since = "2.20")]
8637                 public Gtk.ToolbarStyle get_style ();
8638                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
8639                 public unowned Gtk.Adjustment get_vadjustment ();
8640                 [Version (since = "2.20")]
8641                 public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
8642                 [Version (since = "2.20")]
8643                 public void set_exclusive (Gtk.ToolItemGroup group, bool exclusive);
8644                 [Version (since = "2.20")]
8645                 public void set_expand (Gtk.ToolItemGroup group, bool expand);
8646                 [Version (since = "2.20")]
8647                 public void set_group_position (Gtk.ToolItemGroup group, int position);
8648                 [Version (since = "2.20")]
8649                 public void set_icon_size ([CCode (type = "GtkIconSize")] Gtk.IconSize icon_size);
8650                 [Version (since = "2.20")]
8651                 public void set_style (Gtk.ToolbarStyle style);
8652                 [Version (since = "2.20")]
8653                 public void unset_icon_size ();
8654                 [Version (since = "2.20")]
8655                 public void unset_style ();
8656                 [Version (since = "2.20")]
8657                 public Gtk.IconSize icon_size { get; set; }
8658                 [NoAccessorMethod]
8659                 [Version (since = "2.20")]
8660                 public bool icon_size_set { get; set; }
8661                 [NoAccessorMethod]
8662                 [Version (since = "2.20")]
8663                 public Gtk.ToolbarStyle toolbar_style { get; set; }
8664         }
8665         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toolbar_get_type ()")]
8666         public class Toolbar : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.ToolShell {
8667                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8668                 public Toolbar ();
8669                 [Version (since = "2.4")]
8670                 public int get_drop_index (int x, int y);
8671                 [Version (since = "2.4")]
8672                 public int get_item_index (Gtk.ToolItem item);
8673                 [Version (since = "2.4")]
8674                 public int get_n_items ();
8675                 [Version (since = "2.4")]
8676                 public unowned Gtk.ToolItem? get_nth_item (int n);
8677                 [Version (since = "2.4")]
8678                 public bool get_show_arrow ();
8679                 [Version (since = "2.4")]
8680                 public void insert (Gtk.ToolItem item, int pos);
8681                 [Version (since = "2.4")]
8682                 public void set_drop_highlight_item (Gtk.ToolItem? tool_item, int index_);
8683                 public void set_icon_size (Gtk.IconSize icon_size);
8684                 [Version (since = "2.4")]
8685                 public void set_show_arrow (bool show_arrow);
8686                 public void set_style (Gtk.ToolbarStyle style);
8687                 public void unset_icon_size ();
8688                 public void unset_style ();
8689                 [Version (since = "2.10")]
8690                 public Gtk.IconSize icon_size { get; set; }
8691                 [NoAccessorMethod]
8692                 [Version (since = "2.10")]
8693                 public bool icon_size_set { get; set; }
8694                 public bool show_arrow { get; set; }
8695                 [NoAccessorMethod]
8696                 public Gtk.ToolbarStyle toolbar_style { get; set; }
8697                 public signal bool focus_home_or_end (bool focus_home);
8698                 public virtual signal void orientation_changed (Gtk.Orientation orientation);
8699                 public virtual signal bool popup_context_menu (int x, int y, int button_number);
8700                 public virtual signal void style_changed (Gtk.ToolbarStyle style);
8701         }
8702         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tooltip_get_type ()")]
8703         public class Tooltip : GLib.Object {
8704                 [CCode (has_construct_function = false)]
8705                 protected Tooltip ();
8706                 [Version (since = "2.12")]
8707                 public void set_custom (Gtk.Widget? custom_widget);
8708                 [Version (since = "2.12")]
8709                 public void set_icon (Gdk.Pixbuf? pixbuf);
8710                 [Version (since = "2.20")]
8711                 public void set_icon_from_gicon (GLib.Icon? gicon, int size);
8712                 [Version (since = "2.14")]
8713                 public void set_icon_from_icon_name (string? icon_name, int size);
8714                 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
8715                 public void set_icon_from_stock (string? stock_id, int size);
8716                 [Version (since = "2.12")]
8717                 public void set_markup (string? markup);
8718                 [Version (since = "2.12")]
8719                 public void set_text (string? text);
8720                 [Version (since = "2.12")]
8721                 public void set_tip_area (Gdk.Rectangle rect);
8722                 [Version (since = "2.12")]
8723                 public static void trigger_tooltip_query (Gdk.Display display);
8724         }
8725         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toplevel_accessible_get_type ()")]
8726         public class ToplevelAccessible : Atk.Object {
8727                 [CCode (has_construct_function = false)]
8728                 protected ToplevelAccessible ();
8729                 public unowned GLib.List<Gtk.Window> get_children ();
8730         }
8731         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_filter_get_type ()")]
8732         public class TreeModelFilter : GLib.Object, Gtk.TreeDragSource, Gtk.TreeModel {
8733                 [CCode (has_construct_function = false, type = "GtkTreeModel*")]
8734                 [Version (since = "2.4")]
8735                 public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root);
8736                 [Version (since = "2.4")]
8737                 public void clear_cache ();
8738                 [Version (since = "2.4")]
8739                 public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter);
8740                 [Version (since = "2.4")]
8741                 public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
8742                 [Version (since = "2.4")]
8743                 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter);
8744                 [Version (since = "2.4")]
8745                 public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath filter_path);
8746                 [Version (since = "2.4")]
8747                 public unowned Gtk.TreeModel get_model ();
8748                 [NoWrapper]
8749                 public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column);
8750                 [Version (since = "2.4")]
8751                 public void refilter ();
8752                 [Version (since = "2.4")]
8753                 public void set_modify_func ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
8754                 [Version (since = "2.4")]
8755                 public void set_visible_column (int column);
8756                 [Version (since = "2.4")]
8757                 public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
8758                 [NoWrapper]
8759                 public virtual bool visible (Gtk.TreeModel child_model, Gtk.TreeIter iter);
8760                 [NoAccessorMethod]
8761                 public Gtk.TreeModel child_model { owned get; construct; }
8762                 [NoAccessorMethod]
8763                 public Gtk.TreePath virtual_root { owned get; construct; }
8764         }
8765         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_sort_get_type ()")]
8766         public class TreeModelSort : GLib.Object, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
8767                 [CCode (has_construct_function = false)]
8768                 protected TreeModelSort ();
8769                 public void clear_cache ();
8770                 public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter);
8771                 public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
8772                 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter);
8773                 public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath sorted_path);
8774                 public unowned Gtk.TreeModel get_model ();
8775                 [Version (since = "2.2")]
8776                 public bool iter_is_valid (Gtk.TreeIter iter);
8777                 public void reset_default_sort_func ();
8778                 [CCode (has_construct_function = false, type = "GtkTreeModel*")]
8779                 public TreeModelSort.with_model (Gtk.TreeModel child_model);
8780                 public Gtk.TreeModel model { get; construct; }
8781         }
8782         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_tree_path_get_type ()")]
8783         [Compact]
8784         public class TreePath {
8785                 [CCode (has_construct_function = false)]
8786                 public TreePath ();
8787                 public void append_index (int index_);
8788                 public int compare (Gtk.TreePath b);
8789                 public Gtk.TreePath copy ();
8790                 public void down ();
8791                 [CCode (has_construct_function = false)]
8792                 public TreePath.first ();
8793                 [DestroysInstance]
8794                 public void free ();
8795                 [CCode (has_construct_function = false, sentinel = "-1")]
8796                 [Version (since = "2.2")]
8797                 public TreePath.from_indices (...);
8798                 [CCode (has_construct_function = false)]
8799                 [Version (since = "3.12")]
8800                 public TreePath.from_indicesv ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] int[] indices);
8801                 [CCode (has_construct_function = false)]
8802                 public TreePath.from_string (string path);
8803                 public int get_depth ();
8804                 [CCode (array_length_pos = 0.1, cname = "gtk_tree_path_get_indices_with_depth")]
8805                 [Version (since = "3.0")]
8806                 public unowned int[] get_indices ();
8807                 public bool is_ancestor (Gtk.TreePath descendant);
8808                 public bool is_descendant (Gtk.TreePath ancestor);
8809                 public void next ();
8810                 public void prepend_index (int index_);
8811                 public bool prev ();
8812                 public string to_string ();
8813                 public bool up ();
8814         }
8815         [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_tree_row_reference_get_type ()")]
8816         [Compact]
8817         public class TreeRowReference {
8818                 [CCode (has_construct_function = false)]
8819                 public TreeRowReference (Gtk.TreeModel model, Gtk.TreePath path);
8820                 [Version (since = "2.2")]
8821                 public Gtk.TreeRowReference copy ();
8822                 [CCode (cheader_filename = "gtk/gtk.h")]
8823                 public static void deleted (GLib.Object proxy, Gtk.TreePath path);
8824                 [DestroysInstance]
8825                 public void free ();
8826                 [Version (since = "2.8")]
8827                 public unowned Gtk.TreeModel get_model ();
8828                 public Gtk.TreePath? get_path ();
8829                 [CCode (cheader_filename = "gtk/gtk.h")]
8830                 public static void inserted (GLib.Object proxy, Gtk.TreePath path);
8831                 [CCode (has_construct_function = false)]
8832                 public TreeRowReference.proxy (GLib.Object proxy, Gtk.TreeModel model, Gtk.TreePath path);
8833                 [CCode (cheader_filename = "gtk/gtk.h")]
8834                 public static void reordered (GLib.Object proxy, Gtk.TreePath path, Gtk.TreeIter iter, [CCode (array_length = false)] int[] new_order);
8835                 public bool valid ();
8836         }
8837         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_selection_get_type ()")]
8838         public class TreeSelection : GLib.Object {
8839                 [CCode (has_construct_function = false)]
8840                 protected TreeSelection ();
8841                 [Version (since = "2.2")]
8842                 public int count_selected_rows ();
8843                 public Gtk.SelectionMode get_mode ();
8844                 public bool get_selected (out unowned Gtk.TreeModel model, out Gtk.TreeIter iter);
8845                 [Version (since = "2.2")]
8846                 public GLib.List<Gtk.TreePath> get_selected_rows (out unowned Gtk.TreeModel model);
8847                 public unowned Gtk.TreeView get_tree_view ();
8848                 public bool iter_is_selected (Gtk.TreeIter iter);
8849                 public bool path_is_selected (Gtk.TreePath path);
8850                 public void select_all ();
8851                 public void select_iter (Gtk.TreeIter iter);
8852                 public void select_path (Gtk.TreePath path);
8853                 public void select_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
8854                 public void selected_foreach (Gtk.TreeSelectionForeachFunc func);
8855                 public void set_mode (Gtk.SelectionMode type);
8856                 public void set_select_function (owned Gtk.TreeSelectionFunc func);
8857                 public void unselect_all ();
8858                 public void unselect_iter (Gtk.TreeIter iter);
8859                 public void unselect_path (Gtk.TreePath path);
8860                 [Version (since = "2.2")]
8861                 public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
8862                 [Version (since = "3.2")]
8863                 public Gtk.SelectionMode mode { get; set; }
8864                 public virtual signal void changed ();
8865         }
8866         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_store_get_type ()")]
8867         public class TreeStore : GLib.Object, Gtk.Buildable, Gtk.TreeDragDest, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
8868                 [CCode (has_construct_function = false, sentinel = "")]
8869                 public TreeStore (int n_columns, ...);
8870                 public void append (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
8871                 public void clear ();
8872                 public void insert (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position);
8873                 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
8874                 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
8875                 [CCode (sentinel = "-1")]
8876                 [Version (since = "2.10")]
8877                 public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...);
8878                 [Version (since = "2.10")]
8879                 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);
8880                 public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant);
8881                 public int iter_depth (Gtk.TreeIter iter);
8882                 [Version (since = "2.2")]
8883                 public bool iter_is_valid (Gtk.TreeIter iter);
8884                 [Version (since = "2.2")]
8885                 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
8886                 [Version (since = "2.2")]
8887                 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
8888                 [CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
8889                 public TreeStore.newv ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
8890                 public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
8891                 public bool remove (ref Gtk.TreeIter iter);
8892                 [Version (since = "2.2")]
8893                 public void reorder (Gtk.TreeIter? parent, [CCode (array_length = false)] int[] new_order);
8894                 [CCode (sentinel = "-1")]
8895                 public void @set (Gtk.TreeIter iter, ...);
8896                 public void set_column_types ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
8897                 public void set_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
8898                 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
8899                 [Version (since = "2.12")]
8900                 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);
8901                 [Version (since = "2.2")]
8902                 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
8903         }
8904         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_get_type ()")]
8905         public class TreeView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
8906                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8907                 public TreeView ();
8908                 public int append_column (Gtk.TreeViewColumn column);
8909                 public void collapse_all ();
8910                 public bool collapse_row (Gtk.TreePath path);
8911                 public void columns_autosize ();
8912                 [Version (since = "2.12")]
8913                 public void convert_bin_window_to_tree_coords (int bx, int by, out int tx, out int ty);
8914                 [Version (since = "2.12")]
8915                 public void convert_bin_window_to_widget_coords (int bx, int by, out int wx, out int wy);
8916                 [Version (since = "2.12")]
8917                 public void convert_tree_to_bin_window_coords (int tx, int ty, out int bx, out int by);
8918                 [Version (since = "2.12")]
8919                 public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy);
8920                 [Version (since = "2.12")]
8921                 public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
8922                 [Version (since = "2.12")]
8923                 public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty);
8924                 public Cairo.Surface create_row_drag_icon (Gtk.TreePath path);
8925                 public void enable_model_drag_dest ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gtk.TargetEntry[] targets, Gdk.DragAction actions);
8926                 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);
8927                 public void expand_all ();
8928                 public bool expand_row (Gtk.TreePath path, bool open_all);
8929                 [Version (since = "2.2")]
8930                 public void expand_to_path (Gtk.TreePath path);
8931                 [Version (since = "3.8")]
8932                 public bool get_activate_on_single_click ();
8933                 public void get_background_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
8934                 public unowned Gdk.Window? get_bin_window ();
8935                 public void get_cell_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
8936                 public unowned Gtk.TreeViewColumn? get_column (int n);
8937                 public GLib.List<weak Gtk.TreeViewColumn> get_columns ();
8938                 public void get_cursor (out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? focus_column);
8939                 public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
8940                 public void get_drag_dest_row (out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
8941                 public bool get_enable_search ();
8942                 [Version (since = "2.10")]
8943                 public bool get_enable_tree_lines ();
8944                 public unowned Gtk.TreeViewColumn get_expander_column ();
8945                 [Version (since = "2.6")]
8946                 public bool get_fixed_height_mode ();
8947                 [Version (since = "2.10")]
8948                 public Gtk.TreeViewGridLines get_grid_lines ();
8949                 [Version (deprecated = true, deprecated_since = "3.0")]
8950                 public unowned Gtk.Adjustment get_hadjustment ();
8951                 [Version (since = "2.10")]
8952                 public bool get_headers_clickable ();
8953                 public bool get_headers_visible ();
8954                 [Version (since = "2.6")]
8955                 public bool get_hover_expand ();
8956                 [Version (since = "2.6")]
8957                 public bool get_hover_selection ();
8958                 [Version (since = "2.12")]
8959                 public int get_level_indentation ();
8960                 public unowned Gtk.TreeModel? get_model ();
8961                 [Version (since = "3.4")]
8962                 public uint get_n_columns ();
8963                 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);
8964                 public bool get_reorderable ();
8965                 [Version (since = "2.6")]
8966                 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
8967                 [Version (since = "2.10")]
8968                 public bool get_rubber_banding ();
8969                 [Version (deprecated = true, deprecated_since = "3.14")]
8970                 public bool get_rules_hint ();
8971                 public int get_search_column ();
8972                 [Version (since = "2.10")]
8973                 public unowned Gtk.Entry get_search_entry ();
8974                 public unowned Gtk.TreeViewSearchEqualFunc get_search_equal_func ();
8975                 [Version (since = "2.10")]
8976                 public unowned Gtk.TreeViewSearchPositionFunc get_search_position_func ();
8977                 public unowned Gtk.TreeSelection get_selection ();
8978                 [Version (since = "2.12")]
8979                 public bool get_show_expanders ();
8980                 [Version (since = "2.12")]
8981                 public int get_tooltip_column ();
8982                 [Version (since = "2.12")]
8983                 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);
8984                 [Version (deprecated = true, deprecated_since = "3.0")]
8985                 public unowned Gtk.Adjustment get_vadjustment ();
8986                 [Version (since = "2.8")]
8987                 public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
8988                 public void get_visible_rect (out Gdk.Rectangle visible_rect);
8989                 public int insert_column (Gtk.TreeViewColumn column, int position);
8990                 public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...);
8991                 public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func);
8992                 [Version (since = "3.0")]
8993                 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);
8994                 [CCode (cname = "gtk_tree_view_row_expanded")]
8995                 public bool is_row_expanded (Gtk.TreePath path);
8996                 [Version (since = "2.12")]
8997                 public bool is_rubber_banding_active ();
8998                 public void map_expanded_rows (Gtk.TreeViewMappingFunc func);
8999                 public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn? base_column);
9000                 public int remove_column (Gtk.TreeViewColumn column);
9001                 public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align);
9002                 public void scroll_to_point (int tree_x, int tree_y);
9003                 [Version (since = "3.8")]
9004                 public void set_activate_on_single_click (bool single);
9005                 public void set_column_drag_function (owned Gtk.TreeViewColumnDropFunc? func);
9006                 public void set_cursor (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, bool start_editing);
9007                 [Version (since = "2.2")]
9008                 public void set_cursor_on_cell (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, Gtk.CellRenderer? focus_cell, bool start_editing);
9009                 [Version (deprecated = true, deprecated_since = "3.4")]
9010                 public void set_destroy_count_func (owned Gtk.TreeDestroyCountFunc? func);
9011                 public void set_drag_dest_row (Gtk.TreePath? path, Gtk.TreeViewDropPosition pos);
9012                 public void set_enable_search (bool enable_search);
9013                 [Version (since = "2.10")]
9014                 public void set_enable_tree_lines (bool enabled);
9015                 public void set_expander_column (Gtk.TreeViewColumn column);
9016                 [Version (since = "2.6")]
9017                 public void set_fixed_height_mode (bool enable);
9018                 [Version (since = "2.10")]
9019                 public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
9020                 [Version (deprecated = true, deprecated_since = "3.0")]
9021                 public void set_hadjustment (Gtk.Adjustment? adjustment);
9022                 public void set_headers_clickable (bool setting);
9023                 public void set_headers_visible (bool headers_visible);
9024                 [Version (since = "2.6")]
9025                 public void set_hover_expand (bool expand);
9026                 [Version (since = "2.6")]
9027                 public void set_hover_selection (bool hover);
9028                 [Version (since = "2.12")]
9029                 public void set_level_indentation (int indentation);
9030                 public void set_model (Gtk.TreeModel? model);
9031                 public void set_reorderable (bool reorderable);
9032                 [Version (since = "2.6")]
9033                 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc? func);
9034                 [Version (since = "2.10")]
9035                 public void set_rubber_banding (bool enable);
9036                 [Version (deprecated = true, deprecated_since = "3.14")]
9037                 public void set_rules_hint (bool setting);
9038                 public void set_search_column (int column);
9039                 [Version (since = "2.10")]
9040                 public void set_search_entry (Gtk.Entry? entry);
9041                 public void set_search_equal_func (owned Gtk.TreeViewSearchEqualFunc search_equal_func);
9042                 [Version (since = "2.10")]
9043                 public void set_search_position_func (owned Gtk.TreeViewSearchPositionFunc? func);
9044                 [Version (since = "2.12")]
9045                 public void set_show_expanders (bool enabled);
9046                 [Version (since = "2.12")]
9047                 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath? path, Gtk.TreeViewColumn? column, Gtk.CellRenderer? cell);
9048                 [Version (since = "2.12")]
9049                 public void set_tooltip_column (int column);
9050                 [Version (since = "2.12")]
9051                 public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
9052                 [Version (deprecated = true, deprecated_since = "3.0")]
9053                 public void set_vadjustment (Gtk.Adjustment? adjustment);
9054                 public void unset_rows_drag_dest ();
9055                 public void unset_rows_drag_source ();
9056                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9057                 public TreeView.with_model (Gtk.TreeModel model);
9058                 [Version (since = "3.8")]
9059                 public bool activate_on_single_click { get; set; }
9060                 [NoAccessorMethod]
9061                 public Gtk.TreeViewGridLines enable_grid_lines { get; set; }
9062                 public bool enable_search { get; set; }
9063                 public bool enable_tree_lines { get; set; }
9064                 public Gtk.TreeViewColumn expander_column { get; set; }
9065                 [Version (since = "2.4")]
9066                 public bool fixed_height_mode { get; set; }
9067                 public bool headers_clickable { get; set; }
9068                 public bool headers_visible { get; set; }
9069                 [Version (since = "2.6")]
9070                 public bool hover_expand { get; set; }
9071                 [Version (since = "2.6")]
9072                 public bool hover_selection { get; set; }
9073                 [Version (since = "2.12")]
9074                 public int level_indentation { get; set; }
9075                 public Gtk.TreeModel model { get; set; }
9076                 public bool reorderable { get; set; }
9077                 public bool rubber_banding { get; set; }
9078                 [Version (deprecated = true, deprecated_since = "3.14")]
9079                 public bool rules_hint { get; set; }
9080                 public int search_column { get; set; }
9081                 [Version (since = "2.12")]
9082                 public bool show_expanders { get; set; }
9083                 public int tooltip_column { get; set; }
9084                 public virtual signal void columns_changed ();
9085                 public virtual signal void cursor_changed ();
9086                 public virtual signal bool expand_collapse_cursor_row (bool logical, bool expand, bool open_all);
9087                 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
9088                 [HasEmitter]
9089                 public virtual signal void row_activated (Gtk.TreePath path, Gtk.TreeViewColumn column);
9090                 public virtual signal void row_collapsed (Gtk.TreeIter iter, Gtk.TreePath path);
9091                 public virtual signal void row_expanded (Gtk.TreeIter iter, Gtk.TreePath path);
9092                 public virtual signal bool select_all ();
9093                 public virtual signal bool select_cursor_parent ();
9094                 public virtual signal bool select_cursor_row (bool start_editing);
9095                 public virtual signal bool start_interactive_search ();
9096                 public virtual signal bool test_collapse_row (Gtk.TreeIter iter, Gtk.TreePath path);
9097                 public virtual signal bool test_expand_row (Gtk.TreeIter iter, Gtk.TreePath path);
9098                 public virtual signal bool toggle_cursor_row ();
9099                 public virtual signal bool unselect_all ();
9100         }
9101         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_tree_view_accessible_get_type ()")]
9102         public class TreeViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection, Atk.Table, Gtk.CellAccessibleParent {
9103                 [CCode (has_construct_function = false)]
9104                 protected TreeViewAccessible ();
9105         }
9106         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_column_get_type ()")]
9107         public class TreeViewColumn : GLib.InitiallyUnowned, Gtk.Buildable, Gtk.CellLayout {
9108                 [CCode (has_construct_function = false)]
9109                 public TreeViewColumn ();
9110                 public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int x_offset, out int width);
9111                 public void cell_get_size (Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
9112                 public bool cell_is_visible ();
9113                 public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
9114                 [Version (since = "2.2")]
9115                 public void focus_cell (Gtk.CellRenderer cell);
9116                 public float get_alignment ();
9117                 [Version (since = "3.0")]
9118                 public unowned Gtk.Widget get_button ();
9119                 public bool get_clickable ();
9120                 [Version (since = "2.4")]
9121                 public bool get_expand ();
9122                 public int get_fixed_width ();
9123                 public int get_max_width ();
9124                 public int get_min_width ();
9125                 public bool get_reorderable ();
9126                 public bool get_resizable ();
9127                 public Gtk.TreeViewColumnSizing get_sizing ();
9128                 public int get_sort_column_id ();
9129                 public bool get_sort_indicator ();
9130                 public Gtk.SortType get_sort_order ();
9131                 public int get_spacing ();
9132                 public unowned string get_title ();
9133                 [Version (since = "2.12")]
9134                 public unowned Gtk.Widget? get_tree_view ();
9135                 public bool get_visible ();
9136                 public unowned Gtk.Widget? get_widget ();
9137                 public int get_width ();
9138                 [Version (since = "3.2")]
9139                 public int get_x_offset ();
9140                 [Version (since = "2.8")]
9141                 public void queue_resize ();
9142                 public void set_alignment (float xalign);
9143                 public void set_attributes (Gtk.CellRenderer cell_renderer, ...);
9144                 public void set_clickable (bool clickable);
9145                 [Version (since = "2.4")]
9146                 public void set_expand (bool expand);
9147                 public void set_fixed_width (int fixed_width);
9148                 public void set_max_width (int max_width);
9149                 public void set_min_width (int min_width);
9150                 public void set_reorderable (bool reorderable);
9151                 public void set_resizable (bool resizable);
9152                 public void set_sizing (Gtk.TreeViewColumnSizing type);
9153                 public void set_sort_column_id (int sort_column_id);
9154                 public void set_sort_indicator (bool setting);
9155                 public void set_sort_order (Gtk.SortType order);
9156                 public void set_spacing (int spacing);
9157                 public void set_title (string title);
9158                 public void set_visible (bool visible);
9159                 public void set_widget (Gtk.Widget? widget);
9160                 [CCode (has_construct_function = false)]
9161                 [Version (since = "3.0")]
9162                 public TreeViewColumn.with_area (Gtk.CellArea area);
9163                 [CCode (has_construct_function = false)]
9164                 public TreeViewColumn.with_attributes (string? title, Gtk.CellRenderer cell, ...);
9165                 public float alignment { get; set; }
9166                 [NoAccessorMethod]
9167                 [Version (since = "3.0")]
9168                 public Gtk.CellArea cell_area { owned get; construct; }
9169                 public bool clickable { get; set; }
9170                 public bool expand { get; set; }
9171                 public int fixed_width { get; set; }
9172                 public int max_width { get; set; }
9173                 public int min_width { get; set; }
9174                 public bool reorderable { get; set; }
9175                 public bool resizable { get; set; }
9176                 public Gtk.TreeViewColumnSizing sizing { get; set; }
9177                 [Version (since = "2.18")]
9178                 public int sort_column_id { get; set; }
9179                 public bool sort_indicator { get; set; }
9180                 public Gtk.SortType sort_order { get; set; }
9181                 public int spacing { get; set; }
9182                 public string title { get; set; }
9183                 public bool visible { get; set; }
9184                 public Gtk.Widget widget { get; set; }
9185                 public int width { get; }
9186                 public int x_offset { get; }
9187                 [HasEmitter]
9188                 public virtual signal void clicked ();
9189         }
9190         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_ui_manager_get_type ()")]
9191         [Version (deprecated = true, deprecated_since = "3.10")]
9192         public class UIManager : GLib.Object, Gtk.Buildable {
9193                 [CCode (has_construct_function = false)]
9194                 [Version (since = "2.4")]
9195                 public UIManager ();
9196                 [Version (since = "2.4")]
9197                 public void add_ui (uint merge_id, string path, string name, string? action, Gtk.UIManagerItemType type, bool top);
9198                 [Version (since = "2.4")]
9199                 public uint add_ui_from_file (string filename) throws GLib.Error;
9200                 [Version (since = "3.4")]
9201                 public uint add_ui_from_resource (string resource_path) throws GLib.Error;
9202                 [Version (since = "2.4")]
9203                 public uint add_ui_from_string (string buffer, ssize_t length) throws GLib.Error;
9204                 [Version (since = "2.4")]
9205                 public void ensure_update ();
9206                 [Version (since = "2.4")]
9207                 public unowned Gtk.AccelGroup get_accel_group ();
9208                 [Version (since = "2.4")]
9209                 public virtual unowned Gtk.Action get_action (string path);
9210                 [Version (since = "2.4")]
9211                 public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
9212                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9213                 public bool get_add_tearoffs ();
9214                 [Version (since = "2.4")]
9215                 public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
9216                 [Version (since = "2.4")]
9217                 public string get_ui ();
9218                 [Version (since = "2.4")]
9219                 public virtual unowned Gtk.Widget get_widget (string path);
9220                 [Version (since = "2.4")]
9221                 public void insert_action_group (Gtk.ActionGroup action_group, int pos);
9222                 [Version (since = "2.4")]
9223                 public uint new_merge_id ();
9224                 [Version (since = "2.4")]
9225                 public void remove_action_group (Gtk.ActionGroup action_group);
9226                 [Version (since = "2.4")]
9227                 public void remove_ui (uint merge_id);
9228                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9229                 public void set_add_tearoffs (bool add_tearoffs);
9230                 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9231                 public bool add_tearoffs { get; set; }
9232                 public string ui { owned get; }
9233                 [Version (since = "2.4")]
9234                 public virtual signal void actions_changed ();
9235                 [Version (since = "2.4")]
9236                 public virtual signal void add_widget (Gtk.Widget widget);
9237                 [Version (since = "2.4")]
9238                 public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy);
9239                 [Version (since = "2.4")]
9240                 public virtual signal void disconnect_proxy (Gtk.Action action, Gtk.Widget proxy);
9241                 [Version (since = "2.4")]
9242                 public virtual signal void post_activate (Gtk.Action action);
9243                 [Version (since = "2.4")]
9244                 public virtual signal void pre_activate (Gtk.Action action);
9245         }
9246         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbox_get_type ()")]
9247         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Box")]
9248         public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9249                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9250                 public VBox (bool homogeneous, int spacing);
9251         }
9252         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbutton_box_get_type ()")]
9253         [Version (deprecated = true, deprecated_since = "3.2", replacement = "ButtonBox")]
9254         public class VButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9255                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9256                 public VButtonBox ();
9257         }
9258         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vpaned_get_type ()")]
9259         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Paned")]
9260         public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9261                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9262                 public VPaned ();
9263         }
9264         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscale_get_type ()")]
9265         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scale")]
9266         public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9267                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9268                 public VScale (Gtk.Adjustment? adjustment);
9269                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9270                 public VScale.with_range (double min, double max, double step);
9271         }
9272         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscrollbar_get_type ()")]
9273         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scrollbar")]
9274         public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9275                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9276                 public VScrollbar (Gtk.Adjustment? adjustment);
9277         }
9278         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vseparator_get_type ()")]
9279         [Version (deprecated = true, deprecated_since = "3.2", replacement = "Separator")]
9280         public class VSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9281                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9282                 public VSeparator ();
9283         }
9284         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_viewport_get_type ()")]
9285         public class Viewport : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
9286                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9287                 public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
9288                 [Version (since = "2.20")]
9289                 public unowned Gdk.Window get_bin_window ();
9290                 [Version (deprecated = true, deprecated_since = "3.0")]
9291                 public unowned Gtk.Adjustment? get_hadjustment ();
9292                 public Gtk.ShadowType get_shadow_type ();
9293                 [Version (deprecated = true, deprecated_since = "3.0")]
9294                 public unowned Gtk.Adjustment? get_vadjustment ();
9295                 [Version (since = "2.22")]
9296                 public unowned Gdk.Window get_view_window ();
9297                 [Version (deprecated = true, deprecated_since = "3.0")]
9298                 public void set_hadjustment (Gtk.Adjustment? adjustment);
9299                 public void set_shadow_type (Gtk.ShadowType type);
9300                 [Version (deprecated = true, deprecated_since = "3.0")]
9301                 public void set_vadjustment (Gtk.Adjustment? adjustment);
9302                 public Gtk.ShadowType shadow_type { get; set; }
9303         }
9304         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_volume_button_get_type ()")]
9305         public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.Orientable {
9306                 [CCode (has_construct_function = false, type = "GtkWidget*")]
9307                 [Version (since = "2.12")]
9308                 public VolumeButton ();
9309                 [NoAccessorMethod]
9310                 [Version (since = "3.0")]
9311                 public bool use_symbolic { get; set construct; }
9312         }
9313         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_widget_get_type ()")]
9314         public class Widget : GLib.InitiallyUnowned, Atk.Implementor, Gtk.Buildable {
9315                 [CCode (construct_function = "gtk_widget_new", has_new_function = false)]
9316                 public Widget (...);
9317                 public bool activate ();
9318                 public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
9319                 [Version (since = "3.0")]
9320                 public void add_device_events (Gdk.Device device, Gdk.EventMask events);
9321                 public void add_events (int events);
9322                 [Version (since = "2.4")]
9323                 public void add_mnemonic_label (Gtk.Widget label);
9324                 [Version (since = "3.8")]
9325                 public uint add_tick_callback (owned Gtk.TickCallback callback);
9326                 [NoWrapper]
9327                 public virtual void adjust_baseline_allocation (int baseline);
9328                 [NoWrapper]
9329                 public virtual void adjust_baseline_request (int minimum_baseline, int natural_baseline);
9330                 [NoWrapper]
9331                 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);
9332                 [NoWrapper]
9333                 public virtual void adjust_size_request (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size);
9334                 [CCode (cname = "gtk_widget_class_bind_template_callback_full")]
9335                 [Version (since = "3.10")]
9336                 public class void bind_template_callback_full (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
9337                 [CCode (cname = "gtk_widget_class_bind_template_child_full")]
9338                 [Version (since = "3.10")]
9339                 public class void bind_template_child_full (string name, bool internal_child, ssize_t struct_offset);
9340                 public bool child_focus (Gtk.DirectionType direction);
9341                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "get_path")]
9342                 public void class_path (out uint path_length, out string path, out string path_reversed);
9343                 public bool compute_expand (Gtk.Orientation orientation);
9344                 [CCode (vfunc_name = "compute_expand")]
9345                 [NoWrapper]
9346                 public virtual void compute_expand_internal (out bool hexpand_p, out bool vexpand_p);
9347                 public Pango.Context create_pango_context ();
9348                 public Pango.Layout create_pango_layout (string? text);
9349                 public void destroyed (ref unowned Gtk.Widget widget_pointer);
9350                 [Version (since = "3.0")]
9351                 public bool device_is_shadowed (Gdk.Device device);
9352                 [NoWrapper]
9353                 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);
9354                 [CCode (cname = "gtk_widget_draw")]
9355                 [Version (since = "3.0")]
9356                 public void draw_to_cairo_context (Cairo.Context cr);
9357                 [Version (deprecated = true, deprecated_since = "3.0")]
9358                 public void ensure_style ();
9359                 [Version (since = "2.12")]
9360                 public void error_bell ();
9361                 [CCode (cname = "gtk_widget_class_find_style_property")]
9362                 [Version (since = "2.2")]
9363                 public class unowned GLib.ParamSpec find_style_property (string property_name);
9364                 public void freeze_child_notify ();
9365                 public virtual unowned Atk.Object get_accessible ();
9366                 [Version (since = "3.16")]
9367                 public unowned GLib.ActionGroup? get_action_group (string prefix);
9368                 [Version (since = "3.10")]
9369                 public int get_allocated_baseline ();
9370                 public int get_allocated_height ();
9371                 [Version (since = "3.20")]
9372                 public void get_allocated_size (out Gtk.Allocation allocation, out int baseline);
9373                 public int get_allocated_width ();
9374                 [Version (since = "2.18")]
9375                 public void get_allocation (out Gtk.Allocation allocation);
9376                 public unowned Gtk.Widget? get_ancestor (GLib.Type widget_type);
9377                 [Version (since = "2.18")]
9378                 public bool get_app_paintable ();
9379                 [Version (since = "2.18")]
9380                 public bool get_can_default ();
9381                 [Version (since = "2.18")]
9382                 public bool get_can_focus ();
9383                 [Version (deprecated = true, deprecated_since = "3.0")]
9384                 public void get_child_requisition (out Gtk.Requisition requisition);
9385                 public bool get_child_visible ();
9386                 [Version (since = "3.14")]
9387                 public void get_clip (out Gtk.Allocation clip);
9388                 [Version (since = "2.2")]
9389                 public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
9390                 [Version (deprecated = true, deprecated_since = "3.10")]
9391                 public string get_composite_name ();
9392                 [CCode (cname = "gtk_widget_class_get_css_name")]
9393                 [Version (since = "3.20")]
9394                 public class unowned string get_css_name ();
9395                 public static Gtk.TextDirection get_default_direction ();
9396                 [Version (deprecated = true, deprecated_since = "3.0")]
9397                 public static unowned Gtk.Style get_default_style ();
9398                 [Version (since = "3.0")]
9399                 public bool get_device_enabled (Gdk.Device device);
9400                 [Version (since = "3.0")]
9401                 public Gdk.EventMask get_device_events (Gdk.Device device);
9402                 public Gtk.TextDirection get_direction ();
9403                 [Version (since = "2.2")]
9404                 public unowned Gdk.Display get_display ();
9405                 [Version (since = "2.18")]
9406                 public bool get_double_buffered ();
9407                 public int get_events ();
9408                 [Version (since = "3.20")]
9409                 public bool get_focus_on_click ();
9410                 [Version (since = "3.18")]
9411                 public unowned Pango.FontMap? get_font_map ();
9412                 [Version (since = "3.18")]
9413                 public unowned Cairo.FontOptions? get_font_options ();
9414                 [Version (since = "3.8")]
9415                 public unowned Gdk.FrameClock? get_frame_clock ();
9416                 public Gtk.Align get_halign ();
9417                 [Version (since = "2.12")]
9418                 public bool get_has_tooltip ();
9419                 [Version (since = "2.18")]
9420                 public bool get_has_window ();
9421                 public bool get_hexpand ();
9422                 public bool get_hexpand_set ();
9423                 [Version (since = "2.20")]
9424                 public bool get_mapped ();
9425                 [Version (since = "3.0")]
9426                 public int get_margin_bottom ();
9427                 [Version (since = "3.12")]
9428                 public int get_margin_end ();
9429                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9430                 public int get_margin_left ();
9431                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9432                 public int get_margin_right ();
9433                 [Version (since = "3.12")]
9434                 public int get_margin_start ();
9435                 [Version (since = "3.0")]
9436                 public int get_margin_top ();
9437                 [Version (since = "3.4")]
9438                 public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
9439                 [Version (deprecated = true, deprecated_since = "3.0")]
9440                 public unowned Gtk.RcStyle get_modifier_style ();
9441                 [Version (since = "2.4")]
9442                 public bool get_no_show_all ();
9443                 [Version (since = "3.8")]
9444                 public double get_opacity ();
9445                 public unowned Pango.Context get_pango_context ();
9446                 public unowned Gtk.Container? get_parent ();
9447                 public unowned Gdk.Window? get_parent_window ();
9448                 public unowned Gtk.WidgetPath get_path ();
9449                 [Version (deprecated = true, deprecated_since = "3.4")]
9450                 public void get_pointer (out int x, out int y);
9451                 [Version (since = "3.0")]
9452                 public virtual void get_preferred_height (out int minimum_height, out int natural_height);
9453                 [Version (since = "3.10")]
9454                 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);
9455                 [Version (since = "3.0")]
9456                 public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
9457                 [CCode (vfunc_name = "get_preferred_height_for_width")]
9458                 [NoWrapper]
9459                 [Version (deprecated = true)]
9460                 public virtual void get_preferred_height_for_width_internal (int width, out int minimum_height, out int natural_height);
9461                 [CCode (vfunc_name = "get_preferred_height")]
9462                 [NoWrapper]
9463                 [Version (deprecated = true)]
9464                 public virtual void get_preferred_height_internal (out int minimum_height, out int natural_height);
9465                 [Version (since = "3.0")]
9466                 public void get_preferred_size (out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
9467                 [Version (since = "3.0")]
9468                 public virtual void get_preferred_width (out int minimum_width, out int natural_width);
9469                 [Version (since = "3.0")]
9470                 public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
9471                 [CCode (vfunc_name = "get_preferred_width_for_height")]
9472                 [NoWrapper]
9473                 [Version (deprecated = true)]
9474                 public virtual void get_preferred_width_for_height_internal (int height, out int minimum_width, out int natural_width);
9475                 [CCode (vfunc_name = "get_preferred_width")]
9476                 [NoWrapper]
9477                 [Version (deprecated = true)]
9478                 public virtual void get_preferred_width_internal (out int minimum_width, out int natural_width);
9479                 [Version (since = "2.20")]
9480                 public bool get_realized ();
9481                 [Version (since = "2.18")]
9482                 public bool get_receives_default ();
9483                 [Version (since = "3.0")]
9484                 public virtual Gtk.SizeRequestMode get_request_mode ();
9485                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9486                 public Gtk.Requisition get_requisition ();
9487                 [Version (deprecated = true, deprecated_since = "3.12", since = "2.2")]
9488                 public unowned Gdk.Window get_root_window ();
9489                 [Version (since = "3.10")]
9490                 public int get_scale_factor ();
9491                 [Version (since = "2.2")]
9492                 public unowned Gdk.Screen get_screen ();
9493                 [Version (since = "2.18")]
9494                 public bool get_sensitive ();
9495                 public unowned Gtk.Settings get_settings ();
9496                 public void get_size_request (out int width, out int height);
9497                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.18")]
9498                 public Gtk.StateType get_state ();
9499                 [Version (since = "3.0")]
9500                 public Gtk.StateFlags get_state_flags ();
9501                 [Version (deprecated = true, deprecated_since = "3.0")]
9502                 public unowned Gtk.Style get_style ();
9503                 public unowned Gtk.StyleContext get_style_context ();
9504                 public bool get_support_multidevice ();
9505                 public unowned GLib.Object get_template_child (GLib.Type widget_type, string name);
9506                 [Version (since = "2.12")]
9507                 public string? get_tooltip_markup ();
9508                 [Version (since = "2.12")]
9509                 public string? get_tooltip_text ();
9510                 [Version (since = "2.12")]
9511                 public unowned Gtk.Window get_tooltip_window ();
9512                 public unowned Gtk.Widget get_toplevel ();
9513                 public Gtk.Align get_valign ();
9514                 [Version (since = "3.10")]
9515                 public Gtk.Align get_valign_with_baseline ();
9516                 public bool get_vexpand ();
9517                 public bool get_vexpand_set ();
9518                 [Version (since = "2.18")]
9519                 public bool get_visible ();
9520                 public unowned Gdk.Visual get_visual ();
9521                 [Version (since = "2.14")]
9522                 public unowned Gdk.Window? get_window ();
9523                 public void grab_default ();
9524                 [Version (since = "2.18")]
9525                 public bool has_grab ();
9526                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9527                 public bool has_rc_style ();
9528                 [Version (since = "2.2")]
9529                 public bool has_screen ();
9530                 [Version (since = "3.2")]
9531                 public bool has_visible_focus ();
9532                 public bool hide_on_delete ();
9533                 public bool in_destruction ();
9534                 [Version (since = "3.10")]
9535                 public void init_template ();
9536                 [Version (since = "3.0")]
9537                 public void input_shape_combine_region (Cairo.Region? region);
9538                 [Version (since = "3.6")]
9539                 public void insert_action_group (string name, GLib.ActionGroup? group);
9540                 [CCode (cname = "gtk_widget_class_install_style_property")]
9541                 public class void install_style_property (GLib.ParamSpec pspec);
9542                 [CCode (cname = "gtk_widget_class_install_style_property_parser")]
9543                 public class void install_style_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
9544                 public bool intersect (Gdk.Rectangle area, out Gdk.Rectangle? intersection = null);
9545                 public bool is_ancestor (Gtk.Widget ancestor);
9546                 [Version (deprecated = true, deprecated_since = "3.22", since = "2.10")]
9547                 public bool is_composited ();
9548                 [Version (since = "2.18")]
9549                 public bool is_drawable ();
9550                 [Version (since = "2.18")]
9551                 public bool is_sensitive ();
9552                 [Version (since = "2.18")]
9553                 public bool is_toplevel ();
9554                 [Version (since = "3.8")]
9555                 public bool is_visible ();
9556                 public GLib.List<weak GLib.Closure> list_accel_closures ();
9557                 [CCode (array_length = false, array_null_terminated = true)]
9558                 [Version (since = "3.16")]
9559                 public (unowned string)[] list_action_prefixes ();
9560                 [Version (since = "2.4")]
9561                 public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
9562                 [CCode (array_length_pos = 0.1, array_length_type = "guint", cname = "gtk_widget_class_list_style_properties")]
9563                 [Version (since = "2.2")]
9564                 public class (unowned GLib.ParamSpec)[] list_style_properties ();
9565                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_background_color")]
9566                 public void modify_base (Gtk.StateType state, Gdk.Color? color);
9567                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_background_color")]
9568                 public void modify_bg (Gtk.StateType state, Gdk.Color? color);
9569                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_cursor", since = "2.12")]
9570                 public void modify_cursor (Gdk.Color? primary, Gdk.Color? secondary);
9571                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_color")]
9572                 public void modify_fg (Gtk.StateType state, Gdk.Color? color);
9573                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_font")]
9574                 public void modify_font (Pango.FontDescription? font_desc);
9575                 [Version (deprecated = true, deprecated_since = "3.0")]
9576                 public void modify_style (Gtk.RcStyle style);
9577                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_color")]
9578                 public void modify_text (Gtk.StateType state, Gdk.Color? color);
9579                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9580                 public void override_background_color (Gtk.StateFlags state, Gdk.RGBA? color);
9581                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9582                 public void override_color (Gtk.StateFlags state, Gdk.RGBA? color);
9583                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9584                 public void override_cursor (Gdk.RGBA? cursor, Gdk.RGBA? secondary_cursor);
9585                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9586                 public void override_font (Pango.FontDescription? font_desc);
9587                 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9588                 public void override_symbolic_color (string name, Gdk.RGBA? color);
9589                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "get_path")]
9590                 public void path (out uint path_length, out string path, out string path_reversed);
9591                 [Version (deprecated = true, deprecated_since = "3.10")]
9592                 public static void pop_composite_child ();
9593                 [Version (deprecated = true, deprecated_since = "3.10")]
9594                 public static void push_composite_child ();
9595                 [Version (since = "3.20")]
9596                 public void queue_allocate ();
9597                 public void queue_compute_expand ();
9598                 public void queue_draw ();
9599                 public void queue_draw_area (int x, int y, int width, int height);
9600                 [Version (since = "3.0")]
9601                 public virtual void queue_draw_region (Cairo.Region region);
9602                 public void queue_resize ();
9603                 [Version (since = "2.4")]
9604                 public void queue_resize_no_redraw ();
9605                 [Version (deprecated = true, deprecated_since = "3.14")]
9606                 public Cairo.Region region_intersect (Cairo.Region region);
9607                 [Version (since = "3.8")]
9608                 public void register_window (Gdk.Window window);
9609                 public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);
9610                 [Version (since = "2.4")]
9611                 public void remove_mnemonic_label (Gtk.Widget label);
9612                 [Version (since = "3.8")]
9613                 public void remove_tick_callback (uint id);
9614                 [Version (deprecated = true, deprecated_since = "3.0")]
9615                 public Gdk.Pixbuf? render_icon (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size, string? detail);
9616                 [Version (deprecated = true, deprecated_since = "3.10", since = "3.0")]
9617                 public Gdk.Pixbuf? render_icon_pixbuf (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
9618                 [Version (deprecated = true, deprecated_since = "3.14")]
9619                 public void reparent (Gtk.Widget new_parent);
9620                 [Version (deprecated = true, deprecated_since = "3.0", replacement = "reset_style")]
9621                 public void reset_rc_styles ();
9622                 [Version (since = "3.0")]
9623                 public void reset_style ();
9624                 [Version (deprecated = true, deprecated_since = "3.22")]
9625                 public int send_expose (Gdk.Event event);
9626                 [Version (since = "2.20")]
9627                 public bool send_focus_change (Gdk.Event event);
9628                 public void set_accel_path (string? accel_path, Gtk.AccelGroup? accel_group);
9629                 [CCode (cname = "gtk_widget_class_set_accessible_role")]
9630                 [Version (since = "3.2")]
9631                 public class void set_accessible_role (Atk.Role role);
9632                 [CCode (cname = "gtk_widget_class_set_accessible_type")]
9633                 [Version (since = "3.2")]
9634                 public class void set_accessible_type (GLib.Type type);
9635                 [Version (since = "2.18")]
9636                 public void set_allocation (Gtk.Allocation allocation);
9637                 public void set_app_paintable (bool app_paintable);
9638                 [Version (since = "2.18")]
9639                 public void set_can_default (bool can_default);
9640                 [Version (since = "2.18")]
9641                 public void set_can_focus (bool can_focus);
9642                 public void set_child_visible (bool is_visible);
9643                 [Version (since = "3.14")]
9644                 public void set_clip (Gtk.Allocation clip);
9645                 [Version (deprecated = true, deprecated_since = "3.10")]
9646                 public void set_composite_name (string name);
9647                 [CCode (cname = "gtk_widget_class_set_connect_func")]
9648                 [Version (since = "3.10")]
9649                 public class void set_connect_func (owned Gtk.BuilderConnectFunc connect_func);
9650                 [CCode (cname = "gtk_widget_class_set_css_name")]
9651                 [Version (since = "3.20")]
9652                 public class void set_css_name (string name);
9653                 public static void set_default_direction (Gtk.TextDirection dir);
9654                 [Version (since = "3.0")]
9655                 public void set_device_enabled (Gdk.Device device, bool enabled);
9656                 [Version (since = "3.0")]
9657                 public void set_device_events (Gdk.Device device, Gdk.EventMask events);
9658                 public void set_direction (Gtk.TextDirection dir);
9659                 [Version (deprecated = true, deprecated_since = "3.14")]
9660                 public void set_double_buffered (bool double_buffered);
9661                 public void set_events (int events);
9662                 [Version (since = "3.20")]
9663                 public void set_focus_on_click (bool focus_on_click);
9664                 [Version (since = "3.18")]
9665                 public void set_font_map (Pango.FontMap? font_map);
9666                 [Version (since = "3.18")]
9667                 public void set_font_options (Cairo.FontOptions? options);
9668                 public void set_halign (Gtk.Align align);
9669                 [Version (since = "2.12")]
9670                 public void set_has_tooltip (bool has_tooltip);
9671                 [Version (since = "2.18")]
9672                 public void set_has_window (bool has_window);
9673                 public void set_hexpand (bool expand);
9674                 public void set_hexpand_set (bool @set);
9675                 [Version (since = "2.20")]
9676                 public void set_mapped (bool mapped);
9677                 [Version (since = "3.0")]
9678                 public void set_margin_bottom (int margin);
9679                 [Version (since = "3.12")]
9680                 public void set_margin_end (int margin);
9681                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9682                 public void set_margin_left (int margin);
9683                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9684                 public void set_margin_right (int margin);
9685                 [Version (since = "3.12")]
9686                 public void set_margin_start (int margin);
9687                 [Version (since = "3.0")]
9688                 public void set_margin_top (int margin);
9689                 [Version (since = "2.4")]
9690                 public void set_no_show_all (bool no_show_all);
9691                 [Version (since = "3.8")]
9692                 public void set_opacity (double opacity);
9693                 public void set_parent ([CCode (type = "GtkWidget*")] Gtk.Container parent);
9694                 public void set_parent_window (Gdk.Window parent_window);
9695                 [Version (since = "2.20")]
9696                 public void set_realized (bool realized);
9697                 [Version (since = "2.18")]
9698                 public void set_receives_default (bool receives_default);
9699                 public void set_redraw_on_allocate (bool redraw_on_allocate);
9700                 public void set_sensitive (bool sensitive);
9701                 public void set_size_request (int width, int height);
9702                 [Version (deprecated = true, deprecated_since = "3.0")]
9703                 public void set_state (Gtk.StateType state);
9704                 [Version (since = "3.0")]
9705                 public void set_state_flags (Gtk.StateFlags flags, bool clear);
9706                 [Version (deprecated = true, deprecated_since = "3.0")]
9707                 public void set_style (Gtk.Style? style);
9708                 [Version (since = "3.0")]
9709                 public void set_support_multidevice (bool support_multidevice);
9710                 [CCode (cname = "gtk_widget_class_set_template")]
9711                 [Version (since = "3.10")]
9712                 public class void set_template (GLib.Bytes template_bytes);
9713                 [CCode (cname = "gtk_widget_class_set_template_from_resource")]
9714                 [Version (since = "3.10")]
9715                 public class void set_template_from_resource (string resource_name);
9716                 [Version (since = "2.12")]
9717                 public void set_tooltip_markup (string? markup);
9718                 [Version (since = "2.12")]
9719                 public void set_tooltip_text (string? text);
9720                 [Version (since = "2.12")]
9721                 public void set_tooltip_window (Gtk.Window? custom_window);
9722                 public void set_valign (Gtk.Align align);
9723                 public void set_vexpand (bool expand);
9724                 public void set_vexpand_set (bool @set);
9725                 [Version (since = "2.18")]
9726                 public void set_visible (bool visible);
9727                 public void set_visual (Gdk.Visual? visual);
9728                 [Version (since = "2.18")]
9729                 public void set_window (owned Gdk.Window window);
9730                 [Version (since = "3.0")]
9731                 public void shape_combine_region (Cairo.Region? region);
9732                 public virtual void show_all ();
9733                 public void show_now ();
9734                 [Version (since = "3.10")]
9735                 public void size_allocate_with_baseline (Gtk.Allocation allocation, int baseline);
9736                 [Version (deprecated = true, deprecated_since = "3.0")]
9737                 public Gtk.Requisition size_request ();
9738                 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9739                 public void style_attach ();
9740                 public void style_get (...);
9741                 public void style_get_property (string property_name, ref GLib.Value value);
9742                 public void style_get_valist (string first_property_name, [CCode (type = "va_list")] va_list var_args);
9743                 public void thaw_child_notify ();
9744                 public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);
9745                 [Version (since = "2.12")]
9746                 public void trigger_tooltip_query ();
9747                 public void unparent ();
9748                 [Version (since = "3.8")]
9749                 public void unregister_window (Gdk.Window window);
9750                 [Version (since = "3.0")]
9751                 public void unset_state_flags (Gtk.StateFlags flags);
9752                 public bool app_paintable { get; set; }
9753                 public bool can_default { get; set; }
9754                 public bool can_focus { get; set; }
9755                 [NoAccessorMethod]
9756                 public bool composite_child { get; }
9757                 [Version (deprecated = true, deprecated_since = "3.14", since = "2.18")]
9758                 public bool double_buffered { get; set; }
9759                 public Gdk.EventMask events { get; set; }
9760                 [NoAccessorMethod]
9761                 [Version (since = "3.0")]
9762                 public bool expand { get; set; }
9763                 [Version (since = "3.20")]
9764                 public bool focus_on_click { get; set; }
9765                 [Version (since = "3.0")]
9766                 public Gtk.Align halign { get; set; }
9767                 [NoAccessorMethod]
9768                 public bool has_default { get; set; }
9769                 [NoAccessorMethod]
9770                 public bool has_focus { get; set; }
9771                 [Version (since = "2.12")]
9772                 public bool has_tooltip { get; set; }
9773                 [NoAccessorMethod]
9774                 public int height_request { get; set; }
9775                 [Version (since = "3.0")]
9776                 public bool hexpand { get; set; }
9777                 [Version (since = "3.0")]
9778                 public bool hexpand_set { get; set; }
9779                 [NoAccessorMethod]
9780                 public bool is_focus { get; set; }
9781                 [NoAccessorMethod]
9782                 [Version (since = "3.0")]
9783                 public int margin { get; set; }
9784                 [Version (since = "3.0")]
9785                 public int margin_bottom { get; set; }
9786                 [Version (since = "3.12")]
9787                 public int margin_end { get; set; }
9788                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9789                 public int margin_left { get; set; }
9790                 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9791                 public int margin_right { get; set; }
9792                 [Version (since = "3.12")]
9793                 public int margin_start { get; set; }
9794                 [Version (since = "3.0")]
9795                 public int margin_top { get; set; }
9796                 public string name { get; set; }
9797                 public bool no_show_all { get; set; }
9798                 [Version (since = "3.8")]
9799                 public double opacity { get; set; }
9800                 public Gtk.Container parent { get; set; }
9801                 public bool receives_default { get; set; }
9802                 [Version (since = "3.10")]
9803                 public int scale_factor { get; }
9804                 public bool sensitive { get; set; }
9805                 [Version (deprecated = true)]
9806                 public Gtk.Style style { get; set; }
9807                 [Version (since = "2.12")]
9808                 public string tooltip_markup { owned get; set; }
9809                 [Version (since = "2.12")]
9810                 public string tooltip_text { owned get; set; }
9811                 [Version (since = "3.0")]
9812                 public Gtk.Align valign { get; set; }
9813                 [Version (since = "3.0")]
9814                 public bool vexpand { get; set; }
9815                 [Version (since = "3.0")]
9816                 public bool vexpand_set { get; set; }
9817                 public bool visible { get; set; }
9818                 [NoAccessorMethod]
9819                 public int width_request { get; set; }
9820                 public signal void accel_closures_changed ();
9821                 public virtual signal bool button_press_event (Gdk.EventButton event);
9822                 public virtual signal bool button_release_event (Gdk.EventButton event);
9823                 [HasEmitter]
9824                 public virtual signal bool can_activate_accel (uint signal_id);
9825                 [HasEmitter]
9826                 public virtual signal void child_notify (GLib.ParamSpec child_property);
9827                 [Version (deprecated = true, deprecated_since = "3.22")]
9828                 public virtual signal void composited_changed ();
9829                 public virtual signal bool configure_event (Gdk.EventConfigure event);
9830                 [Version (since = "2.14")]
9831                 public virtual signal bool damage_event (Gdk.EventExpose event);
9832                 public virtual signal bool delete_event (Gdk.EventAny event);
9833                 [HasEmitter]
9834                 public virtual signal void destroy ();
9835                 public virtual signal bool destroy_event (Gdk.EventAny event);
9836                 public virtual signal void direction_changed (Gtk.TextDirection previous_direction);
9837                 public virtual signal void drag_begin (Gdk.DragContext context);
9838                 public virtual signal void drag_data_delete (Gdk.DragContext context);
9839                 public virtual signal void drag_data_get (Gdk.DragContext context, Gtk.SelectionData selection_data, uint info, uint time_);
9840                 public virtual signal void drag_data_received (Gdk.DragContext context, int x, int y, Gtk.SelectionData selection_data, uint info, uint time_);
9841                 public virtual signal bool drag_drop (Gdk.DragContext context, int x, int y, uint time_);
9842                 public virtual signal void drag_end (Gdk.DragContext context);
9843                 [Version (since = "2.12")]
9844                 public virtual signal bool drag_failed (Gdk.DragContext context, Gtk.DragResult result);
9845                 public virtual signal void drag_leave (Gdk.DragContext context, uint time_);
9846                 public virtual signal bool drag_motion (Gdk.DragContext context, int x, int y, uint time_);
9847                 [Version (since = "3.0")]
9848                 public virtual signal bool draw (Cairo.Context cr);
9849                 public virtual signal bool enter_notify_event (Gdk.EventCrossing event);
9850                 [HasEmitter]
9851                 public virtual signal bool event (Gdk.Event event);
9852                 public signal void event_after (Gdk.Event event);
9853                 public virtual signal bool focus (Gtk.DirectionType direction);
9854                 public virtual signal bool focus_in_event (Gdk.EventFocus event);
9855                 public virtual signal bool focus_out_event (Gdk.EventFocus event);
9856                 [Version (since = "2.8")]
9857                 public virtual signal bool grab_broken_event (Gdk.EventGrabBroken event);
9858                 [HasEmitter]
9859                 public virtual signal void grab_focus ();
9860                 public virtual signal void grab_notify (bool was_grabbed);
9861                 [HasEmitter]
9862                 public virtual signal void hide ();
9863                 public virtual signal void hierarchy_changed (Gtk.Widget? previous_toplevel);
9864                 public virtual signal bool key_press_event (Gdk.EventKey event);
9865                 public virtual signal bool key_release_event (Gdk.EventKey event);
9866                 [HasEmitter]
9867                 [Version (since = "2.12")]
9868                 public virtual signal bool keynav_failed (Gtk.DirectionType direction);
9869                 public virtual signal bool leave_notify_event (Gdk.EventCrossing event);
9870                 [HasEmitter]
9871                 public virtual signal void map ();
9872                 public virtual signal bool map_event (Gdk.EventAny event);
9873                 [HasEmitter]
9874                 public virtual signal bool mnemonic_activate (bool group_cycling);
9875                 public virtual signal bool motion_notify_event (Gdk.EventMotion event);
9876                 public virtual signal void move_focus (Gtk.DirectionType direction);
9877                 public virtual signal void parent_set (Gtk.Widget? previous_parent);
9878                 public virtual signal bool popup_menu ();
9879                 public virtual signal bool property_notify_event (Gdk.EventProperty event);
9880                 public virtual signal bool proximity_in_event (Gdk.EventProximity event);
9881                 public virtual signal bool proximity_out_event (Gdk.EventProximity event);
9882                 [Version (since = "2.12")]
9883                 public virtual signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
9884                 [HasEmitter]
9885                 public virtual signal void realize ();
9886                 public virtual signal void screen_changed (Gdk.Screen? previous_screen);
9887                 public virtual signal bool scroll_event (Gdk.EventScroll event);
9888                 public virtual signal bool selection_clear_event (Gdk.EventSelection event);
9889                 public virtual signal void selection_get (Gtk.SelectionData selection_data, uint info, uint time_);
9890                 public virtual signal bool selection_notify_event (Gdk.EventSelection event);
9891                 public virtual signal void selection_received (Gtk.SelectionData selection_data, uint time_);
9892                 public virtual signal bool selection_request_event (Gdk.EventSelection event);
9893                 [HasEmitter]
9894                 public virtual signal void show ();
9895                 public virtual signal bool show_help (Gtk.WidgetHelpType help_type);
9896                 [HasEmitter]
9897                 public virtual signal void size_allocate (Gtk.Allocation allocation);
9898                 [Version (deprecated = true, deprecated_since = "3.0")]
9899                 public virtual signal void state_changed (Gtk.StateType previous_state);
9900                 [Version (since = "3.0")]
9901                 public virtual signal void state_flags_changed (Gtk.StateFlags previous_state_flags);
9902                 [Version (deprecated = true, deprecated_since = "3.0")]
9903                 public virtual signal void style_set (Gtk.Style? previous_style);
9904                 [Version (since = "3.0")]
9905                 public virtual signal void style_updated ();
9906                 public virtual signal bool touch_event (Gdk.Event event);
9907                 [HasEmitter]
9908                 public virtual signal void unmap ();
9909                 public virtual signal bool unmap_event (Gdk.EventAny event);
9910                 [HasEmitter]
9911                 public virtual signal void unrealize ();
9912                 [Version (deprecated = true, deprecated_since = "3.12")]
9913                 public virtual signal bool visibility_notify_event (Gdk.EventVisibility event);
9914                 public virtual signal bool window_state_event (Gdk.EventWindowState event);
9915         }
9916         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_widget_accessible_get_type ()")]
9917         public class WidgetAccessible : Gtk.Accessible, Atk.Component {
9918                 [CCode (has_construct_function = false)]
9919                 protected WidgetAccessible ();
9920                 [NoWrapper]
9921                 public virtual void notify_gtk (GLib.ParamSpec pspec);
9922         }
9923         [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")]
9924         [Compact]
9925         public class WidgetPath {
9926                 [CCode (has_construct_function = false)]
9927                 [Version (since = "3.0")]
9928                 public WidgetPath ();
9929                 [Version (since = "3.2")]
9930                 public int append_for_widget (Gtk.Widget widget);
9931                 [Version (since = "3.0")]
9932                 public int append_type (GLib.Type type);
9933                 [Version (since = "3.2")]
9934                 public int append_with_siblings (Gtk.WidgetPath siblings, uint sibling_index);
9935                 [Version (since = "3.0")]
9936                 public Gtk.WidgetPath copy ();
9937                 [DestroysInstance]
9938                 [Version (since = "3.0")]
9939                 public void free ();
9940                 [Version (since = "3.0")]
9941                 public GLib.Type get_object_type ();
9942                 [Version (since = "3.0")]
9943                 public bool has_parent (GLib.Type type);
9944                 [Version (since = "3.0")]
9945                 public bool is_type (GLib.Type type);
9946                 [Version (since = "3.0")]
9947                 public void iter_add_class (int pos, string name);
9948                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9949                 public void iter_add_region (int pos, string name, Gtk.RegionFlags flags);
9950                 [Version (since = "3.0")]
9951                 public void iter_clear_classes (int pos);
9952                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9953                 public void iter_clear_regions (int pos);
9954                 public unowned string? iter_get_name (int pos);
9955                 [Version (since = "3.20")]
9956                 public unowned string? iter_get_object_name (int pos);
9957                 [Version (since = "3.0")]
9958                 public GLib.Type iter_get_object_type (int pos);
9959                 public uint iter_get_sibling_index (int pos);
9960                 public unowned Gtk.WidgetPath iter_get_siblings (int pos);
9961                 [Version (since = "3.14")]
9962                 public Gtk.StateFlags iter_get_state (int pos);
9963                 [Version (since = "3.0")]
9964                 public bool iter_has_class (int pos, string name);
9965                 [Version (since = "3.0")]
9966                 public bool iter_has_name (int pos, string name);
9967                 [Version (since = "3.0")]
9968                 public bool iter_has_qclass (int pos, GLib.Quark qname);
9969                 [Version (since = "3.0")]
9970                 public bool iter_has_qname (int pos, GLib.Quark qname);
9971                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9972                 public bool iter_has_qregion (int pos, GLib.Quark qname, out Gtk.RegionFlags flags);
9973                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9974                 public bool iter_has_region (int pos, string name, out Gtk.RegionFlags flags);
9975                 [Version (since = "3.0")]
9976                 public GLib.SList<weak string> iter_list_classes (int pos);
9977                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9978                 public GLib.SList<weak string> iter_list_regions (int pos);
9979                 [Version (since = "3.0")]
9980                 public void iter_remove_class (int pos, string name);
9981                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
9982                 public void iter_remove_region (int pos, string name);
9983                 [Version (since = "3.0")]
9984                 public void iter_set_name (int pos, string name);
9985                 [Version (since = "3.20")]
9986                 public void iter_set_object_name (int pos, string? name);
9987                 [Version (since = "3.0")]
9988                 public void iter_set_object_type (int pos, GLib.Type type);
9989                 [Version (since = "3.14")]
9990                 public void iter_set_state (int pos, Gtk.StateFlags state);
9991                 [Version (since = "3.0")]
9992                 public int length ();
9993                 [Version (since = "3.0")]
9994                 public void prepend_type (GLib.Type type);
9995                 [Version (since = "3.2")]
9996                 public unowned Gtk.WidgetPath @ref ();
9997                 [Version (since = "3.2")]
9998                 public string to_string ();
9999                 [Version (since = "3.2")]
10000                 public void unref ();
10001         }
10002         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_get_type ()")]
10003         public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
10004                 [CCode (has_construct_function = false, type = "GtkWidget*")]
10005                 public Window (Gtk.WindowType type = Gtk.WindowType.TOPLEVEL);
10006                 [Version (since = "2.4")]
10007                 public bool activate_key (Gdk.EventKey event);
10008                 public void add_accel_group (Gtk.AccelGroup accel_group);
10009                 public void add_mnemonic (uint keyval, Gtk.Widget target);
10010                 public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
10011                 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
10012                 [Version (since = "3.10")]
10013                 public void close ();
10014                 public void deiconify ();
10015                 [Version (since = "2.2")]
10016                 public void fullscreen ();
10017                 [Version (since = "3.18")]
10018                 public void fullscreen_on_monitor (Gdk.Screen screen, int monitor);
10019                 [Version (since = "2.4")]
10020                 public bool get_accept_focus ();
10021                 [Version (since = "3.0")]
10022                 public unowned Gtk.Application? get_application ();
10023                 [Version (since = "3.4")]
10024                 public unowned Gtk.Widget? get_attached_to ();
10025                 public bool get_decorated ();
10026                 public static GLib.List<weak Gdk.Pixbuf> get_default_icon_list ();
10027                 [Version (since = "2.16")]
10028                 public static unowned string get_default_icon_name ();
10029                 public void get_default_size (out int width, out int height);
10030                 [Version (since = "2.14")]
10031                 public unowned Gtk.Widget? get_default_widget ();
10032                 [Version (since = "2.10")]
10033                 public bool get_deletable ();
10034                 public bool get_destroy_with_parent ();
10035                 public unowned Gtk.Widget? get_focus ();
10036                 [Version (since = "2.6")]
10037                 public bool get_focus_on_map ();
10038                 [Version (since = "3.2")]
10039                 public bool get_focus_visible ();
10040                 public Gdk.Gravity get_gravity ();
10041                 [Version (since = "2.10")]
10042                 public unowned Gtk.WindowGroup get_group ();
10043                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10044                 public bool get_has_resize_grip ();
10045                 [Version (since = "3.4")]
10046                 public bool get_hide_titlebar_when_maximized ();
10047                 public unowned Gdk.Pixbuf? get_icon ();
10048                 public GLib.List<weak Gdk.Pixbuf> get_icon_list ();
10049                 [Version (since = "2.6")]
10050                 public unowned string? get_icon_name ();
10051                 public Gdk.ModifierType get_mnemonic_modifier ();
10052                 [Version (since = "2.20")]
10053                 public bool get_mnemonics_visible ();
10054                 public bool get_modal ();
10055                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.12")]
10056                 public double get_opacity ();
10057                 public void get_position (out int root_x, out int root_y);
10058                 public bool get_resizable ();
10059                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10060                 public bool get_resize_grip_area (out Gdk.Rectangle rect);
10061                 public unowned string? get_role ();
10062                 [Version (since = "2.2")]
10063                 public unowned Gdk.Screen get_screen ();
10064                 public void get_size (out int width, out int height);
10065                 [Version (since = "2.2")]
10066                 public bool get_skip_pager_hint ();
10067                 [Version (since = "2.2")]
10068                 public bool get_skip_taskbar_hint ();
10069                 public unowned string? get_title ();
10070                 [Version (since = "3.16")]
10071                 public unowned Gtk.Widget? get_titlebar ();
10072                 public unowned Gtk.Window? get_transient_for ();
10073                 public Gdk.WindowTypeHint get_type_hint ();
10074                 [Version (since = "2.8")]
10075                 public bool get_urgency_hint ();
10076                 [Version (since = "2.20")]
10077                 public Gtk.WindowType get_window_type ();
10078                 public bool has_group ();
10079                 public void iconify ();
10080                 public static GLib.List<weak Gtk.Window> list_toplevels ();
10081                 public void maximize ();
10082                 public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier);
10083                 public void move (int x, int y);
10084                 [Version (deprecated = true, deprecated_since = "3.20")]
10085                 public bool parse_geometry (string geometry);
10086                 public void present ();
10087                 [Version (since = "2.8")]
10088                 public void present_with_time (uint32 timestamp);
10089                 [Version (since = "2.4")]
10090                 public bool propagate_key_event (Gdk.EventKey event);
10091                 public void remove_accel_group (Gtk.AccelGroup accel_group);
10092                 public void remove_mnemonic (uint keyval, Gtk.Widget target);
10093                 [Version (deprecated = true, deprecated_since = "3.10")]
10094                 public void reshow_with_initial_size ();
10095                 public void resize (int width, int height);
10096                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10097                 public bool resize_grip_is_visible ();
10098                 [Version (deprecated = true, deprecated_since = "3.20", since = "3.0")]
10099                 public void resize_to_geometry (int width, int height);
10100                 [Version (since = "2.4")]
10101                 public void set_accept_focus (bool setting);
10102                 [Version (since = "3.0")]
10103                 public void set_application (Gtk.Application? application);
10104                 [Version (since = "3.4")]
10105                 public void set_attached_to (Gtk.Widget? attach_widget);
10106                 [Version (since = "2.2")]
10107                 public static void set_auto_startup_notification (bool setting);
10108                 public void set_decorated (bool setting);
10109                 public void set_default (Gtk.Widget? default_widget);
10110                 [Version (deprecated = true, deprecated_since = "3.20", since = "3.0")]
10111                 public void set_default_geometry (int width, int height);
10112                 [Version (since = "2.4")]
10113                 public static void set_default_icon (Gdk.Pixbuf icon);
10114                 [Version (since = "2.2")]
10115                 public static bool set_default_icon_from_file (string filename) throws GLib.Error;
10116                 public static void set_default_icon_list (owned GLib.List<weak Gdk.Pixbuf> list);
10117                 [Version (since = "2.6")]
10118                 public static void set_default_icon_name (string name);
10119                 public void set_default_size (int width, int height);
10120                 [Version (since = "2.10")]
10121                 public void set_deletable (bool setting);
10122                 public void set_destroy_with_parent (bool setting);
10123                 [Version (since = "2.6")]
10124                 public void set_focus_on_map (bool setting);
10125                 [Version (since = "3.2")]
10126                 public void set_focus_visible (bool setting);
10127                 public void set_geometry_hints (Gtk.Widget? geometry_widget, Gdk.Geometry? geometry, Gdk.WindowHints geom_mask);
10128                 public void set_gravity (Gdk.Gravity gravity);
10129                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10130                 public void set_has_resize_grip (bool value);
10131                 [Version (since = "3.0")]
10132                 public void set_has_user_ref_count (bool setting);
10133                 [Version (since = "3.4")]
10134                 public void set_hide_titlebar_when_maximized (bool setting);
10135                 public void set_icon (Gdk.Pixbuf? icon);
10136                 [Version (since = "2.2")]
10137                 public bool set_icon_from_file (string filename) throws GLib.Error;
10138                 public void set_icon_list (GLib.List<Gdk.Pixbuf> list);
10139                 [Version (since = "2.6")]
10140                 public void set_icon_name (string? name);
10141                 [Version (since = "3.14")]
10142                 public static void set_interactive_debugging (bool enable);
10143                 [Version (since = "2.4")]
10144                 public void set_keep_above (bool setting);
10145                 [Version (since = "2.4")]
10146                 public void set_keep_below (bool setting);
10147                 public void set_mnemonic_modifier (Gdk.ModifierType modifier);
10148                 [Version (since = "2.20")]
10149                 public void set_mnemonics_visible (bool setting);
10150                 public void set_modal (bool modal);
10151                 [Version (deprecated = true, deprecated_since = "3.8", since = "2.12")]
10152                 public void set_opacity (double opacity);
10153                 public void set_position (Gtk.WindowPosition position);
10154                 public void set_resizable (bool resizable);
10155                 public void set_role (string role);
10156                 [Version (since = "2.2")]
10157                 public void set_screen (Gdk.Screen screen);
10158                 [Version (since = "2.2")]
10159                 public void set_skip_pager_hint (bool setting);
10160                 [Version (since = "2.2")]
10161                 public void set_skip_taskbar_hint (bool setting);
10162                 [Version (since = "2.12")]
10163                 public void set_startup_id (string startup_id);
10164                 public void set_title (string title);
10165                 [Version (since = "3.10")]
10166                 public void set_titlebar (Gtk.Widget? titlebar);
10167                 public void set_transient_for (Gtk.Window? parent);
10168                 public void set_type_hint (Gdk.WindowTypeHint hint);
10169                 [Version (since = "2.8")]
10170                 public void set_urgency_hint (bool setting);
10171                 [Version (deprecated = true, deprecated_since = "3.22")]
10172                 public void set_wmclass (string wmclass_name, string wmclass_class);
10173                 public void stick ();
10174                 [CCode (cname = "gtk_window_activate_default")]
10175                 public bool try_activate_default ();
10176                 [CCode (cname = "gtk_window_activate_focus")]
10177                 public bool try_activate_focus ();
10178                 [Version (since = "2.2")]
10179                 public void unfullscreen ();
10180                 public void unmaximize ();
10181                 public void unstick ();
10182                 [Version (since = "2.4")]
10183                 public bool accept_focus { get; set; }
10184                 [Version (since = "3.0")]
10185                 public Gtk.Application application { get; set; }
10186                 [Version (since = "3.4")]
10187                 public Gtk.Widget attached_to { get; set construct; }
10188                 [Version (since = "2.4")]
10189                 public bool decorated { get; set; }
10190                 [NoAccessorMethod]
10191                 public int default_height { get; set; }
10192                 [NoAccessorMethod]
10193                 public int default_width { get; set; }
10194                 [Version (since = "2.10")]
10195                 public bool deletable { get; set; }
10196                 public bool destroy_with_parent { get; set; }
10197                 [Version (since = "2.6")]
10198                 public bool focus_on_map { get; set; }
10199                 [Version (since = "2.20")]
10200                 public bool focus_visible { get; set; }
10201                 [Version (since = "2.4")]
10202                 public Gdk.Gravity gravity { get; set; }
10203                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10204                 public bool has_resize_grip { get; set; }
10205                 [NoAccessorMethod]
10206                 public bool has_toplevel_focus { get; }
10207                 [Version (since = "3.4")]
10208                 public bool hide_titlebar_when_maximized { get; set; }
10209                 public Gdk.Pixbuf icon { get; set; }
10210                 [Version (since = "2.6")]
10211                 public string icon_name { get; set; }
10212                 [NoAccessorMethod]
10213                 public bool is_active { get; }
10214                 [NoAccessorMethod]
10215                 public bool is_maximized { get; }
10216                 [Version (since = "2.20")]
10217                 public bool mnemonics_visible { get; set; }
10218                 public bool modal { get; set; }
10219                 public bool resizable { get; set; }
10220                 [NoAccessorMethod]
10221                 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10222                 public bool resize_grip_visible { get; }
10223                 public string role { get; set; }
10224                 public Gdk.Screen screen { get; set; }
10225                 public bool skip_pager_hint { get; set; }
10226                 public bool skip_taskbar_hint { get; set; }
10227                 [Version (since = "2.12")]
10228                 public string startup_id { set; }
10229                 public string title { get; set; }
10230                 [Version (since = "2.10")]
10231                 public Gtk.Window transient_for { get; set construct; }
10232                 [NoAccessorMethod]
10233                 public Gtk.WindowType type { get; construct; }
10234                 public Gdk.WindowTypeHint type_hint { get; set; }
10235                 public bool urgency_hint { get; set; }
10236                 [NoAccessorMethod]
10237                 public Gtk.WindowPosition window_position { get; set; }
10238                 public virtual signal void activate_default ();
10239                 public virtual signal void activate_focus ();
10240                 public virtual signal bool enable_debugging (bool toggle);
10241                 public virtual signal void keys_changed ();
10242                 [HasEmitter]
10243                 public virtual signal void set_focus (Gtk.Widget? focus);
10244         }
10245         [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_window_accessible_get_type ()")]
10246         public class WindowAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Window {
10247                 [CCode (has_construct_function = false)]
10248                 protected WindowAccessible ();
10249         }
10250         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10251         [Compact]
10252         public class WindowGeometryInfo {
10253         }
10254         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_group_get_type ()")]
10255         public class WindowGroup : GLib.Object {
10256                 [CCode (has_construct_function = false)]
10257                 public WindowGroup ();
10258                 public void add_window (Gtk.Window window);
10259                 [Version (since = "3.0")]
10260                 public unowned Gtk.Widget? get_current_device_grab (Gdk.Device device);
10261                 [Version (since = "2.22")]
10262                 public unowned Gtk.Widget get_current_grab ();
10263                 [Version (since = "2.14")]
10264                 public GLib.List<weak Gtk.Window> list_windows ();
10265                 public void remove_window (Gtk.Window window);
10266         }
10267         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkActionableInterface", type_id = "gtk_actionable_get_type ()")]
10268         public interface Actionable : Gtk.Widget {
10269                 [Version (since = "3.4")]
10270                 public abstract unowned string? get_action_name ();
10271                 [Version (since = "3.4")]
10272                 public abstract unowned GLib.Variant get_action_target_value ();
10273                 [Version (since = "3.4")]
10274                 public abstract void set_action_name (string? action_name);
10275                 [Version (since = "3.4")]
10276                 public void set_action_target (string format_string, ...);
10277                 [Version (since = "3.4")]
10278                 public abstract void set_action_target_value (GLib.Variant target_value);
10279                 [Version (since = "3.4")]
10280                 public void set_detailed_action_name (string detailed_action_name);
10281                 public string action_name { get; set; }
10282                 [NoAccessorMethod]
10283                 public GLib.Variant action_target { owned get; set; }
10284         }
10285         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_activatable_get_type ()")]
10286         [Version (deprecated = true, deprecated_since = "3.10")]
10287         public interface Activatable : GLib.Object {
10288                 [Version (since = "2.16")]
10289                 public void do_set_related_action (Gtk.Action action);
10290                 [Version (since = "2.16")]
10291                 public unowned Gtk.Action get_related_action ();
10292                 [Version (since = "2.16")]
10293                 public bool get_use_action_appearance ();
10294                 [Version (since = "2.16")]
10295                 public void set_related_action (Gtk.Action action);
10296                 [Version (since = "2.16")]
10297                 public void set_use_action_appearance (bool use_appearance);
10298                 [Version (since = "2.16")]
10299                 public abstract void sync_action_properties (Gtk.Action? action);
10300                 [NoWrapper]
10301                 public abstract void update (Gtk.Action action, string property_name);
10302                 [Version (since = "2.16")]
10303                 public Gtk.Action related_action { get; set; }
10304                 [Version (since = "2.16")]
10305                 public bool use_action_appearance { get; set; }
10306         }
10307         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_get_type ()")]
10308         public interface AppChooser : Gtk.Widget {
10309                 [Version (since = "3.0")]
10310                 public GLib.AppInfo? get_app_info ();
10311                 [Version (since = "3.0")]
10312                 public string get_content_type ();
10313                 [Version (since = "3.0")]
10314                 public void refresh ();
10315                 public string content_type { owned get; construct; }
10316         }
10317         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_buildable_get_type ()")]
10318         public interface Buildable : GLib.Object {
10319                 [Version (since = "2.12")]
10320                 public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type);
10321                 [Version (since = "2.12")]
10322                 public abstract GLib.Object construct_child (Gtk.Builder builder, string name);
10323                 [Version (since = "2.12")]
10324                 public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
10325                 [Version (since = "2.12")]
10326                 public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
10327                 [Version (since = "2.12")]
10328                 public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data);
10329                 [Version (since = "2.12")]
10330                 public abstract unowned GLib.Object get_internal_child (Gtk.Builder builder, string childname);
10331                 [Version (since = "2.12")]
10332                 public abstract unowned string get_name ();
10333                 [Version (since = "2.12")]
10334                 public abstract void parser_finished (Gtk.Builder builder);
10335                 [Version (since = "2.12")]
10336                 public abstract void set_buildable_property (Gtk.Builder builder, string name, GLib.Value value);
10337                 [Version (since = "2.12")]
10338                 public abstract void set_name (string name);
10339         }
10340         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_accessible_parent_get_type ()")]
10341         public interface CellAccessibleParent : GLib.Object {
10342                 public abstract void activate (Gtk.CellAccessible cell);
10343                 public abstract void edit (Gtk.CellAccessible cell);
10344                 public abstract void expand_collapse (Gtk.CellAccessible cell);
10345                 public abstract void get_cell_area (Gtk.CellAccessible cell, Gdk.Rectangle cell_rect);
10346                 public abstract void get_cell_extents (Gtk.CellAccessible cell, int x, int y, int width, int height, Atk.CoordType coord_type);
10347                 public abstract int get_child_index (Gtk.CellAccessible cell);
10348                 public abstract Gtk.CellRendererState get_renderer_state (Gtk.CellAccessible cell);
10349                 public abstract bool grab_focus (Gtk.CellAccessible cell);
10350                 public abstract void update_relationset (Gtk.CellAccessible cell, Atk.RelationSet relationset);
10351         }
10352         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_editable_get_type ()")]
10353         public interface CellEditable : Gtk.Widget {
10354                 public abstract void start_editing (Gdk.Event? event);
10355                 [NoAccessorMethod]
10356                 [Version (since = "2.20")]
10357                 public bool editing_canceled { get; set; }
10358                 [HasEmitter]
10359                 public virtual signal void editing_done ();
10360                 [HasEmitter]
10361                 public virtual signal void remove_widget ();
10362         }
10363         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_layout_get_type ()")]
10364         public interface CellLayout : GLib.Object {
10365                 [Version (since = "2.4")]
10366                 public abstract void add_attribute (Gtk.CellRenderer cell, string attribute, int column);
10367                 [Version (since = "2.4")]
10368                 public abstract void clear ();
10369                 [Version (since = "2.4")]
10370                 public abstract void clear_attributes (Gtk.CellRenderer cell);
10371                 [Version (since = "3.0")]
10372                 public abstract unowned Gtk.CellArea? get_area ();
10373                 [Version (since = "2.12")]
10374                 public abstract GLib.List<weak Gtk.CellRenderer> get_cells ();
10375                 [Version (since = "2.4")]
10376                 public abstract void pack_end (Gtk.CellRenderer cell, bool expand);
10377                 [Version (since = "2.4")]
10378                 public abstract void pack_start (Gtk.CellRenderer cell, bool expand);
10379                 [Version (since = "2.4")]
10380                 public abstract void reorder (Gtk.CellRenderer cell, int position);
10381                 [Version (since = "2.4")]
10382                 public void set_attributes (Gtk.CellRenderer cell, ...);
10383                 [Version (since = "2.4")]
10384                 public abstract void set_cell_data_func (Gtk.CellRenderer cell, owned Gtk.CellLayoutDataFunc? func);
10385         }
10386         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkColorChooserInterface", type_id = "gtk_color_chooser_get_type ()")]
10387         public interface ColorChooser : GLib.Object {
10388                 [Version (since = "3.4")]
10389                 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);
10390                 [Version (since = "3.4")]
10391                 public abstract Gdk.RGBA get_rgba ();
10392                 [Version (since = "3.4")]
10393                 public bool get_use_alpha ();
10394                 [Version (since = "3.4")]
10395                 public abstract void set_rgba (Gdk.RGBA color);
10396                 [Version (since = "3.4")]
10397                 public void set_use_alpha (bool use_alpha);
10398                 [Version (since = "3.4")]
10399                 public Gdk.RGBA rgba { get; set; }
10400                 [Version (since = "3.4")]
10401                 public bool use_alpha { get; set; }
10402                 [Version (since = "3.4")]
10403                 public virtual signal void color_activated (Gdk.RGBA color);
10404         }
10405         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkEditableInterface", type_id = "gtk_editable_get_type ()")]
10406         public interface Editable : GLib.Object {
10407                 public void copy_clipboard ();
10408                 public void cut_clipboard ();
10409                 public void delete_selection ();
10410                 [NoWrapper]
10411                 public abstract void do_delete_text (int start_pos, int end_pos);
10412                 [NoWrapper]
10413                 public abstract void do_insert_text (string new_text, int new_text_length, ref int position);
10414                 public abstract string get_chars (int start_pos = 0, int end_pos = -1);
10415                 public bool get_editable ();
10416                 public abstract int get_position ();
10417                 public abstract bool get_selection_bounds (out int start_pos, out int end_pos);
10418                 public void paste_clipboard ();
10419                 [CCode (vfunc_name = "set_selection_bounds")]
10420                 public abstract void select_region (int start_pos, int end_pos);
10421                 public void set_editable (bool is_editable);
10422                 public abstract void set_position (int position);
10423                 public virtual signal void changed ();
10424                 public virtual signal void delete_text (int start_pos, int end_pos);
10425                 public virtual signal void insert_text (string new_text, int new_text_length, ref int position);
10426         }
10427         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_get_type ()")]
10428         public interface FileChooser : GLib.Object {
10429                 [Version (since = "3.22")]
10430                 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);
10431                 [Version (since = "2.4")]
10432                 public void add_filter (owned Gtk.FileFilter filter);
10433                 [Version (since = "2.4")]
10434                 public bool add_shortcut_folder (string folder) throws GLib.Error;
10435                 [Version (since = "2.4")]
10436                 public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
10437                 [Version (since = "2.4")]
10438                 public Gtk.FileChooserAction get_action ();
10439                 [Version (since = "3.22")]
10440                 public unowned string get_choice (string id);
10441                 [Version (since = "2.18")]
10442                 public bool get_create_folders ();
10443                 [Version (since = "2.4")]
10444                 public string? get_current_folder ();
10445                 [Version (since = "2.14")]
10446                 public GLib.File get_current_folder_file ();
10447                 [Version (since = "2.4")]
10448                 public string? get_current_folder_uri ();
10449                 [Version (since = "3.10")]
10450                 public string get_current_name ();
10451                 [Version (since = "2.8")]
10452                 public bool get_do_overwrite_confirmation ();
10453                 [Version (since = "2.4")]
10454                 public unowned Gtk.Widget? get_extra_widget ();
10455                 [Version (since = "2.14")]
10456                 public GLib.File get_file ();
10457                 [Version (since = "2.4")]
10458                 public string? get_filename ();
10459                 [Version (since = "2.4")]
10460                 public GLib.SList<string> get_filenames ();
10461                 [Version (since = "2.14")]
10462                 public GLib.SList<GLib.File> get_files ();
10463                 [Version (since = "2.4")]
10464                 public unowned Gtk.FileFilter? get_filter ();
10465                 [Version (since = "2.4")]
10466                 public bool get_local_only ();
10467                 [Version (since = "2.14")]
10468                 public GLib.File? get_preview_file ();
10469                 [Version (since = "2.4")]
10470                 public string? get_preview_filename ();
10471                 [Version (since = "2.4")]
10472                 public string? get_preview_uri ();
10473                 [Version (since = "2.4")]
10474                 public unowned Gtk.Widget? get_preview_widget ();
10475                 [Version (since = "2.4")]
10476                 public bool get_preview_widget_active ();
10477                 [Version (since = "2.4")]
10478                 public bool get_select_multiple ();
10479                 [Version (since = "2.6")]
10480                 public bool get_show_hidden ();
10481                 [Version (since = "2.4")]
10482                 public string? get_uri ();
10483                 [Version (since = "2.4")]
10484                 public GLib.SList<string> get_uris ();
10485                 public bool get_use_preview_label ();
10486                 [Version (since = "2.4")]
10487                 public GLib.SList<weak Gtk.FileFilter> list_filters ();
10488                 [Version (since = "2.4")]
10489                 public GLib.SList<string>? list_shortcut_folder_uris ();
10490                 [Version (since = "2.4")]
10491                 public GLib.SList<string>? list_shortcut_folders ();
10492                 [Version (since = "3.22")]
10493                 public void remove_choice (string id);
10494                 [Version (since = "2.4")]
10495                 public void remove_filter (Gtk.FileFilter filter);
10496                 [Version (since = "2.4")]
10497                 public bool remove_shortcut_folder (string folder) throws GLib.Error;
10498                 [Version (since = "2.4")]
10499                 public bool remove_shortcut_folder_uri (string uri) throws GLib.Error;
10500                 [Version (since = "2.4")]
10501                 public void select_all ();
10502                 [Version (since = "2.14")]
10503                 public bool select_file (GLib.File file) throws GLib.Error;
10504                 [Version (since = "2.4")]
10505                 public bool select_filename (string filename);
10506                 [Version (since = "2.4")]
10507                 public bool select_uri (string uri);
10508                 [Version (since = "2.4")]
10509                 public void set_action (Gtk.FileChooserAction action);
10510                 [Version (since = "3.22")]
10511                 public void set_choice (string id, string option);
10512                 [Version (since = "2.18")]
10513                 public void set_create_folders (bool create_folders);
10514                 [Version (since = "2.4")]
10515                 public bool set_current_folder (string filename);
10516                 [Version (since = "2.14")]
10517                 public bool set_current_folder_file (GLib.File file) throws GLib.Error;
10518                 [Version (since = "2.4")]
10519                 public bool set_current_folder_uri (string uri);
10520                 [Version (since = "2.4")]
10521                 public void set_current_name (string name);
10522                 [Version (since = "2.8")]
10523                 public void set_do_overwrite_confirmation (bool do_overwrite_confirmation);
10524                 [Version (since = "2.4")]
10525                 public void set_extra_widget (Gtk.Widget extra_widget);
10526                 [Version (since = "2.14")]
10527                 public bool set_file (GLib.File file) throws GLib.Error;
10528                 [Version (since = "2.4")]
10529                 public bool set_filename (string filename);
10530                 [Version (since = "2.4")]
10531                 public void set_filter (Gtk.FileFilter filter);
10532                 [Version (since = "2.4")]
10533                 public void set_local_only (bool local_only);
10534                 [Version (since = "2.4")]
10535                 public void set_preview_widget (Gtk.Widget preview_widget);
10536                 [Version (since = "2.4")]
10537                 public void set_preview_widget_active (bool active);
10538                 [Version (since = "2.4")]
10539                 public void set_select_multiple (bool select_multiple);
10540                 [Version (since = "2.6")]
10541                 public void set_show_hidden (bool show_hidden);
10542                 [Version (since = "2.4")]
10543                 public bool set_uri (string uri);
10544                 [Version (since = "2.4")]
10545                 public void set_use_preview_label (bool use_label);
10546                 [Version (since = "2.4")]
10547                 public void unselect_all ();
10548                 [Version (since = "2.14")]
10549                 public void unselect_file (GLib.File file);
10550                 [Version (since = "2.4")]
10551                 public void unselect_filename (string filename);
10552                 [Version (since = "2.4")]
10553                 public void unselect_uri (string uri);
10554                 public Gtk.FileChooserAction action { get; set; }
10555                 [Version (since = "2.18")]
10556                 public bool create_folders { get; set; }
10557                 [Version (since = "2.8")]
10558                 public bool do_overwrite_confirmation { get; set; }
10559                 public Gtk.Widget extra_widget { get; set; }
10560                 public Gtk.FileFilter filter { get; set; }
10561                 public bool local_only { get; set; }
10562                 public Gtk.Widget preview_widget { get; set; }
10563                 public bool preview_widget_active { get; set; }
10564                 public bool select_multiple { get; set; }
10565                 public bool show_hidden { get; set; }
10566                 public bool use_preview_label { get; set; }
10567                 [Version (since = "2.8")]
10568                 public signal Gtk.FileChooserConfirmation confirm_overwrite ();
10569                 public signal void current_folder_changed ();
10570                 public signal void file_activated ();
10571                 public signal void selection_changed ();
10572                 public signal void update_preview ();
10573         }
10574         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_get_type ()")]
10575         public interface FontChooser : GLib.Object {
10576                 [Version (since = "3.2")]
10577                 public string? get_font ();
10578                 [Version (since = "3.2")]
10579                 public Pango.FontDescription? get_font_desc ();
10580                 [Version (since = "3.2")]
10581                 public abstract unowned Pango.FontFace? get_font_face ();
10582                 [Version (since = "3.2")]
10583                 public abstract unowned Pango.FontFamily? get_font_family ();
10584                 [Version (since = "3.18")]
10585                 public abstract Pango.FontMap? get_font_map ();
10586                 [Version (since = "3.2")]
10587                 public abstract int get_font_size ();
10588                 [Version (since = "3.2")]
10589                 public string get_preview_text ();
10590                 [Version (since = "3.2")]
10591                 public bool get_show_preview_entry ();
10592                 [Version (since = "3.2")]
10593                 public abstract void set_filter_func (owned Gtk.FontFilterFunc? filter);
10594                 [Version (since = "3.2")]
10595                 public void set_font (string fontname);
10596                 [Version (since = "3.2")]
10597                 public void set_font_desc (Pango.FontDescription font_desc);
10598                 [Version (since = "3.18")]
10599                 public abstract void set_font_map (Pango.FontMap? fontmap);
10600                 [Version (since = "3.2")]
10601                 public void set_preview_text (string text);
10602                 [Version (since = "3.2")]
10603                 public void set_show_preview_entry (bool show_preview_entry);
10604                 public string font { owned get; set; }
10605                 public Pango.FontDescription font_desc { owned get; set; }
10606                 public string preview_text { owned get; set; }
10607                 public bool show_preview_entry { get; set; }
10608                 public virtual signal void font_activated (string fontname);
10609         }
10610         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_orientable_get_type ()")]
10611         public interface Orientable : GLib.Object {
10612                 [Version (since = "2.16")]
10613                 public Gtk.Orientation get_orientation ();
10614                 [Version (since = "2.16")]
10615                 public void set_orientation (Gtk.Orientation orientation);
10616                 [Version (since = "2.16")]
10617                 public Gtk.Orientation orientation { get; set; }
10618         }
10619         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_preview_get_type ()")]
10620         public interface PrintOperationPreview : GLib.Object {
10621                 [Version (since = "2.10")]
10622                 public abstract void end_preview ();
10623                 [Version (since = "2.10")]
10624                 public abstract bool is_selected (int page_nr);
10625                 [Version (since = "2.10")]
10626                 public abstract void render_page (int page_nr);
10627                 public virtual signal void got_page_size (Gtk.PrintContext context, Gtk.PageSetup page_setup);
10628                 public virtual signal void ready (Gtk.PrintContext context);
10629         }
10630         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_get_type ()")]
10631         public interface RecentChooser : GLib.Object {
10632                 [Version (since = "2.10")]
10633                 public abstract void add_filter (Gtk.RecentFilter filter);
10634                 [Version (since = "2.10")]
10635                 public Gtk.RecentInfo get_current_item ();
10636                 [Version (since = "2.10")]
10637                 public abstract string get_current_uri ();
10638                 [Version (since = "2.10")]
10639                 public unowned Gtk.RecentFilter get_filter ();
10640                 [Version (since = "2.10")]
10641                 public abstract GLib.List<Gtk.RecentInfo> get_items ();
10642                 [Version (since = "2.10")]
10643                 public int get_limit ();
10644                 [Version (since = "2.10")]
10645                 public bool get_local_only ();
10646                 [NoWrapper]
10647                 public abstract unowned Gtk.RecentManager get_recent_manager ();
10648                 [Version (since = "2.10")]
10649                 public bool get_select_multiple ();
10650                 [Version (since = "2.10")]
10651                 public bool get_show_icons ();
10652                 [Version (since = "2.10")]
10653                 public bool get_show_not_found ();
10654                 [Version (since = "2.10")]
10655                 public bool get_show_private ();
10656                 [Version (since = "2.10")]
10657                 public bool get_show_tips ();
10658                 [Version (since = "2.10")]
10659                 public Gtk.RecentSortType get_sort_type ();
10660                 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
10661                 [Version (since = "2.10")]
10662                 public string[] get_uris ();
10663                 [Version (since = "2.10")]
10664                 public abstract GLib.SList<weak Gtk.RecentFilter> list_filters ();
10665                 [Version (since = "2.10")]
10666                 public abstract void remove_filter (Gtk.RecentFilter filter);
10667                 [Version (since = "2.10")]
10668                 public abstract void select_all ();
10669                 [Version (since = "2.10")]
10670                 public abstract bool select_uri (string uri) throws GLib.Error;
10671                 [Version (since = "2.10")]
10672                 public abstract bool set_current_uri (string uri) throws GLib.Error;
10673                 [Version (since = "2.10")]
10674                 public void set_filter (Gtk.RecentFilter? filter);
10675                 [Version (since = "2.10")]
10676                 public void set_limit (int limit);
10677                 [Version (since = "2.10")]
10678                 public void set_local_only (bool local_only);
10679                 [Version (since = "2.10")]
10680                 public void set_select_multiple (bool select_multiple);
10681                 [Version (since = "2.10")]
10682                 public void set_show_icons (bool show_icons);
10683                 [Version (since = "2.10")]
10684                 public void set_show_not_found (bool show_not_found);
10685                 [Version (since = "2.10")]
10686                 public void set_show_private (bool show_private);
10687                 [Version (since = "2.10")]
10688                 public void set_show_tips (bool show_tips);
10689                 [Version (since = "2.10")]
10690                 public abstract void set_sort_func (owned Gtk.RecentSortFunc sort_func);
10691                 [Version (since = "2.10")]
10692                 public void set_sort_type (Gtk.RecentSortType sort_type);
10693                 [Version (since = "2.10")]
10694                 public abstract void unselect_all ();
10695                 [Version (since = "2.10")]
10696                 public abstract void unselect_uri (string uri);
10697                 [Version (since = "2.10")]
10698                 public Gtk.RecentFilter filter { get; set; }
10699                 [Version (since = "2.10")]
10700                 public int limit { get; set; }
10701                 [Version (since = "2.10")]
10702                 public bool local_only { get; set; }
10703                 [NoAccessorMethod]
10704                 [Version (since = "2.10")]
10705                 public Gtk.RecentManager recent_manager { construct; }
10706                 [Version (since = "2.10")]
10707                 public bool select_multiple { get; set; }
10708                 [Version (since = "2.10")]
10709                 public bool show_icons { get; set; }
10710                 [Version (since = "2.10")]
10711                 public bool show_not_found { get; set; }
10712                 public bool show_private { get; set; }
10713                 [Version (since = "2.10")]
10714                 public bool show_tips { get; set; }
10715                 [Version (since = "2.10")]
10716                 public Gtk.RecentSortType sort_type { get; set; }
10717                 [Version (since = "2.10")]
10718                 public virtual signal void item_activated ();
10719                 [Version (since = "2.10")]
10720                 public virtual signal void selection_changed ();
10721         }
10722         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkScrollableInterface", type_id = "gtk_scrollable_get_type ()")]
10723         public interface Scrollable : GLib.Object {
10724                 [Version (since = "3.16")]
10725                 public abstract bool get_border (out Gtk.Border border);
10726                 [Version (since = "3.0")]
10727                 public unowned Gtk.Adjustment get_hadjustment ();
10728                 [Version (since = "3.0")]
10729                 public Gtk.ScrollablePolicy get_hscroll_policy ();
10730                 [Version (since = "3.0")]
10731                 public unowned Gtk.Adjustment get_vadjustment ();
10732                 [Version (since = "3.0")]
10733                 public Gtk.ScrollablePolicy get_vscroll_policy ();
10734                 [Version (since = "3.0")]
10735                 public void set_hadjustment (Gtk.Adjustment? hadjustment);
10736                 [Version (since = "3.0")]
10737                 public void set_hscroll_policy (Gtk.ScrollablePolicy policy);
10738                 [Version (since = "3.0")]
10739                 public void set_vadjustment (Gtk.Adjustment? vadjustment);
10740                 [Version (since = "3.0")]
10741                 public void set_vscroll_policy (Gtk.ScrollablePolicy policy);
10742                 [Version (since = "3.0")]
10743                 public Gtk.Adjustment hadjustment { get; set construct; }
10744                 [Version (since = "3.0")]
10745                 public Gtk.ScrollablePolicy hscroll_policy { get; set; }
10746                 [Version (since = "3.0")]
10747                 public Gtk.Adjustment vadjustment { get; set construct; }
10748                 [Version (since = "3.0")]
10749                 public Gtk.ScrollablePolicy vscroll_policy { get; set; }
10750         }
10751         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_provider_get_type ()")]
10752         public interface StyleProvider : GLib.Object {
10753                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
10754                 public abstract unowned Gtk.IconFactory? get_icon_factory (Gtk.WidgetPath path);
10755                 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
10756                 public abstract Gtk.StyleProperties? get_style (Gtk.WidgetPath path);
10757                 [Version (since = "3.0")]
10758                 public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state, GLib.ParamSpec pspec, out GLib.Value value);
10759         }
10760         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_shell_get_type ()")]
10761         public interface ToolShell : Gtk.Widget {
10762                 [Version (since = "2.20")]
10763                 public abstract Pango.EllipsizeMode get_ellipsize_mode ();
10764                 [NoWrapper]
10765                 public abstract Gtk.IconSize get_icon_size ();
10766                 [Version (since = "2.14")]
10767                 public abstract Gtk.Orientation get_orientation ();
10768                 [Version (since = "2.14")]
10769                 public abstract Gtk.ReliefStyle get_relief_style ();
10770                 [Version (since = "2.14")]
10771                 public abstract Gtk.ToolbarStyle get_style ();
10772                 [Version (since = "2.20")]
10773                 public abstract float get_text_alignment ();
10774                 [Version (since = "2.20")]
10775                 public abstract Gtk.Orientation get_text_orientation ();
10776                 [Version (since = "2.20")]
10777                 public abstract unowned Gtk.SizeGroup get_text_size_group ();
10778                 [Version (since = "2.14")]
10779                 public abstract void rebuild_menu ();
10780         }
10781         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_drag_dest_get_type ()")]
10782         public interface TreeDragDest : GLib.Object {
10783                 public abstract bool drag_data_received (Gtk.TreePath dest, Gtk.SelectionData selection_data);
10784                 public abstract bool row_drop_possible (Gtk.TreePath dest_path, Gtk.SelectionData selection_data);
10785         }
10786         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_drag_source_get_type ()")]
10787         public interface TreeDragSource : GLib.Object {
10788                 public abstract bool drag_data_delete (Gtk.TreePath path);
10789                 public abstract bool drag_data_get (Gtk.TreePath path, Gtk.SelectionData selection_data);
10790                 public abstract bool row_draggable (Gtk.TreePath path);
10791         }
10792         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_get_type ()")]
10793         public interface TreeModel : GLib.Object {
10794                 public void @foreach (Gtk.TreeModelForeachFunc func);
10795                 [CCode (sentinel = "-1")]
10796                 public void @get (Gtk.TreeIter iter, ...);
10797                 public abstract GLib.Type get_column_type (int index_);
10798                 public abstract Gtk.TreeModelFlags get_flags ();
10799                 public abstract bool get_iter (out Gtk.TreeIter iter, Gtk.TreePath path);
10800                 public bool get_iter_first (out Gtk.TreeIter iter);
10801                 public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
10802                 public abstract int get_n_columns ();
10803                 public abstract Gtk.TreePath? get_path (Gtk.TreeIter iter);
10804                 [Version (since = "2.2")]
10805                 public string get_string_from_iter (Gtk.TreeIter iter);
10806                 public void get_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
10807                 public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
10808                 public abstract bool iter_children (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
10809                 public abstract bool iter_has_child (Gtk.TreeIter iter);
10810                 public abstract int iter_n_children (Gtk.TreeIter? iter);
10811                 public abstract bool iter_next (ref Gtk.TreeIter iter);
10812                 public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
10813                 public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
10814                 [Version (since = "3.0")]
10815                 public virtual bool iter_previous (ref Gtk.TreeIter iter);
10816                 public virtual void ref_node (Gtk.TreeIter iter);
10817                 [Version (since = "3.10")]
10818                 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);
10819                 public virtual void unref_node (Gtk.TreeIter iter);
10820                 [HasEmitter]
10821                 public virtual signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter);
10822                 [HasEmitter]
10823                 public virtual signal void row_deleted (Gtk.TreePath path);
10824                 [HasEmitter]
10825                 public virtual signal void row_has_child_toggled (Gtk.TreePath path, Gtk.TreeIter iter);
10826                 [HasEmitter]
10827                 public virtual signal void row_inserted (Gtk.TreePath path, Gtk.TreeIter iter);
10828                 [HasEmitter]
10829                 public virtual signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter iter, [CCode (array_length = false)] int[] new_order);
10830         }
10831         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_sortable_get_type ()")]
10832         public interface TreeSortable : Gtk.TreeModel, GLib.Object {
10833                 public abstract bool get_sort_column_id (out int sort_column_id, out Gtk.SortType order);
10834                 public abstract bool has_default_sort_func ();
10835                 public abstract void set_default_sort_func (owned Gtk.TreeIterCompareFunc sort_func);
10836                 public abstract void set_sort_column_id (int sort_column_id, Gtk.SortType order);
10837                 public abstract void set_sort_func (int sort_column_id, owned Gtk.TreeIterCompareFunc sort_func);
10838                 [HasEmitter]
10839                 public virtual signal void sort_column_changed ();
10840         }
10841         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10842         public struct AccelGroupEntry {
10843                 public Gtk.AccelKey key;
10844                 public weak GLib.Closure closure;
10845                 public GLib.Quark accel_path_quark;
10846         }
10847         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10848         public struct AccelKey {
10849                 public uint accel_key;
10850                 public Gdk.ModifierType accel_mods;
10851                 public uint accel_flags;
10852         }
10853         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10854         [Version (deprecated = true, deprecated_since = "3.10")]
10855         public struct ActionEntry {
10856                 public weak string name;
10857                 public weak string stock_id;
10858                 public weak string label;
10859                 public weak string accelerator;
10860                 public weak string tooltip;
10861                 [CCode (delegate_target = false, type = "GCallback")]
10862                 public weak Gtk.ActionCallback callback;
10863         }
10864         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gdk_rectangle_get_type ()")]
10865         public struct Allocation : Gdk.Rectangle {
10866         }
10867         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10868         public struct BindingArg {
10869                 [CCode (cname = "d.long_data")]
10870                 public long long_data;
10871                 [CCode (cname = "d.double_data")]
10872                 public double double_data;
10873                 [CCode (cname = "d.string_data")]
10874                 public weak string string_data;
10875                 public GLib.Type arg_type;
10876         }
10877         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_border_get_type ()")]
10878         public struct Border {
10879                 public int16 left;
10880                 public int16 right;
10881                 public int16 top;
10882                 public int16 bottom;
10883                 public Gtk.Border? copy ();
10884                 public void free ();
10885         }
10886         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10887         public struct IMContextInfo {
10888                 public weak string context_id;
10889                 public weak string context_name;
10890                 public weak string domain;
10891                 public weak string domain_dirname;
10892                 public weak string default_locales;
10893         }
10894         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10895         public struct PadActionEntry {
10896                 public Gtk.PadActionType type;
10897                 public int index;
10898                 public int mode;
10899                 public weak string label;
10900                 public weak string action_name;
10901         }
10902         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10903         public struct PageRange {
10904                 public int start;
10905                 public int end;
10906         }
10907         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10908         [Version (deprecated = true, deprecated_since = "3.10")]
10909         public struct RadioActionEntry {
10910                 public weak string name;
10911                 public weak string stock_id;
10912                 public weak string label;
10913                 public weak string accelerator;
10914                 public weak string tooltip;
10915                 public int value;
10916         }
10917         [CCode (cheader_filename = "gtk/gtk.h", has_copy_function = false, has_destroy_function = false, has_type_id = false)]
10918         public struct RecentData {
10919                 public string? display_name;
10920                 public string? description;
10921                 public string mime_type;
10922                 public string app_name;
10923                 public string app_exec;
10924                 [CCode (array_length = false, array_null_terminated = true)]
10925                 public string[] groups;
10926                 public bool is_private;
10927         }
10928         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10929         public struct RecentFilterInfo {
10930                 public Gtk.RecentFilterFlags contains;
10931                 public weak string? uri;
10932                 public weak string? display_name;
10933                 public weak string? mime_type;
10934                 [CCode (array_length = false, array_null_terminated = true)]
10935                 public weak string[]? applications;
10936                 [CCode (array_length = false, array_null_terminated = true)]
10937                 public weak string[]? groups;
10938                 public int age;
10939         }
10940         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10941         public struct RequestedSize {
10942                 public void* data;
10943                 public int minimum_size;
10944                 public int natural_size;
10945         }
10946         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_requisition_get_type ()")]
10947         public struct Requisition {
10948                 public int width;
10949                 public int height;
10950                 public Gtk.Requisition? copy ();
10951                 public void free ();
10952         }
10953         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10954         public struct SettingsValue {
10955                 public weak string origin;
10956                 public GLib.Value value;
10957         }
10958         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10959         [Version (deprecated = true, deprecated_since = "3.10")]
10960         public struct StockItem {
10961                 public weak string stock_id;
10962                 public weak string label;
10963                 public Gdk.ModifierType modifier;
10964                 public uint keyval;
10965                 public weak string translation_domain;
10966                 public Gtk.StockItem? copy ();
10967                 public void free ();
10968         }
10969         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_target_entry_get_type ()")]
10970         public struct TargetEntry {
10971                 public weak string target;
10972                 public uint flags;
10973                 public uint info;
10974                 public Gtk.TargetEntry? copy ();
10975                 public void free ();
10976         }
10977         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10978         public struct TextAppearance {
10979                 public Gdk.Color bg_color;
10980                 public Gdk.Color fg_color;
10981                 public int rise;
10982                 public uint underline;
10983                 public uint strikethrough;
10984                 public uint draw_bg;
10985                 public uint inside_selection;
10986                 public uint is_text;
10987                 [CCode (array_length = false)]
10988                 public Gdk.RGBA rgba[2];
10989         }
10990         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_iter_get_type ()")]
10991         public struct TextIter {
10992                 [Version (since = "3.2")]
10993                 public void assign (Gtk.TextIter other);
10994                 public bool backward_char ();
10995                 public bool backward_chars (int count);
10996                 public bool backward_cursor_position ();
10997                 public bool backward_cursor_positions (int count);
10998                 public bool backward_find_char ([CCode (delegate_target_pos = 1.5)] Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
10999                 public bool backward_line ();
11000                 public bool backward_lines (int count);
11001                 public bool backward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
11002                 public bool backward_sentence_start ();
11003                 public bool backward_sentence_starts (int count);
11004                 public bool backward_to_tag_toggle (Gtk.TextTag? tag);
11005                 [Version (since = "2.4")]
11006                 public bool backward_visible_cursor_position ();
11007                 [Version (since = "2.4")]
11008                 public bool backward_visible_cursor_positions (int count);
11009                 [Version (since = "2.8")]
11010                 public bool backward_visible_line ();
11011                 [Version (since = "2.8")]
11012                 public bool backward_visible_lines (int count);
11013                 [Version (since = "2.4")]
11014                 public bool backward_visible_word_start ();
11015                 [Version (since = "2.4")]
11016                 public bool backward_visible_word_starts (int count);
11017                 public bool backward_word_start ();
11018                 public bool backward_word_starts (int count);
11019                 [Version (deprecated = true, deprecated_since = "3.20")]
11020                 public bool begins_tag (Gtk.TextTag? tag);
11021                 public bool can_insert (bool default_editability);
11022                 public int compare (Gtk.TextIter rhs);
11023                 public Gtk.TextIter? copy ();
11024                 public bool editable (bool default_setting);
11025                 public bool ends_line ();
11026                 public bool ends_sentence ();
11027                 public bool ends_tag (Gtk.TextTag? tag);
11028                 public bool ends_word ();
11029                 public bool equal (Gtk.TextIter rhs);
11030                 public bool forward_char ();
11031                 public bool forward_chars (int count);
11032                 public bool forward_cursor_position ();
11033                 public bool forward_cursor_positions (int count);
11034                 public bool forward_find_char ([CCode (delegate_target_pos = 1.5)] Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
11035                 public bool forward_line ();
11036                 public bool forward_lines (int count);
11037                 public bool forward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
11038                 public bool forward_sentence_end ();
11039                 public bool forward_sentence_ends (int count);
11040                 public void forward_to_end ();
11041                 public bool forward_to_line_end ();
11042                 public bool forward_to_tag_toggle (Gtk.TextTag? tag);
11043                 [Version (since = "2.4")]
11044                 public bool forward_visible_cursor_position ();
11045                 [Version (since = "2.4")]
11046                 public bool forward_visible_cursor_positions (int count);
11047                 [Version (since = "2.8")]
11048                 public bool forward_visible_line ();
11049                 [Version (since = "2.8")]
11050                 public bool forward_visible_lines (int count);
11051                 [Version (since = "2.4")]
11052                 public bool forward_visible_word_end ();
11053                 [Version (since = "2.4")]
11054                 public bool forward_visible_word_ends (int count);
11055                 public bool forward_word_end ();
11056                 public bool forward_word_ends (int count);
11057                 public void free ();
11058                 public bool get_attributes (Gtk.TextAttributes values);
11059                 public unowned Gtk.TextBuffer get_buffer ();
11060                 public int get_bytes_in_line ();
11061                 public unichar get_char ();
11062                 public int get_chars_in_line ();
11063                 public unowned Gtk.TextChildAnchor get_child_anchor ();
11064                 public Pango.Language get_language ();
11065                 public int get_line ();
11066                 public int get_line_index ();
11067                 public int get_line_offset ();
11068                 public GLib.SList<weak Gtk.TextMark> get_marks ();
11069                 public int get_offset ();
11070                 public unowned Gdk.Pixbuf get_pixbuf ();
11071                 public string get_slice (Gtk.TextIter end);
11072                 public GLib.SList<weak Gtk.TextTag> get_tags ();
11073                 public string get_text (Gtk.TextIter end);
11074                 public GLib.SList<weak Gtk.TextTag> get_toggled_tags (bool toggled_on);
11075                 public int get_visible_line_index ();
11076                 public int get_visible_line_offset ();
11077                 public string get_visible_slice (Gtk.TextIter end);
11078                 public string get_visible_text (Gtk.TextIter end);
11079                 public bool has_tag (Gtk.TextTag tag);
11080                 public bool in_range (Gtk.TextIter start, Gtk.TextIter end);
11081                 public bool inside_sentence ();
11082                 public bool inside_word ();
11083                 public bool is_cursor_position ();
11084                 public bool is_end ();
11085                 public bool is_start ();
11086                 public void order (Gtk.TextIter second);
11087                 public void set_line (int line_number);
11088                 public void set_line_index (int byte_on_line);
11089                 public void set_line_offset (int char_on_line);
11090                 public void set_offset (int char_offset);
11091                 public void set_visible_line_index (int byte_on_line);
11092                 public void set_visible_line_offset (int char_on_line);
11093                 public bool starts_line ();
11094                 public bool starts_sentence ();
11095                 [Version (since = "3.20")]
11096                 public bool starts_tag (Gtk.TextTag? tag);
11097                 public bool starts_word ();
11098                 public bool toggles_tag (Gtk.TextTag? tag);
11099         }
11100         [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
11101         [Version (deprecated = true, deprecated_since = "3.10")]
11102         public struct ToggleActionEntry {
11103                 public weak string name;
11104                 public weak string stock_id;
11105                 public weak string label;
11106                 public weak string accelerator;
11107                 public weak string tooltip;
11108                 [CCode (delegate_target = false, type = "GCallback")]
11109                 public weak Gtk.ActionCallback callback;
11110                 public bool is_active;
11111         }
11112         [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_iter_get_type ()")]
11113         public struct TreeIter {
11114                 public int stamp;
11115                 public void* user_data;
11116                 public void* user_data2;
11117                 public void* user_data3;
11118                 public Gtk.TreeIter? copy ();
11119                 public void free ();
11120         }
11121         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ACCEL_", type_id = "gtk_accel_flags_get_type ()")]
11122         [Flags]
11123         public enum AccelFlags {
11124                 VISIBLE,
11125                 LOCKED,
11126                 MASK
11127         }
11128         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ALIGN_", type_id = "gtk_align_get_type ()")]
11129         public enum Align {
11130                 FILL,
11131                 START,
11132                 END,
11133                 CENTER,
11134                 BASELINE
11135         }
11136         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_INHIBIT_", type_id = "gtk_application_inhibit_flags_get_type ()")]
11137         [Flags]
11138         [Version (since = "3.4")]
11139         public enum ApplicationInhibitFlags {
11140                 LOGOUT,
11141                 SWITCH,
11142                 SUSPEND,
11143                 IDLE
11144         }
11145         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROWS_", type_id = "gtk_arrow_placement_get_type ()")]
11146         public enum ArrowPlacement {
11147                 BOTH,
11148                 START,
11149                 END
11150         }
11151         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROW_", type_id = "gtk_arrow_type_get_type ()")]
11152         public enum ArrowType {
11153                 UP,
11154                 DOWN,
11155                 LEFT,
11156                 RIGHT,
11157                 NONE
11158         }
11159         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ASSISTANT_PAGE_", type_id = "gtk_assistant_page_type_get_type ()")]
11160         public enum AssistantPageType {
11161                 CONTENT,
11162                 INTRO,
11163                 CONFIRM,
11164                 SUMMARY,
11165                 PROGRESS,
11166                 CUSTOM
11167         }
11168         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_", type_id = "gtk_attach_options_get_type ()")]
11169         [Flags]
11170         public enum AttachOptions {
11171                 EXPAND,
11172                 SHRINK,
11173                 FILL
11174         }
11175         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BASELINE_POSITION_", type_id = "gtk_baseline_position_get_type ()")]
11176         [Version (since = "3.10")]
11177         public enum BaselinePosition {
11178                 TOP,
11179                 CENTER,
11180                 BOTTOM
11181         }
11182         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BORDER_STYLE_", type_id = "gtk_border_style_get_type ()")]
11183         public enum BorderStyle {
11184                 NONE,
11185                 SOLID,
11186                 INSET,
11187                 OUTSET,
11188                 HIDDEN,
11189                 DOTTED,
11190                 DASHED,
11191                 DOUBLE,
11192                 GROOVE,
11193                 RIDGE
11194         }
11195         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONBOX_", type_id = "gtk_button_box_style_get_type ()")]
11196         public enum ButtonBoxStyle {
11197                 SPREAD,
11198                 EDGE,
11199                 START,
11200                 END,
11201                 CENTER,
11202                 EXPAND
11203         }
11204         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTON_ROLE_", type_id = "gtk_button_role_get_type ()")]
11205         public enum ButtonRole {
11206                 NORMAL,
11207                 CHECK,
11208                 RADIO
11209         }
11210         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONS_", type_id = "gtk_buttons_type_get_type ()")]
11211         public enum ButtonsType {
11212                 NONE,
11213                 OK,
11214                 CLOSE,
11215                 CANCEL,
11216                 YES_NO,
11217                 OK_CANCEL
11218         }
11219         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CALENDAR_", type_id = "gtk_calendar_display_options_get_type ()")]
11220         [Flags]
11221         public enum CalendarDisplayOptions {
11222                 SHOW_HEADING,
11223                 SHOW_DAY_NAMES,
11224                 NO_MONTH_CHANGE,
11225                 SHOW_WEEK_NUMBERS,
11226                 SHOW_DETAILS
11227         }
11228         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_ACCEL_MODE_", type_id = "gtk_cell_renderer_accel_mode_get_type ()")]
11229         public enum CellRendererAccelMode {
11230                 GTK,
11231                 OTHER
11232         }
11233         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_MODE_", type_id = "gtk_cell_renderer_mode_get_type ()")]
11234         public enum CellRendererMode {
11235                 INERT,
11236                 ACTIVATABLE,
11237                 EDITABLE
11238         }
11239         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_", type_id = "gtk_cell_renderer_state_get_type ()")]
11240         [Flags]
11241         public enum CellRendererState {
11242                 SELECTED,
11243                 PRELIT,
11244                 INSENSITIVE,
11245                 SORTED,
11246                 FOCUSED,
11247                 EXPANDABLE,
11248                 EXPANDED
11249         }
11250         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CORNER_", type_id = "gtk_corner_type_get_type ()")]
11251         public enum CornerType {
11252                 TOP_LEFT,
11253                 BOTTOM_LEFT,
11254                 TOP_RIGHT,
11255                 BOTTOM_RIGHT
11256         }
11257         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_", type_id = "gtk_css_section_type_get_type ()")]
11258         [Version (since = "3.2")]
11259         public enum CssSectionType {
11260                 DOCUMENT,
11261                 IMPORT,
11262                 COLOR_DEFINITION,
11263                 BINDING_SET,
11264                 RULESET,
11265                 SELECTOR,
11266                 DECLARATION,
11267                 VALUE,
11268                 KEYFRAMES
11269         }
11270         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEBUG_", type_id = "gtk_debug_flag_get_type ()")]
11271         [Flags]
11272         public enum DebugFlag {
11273                 MISC,
11274                 PLUGSOCKET,
11275                 TEXT,
11276                 TREE,
11277                 UPDATES,
11278                 KEYBINDINGS,
11279                 MULTIHEAD,
11280                 MODULES,
11281                 GEOMETRY,
11282                 ICONTHEME,
11283                 PRINTING,
11284                 BUILDER,
11285                 SIZE_REQUEST,
11286                 NO_CSS_CACHE,
11287                 BASELINES,
11288                 PIXEL_CACHE,
11289                 NO_PIXEL_CACHE,
11290                 INTERACTIVE,
11291                 TOUCHSCREEN,
11292                 ACTIONS,
11293                 RESIZE,
11294                 LAYOUT
11295         }
11296         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DELETE_", type_id = "gtk_delete_type_get_type ()")]
11297         public enum DeleteType {
11298                 CHARS,
11299                 WORD_ENDS,
11300                 WORDS,
11301                 DISPLAY_LINES,
11302                 DISPLAY_LINE_ENDS,
11303                 PARAGRAPH_ENDS,
11304                 PARAGRAPHS,
11305                 WHITESPACE
11306         }
11307         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEST_DEFAULT_", type_id = "gtk_dest_defaults_get_type ()")]
11308         [Flags]
11309         public enum DestDefaults {
11310                 MOTION,
11311                 HIGHLIGHT,
11312                 DROP,
11313                 ALL
11314         }
11315         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIALOG_", type_id = "gtk_dialog_flags_get_type ()")]
11316         [Flags]
11317         public enum DialogFlags {
11318                 MODAL,
11319                 DESTROY_WITH_PARENT,
11320                 USE_HEADER_BAR
11321         }
11322         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIR_", type_id = "gtk_direction_type_get_type ()")]
11323         public enum DirectionType {
11324                 TAB_FORWARD,
11325                 TAB_BACKWARD,
11326                 UP,
11327                 DOWN,
11328                 LEFT,
11329                 RIGHT
11330         }
11331         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DRAG_RESULT_", type_id = "gtk_drag_result_get_type ()")]
11332         public enum DragResult {
11333                 SUCCESS,
11334                 NO_TARGET,
11335                 USER_CANCELLED,
11336                 TIMEOUT_EXPIRED,
11337                 GRAB_BROKEN,
11338                 ERROR
11339         }
11340         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ENTRY_ICON_", type_id = "gtk_entry_icon_position_get_type ()")]
11341         [Version (since = "2.16")]
11342         public enum EntryIconPosition {
11343                 PRIMARY,
11344                 SECONDARY
11345         }
11346         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EVENT_SEQUENCE_", type_id = "gtk_event_sequence_state_get_type ()")]
11347         [Version (since = "3.14")]
11348         public enum EventSequenceState {
11349                 NONE,
11350                 CLAIMED,
11351                 DENIED
11352         }
11353         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EXPANDER_", type_id = "gtk_expander_style_get_type ()")]
11354         public enum ExpanderStyle {
11355                 COLLAPSED,
11356                 SEMI_COLLAPSED,
11357                 SEMI_EXPANDED,
11358                 EXPANDED
11359         }
11360         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ACTION_", type_id = "gtk_file_chooser_action_get_type ()")]
11361         public enum FileChooserAction {
11362                 OPEN,
11363                 SAVE,
11364                 SELECT_FOLDER,
11365                 CREATE_FOLDER
11366         }
11367         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_", type_id = "gtk_file_chooser_confirmation_get_type ()")]
11368         [Version (since = "2.8")]
11369         public enum FileChooserConfirmation {
11370                 CONFIRM,
11371                 ACCEPT_FILENAME,
11372                 SELECT_AGAIN
11373         }
11374         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_FILTER_", type_id = "gtk_file_filter_flags_get_type ()")]
11375         [Flags]
11376         public enum FileFilterFlags {
11377                 FILENAME,
11378                 URI,
11379                 DISPLAY_NAME,
11380                 MIME_TYPE
11381         }
11382         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_PREEDIT_", type_id = "gtk_im_preedit_style_get_type ()")]
11383         [Version (deprecated = true, deprecated_since = "3.10")]
11384         public enum IMPreeditStyle {
11385                 NOTHING,
11386                 CALLBACK,
11387                 NONE
11388         }
11389         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_STATUS_", type_id = "gtk_im_status_style_get_type ()")]
11390         [Version (deprecated = true, deprecated_since = "3.10")]
11391         public enum IMStatusStyle {
11392                 NOTHING,
11393                 CALLBACK,
11394                 NONE
11395         }
11396         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_LOOKUP_", type_id = "gtk_icon_lookup_flags_get_type ()")]
11397         [Flags]
11398         public enum IconLookupFlags {
11399                 NO_SVG,
11400                 FORCE_SVG,
11401                 USE_BUILTIN,
11402                 GENERIC_FALLBACK,
11403                 FORCE_SIZE,
11404                 FORCE_REGULAR,
11405                 FORCE_SYMBOLIC,
11406                 DIR_LTR,
11407                 DIR_RTL
11408         }
11409         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_SIZE_", type_id = "gtk_icon_size_get_type ()")]
11410         public enum IconSize {
11411                 INVALID,
11412                 MENU,
11413                 SMALL_TOOLBAR,
11414                 LARGE_TOOLBAR,
11415                 BUTTON,
11416                 DND,
11417                 DIALOG
11418         }
11419         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_VIEW_", type_id = "gtk_icon_view_drop_position_get_type ()")]
11420         public enum IconViewDropPosition {
11421                 NO_DROP,
11422                 DROP_INTO,
11423                 DROP_LEFT,
11424                 DROP_RIGHT,
11425                 DROP_ABOVE,
11426                 DROP_BELOW
11427         }
11428         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IMAGE_", type_id = "gtk_image_type_get_type ()")]
11429         public enum ImageType {
11430                 EMPTY,
11431                 PIXBUF,
11432                 STOCK,
11433                 ICON_SET,
11434                 ANIMATION,
11435                 ICON_NAME,
11436                 GICON,
11437                 SURFACE
11438         }
11439         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_HINT_", type_id = "gtk_input_hints_get_type ()")]
11440         [Flags]
11441         [Version (since = "3.6")]
11442         public enum InputHints {
11443                 NONE,
11444                 SPELLCHECK,
11445                 NO_SPELLCHECK,
11446                 WORD_COMPLETION,
11447                 LOWERCASE,
11448                 UPPERCASE_CHARS,
11449                 UPPERCASE_WORDS,
11450                 UPPERCASE_SENTENCES,
11451                 INHIBIT_OSK,
11452                 VERTICAL_WRITING,
11453                 EMOJI,
11454                 NO_EMOJI
11455         }
11456         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_PURPOSE_", type_id = "gtk_input_purpose_get_type ()")]
11457         [Version (since = "3.6")]
11458         public enum InputPurpose {
11459                 FREE_FORM,
11460                 ALPHA,
11461                 DIGITS,
11462                 NUMBER,
11463                 PHONE,
11464                 URL,
11465                 EMAIL,
11466                 NAME,
11467                 PASSWORD,
11468                 PIN
11469         }
11470         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUNCTION_", type_id = "gtk_junction_sides_get_type ()")]
11471         [Flags]
11472         public enum JunctionSides {
11473                 NONE,
11474                 CORNER_TOPLEFT,
11475                 CORNER_TOPRIGHT,
11476                 CORNER_BOTTOMLEFT,
11477                 CORNER_BOTTOMRIGHT,
11478                 TOP,
11479                 BOTTOM,
11480                 LEFT,
11481                 RIGHT
11482         }
11483         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUSTIFY_", type_id = "gtk_justification_get_type ()")]
11484         public enum Justification {
11485                 LEFT,
11486                 RIGHT,
11487                 CENTER,
11488                 FILL
11489         }
11490         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LEVEL_BAR_MODE_", type_id = "gtk_level_bar_mode_get_type ()")]
11491         [Version (since = "3.6")]
11492         public enum LevelBarMode {
11493                 CONTINUOUS,
11494                 DISCRETE
11495         }
11496         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LICENSE_", type_id = "gtk_license_get_type ()")]
11497         [Version (since = "3.0")]
11498         public enum License {
11499                 UNKNOWN,
11500                 CUSTOM,
11501                 GPL_2_0,
11502                 GPL_3_0,
11503                 LGPL_2_1,
11504                 LGPL_3_0,
11505                 BSD,
11506                 MIT_X11,
11507                 ARTISTIC,
11508                 GPL_2_0_ONLY,
11509                 GPL_3_0_ONLY,
11510                 LGPL_2_1_ONLY,
11511                 LGPL_3_0_ONLY,
11512                 AGPL_3_0,
11513                 AGPL_3_0_ONLY
11514         }
11515         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MENU_DIR_", type_id = "gtk_menu_direction_type_get_type ()")]
11516         public enum MenuDirectionType {
11517                 PARENT,
11518                 CHILD,
11519                 NEXT,
11520                 PREV
11521         }
11522         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MESSAGE_", type_id = "gtk_message_type_get_type ()")]
11523         public enum MessageType {
11524                 INFO,
11525                 WARNING,
11526                 QUESTION,
11527                 ERROR,
11528                 OTHER
11529         }
11530         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MOVEMENT_", type_id = "gtk_movement_step_get_type ()")]
11531         public enum MovementStep {
11532                 LOGICAL_POSITIONS,
11533                 VISUAL_POSITIONS,
11534                 WORDS,
11535                 DISPLAY_LINES,
11536                 DISPLAY_LINE_ENDS,
11537                 PARAGRAPHS,
11538                 PARAGRAPH_ENDS,
11539                 PAGES,
11540                 BUFFER_ENDS,
11541                 HORIZONTAL_PAGES
11542         }
11543         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NOTEBOOK_TAB_", type_id = "gtk_notebook_tab_get_type ()")]
11544         public enum NotebookTab {
11545                 FIRST,
11546                 LAST
11547         }
11548         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NUMBER_UP_LAYOUT_", type_id = "gtk_number_up_layout_get_type ()")]
11549         public enum NumberUpLayout {
11550                 [Version (deprecated_since = "vala-0.40", replacement = "LRTB")]
11551                 LEFT_TO_RIGHT_TOP_TO_BOTTOM,
11552                 [Version (deprecated_since = "vala-0.40", replacement = "LRBT")]
11553                 LEFT_TO_RIGHT_BOTTOM_TO_TOP,
11554                 [Version (deprecated_since = "vala-0.40", replacement = "RLTB")]
11555                 RIGHT_TO_LEFT_TOP_TO_BOTTOM,
11556                 [Version (deprecated_since = "vala-0.40", replacement = "RLBT")]
11557                 RIGHT_TO_LEFT_BOTTOM_TO_TOP,
11558                 [Version (deprecated_since = "vala-0.40", replacement = "TBLR")]
11559                 TOP_TO_BOTTOM_LEFT_TO_RIGHT,
11560                 [Version (deprecated_since = "vala-0.40", replacement = "TBRL")]
11561                 TOP_TO_BOTTOM_RIGHT_TO_LEFT,
11562                 [Version (deprecated_since = "vala-0.40", replacement = "BTLR")]
11563                 BOTTOM_TO_TOP_LEFT_TO_RIGHT,
11564                 [Version (deprecated_since = "vala-0.40", replacement = "BTRL")]
11565                 BOTTOM_TO_TOP_RIGHT_TO_LEFT,
11566                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM")]
11567                 LRTB,
11568                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP")]
11569                 LRBT,
11570                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM")]
11571                 RLTB,
11572                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP")]
11573                 RLBT,
11574                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT")]
11575                 TBLR,
11576                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT")]
11577                 TBRL,
11578                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT")]
11579                 BTLR,
11580                 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT")]
11581                 BTRL
11582         }
11583         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ORIENTATION_", type_id = "gtk_orientation_get_type ()")]
11584         public enum Orientation {
11585                 HORIZONTAL,
11586                 VERTICAL
11587         }
11588         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_DIRECTION_", type_id = "gtk_pack_direction_get_type ()")]
11589         public enum PackDirection {
11590                 LTR,
11591                 RTL,
11592                 TTB,
11593                 BTT
11594         }
11595         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_", type_id = "gtk_pack_type_get_type ()")]
11596         public enum PackType {
11597                 START,
11598                 END
11599         }
11600         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAD_ACTION_", type_id = "gtk_pad_action_type_get_type ()")]
11601         public enum PadActionType {
11602                 BUTTON,
11603                 RING,
11604                 STRIP
11605         }
11606         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_ORIENTATION_", type_id = "gtk_page_orientation_get_type ()")]
11607         public enum PageOrientation {
11608                 PORTRAIT,
11609                 LANDSCAPE,
11610                 REVERSE_PORTRAIT,
11611                 REVERSE_LANDSCAPE
11612         }
11613         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_SET_", type_id = "gtk_page_set_get_type ()")]
11614         public enum PageSet {
11615                 ALL,
11616                 EVEN,
11617                 ODD
11618         }
11619         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAN_DIRECTION_", type_id = "gtk_pan_direction_get_type ()")]
11620         [Version (since = "3.14")]
11621         public enum PanDirection {
11622                 LEFT,
11623                 RIGHT,
11624                 UP,
11625                 DOWN
11626         }
11627         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_PRIO_", type_id = "gtk_path_priority_type_get_type ()")]
11628         [Version (deprecated = true, deprecated_since = "3.0")]
11629         public enum PathPriorityType {
11630                 LOWEST,
11631                 GTK,
11632                 APPLICATION,
11633                 THEME,
11634                 RC,
11635                 HIGHEST
11636         }
11637         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_", type_id = "gtk_path_type_get_type ()")]
11638         [Version (deprecated = true, deprecated_since = "3.0")]
11639         public enum PathType {
11640                 WIDGET,
11641                 WIDGET_CLASS,
11642                 CLASS
11643         }
11644         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PLACES_OPEN_", type_id = "gtk_places_open_flags_get_type ()")]
11645         [Flags]
11646         public enum PlacesOpenFlags {
11647                 NORMAL,
11648                 NEW_TAB,
11649                 NEW_WINDOW
11650         }
11651         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POLICY_", type_id = "gtk_policy_type_get_type ()")]
11652         public enum PolicyType {
11653                 ALWAYS,
11654                 AUTOMATIC,
11655                 NEVER,
11656                 EXTERNAL
11657         }
11658         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POPOVER_CONSTRAINT_", type_id = "gtk_popover_constraint_get_type ()")]
11659         [Version (since = "3.20")]
11660         public enum PopoverConstraint {
11661                 NONE,
11662                 WINDOW
11663         }
11664         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POS_", type_id = "gtk_position_type_get_type ()")]
11665         public enum PositionType {
11666                 LEFT,
11667                 RIGHT,
11668                 TOP,
11669                 BOTTOM
11670         }
11671         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_DUPLEX_", type_id = "gtk_print_duplex_get_type ()")]
11672         public enum PrintDuplex {
11673                 SIMPLEX,
11674                 HORIZONTAL,
11675                 VERTICAL
11676         }
11677         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_ACTION_", type_id = "gtk_print_operation_action_get_type ()")]
11678         public enum PrintOperationAction {
11679                 PRINT_DIALOG,
11680                 PRINT,
11681                 PREVIEW,
11682                 EXPORT
11683         }
11684         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_RESULT_", type_id = "gtk_print_operation_result_get_type ()")]
11685         public enum PrintOperationResult {
11686                 ERROR,
11687                 APPLY,
11688                 CANCEL,
11689                 IN_PROGRESS
11690         }
11691         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_PAGES_", type_id = "gtk_print_pages_get_type ()")]
11692         public enum PrintPages {
11693                 ALL,
11694                 CURRENT,
11695                 RANGES,
11696                 SELECTION
11697         }
11698         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_QUALITY_", type_id = "gtk_print_quality_get_type ()")]
11699         public enum PrintQuality {
11700                 LOW,
11701                 NORMAL,
11702                 HIGH,
11703                 DRAFT
11704         }
11705         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_STATUS_", type_id = "gtk_print_status_get_type ()")]
11706         public enum PrintStatus {
11707                 INITIAL,
11708                 PREPARING,
11709                 GENERATING_DATA,
11710                 SENDING_DATA,
11711                 PENDING,
11712                 PENDING_ISSUE,
11713                 PRINTING,
11714                 FINISHED,
11715                 FINISHED_ABORTED
11716         }
11717         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PHASE_", type_id = "gtk_propagation_phase_get_type ()")]
11718         [Version (since = "3.14")]
11719         public enum PropagationPhase {
11720                 NONE,
11721                 CAPTURE,
11722                 BUBBLE,
11723                 TARGET
11724         }
11725         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_", type_id = "gtk_rc_flags_get_type ()")]
11726         [Flags]
11727         public enum RcFlags {
11728                 FG,
11729                 BG,
11730                 TEXT,
11731                 BASE
11732         }
11733         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_TOKEN_", type_id = "gtk_rc_token_type_get_type ()")]
11734         [Version (deprecated = true, deprecated_since = "3.0")]
11735         public enum RcTokenType {
11736                 INVALID,
11737                 INCLUDE,
11738                 NORMAL,
11739                 ACTIVE,
11740                 PRELIGHT,
11741                 SELECTED,
11742                 INSENSITIVE,
11743                 FG,
11744                 BG,
11745                 TEXT,
11746                 BASE,
11747                 XTHICKNESS,
11748                 YTHICKNESS,
11749                 FONT,
11750                 FONTSET,
11751                 FONT_NAME,
11752                 BG_PIXMAP,
11753                 PIXMAP_PATH,
11754                 STYLE,
11755                 BINDING,
11756                 BIND,
11757                 WIDGET,
11758                 WIDGET_CLASS,
11759                 CLASS,
11760                 LOWEST,
11761                 GTK,
11762                 APPLICATION,
11763                 THEME,
11764                 RC,
11765                 HIGHEST,
11766                 ENGINE,
11767                 MODULE_PATH,
11768                 IM_MODULE_PATH,
11769                 IM_MODULE_FILE,
11770                 STOCK,
11771                 LTR,
11772                 RTL,
11773                 COLOR,
11774                 UNBIND,
11775                 LAST
11776         }
11777         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_FILTER_", type_id = "gtk_recent_filter_flags_get_type ()")]
11778         [Flags]
11779         public enum RecentFilterFlags {
11780                 URI,
11781                 DISPLAY_NAME,
11782                 MIME_TYPE,
11783                 APPLICATION,
11784                 GROUP,
11785                 AGE
11786         }
11787         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_SORT_", type_id = "gtk_recent_sort_type_get_type ()")]
11788         [Version (since = "2.10")]
11789         public enum RecentSortType {
11790                 NONE,
11791                 MRU,
11792                 LRU,
11793                 CUSTOM
11794         }
11795         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REGION_", type_id = "gtk_region_flags_get_type ()")]
11796         [Flags]
11797         public enum RegionFlags {
11798                 EVEN,
11799                 ODD,
11800                 FIRST,
11801                 LAST,
11802                 ONLY,
11803                 SORTED
11804         }
11805         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RELIEF_", type_id = "gtk_relief_style_get_type ()")]
11806         public enum ReliefStyle {
11807                 NORMAL,
11808                 HALF,
11809                 NONE
11810         }
11811         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESIZE_", type_id = "gtk_resize_mode_get_type ()")]
11812         public enum ResizeMode {
11813                 PARENT,
11814                 QUEUE,
11815                 IMMEDIATE
11816         }
11817         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESPONSE_", type_id = "gtk_response_type_get_type ()")]
11818         public enum ResponseType {
11819                 NONE,
11820                 REJECT,
11821                 ACCEPT,
11822                 DELETE_EVENT,
11823                 OK,
11824                 CANCEL,
11825                 CLOSE,
11826                 YES,
11827                 NO,
11828                 APPLY,
11829                 HELP
11830         }
11831         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REVEALER_TRANSITION_TYPE_", type_id = "gtk_revealer_transition_type_get_type ()")]
11832         public enum RevealerTransitionType {
11833                 NONE,
11834                 CROSSFADE,
11835                 SLIDE_RIGHT,
11836                 SLIDE_LEFT,
11837                 SLIDE_UP,
11838                 SLIDE_DOWN
11839         }
11840         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scroll_step_get_type ()")]
11841         public enum ScrollStep {
11842                 STEPS,
11843                 PAGES,
11844                 ENDS,
11845                 HORIZONTAL_STEPS,
11846                 HORIZONTAL_PAGES,
11847                 HORIZONTAL_ENDS
11848         }
11849         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scroll_type_get_type ()")]
11850         public enum ScrollType {
11851                 NONE,
11852                 JUMP,
11853                 STEP_BACKWARD,
11854                 STEP_FORWARD,
11855                 PAGE_BACKWARD,
11856                 PAGE_FORWARD,
11857                 STEP_UP,
11858                 STEP_DOWN,
11859                 PAGE_UP,
11860                 PAGE_DOWN,
11861                 STEP_LEFT,
11862                 STEP_RIGHT,
11863                 PAGE_LEFT,
11864                 PAGE_RIGHT,
11865                 START,
11866                 END
11867         }
11868         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scrollable_policy_get_type ()")]
11869         public enum ScrollablePolicy {
11870                 MINIMUM,
11871                 NATURAL
11872         }
11873         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SELECTION_", type_id = "gtk_selection_mode_get_type ()")]
11874         public enum SelectionMode {
11875                 NONE,
11876                 SINGLE,
11877                 BROWSE,
11878                 MULTIPLE
11879         }
11880         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SENSITIVITY_", type_id = "gtk_sensitivity_type_get_type ()")]
11881         public enum SensitivityType {
11882                 AUTO,
11883                 ON,
11884                 OFF
11885         }
11886         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHADOW_", type_id = "gtk_shadow_type_get_type ()")]
11887         public enum ShadowType {
11888                 NONE,
11889                 IN,
11890                 OUT,
11891                 ETCHED_IN,
11892                 ETCHED_OUT
11893         }
11894         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHORTCUT_", type_id = "gtk_shortcut_type_get_type ()")]
11895         [Version (since = "3.20")]
11896         public enum ShortcutType {
11897                 ACCELERATOR,
11898                 GESTURE_PINCH,
11899                 GESTURE_STRETCH,
11900                 GESTURE_ROTATE_CLOCKWISE,
11901                 GESTURE_ROTATE_COUNTERCLOCKWISE,
11902                 GESTURE_TWO_FINGER_SWIPE_LEFT,
11903                 GESTURE_TWO_FINGER_SWIPE_RIGHT,
11904                 GESTURE
11905         }
11906         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_GROUP_", type_id = "gtk_size_group_mode_get_type ()")]
11907         public enum SizeGroupMode {
11908                 NONE,
11909                 HORIZONTAL,
11910                 VERTICAL,
11911                 BOTH
11912         }
11913         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_REQUEST_", type_id = "gtk_size_request_mode_get_type ()")]
11914         public enum SizeRequestMode {
11915                 HEIGHT_FOR_WIDTH,
11916                 WIDTH_FOR_HEIGHT,
11917                 CONSTANT_SIZE
11918         }
11919         [CCode (cheader_filename = "gtk/gtk.h", cname = "gint", has_type_id = false)]
11920         public enum SortColumn {
11921                 [CCode (cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
11922                 DEFAULT,
11923                 [CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
11924                 UNSORTED
11925         }
11926         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SORT_", type_id = "gtk_sort_type_get_type ()")]
11927         public enum SortType {
11928                 ASCENDING,
11929                 DESCENDING
11930         }
11931         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UPDATE_", type_id = "gtk_spin_button_update_policy_get_type ()")]
11932         public enum SpinButtonUpdatePolicy {
11933                 ALWAYS,
11934                 IF_VALID
11935         }
11936         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SPIN_", type_id = "gtk_spin_type_get_type ()")]
11937         public enum SpinType {
11938                 STEP_FORWARD,
11939                 STEP_BACKWARD,
11940                 PAGE_FORWARD,
11941                 PAGE_BACKWARD,
11942                 HOME,
11943                 END,
11944                 USER_DEFINED
11945         }
11946         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STACK_TRANSITION_TYPE_", type_id = "gtk_stack_transition_type_get_type ()")]
11947         public enum StackTransitionType {
11948                 NONE,
11949                 CROSSFADE,
11950                 SLIDE_RIGHT,
11951                 SLIDE_LEFT,
11952                 SLIDE_UP,
11953                 SLIDE_DOWN,
11954                 SLIDE_LEFT_RIGHT,
11955                 SLIDE_UP_DOWN,
11956                 OVER_UP,
11957                 OVER_DOWN,
11958                 OVER_LEFT,
11959                 OVER_RIGHT,
11960                 UNDER_UP,
11961                 UNDER_DOWN,
11962                 UNDER_LEFT,
11963                 UNDER_RIGHT,
11964                 OVER_UP_DOWN,
11965                 OVER_DOWN_UP,
11966                 OVER_LEFT_RIGHT,
11967                 OVER_RIGHT_LEFT
11968         }
11969         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_FLAG_", type_id = "gtk_state_flags_get_type ()")]
11970         [Flags]
11971         public enum StateFlags {
11972                 NORMAL,
11973                 ACTIVE,
11974                 PRELIGHT,
11975                 SELECTED,
11976                 INSENSITIVE,
11977                 INCONSISTENT,
11978                 FOCUSED,
11979                 BACKDROP,
11980                 DIR_LTR,
11981                 DIR_RTL,
11982                 LINK,
11983                 VISITED,
11984                 CHECKED,
11985                 DROP_ACTIVE
11986         }
11987         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_", type_id = "gtk_state_type_get_type ()")]
11988         [Version (deprecated = true, deprecated_since = "3.14")]
11989         public enum StateType {
11990                 NORMAL,
11991                 ACTIVE,
11992                 PRELIGHT,
11993                 SELECTED,
11994                 INSENSITIVE,
11995                 INCONSISTENT,
11996                 FOCUSED
11997         }
11998         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STYLE_CONTEXT_PRINT_", type_id = "gtk_style_context_print_flags_get_type ()")]
11999         [Flags]
12000         public enum StyleContextPrintFlags {
12001                 NONE,
12002                 RECURSE,
12003                 SHOW_STYLE
12004         }
12005         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TARGET_", type_id = "gtk_target_flags_get_type ()")]
12006         [Flags]
12007         public enum TargetFlags {
12008                 SAME_APP,
12009                 SAME_WIDGET,
12010                 OTHER_APP,
12011                 OTHER_WIDGET
12012         }
12013         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_BUFFER_TARGET_INFO_", type_id = "gtk_text_buffer_target_info_get_type ()")]
12014         public enum TextBufferTargetInfo {
12015                 BUFFER_CONTENTS,
12016                 RICH_TEXT,
12017                 TEXT
12018         }
12019         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_DIR_", type_id = "gtk_text_direction_get_type ()")]
12020         public enum TextDirection {
12021                 NONE,
12022                 LTR,
12023                 RTL
12024         }
12025         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_EXTEND_SELECTION_", type_id = "gtk_text_extend_selection_get_type ()")]
12026         [Version (since = "3.16")]
12027         public enum TextExtendSelection {
12028                 WORD,
12029                 LINE
12030         }
12031         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_SEARCH_", type_id = "gtk_text_search_flags_get_type ()")]
12032         [Flags]
12033         public enum TextSearchFlags {
12034                 VISIBLE_ONLY,
12035                 TEXT_ONLY,
12036                 CASE_INSENSITIVE
12037         }
12038         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_VIEW_LAYER_", type_id = "gtk_text_view_layer_get_type ()")]
12039         public enum TextViewLayer {
12040                 BELOW,
12041                 ABOVE,
12042                 BELOW_TEXT,
12043                 ABOVE_TEXT
12044         }
12045         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_WINDOW_", type_id = "gtk_text_window_type_get_type ()")]
12046         public enum TextWindowType {
12047                 PRIVATE,
12048                 WIDGET,
12049                 TEXT,
12050                 LEFT,
12051                 RIGHT,
12052                 TOP,
12053                 BOTTOM
12054         }
12055         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOL_PALETTE_DRAG_", type_id = "gtk_tool_palette_drag_targets_get_type ()")]
12056         [Flags]
12057         public enum ToolPaletteDragTargets {
12058                 ITEMS,
12059                 GROUPS
12060         }
12061         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_SPACE_", type_id = "gtk_toolbar_space_style_get_type ()")]
12062         [Version (deprecated = true, deprecated_since = "3.20")]
12063         public enum ToolbarSpaceStyle {
12064                 EMPTY,
12065                 LINE
12066         }
12067         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_", type_id = "gtk_toolbar_style_get_type ()")]
12068         public enum ToolbarStyle {
12069                 ICONS,
12070                 TEXT,
12071                 BOTH,
12072                 BOTH_HORIZ
12073         }
12074         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_MODEL_", type_id = "gtk_tree_model_flags_get_type ()")]
12075         [Flags]
12076         public enum TreeModelFlags {
12077                 ITERS_PERSIST,
12078                 LIST_ONLY
12079         }
12080         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_COLUMN_", type_id = "gtk_tree_view_column_sizing_get_type ()")]
12081         public enum TreeViewColumnSizing {
12082                 GROW_ONLY,
12083                 AUTOSIZE,
12084                 FIXED
12085         }
12086         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_DROP_", type_id = "gtk_tree_view_drop_position_get_type ()")]
12087         public enum TreeViewDropPosition {
12088                 BEFORE,
12089                 AFTER,
12090                 INTO_OR_BEFORE,
12091                 INTO_OR_AFTER
12092         }
12093         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_GRID_LINES_", type_id = "gtk_tree_view_grid_lines_get_type ()")]
12094         public enum TreeViewGridLines {
12095                 NONE,
12096                 HORIZONTAL,
12097                 VERTICAL,
12098                 BOTH
12099         }
12100         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UI_MANAGER_", type_id = "gtk_ui_manager_item_type_get_type ()")]
12101         [Flags]
12102         [Version (deprecated = true, deprecated_since = "3.10")]
12103         public enum UIManagerItemType {
12104                 AUTO,
12105                 MENUBAR,
12106                 MENU,
12107                 TOOLBAR,
12108                 PLACEHOLDER,
12109                 POPUP,
12110                 MENUITEM,
12111                 TOOLITEM,
12112                 SEPARATOR,
12113                 ACCELERATOR,
12114                 POPUP_WITH_ACCELS
12115         }
12116         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UNIT_", type_id = "gtk_unit_get_type ()")]
12117         public enum Unit {
12118                 NONE,
12119                 POINTS,
12120                 INCH,
12121                 MM
12122         }
12123         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIDGET_HELP_", type_id = "gtk_widget_help_type_get_type ()")]
12124         public enum WidgetHelpType {
12125                 TOOLTIP,
12126                 WHATS_THIS
12127         }
12128         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIN_POS_", type_id = "gtk_window_position_get_type ()")]
12129         public enum WindowPosition {
12130                 NONE,
12131                 CENTER,
12132                 MOUSE,
12133                 CENTER_ALWAYS,
12134                 CENTER_ON_PARENT
12135         }
12136         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WINDOW_", type_id = "gtk_window_type_get_type ()")]
12137         public enum WindowType {
12138                 TOPLEVEL,
12139                 POPUP
12140         }
12141         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WRAP_", type_id = "gtk_wrap_mode_get_type ()")]
12142         public enum WrapMode {
12143                 NONE,
12144                 CHAR,
12145                 WORD,
12146                 WORD_CHAR
12147         }
12148         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUILDER_ERROR_")]
12149         public errordomain BuilderError {
12150                 INVALID_TYPE_FUNCTION,
12151                 UNHANDLED_TAG,
12152                 MISSING_ATTRIBUTE,
12153                 INVALID_ATTRIBUTE,
12154                 INVALID_TAG,
12155                 MISSING_PROPERTY_VALUE,
12156                 INVALID_VALUE,
12157                 VERSION_MISMATCH,
12158                 DUPLICATE_ID,
12159                 OBJECT_TYPE_REFUSED,
12160                 TEMPLATE_MISMATCH,
12161                 INVALID_PROPERTY,
12162                 INVALID_SIGNAL,
12163                 INVALID_ID;
12164                 [CCode (cheader_filename = "gtk/gtk.h")]
12165                 public static GLib.Quark quark ();
12166         }
12167         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PROVIDER_ERROR_")]
12168         public errordomain CssProviderError {
12169                 FAILED,
12170                 SYNTAX,
12171                 IMPORT,
12172                 NAME,
12173                 DEPRECATED,
12174                 UNKNOWN_VALUE;
12175                 [CCode (cheader_filename = "gtk/gtk.h")]
12176                 public static GLib.Quark quark ();
12177         }
12178         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")]
12179         public errordomain FileChooserError {
12180                 NONEXISTENT,
12181                 BAD_FILENAME,
12182                 ALREADY_EXISTS,
12183                 INCOMPLETE_HOSTNAME;
12184                 [CCode (cheader_filename = "gtk/gtk.h")]
12185                 [Version (since = "2.4")]
12186                 public static GLib.Quark quark ();
12187         }
12188         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")]
12189         public errordomain IconThemeError {
12190                 NOT_FOUND,
12191                 FAILED;
12192                 [CCode (cheader_filename = "gtk/gtk.h")]
12193                 public static GLib.Quark quark ();
12194         }
12195         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
12196         public errordomain PrintError {
12197                 GENERAL,
12198                 INTERNAL_ERROR,
12199                 NOMEM,
12200                 INVALID_FILE;
12201                 [CCode (cheader_filename = "gtk/gtk.h")]
12202                 [Version (since = "2.10")]
12203                 public static GLib.Quark quark ();
12204         }
12205         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")]
12206         [Version (since = "2.10")]
12207         public errordomain RecentChooserError {
12208                 NOT_FOUND,
12209                 INVALID_URI;
12210                 [CCode (cheader_filename = "gtk/gtk.h")]
12211                 public static GLib.Quark quark ();
12212         }
12213         [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")]
12214         [Version (since = "2.10")]
12215         public errordomain RecentManagerError {
12216                 NOT_FOUND,
12217                 INVALID_URI,
12218                 INVALID_ENCODING,
12219                 NOT_REGISTERED,
12220                 READ,
12221                 WRITE,
12222                 UNKNOWN;
12223                 [CCode (cheader_filename = "gtk/gtk.h")]
12224                 public static GLib.Quark quark ();
12225         }
12226         [CCode (cheader_filename = "gtk/gtk.h")]
12227         public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
12228         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12229         [Version (since = "2.2")]
12230         public delegate bool AccelGroupFindFunc (Gtk.AccelKey key, GLib.Closure closure);
12231         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12232         public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);
12233         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
12234         [Version (deprecated_since = "3.10")]
12235         public delegate void ActionCallback (Gtk.Action action);
12236         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12237         public delegate int AssistantPageFunc (int current_page);
12238         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 6.9)]
12239         [Version (since = "2.12")]
12240         public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object? connect_object, GLib.ConnectFlags flags);
12241         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12242         [Version (since = "2.14")]
12243         public delegate string? CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
12244         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12245         public delegate void Callback (Gtk.Widget widget);
12246         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12247         public delegate bool CellAllocCallback (Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle cell_background);
12248         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12249         public delegate bool CellCallback (Gtk.CellRenderer renderer);
12250         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12251         public delegate void CellLayoutDataFunc (Gtk.CellLayout cell_layout, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
12252         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12253         public delegate void ClipboardClearFunc (Gtk.Clipboard clipboard, void* user_data_or_owner);
12254         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12255         public delegate void ClipboardGetFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data, uint info, void* user_data_or_owner);
12256         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12257         [Version (since = "2.6")]
12258         public delegate void ClipboardImageReceivedFunc (Gtk.Clipboard clipboard, Gdk.Pixbuf pixbuf);
12259         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12260         public delegate void ClipboardReceivedFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data);
12261         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12262         [Version (since = "2.10")]
12263         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);
12264         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12265         [Version (since = "2.4")]
12266         public delegate void ClipboardTargetsReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length_cname = "n_atoms", array_length_pos = 2.1)] Gdk.Atom[]? atoms);
12267         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12268         public delegate void ClipboardTextReceivedFunc (Gtk.Clipboard clipboard, string? text);
12269         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12270         [Version (since = "2.14")]
12271         public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length = false, array_null_terminated = true)] string[] uris);
12272         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12273         [Version (deprecated = true, deprecated_since = "3.4")]
12274         public delegate void ColorSelectionChangePaletteFunc ([CCode (array_length_cname = "n_colors", array_length_pos = 1.1)] Gdk.Color[] colors);
12275         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12276         [Version (deprecated = true, deprecated_since = "3.4", since = "2.2")]
12277         public delegate void ColorSelectionChangePaletteWithScreenFunc (Gdk.Screen screen, [CCode (array_length_cname = "n_colors", array_length_pos = 2.1)] Gdk.Color[] colors);
12278         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12279         public delegate bool EntryCompletionMatchFunc (Gtk.EntryCompletion completion, string key, Gtk.TreeIter iter);
12280         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12281         public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
12282         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12283         [Version (since = "3.18")]
12284         public delegate Gtk.Widget FlowBoxCreateWidgetFunc ([CCode (type = "gpointer")] GLib.Object item);
12285         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12286         [Version (since = "3.12")]
12287         public delegate bool FlowBoxFilterFunc (Gtk.FlowBoxChild child);
12288         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12289         [Version (since = "3.12")]
12290         public delegate void FlowBoxForeachFunc (Gtk.FlowBox box, Gtk.FlowBoxChild child);
12291         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12292         [Version (since = "3.12")]
12293         public delegate int FlowBoxSortFunc (Gtk.FlowBoxChild child1, Gtk.FlowBoxChild child2);
12294         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12295         public delegate bool FontFilterFunc (Pango.FontFamily family, Pango.FontFace face);
12296         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12297         public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
12298         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12299         public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event);
12300         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12301         [Version (since = "3.16")]
12302         public delegate Gtk.Widget ListBoxCreateWidgetFunc (GLib.Object item);
12303         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12304         [Version (since = "3.10")]
12305         public delegate bool ListBoxFilterFunc (Gtk.ListBoxRow row);
12306         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12307         [Version (since = "3.14")]
12308         public delegate void ListBoxForeachFunc (Gtk.ListBox box, Gtk.ListBoxRow row);
12309         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12310         [Version (since = "3.10")]
12311         public delegate int ListBoxSortFunc (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2);
12312         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12313         [Version (since = "3.10")]
12314         public delegate void ListBoxUpdateHeaderFunc (Gtk.ListBoxRow row, Gtk.ListBoxRow? before);
12315         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12316         public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
12317         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12318         public delegate void MenuPositionFunc (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
12319         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12320         [Version (since = "2.2")]
12321         public delegate void ModuleDisplayInitFunc (Gdk.Display display);
12322         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12323         public delegate void ModuleInitFunc ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] string[]? argv);
12324         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12325         public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup);
12326         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12327         public delegate void PrintSettingsFunc (string key, string value);
12328         [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
12329         public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
12330         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12331         public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
12332         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12333         public delegate bool RecentFilterFunc (Gtk.RecentFilterInfo filter_info);
12334         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12335         public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
12336         [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12337         public delegate bool StylePropertyParser (string str, GLib.Value value) throws GLib.Error;
12338         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
12339         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;
12340         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
12341         public delegate unowned uint8? TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
12342         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12343         public delegate bool TextCharPredicate (unichar ch);
12344         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12345         public delegate void TextTagTableForeach (Gtk.TextTag tag);
12346         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12347         [Version (since = "3.8")]
12348         public delegate bool TickCallback (Gtk.Widget widget, Gdk.FrameClock frame_clock);
12349         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12350         [Version (deprecated = true, deprecated_since = "3.10")]
12351         public delegate string TranslateFunc (string path);
12352         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12353         public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
12354         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12355         public delegate void TreeDestroyCountFunc (Gtk.TreeView tree_view, Gtk.TreePath path, int children);
12356         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12357         public delegate int TreeIterCompareFunc (Gtk.TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b);
12358         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12359         public delegate void TreeModelFilterModifyFunc (Gtk.TreeModel model, Gtk.TreeIter iter, out GLib.Value value, int column);
12360         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12361         public delegate bool TreeModelFilterVisibleFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
12362         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12363         public delegate bool TreeModelForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
12364         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12365         public delegate void TreeSelectionForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
12366         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12367         public delegate bool TreeSelectionFunc (Gtk.TreeSelection selection, Gtk.TreeModel model, Gtk.TreePath path, bool path_currently_selected);
12368         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12369         public delegate bool TreeViewColumnDropFunc (Gtk.TreeView tree_view, Gtk.TreeViewColumn column, Gtk.TreeViewColumn prev_column, Gtk.TreeViewColumn next_column);
12370         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12371         public delegate void TreeViewMappingFunc (Gtk.TreeView tree_view, Gtk.TreePath path);
12372         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12373         public delegate bool TreeViewRowSeparatorFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
12374         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12375         public delegate bool TreeViewSearchEqualFunc (Gtk.TreeModel model, int column, string key, Gtk.TreeIter iter);
12376         [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12377         public delegate void TreeViewSearchPositionFunc (Gtk.TreeView tree_view, Gtk.Widget search_dialog);
12378         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_BINARY_AGE")]
12379         public const int BINARY_AGE;
12380         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_INPUT_ERROR")]
12381         public const int INPUT_ERROR;
12382         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_INTERFACE_AGE")]
12383         public const int INTERFACE_AGE;
12384         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_FULL")]
12385         [Version (since = "3.20")]
12386         public const string LEVEL_BAR_OFFSET_FULL;
12387         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_HIGH")]
12388         [Version (since = "3.6")]
12389         public const string LEVEL_BAR_OFFSET_HIGH;
12390         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_LOW")]
12391         [Version (since = "3.6")]
12392         public const string LEVEL_BAR_OFFSET_LOW;
12393         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MAJOR_VERSION")]
12394         public const int MAJOR_VERSION;
12395         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MAX_COMPOSE_LEN")]
12396         public const int MAX_COMPOSE_LEN;
12397         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MICRO_VERSION")]
12398         public const int MICRO_VERSION;
12399         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MINOR_VERSION")]
12400         public const int MINOR_VERSION;
12401         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A3")]
12402         public const string PAPER_NAME_A3;
12403         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A4")]
12404         public const string PAPER_NAME_A4;
12405         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A5")]
12406         public const string PAPER_NAME_A5;
12407         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_B5")]
12408         public const string PAPER_NAME_B5;
12409         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_EXECUTIVE")]
12410         public const string PAPER_NAME_EXECUTIVE;
12411         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_LEGAL")]
12412         public const string PAPER_NAME_LEGAL;
12413         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_LETTER")]
12414         public const string PAPER_NAME_LETTER;
12415         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PATH_PRIO_MASK")]
12416         public const int PATH_PRIO_MASK;
12417         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_COLLATE")]
12418         public const string PRINT_SETTINGS_COLLATE;
12419         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DEFAULT_SOURCE")]
12420         public const string PRINT_SETTINGS_DEFAULT_SOURCE;
12421         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DITHER")]
12422         public const string PRINT_SETTINGS_DITHER;
12423         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DUPLEX")]
12424         public const string PRINT_SETTINGS_DUPLEX;
12425         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_FINISHINGS")]
12426         public const string PRINT_SETTINGS_FINISHINGS;
12427         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_MEDIA_TYPE")]
12428         public const string PRINT_SETTINGS_MEDIA_TYPE;
12429         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_NUMBER_UP")]
12430         public const string PRINT_SETTINGS_NUMBER_UP;
12431         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT")]
12432         public const string PRINT_SETTINGS_NUMBER_UP_LAYOUT;
12433         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_N_COPIES")]
12434         public const string PRINT_SETTINGS_N_COPIES;
12435         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_ORIENTATION")]
12436         public const string PRINT_SETTINGS_ORIENTATION;
12437         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_BASENAME")]
12438         [Version (since = "3.6")]
12439         public const string PRINT_SETTINGS_OUTPUT_BASENAME;
12440         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_BIN")]
12441         public const string PRINT_SETTINGS_OUTPUT_BIN;
12442         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_DIR")]
12443         [Version (since = "3.6")]
12444         public const string PRINT_SETTINGS_OUTPUT_DIR;
12445         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT")]
12446         public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT;
12447         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_URI")]
12448         public const string PRINT_SETTINGS_OUTPUT_URI;
12449         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAGE_RANGES")]
12450         public const string PRINT_SETTINGS_PAGE_RANGES;
12451         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAGE_SET")]
12452         public const string PRINT_SETTINGS_PAGE_SET;
12453         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_FORMAT")]
12454         public const string PRINT_SETTINGS_PAPER_FORMAT;
12455         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_HEIGHT")]
12456         public const string PRINT_SETTINGS_PAPER_HEIGHT;
12457         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_WIDTH")]
12458         public const string PRINT_SETTINGS_PAPER_WIDTH;
12459         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINTER")]
12460         public const string PRINT_SETTINGS_PRINTER;
12461         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINTER_LPI")]
12462         public const string PRINT_SETTINGS_PRINTER_LPI;
12463         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINT_PAGES")]
12464         public const string PRINT_SETTINGS_PRINT_PAGES;
12465         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_QUALITY")]
12466         public const string PRINT_SETTINGS_QUALITY;
12467         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION")]
12468         public const string PRINT_SETTINGS_RESOLUTION;
12469         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION_X")]
12470         public const string PRINT_SETTINGS_RESOLUTION_X;
12471         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION_Y")]
12472         public const string PRINT_SETTINGS_RESOLUTION_Y;
12473         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_REVERSE")]
12474         public const string PRINT_SETTINGS_REVERSE;
12475         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_SCALE")]
12476         public const string PRINT_SETTINGS_SCALE;
12477         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_USE_COLOR")]
12478         public const string PRINT_SETTINGS_USE_COLOR;
12479         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA")]
12480         public const string PRINT_SETTINGS_WIN32_DRIVER_EXTRA;
12481         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION")]
12482         public const string PRINT_SETTINGS_WIN32_DRIVER_VERSION;
12483         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRIORITY_RESIZE")]
12484         public const int PRIORITY_RESIZE;
12485         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ACCELERATOR")]
12486         public const string STYLE_CLASS_ACCELERATOR;
12487         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ARROW")]
12488         public const string STYLE_CLASS_ARROW;
12489         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BACKGROUND")]
12490         public const string STYLE_CLASS_BACKGROUND;
12491         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BOTTOM")]
12492         public const string STYLE_CLASS_BOTTOM;
12493         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BUTTON")]
12494         public const string STYLE_CLASS_BUTTON;
12495         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CALENDAR")]
12496         public const string STYLE_CLASS_CALENDAR;
12497         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CELL")]
12498         public const string STYLE_CLASS_CELL;
12499         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CHECK")]
12500         public const string STYLE_CLASS_CHECK;
12501         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_COMBOBOX_ENTRY")]
12502         public const string STYLE_CLASS_COMBOBOX_ENTRY;
12503         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CONTEXT_MENU")]
12504         public const string STYLE_CLASS_CONTEXT_MENU;
12505         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CSD")]
12506         [Version (since = "3.14")]
12507         public const string STYLE_CLASS_CSD;
12508         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CURSOR_HANDLE")]
12509         public const string STYLE_CLASS_CURSOR_HANDLE;
12510         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DEFAULT")]
12511         public const string STYLE_CLASS_DEFAULT;
12512         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DESTRUCTIVE_ACTION")]
12513         [Version (since = "3.12")]
12514         public const string STYLE_CLASS_DESTRUCTIVE_ACTION;
12515         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DIM_LABEL")]
12516         public const string STYLE_CLASS_DIM_LABEL;
12517         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DND")]
12518         public const string STYLE_CLASS_DND;
12519         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DOCK")]
12520         public const string STYLE_CLASS_DOCK;
12521         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ENTRY")]
12522         public const string STYLE_CLASS_ENTRY;
12523         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ERROR")]
12524         public const string STYLE_CLASS_ERROR;
12525         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_EXPANDER")]
12526         public const string STYLE_CLASS_EXPANDER;
12527         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FLAT")]
12528         [Version (since = "3.14")]
12529         public const string STYLE_CLASS_FLAT;
12530         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FRAME")]
12531         public const string STYLE_CLASS_FRAME;
12532         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_GRIP")]
12533         public const string STYLE_CLASS_GRIP;
12534         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HEADER")]
12535         public const string STYLE_CLASS_HEADER;
12536         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HIGHLIGHT")]
12537         public const string STYLE_CLASS_HIGHLIGHT;
12538         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HORIZONTAL")]
12539         public const string STYLE_CLASS_HORIZONTAL;
12540         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_IMAGE")]
12541         public const string STYLE_CLASS_IMAGE;
12542         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INFO")]
12543         public const string STYLE_CLASS_INFO;
12544         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INLINE_TOOLBAR")]
12545         public const string STYLE_CLASS_INLINE_TOOLBAR;
12546         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INSERTION_CURSOR")]
12547         public const string STYLE_CLASS_INSERTION_CURSOR;
12548         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LABEL")]
12549         [Version (since = "3.16")]
12550         public const string STYLE_CLASS_LABEL;
12551         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LEFT")]
12552         public const string STYLE_CLASS_LEFT;
12553         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LEVEL_BAR")]
12554         public const string STYLE_CLASS_LEVEL_BAR;
12555         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LINKED")]
12556         public const string STYLE_CLASS_LINKED;
12557         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LIST")]
12558         public const string STYLE_CLASS_LIST;
12559         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LIST_ROW")]
12560         public const string STYLE_CLASS_LIST_ROW;
12561         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MARK")]
12562         public const string STYLE_CLASS_MARK;
12563         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENU")]
12564         public const string STYLE_CLASS_MENU;
12565         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENUBAR")]
12566         public const string STYLE_CLASS_MENUBAR;
12567         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENUITEM")]
12568         public const string STYLE_CLASS_MENUITEM;
12569         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MESSAGE_DIALOG")]
12570         [Version (since = "3.14")]
12571         public const string STYLE_CLASS_MESSAGE_DIALOG;
12572         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MONOSPACE")]
12573         [Version (since = "3.16")]
12574         public const string STYLE_CLASS_MONOSPACE;
12575         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_NEEDS_ATTENTION")]
12576         [Version (since = "3.12")]
12577         public const string STYLE_CLASS_NEEDS_ATTENTION;
12578         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_NOTEBOOK")]
12579         public const string STYLE_CLASS_NOTEBOOK;
12580         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_OSD")]
12581         public const string STYLE_CLASS_OSD;
12582         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_OVERSHOOT")]
12583         [Version (since = "3.14")]
12584         public const string STYLE_CLASS_OVERSHOOT;
12585         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PANE_SEPARATOR")]
12586         public const string STYLE_CLASS_PANE_SEPARATOR;
12587         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PAPER")]
12588         [Version (since = "3.16")]
12589         public const string STYLE_CLASS_PAPER;
12590         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_POPOVER")]
12591         [Version (since = "3.14")]
12592         public const string STYLE_CLASS_POPOVER;
12593         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_POPUP")]
12594         [Version (since = "3.14")]
12595         public const string STYLE_CLASS_POPUP;
12596         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PRIMARY_TOOLBAR")]
12597         public const string STYLE_CLASS_PRIMARY_TOOLBAR;
12598         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PROGRESSBAR")]
12599         public const string STYLE_CLASS_PROGRESSBAR;
12600         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PULSE")]
12601         public const string STYLE_CLASS_PULSE;
12602         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_QUESTION")]
12603         public const string STYLE_CLASS_QUESTION;
12604         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RADIO")]
12605         public const string STYLE_CLASS_RADIO;
12606         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RAISED")]
12607         public const string STYLE_CLASS_RAISED;
12608         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_READ_ONLY")]
12609         public const string STYLE_CLASS_READ_ONLY;
12610         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RIGHT")]
12611         public const string STYLE_CLASS_RIGHT;
12612         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RUBBERBAND")]
12613         public const string STYLE_CLASS_RUBBERBAND;
12614         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE")]
12615         public const string STYLE_CLASS_SCALE;
12616         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE")]
12617         public const string STYLE_CLASS_SCALE_HAS_MARKS_ABOVE;
12618         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW")]
12619         public const string STYLE_CLASS_SCALE_HAS_MARKS_BELOW;
12620         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCROLLBAR")]
12621         public const string STYLE_CLASS_SCROLLBAR;
12622         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCROLLBARS_JUNCTION")]
12623         public const string STYLE_CLASS_SCROLLBARS_JUNCTION;
12624         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SEPARATOR")]
12625         public const string STYLE_CLASS_SEPARATOR;
12626         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SIDEBAR")]
12627         public const string STYLE_CLASS_SIDEBAR;
12628         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SLIDER")]
12629         public const string STYLE_CLASS_SLIDER;
12630         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SPINBUTTON")]
12631         public const string STYLE_CLASS_SPINBUTTON;
12632         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SPINNER")]
12633         public const string STYLE_CLASS_SPINNER;
12634         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_STATUSBAR")]
12635         [Version (since = "3.16")]
12636         public const string STYLE_CLASS_STATUSBAR;
12637         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SUBTITLE")]
12638         [Version (since = "3.14")]
12639         public const string STYLE_CLASS_SUBTITLE;
12640         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SUGGESTED_ACTION")]
12641         [Version (since = "3.12")]
12642         public const string STYLE_CLASS_SUGGESTED_ACTION;
12643         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TITLE")]
12644         [Version (since = "3.14")]
12645         public const string STYLE_CLASS_TITLE;
12646         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TITLEBAR")]
12647         public const string STYLE_CLASS_TITLEBAR;
12648         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOOLBAR")]
12649         public const string STYLE_CLASS_TOOLBAR;
12650         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOOLTIP")]
12651         public const string STYLE_CLASS_TOOLTIP;
12652         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOP")]
12653         public const string STYLE_CLASS_TOP;
12654         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOUCH_SELECTION")]
12655         [Version (since = "3.16")]
12656         public const string STYLE_CLASS_TOUCH_SELECTION;
12657         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TROUGH")]
12658         public const string STYLE_CLASS_TROUGH;
12659         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_UNDERSHOOT")]
12660         [Version (since = "3.16")]
12661         public const string STYLE_CLASS_UNDERSHOOT;
12662         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_VERTICAL")]
12663         public const string STYLE_CLASS_VERTICAL;
12664         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_VIEW")]
12665         public const string STYLE_CLASS_VIEW;
12666         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_WARNING")]
12667         public const string STYLE_CLASS_WARNING;
12668         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_WIDE")]
12669         [Version (since = "3.16")]
12670         public const string STYLE_CLASS_WIDE;
12671         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BACKGROUND_COLOR")]
12672         public const string STYLE_PROPERTY_BACKGROUND_COLOR;
12673         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BACKGROUND_IMAGE")]
12674         public const string STYLE_PROPERTY_BACKGROUND_IMAGE;
12675         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_COLOR")]
12676         public const string STYLE_PROPERTY_BORDER_COLOR;
12677         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_RADIUS")]
12678         public const string STYLE_PROPERTY_BORDER_RADIUS;
12679         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_STYLE")]
12680         public const string STYLE_PROPERTY_BORDER_STYLE;
12681         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_WIDTH")]
12682         public const string STYLE_PROPERTY_BORDER_WIDTH;
12683         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_COLOR")]
12684         public const string STYLE_PROPERTY_COLOR;
12685         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_FONT")]
12686         public const string STYLE_PROPERTY_FONT;
12687         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_MARGIN")]
12688         public const string STYLE_PROPERTY_MARGIN;
12689         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_PADDING")]
12690         public const string STYLE_PROPERTY_PADDING;
12691         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_APPLICATION")]
12692         public const int STYLE_PROVIDER_PRIORITY_APPLICATION;
12693         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_FALLBACK")]
12694         public const int STYLE_PROVIDER_PRIORITY_FALLBACK;
12695         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_SETTINGS")]
12696         public const int STYLE_PROVIDER_PRIORITY_SETTINGS;
12697         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_THEME")]
12698         public const int STYLE_PROVIDER_PRIORITY_THEME;
12699         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_USER")]
12700         public const int STYLE_PROVIDER_PRIORITY_USER;
12701         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_COLUMN")]
12702         [Version (deprecated = true, deprecated_since = "3.20")]
12703         public const string STYLE_REGION_COLUMN;
12704         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_COLUMN_HEADER")]
12705         [Version (deprecated = true, deprecated_since = "3.20")]
12706         public const string STYLE_REGION_COLUMN_HEADER;
12707         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_ROW")]
12708         [Version (deprecated = true, deprecated_since = "3.20")]
12709         public const string STYLE_REGION_ROW;
12710         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_TAB")]
12711         [Version (deprecated = true, deprecated_since = "3.20")]
12712         public const string STYLE_REGION_TAB;
12713         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TEXT_VIEW_PRIORITY_VALIDATE")]
12714         public const int TEXT_VIEW_PRIORITY_VALIDATE;
12715         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
12716         public const int TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID;
12717         [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
12718         public const int TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID;
12719         [CCode (cheader_filename = "gtk/gtk.h")]
12720         public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods);
12721         [CCode (cheader_filename = "gtk/gtk.h")]
12722         public static unowned GLib.SList<Gtk.AccelGroup> accel_groups_from_object (GLib.Object object);
12723         [CCode (cheader_filename = "gtk/gtk.h")]
12724         public static Gdk.ModifierType accelerator_get_default_mod_mask ();
12725         [CCode (cheader_filename = "gtk/gtk.h")]
12726         [Version (since = "2.6")]
12727         public static string accelerator_get_label (uint accelerator_key, Gdk.ModifierType accelerator_mods);
12728         [CCode (cheader_filename = "gtk/gtk.h")]
12729         [Version (since = "3.4")]
12730         public static string accelerator_get_label_with_keycode (Gdk.Display? display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
12731         [CCode (cheader_filename = "gtk/gtk.h")]
12732         public static string accelerator_name (uint accelerator_key, Gdk.ModifierType accelerator_mods);
12733         [CCode (cheader_filename = "gtk/gtk.h")]
12734         [Version (since = "3.4")]
12735         public static string accelerator_name_with_keycode (Gdk.Display? display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
12736         [CCode (cheader_filename = "gtk/gtk.h")]
12737         public static void accelerator_parse (string accelerator, out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
12738         [CCode (cheader_filename = "gtk/gtk.h")]
12739         [Version (since = "3.4")]
12740         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);
12741         [CCode (cheader_filename = "gtk/gtk.h")]
12742         public static void accelerator_set_default_mod_mask (Gdk.ModifierType default_mod_mask);
12743         [CCode (cheader_filename = "gtk/gtk.h")]
12744         public static bool accelerator_valid (uint keyval, Gdk.ModifierType modifiers);
12745         [CCode (cheader_filename = "gtk/gtk.h")]
12746         [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
12747         public static bool alternative_dialog_button_order (Gdk.Screen? screen);
12748         [CCode (cheader_filename = "gtk/gtk.h")]
12749         public static bool bindings_activate (GLib.Object object, uint keyval, Gdk.ModifierType modifiers);
12750         [CCode (cheader_filename = "gtk/gtk.h")]
12751         [Version (since = "2.4")]
12752         public static bool bindings_activate_event (GLib.Object object, Gdk.EventKey event);
12753         [CCode (cheader_filename = "gtk/gtk.h")]
12754         [Version (since = "3.0")]
12755         public static bool cairo_should_draw_window (Cairo.Context cr, Gdk.Window window);
12756         [CCode (cheader_filename = "gtk/gtk.h")]
12757         [Version (since = "3.0")]
12758         public static void cairo_transform_to_window (Cairo.Context cr, Gtk.Widget widget, Gdk.Window window);
12759         [CCode (cheader_filename = "gtk/gtk.h")]
12760         public static unowned string? check_version (uint required_major, uint required_minor, uint required_micro);
12761         [CCode (cheader_filename = "gtk/gtk.h")]
12762         [Version (since = "3.0")]
12763         public static void device_grab_add (Gtk.Widget widget, Gdk.Device device, bool block_others);
12764         [CCode (cheader_filename = "gtk/gtk.h")]
12765         [Version (since = "3.0")]
12766         public static void device_grab_remove (Gtk.Widget widget, Gdk.Device device);
12767         [CCode (cheader_filename = "gtk/gtk.h")]
12768         public static void disable_setlocale ();
12769         [CCode (cheader_filename = "gtk/gtk.h")]
12770         public static int distribute_natural_allocation (int extra_space, uint n_requested_sizes, Gtk.RequestedSize sizes);
12771         [CCode (cheader_filename = "gtk/gtk.h")]
12772         [Version (deprecated = true, deprecated_since = "3.10")]
12773         public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event? event);
12774         [CCode (cheader_filename = "gtk/gtk.h")]
12775         [Version (since = "3.10")]
12776         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);
12777         [CCode (cheader_filename = "gtk/gtk.h")]
12778         [Version (since = "3.16")]
12779         public static void drag_cancel (Gdk.DragContext context);
12780         [CCode (cheader_filename = "gtk/gtk.h")]
12781         public static bool drag_check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x, int current_y);
12782         [CCode (cheader_filename = "gtk/gtk.h")]
12783         [Version (since = "2.6")]
12784         public static void drag_dest_add_image_targets (Gtk.Widget widget);
12785         [CCode (cheader_filename = "gtk/gtk.h")]
12786         [Version (since = "2.6")]
12787         public static void drag_dest_add_text_targets (Gtk.Widget widget);
12788         [CCode (cheader_filename = "gtk/gtk.h")]
12789         [Version (since = "2.6")]
12790         public static void drag_dest_add_uri_targets (Gtk.Widget widget);
12791         [CCode (cheader_filename = "gtk/gtk.h")]
12792         public static Gdk.Atom drag_dest_find_target (Gtk.Widget widget, Gdk.DragContext context, Gtk.TargetList? target_list);
12793         [CCode (cheader_filename = "gtk/gtk.h")]
12794         public static unowned Gtk.TargetList? drag_dest_get_target_list (Gtk.Widget widget);
12795         [CCode (cheader_filename = "gtk/gtk.h")]
12796         [Version (since = "2.10")]
12797         public static bool drag_dest_get_track_motion (Gtk.Widget widget);
12798         [CCode (cheader_filename = "gtk/gtk.h")]
12799         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);
12800         [CCode (cheader_filename = "gtk/gtk.h")]
12801         [Version (deprecated = true, deprecated_since = "3.22")]
12802         public static void drag_dest_set_proxy (Gtk.Widget widget, Gdk.Window proxy_window, Gdk.DragProtocol protocol, bool use_coordinates);
12803         [CCode (cheader_filename = "gtk/gtk.h")]
12804         public static void drag_dest_set_target_list (Gtk.Widget widget, Gtk.TargetList? target_list);
12805         [CCode (cheader_filename = "gtk/gtk.h")]
12806         [Version (since = "2.10")]
12807         public static void drag_dest_set_track_motion (Gtk.Widget widget, bool track_motion);
12808         [CCode (cheader_filename = "gtk/gtk.h")]
12809         public static void drag_dest_unset (Gtk.Widget widget);
12810         [CCode (cheader_filename = "gtk/gtk.h")]
12811         public static void drag_finish (Gdk.DragContext context, bool success, bool del, uint32 time_);
12812         [CCode (cheader_filename = "gtk/gtk.h")]
12813         public static void drag_get_data (Gtk.Widget widget, Gdk.DragContext context, Gdk.Atom target, uint32 time_);
12814         [CCode (cheader_filename = "gtk/gtk.h")]
12815         public static unowned Gtk.Widget? drag_get_source_widget (Gdk.DragContext context);
12816         [CCode (cheader_filename = "gtk/gtk.h")]
12817         public static void drag_highlight (Gtk.Widget widget);
12818         [CCode (cheader_filename = "gtk/gtk.h")]
12819         public static void drag_set_icon_default (Gdk.DragContext context);
12820         [CCode (cheader_filename = "gtk/gtk.h")]
12821         [Version (since = "3.2")]
12822         public static void drag_set_icon_gicon (Gdk.DragContext context, GLib.Icon icon, int hot_x, int hot_y);
12823         [CCode (cheader_filename = "gtk/gtk.h")]
12824         [Version (since = "2.8")]
12825         public static void drag_set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y);
12826         [CCode (cheader_filename = "gtk/gtk.h")]
12827         public static void drag_set_icon_pixbuf (Gdk.DragContext context, Gdk.Pixbuf pixbuf, int hot_x, int hot_y);
12828         [CCode (cheader_filename = "gtk/gtk.h")]
12829         [Version (deprecated = true, deprecated_since = "3.10")]
12830         public static void drag_set_icon_stock (Gdk.DragContext context, string stock_id, int hot_x, int hot_y);
12831         [CCode (cheader_filename = "gtk/gtk.h")]
12832         public static void drag_set_icon_surface (Gdk.DragContext context, Cairo.Surface surface);
12833         [CCode (cheader_filename = "gtk/gtk.h")]
12834         public static void drag_set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int hot_y);
12835         [CCode (cheader_filename = "gtk/gtk.h")]
12836         [Version (since = "2.6")]
12837         public static void drag_source_add_image_targets (Gtk.Widget widget);
12838         [CCode (cheader_filename = "gtk/gtk.h")]
12839         [Version (since = "2.6")]
12840         public static void drag_source_add_text_targets (Gtk.Widget widget);
12841         [CCode (cheader_filename = "gtk/gtk.h")]
12842         [Version (since = "2.6")]
12843         public static void drag_source_add_uri_targets (Gtk.Widget widget);
12844         [CCode (cheader_filename = "gtk/gtk.h")]
12845         [Version (since = "2.4")]
12846         public static unowned Gtk.TargetList? drag_source_get_target_list (Gtk.Widget widget);
12847         [CCode (cheader_filename = "gtk/gtk.h")]
12848         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);
12849         [CCode (cheader_filename = "gtk/gtk.h")]
12850         [Version (since = "3.2")]
12851         public static void drag_source_set_icon_gicon (Gtk.Widget widget, GLib.Icon icon);
12852         [CCode (cheader_filename = "gtk/gtk.h")]
12853         [Version (since = "2.8")]
12854         public static void drag_source_set_icon_name (Gtk.Widget widget, string icon_name);
12855         [CCode (cheader_filename = "gtk/gtk.h")]
12856         public static void drag_source_set_icon_pixbuf (Gtk.Widget widget, Gdk.Pixbuf pixbuf);
12857         [CCode (cheader_filename = "gtk/gtk.h")]
12858         [Version (deprecated = true, deprecated_since = "3.10")]
12859         public static void drag_source_set_icon_stock (Gtk.Widget widget, string stock_id);
12860         [CCode (cheader_filename = "gtk/gtk.h")]
12861         [Version (since = "2.4")]
12862         public static void drag_source_set_target_list (Gtk.Widget widget, Gtk.TargetList? target_list);
12863         [CCode (cheader_filename = "gtk/gtk.h")]
12864         public static void drag_source_unset (Gtk.Widget widget);
12865         [CCode (cheader_filename = "gtk/gtk.h")]
12866         public static void drag_unhighlight (Gtk.Widget widget);
12867         [CCode (cheader_filename = "gtk/gtk.h")]
12868         [Version (deprecated = true, deprecated_since = "3.4", replacement = "render_insertion_cursor", since = "3.0")]
12869         public static void draw_insertion_cursor (Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow);
12870         [CCode (cheader_filename = "gtk/gtk.h")]
12871         public static bool events_pending ();
12872         [CCode (cheader_filename = "gtk/gtk.h")]
12873         [Version (since = "3.0")]
12874         public static uint get_binary_age ();
12875         [CCode (cheader_filename = "gtk/gtk.h")]
12876         public static Gdk.Event? get_current_event ();
12877         [CCode (cheader_filename = "gtk/gtk.h")]
12878         public static unowned Gdk.Device? get_current_event_device ();
12879         [CCode (cheader_filename = "gtk/gtk.h")]
12880         public static bool get_current_event_state (out Gdk.ModifierType state);
12881         [CCode (cheader_filename = "gtk/gtk.h")]
12882         public static uint32 get_current_event_time ();
12883         [CCode (cheader_filename = "gtk/gtk.h")]
12884         public static uint get_debug_flags ();
12885         [CCode (cheader_filename = "gtk/gtk.h")]
12886         public static unowned Pango.Language get_default_language ();
12887         [CCode (cheader_filename = "gtk/gtk.h")]
12888         public static unowned Gtk.Widget? get_event_widget (Gdk.Event event);
12889         [CCode (cheader_filename = "gtk/gtk.h")]
12890         [Version (since = "3.0")]
12891         public static uint get_interface_age ();
12892         [CCode (cheader_filename = "gtk/gtk.h")]
12893         [Version (since = "3.12")]
12894         public static Gtk.TextDirection get_locale_direction ();
12895         [CCode (cheader_filename = "gtk/gtk.h")]
12896         [Version (since = "3.0")]
12897         public static uint get_major_version ();
12898         [CCode (cheader_filename = "gtk/gtk.h")]
12899         [Version (since = "3.0")]
12900         public static uint get_micro_version ();
12901         [CCode (cheader_filename = "gtk/gtk.h")]
12902         [Version (since = "3.0")]
12903         public static uint get_minor_version ();
12904         [CCode (cheader_filename = "gtk/gtk.h")]
12905         [Version (since = "2.6")]
12906         public static GLib.OptionGroup get_option_group (bool open_default_display);
12907         [CCode (cheader_filename = "gtk/gtk.h")]
12908         public static void grab_add (Gtk.Widget widget);
12909         [CCode (cheader_filename = "gtk/gtk.h")]
12910         public static unowned Gtk.Widget? grab_get_current ();
12911         [CCode (cheader_filename = "gtk/gtk.h")]
12912         public static void grab_remove (Gtk.Widget widget);
12913         [CCode (cheader_filename = "gtk/gtk.h")]
12914         [Version (deprecated_since = "3.10")]
12915         public static Gtk.IconSize icon_size_from_name (string name);
12916         [CCode (cheader_filename = "gtk/gtk.h")]
12917         [Version (deprecated_since = "3.10")]
12918         public static unowned string icon_size_get_name (Gtk.IconSize size);
12919         [CCode (cheader_filename = "gtk/gtk.h")]
12920         public static bool icon_size_lookup (Gtk.IconSize size, out int width, out int height);
12921         [CCode (cheader_filename = "gtk/gtk.h")]
12922         [Version (deprecated_since = "3.10")]
12923         public static bool icon_size_lookup_for_settings (Gtk.Settings settings, Gtk.IconSize size, out int width, out int height);
12924         [CCode (cheader_filename = "gtk/gtk.h")]
12925         [Version (deprecated_since = "3.10")]
12926         public static Gtk.IconSize icon_size_register (string name, int width, int height);
12927         [CCode (cheader_filename = "gtk/gtk.h")]
12928         [Version (deprecated_since = "3.10")]
12929         public static void icon_size_register_alias (string alias, Gtk.IconSize target);
12930         [CCode (cheader_filename = "gtk/gtk.h")]
12931         public static void init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
12932         [CCode (cheader_filename = "gtk/gtk.h")]
12933         public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
12934         [CCode (cheader_filename = "gtk/gtk.h")]
12935         [Version (since = "2.6")]
12936         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;
12937         [CCode (cheader_filename = "gtk/gtk.h")]
12938         [Version (deprecated = true, deprecated_since = "3.4")]
12939         public static uint key_snooper_install (Gtk.KeySnoopFunc snooper);
12940         [CCode (cheader_filename = "gtk/gtk.h")]
12941         [Version (deprecated = true, deprecated_since = "3.4")]
12942         public static void key_snooper_remove (uint snooper_handler_id);
12943         [CCode (cheader_filename = "gtk/gtk.h")]
12944         public static void main ();
12945         [CCode (cheader_filename = "gtk/gtk.h")]
12946         public static void main_do_event (Gdk.Event event);
12947         [CCode (cheader_filename = "gtk/gtk.h")]
12948         public static bool main_iteration ();
12949         [CCode (cheader_filename = "gtk/gtk.h")]
12950         public static bool main_iteration_do (bool blocking);
12951         [CCode (cheader_filename = "gtk/gtk.h")]
12952         public static uint main_level ();
12953         [CCode (cheader_filename = "gtk/gtk.h")]
12954         public static void main_quit ();
12955         [CCode (cheader_filename = "gtk/gtk.h")]
12956         [Version (deprecated = true, deprecated_since = "3.0")]
12957         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);
12958         [CCode (cheader_filename = "gtk/gtk.h")]
12959         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_background")]
12960         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);
12961         [CCode (cheader_filename = "gtk/gtk.h")]
12962         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_frame_gap")]
12963         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);
12964         [CCode (cheader_filename = "gtk/gtk.h")]
12965         [Version (deprecated = true, deprecated_since = "3.0")]
12966         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);
12967         [CCode (cheader_filename = "gtk/gtk.h")]
12968         [Version (deprecated = true, deprecated_since = "3.0")]
12969         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);
12970         [CCode (cheader_filename = "gtk/gtk.h")]
12971         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_expander")]
12972         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);
12973         [CCode (cheader_filename = "gtk/gtk.h")]
12974         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_extension")]
12975         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);
12976         [CCode (cheader_filename = "gtk/gtk.h")]
12977         [Version (deprecated = true, deprecated_since = "3.0")]
12978         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);
12979         [CCode (cheader_filename = "gtk/gtk.h")]
12980         [Version (deprecated = true, deprecated_since = "3.0")]
12981         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);
12982         [CCode (cheader_filename = "gtk/gtk.h")]
12983         [Version (deprecated = true, deprecated_since = "3.0")]
12984         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);
12985         [CCode (cheader_filename = "gtk/gtk.h")]
12986         [Version (deprecated = true, deprecated_since = "3.0")]
12987         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);
12988         [CCode (cheader_filename = "gtk/gtk.h")]
12989         [Version (deprecated = true, deprecated_since = "3.0")]
12990         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);
12991         [CCode (cheader_filename = "gtk/gtk.h")]
12992         [Version (deprecated = true, deprecated_since = "3.0")]
12993         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);
12994         [CCode (cheader_filename = "gtk/gtk.h")]
12995         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_handle")]
12996         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);
12997         [CCode (cheader_filename = "gtk/gtk.h")]
12998         [Version (deprecated = true, deprecated_since = "3.0")]
12999         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);
13000         [CCode (cheader_filename = "gtk/gtk.h")]
13001         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_frame")]
13002         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);
13003         [CCode (cheader_filename = "gtk/gtk.h")]
13004         [Version (deprecated = true, deprecated_since = "3.0")]
13005         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);
13006         [CCode (cheader_filename = "gtk/gtk.h")]
13007         [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_activity")]
13008         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);
13009         [CCode (cheader_filename = "gtk/gtk.h")]
13010         [Version (deprecated = true, deprecated_since = "3.0")]
13011         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);
13012         [CCode (cheader_filename = "gtk/gtk.h")]
13013         [Version (deprecated = true, deprecated_since = "3.0")]
13014         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);
13015         [CCode (cheader_filename = "gtk/gtk.h")]
13016         public static bool parse_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[] argv);
13017         [CCode (cheader_filename = "gtk/gtk.h")]
13018         [Version (since = "2.10")]
13019         public static Gtk.PageSetup print_run_page_setup_dialog (Gtk.Window? parent, Gtk.PageSetup? page_setup, Gtk.PrintSettings settings);
13020         [CCode (cheader_filename = "gtk/gtk.h")]
13021         [Version (since = "2.10")]
13022         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);
13023         [CCode (cheader_filename = "gtk/gtk.h")]
13024         public static void propagate_event (Gtk.Widget widget, Gdk.Event event);
13025         [CCode (cheader_filename = "gtk/gtk.h")]
13026         [Version (deprecated = true, deprecated_since = "3.0")]
13027         public static void rc_add_default_file (string filename);
13028         [CCode (cheader_filename = "gtk/gtk.h")]
13029         [Version (deprecated = true, deprecated_since = "3.0")]
13030         public static string rc_find_module_in_path (string module_file);
13031         [CCode (cheader_filename = "gtk/gtk.h")]
13032         [Version (deprecated = true, deprecated_since = "3.0")]
13033         public static string rc_find_pixmap_in_path (Gtk.Settings settings, GLib.Scanner scanner, string pixmap_file);
13034         [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
13035         [Version (deprecated = true, deprecated_since = "3.0")]
13036         public static unowned string[] rc_get_default_files ();
13037         [CCode (cheader_filename = "gtk/gtk.h")]
13038         [Version (deprecated = true, deprecated_since = "3.0")]
13039         public static string rc_get_im_module_file ();
13040         [CCode (cheader_filename = "gtk/gtk.h")]
13041         [Version (deprecated = true, deprecated_since = "3.0")]
13042         public static string rc_get_im_module_path ();
13043         [CCode (cheader_filename = "gtk/gtk.h")]
13044         [Version (deprecated = true, deprecated_since = "3.0")]
13045         public static string rc_get_module_dir ();
13046         [CCode (cheader_filename = "gtk/gtk.h")]
13047         [Version (deprecated = true, deprecated_since = "3.0")]
13048         public static unowned Gtk.Style rc_get_style (Gtk.Widget widget);
13049         [CCode (cheader_filename = "gtk/gtk.h")]
13050         [Version (deprecated = true, deprecated_since = "3.0")]
13051         public static unowned Gtk.Style? rc_get_style_by_paths (Gtk.Settings settings, string? widget_path, string? class_path, GLib.Type type);
13052         [CCode (cheader_filename = "gtk/gtk.h")]
13053         [Version (deprecated = true, deprecated_since = "3.0")]
13054         public static string rc_get_theme_dir ();
13055         [CCode (cheader_filename = "gtk/gtk.h")]
13056         [Version (deprecated = true, deprecated_since = "3.0")]
13057         public static void rc_parse (string filename);
13058         [CCode (cheader_filename = "gtk/gtk.h")]
13059         [Version (deprecated = true, deprecated_since = "3.0")]
13060         public static uint rc_parse_color (GLib.Scanner scanner, out Gdk.Color color);
13061         [CCode (cheader_filename = "gtk/gtk.h")]
13062         [Version (deprecated = true, deprecated_since = "3.0", since = "2.12")]
13063         public static uint rc_parse_color_full (GLib.Scanner scanner, Gtk.RcStyle? style, out Gdk.Color color);
13064         [CCode (cheader_filename = "gtk/gtk.h")]
13065         [Version (deprecated = true, deprecated_since = "3.0")]
13066         public static uint rc_parse_priority (GLib.Scanner scanner, Gtk.PathPriorityType priority);
13067         [CCode (cheader_filename = "gtk/gtk.h")]
13068         [Version (deprecated = true, deprecated_since = "3.0")]
13069         public static uint rc_parse_state (GLib.Scanner scanner, out Gtk.StateType state);
13070         [CCode (cheader_filename = "gtk/gtk.h")]
13071         [Version (deprecated = true, deprecated_since = "3.0")]
13072         public static void rc_parse_string (string rc_string);
13073         [CCode (cheader_filename = "gtk/gtk.h")]
13074         [Version (deprecated = true, deprecated_since = "3.0")]
13075         public static bool rc_reparse_all ();
13076         [CCode (cheader_filename = "gtk/gtk.h")]
13077         [Version (deprecated = true, deprecated_since = "3.0")]
13078         public static bool rc_reparse_all_for_settings (Gtk.Settings settings, bool force_load);
13079         [CCode (cheader_filename = "gtk/gtk.h")]
13080         [Version (deprecated = true, deprecated_since = "3.0", since = "2.4")]
13081         public static void rc_reset_styles (Gtk.Settings settings);
13082         [CCode (cheader_filename = "gtk/gtk.h")]
13083         [Version (deprecated = true, deprecated_since = "3.0")]
13084         public static unowned GLib.Scanner rc_scanner_new ();
13085         [CCode (cheader_filename = "gtk/gtk.h")]
13086         [Version (deprecated = true, deprecated_since = "3.0")]
13087         public static void rc_set_default_files ([CCode (array_length = false, array_null_terminated = true)] string[] filenames);
13088         [CCode (cheader_filename = "gtk/gtk.h")]
13089         public static void render_icon_surface (Gtk.StyleContext context, Cairo.Context cr, Cairo.Surface surface, double x, double y);
13090         [CCode (cheader_filename = "gtk/gtk.h")]
13091         public static void render_insertion_cursor (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
13092         [CCode (cheader_filename = "gtk/gtk.h")]
13093         [Version (since = "2.14")]
13094         public static void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double v);
13095         [CCode (cheader_filename = "gtk/gtk.h")]
13096         public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info);
13097         [CCode (cheader_filename = "gtk/gtk.h")]
13098         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);
13099         [CCode (cheader_filename = "gtk/gtk.h")]
13100         public static void selection_clear_targets (Gtk.Widget widget, Gdk.Atom selection);
13101         [CCode (cheader_filename = "gtk/gtk.h")]
13102         public static bool selection_convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
13103         [CCode (cheader_filename = "gtk/gtk.h")]
13104         public static bool selection_owner_set (Gtk.Widget? widget, Gdk.Atom selection, uint32 time_);
13105         [CCode (cheader_filename = "gtk/gtk.h")]
13106         [Version (since = "2.2")]
13107         public static bool selection_owner_set_for_display (Gdk.Display display, Gtk.Widget? widget, Gdk.Atom selection, uint32 time_);
13108         [CCode (cheader_filename = "gtk/gtk.h")]
13109         public static void selection_remove_all (Gtk.Widget widget);
13110         [CCode (cheader_filename = "gtk/gtk.h")]
13111         public static void set_debug_flags (uint flags);
13112         [CCode (cheader_filename = "gtk/gtk.h")]
13113         [Version (since = "2.6")]
13114         public static void show_about_dialog (Gtk.Window? parent, ...);
13115         [CCode (cheader_filename = "gtk/gtk.h")]
13116         [Version (since = "2.14")]
13117         public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
13118         [CCode (cheader_filename = "gtk/gtk.h")]
13119         [Version (since = "3.22")]
13120         public static bool show_uri_on_window (Gtk.Window? parent, string uri, uint32 timestamp) throws GLib.Error;
13121         [CCode (cheader_filename = "gtk/gtk.h")]
13122         [Version (deprecated = true, deprecated_since = "3.10")]
13123         public static void stock_add ([CCode (array_length_cname = "n_items", array_length_pos = 1.1, array_length_type = "guint")] Gtk.StockItem[] items);
13124         [CCode (cheader_filename = "gtk/gtk.h")]
13125         [Version (deprecated = true, deprecated_since = "3.10")]
13126         public static void stock_add_static ([CCode (array_length_cname = "n_items", array_length_pos = 1.1, array_length_type = "guint")] Gtk.StockItem[] items);
13127         [CCode (cheader_filename = "gtk/gtk.h")]
13128         [Version (deprecated = true, deprecated_since = "3.10")]
13129         public static GLib.SList<string> stock_list_ids ();
13130         [CCode (cheader_filename = "gtk/gtk.h")]
13131         [Version (deprecated = true, deprecated_since = "3.10")]
13132         public static bool stock_lookup (string stock_id, out Gtk.StockItem item);
13133         [CCode (cheader_filename = "gtk/gtk.h")]
13134         [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
13135         public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
13136         [CCode (cheader_filename = "gtk/gtk.h")]
13137         [Version (since = "2.10")]
13138         public static void target_table_free ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gtk.TargetEntry[] targets);
13139         [CCode (array_length_pos = 1.1, cheader_filename = "gtk/gtk.h")]
13140         [Version (since = "2.10")]
13141         public static Gtk.TargetEntry[] target_table_new_from_list (Gtk.TargetList list);
13142         [CCode (cheader_filename = "gtk/gtk.h")]
13143         [Version (since = "2.10")]
13144         public static bool targets_include_image ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gdk.Atom[] targets, bool writable);
13145         [CCode (cheader_filename = "gtk/gtk.h")]
13146         [Version (since = "2.10")]
13147         public static bool targets_include_rich_text ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gdk.Atom[] targets, Gtk.TextBuffer buffer);
13148         [CCode (cheader_filename = "gtk/gtk.h")]
13149         [Version (since = "2.10")]
13150         public static bool targets_include_text ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gdk.Atom[] targets);
13151         [CCode (cheader_filename = "gtk/gtk.h")]
13152         [Version (since = "2.10")]
13153         public static bool targets_include_uri ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gdk.Atom[] targets);
13154         [CCode (cheader_filename = "gtk/gtk.h")]
13155         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13156         public static unowned Gtk.Widget test_create_simple_window (string window_title, string dialog_text);
13157         [CCode (cheader_filename = "gtk/gtk.h")]
13158         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13159         public static unowned Gtk.Widget test_create_widget (GLib.Type widget_type, ...);
13160         [CCode (cheader_filename = "gtk/gtk.h")]
13161         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13162         public static Gtk.Widget test_display_button_window (string window_title, string dialog_text, ...);
13163         [CCode (cheader_filename = "gtk/gtk.h")]
13164         [Version (since = "2.14")]
13165         public static unowned Gtk.Widget test_find_label (Gtk.Widget widget, string label_pattern);
13166         [CCode (cheader_filename = "gtk/gtk.h")]
13167         [Version (since = "2.14")]
13168         public static unowned Gtk.Widget test_find_sibling (Gtk.Widget base_widget, GLib.Type widget_type);
13169         [CCode (cheader_filename = "gtk/gtk.h")]
13170         [Version (since = "2.14")]
13171         public static unowned Gtk.Widget? test_find_widget (Gtk.Widget widget, string label_pattern, GLib.Type widget_type);
13172         [CCode (cheader_filename = "gtk/gtk.h")]
13173         [Version (since = "2.14")]
13174         public static void test_init ([CCode (array_length_cname = "argcp", array_length_pos = 0.5)] ref unowned string[] argvp, ...);
13175         [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "guint", array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
13176         [Version (since = "2.14")]
13177         public static unowned GLib.Type[] test_list_all_types ();
13178         [CCode (cheader_filename = "gtk/gtk.h")]
13179         [Version (since = "2.14")]
13180         public static void test_register_all_types ();
13181         [CCode (cheader_filename = "gtk/gtk.h")]
13182         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13183         public static double test_slider_get_value (Gtk.Widget widget);
13184         [CCode (cheader_filename = "gtk/gtk.h")]
13185         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13186         public static void test_slider_set_perc (Gtk.Widget widget, double percentage);
13187         [CCode (cheader_filename = "gtk/gtk.h")]
13188         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13189         public static bool test_spin_button_click (Gtk.SpinButton spinner, uint button, bool upwards);
13190         [CCode (cheader_filename = "gtk/gtk.h")]
13191         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13192         public static string test_text_get (Gtk.Widget widget);
13193         [CCode (cheader_filename = "gtk/gtk.h")]
13194         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13195         public static void test_text_set (Gtk.Widget widget, string str);
13196         [CCode (cheader_filename = "gtk/gtk.h")]
13197         [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13198         public static bool test_widget_click (Gtk.Widget widget, uint button, Gdk.ModifierType modifiers);
13199         [CCode (cheader_filename = "gtk/gtk.h")]
13200         [Version (since = "2.14")]
13201         public static bool test_widget_send_key (Gtk.Widget widget, uint keyval, Gdk.ModifierType modifiers);
13202         [CCode (cheader_filename = "gtk/gtk.h")]
13203         [Version (since = "3.10")]
13204         public static void test_widget_wait_for_draw (Gtk.Widget widget);
13205         [CCode (cheader_filename = "gtk/gtk.h")]
13206         public static bool tree_get_row_drag_data (Gtk.SelectionData selection_data, out unowned Gtk.TreeModel? tree_model, out Gtk.TreePath? path);
13207         [CCode (cheader_filename = "gtk/gtk.h")]
13208         public static bool tree_set_row_drag_data (Gtk.SelectionData selection_data, Gtk.TreeModel tree_model, Gtk.TreePath path);