1 /* gtk+-3.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gtk", gir_namespace = "Gtk", gir_version = "3.0", lower_case_cprefix = "gtk_")]
5 [Version (deprecated_since = "3.10")]
7 [CCode (cheader_filename = "gtk/gtk.h", 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);
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);
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);
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);
477 public GLib.Closure accel_closure { owned get; set; }
478 public Gtk.Widget accel_widget { get; set; }
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);
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);
515 public virtual void widget_set ();
517 public virtual void widget_unset ();
518 public Gtk.Widget widget { get; set; }
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 ();
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 ();
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 ();
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; }
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; }
628 [Version (since = "2.6")]
629 public bool visible_overflown { get; set; }
630 public bool visible_vertical { get; set; }
632 [Version (since = "2.4")]
633 public virtual signal void activate ();
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")]
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);
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);
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; }
752 public virtual signal void changed ();
754 public virtual signal void value_changed ();
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);
767 [Version (since = "2.4")]
768 public uint bottom_padding { get; set; }
770 [Version (since = "2.4")]
771 public uint left_padding { get; set; }
773 [Version (since = "2.4")]
774 public uint right_padding { get; set; }
776 [Version (since = "2.4")]
777 public uint top_padding { get; set; }
779 public float xalign { get; set; }
781 public float xscale { get; set; }
783 public float yalign { get; set; }
785 public float yscale { get; set; }
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);
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);
827 public GLib.File gfile { owned get; construct; }
828 public string heading { get; set; }
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);
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; }
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);
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; }
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);
952 public Gtk.ArrowType arrow_type { get; set; }
954 public Gtk.ShadowType shadow_type { get; set; }
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 ();
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);
967 public bool obey_child { get; set; }
969 public float ratio { get; set; }
971 public float xalign { get; set; }
973 public float yalign { get; set; }
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")]
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 ();
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);
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)]
1051 public unowned Gtk.Widget? get_child ();
1053 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
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;
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);
1077 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
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;
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);
1097 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
1099 public class BindingSignal {
1100 [CCode (array_length_cname = "n_args", array_length_type = "guint")]
1101 public weak Gtk.BindingArg[] args;
1103 public weak Gtk.BindingSignal next;
1104 public weak string signal_name;
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 ();
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; }
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")]
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; }
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*")]
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; }
1255 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
1256 public float xalign { get; set; }
1258 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
1259 public float yalign { get; set; }
1260 public virtual signal void activate ();
1262 public virtual signal void clicked ();
1264 [Version (deprecated = true, deprecated_since = "2.8", replacement = "Gtk.Widget.enter_notify_event")]
1265 public virtual signal void enter ();
1267 [Version (deprecated = true, deprecated_since = "2.8", replacement = "Gtk.Widget.leave_notify_event")]
1268 public virtual signal void leave ();
1270 [Version (deprecated = true, deprecated_since = "2.8", replacement = "Gtk.Widget.button_press_event")]
1271 public virtual signal void pressed ();
1273 [Version (deprecated = true, deprecated_since = "2.8", replacement = "Gtk.Widget.button_release_event")]
1274 public virtual signal void released ();
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 ();
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);
1296 public Gtk.ButtonBoxStyle layout_style { get; set; }
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*")]
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);
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; }
1331 public int month { get; set; }
1333 [Version (since = "2.4")]
1334 public bool no_month_change { get; set; }
1336 [Version (since = "2.4")]
1337 public bool show_day_names { get; set; }
1339 [Version (since = "2.14")]
1340 public bool show_details { get; set; }
1342 [Version (since = "2.4")]
1343 public bool show_heading { get; set; }
1345 [Version (since = "2.4")]
1346 public bool show_week_numbers { get; set; }
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 ();
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 ();
1362 public virtual void update_cache (bool emit_signal);
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);
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);
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);
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);
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; }
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; }
1526 [Version (since = "3.0")]
1527 public int minimum_height { get; }
1529 [Version (since = "3.0")]
1530 public int minimum_width { get; }
1532 [Version (since = "3.0")]
1533 public int natural_height { get; }
1535 [Version (since = "3.0")]
1536 public int natural_width { get; }
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);
1588 public string cell_background { set; }
1590 [Version (deprecated = true, deprecated_since = "3.4", replacement = "cell_background_rgba")]
1591 public Gdk.Color cell_background_gdk { get; set; }
1593 [Version (since = "3.0")]
1594 public Gdk.RGBA cell_background_rgba { get; set; }
1596 public bool cell_background_set { get; set; }
1598 public bool editing { get; }
1600 public int height { get; set; }
1602 public bool is_expanded { get; set; }
1604 public bool is_expander { get; set; }
1606 public Gtk.CellRendererMode mode { get; set; }
1607 public bool sensitive { get; set; }
1608 public bool visible { get; set; }
1610 public int width { get; set; }
1612 public float xalign { get; set; }
1614 public uint xpad { get; set; }
1616 public float yalign { get; set; }
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);
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 ();
1630 [Version (since = "2.10")]
1631 public uint accel_key { get; set; }
1633 [Version (since = "2.10")]
1634 public Gtk.CellRendererAccelMode accel_mode { get; set; }
1636 [Version (since = "2.10")]
1637 public Gdk.ModifierType accel_mods { get; set; }
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);
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 ();
1652 [Version (since = "2.6")]
1653 public bool has_entry { get; set; }
1655 [Version (since = "2.6")]
1656 public Gtk.TreeModel model { owned get; set; }
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);
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 ();
1668 [Version (deprecated = true, deprecated_since = "3.16", since = "2.8")]
1669 public bool follow_state { get; set; }
1671 [Version (since = "2.14")]
1672 public GLib.Icon gicon { owned get; set; }
1674 [Version (since = "2.8")]
1675 public string icon_name { owned get; set; }
1677 public Gdk.Pixbuf pixbuf { owned get; set; }
1679 public Gdk.Pixbuf pixbuf_expander_closed { owned get; set; }
1681 public Gdk.Pixbuf pixbuf_expander_open { owned get; set; }
1683 public string stock_detail { owned get; set; }
1685 [Version (deprecated = true, deprecated_since = "3.10", since = "2.2")]
1686 public string stock_id { owned get; set; }
1688 [Version (since = "2.2")]
1689 public uint stock_size { get; set; }
1691 [Version (since = "3.10")]
1692 public Cairo.Surface surface { owned get; set; }
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 ();
1700 public bool inverted { get; set; }
1702 [Version (since = "2.12")]
1703 public int pulse { get; set; }
1705 [Version (since = "2.6")]
1706 public string text { owned get; set; }
1708 [Version (since = "2.12")]
1709 public float text_xalign { get; set; }
1711 [Version (since = "2.12")]
1712 public float text_yalign { get; set; }
1714 [Version (since = "2.6")]
1715 public int value { get; set; }
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 ();
1723 [Version (since = "2.10")]
1724 public Gtk.Adjustment adjustment { owned get; set; }
1726 [Version (since = "2.10")]
1727 public double climb_rate { get; set; }
1729 [Version (since = "2.10")]
1730 public uint digits { get; set; }
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 ();
1738 public bool active { get; set; }
1740 [Version (since = "2.20")]
1741 public uint pulse { get; set; }
1743 [Version (since = "2.20")]
1744 public Gtk.IconSize size { get; set; }
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);
1752 public bool align_set { get; set; }
1754 [Version (since = "2.10")]
1755 public Pango.Alignment alignment { get; set; }
1757 public Pango.AttrList attributes { owned get; set; }
1759 public string background { set; }
1761 [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
1762 public Gdk.Color background_gdk { get; set; }
1764 [Version (since = "3.0")]
1765 public Gdk.RGBA background_rgba { get; set; }
1767 public bool background_set { get; set; }
1769 public bool editable { get; set; }
1771 public bool editable_set { get; set; }
1773 [Version (since = "2.6")]
1774 public Pango.EllipsizeMode ellipsize { get; set; }
1776 public bool ellipsize_set { get; set; }
1778 public string family { owned get; set; }
1780 public bool family_set { get; set; }
1782 public string font { owned get; set; }
1784 public Pango.FontDescription font_desc { owned get; set; }
1786 public string foreground { set; }
1788 [Version (deprecated = true, deprecated_since = "3.4", replacement = "foreground_rgba")]
1789 public Gdk.Color foreground_gdk { get; set; }
1791 [Version (since = "3.0")]
1792 public Gdk.RGBA foreground_rgba { get; set; }
1794 public bool foreground_set { get; set; }
1796 public string language { owned get; set; }
1798 public bool language_set { get; set; }
1800 public string markup { set; }
1802 [Version (since = "3.0")]
1803 public int max_width_chars { get; set; }
1805 public string placeholder_text { owned get; set; }
1807 public int rise { get; set; }
1809 public bool rise_set { get; set; }
1811 public double scale { get; set; }
1813 public bool scale_set { get; set; }
1815 public bool single_paragraph_mode { get; set; }
1817 public int size { get; set; }
1819 public double size_points { get; set; }
1821 public bool size_set { get; set; }
1823 public Pango.Stretch stretch { get; set; }
1825 public bool stretch_set { get; set; }
1827 public bool strikethrough { get; set; }
1829 public bool strikethrough_set { get; set; }
1831 public Pango.Style style { get; set; }
1833 public bool style_set { get; set; }
1835 public string text { owned get; set; }
1837 public Pango.Underline underline { get; set; }
1839 public bool underline_set { get; set; }
1841 public Pango.Variant variant { get; set; }
1843 public bool variant_set { get; set; }
1845 public int weight { get; set; }
1847 public bool weight_set { get; set; }
1849 [Version (since = "2.6")]
1850 public int width_chars { get; set; }
1852 [Version (since = "2.8")]
1853 public Pango.WrapMode wrap_mode { get; set; }
1855 [Version (since = "2.8")]
1856 public int wrap_width { get; set; }
1857 public virtual signal void edited (string path, string new_text);
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; }
1874 public bool inconsistent { get; set; }
1876 public int indicator_size { get; set; }
1877 public bool radio { get; set; }
1878 public virtual signal void toggled (string path);
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")]
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);
1920 public string background { set; }
1922 [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
1923 public Gdk.Color background_gdk { get; set; }
1925 [Version (since = "3.0")]
1926 public Gdk.RGBA background_rgba { get; set; }
1928 public bool background_set { get; set; }
1930 public Gtk.CellArea cell_area { owned get; construct; }
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; }
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 ();
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);
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 ();
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; }
1970 public virtual signal void toggled ();
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 ();
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);
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; }
2065 [Version (deprecated = true, deprecated_since = "3.4", replacement = "rgba", since = "2.4")]
2066 public Gdk.Color color { get; set; }
2068 [Version (since = "3.0")]
2069 public Gdk.RGBA rgba { get; set; }
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 ();
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);
2086 public bool show_editor { get; set; }
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 ();
2094 [Version (since = "3.4")]
2095 public bool show_editor { get; set; }
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; }
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 ();
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 ();
2147 public Gtk.Widget cancel_button { owned get; }
2148 public Gtk.Widget color_selection { get; }
2150 public Gtk.Widget help_button { owned get; }
2152 public Gtk.Widget ok_button { owned get; }
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")]
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; }
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; }
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; }
2265 [Version (since = "2.10")]
2266 public bool popup_shown { get; }
2267 [Version (since = "2.4")]
2268 public int row_span_column { get; set; }
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);
2281 [Version (since = "2.12")]
2282 public signal bool popdown ();
2284 [Version (since = "2.12")]
2285 public signal void popup ();
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 ();
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 ();
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 ();
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")]
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 ();
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 [Version (deprecated = true, deprecated_since = "3.24")]
2353 public bool get_focus_chain (out GLib.List<weak Gtk.Widget> focusable_widgets);
2354 [Version (since = "2.14")]
2355 public unowned Gtk.Widget? get_focus_child ();
2356 public unowned Gtk.Adjustment? get_focus_hadjustment ();
2357 public unowned Gtk.Adjustment? get_focus_vadjustment ();
2358 public virtual Gtk.WidgetPath get_path_for_child (Gtk.Widget child);
2359 [Version (deprecated = true, deprecated_since = "3.12")]
2360 public Gtk.ResizeMode get_resize_mode ();
2361 [CCode (cname = "gtk_container_class_handle_border_width")]
2362 public class void handle_border_width ();
2363 [CCode (cname = "gtk_container_class_install_child_properties")]
2364 [Version (since = "3.18")]
2365 public class void install_child_properties ([CCode (array_length_cname = "n_pspecs", array_length_pos = 0.5, array_length_type = "guint")] GLib.ParamSpec[] pspecs);
2366 [CCode (cname = "gtk_container_class_install_child_property")]
2367 public class void install_child_property (uint property_id, GLib.ParamSpec pspec);
2368 [CCode (array_length_pos = 0.1, array_length_type = "guint", cname = "gtk_container_class_list_child_properties")]
2369 public class (unowned GLib.ParamSpec)[] list_child_properties ();
2370 public void propagate_draw (Gtk.Widget child, Cairo.Context cr);
2371 [Version (deprecated = true, deprecated_since = "3.10")]
2372 public void resize_children ();
2373 public void set_border_width (uint border_width);
2375 public virtual void set_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
2376 [Version (deprecated = true, deprecated_since = "3.24")]
2377 public void set_focus_chain (GLib.List<Gtk.Widget> focusable_widgets);
2378 public void set_focus_hadjustment (Gtk.Adjustment adjustment);
2379 public void set_focus_vadjustment (Gtk.Adjustment adjustment);
2380 [Version (deprecated = true, deprecated_since = "3.14")]
2381 public void set_reallocate_redraws (bool needs_redraws);
2382 [Version (deprecated = true, deprecated_since = "3.12")]
2383 public void set_resize_mode (Gtk.ResizeMode resize_mode);
2384 [Version (deprecated = true, deprecated_since = "3.24")]
2385 public void unset_focus_chain ();
2386 public uint border_width { get; set; }
2388 public Gtk.Widget child { set; }
2389 public Gtk.ResizeMode resize_mode { get; set; }
2391 public virtual signal void add (Gtk.Widget widget);
2393 public virtual signal void check_resize ();
2395 public virtual signal void remove (Gtk.Widget widget);
2397 public virtual signal void set_focus_child (Gtk.Widget? child);
2399 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_container_accessible_get_type ()")]
2400 public class ContainerAccessible : Gtk.WidgetAccessible, Atk.Component {
2401 [CCode (has_construct_function = false)]
2402 protected ContainerAccessible ();
2404 public virtual int add_gtk (Gtk.Widget widget, void* data);
2406 public virtual int remove_gtk (Gtk.Widget widget, void* data);
2408 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_container_cell_accessible_get_type ()")]
2409 public class ContainerCellAccessible : Gtk.CellAccessible, Atk.Action, Atk.Component {
2410 [CCode (has_construct_function = false)]
2411 public ContainerCellAccessible ();
2412 public void add_child (Gtk.CellAccessible child);
2413 public unowned GLib.List<Gtk.CellAccessible> get_children ();
2414 public void remove_child (Gtk.CellAccessible child);
2416 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_css_provider_get_type ()")]
2417 public class CssProvider : GLib.Object, Gtk.StyleProvider {
2418 [CCode (has_construct_function = false)]
2419 public CssProvider ();
2420 [Version (deprecated = true, deprecated_since = "3.24")]
2421 public static unowned Gtk.CssProvider get_default ();
2422 public static unowned Gtk.CssProvider get_named (string name, string? variant);
2423 [CCode (cname = "gtk_css_provider_load_from_data")]
2424 public bool load_from_buffer ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gssize")] uint8[] data) throws GLib.Error;
2425 public bool load_from_data (string data, ssize_t length = -1) throws GLib.Error;
2426 public bool load_from_file (GLib.File file) throws GLib.Error;
2427 public bool load_from_path (string path) throws GLib.Error;
2428 [Version (since = "3.16")]
2429 public void load_from_resource (string resource_path);
2430 [Version (since = "3.2")]
2431 public string to_string ();
2432 public virtual signal void parsing_error (Gtk.CssSection section, GLib.Error error);
2434 [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")]
2436 [Version (since = "3.2")]
2437 public class CssSection {
2438 public uint get_end_line ();
2439 public uint get_end_position ();
2440 public unowned GLib.File get_file ();
2441 public unowned Gtk.CssSection? get_parent ();
2442 public Gtk.CssSectionType get_section_type ();
2443 public uint get_start_line ();
2444 public uint get_start_position ();
2445 public unowned Gtk.CssSection @ref ();
2446 public void unref ();
2448 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_dialog_get_type ()")]
2449 public class Dialog : Gtk.Window, Atk.Implementor, Gtk.Buildable {
2450 [CCode (has_construct_function = false, type = "GtkWidget*")]
2452 public void add_action_widget (Gtk.Widget child, int response_id);
2453 public unowned Gtk.Widget add_button (string button_text, int response_id);
2454 public void add_buttons (...);
2455 [Version (deprecated = true, deprecated_since = "3.12", since = "2.14")]
2456 public unowned Gtk.Widget get_action_area ();
2457 [Version (since = "2.14")]
2458 public unowned Gtk.Box get_content_area ();
2459 [Version (since = "3.12")]
2460 public unowned Gtk.Widget get_header_bar ();
2461 [Version (since = "2.8")]
2462 public int get_response_for_widget (Gtk.Widget widget);
2463 [Version (since = "2.20")]
2464 public unowned Gtk.Widget? get_widget_for_response (int response_id);
2466 [CCode (sentinel = "-1")]
2467 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
2468 public void set_alternative_button_order (...);
2469 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
2470 public void set_alternative_button_order_from_array ([CCode (array_length_cname = "n_params", array_length_pos = 0.5)] int[] new_order);
2471 public void set_default_response (int response_id);
2472 public void set_response_sensitive (int response_id, bool setting);
2473 [CCode (has_construct_function = false, type = "GtkWidget*")]
2474 public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...);
2476 [Version (since = "3.12")]
2477 public int use_header_bar { get; construct; }
2478 public virtual signal void close ();
2480 public virtual signal void response (int response_id);
2482 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_drawing_area_get_type ()")]
2483 public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2484 [CCode (has_construct_function = false, type = "GtkWidget*")]
2485 public DrawingArea ();
2487 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_get_type ()")]
2488 public class Entry : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
2489 [CCode (has_construct_function = false, type = "GtkWidget*")]
2491 public bool get_activates_default ();
2492 [Version (since = "2.4")]
2493 public float get_alignment ();
2494 [Version (since = "3.6")]
2495 public unowned Pango.AttrList? get_attributes ();
2496 [Version (since = "2.18")]
2497 public unowned Gtk.EntryBuffer get_buffer ();
2498 [Version (since = "2.4")]
2499 public unowned Gtk.EntryCompletion get_completion ();
2500 [Version (since = "2.16")]
2501 public int get_current_icon_drag_source ();
2502 [Version (since = "2.12")]
2503 public unowned Gtk.Adjustment? get_cursor_hadjustment ();
2505 public virtual void get_frame_size (out int x, out int y, out int width, out int height);
2506 public bool get_has_frame ();
2507 [Version (since = "2.16")]
2508 public bool get_icon_activatable (Gtk.EntryIconPosition icon_pos);
2509 [Version (since = "3.0")]
2510 public Gdk.Rectangle get_icon_area (Gtk.EntryIconPosition icon_pos);
2511 [Version (since = "2.16")]
2512 public int get_icon_at_pos (int x, int y);
2513 [Version (since = "2.16")]
2514 public unowned GLib.Icon? get_icon_gicon (Gtk.EntryIconPosition icon_pos);
2515 [Version (since = "2.16")]
2516 public unowned string? get_icon_name (Gtk.EntryIconPosition icon_pos);
2517 [Version (since = "2.16")]
2518 public unowned Gdk.Pixbuf? get_icon_pixbuf (Gtk.EntryIconPosition icon_pos);
2519 [Version (since = "2.16")]
2520 public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos);
2521 [Version (deprecated = true, deprecated_since = "3.10", since = "2.16")]
2522 public unowned string get_icon_stock (Gtk.EntryIconPosition icon_pos);
2523 [Version (since = "2.16")]
2524 public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos);
2525 [Version (since = "2.16")]
2526 public string? get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos);
2527 [Version (since = "2.16")]
2528 public string? get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos);
2529 [Version (deprecated = true, deprecated_since = "3.4", since = "2.10")]
2530 public unowned Gtk.Border? get_inner_border ();
2531 [Version (since = "3.6")]
2532 public Gtk.InputHints get_input_hints ();
2533 [Version (since = "3.6")]
2534 public Gtk.InputPurpose get_input_purpose ();
2535 public unichar get_invisible_char ();
2536 public unowned Pango.Layout get_layout ();
2537 public void get_layout_offsets (out int x, out int y);
2538 public int get_max_length ();
2539 [Version (since = "3.12")]
2540 public int get_max_width_chars ();
2541 [Version (since = "2.14")]
2542 public bool get_overwrite_mode ();
2543 [Version (since = "3.2")]
2544 public unowned string get_placeholder_text ();
2545 [Version (since = "2.16")]
2546 public double get_progress_fraction ();
2547 [Version (since = "2.16")]
2548 public double get_progress_pulse_step ();
2549 [Version (since = "3.10")]
2550 public unowned Pango.TabArray? get_tabs ();
2551 public unowned string get_text ();
2552 [Version (since = "3.0")]
2553 public void get_text_area (out Gdk.Rectangle text_area);
2555 public virtual void get_text_area_size (out int x, out int y, out int width, out int height);
2556 [Version (since = "2.14")]
2557 public uint16 get_text_length ();
2558 public bool get_visibility ();
2559 public int get_width_chars ();
2560 [Version (since = "3.16")]
2561 public void grab_focus_without_selecting ();
2562 [Version (since = "2.22")]
2563 public bool im_context_filter_keypress (Gdk.EventKey event);
2564 public int layout_index_to_text_index (int layout_index);
2565 [Version (since = "2.16")]
2566 public void progress_pulse ();
2567 [Version (since = "2.22")]
2568 public void reset_im_context ();
2569 public void set_activates_default (bool setting);
2570 [Version (since = "2.4")]
2571 public void set_alignment (float xalign);
2572 [Version (since = "3.6")]
2573 public void set_attributes (Pango.AttrList attrs);
2574 [Version (since = "2.18")]
2575 public void set_buffer (Gtk.EntryBuffer buffer);
2576 [Version (since = "2.4")]
2577 public void set_completion (Gtk.EntryCompletion? completion);
2578 [Version (since = "2.12")]
2579 public void set_cursor_hadjustment (Gtk.Adjustment? adjustment);
2580 public void set_has_frame (bool setting);
2581 [Version (since = "2.16")]
2582 public void set_icon_activatable (Gtk.EntryIconPosition icon_pos, bool activatable);
2583 [Version (since = "2.16")]
2584 public void set_icon_drag_source (Gtk.EntryIconPosition icon_pos, Gtk.TargetList target_list, Gdk.DragAction actions);
2585 [Version (since = "2.16")]
2586 public void set_icon_from_gicon (Gtk.EntryIconPosition icon_pos, GLib.Icon? icon);
2587 [Version (since = "2.16")]
2588 public void set_icon_from_icon_name (Gtk.EntryIconPosition icon_pos, string? icon_name);
2589 [Version (since = "2.16")]
2590 public void set_icon_from_pixbuf (Gtk.EntryIconPosition icon_pos, Gdk.Pixbuf? pixbuf);
2591 [Version (deprecated = true, deprecated_since = "3.10", since = "2.16")]
2592 public void set_icon_from_stock (Gtk.EntryIconPosition icon_pos, string? stock_id);
2593 [Version (since = "2.16")]
2594 public void set_icon_sensitive (Gtk.EntryIconPosition icon_pos, bool sensitive);
2595 [Version (since = "2.16")]
2596 public void set_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos, string? tooltip);
2597 [Version (since = "2.16")]
2598 public void set_icon_tooltip_text (Gtk.EntryIconPosition icon_pos, string? tooltip);
2599 [Version (deprecated = true, deprecated_since = "3.4", since = "2.10")]
2600 public void set_inner_border (Gtk.Border? border);
2601 [Version (since = "3.6")]
2602 public void set_input_hints (Gtk.InputHints hints);
2603 [Version (since = "3.6")]
2604 public void set_input_purpose (Gtk.InputPurpose purpose);
2605 public void set_invisible_char (unichar ch);
2606 public void set_max_length (int max);
2607 [Version (since = "3.12")]
2608 public void set_max_width_chars (int n_chars);
2609 [Version (since = "2.14")]
2610 public void set_overwrite_mode (bool overwrite);
2611 [Version (since = "3.2")]
2612 public void set_placeholder_text (string? text);
2613 [Version (since = "2.16")]
2614 public void set_progress_fraction (double fraction);
2615 [Version (since = "2.16")]
2616 public void set_progress_pulse_step (double fraction);
2617 [Version (since = "3.10")]
2618 public void set_tabs (Pango.TabArray tabs);
2619 public void set_text (string text);
2620 public void set_visibility (bool visible);
2621 public void set_width_chars (int n_chars);
2622 public int text_index_to_layout_index (int text_index);
2623 [Version (since = "2.16")]
2624 public void unset_invisible_char ();
2625 [CCode (has_construct_function = false, type = "GtkWidget*")]
2626 [Version (since = "2.18")]
2627 public Entry.with_buffer (Gtk.EntryBuffer buffer);
2628 public bool activates_default { get; set; }
2629 [Version (since = "3.6")]
2630 public Pango.AttrList attributes { get; set; }
2631 public Gtk.EntryBuffer buffer { get; set construct; }
2633 [Version (since = "2.16")]
2634 public bool caps_lock_warning { get; set; }
2635 [Version (since = "3.2")]
2636 public Gtk.EntryCompletion completion { get; set; }
2638 public int cursor_position { get; }
2640 public bool editable { get; set; }
2642 public bool enable_emoji_completion { get; set; }
2643 public bool has_frame { get; set; }
2645 [Version (since = "2.16")]
2646 public string im_module { owned get; set; }
2647 [Version (deprecated = true, deprecated_since = "3.4", since = "2.10")]
2648 public Gtk.Border inner_border { get; set; }
2649 [Version (since = "3.6")]
2650 public Gtk.InputHints input_hints { get; set; }
2651 [Version (since = "3.6")]
2652 public Gtk.InputPurpose input_purpose { get; set; }
2653 [Version (since = "2.18")]
2654 public uint invisible_char { get; set; }
2656 [Version (since = "2.16")]
2657 public bool invisible_char_set { get; set; }
2658 public int max_length { get; set; }
2659 [Version (since = "3.12")]
2660 public int max_width_chars { get; set; }
2661 [Version (since = "2.14")]
2662 public bool overwrite_mode { get; set; }
2663 [Version (since = "3.2")]
2664 public string placeholder_text { get; set; }
2666 [Version (since = "3.8")]
2667 public bool populate_all { get; set; }
2669 [Version (since = "2.16")]
2670 public bool primary_icon_activatable { get; set; }
2672 [Version (since = "2.16")]
2673 public GLib.Icon primary_icon_gicon { owned get; set; }
2675 [Version (since = "2.16")]
2676 public string primary_icon_name { owned get; set; }
2678 [Version (since = "2.16")]
2679 public Gdk.Pixbuf primary_icon_pixbuf { owned get; set; }
2681 [Version (since = "2.16")]
2682 public bool primary_icon_sensitive { get; set; }
2684 [Version (deprecated = true, deprecated_since = "3.10", since = "2.16")]
2685 public string primary_icon_stock { owned get; set; }
2687 [Version (since = "2.16")]
2688 public Gtk.ImageType primary_icon_storage_type { get; }
2690 [Version (since = "2.16")]
2691 public string primary_icon_tooltip_markup { owned get; set; }
2693 [Version (since = "2.16")]
2694 public string primary_icon_tooltip_text { owned get; set; }
2695 [Version (since = "2.16")]
2696 public double progress_fraction { get; set; }
2697 [Version (since = "2.16")]
2698 public double progress_pulse_step { get; set; }
2700 public int scroll_offset { get; }
2702 [Version (since = "2.16")]
2703 public bool secondary_icon_activatable { get; set; }
2705 [Version (since = "2.16")]
2706 public GLib.Icon secondary_icon_gicon { owned get; set; }
2708 [Version (since = "2.16")]
2709 public string secondary_icon_name { owned get; set; }
2711 [Version (since = "2.16")]
2712 public Gdk.Pixbuf secondary_icon_pixbuf { owned get; set; }
2714 [Version (since = "2.16")]
2715 public bool secondary_icon_sensitive { get; set; }
2717 [Version (deprecated = true, deprecated_since = "3.10", since = "2.16")]
2718 public string secondary_icon_stock { owned get; set; }
2720 [Version (since = "2.16")]
2721 public Gtk.ImageType secondary_icon_storage_type { get; }
2723 [Version (since = "2.16")]
2724 public string secondary_icon_tooltip_markup { owned get; set; }
2726 [Version (since = "2.16")]
2727 public string secondary_icon_tooltip_text { owned get; set; }
2729 public int selection_bound { get; }
2731 [Version (deprecated = true, deprecated_since = "3.20", since = "2.12")]
2732 public Gtk.ShadowType shadow_type { get; set; }
2734 public bool show_emoji_icon { get; set; }
2735 public Pango.TabArray tabs { get; set; }
2736 public string text { get; set; }
2737 [Version (since = "2.14")]
2738 public uint text_length { get; }
2740 [Version (since = "2.10")]
2741 public bool truncate_multiline { get; set; }
2742 public bool visibility { get; set; }
2743 public int width_chars { get; set; }
2745 [Version (since = "2.4")]
2746 public float xalign { get; set; }
2747 public virtual signal void activate ();
2748 public virtual signal void backspace ();
2749 public virtual signal void copy_clipboard ();
2750 public virtual signal void cut_clipboard ();
2751 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
2752 [Version (since = "2.16")]
2753 public signal void icon_press (Gtk.EntryIconPosition icon_pos, Gdk.EventButton event);
2754 [Version (since = "2.16")]
2755 public signal void icon_release (Gtk.EntryIconPosition icon_pos, Gdk.EventButton event);
2756 public virtual signal void insert_at_cursor (string str);
2757 [Version (since = "3.22.27")]
2758 public virtual signal void insert_emoji ();
2759 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
2760 public virtual signal void paste_clipboard ();
2761 public virtual signal void populate_popup (Gtk.Menu popup);
2762 [Version (since = "2.20")]
2763 public signal void preedit_changed (string preedit);
2764 public virtual signal void toggle_overwrite ();
2766 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_entry_accessible_get_type ()")]
2767 public class EntryAccessible : Gtk.WidgetAccessible, Atk.Action, Atk.Component, Atk.EditableText, Atk.Text {
2768 [CCode (has_construct_function = false)]
2769 protected EntryAccessible ();
2771 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_buffer_get_type ()")]
2772 public class EntryBuffer : GLib.Object {
2773 [CCode (has_construct_function = false)]
2774 [Version (since = "2.18")]
2775 public EntryBuffer ([CCode (array_length_cname = "n_initial_chars", array_length_pos = 1.1, type = "const gchar*")] uint8[]? initial_chars = null);
2776 [Version (since = "2.18")]
2777 public virtual uint delete_text (uint position, uint n_chars);
2778 [Version (since = "2.18")]
2779 public void emit_deleted_text (uint position, uint n_chars);
2780 [Version (since = "2.18")]
2781 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);
2782 [Version (since = "2.18")]
2783 public size_t get_bytes ();
2784 [Version (since = "2.18")]
2785 public virtual uint get_length ();
2786 [Version (since = "2.18")]
2787 public int get_max_length ();
2788 [Version (since = "2.18")]
2789 public unowned string get_text ();
2790 [CCode (vfunc_name = "get_text")]
2792 public virtual unowned string get_text_internal (out size_t n_bytes = null);
2793 [Version (since = "2.18")]
2794 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);
2795 [Version (since = "2.18")]
2796 public void set_max_length (int max_length);
2797 [Version (since = "2.18")]
2798 public void set_text ([CCode (array_length_cname = "n_chars", array_length_pos = 1.1, type = "const gchar*")] uint8[] chars);
2799 [Version (since = "2.18")]
2800 public uint length { get; }
2801 [Version (since = "2.18")]
2802 public int max_length { get; set; }
2803 [Version (since = "2.18")]
2804 public string text { get; set; }
2805 [Version (since = "2.18")]
2806 public virtual signal void deleted_text (uint position, uint n_chars);
2807 [Version (since = "2.18")]
2808 public virtual signal void inserted_text (uint position, string chars, uint n_chars);
2810 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_completion_get_type ()")]
2811 public class EntryCompletion : GLib.Object, Gtk.Buildable, Gtk.CellLayout {
2812 [CCode (has_construct_function = false)]
2813 [Version (since = "2.4")]
2814 public EntryCompletion ();
2815 [Version (since = "2.4")]
2816 public void complete ();
2817 [Version (since = "3.4")]
2818 public string? compute_prefix (string key);
2819 [Version (since = "2.4")]
2820 public void delete_action (int index_);
2821 [Version (since = "2.12")]
2822 public unowned string get_completion_prefix ();
2823 [Version (since = "2.4")]
2824 public unowned Gtk.Widget get_entry ();
2825 [Version (since = "2.6")]
2826 public bool get_inline_completion ();
2827 [Version (since = "2.12")]
2828 public bool get_inline_selection ();
2829 [Version (since = "2.4")]
2830 public int get_minimum_key_length ();
2831 [Version (since = "2.4")]
2832 public unowned Gtk.TreeModel? get_model ();
2833 [Version (since = "2.6")]
2834 public bool get_popup_completion ();
2835 [Version (since = "2.8")]
2836 public bool get_popup_set_width ();
2837 [Version (since = "2.8")]
2838 public bool get_popup_single_match ();
2839 [Version (since = "2.6")]
2840 public int get_text_column ();
2841 [Version (since = "2.4")]
2842 public void insert_action_markup (int index_, string markup);
2843 [Version (since = "2.4")]
2844 public void insert_action_text (int index_, string text);
2845 [CCode (cname = "gtk_entry_completion_insert_prefix")]
2846 [Version (since = "2.6")]
2847 public void request_prefix_insertion ();
2848 [Version (since = "2.6")]
2849 public void set_inline_completion (bool inline_completion);
2850 [Version (since = "2.12")]
2851 public void set_inline_selection (bool inline_selection);
2852 [Version (since = "2.4")]
2853 public void set_match_func (owned Gtk.EntryCompletionMatchFunc func);
2854 [Version (since = "2.4")]
2855 public void set_minimum_key_length (int length);
2856 [Version (since = "2.4")]
2857 public void set_model (Gtk.TreeModel? model);
2858 [Version (since = "2.6")]
2859 public void set_popup_completion (bool popup_completion);
2860 [Version (since = "2.8")]
2861 public void set_popup_set_width (bool popup_set_width);
2862 [Version (since = "2.8")]
2863 public void set_popup_single_match (bool popup_single_match);
2864 [Version (since = "2.4")]
2865 public void set_text_column (int column);
2866 [CCode (has_construct_function = false)]
2867 [Version (since = "3.0")]
2868 public EntryCompletion.with_area (Gtk.CellArea area);
2870 [Version (since = "3.0")]
2871 public Gtk.CellArea cell_area { owned get; construct; }
2872 [Version (since = "2.6")]
2873 public bool inline_completion { get; set; }
2874 [Version (since = "2.12")]
2875 public bool inline_selection { get; set; }
2876 public int minimum_key_length { get; set; }
2877 public Gtk.TreeModel model { get; set; }
2878 [Version (since = "2.6")]
2879 public bool popup_completion { get; set; }
2880 [Version (since = "2.8")]
2881 public bool popup_set_width { get; set; }
2882 [Version (since = "2.8")]
2883 public bool popup_single_match { get; set; }
2884 [Version (since = "2.6")]
2885 public int text_column { get; set; }
2886 [Version (since = "2.4")]
2887 public virtual signal void action_activated (int index_);
2888 [Version (since = "2.12")]
2889 public virtual signal bool cursor_on_match (Gtk.TreeModel model, Gtk.TreeIter iter);
2890 [Version (since = "2.6")]
2891 public virtual signal bool insert_prefix (string prefix);
2892 [Version (since = "2.4")]
2893 public virtual signal bool match_selected (Gtk.TreeModel model, Gtk.TreeIter iter);
2894 [Version (since = "3.14")]
2895 public virtual signal void no_matches ();
2897 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_entry_icon_accessible_get_type ()")]
2898 public class EntryIconAccessible : Atk.Object, Atk.Action, Atk.Component {
2899 [CCode (has_construct_function = false)]
2900 protected EntryIconAccessible ();
2902 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_box_get_type ()")]
2903 public class EventBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2904 [CCode (has_construct_function = false, type = "GtkWidget*")]
2906 [Version (since = "2.4")]
2907 public bool get_above_child ();
2908 [Version (since = "2.4")]
2909 public bool get_visible_window ();
2910 [Version (since = "2.4")]
2911 public void set_above_child (bool above_child);
2912 [Version (since = "2.4")]
2913 public void set_visible_window (bool visible_window);
2914 public bool above_child { get; set; }
2915 public bool visible_window { get; set; }
2917 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_controller_get_type ()")]
2918 public abstract class EventController : GLib.Object {
2919 [CCode (has_construct_function = false)]
2920 protected EventController ();
2921 [Version (since = "3.14")]
2922 public Gtk.PropagationPhase get_propagation_phase ();
2923 [Version (since = "3.14")]
2924 public unowned Gtk.Widget get_widget ();
2925 [Version (since = "3.14")]
2926 public bool handle_event (Gdk.Event event);
2927 [Version (since = "3.14")]
2928 public void reset ();
2929 [Version (since = "3.14")]
2930 public void set_propagation_phase (Gtk.PropagationPhase phase);
2931 [Version (since = "3.14")]
2932 public Gtk.PropagationPhase propagation_phase { get; set; }
2933 [Version (since = "3.14")]
2934 public Gtk.Widget widget { get; construct; }
2936 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_controller_key_get_type ()")]
2937 public class EventControllerKey : Gtk.EventController {
2938 [CCode (has_construct_function = false, type = "GtkEventController*")]
2939 public EventControllerKey (Gtk.Widget widget);
2940 public bool forward (Gtk.Widget widget);
2941 public uint get_group ();
2942 [Version (since = "3.24")]
2943 public unowned Gtk.IMContext get_im_context ();
2944 public void set_im_context (Gtk.IMContext im_context);
2945 public signal void focus_in ();
2946 public signal void focus_out ();
2947 public signal void im_update ();
2948 public signal bool key_pressed (uint object, uint p0, Gdk.ModifierType p1);
2949 public signal void key_released (uint object, uint p0, Gdk.ModifierType p1);
2950 public signal bool modifiers (Gdk.ModifierType object);
2952 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_controller_motion_get_type ()")]
2953 public class EventControllerMotion : Gtk.EventController {
2954 [CCode (has_construct_function = false, type = "GtkEventController*")]
2955 [Version (since = "3.24")]
2956 public EventControllerMotion (Gtk.Widget widget);
2957 public signal void enter (double x, double y);
2958 public signal void leave ();
2959 public signal void motion (double x, double y);
2961 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_event_controller_scroll_get_type ()")]
2962 public class EventControllerScroll : Gtk.EventController {
2963 [CCode (has_construct_function = false, type = "GtkEventController*")]
2964 [Version (since = "3.24")]
2965 public EventControllerScroll (Gtk.Widget widget, Gtk.EventControllerScrollFlags flags);
2966 [Version (since = "3.24")]
2967 public Gtk.EventControllerScrollFlags get_flags ();
2968 [Version (since = "3.24")]
2969 public void set_flags (Gtk.EventControllerScrollFlags flags);
2970 [Version (since = "3.24")]
2971 public Gtk.EventControllerScrollFlags flags { get; set; }
2972 public signal void decelerate (double vel_x, double vel_y);
2973 public signal void scroll (double dx, double dy);
2974 public signal void scroll_begin ();
2975 public signal void scroll_end ();
2977 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_expander_get_type ()")]
2978 public class Expander : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2979 [CCode (has_construct_function = false, type = "GtkWidget*")]
2980 [Version (since = "2.4")]
2981 public Expander (string? label);
2982 [Version (since = "2.4")]
2983 public bool get_expanded ();
2984 [Version (since = "2.4")]
2985 public unowned string? get_label ();
2986 [Version (since = "2.22")]
2987 public bool get_label_fill ();
2988 [Version (since = "2.4")]
2989 public unowned Gtk.Widget? get_label_widget ();
2990 [Version (since = "3.2")]
2991 public bool get_resize_toplevel ();
2992 [Version (deprecated = true, deprecated_since = "3.20", since = "2.4")]
2993 public int get_spacing ();
2994 [Version (since = "2.4")]
2995 public bool get_use_markup ();
2996 [Version (since = "2.4")]
2997 public bool get_use_underline ();
2998 [Version (since = "2.4")]
2999 public void set_expanded (bool expanded);
3000 [Version (since = "2.4")]
3001 public void set_label (string? label);
3002 [Version (since = "2.22")]
3003 public void set_label_fill (bool label_fill);
3004 [Version (since = "2.4")]
3005 public void set_label_widget (Gtk.Widget? label_widget);
3006 [Version (since = "3.2")]
3007 public void set_resize_toplevel (bool resize_toplevel);
3008 [Version (deprecated = true, deprecated_since = "3.20", since = "2.4")]
3009 public void set_spacing (int spacing);
3010 [Version (since = "2.4")]
3011 public void set_use_markup (bool use_markup);
3012 [Version (since = "2.4")]
3013 public void set_use_underline (bool use_underline);
3014 [CCode (has_construct_function = false, type = "GtkWidget*")]
3015 [Version (since = "2.4")]
3016 public Expander.with_mnemonic (string? label);
3017 public bool expanded { get; set construct; }
3018 public string label { get; set construct; }
3019 public bool label_fill { get; set construct; }
3020 public Gtk.Widget label_widget { get; set; }
3021 [Version (since = "3.2")]
3022 public bool resize_toplevel { get; set; }
3023 [Version (deprecated = true, deprecated_since = "3.20")]
3024 public int spacing { get; set; }
3025 public bool use_markup { get; set construct; }
3026 public bool use_underline { get; set construct; }
3027 public virtual signal void activate ();
3029 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_expander_accessible_get_type ()")]
3030 public class ExpanderAccessible : Gtk.ContainerAccessible, Atk.Action, Atk.Component {
3031 [CCode (has_construct_function = false)]
3032 protected ExpanderAccessible ();
3034 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_button_get_type ()")]
3035 public class FileChooserButton : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser, Gtk.Orientable {
3036 [CCode (has_construct_function = false, type = "GtkWidget*")]
3037 [Version (since = "2.6")]
3038 public FileChooserButton (string title, Gtk.FileChooserAction action);
3039 [Version (deprecated = true, deprecated_since = "3.20", since = "2.10")]
3040 public bool get_focus_on_click ();
3041 [Version (since = "2.6")]
3042 public unowned string get_title ();
3043 [Version (since = "2.6")]
3044 public int get_width_chars ();
3045 [Version (deprecated = true, deprecated_since = "3.20", since = "2.10")]
3046 public void set_focus_on_click (bool focus_on_click);
3047 [Version (since = "2.6")]
3048 public void set_title (string title);
3049 [Version (since = "2.6")]
3050 public void set_width_chars (int n_chars);
3051 [CCode (has_construct_function = false, type = "GtkWidget*")]
3052 [Version (since = "2.6")]
3053 public FileChooserButton.with_dialog (Gtk.Dialog dialog);
3055 [Version (since = "2.6")]
3056 public Gtk.FileChooser dialog { construct; }
3057 [Version (since = "2.6")]
3058 public string title { get; set; }
3059 [Version (since = "2.6")]
3060 public int width_chars { get; set; }
3061 [Version (since = "2.12")]
3062 public virtual signal void file_set ();
3064 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_dialog_get_type ()")]
3065 public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
3066 [CCode (has_construct_function = false, type = "GtkWidget*")]
3067 [Version (since = "2.4")]
3068 public FileChooserDialog (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, ...);
3070 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_native_get_type ()")]
3071 public class FileChooserNative : Gtk.NativeDialog, Gtk.FileChooser {
3072 [CCode (has_construct_function = false)]
3073 [Version (since = "3.20")]
3074 public FileChooserNative (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, string? accept_label, string? cancel_label);
3075 [Version (since = "3.20")]
3076 public unowned string? get_accept_label ();
3077 [Version (since = "3.20")]
3078 public unowned string? get_cancel_label ();
3079 [Version (since = "3.20")]
3080 public void set_accept_label (string? accept_label);
3081 [Version (since = "3.20")]
3082 public void set_cancel_label (string? cancel_label);
3083 public string? accept_label { get; set; }
3084 public string? cancel_label { get; set; }
3086 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_widget_get_type ()")]
3087 public class FileChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser, Gtk.Orientable {
3088 [CCode (has_construct_function = false, type = "GtkWidget*")]
3089 [Version (since = "2.4")]
3090 public FileChooserWidget (Gtk.FileChooserAction action);
3092 public bool search_mode { get; set; }
3094 public string subtitle { owned get; }
3095 public signal void desktop_folder ();
3096 public signal void down_folder ();
3097 public signal void home_folder ();
3098 public signal void location_popup (string path);
3099 public signal void location_popup_on_paste ();
3100 public signal void location_toggle_popup ();
3101 public signal void places_shortcut ();
3102 public signal void quick_bookmark (int bookmark_index);
3103 public signal void recent_shortcut ();
3104 public signal void search_shortcut ();
3105 public signal void show_hidden ();
3106 public signal void up_folder ();
3108 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_filter_get_type ()")]
3109 public class FileFilter : GLib.InitiallyUnowned, Gtk.Buildable {
3110 [CCode (has_construct_function = false)]
3111 [Version (since = "2.4")]
3112 public FileFilter ();
3113 [Version (since = "2.4")]
3114 public void add_custom (Gtk.FileFilterFlags needed, owned Gtk.FileFilterFunc func);
3115 [Version (since = "2.4")]
3116 public void add_mime_type (string mime_type);
3117 [Version (since = "2.4")]
3118 public void add_pattern (string pattern);
3119 [Version (since = "2.6")]
3120 public void add_pixbuf_formats ();
3121 [Version (since = "2.4")]
3122 public bool filter (Gtk.FileFilterInfo filter_info);
3123 [CCode (has_construct_function = false)]
3124 [Version (since = "3.22")]
3125 public FileFilter.from_gvariant (GLib.Variant variant);
3126 [CCode (cname = "gtk_file_filter_get_name")]
3127 [Version (since = "2.4")]
3128 public unowned string? get_filter_name ();
3129 [Version (since = "2.4")]
3130 public Gtk.FileFilterFlags get_needed ();
3131 [CCode (cname = "gtk_file_filter_set_name")]
3132 [Version (since = "2.4")]
3133 public void set_filter_name (string? name);
3134 [CCode (returns_floating_reference = true)]
3135 [Version (since = "3.22")]
3136 public GLib.Variant to_gvariant ();
3138 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
3140 public class FileFilterInfo {
3141 public Gtk.FileFilterFlags contains;
3142 public weak string display_name;
3143 public weak string filename;
3144 public weak string mime_type;
3145 public weak string uri;
3147 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_fixed_get_type ()")]
3148 public class Fixed : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3149 [CCode (has_construct_function = false, type = "GtkWidget*")]
3151 public void move (Gtk.Widget widget, int x, int y);
3152 public void put (Gtk.Widget widget, int x, int y);
3154 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
3156 public class FixedChild {
3157 public weak Gtk.Widget widget;
3161 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_get_type ()")]
3162 public class FlowBox : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3163 [CCode (has_construct_function = false, type = "GtkWidget*")]
3164 [Version (since = "3.12")]
3166 [Version (since = "3.18")]
3167 public void bind_model (GLib.ListModel? model, owned Gtk.FlowBoxCreateWidgetFunc? create_widget_func);
3168 [Version (since = "3.12")]
3169 public bool get_activate_on_single_click ();
3170 [Version (since = "3.12")]
3171 public unowned Gtk.FlowBoxChild? get_child_at_index (int idx);
3172 [Version (since = "3.22.6")]
3173 public unowned Gtk.FlowBoxChild? get_child_at_pos (int x, int y);
3174 [Version (since = "3.12")]
3175 public uint get_column_spacing ();
3176 [Version (since = "3.12")]
3177 public bool get_homogeneous ();
3178 [Version (since = "3.12")]
3179 public uint get_max_children_per_line ();
3180 [Version (since = "3.12")]
3181 public uint get_min_children_per_line ();
3182 [Version (since = "3.12")]
3183 public uint get_row_spacing ();
3184 [Version (since = "3.12")]
3185 public GLib.List<weak Gtk.FlowBoxChild> get_selected_children ();
3186 [Version (since = "3.12")]
3187 public Gtk.SelectionMode get_selection_mode ();
3188 [Version (since = "3.12")]
3189 public void insert (Gtk.Widget widget, int position);
3190 [Version (since = "3.12")]
3191 public void invalidate_filter ();
3192 [Version (since = "3.12")]
3193 public void invalidate_sort ();
3194 [Version (since = "3.12")]
3195 public void select_child (Gtk.FlowBoxChild child);
3196 [Version (since = "3.12")]
3197 public void selected_foreach (Gtk.FlowBoxForeachFunc func);
3198 [Version (since = "3.12")]
3199 public void set_activate_on_single_click (bool single);
3200 [Version (since = "3.12")]
3201 public void set_column_spacing (uint spacing);
3202 [Version (since = "3.12")]
3203 public void set_filter_func (owned Gtk.FlowBoxFilterFunc? filter_func);
3204 [Version (since = "3.12")]
3205 public void set_hadjustment (Gtk.Adjustment adjustment);
3206 [Version (since = "3.12")]
3207 public void set_homogeneous (bool homogeneous);
3208 [Version (since = "3.12")]
3209 public void set_max_children_per_line (uint n_children);
3210 [Version (since = "3.12")]
3211 public void set_min_children_per_line (uint n_children);
3212 [Version (since = "3.12")]
3213 public void set_row_spacing (uint spacing);
3214 [Version (since = "3.12")]
3215 public void set_selection_mode (Gtk.SelectionMode mode);
3216 [Version (since = "3.12")]
3217 public void set_sort_func (owned Gtk.FlowBoxSortFunc? sort_func);
3218 [Version (since = "3.12")]
3219 public void set_vadjustment (Gtk.Adjustment adjustment);
3220 [Version (since = "3.12")]
3221 public void unselect_child (Gtk.FlowBoxChild child);
3222 public bool activate_on_single_click { get; set; }
3223 public uint column_spacing { get; set; }
3224 public bool homogeneous { get; set; }
3225 public uint max_children_per_line { get; set; }
3226 public uint min_children_per_line { get; set; }
3227 public uint row_spacing { get; set; }
3228 public Gtk.SelectionMode selection_mode { get; set; }
3229 public virtual signal void activate_cursor_child ();
3230 public virtual signal void child_activated (Gtk.FlowBoxChild child);
3231 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
3233 public virtual signal void select_all ();
3234 public virtual signal void selected_children_changed ();
3235 public virtual signal void toggle_cursor_child ();
3237 public virtual signal void unselect_all ();
3239 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_flow_box_accessible_get_type ()")]
3240 public class FlowBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
3241 [CCode (has_construct_function = false)]
3242 protected FlowBoxAccessible ();
3244 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_child_get_type ()")]
3245 public class FlowBoxChild : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3246 [CCode (has_construct_function = false, type = "GtkWidget*")]
3247 [Version (since = "3.12")]
3248 public FlowBoxChild ();
3249 [Version (since = "3.12")]
3250 public void changed ();
3251 [Version (since = "3.12")]
3252 public int get_index ();
3253 [Version (since = "3.12")]
3254 public bool is_selected ();
3255 public virtual signal void activate ();
3257 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_flow_box_child_accessible_get_type ()")]
3258 public class FlowBoxChildAccessible : Gtk.ContainerAccessible, Atk.Component {
3259 [CCode (has_construct_function = false)]
3260 protected FlowBoxChildAccessible ();
3262 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_button_get_type ()")]
3263 public class FontButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.FontChooser {
3264 [CCode (has_construct_function = false, type = "GtkWidget*")]
3265 [Version (since = "2.4")]
3266 public FontButton ();
3267 [Version (deprecated = true, deprecated_since = "3.22", since = "2.4")]
3268 public unowned string get_font_name ();
3269 [Version (since = "2.4")]
3270 public bool get_show_size ();
3271 [Version (since = "2.4")]
3272 public bool get_show_style ();
3273 [Version (since = "2.4")]
3274 public unowned string get_title ();
3275 [Version (since = "2.4")]
3276 public bool get_use_font ();
3277 [Version (since = "2.4")]
3278 public bool get_use_size ();
3279 [Version (deprecated = true, deprecated_since = "3.22", since = "2.4")]
3280 public bool set_font_name (string fontname);
3281 [Version (since = "2.4")]
3282 public void set_show_size (bool show_size);
3283 [Version (since = "2.4")]
3284 public void set_show_style (bool show_style);
3285 [Version (since = "2.4")]
3286 public void set_title (string title);
3287 [Version (since = "2.4")]
3288 public void set_use_font (bool use_font);
3289 [Version (since = "2.4")]
3290 public void set_use_size (bool use_size);
3291 [CCode (has_construct_function = false, type = "GtkWidget*")]
3292 [Version (since = "2.4")]
3293 public FontButton.with_font (string fontname);
3294 [Version (deprecated = true, deprecated_since = "3.22", since = "2.4")]
3295 public string font_name { get; set; }
3296 [Version (since = "2.4")]
3297 public bool show_size { get; set; }
3298 [Version (since = "2.4")]
3299 public bool show_style { get; set; }
3300 [Version (since = "2.4")]
3301 public string title { get; set; }
3302 [Version (since = "2.4")]
3303 public bool use_font { get; set; }
3304 [Version (since = "2.4")]
3305 public bool use_size { get; set; }
3306 [Version (since = "2.4")]
3307 public virtual signal void font_set ();
3309 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_dialog_get_type ()")]
3310 public class FontChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser {
3311 [CCode (has_construct_function = false, type = "GtkWidget*")]
3312 [Version (since = "3.2")]
3313 public FontChooserDialog (string? title, Gtk.Window? parent);
3315 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_widget_get_type ()")]
3316 public class FontChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser, Gtk.Orientable {
3317 [CCode (has_construct_function = false, type = "GtkWidget*")]
3318 [Version (since = "3.2")]
3319 public FontChooserWidget ();
3321 public GLib.Action tweak_action { owned get; }
3323 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_selection_get_type ()")]
3324 [Version (deprecated = true, deprecated_since = "3.2", replacement = "FontChooserWidget")]
3325 public class FontSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3326 [CCode (has_construct_function = false, type = "GtkWidget*")]
3327 public FontSelection ();
3328 [Version (since = "2.14")]
3329 public unowned Pango.FontFace get_face ();
3330 [Version (since = "2.14")]
3331 public unowned Gtk.Widget get_face_list ();
3332 [Version (since = "2.14")]
3333 public unowned Pango.FontFamily get_family ();
3334 [Version (since = "2.14")]
3335 public unowned Gtk.Widget get_family_list ();
3336 public string get_font_name ();
3337 [Version (since = "2.14")]
3338 public unowned Gtk.Widget get_preview_entry ();
3339 public unowned string get_preview_text ();
3340 [Version (since = "2.14")]
3341 public int get_size ();
3342 [Version (since = "2.14")]
3343 public unowned Gtk.Widget get_size_entry ();
3344 [Version (since = "2.14")]
3345 public unowned Gtk.Widget get_size_list ();
3346 public bool set_font_name (string fontname);
3347 public void set_preview_text (string text);
3348 public string font_name { owned get; set; }
3349 public string preview_text { get; set; }
3351 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_selection_dialog_get_type ()")]
3352 [Version (deprecated = true, deprecated_since = "3.2", replacement = "FontChooserDialog")]
3353 public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
3354 [CCode (has_construct_function = false, type = "GtkWidget*")]
3355 public FontSelectionDialog (string title);
3356 [Version (since = "2.14")]
3357 public unowned Gtk.Widget get_cancel_button ();
3358 public string get_font_name ();
3359 [Version (since = "2.22")]
3360 public unowned Gtk.Widget get_font_selection ();
3361 [Version (since = "2.14")]
3362 public unowned Gtk.Widget get_ok_button ();
3363 public unowned string get_preview_text ();
3364 public bool set_font_name (string fontname);
3365 public void set_preview_text (string text);
3367 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_frame_get_type ()")]
3368 public class Frame : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3369 [CCode (has_construct_function = false, type = "GtkWidget*")]
3370 public Frame (string? label);
3372 public virtual void compute_child_allocation (Gtk.Allocation allocation);
3373 public unowned string? get_label ();
3374 public void get_label_align (out float xalign, out float yalign);
3375 public unowned Gtk.Widget? get_label_widget ();
3376 public Gtk.ShadowType get_shadow_type ();
3377 public void set_label (string? label);
3378 public void set_label_align (float xalign, float yalign);
3379 public void set_label_widget (Gtk.Widget? label_widget);
3380 public void set_shadow_type (Gtk.ShadowType type);
3381 public string label { get; set; }
3382 public Gtk.Widget label_widget { get; set; }
3384 public float label_xalign { get; set; }
3386 public float label_yalign { get; set; }
3387 public Gtk.ShadowType shadow_type { get; set; }
3389 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_frame_accessible_get_type ()")]
3390 public class FrameAccessible : Gtk.ContainerAccessible, Atk.Component {
3391 [CCode (has_construct_function = false)]
3392 protected FrameAccessible ();
3394 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gl_area_get_type ()")]
3395 [Version (since = "3.16")]
3396 public class GLArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
3397 [CCode (has_construct_function = false, type = "GtkWidget*")]
3399 public void attach_buffers ();
3400 public bool get_auto_render ();
3401 public unowned Gdk.GLContext get_context ();
3402 public unowned GLib.Error? get_error ();
3403 public bool get_has_alpha ();
3404 public bool get_has_depth_buffer ();
3405 public bool get_has_stencil_buffer ();
3406 public void get_required_version (out int major, out int minor);
3407 [Version (since = "3.22")]
3408 public bool get_use_es ();
3409 public void make_current ();
3410 public void queue_render ();
3411 public void set_auto_render (bool auto_render);
3412 public void set_error (GLib.Error? error);
3413 public void set_has_alpha (bool has_alpha);
3414 public void set_has_depth_buffer (bool has_depth_buffer);
3415 public void set_has_stencil_buffer (bool has_stencil_buffer);
3416 public void set_required_version (int major, int minor);
3417 [Version (since = "3.22")]
3418 public void set_use_es (bool use_es);
3419 public bool auto_render { get; set; }
3420 public Gdk.GLContext context { get; }
3421 public bool has_alpha { get; set; }
3422 public bool has_depth_buffer { get; set; }
3423 public bool has_stencil_buffer { get; set; }
3424 [Version (since = "3.22")]
3425 public bool use_es { get; set; }
3426 public signal Gdk.GLContext create_context ();
3427 public virtual signal bool render (Gdk.GLContext context);
3428 public virtual signal void resize (int width, int height);
3430 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_get_type ()")]
3431 public abstract class Gesture : Gtk.EventController {
3432 [CCode (has_construct_function = false)]
3433 protected Gesture ();
3434 [Version (since = "3.14")]
3435 public bool get_bounding_box (out Gdk.Rectangle rect);
3436 [Version (since = "3.14")]
3437 public bool get_bounding_box_center (out double x, out double y);
3438 [Version (since = "3.14")]
3439 public unowned Gdk.Device? get_device ();
3440 [Version (since = "3.14")]
3441 public GLib.List<weak Gtk.Gesture> get_group ();
3442 public unowned Gdk.Event? get_last_event (Gdk.EventSequence? sequence);
3443 [Version (since = "3.14")]
3444 public unowned Gdk.EventSequence? get_last_updated_sequence ();
3445 [Version (since = "3.14")]
3446 public bool get_point (Gdk.EventSequence? sequence, out double x = null, out double y = null);
3447 [Version (since = "3.14")]
3448 public Gtk.EventSequenceState get_sequence_state (Gdk.EventSequence sequence);
3449 [Version (since = "3.14")]
3450 public GLib.List<weak Gdk.EventSequence> get_sequences ();
3451 [Version (since = "3.14")]
3452 public unowned Gdk.Window? get_window ();
3453 [Version (since = "3.14")]
3454 public void group (Gtk.Gesture gesture);
3455 [Version (since = "3.14")]
3456 public bool handles_sequence (Gdk.EventSequence? sequence);
3457 [Version (since = "3.14")]
3458 public bool is_active ();
3459 [Version (since = "3.14")]
3460 public bool is_grouped_with (Gtk.Gesture other);
3461 [Version (since = "3.14")]
3462 public bool is_recognized ();
3463 [Version (since = "3.14")]
3464 public bool set_sequence_state (Gdk.EventSequence sequence, Gtk.EventSequenceState state);
3465 [Version (since = "3.14")]
3466 public bool set_state (Gtk.EventSequenceState state);
3467 [Version (since = "3.14")]
3468 public void set_window (Gdk.Window? window);
3469 [Version (since = "3.14")]
3470 public void ungroup ();
3472 [Version (since = "3.14")]
3473 public uint n_points { get; construct; }
3474 [Version (since = "3.14")]
3475 public Gdk.Window window { get; set; }
3476 [Version (since = "3.14")]
3477 public signal void begin (Gdk.EventSequence sequence);
3478 [Version (since = "3.14")]
3479 public signal void cancel (Gdk.EventSequence sequence);
3480 [Version (since = "3.14")]
3481 public signal void end (Gdk.EventSequence sequence);
3482 [Version (since = "3.14")]
3483 public signal void sequence_state_changed (Gdk.EventSequence sequence, Gtk.EventSequenceState state);
3484 [Version (since = "3.14")]
3485 public signal void update (Gdk.EventSequence sequence);
3487 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_drag_get_type ()")]
3488 public class GestureDrag : Gtk.GestureSingle {
3489 [CCode (has_construct_function = false, type = "GtkGesture*")]
3490 [Version (since = "3.14")]
3491 public GestureDrag (Gtk.Widget widget);
3492 [Version (since = "3.14")]
3493 public bool get_offset (out double x, out double y);
3494 [Version (since = "3.14")]
3495 public bool get_start_point (out double x, out double y);
3496 [Version (since = "3.14")]
3497 public signal void drag_begin (double start_x, double start_y);
3498 [Version (since = "3.14")]
3499 public signal void drag_end (double offset_x, double offset_y);
3500 [Version (since = "3.14")]
3501 public signal void drag_update (double offset_x, double offset_y);
3503 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_long_press_get_type ()")]
3504 public class GestureLongPress : Gtk.GestureSingle {
3505 [CCode (has_construct_function = false, type = "GtkGesture*")]
3506 [Version (since = "3.14")]
3507 public GestureLongPress (Gtk.Widget widget);
3509 public double delay_factor { get; set; }
3510 [Version (since = "3.14")]
3511 public signal void cancelled ();
3512 [Version (since = "3.14")]
3513 public signal void pressed (double x, double y);
3515 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_multi_press_get_type ()")]
3516 public class GestureMultiPress : Gtk.GestureSingle {
3517 [CCode (has_construct_function = false, type = "GtkGesture*")]
3518 [Version (since = "3.14")]
3519 public GestureMultiPress (Gtk.Widget widget);
3520 [Version (since = "3.14")]
3521 public bool get_area (out Gdk.Rectangle rect);
3522 [Version (since = "3.14")]
3523 public void set_area (Gdk.Rectangle? rect);
3524 [Version (since = "3.14")]
3525 public signal void pressed (int n_press, double x, double y);
3526 [Version (since = "3.14")]
3527 public signal void released (int n_press, double x, double y);
3528 [Version (since = "3.14")]
3529 public signal void stopped ();
3531 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_pan_get_type ()")]
3532 public class GesturePan : Gtk.GestureDrag {
3533 [CCode (has_construct_function = false, type = "GtkGesture*")]
3534 [Version (since = "3.14")]
3535 public GesturePan (Gtk.Widget widget, Gtk.Orientation orientation);
3536 [Version (since = "3.14")]
3537 public Gtk.Orientation get_orientation ();
3538 [Version (since = "3.14")]
3539 public void set_orientation (Gtk.Orientation orientation);
3540 [Version (since = "3.14")]
3541 public Gtk.Orientation orientation { get; set; }
3542 [Version (since = "3.14")]
3543 public signal void pan (Gtk.PanDirection direction, double offset);
3545 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_rotate_get_type ()")]
3546 public class GestureRotate : Gtk.Gesture {
3547 [CCode (has_construct_function = false, type = "GtkGesture*")]
3548 [Version (since = "3.14")]
3549 public GestureRotate (Gtk.Widget widget);
3550 [Version (since = "3.14")]
3551 public double get_angle_delta ();
3552 [Version (since = "3.14")]
3553 public signal void angle_changed (double angle, double angle_delta);
3555 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_single_get_type ()")]
3556 public class GestureSingle : Gtk.Gesture {
3557 [CCode (has_construct_function = false)]
3558 protected GestureSingle ();
3559 [Version (since = "3.14")]
3560 public uint get_button ();
3561 [Version (since = "3.14")]
3562 public uint get_current_button ();
3563 [Version (since = "3.14")]
3564 public Gdk.EventSequence? get_current_sequence ();
3565 [Version (since = "3.14")]
3566 public bool get_exclusive ();
3567 [Version (since = "3.14")]
3568 public bool get_touch_only ();
3569 [Version (since = "3.14")]
3570 public void set_button (uint button);
3571 [Version (since = "3.14")]
3572 public void set_exclusive (bool exclusive);
3573 [Version (since = "3.14")]
3574 public void set_touch_only (bool touch_only);
3575 [Version (since = "3.14")]
3576 public uint button { get; set; }
3577 [Version (since = "3.14")]
3578 public bool exclusive { get; set; }
3579 [Version (since = "3.14")]
3580 public bool touch_only { get; set; }
3582 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_stylus_get_type ()")]
3583 public class GestureStylus : Gtk.GestureSingle {
3584 [CCode (has_construct_function = false, type = "GtkGesture*")]
3585 [Version (since = "3.24")]
3586 public GestureStylus (Gtk.Widget widget);
3587 [Version (since = "3.24")]
3588 public bool get_axes (Gdk.AxisUse axes, out double values);
3589 [Version (since = "3.24")]
3590 public bool get_axis (Gdk.AxisUse axis, out double value);
3591 [Version (since = "3.24")]
3592 public unowned Gdk.DeviceTool? get_device_tool ();
3593 public signal void down (double object, double p0);
3594 public signal void motion (double object, double p0);
3595 public signal void proximity (double object, double p0);
3596 public signal void up (double object, double p0);
3598 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_swipe_get_type ()")]
3599 public class GestureSwipe : Gtk.GestureSingle {
3600 [CCode (has_construct_function = false, type = "GtkGesture*")]
3601 [Version (since = "3.14")]
3602 public GestureSwipe (Gtk.Widget widget);
3603 [Version (since = "3.14")]
3604 public bool get_velocity (out double velocity_x, out double velocity_y);
3605 [Version (since = "3.14")]
3606 public signal void swipe (double velocity_x, double velocity_y);
3608 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_zoom_get_type ()")]
3609 public class GestureZoom : Gtk.Gesture {
3610 [CCode (has_construct_function = false, type = "GtkGesture*")]
3611 [Version (since = "3.14")]
3612 public GestureZoom (Gtk.Widget widget);
3613 [Version (since = "3.14")]
3614 public double get_scale_delta ();
3615 [Version (since = "3.14")]
3616 public signal void scale_changed (double scale);
3618 [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_gradient_ref", type_id = "gtk_gradient_get_type ()", unref_function = "gtk_gradient_unref")]
3620 [Version (deprecated = true, deprecated_since = "3.8")]
3621 public class Gradient {
3622 [Version (since = "3.0")]
3623 public void add_color_stop (double offset, Gtk.SymbolicColor color);
3624 [CCode (has_construct_function = false)]
3625 [Version (since = "3.0")]
3626 public Gradient.linear (double x0, double y0, double x1, double y1);
3627 [CCode (has_construct_function = false)]
3628 [Version (since = "3.0")]
3629 public Gradient.radial (double x0, double y0, double radius0, double x1, double y1, double radius1);
3630 [Version (since = "3.0")]
3631 public unowned Gtk.Gradient @ref ();
3632 [Version (since = "3.0")]
3633 public bool resolve (Gtk.StyleProperties props, out Cairo.Pattern resolved_gradient);
3634 public Cairo.Pattern resolve_for_context (Gtk.StyleContext context);
3635 public string to_string ();
3636 [Version (since = "3.0")]
3637 public void unref ();
3639 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_grid_get_type ()")]
3640 public class Grid : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3641 [CCode (has_construct_function = false, type = "GtkWidget*")]
3643 public void attach (Gtk.Widget child, int left, int top, int width = 1, int height = 1);
3644 public void attach_next_to (Gtk.Widget child, Gtk.Widget? sibling, Gtk.PositionType side, int width = 1, int height = 1);
3645 [Version (since = "3.10")]
3646 public int get_baseline_row ();
3647 [Version (since = "3.2")]
3648 public unowned Gtk.Widget? get_child_at (int left, int top);
3649 public bool get_column_homogeneous ();
3650 public uint get_column_spacing ();
3651 [Version (since = "3.10")]
3652 public Gtk.BaselinePosition get_row_baseline_position (int row);
3653 public bool get_row_homogeneous ();
3654 public uint get_row_spacing ();
3655 [Version (since = "3.2")]
3656 public void insert_column (int position);
3657 [Version (since = "3.2")]
3658 public void insert_next_to (Gtk.Widget sibling, Gtk.PositionType side);
3659 [Version (since = "3.2")]
3660 public void insert_row (int position);
3661 [Version (since = "3.10")]
3662 public void remove_column (int position);
3663 [Version (since = "3.10")]
3664 public void remove_row (int position);
3665 [Version (since = "3.10")]
3666 public void set_baseline_row (int row);
3667 public void set_column_homogeneous (bool homogeneous);
3668 public void set_column_spacing (uint spacing);
3669 [Version (since = "3.10")]
3670 public void set_row_baseline_position (int row, Gtk.BaselinePosition pos);
3671 public void set_row_homogeneous (bool homogeneous);
3672 public void set_row_spacing (uint spacing);
3673 public int baseline_row { get; set; }
3674 public bool column_homogeneous { get; set; }
3675 public int column_spacing { get; set; }
3676 public bool row_homogeneous { get; set; }
3677 public int row_spacing { get; set; }
3679 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hbox_get_type ()")]
3680 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Box")]
3681 public class HBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3682 [CCode (has_construct_function = false, type = "GtkWidget*")]
3683 public HBox (bool homogeneous, int spacing);
3685 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hbutton_box_get_type ()")]
3686 [Version (deprecated = true, deprecated_since = "3.2", replacement = "ButtonBox")]
3687 public class HButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3688 [CCode (has_construct_function = false, type = "GtkWidget*")]
3689 public HButtonBox ();
3691 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hpaned_get_type ()")]
3692 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Paned")]
3693 public class HPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3694 [CCode (has_construct_function = false, type = "GtkWidget*")]
3697 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hsv_get_type ()")]
3698 public class HSV : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
3699 [CCode (has_construct_function = false, type = "GtkWidget*")]
3700 [Version (since = "2.14")]
3702 [Version (since = "2.14")]
3703 public void get_color (out double h, out double s, out double v);
3704 [Version (since = "2.14")]
3705 public void get_metrics (out int size, out int ring_width);
3706 [Version (since = "2.14")]
3707 public bool is_adjusting ();
3708 [Version (since = "2.14")]
3709 public void set_color (double h, double s, double v);
3710 [Version (since = "2.14")]
3711 public void set_metrics (int size, int ring_width);
3712 [Version (since = "2.14")]
3713 public static void to_rgb (double h, double s, double v, out double r, out double g, out double b);
3714 public virtual signal void changed ();
3715 public virtual signal void move (Gtk.DirectionType type);
3717 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hscale_get_type ()")]
3718 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scale")]
3719 public class HScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3720 [CCode (has_construct_function = false, type = "GtkWidget*")]
3721 public HScale (Gtk.Adjustment? adjustment);
3722 [CCode (has_construct_function = false, type = "GtkWidget*")]
3723 public HScale.with_range (double min, double max, double step);
3725 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hscrollbar_get_type ()")]
3726 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scrollbar")]
3727 public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3728 [CCode (has_construct_function = false, type = "GtkWidget*")]
3729 public HScrollbar (Gtk.Adjustment? adjustment);
3731 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_hseparator_get_type ()")]
3732 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Separator")]
3733 public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3734 [CCode (has_construct_function = false, type = "GtkWidget*")]
3735 public HSeparator ();
3737 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_handle_box_get_type ()")]
3738 [Version (deprecated = true, deprecated_since = "3.4")]
3739 public class HandleBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3740 [CCode (has_construct_function = false, type = "GtkWidget*")]
3741 public HandleBox ();
3742 [Version (since = "2.14")]
3743 public bool get_child_detached ();
3744 public Gtk.PositionType get_handle_position ();
3745 public Gtk.ShadowType get_shadow_type ();
3746 public Gtk.PositionType get_snap_edge ();
3747 public void set_handle_position (Gtk.PositionType position);
3748 public void set_shadow_type (Gtk.ShadowType type);
3749 public void set_snap_edge (Gtk.PositionType edge);
3750 public virtual bool child_detached { get; }
3751 public Gtk.PositionType handle_position { get; set; }
3752 public Gtk.ShadowType shadow_type { get; set; }
3753 public Gtk.PositionType snap_edge { get; set; }
3755 public bool snap_edge_set { get; set; }
3756 public virtual signal void child_attached (Gtk.Widget child);
3758 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_header_bar_get_type ()")]
3759 public class HeaderBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3760 [CCode (has_construct_function = false, type = "GtkWidget*")]
3761 [Version (since = "3.10")]
3762 public HeaderBar ();
3763 [Version (since = "3.10")]
3764 public unowned Gtk.Widget? get_custom_title ();
3765 [Version (since = "3.12")]
3766 public unowned string get_decoration_layout ();
3767 [Version (since = "3.12")]
3768 public bool get_has_subtitle ();
3769 [Version (since = "3.10")]
3770 public bool get_show_close_button ();
3771 [Version (since = "3.10")]
3772 public unowned string? get_subtitle ();
3773 [Version (since = "3.10")]
3774 public unowned string? get_title ();
3775 [Version (since = "3.10")]
3776 public void pack_end (Gtk.Widget child);
3777 [Version (since = "3.10")]
3778 public void pack_start (Gtk.Widget child);
3779 [Version (since = "3.10")]
3780 public void set_custom_title (Gtk.Widget? title_widget);
3781 [Version (since = "3.12")]
3782 public void set_decoration_layout (string? layout);
3783 [Version (since = "3.12")]
3784 public void set_has_subtitle (bool setting);
3785 [Version (since = "3.10")]
3786 public void set_show_close_button (bool setting);
3787 [Version (since = "3.10")]
3788 public void set_subtitle (string? subtitle);
3789 [Version (since = "3.10")]
3790 public void set_title (string? title);
3791 public Gtk.Widget custom_title { get; set; }
3792 [Version (since = "3.12")]
3793 public string decoration_layout { get; set; }
3795 [Version (since = "3.12")]
3796 public bool decoration_layout_set { get; set; }
3797 [Version (since = "3.12")]
3798 public bool has_subtitle { get; set; }
3799 public bool show_close_button { get; set; }
3801 public int spacing { get; set; }
3802 public string subtitle { get; set; }
3803 public string title { get; set; }
3805 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h", type_id = "gtk_im_context_get_type ()")]
3806 public abstract class IMContext : GLib.Object {
3807 [CCode (has_construct_function = false)]
3808 protected IMContext ();
3809 public virtual bool filter_keypress (Gdk.EventKey event);
3810 public virtual void focus_in ();
3811 public virtual void focus_out ();
3812 public virtual void get_preedit_string (out string str, out Pango.AttrList attrs, out int cursor_pos);
3813 public virtual bool get_surrounding (out string text, out int cursor_index);
3814 public virtual void reset ();
3815 public virtual void set_client_window (Gdk.Window? window);
3816 public virtual void set_cursor_location (Gdk.Rectangle area);
3817 public virtual void set_surrounding (string text, int len, int cursor_index);
3818 public virtual void set_use_preedit (bool use_preedit);
3820 public Gtk.InputHints input_hints { get; set; }
3822 public Gtk.InputPurpose input_purpose { get; set; }
3823 public virtual signal void commit (string str);
3825 public virtual signal bool delete_surrounding (int offset, int n_chars);
3826 public virtual signal void preedit_changed ();
3827 public virtual signal void preedit_end ();
3828 public virtual signal void preedit_start ();
3829 public virtual signal bool retrieve_surrounding ();
3831 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_im_context_simple_get_type ()")]
3832 public class IMContextSimple : Gtk.IMContext {
3833 [CCode (has_construct_function = false, type = "GtkIMContext*")]
3834 public IMContextSimple ();
3835 public void add_compose_file (string compose_file);
3836 public void add_table ([CCode (array_length = false)] uint16[] data, int max_seq_len, int n_seqs);
3838 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_im_multicontext_get_type ()")]
3839 public class IMMulticontext : Gtk.IMContext {
3840 [CCode (has_construct_function = false, type = "GtkIMContext*")]
3841 public IMMulticontext ();
3842 [Version (deprecated = true, deprecated_since = "3.10")]
3843 public void append_menuitems (Gtk.MenuShell menushell);
3844 [Version (since = "2.16")]
3845 public unowned string get_context_id ();
3846 [Version (since = "2.16")]
3847 public void set_context_id (string context_id);
3849 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_factory_get_type ()")]
3850 [Version (deprecated = true, deprecated_since = "3.10", replacement = "IconTheme")]
3851 public class IconFactory : GLib.Object, Gtk.Buildable {
3852 [CCode (has_construct_function = false)]
3853 public IconFactory ();
3854 public void add (string stock_id, Gtk.IconSet icon_set);
3855 public void add_default ();
3856 public unowned Gtk.IconSet lookup (string stock_id);
3857 public static unowned Gtk.IconSet lookup_default (string stock_id);
3858 public void remove_default ();
3860 [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 ()")]
3862 public class IconInfo {
3863 [Version (deprecated = true, deprecated_since = "3.8", since = "2.4")]
3864 public Gtk.IconInfo copy ();
3865 [CCode (has_construct_function = false)]
3866 [Version (since = "2.14")]
3867 public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf);
3869 [Version (deprecated = true, deprecated_since = "3.8", since = "2.4")]
3870 public void free ();
3871 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3872 public bool get_attach_points ([CCode (array_length_cname = "n_points", array_length_pos = 1.1)] out Gdk.Point[] points);
3873 [Version (since = "3.10")]
3874 public int get_base_scale ();
3875 [Version (since = "2.4")]
3876 public int get_base_size ();
3877 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3878 public unowned Gdk.Pixbuf? get_builtin_pixbuf ();
3879 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3880 public unowned string get_display_name ();
3881 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3882 public bool get_embedded_rect (out Gdk.Rectangle rectangle);
3883 [Version (since = "2.4")]
3884 public unowned string? get_filename ();
3885 [Version (since = "3.12")]
3886 public bool is_symbolic ();
3887 [Version (since = "2.4")]
3888 public Gdk.Pixbuf load_icon () throws GLib.Error;
3889 [Version (since = "3.8")]
3890 public async Gdk.Pixbuf load_icon_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
3891 [Version (since = "3.10")]
3892 public Cairo.Surface load_surface (Gdk.Window? for_window) throws GLib.Error;
3893 [Version (since = "3.0")]
3894 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;
3895 [Version (since = "3.8")]
3896 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;
3897 [Version (since = "3.0")]
3898 public Gdk.Pixbuf load_symbolic_for_context (Gtk.StyleContext context, out bool was_symbolic = null) throws GLib.Error;
3899 [Version (since = "3.8")]
3900 public async Gdk.Pixbuf load_symbolic_for_context_async (Gtk.StyleContext context, GLib.Cancellable? cancellable = null, out bool was_symbolic = null) throws GLib.Error;
3901 [Version (deprecated = true, deprecated_since = "3.0", since = "3.0")]
3902 public Gdk.Pixbuf load_symbolic_for_style (Gtk.Style style, Gtk.StateType state, out bool was_symbolic = null) throws GLib.Error;
3903 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3904 public void set_raw_coordinates (bool raw_coordinates);
3906 [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")]
3908 [Version (deprecated = true, deprecated_since = "3.10", replacement = "IconTheme")]
3909 public class IconSet {
3910 [CCode (has_construct_function = false)]
3912 public void add_source (Gtk.IconSource source);
3913 public Gtk.IconSet copy ();
3914 [CCode (has_construct_function = false)]
3915 public IconSet.from_pixbuf (Gdk.Pixbuf pixbuf);
3916 public void get_sizes ([CCode (array_length_cname = "n_sizes", array_length_pos = 1.1)] out Gtk.IconSize[] sizes);
3917 public unowned Gtk.IconSet @ref ();
3918 [Version (deprecated = true, deprecated_since = "3.0")]
3919 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);
3920 [Version (since = "3.0")]
3921 public Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
3922 [Version (since = "3.10")]
3923 public Cairo.Surface render_icon_surface (Gtk.StyleContext context, [CCode (type = "GtkIconSize")] Gtk.IconSize size, int scale, Gdk.Window? for_window);
3924 public void unref ();
3926 [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_icon_source_get_type ()")]
3928 [Version (deprecated = true, deprecated_since = "3.10", replacement = "IconTheme")]
3929 public class IconSource {
3930 [CCode (has_construct_function = false)]
3931 public IconSource ();
3932 public Gtk.IconSource copy ();
3933 public void free ();
3934 public Gtk.TextDirection get_direction ();
3935 public bool get_direction_wildcarded ();
3936 public unowned string get_filename ();
3937 public unowned string get_icon_name ();
3938 public unowned Gdk.Pixbuf get_pixbuf ();
3939 public Gtk.IconSize get_size ();
3940 public bool get_size_wildcarded ();
3941 public Gtk.StateType get_state ();
3942 public bool get_state_wildcarded ();
3943 public void set_direction (Gtk.TextDirection direction);
3944 public void set_direction_wildcarded (bool setting);
3945 public void set_filename (string filename);
3946 public void set_icon_name (string? icon_name);
3947 public void set_pixbuf (Gdk.Pixbuf pixbuf);
3948 public void set_size ([CCode (type = "GtkIconSize")] Gtk.IconSize size);
3949 public void set_size_wildcarded (bool setting);
3950 public void set_state (Gtk.StateType state);
3951 public void set_state_wildcarded (bool setting);
3953 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_theme_get_type ()")]
3954 public class IconTheme : GLib.Object {
3955 [CCode (has_construct_function = false)]
3956 [Version (since = "2.4")]
3957 public IconTheme ();
3958 [Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
3959 public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf);
3960 [Version (since = "3.14")]
3961 public void add_resource_path (string path);
3962 [Version (since = "2.4")]
3963 public void append_search_path (string path);
3964 [Version (since = "2.12")]
3965 public Gtk.IconInfo? choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
3966 [Version (since = "3.10")]
3967 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);
3968 [Version (since = "2.4")]
3969 public static unowned Gtk.IconTheme get_default ();
3970 [Version (since = "2.4")]
3971 public string? get_example_icon_name ();
3972 [Version (since = "2.4")]
3973 public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen);
3974 [CCode (array_length = false, array_null_terminated = true)]
3975 [Version (since = "2.6")]
3976 public int[] get_icon_sizes (string icon_name);
3977 [Version (since = "2.4")]
3978 public void get_search_path ([CCode (array_length_cname = "n_elements", array_length_pos = 1.1)] out string[] path);
3979 [Version (since = "2.4")]
3980 public bool has_icon (string icon_name);
3981 [Version (since = "2.12")]
3982 public GLib.List<string> list_contexts ();
3983 [Version (since = "2.4")]
3984 public GLib.List<string> list_icons (string? context);
3985 [Version (since = "2.4")]
3986 public Gdk.Pixbuf? load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
3987 [Version (since = "3.10")]
3988 public Gdk.Pixbuf? load_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags) throws GLib.Error;
3989 [Version (since = "3.10")]
3990 public Cairo.Surface? load_surface (string icon_name, int size, int scale, Gdk.Window? for_window, Gtk.IconLookupFlags flags) throws GLib.Error;
3991 [Version (since = "2.14")]
3992 public Gtk.IconInfo? lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
3993 [Version (since = "3.10")]
3994 public Gtk.IconInfo? lookup_by_gicon_for_scale (GLib.Icon icon, int size, int scale, Gtk.IconLookupFlags flags);
3995 [Version (since = "2.4")]
3996 public Gtk.IconInfo? lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
3997 [Version (since = "3.10")]
3998 public Gtk.IconInfo? lookup_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags);
3999 [Version (since = "2.4")]
4000 public void prepend_search_path (string path);
4001 [Version (since = "2.4")]
4002 public bool rescan_if_needed ();
4003 [Version (since = "2.4")]
4004 public void set_custom_theme (string? theme_name);
4005 [Version (since = "2.4")]
4006 public void set_screen (Gdk.Screen screen);
4007 [Version (since = "2.4")]
4008 public void set_search_path ([CCode (array_length_cname = "n_elements", array_length_pos = 1.1)] string[] path);
4009 public virtual signal void changed ();
4011 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_icon_view_get_type ()")]
4012 public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Scrollable {
4013 [CCode (has_construct_function = false, type = "GtkWidget*")]
4014 [Version (since = "2.6")]
4016 [Version (since = "2.12")]
4017 public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
4018 [Version (since = "2.8")]
4019 public Cairo.Surface create_drag_icon (Gtk.TreePath path);
4020 [Version (since = "2.8")]
4021 public void enable_model_drag_dest ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gtk.TargetEntry[] targets, Gdk.DragAction actions);
4022 [Version (since = "2.8")]
4023 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);
4024 [Version (since = "3.8")]
4025 public bool get_activate_on_single_click ();
4026 [Version (since = "3.6")]
4027 public bool get_cell_rect (Gtk.TreePath path, Gtk.CellRenderer? cell, out Gdk.Rectangle rect);
4028 [Version (since = "2.6")]
4029 public int get_column_spacing ();
4030 [Version (since = "2.6")]
4031 public int get_columns ();
4032 [Version (since = "2.8")]
4033 public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
4034 [Version (since = "2.8")]
4035 public bool get_dest_item_at_pos (int drag_x, int drag_y, out Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
4036 [Version (since = "2.8")]
4037 public void get_drag_dest_item (out Gtk.TreePath path, out Gtk.IconViewDropPosition pos);
4038 [Version (since = "2.8")]
4039 public bool get_item_at_pos (int x, int y, out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
4040 [Version (since = "2.22")]
4041 public int get_item_column (Gtk.TreePath path);
4042 [Version (since = "2.6")]
4043 public Gtk.Orientation get_item_orientation ();
4044 [Version (since = "2.18")]
4045 public int get_item_padding ();
4046 [Version (since = "2.22")]
4047 public int get_item_row (Gtk.TreePath path);
4048 [Version (since = "2.6")]
4049 public int get_item_width ();
4050 [Version (since = "2.6")]
4051 public int get_margin ();
4052 [Version (since = "2.6")]
4053 public int get_markup_column ();
4054 [Version (since = "2.6")]
4055 public unowned Gtk.TreeModel? get_model ();
4056 [Version (since = "2.6")]
4057 public Gtk.TreePath? get_path_at_pos (int x, int y);
4058 [Version (since = "2.6")]
4059 public int get_pixbuf_column ();
4060 [Version (since = "2.8")]
4061 public bool get_reorderable ();
4062 [Version (since = "2.6")]
4063 public int get_row_spacing ();
4064 [Version (since = "2.6")]
4065 public GLib.List<Gtk.TreePath> get_selected_items ();
4066 [Version (since = "2.6")]
4067 public Gtk.SelectionMode get_selection_mode ();
4068 [Version (since = "2.6")]
4069 public int get_spacing ();
4070 [Version (since = "2.6")]
4071 public int get_text_column ();
4072 [Version (since = "2.12")]
4073 public int get_tooltip_column ();
4074 [Version (since = "2.12")]
4075 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);
4076 [Version (since = "2.8")]
4077 public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
4078 [Version (since = "2.6")]
4079 public bool path_is_selected (Gtk.TreePath path);
4080 [Version (since = "2.8")]
4081 public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
4082 [Version (since = "2.6")]
4083 public void select_path (Gtk.TreePath path);
4084 [Version (since = "2.6")]
4085 public void selected_foreach (Gtk.IconViewForeachFunc func);
4086 [Version (since = "3.8")]
4087 public void set_activate_on_single_click (bool single);
4088 [Version (since = "2.6")]
4089 public void set_column_spacing (int column_spacing);
4090 [Version (since = "2.6")]
4091 public void set_columns (int columns);
4092 [Version (since = "2.8")]
4093 public void set_cursor (Gtk.TreePath path, Gtk.CellRenderer? cell, bool start_editing);
4094 [Version (since = "2.8")]
4095 public void set_drag_dest_item (Gtk.TreePath? path, Gtk.IconViewDropPosition pos);
4096 [Version (since = "2.6")]
4097 public void set_item_orientation (Gtk.Orientation orientation);
4098 [Version (since = "2.18")]
4099 public void set_item_padding (int item_padding);
4100 [Version (since = "2.6")]
4101 public void set_item_width (int item_width);
4102 [Version (since = "2.6")]
4103 public void set_margin (int margin);
4104 [Version (since = "2.6")]
4105 public void set_markup_column (int column);
4106 [Version (since = "2.6")]
4107 public void set_model (Gtk.TreeModel? model);
4108 [Version (since = "2.6")]
4109 public void set_pixbuf_column (int column);
4110 [Version (since = "2.8")]
4111 public void set_reorderable (bool reorderable);
4112 [Version (since = "2.6")]
4113 public void set_row_spacing (int row_spacing);
4114 [Version (since = "2.6")]
4115 public void set_selection_mode (Gtk.SelectionMode mode);
4116 [Version (since = "2.6")]
4117 public void set_spacing (int spacing);
4118 [Version (since = "2.6")]
4119 public void set_text_column (int column);
4120 [Version (since = "2.12")]
4121 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.CellRenderer? cell);
4122 [Version (since = "2.12")]
4123 public void set_tooltip_column (int column);
4124 [Version (since = "2.12")]
4125 public void set_tooltip_item (Gtk.Tooltip tooltip, Gtk.TreePath path);
4126 [Version (since = "2.6")]
4127 public void unselect_path (Gtk.TreePath path);
4128 [Version (since = "2.8")]
4129 public void unset_model_drag_dest ();
4130 [Version (since = "2.8")]
4131 public void unset_model_drag_source ();
4132 [CCode (has_construct_function = false, type = "GtkWidget*")]
4133 [Version (since = "3.0")]
4134 public IconView.with_area (Gtk.CellArea area);
4135 [CCode (has_construct_function = false, type = "GtkWidget*")]
4136 [Version (since = "2.6")]
4137 public IconView.with_model (Gtk.TreeModel model);
4138 [Version (since = "3.8")]
4139 public bool activate_on_single_click { get; set; }
4141 [Version (since = "3.0")]
4142 public Gtk.CellArea cell_area { owned get; construct; }
4143 [Version (since = "2.6")]
4144 public int column_spacing { get; set; }
4145 [Version (since = "2.6")]
4146 public int columns { get; set; }
4147 [Version (since = "2.6")]
4148 public Gtk.Orientation item_orientation { get; set; }
4149 [Version (since = "2.18")]
4150 public int item_padding { get; set; }
4151 [Version (since = "2.6")]
4152 public int item_width { get; set; }
4153 [Version (since = "2.6")]
4154 public int margin { get; set; }
4155 [Version (since = "2.6")]
4156 public int markup_column { get; set; }
4157 public Gtk.TreeModel model { get; set; }
4158 [Version (since = "2.6")]
4159 public int pixbuf_column { get; set; }
4160 [Version (since = "2.8")]
4161 public bool reorderable { get; set; }
4162 [Version (since = "2.6")]
4163 public int row_spacing { get; set; }
4164 [Version (since = "2.6")]
4165 public Gtk.SelectionMode selection_mode { get; set; }
4166 [Version (since = "2.6")]
4167 public int spacing { get; set; }
4168 [Version (since = "2.6")]
4169 public int text_column { get; set; }
4170 public int tooltip_column { get; set; }
4171 public virtual signal bool activate_cursor_item ();
4173 public virtual signal void item_activated (Gtk.TreePath path);
4174 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
4176 public virtual signal void select_all ();
4177 public virtual signal void select_cursor_item ();
4178 public virtual signal void selection_changed ();
4179 public virtual signal void toggle_cursor_item ();
4181 public virtual signal void unselect_all ();
4183 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_icon_view_accessible_get_type ()")]
4184 public class IconViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
4185 [CCode (has_construct_function = false)]
4186 protected IconViewAccessible ();
4188 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_image_get_type ()")]
4189 public class Image : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
4190 [CCode (has_construct_function = false, type = "GtkWidget*")]
4192 [Version (since = "2.8")]
4193 public void clear ();
4194 [CCode (has_construct_function = false, type = "GtkWidget*")]
4195 public Image.from_animation (Gdk.PixbufAnimation animation);
4196 [CCode (has_construct_function = false, type = "GtkWidget*")]
4197 public Image.from_file (string filename);
4198 [CCode (has_construct_function = false, type = "GtkWidget*")]
4199 [Version (since = "2.14")]
4200 public Image.from_gicon (GLib.Icon icon, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4201 [CCode (has_construct_function = false, type = "GtkWidget*")]
4202 [Version (since = "2.6")]
4203 public Image.from_icon_name (string? icon_name, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4204 [CCode (has_construct_function = false, type = "GtkWidget*")]
4205 [Version (deprecated = true, deprecated_since = "3.10")]
4206 public Image.from_icon_set (Gtk.IconSet icon_set, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4207 [CCode (has_construct_function = false, type = "GtkWidget*")]
4208 public Image.from_pixbuf (Gdk.Pixbuf? pixbuf);
4209 [CCode (has_construct_function = false, type = "GtkWidget*")]
4210 [Version (since = "3.4")]
4211 public Image.from_resource (string resource_path);
4212 [CCode (has_construct_function = false, type = "GtkWidget*")]
4213 [Version (deprecated = true, deprecated_since = "3.10")]
4214 public Image.from_stock (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4215 [CCode (has_construct_function = false, type = "GtkWidget*")]
4216 [Version (since = "3.10")]
4217 public Image.from_surface (Cairo.Surface? surface);
4218 public unowned Gdk.PixbufAnimation? get_animation ();
4219 [Version (since = "2.14")]
4220 public void get_gicon (out unowned GLib.Icon gicon, [CCode (type = "GtkIconSize*")] out Gtk.IconSize size);
4221 [Version (since = "2.6")]
4222 public void get_icon_name (out unowned string icon_name, [CCode (type = "GtkIconSize*")] out Gtk.IconSize size);
4223 [Version (deprecated = true, deprecated_since = "3.10")]
4224 public void get_icon_set (out unowned Gtk.IconSet icon_set, [CCode (type = "GtkIconSize*")] out Gtk.IconSize size);
4225 public unowned Gdk.Pixbuf? get_pixbuf ();
4226 [Version (since = "2.6")]
4227 public int get_pixel_size ();
4228 [Version (deprecated = true, deprecated_since = "3.10")]
4229 public void get_stock (out unowned string stock_id, [CCode (type = "GtkIconSize*")] out Gtk.IconSize size);
4230 public Gtk.ImageType get_storage_type ();
4231 public void set_from_animation (Gdk.PixbufAnimation animation);
4232 public void set_from_file (string? filename);
4233 [Version (since = "2.14")]
4234 public void set_from_gicon (GLib.Icon icon, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4235 [Version (since = "2.6")]
4236 public void set_from_icon_name (string? icon_name, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4237 [Version (deprecated = true, deprecated_since = "3.10")]
4238 public void set_from_icon_set (Gtk.IconSet icon_set, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4239 public void set_from_pixbuf (Gdk.Pixbuf? pixbuf);
4240 public void set_from_resource (string? resource_path);
4241 [Version (deprecated = true, deprecated_since = "3.10")]
4242 public void set_from_stock (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
4243 [Version (since = "3.10")]
4244 public void set_from_surface (Cairo.Surface? surface);
4245 [Version (since = "2.6")]
4246 public void set_pixel_size (int pixel_size);
4248 public string file { owned get; set; }
4250 [Version (since = "2.14")]
4251 public GLib.Icon gicon { owned get; set; }
4253 [Version (since = "2.6")]
4254 public string icon_name { owned get; set; }
4256 [Version (deprecated = true, deprecated_since = "3.10")]
4257 public Gtk.IconSet icon_set { owned get; set; }
4259 public int icon_size { get; set; }
4261 public Gdk.Pixbuf pixbuf { owned get; set; }
4263 public Gdk.PixbufAnimation pixbuf_animation { owned get; set; }
4264 [Version (since = "2.6")]
4265 public int pixel_size { get; set; }
4267 [Version (since = "3.8")]
4268 public string resource { owned get; set; }
4270 [Version (deprecated = true, deprecated_since = "3.10")]
4271 public string stock { owned get; set; }
4272 public Gtk.ImageType storage_type { get; }
4274 public Cairo.Surface surface { owned get; set; }
4276 [Version (since = "3.0")]
4277 public bool use_fallback { get; set; }
4279 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_image_accessible_get_type ()")]
4280 public class ImageAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
4281 [CCode (has_construct_function = false)]
4282 protected ImageAccessible ();
4284 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_image_cell_accessible_get_type ()")]
4285 public class ImageCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component, Atk.Image {
4286 [CCode (has_construct_function = false)]
4287 protected ImageCellAccessible ();
4289 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_image_menu_item_get_type ()")]
4290 [Version (deprecated = true, deprecated_since = "3.10")]
4291 public class ImageMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4292 [CCode (has_construct_function = false, type = "GtkWidget*")]
4293 public ImageMenuItem ();
4294 [CCode (has_construct_function = false, type = "GtkWidget*")]
4295 public ImageMenuItem.from_stock (string stock_id, Gtk.AccelGroup? accel_group);
4296 [Version (since = "2.16")]
4297 public bool get_always_show_image ();
4298 public unowned Gtk.Widget get_image ();
4299 [Version (since = "2.16")]
4300 public bool get_use_stock ();
4301 [Version (since = "2.16")]
4302 public void set_accel_group (Gtk.AccelGroup accel_group);
4303 [Version (since = "2.16")]
4304 public void set_always_show_image (bool always_show);
4305 public void set_image (Gtk.Widget? image);
4306 [Version (since = "2.16")]
4307 public void set_use_stock (bool use_stock);
4308 [CCode (has_construct_function = false, type = "GtkWidget*")]
4309 public ImageMenuItem.with_label (string label);
4310 [CCode (has_construct_function = false, type = "GtkWidget*")]
4311 public ImageMenuItem.with_mnemonic (string label);
4312 [Version (since = "2.16")]
4313 public Gtk.AccelGroup accel_group { set; }
4314 [Version (since = "2.16")]
4315 public bool always_show_image { get; set construct; }
4316 public Gtk.Widget image { get; set; }
4317 [Version (since = "2.16")]
4318 public bool use_stock { get; set construct; }
4320 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_info_bar_get_type ()")]
4321 public class InfoBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4322 [CCode (has_construct_function = false, type = "GtkWidget*")]
4323 [Version (since = "2.18")]
4325 [Version (since = "2.18")]
4326 public void add_action_widget (Gtk.Widget child, int response_id);
4327 [Version (since = "2.18")]
4328 public unowned Gtk.Button add_button (string button_text, int response_id);
4329 [Version (since = "2.18")]
4330 public void add_buttons (...);
4331 [Version (since = "2.18")]
4332 public unowned Gtk.Widget get_action_area ();
4333 [Version (since = "2.18")]
4334 public unowned Gtk.Container get_content_area ();
4335 [Version (since = "2.18")]
4336 public Gtk.MessageType get_message_type ();
4337 [Version (since = "3.22.29")]
4338 public bool get_revealed ();
4339 [Version (since = "3.10")]
4340 public bool get_show_close_button ();
4341 [Version (since = "2.18")]
4342 public void set_default_response (int response_id);
4343 [Version (since = "2.18")]
4344 public void set_message_type (Gtk.MessageType message_type);
4345 [Version (since = "2.18")]
4346 public void set_response_sensitive (int response_id, bool setting);
4347 [Version (since = "3.22.29")]
4348 public void set_revealed (bool revealed);
4349 [Version (since = "3.10")]
4350 public void set_show_close_button (bool setting);
4351 [CCode (has_construct_function = false, type = "GtkWidget*")]
4352 public InfoBar.with_buttons (...);
4353 [Version (since = "2.18")]
4354 public Gtk.MessageType message_type { get; set construct; }
4355 public bool revealed { get; set; }
4356 [Version (since = "3.10")]
4357 public bool show_close_button { get; set construct; }
4358 [Version (since = "2.18")]
4359 public virtual signal void close ();
4361 [Version (since = "2.18")]
4362 public virtual signal void response (int response_id);
4364 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_invisible_get_type ()")]
4365 public class Invisible : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
4366 [CCode (has_construct_function = false, type = "GtkWidget*")]
4367 public Invisible ();
4368 [CCode (has_construct_function = false, type = "GtkWidget*")]
4369 [Version (since = "2.2")]
4370 public Invisible.for_screen (Gdk.Screen screen);
4371 [Version (since = "2.2")]
4372 public unowned Gdk.Screen get_screen ();
4373 [Version (since = "2.2")]
4374 public void set_screen (Gdk.Screen screen);
4375 public Gdk.Screen screen { get; set; }
4377 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_label_get_type ()")]
4378 public class Label : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
4379 [CCode (has_construct_function = false, type = "GtkWidget*")]
4380 public Label (string? str);
4381 [Version (since = "2.6")]
4382 public double get_angle ();
4383 public unowned Pango.AttrList? get_attributes ();
4384 [Version (since = "2.18")]
4385 public unowned string get_current_uri ();
4386 [Version (since = "2.6")]
4387 public Pango.EllipsizeMode get_ellipsize ();
4388 public Gtk.Justification get_justify ();
4389 public unowned string get_label ();
4390 public unowned Pango.Layout get_layout ();
4391 public void get_layout_offsets (out int x, out int y);
4392 public bool get_line_wrap ();
4393 [Version (since = "2.10")]
4394 public Pango.WrapMode get_line_wrap_mode ();
4395 [Version (since = "3.10")]
4396 public int get_lines ();
4397 [Version (since = "2.6")]
4398 public int get_max_width_chars ();
4399 public uint get_mnemonic_keyval ();
4400 public unowned Gtk.Widget? get_mnemonic_widget ();
4401 public bool get_selectable ();
4402 public bool get_selection_bounds (out int start, out int end);
4403 [Version (since = "2.6")]
4404 public bool get_single_line_mode ();
4405 public unowned string get_text ();
4406 [Version (since = "2.18")]
4407 public bool get_track_visited_links ();
4408 public bool get_use_markup ();
4409 public bool get_use_underline ();
4410 [Version (since = "2.6")]
4411 public int get_width_chars ();
4412 [Version (since = "3.16")]
4413 public float get_xalign ();
4414 [Version (since = "3.16")]
4415 public float get_yalign ();
4416 public void select_region (int start_offset, int end_offset);
4417 [Version (since = "2.6")]
4418 public void set_angle (double angle);
4419 public void set_attributes (Pango.AttrList? attrs);
4420 [Version (since = "2.6")]
4421 public void set_ellipsize (Pango.EllipsizeMode mode);
4422 public void set_justify (Gtk.Justification jtype);
4423 public void set_label (string str);
4424 public void set_line_wrap (bool wrap);
4425 [Version (since = "2.10")]
4426 public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
4427 [Version (since = "3.10")]
4428 public void set_lines (int lines);
4429 public void set_markup (string str);
4430 public void set_markup_with_mnemonic (string str);
4431 [Version (since = "2.6")]
4432 public void set_max_width_chars (int n_chars);
4433 public void set_mnemonic_widget (Gtk.Widget? widget);
4434 public void set_pattern (string pattern);
4435 public void set_selectable (bool setting);
4436 [Version (since = "2.6")]
4437 public void set_single_line_mode (bool single_line_mode);
4438 public void set_text (string str);
4439 public void set_text_with_mnemonic (string str);
4440 [Version (since = "2.18")]
4441 public void set_track_visited_links (bool track_links);
4442 public void set_use_markup (bool setting);
4443 public void set_use_underline (bool setting);
4444 [Version (since = "2.6")]
4445 public void set_width_chars (int n_chars);
4446 [Version (since = "3.16")]
4447 public void set_xalign (float xalign);
4448 [Version (since = "3.16")]
4449 public void set_yalign (float yalign);
4450 [CCode (has_construct_function = false, type = "GtkWidget*")]
4451 public Label.with_mnemonic (string? str);
4452 [Version (since = "2.6")]
4453 public double angle { get; set; }
4454 public Pango.AttrList attributes { get; set; }
4456 public int cursor_position { get; }
4457 [Version (since = "2.6")]
4458 public Pango.EllipsizeMode ellipsize { get; set; }
4459 public Gtk.Justification justify { get; set; }
4460 public string label { get; set; }
4461 [Version (since = "3.10")]
4462 public int lines { get; set; }
4463 [Version (since = "2.6")]
4464 public int max_width_chars { get; set; }
4465 public uint mnemonic_keyval { get; }
4466 public Gtk.Widget mnemonic_widget { get; set; }
4467 public string pattern { set; }
4468 public bool selectable { get; set; }
4470 public int selection_bound { get; }
4471 [Version (since = "2.6")]
4472 public bool single_line_mode { get; set; }
4473 [Version (since = "2.18")]
4474 public bool track_visited_links { get; set; }
4475 public bool use_markup { get; set; }
4476 public bool use_underline { get; set; }
4477 [Version (since = "2.6")]
4478 public int width_chars { get; set; }
4480 public bool wrap { get; set; }
4482 [Version (since = "2.10")]
4483 public Pango.WrapMode wrap_mode { get; set; }
4484 [Version (since = "3.16")]
4485 public float xalign { get; set; }
4486 [Version (since = "3.16")]
4487 public float yalign { get; set; }
4488 [Version (since = "2.18")]
4489 public signal void activate_current_link ();
4490 [Version (since = "2.18")]
4491 public virtual signal bool activate_link (string uri);
4492 public virtual signal void copy_clipboard ();
4493 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
4494 public virtual signal void populate_popup (Gtk.Menu menu);
4496 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_label_accessible_get_type ()")]
4497 public class LabelAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Hypertext, Atk.Text {
4498 [CCode (has_construct_function = false)]
4499 protected LabelAccessible ();
4501 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
4503 public class LabelSelectionInfo {
4505 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_layout_get_type ()")]
4506 public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
4507 [CCode (has_construct_function = false, type = "GtkWidget*")]
4508 public Layout (Gtk.Adjustment? hadjustment = null, Gtk.Adjustment? vadjustment = null);
4509 [Version (since = "2.14")]
4510 public unowned Gdk.Window get_bin_window ();
4511 [Version (deprecated = true, deprecated_since = "3.0")]
4512 public unowned Gtk.Adjustment get_hadjustment ();
4513 public void get_size (out uint width, out uint height);
4514 [Version (deprecated = true, deprecated_since = "3.0")]
4515 public unowned Gtk.Adjustment get_vadjustment ();
4516 public void move (Gtk.Widget child_widget, int x, int y);
4517 public void put (Gtk.Widget child_widget, int x, int y);
4518 [Version (deprecated = true, deprecated_since = "3.0")]
4519 public void set_hadjustment (Gtk.Adjustment? adjustment);
4520 public void set_size (uint width, uint height);
4521 [Version (deprecated = true, deprecated_since = "3.0")]
4522 public void set_vadjustment (Gtk.Adjustment? adjustment);
4524 public uint height { get; set; }
4526 public uint width { get; set; }
4528 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_level_bar_get_type ()")]
4529 public class LevelBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4530 [CCode (has_construct_function = false, type = "GtkWidget*")]
4531 [Version (since = "3.6")]
4533 [Version (since = "3.6")]
4534 public void add_offset_value (string name, double value);
4535 [CCode (has_construct_function = false, type = "GtkWidget*")]
4536 [Version (since = "3.6")]
4537 public LevelBar.for_interval (double min_value, double max_value);
4538 [Version (since = "3.8")]
4539 public bool get_inverted ();
4540 [Version (since = "3.6")]
4541 public double get_max_value ();
4542 [Version (since = "3.6")]
4543 public double get_min_value ();
4544 [Version (since = "3.6")]
4545 public Gtk.LevelBarMode get_mode ();
4546 [Version (since = "3.6")]
4547 public bool get_offset_value (string? name, out double value);
4548 [Version (since = "3.6")]
4549 public double get_value ();
4550 [Version (since = "3.6")]
4551 public void remove_offset_value (string? name);
4552 [Version (since = "3.8")]
4553 public void set_inverted (bool inverted);
4554 [Version (since = "3.6")]
4555 public void set_max_value (double value);
4556 [Version (since = "3.6")]
4557 public void set_min_value (double value);
4558 [Version (since = "3.6")]
4559 public void set_mode (Gtk.LevelBarMode mode);
4560 [Version (since = "3.6")]
4561 public void set_value (double value);
4562 [Version (since = "3.8")]
4563 public bool inverted { get; set; }
4564 [Version (since = "3.6")]
4565 public double max_value { get; set; }
4566 [Version (since = "3.6")]
4567 public double min_value { get; set; }
4568 [Version (since = "3.6")]
4569 public Gtk.LevelBarMode mode { get; set; }
4570 [Version (since = "3.6")]
4571 public double value { get; set; }
4572 [Version (since = "3.6")]
4573 public virtual signal void offset_changed (string name);
4575 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_level_bar_accessible_get_type ()")]
4576 public class LevelBarAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
4577 [CCode (has_construct_function = false)]
4578 protected LevelBarAccessible ();
4580 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_link_button_get_type ()")]
4581 public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4582 [CCode (has_construct_function = false, type = "GtkWidget*")]
4583 [Version (since = "2.10")]
4584 public LinkButton (string uri);
4585 [Version (since = "2.10")]
4586 public unowned string get_uri ();
4587 [Version (since = "2.14")]
4588 public bool get_visited ();
4589 [Version (since = "2.10")]
4590 public void set_uri (string uri);
4591 [Version (since = "2.14")]
4592 public void set_visited (bool visited);
4593 [CCode (has_construct_function = false, type = "GtkWidget*")]
4594 [Version (since = "2.10")]
4595 public LinkButton.with_label (string uri, string? label);
4596 [Version (since = "2.10")]
4597 public string uri { get; set; }
4598 [Version (since = "2.14")]
4599 public bool visited { get; set; }
4600 public virtual signal bool activate_link ();
4602 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_link_button_accessible_get_type ()")]
4603 public class LinkButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.HyperlinkImpl, Atk.Image {
4604 [CCode (has_construct_function = false)]
4605 protected LinkButtonAccessible ();
4607 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_get_type ()")]
4608 public class ListBox : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4609 [CCode (has_construct_function = false, type = "GtkWidget*")]
4610 [Version (since = "3.10")]
4612 [Version (since = "3.16")]
4613 public void bind_model (GLib.ListModel? model, owned Gtk.ListBoxCreateWidgetFunc? create_widget_func);
4614 [Version (since = "3.10")]
4615 public void drag_highlight_row (Gtk.ListBoxRow row);
4616 [Version (since = "3.10")]
4617 public void drag_unhighlight_row ();
4618 [Version (since = "3.10")]
4619 public bool get_activate_on_single_click ();
4620 [Version (since = "3.10")]
4621 public unowned Gtk.Adjustment get_adjustment ();
4622 [Version (since = "3.10")]
4623 public unowned Gtk.ListBoxRow? get_row_at_index (int index_);
4624 [Version (since = "3.10")]
4625 public unowned Gtk.ListBoxRow? get_row_at_y (int y);
4626 [Version (since = "3.10")]
4627 public unowned Gtk.ListBoxRow get_selected_row ();
4628 [Version (since = "3.14")]
4629 public GLib.List<weak Gtk.ListBoxRow> get_selected_rows ();
4630 [Version (since = "3.10")]
4631 public Gtk.SelectionMode get_selection_mode ();
4632 [Version (since = "3.10")]
4633 public void insert (Gtk.Widget child, int position);
4634 [Version (since = "3.10")]
4635 public void invalidate_filter ();
4636 [Version (since = "3.10")]
4637 public void invalidate_headers ();
4638 [Version (since = "3.10")]
4639 public void invalidate_sort ();
4640 [Version (since = "3.10")]
4641 public void prepend (Gtk.Widget child);
4642 [Version (since = "3.10")]
4643 public void select_row (Gtk.ListBoxRow? row);
4644 [Version (since = "3.14")]
4645 public void selected_foreach (Gtk.ListBoxForeachFunc func);
4646 [Version (since = "3.10")]
4647 public void set_activate_on_single_click (bool single);
4648 [Version (since = "3.10")]
4649 public void set_adjustment (Gtk.Adjustment? adjustment);
4650 [Version (since = "3.10")]
4651 public void set_filter_func (owned Gtk.ListBoxFilterFunc? filter_func);
4652 [Version (since = "3.10")]
4653 public void set_header_func (owned Gtk.ListBoxUpdateHeaderFunc? update_header);
4654 [Version (since = "3.10")]
4655 public void set_placeholder (Gtk.Widget? placeholder);
4656 [Version (since = "3.10")]
4657 public void set_selection_mode (Gtk.SelectionMode mode);
4658 [Version (since = "3.10")]
4659 public void set_sort_func (owned Gtk.ListBoxSortFunc? sort_func);
4660 [Version (since = "3.14")]
4661 public void unselect_row (Gtk.ListBoxRow row);
4662 public bool activate_on_single_click { get; set; }
4663 public Gtk.SelectionMode selection_mode { get; set; }
4664 public virtual signal void activate_cursor_row ();
4665 public virtual signal void move_cursor (Gtk.MovementStep step, int count);
4666 [Version (since = "3.10")]
4667 public virtual signal void row_activated (Gtk.ListBoxRow row);
4668 [Version (since = "3.10")]
4669 public virtual signal void row_selected (Gtk.ListBoxRow? row);
4671 [Version (since = "3.14")]
4672 public virtual signal void select_all ();
4673 [Version (since = "3.14")]
4674 public virtual signal void selected_rows_changed ();
4675 public virtual signal void toggle_cursor_row ();
4677 [Version (since = "3.14")]
4678 public virtual signal void unselect_all ();
4680 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_accessible_get_type ()")]
4681 public class ListBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
4682 [CCode (has_construct_function = false)]
4683 protected ListBoxAccessible ();
4685 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_box_row_get_type ()")]
4686 public class ListBoxRow : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
4687 [CCode (has_construct_function = false, type = "GtkWidget*")]
4688 [Version (since = "3.10")]
4689 public ListBoxRow ();
4690 [Version (since = "3.10")]
4691 public void changed ();
4692 [Version (since = "3.14")]
4693 public bool get_activatable ();
4694 [Version (since = "3.10")]
4695 public unowned Gtk.Widget? get_header ();
4696 [Version (since = "3.10")]
4697 public int get_index ();
4698 [Version (since = "3.14")]
4699 public bool get_selectable ();
4700 [Version (since = "3.14")]
4701 public bool is_selected ();
4702 [Version (since = "3.14")]
4703 public void set_activatable (bool activatable);
4704 [Version (since = "3.10")]
4705 public void set_header (Gtk.Widget? header);
4706 [Version (since = "3.14")]
4707 public void set_selectable (bool selectable);
4708 [Version (since = "3.14")]
4709 public bool activatable { get; set; }
4710 [Version (since = "3.14")]
4711 public bool selectable { get; set; }
4712 [Version (since = "3.10")]
4713 public virtual signal void activate ();
4715 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_list_box_row_accessible_get_type ()")]
4716 public class ListBoxRowAccessible : Gtk.ContainerAccessible, Atk.Component {
4717 [CCode (has_construct_function = false)]
4718 protected ListBoxRowAccessible ();
4720 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_store_get_type ()")]
4721 public class ListStore : GLib.Object, Gtk.Buildable, Gtk.TreeDragDest, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
4722 [CCode (has_construct_function = false, sentinel = "-1")]
4723 public ListStore (int n_columns, ...);
4724 public void append (out Gtk.TreeIter iter);
4725 public void clear ();
4726 public void insert (out Gtk.TreeIter iter, int position);
4727 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
4728 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
4729 [CCode (sentinel = "-1")]
4730 [Version (since = "2.6")]
4731 public void insert_with_values (out Gtk.TreeIter iter, int position, ...);
4732 [Version (since = "2.6")]
4733 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);
4734 [Version (since = "2.2")]
4735 public bool iter_is_valid (Gtk.TreeIter iter);
4736 [Version (since = "2.2")]
4737 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
4738 [Version (since = "2.2")]
4739 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
4740 [CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
4741 public ListStore.newv ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
4742 public void prepend (out Gtk.TreeIter iter);
4743 public bool remove (ref Gtk.TreeIter iter);
4744 [Version (since = "2.2")]
4745 public void reorder ([CCode (array_length = false, array_null_terminated = true)] int[] new_order);
4746 [CCode (sentinel = "-1")]
4747 public void @set (Gtk.TreeIter iter, ...);
4748 public void set_column_types ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
4749 public void set_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
4750 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
4751 [Version (since = "2.12")]
4752 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);
4753 [Version (since = "2.2")]
4754 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
4756 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_lock_button_get_type ()")]
4757 public class LockButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4758 [CCode (has_construct_function = false, type = "GtkWidget*")]
4759 [Version (since = "3.2")]
4760 public LockButton (GLib.Permission? permission);
4761 [Version (since = "3.2")]
4762 public unowned GLib.Permission get_permission ();
4763 [Version (since = "3.2")]
4764 public void set_permission (GLib.Permission? permission);
4765 public GLib.Permission permission { get; set; }
4767 public string text_lock { owned get; set construct; }
4769 public string text_unlock { owned get; set construct; }
4771 public string tooltip_lock { owned get; set construct; }
4773 public string tooltip_not_authorized { owned get; set construct; }
4775 public string tooltip_unlock { owned get; set construct; }
4777 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_lock_button_accessible_get_type ()")]
4778 public class LockButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
4779 [CCode (has_construct_function = false)]
4780 protected LockButtonAccessible ();
4782 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_get_type ()")]
4783 public class Menu : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
4784 [CCode (has_construct_function = false, type = "GtkWidget*")]
4786 [Version (since = "2.4")]
4787 public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
4788 public void attach_to_widget (Gtk.Widget attach_widget, [CCode (scope = "async")] Gtk.MenuDetachFunc? detacher);
4789 public void detach ();
4790 [CCode (has_construct_function = false, type = "GtkWidget*")]
4791 [Version (since = "3.4")]
4792 public Menu.from_model (GLib.MenuModel model);
4793 public unowned Gtk.AccelGroup get_accel_group ();
4794 [Version (since = "2.14")]
4795 public unowned string get_accel_path ();
4796 public unowned Gtk.Widget get_active ();
4797 public unowned Gtk.Widget get_attach_widget ();
4798 [Version (since = "2.6")]
4799 public static unowned GLib.List<Gtk.Menu> get_for_attach_widget (Gtk.Widget widget);
4800 [Version (since = "2.14")]
4801 public int get_monitor ();
4802 [Version (since = "2.18")]
4803 public bool get_reserve_toggle_size ();
4804 [Version (deprecated = true, deprecated_since = "3.10")]
4805 public bool get_tearoff_state ();
4806 [Version (deprecated = true, deprecated_since = "3.10")]
4807 public unowned string get_title ();
4808 [Version (since = "3.22")]
4809 public void place_on_monitor (Gdk.Monitor monitor);
4810 public void popdown ();
4811 [Version (deprecated = true, deprecated_since = "3.22")]
4812 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);
4813 [Version (since = "3.22")]
4814 public void popup_at_pointer (Gdk.Event? trigger_event = null);
4815 [Version (since = "3.22")]
4816 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);
4817 [Version (since = "3.22")]
4818 public void popup_at_widget (Gtk.Widget widget, Gdk.Gravity widget_anchor, Gdk.Gravity menu_anchor, Gdk.Event? trigger_event = null);
4819 [Version (deprecated = true, deprecated_since = "3.22", since = "3.0")]
4820 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);
4821 public void reorder_child (Gtk.Widget child, int position);
4822 public void reposition ();
4823 public void set_accel_group (Gtk.AccelGroup? accel_group);
4824 public void set_accel_path (string? accel_path);
4825 public void set_active (uint index);
4826 [Version (since = "2.4")]
4827 public void set_monitor (int monitor_num);
4828 [Version (since = "2.18")]
4829 public void set_reserve_toggle_size (bool reserve_toggle_size);
4830 [Version (since = "2.2")]
4831 public void set_screen (Gdk.Screen? screen);
4832 [Version (deprecated = true, deprecated_since = "3.10")]
4833 public void set_tearoff_state (bool torn_off);
4834 [Version (deprecated = true, deprecated_since = "3.10")]
4835 public void set_title (string? title);
4836 [Version (since = "2.14")]
4837 public Gtk.AccelGroup accel_group { get; set; }
4838 [Version (since = "2.14")]
4839 public string accel_path { get; set; }
4840 [Version (since = "2.14")]
4841 public int active { get; set; }
4843 [Version (since = "3.22")]
4844 public Gdk.AnchorHints anchor_hints { get; set construct; }
4846 [Version (since = "2.14")]
4847 public Gtk.Widget attach_widget { owned get; set; }
4849 [Version (since = "3.22")]
4850 public Gdk.WindowTypeHint menu_type_hint { get; set construct; }
4851 [Version (since = "2.14")]
4852 public int monitor { get; set; }
4854 [Version (since = "3.22")]
4855 public int rect_anchor_dx { get; set construct; }
4857 [Version (since = "3.22")]
4858 public int rect_anchor_dy { get; set construct; }
4859 [Version (since = "2.18")]
4860 public bool reserve_toggle_size { get; set; }
4861 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
4862 public bool tearoff_state { get; set; }
4864 [Version (deprecated = true, deprecated_since = "3.10")]
4865 public string tearoff_title { owned get; set; }
4866 public signal void move_scroll (Gtk.ScrollType scroll_type);
4867 [Version (since = "3.22")]
4868 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);
4870 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_accessible_get_type ()")]
4871 public class MenuAccessible : Gtk.MenuShellAccessible, Atk.Component, Atk.Selection {
4872 [CCode (has_construct_function = false)]
4873 protected MenuAccessible ();
4875 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_bar_get_type ()")]
4876 public class MenuBar : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
4877 [CCode (has_construct_function = false, type = "GtkWidget*")]
4879 [CCode (has_construct_function = false, type = "GtkWidget*")]
4880 [Version (since = "3.4")]
4881 public MenuBar.from_model (GLib.MenuModel model);
4882 [Version (since = "2.8")]
4883 public Gtk.PackDirection get_child_pack_direction ();
4884 [Version (since = "2.8")]
4885 public Gtk.PackDirection get_pack_direction ();
4886 [Version (since = "2.8")]
4887 public void set_child_pack_direction (Gtk.PackDirection child_pack_dir);
4888 [Version (since = "2.8")]
4889 public void set_pack_direction (Gtk.PackDirection pack_dir);
4890 [Version (since = "2.8")]
4891 public Gtk.PackDirection child_pack_direction { get; set; }
4892 [Version (since = "2.8")]
4893 public Gtk.PackDirection pack_direction { get; set; }
4895 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_button_get_type ()")]
4896 public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4897 [CCode (has_construct_function = false, type = "GtkWidget*")]
4898 [Version (since = "3.6")]
4899 public MenuButton ();
4900 [Version (since = "3.6")]
4901 public unowned Gtk.Widget? get_align_widget ();
4902 [Version (since = "3.6")]
4903 public Gtk.ArrowType get_direction ();
4904 [Version (since = "3.6")]
4905 public unowned GLib.MenuModel? get_menu_model ();
4906 [Version (since = "3.12")]
4907 public unowned Gtk.Popover? get_popover ();
4908 [Version (since = "3.6")]
4909 public unowned Gtk.Menu? get_popup ();
4910 [Version (since = "3.12")]
4911 public bool get_use_popover ();
4912 [Version (since = "3.6")]
4913 public void set_align_widget (Gtk.Widget? align_widget);
4914 [Version (since = "3.6")]
4915 public void set_direction (Gtk.ArrowType direction);
4916 [Version (since = "3.6")]
4917 public void set_menu_model (GLib.MenuModel? menu_model);
4918 [Version (since = "3.12")]
4919 public void set_popover (Gtk.Widget? popover);
4920 [Version (since = "3.6")]
4921 public void set_popup (Gtk.Widget? menu);
4922 [Version (since = "3.12")]
4923 public void set_use_popover (bool use_popover);
4924 [Version (since = "3.6")]
4925 public Gtk.Container align_widget { get; set; }
4926 [Version (since = "3.6")]
4927 public Gtk.ArrowType direction { get; set; }
4928 [Version (since = "3.6")]
4929 public GLib.MenuModel menu_model { get; set; }
4930 [Version (since = "3.12")]
4931 public Gtk.Popover popover { get; set; }
4932 [Version (since = "3.6")]
4933 public Gtk.Menu popup { get; set; }
4934 [Version (since = "3.12")]
4935 public bool use_popover { get; set; }
4937 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_button_accessible_get_type ()")]
4938 public class MenuButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
4939 [CCode (has_construct_function = false)]
4940 protected MenuButtonAccessible ();
4942 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_item_get_type ()")]
4943 public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
4944 [CCode (has_construct_function = false, type = "GtkWidget*")]
4946 [Version (since = "2.14")]
4947 public unowned string? get_accel_path ();
4948 [Version (since = "2.16")]
4949 public virtual unowned string get_label ();
4950 [Version (since = "3.0")]
4951 public bool get_reserve_indicator ();
4952 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Widget.get_hexpand and Widget.get_halign")]
4953 public bool get_right_justified ();
4954 public unowned Gtk.Widget? get_submenu ();
4955 [Version (since = "2.16")]
4956 public bool get_use_underline ();
4957 public void set_accel_path (string? accel_path);
4958 [Version (since = "2.16")]
4959 public virtual void set_label (string label);
4960 [Version (since = "3.0")]
4961 public void set_reserve_indicator (bool reserve);
4962 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Widget.set_hexpand and Widget.set_halign")]
4963 public void set_right_justified (bool right_justified);
4964 public void set_submenu (Gtk.Menu? submenu);
4965 [Version (since = "2.16")]
4966 public void set_use_underline (bool setting);
4967 [CCode (has_construct_function = false, type = "GtkWidget*")]
4968 public MenuItem.with_label (string label);
4969 [CCode (has_construct_function = false, type = "GtkWidget*")]
4970 public MenuItem.with_mnemonic (string label);
4971 [Version (since = "2.14")]
4972 public string accel_path { get; set; }
4973 [Version (since = "2.16")]
4974 public string label { get; set; }
4975 [Version (since = "2.14")]
4976 public bool right_justified { get; set; }
4977 [Version (since = "2.12")]
4978 public Gtk.Menu submenu { get; set; }
4979 [Version (since = "2.16")]
4980 public bool use_underline { get; set; }
4982 public virtual signal void activate ();
4983 public virtual signal void activate_item ();
4985 public virtual signal void deselect ();
4987 public virtual signal void select ();
4989 public virtual signal void toggle_size_allocate (int allocation);
4991 public virtual signal void toggle_size_request (void* requisition);
4993 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_item_accessible_get_type ()")]
4994 public class MenuItemAccessible : Gtk.ContainerAccessible, Atk.Action, Atk.Component, Atk.Selection {
4995 [CCode (has_construct_function = false)]
4996 protected MenuItemAccessible ();
4998 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_shell_get_type ()")]
4999 public abstract class MenuShell : Gtk.Container, Atk.Implementor, Gtk.Buildable {
5000 [CCode (has_construct_function = false)]
5001 protected MenuShell ();
5002 public void activate_item (Gtk.Widget menu_item, bool force_deactivate);
5003 public void append (Gtk.MenuItem child);
5004 [Version (since = "3.6")]
5005 public void bind_model (GLib.MenuModel? model, string? action_namespace, bool with_separators);
5006 public void deselect ();
5007 [Version (since = "3.0")]
5008 public unowned Gtk.Widget get_parent_shell ();
5010 public virtual int get_popup_delay ();
5011 [Version (since = "3.0")]
5012 public unowned Gtk.Widget get_selected_item ();
5013 [Version (since = "2.8")]
5014 public bool get_take_focus ();
5015 public void prepend (Gtk.Widget child);
5016 [Version (since = "2.2")]
5017 public void select_first (bool search_sensitive);
5018 public virtual void select_item (Gtk.Widget menu_item);
5019 [Version (since = "2.8")]
5020 public void set_take_focus (bool take_focus);
5021 [Version (since = "2.8")]
5022 public bool take_focus { get; set; }
5023 public virtual signal void activate_current (bool force_hide);
5025 public virtual signal void cancel ();
5026 public signal void cycle_focus (Gtk.DirectionType direction);
5028 public virtual signal void deactivate ();
5030 [Version (since = "3.2")]
5031 public virtual signal void insert (Gtk.Widget child, int position);
5032 public virtual signal void move_current (Gtk.MenuDirectionType direction);
5033 [Version (since = "2.12")]
5034 public virtual signal bool move_selected (int distance);
5035 public virtual signal void selection_done ();
5037 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_shell_accessible_get_type ()")]
5038 public class MenuShellAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
5039 [CCode (has_construct_function = false)]
5040 protected MenuShellAccessible ();
5042 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_tool_button_get_type ()")]
5043 public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
5044 [CCode (has_construct_function = false, type = "GtkToolItem*")]
5045 [Version (since = "2.6")]
5046 public MenuToolButton (Gtk.Widget? icon_widget, string? label);
5047 [CCode (has_construct_function = false, type = "GtkToolItem*")]
5048 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
5049 public MenuToolButton.from_stock (string stock_id);
5050 [Version (since = "2.6")]
5051 public unowned Gtk.Widget get_menu ();
5052 [Version (since = "2.12")]
5053 public void set_arrow_tooltip_markup (string markup);
5054 [Version (since = "2.12")]
5055 public void set_arrow_tooltip_text (string text);
5056 [Version (since = "2.6")]
5057 public void set_menu (Gtk.Widget menu);
5058 public Gtk.Menu menu { get; set; }
5059 public virtual signal void show_menu ();
5061 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_message_dialog_get_type ()")]
5062 public class MessageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
5063 [CCode (has_construct_function = false, type = "GtkWidget*")]
5065 public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string? message_format, ...);
5067 [Version (since = "2.6")]
5068 public void format_secondary_markup (string message_format, ...);
5070 [Version (since = "2.6")]
5071 public void format_secondary_text (string? message_format, ...);
5072 [Version (deprecated = true, deprecated_since = "3.12", since = "2.14")]
5073 public unowned Gtk.Widget get_image ();
5074 [Version (since = "2.22")]
5075 public unowned Gtk.Widget get_message_area ();
5076 [Version (deprecated = true, deprecated_since = "3.12", since = "2.10")]
5077 public void set_image (Gtk.Widget image);
5078 [Version (since = "2.4")]
5079 public void set_markup (string str);
5080 [CCode (has_construct_function = false, type = "GtkWidget*")]
5082 [Version (since = "2.4")]
5083 public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string? message_format, ...);
5085 public Gtk.ButtonsType buttons { construct; }
5086 [Version (deprecated = true, deprecated_since = "3.12", since = "2.10")]
5087 public Gtk.Widget image { get; set; }
5088 [Version (since = "2.22")]
5089 public Gtk.Widget message_area { get; }
5091 public Gtk.MessageType message_type { get; set construct; }
5093 [Version (since = "2.10")]
5094 public string secondary_text { owned get; set; }
5096 [Version (since = "2.10")]
5097 public bool secondary_use_markup { get; set; }
5099 [Version (since = "2.10")]
5100 public string text { owned get; set; }
5102 [Version (since = "2.10")]
5103 public bool use_markup { get; set; }
5105 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_misc_get_type ()")]
5106 [Version (deprecated = true, deprecated_since = "3.14")]
5107 public abstract class Misc : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
5108 [CCode (has_construct_function = false)]
5110 public void get_alignment (out float xalign, out float yalign);
5111 public void get_padding (out int xpad, out int ypad);
5112 public void set_alignment (float xalign, float yalign);
5113 public void set_padding (int xpad, int ypad);
5115 public float xalign { get; set; }
5117 public int xpad { get; set; }
5119 public float yalign { get; set; }
5121 public int ypad { get; set; }
5123 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_model_button_get_type ()")]
5124 public class ModelButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
5125 [CCode (has_construct_function = false, type = "GtkWidget*")]
5126 [Version (since = "3.16")]
5127 public ModelButton ();
5129 [Version (since = "3.16")]
5130 public bool active { get; set; }
5132 [Version (since = "3.16")]
5133 public bool centered { get; set; }
5135 [Version (since = "3.16")]
5136 public GLib.Icon? icon { owned get; set; }
5138 [Version (since = "3.16")]
5139 public bool iconic { get; set; }
5141 [Version (since = "3.16")]
5142 public bool inverted { get; set; }
5144 [Version (since = "3.16")]
5145 public string menu_name { owned get; set; }
5147 [Version (since = "3.16")]
5148 public Gtk.ButtonRole role { get; set; }
5150 [Version (since = "3.16")]
5151 public string text { owned get; set; }
5153 [Version (since = "3.24")]
5154 public bool use_markup { get; set; }
5156 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_mount_operation_get_type ()")]
5157 public class MountOperation : GLib.MountOperation {
5158 [CCode (has_construct_function = false, type = "GMountOperation*")]
5159 [Version (since = "2.14")]
5160 public MountOperation (Gtk.Window? parent);
5161 [Version (since = "2.14")]
5162 public unowned Gtk.Window get_parent ();
5163 [Version (since = "2.14")]
5164 public unowned Gdk.Screen get_screen ();
5165 [Version (since = "2.14")]
5166 public void set_parent (Gtk.Window? parent);
5167 [Version (since = "2.14")]
5168 public void set_screen (Gdk.Screen screen);
5170 public bool is_showing { get; }
5171 public Gtk.Window parent { get; set; }
5172 public Gdk.Screen screen { get; set; }
5174 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_native_dialog_get_type ()")]
5175 public abstract class NativeDialog : GLib.Object {
5176 [CCode (has_construct_function = false)]
5177 protected NativeDialog ();
5178 [Version (since = "3.20")]
5179 public void destroy ();
5180 [Version (since = "3.20")]
5181 public bool get_modal ();
5182 [Version (since = "3.20")]
5183 public unowned string? get_title ();
5184 [Version (since = "3.20")]
5185 public unowned Gtk.Window? get_transient_for ();
5186 [Version (since = "3.20")]
5187 public bool get_visible ();
5188 [Version (since = "3.20")]
5189 public virtual void hide ();
5190 [Version (since = "3.20")]
5192 [Version (since = "3.20")]
5193 public void set_modal (bool modal);
5194 [Version (since = "3.20")]
5195 public void set_title (string? title);
5196 [Version (since = "3.20")]
5197 public void set_transient_for (Gtk.Window? parent);
5198 [Version (since = "3.20")]
5199 public virtual void show ();
5200 [Version (since = "3.20")]
5201 public bool modal { get; set; }
5202 [Version (since = "3.20")]
5203 public string? title { get; set; }
5204 [Version (since = "3.20")]
5205 public Gtk.Window? transient_for { get; set construct; }
5207 [Version (since = "3.20")]
5208 public bool visible { get; set; }
5209 [Version (since = "3.20")]
5210 public virtual signal void response (int response_id);
5212 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_notebook_get_type ()")]
5213 public class Notebook : Gtk.Container, Atk.Implementor, Gtk.Buildable {
5214 [CCode (has_construct_function = false, type = "GtkWidget*")]
5216 public int append_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
5217 public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
5218 [Version (since = "3.16")]
5219 public void detach_tab (Gtk.Widget child);
5220 [Version (since = "2.20")]
5221 public unowned Gtk.Widget? get_action_widget (Gtk.PackType pack_type);
5222 public int get_current_page ();
5223 [Version (since = "2.24")]
5224 public unowned string? get_group_name ();
5225 public unowned Gtk.Widget? get_menu_label (Gtk.Widget child);
5226 public unowned string? get_menu_label_text (Gtk.Widget child);
5227 [Version (since = "2.2")]
5228 public int get_n_pages ();
5229 public unowned Gtk.Widget? get_nth_page (int page_num);
5230 public bool get_scrollable ();
5231 public bool get_show_border ();
5232 public bool get_show_tabs ();
5233 [Version (since = "2.10")]
5234 public bool get_tab_detachable (Gtk.Widget child);
5235 [Version (deprecated = true, deprecated_since = "3.4", since = "2.22")]
5236 public uint16 get_tab_hborder ();
5237 public unowned Gtk.Widget? get_tab_label (Gtk.Widget child);
5238 public unowned string? get_tab_label_text (Gtk.Widget child);
5239 public Gtk.PositionType get_tab_pos ();
5240 [Version (since = "2.10")]
5241 public bool get_tab_reorderable (Gtk.Widget child);
5242 [Version (deprecated = true, deprecated_since = "3.4", since = "2.22")]
5243 public uint16 get_tab_vborder ();
5244 public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
5245 [CCode (vfunc_name = "insert_page")]
5247 public virtual int insert_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label, int position);
5248 public void next_page ();
5249 public int page_num (Gtk.Widget child);
5250 public void popup_disable ();
5251 public void popup_enable ();
5252 public int prepend_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
5253 public int prepend_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
5254 public void prev_page ();
5255 public void remove_page (int page_num);
5256 public void reorder_child (Gtk.Widget child, int position);
5257 [Version (since = "2.20")]
5258 public void set_action_widget (Gtk.Widget widget, Gtk.PackType pack_type);
5259 public void set_current_page (int page_num);
5260 [Version (since = "2.24")]
5261 public void set_group_name (string? group_name);
5262 public void set_menu_label (Gtk.Widget child, Gtk.Widget? menu_label);
5263 public void set_menu_label_text (Gtk.Widget child, string menu_text);
5264 public void set_scrollable (bool scrollable);
5265 public void set_show_border (bool show_border);
5266 public void set_show_tabs (bool show_tabs);
5267 [Version (since = "2.10")]
5268 public void set_tab_detachable (Gtk.Widget child, bool detachable);
5269 public void set_tab_label (Gtk.Widget child, Gtk.Widget? tab_label);
5270 public void set_tab_label_text (Gtk.Widget child, string tab_text);
5271 public void set_tab_pos (Gtk.PositionType pos);
5272 [Version (since = "2.10")]
5273 public void set_tab_reorderable (Gtk.Widget child, bool reorderable);
5275 public bool enable_popup { get; set; }
5276 [Version (since = "2.24")]
5277 public string group_name { get; set; }
5279 public int page { get; set; }
5280 public bool scrollable { get; set; }
5281 public bool show_border { get; set; }
5282 public bool show_tabs { get; set; }
5283 public Gtk.PositionType tab_pos { get; set; }
5284 public virtual signal bool change_current_page (int offset);
5285 [Version (since = "2.12")]
5286 public signal unowned Gtk.Notebook create_window (Gtk.Widget page, int x, int y);
5287 public virtual signal bool focus_tab (Gtk.NotebookTab type);
5288 public virtual signal void move_focus_out (Gtk.DirectionType direction);
5289 [Version (since = "2.10")]
5290 public virtual signal void page_added (Gtk.Widget child, uint page_num);
5291 [Version (since = "2.10")]
5292 public virtual signal void page_removed (Gtk.Widget child, uint page_num);
5293 [Version (since = "2.10")]
5294 public virtual signal void page_reordered (Gtk.Widget child, uint page_num);
5295 public virtual signal bool reorder_tab (Gtk.DirectionType direction, bool move_to_last);
5296 public virtual signal bool select_page (bool move_focus);
5297 public virtual signal void switch_page (Gtk.Widget page, uint page_num);
5299 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_notebook_accessible_get_type ()")]
5300 public class NotebookAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection {
5301 [CCode (has_construct_function = false)]
5302 protected NotebookAccessible ();
5304 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_notebook_page_accessible_get_type ()")]
5305 public class NotebookPageAccessible : Atk.Object, Atk.Component {
5306 [CCode (has_construct_function = false, type = "AtkObject*")]
5307 public NotebookPageAccessible (Gtk.NotebookAccessible notebook, Gtk.Widget child);
5308 public void invalidate ();
5310 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_numerable_icon_get_type ()")]
5311 [Version (deprecated = true, deprecated_since = "3.14")]
5312 public class NumerableIcon : GLib.EmblemedIcon, GLib.Icon {
5313 [CCode (has_construct_function = false, type = "GIcon*")]
5314 [Version (since = "3.0")]
5315 public NumerableIcon (GLib.Icon base_icon);
5316 [Version (since = "3.0")]
5317 public unowned GLib.Icon? get_background_gicon ();
5318 [Version (since = "3.0")]
5319 public unowned string? get_background_icon_name ();
5320 [Version (since = "3.0")]
5321 public int get_count ();
5322 [Version (since = "3.0")]
5323 public unowned string? get_label ();
5324 [Version (since = "3.0")]
5325 public unowned Gtk.StyleContext? get_style_context ();
5326 [Version (since = "3.0")]
5327 public void set_background_gicon (GLib.Icon? icon);
5328 [Version (since = "3.0")]
5329 public void set_background_icon_name (string? icon_name);
5330 [Version (since = "3.0")]
5331 public void set_count (int count);
5332 [Version (since = "3.0")]
5333 public void set_label (string? label);
5334 [Version (since = "3.0")]
5335 public void set_style_context (Gtk.StyleContext style);
5336 [CCode (has_construct_function = false, type = "GIcon*")]
5337 [Version (since = "3.0")]
5338 public NumerableIcon.with_style_context (GLib.Icon base_icon, Gtk.StyleContext context);
5340 public GLib.Icon background_icon { owned get; set; }
5341 public string background_icon_name { get; set; }
5342 public int count { get; set; }
5343 public string label { get; set; }
5344 public Gtk.StyleContext style_context { get; set; }
5346 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_offscreen_window_get_type ()")]
5347 public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
5348 [CCode (has_construct_function = false, type = "GtkWidget*")]
5349 [Version (since = "2.20")]
5350 public OffscreenWindow ();
5351 [Version (since = "2.20")]
5352 public Gdk.Pixbuf? get_pixbuf ();
5353 [Version (since = "2.20")]
5354 public unowned Cairo.Surface? get_surface ();
5356 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_overlay_get_type ()")]
5357 public class Overlay : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
5358 [CCode (has_construct_function = false, type = "GtkWidget*")]
5359 [Version (since = "3.2")]
5361 [Version (since = "3.2")]
5362 public void add_overlay (Gtk.Widget widget);
5363 [Version (since = "3.18")]
5364 public bool get_overlay_pass_through (Gtk.Widget widget);
5365 [Version (since = "3.18")]
5366 public void reorder_overlay (Gtk.Widget child, int position);
5367 [Version (since = "3.18")]
5368 public void set_overlay_pass_through (Gtk.Widget widget, bool pass_through);
5369 public virtual signal bool get_child_position (Gtk.Widget widget, out Gdk.Rectangle allocation);
5371 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_pad_controller_get_type ()")]
5372 public class PadController : Gtk.EventController {
5373 [CCode (has_construct_function = false)]
5374 [Version (since = "3.22")]
5375 public PadController (Gtk.Window window, GLib.ActionGroup group, Gdk.Device? pad);
5376 [Version (since = "3.22")]
5377 public void set_action (Gtk.PadActionType type, int index, int mode, string label, string action_name);
5378 [Version (since = "3.22")]
5379 public void set_action_entries ([CCode (array_length_cname = "n_entries", array_length_pos = 1.1)] Gtk.PadActionEntry[] entries);
5381 public GLib.ActionGroup action_group { owned get; construct; }
5383 public Gdk.Device pad { owned get; construct; }
5385 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_page_setup_get_type ()")]
5386 public class PageSetup : GLib.Object {
5387 [CCode (has_construct_function = false)]
5388 [Version (since = "2.10")]
5389 public PageSetup ();
5390 [Version (since = "2.10")]
5391 public Gtk.PageSetup copy ();
5392 [CCode (has_construct_function = false)]
5393 [Version (since = "2.12")]
5394 public PageSetup.from_file (string file_name) throws GLib.Error;
5395 [CCode (has_construct_function = false)]
5396 [Version (since = "3.22")]
5397 public PageSetup.from_gvariant (GLib.Variant variant);
5398 [CCode (has_construct_function = false)]
5399 [Version (since = "2.12")]
5400 public PageSetup.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5401 [Version (since = "2.10")]
5402 public double get_bottom_margin (Gtk.Unit unit);
5403 [Version (since = "2.10")]
5404 public double get_left_margin (Gtk.Unit unit);
5405 [Version (since = "2.10")]
5406 public Gtk.PageOrientation get_orientation ();
5407 [Version (since = "2.10")]
5408 public double get_page_height (Gtk.Unit unit);
5409 [Version (since = "2.10")]
5410 public double get_page_width (Gtk.Unit unit);
5411 [Version (since = "2.10")]
5412 public double get_paper_height (Gtk.Unit unit);
5413 [Version (since = "2.10")]
5414 public unowned Gtk.PaperSize get_paper_size ();
5415 [Version (since = "2.10")]
5416 public double get_paper_width (Gtk.Unit unit);
5417 [Version (since = "2.10")]
5418 public double get_right_margin (Gtk.Unit unit);
5419 [Version (since = "2.10")]
5420 public double get_top_margin (Gtk.Unit unit);
5421 [Version (since = "2.14")]
5422 public bool load_file (string file_name) throws GLib.Error;
5423 [Version (since = "2.14")]
5424 public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5425 [Version (since = "2.10")]
5426 public void set_bottom_margin (double margin, Gtk.Unit unit);
5427 [Version (since = "2.10")]
5428 public void set_left_margin (double margin, Gtk.Unit unit);
5429 [Version (since = "2.10")]
5430 public void set_orientation (Gtk.PageOrientation orientation);
5431 [Version (since = "2.10")]
5432 public void set_paper_size (Gtk.PaperSize size);
5433 [Version (since = "2.10")]
5434 public void set_paper_size_and_default_margins (Gtk.PaperSize size);
5435 [Version (since = "2.10")]
5436 public void set_right_margin (double margin, Gtk.Unit unit);
5437 [Version (since = "2.10")]
5438 public void set_top_margin (double margin, Gtk.Unit unit);
5439 [Version (since = "2.12")]
5440 public bool to_file (string file_name) throws GLib.Error;
5441 [CCode (returns_floating_reference = true)]
5442 [Version (since = "3.22")]
5443 public GLib.Variant to_gvariant ();
5444 [Version (since = "2.12")]
5445 public void to_key_file (GLib.KeyFile key_file, string group_name);
5447 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_paned_get_type ()")]
5448 public class Paned : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
5449 [CCode (has_construct_function = false, type = "GtkWidget*")]
5450 [Version (since = "3.0")]
5451 public Paned (Gtk.Orientation orientation);
5452 public void add1 (Gtk.Widget child);
5453 public void add2 (Gtk.Widget child);
5454 [Version (since = "2.4")]
5455 public unowned Gtk.Widget? get_child1 ();
5456 [Version (since = "2.4")]
5457 public unowned Gtk.Widget? get_child2 ();
5458 [Version (since = "2.20")]
5459 public unowned Gdk.Window get_handle_window ();
5460 public int get_position ();
5461 [Version (since = "3.16")]
5462 public bool get_wide_handle ();
5463 public void pack1 (Gtk.Widget child, bool resize, bool shrink);
5464 public void pack2 (Gtk.Widget child, bool resize, bool shrink);
5465 public void set_position (int position);
5466 [Version (since = "3.16")]
5467 public void set_wide_handle (bool wide);
5469 [Version (since = "2.4")]
5470 public int max_position { get; }
5472 [Version (since = "2.4")]
5473 public int min_position { get; }
5474 public int position { get; set; }
5476 public bool position_set { get; set; }
5477 [Version (since = "3.16")]
5478 public bool wide_handle { get; set; }
5479 [Version (since = "2.0")]
5480 public virtual signal bool accept_position ();
5481 [Version (since = "2.0")]
5482 public virtual signal bool cancel_position ();
5483 [Version (since = "2.0")]
5484 public virtual signal bool cycle_child_focus (bool reverse);
5485 [Version (since = "2.0")]
5486 public virtual signal bool cycle_handle_focus (bool reverse);
5487 [Version (since = "2.0")]
5488 public virtual signal bool move_handle (Gtk.ScrollType scroll);
5489 [Version (since = "2.0")]
5490 public virtual signal bool toggle_handle_focus ();
5492 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_paned_accessible_get_type ()")]
5493 public class PanedAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Value {
5494 [CCode (has_construct_function = false)]
5495 protected PanedAccessible ();
5497 [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_paper_size_get_type ()")]
5499 public class PaperSize {
5500 [CCode (has_construct_function = false)]
5501 [Version (since = "2.10")]
5502 public PaperSize (string? name);
5503 [Version (since = "2.10")]
5504 public Gtk.PaperSize copy ();
5505 [CCode (has_construct_function = false)]
5506 [Version (since = "2.10")]
5507 public PaperSize.custom (string name, string display_name, double width, double height, Gtk.Unit unit);
5509 [Version (since = "2.10")]
5510 public void free ();
5511 [CCode (has_construct_function = false)]
5512 [Version (since = "3.22")]
5513 public PaperSize.from_gvariant (GLib.Variant variant);
5514 [CCode (has_construct_function = false)]
5515 [Version (since = "3.16")]
5516 public PaperSize.from_ipp (string ipp_name, double width, double height);
5517 [CCode (has_construct_function = false)]
5518 [Version (since = "2.12")]
5519 public PaperSize.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
5520 [CCode (has_construct_function = false)]
5521 [Version (since = "2.10")]
5522 public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height);
5523 [CCode (cheader_filename = "gtk/gtk.h")]
5524 [Version (since = "2.10")]
5525 public static unowned string get_default ();
5526 [Version (since = "2.10")]
5527 public double get_default_bottom_margin (Gtk.Unit unit);
5528 [Version (since = "2.10")]
5529 public double get_default_left_margin (Gtk.Unit unit);
5530 [Version (since = "2.10")]
5531 public double get_default_right_margin (Gtk.Unit unit);
5532 [Version (since = "2.10")]
5533 public double get_default_top_margin (Gtk.Unit unit);
5534 [Version (since = "2.10")]
5535 public unowned string get_display_name ();
5536 [Version (since = "2.10")]
5537 public double get_height (Gtk.Unit unit);
5538 [Version (since = "2.10")]
5539 public unowned string get_name ();
5540 [CCode (cheader_filename = "gtk/gtk.h")]
5541 [Version (since = "2.12")]
5542 public static GLib.List<Gtk.PaperSize> get_paper_sizes (bool include_custom);
5543 [Version (since = "2.10")]
5544 public unowned string get_ppd_name ();
5545 [Version (since = "2.10")]
5546 public double get_width (Gtk.Unit unit);
5547 public bool is_custom ();
5548 [Version (since = "2.10")]
5549 public bool is_equal (Gtk.PaperSize size2);
5550 public bool is_ipp ();
5551 [Version (since = "2.10")]
5552 public void set_size (double width, double height, Gtk.Unit unit);
5553 [CCode (returns_floating_reference = true)]
5554 [Version (since = "3.22")]
5555 public GLib.Variant to_gvariant ();
5556 [Version (since = "2.12")]
5557 public void to_key_file (GLib.KeyFile key_file, string group_name);
5559 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_places_sidebar_get_type ()")]
5560 public class PlacesSidebar : Gtk.ScrolledWindow, Atk.Implementor, Gtk.Buildable {
5561 [CCode (has_construct_function = false, type = "GtkWidget*")]
5562 [Version (since = "3.10")]
5563 public PlacesSidebar ();
5564 [Version (since = "3.10")]
5565 public void add_shortcut (GLib.File location);
5566 [Version (since = "3.12")]
5567 public bool get_local_only ();
5568 [Version (since = "3.10")]
5569 public GLib.File? get_location ();
5570 [Version (since = "3.10")]
5571 public GLib.File? get_nth_bookmark (int n);
5572 [Version (since = "3.10")]
5573 public Gtk.PlacesOpenFlags get_open_flags ();
5574 [Version (deprecated = true, deprecated_since = "3.18")]
5575 public bool get_show_connect_to_server ();
5576 [Version (since = "3.10")]
5577 public bool get_show_desktop ();
5578 [Version (since = "3.14")]
5579 public bool get_show_enter_location ();
5580 [Version (since = "3.18")]
5581 public bool get_show_other_locations ();
5582 [Version (since = "3.18")]
5583 public bool get_show_recent ();
5584 [Version (since = "3.22.26")]
5585 public bool get_show_starred_location ();
5586 [Version (since = "3.18")]
5587 public bool get_show_trash ();
5588 [Version (since = "3.10")]
5589 public GLib.SList<GLib.File> list_shortcuts ();
5590 [Version (since = "3.10")]
5591 public void remove_shortcut (GLib.File location);
5592 [Version (since = "3.18")]
5593 public void set_drop_targets_visible (bool visible, Gdk.DragContext context);
5594 [Version (since = "3.12")]
5595 public void set_local_only (bool local_only);
5596 [Version (since = "3.10")]
5597 public void set_location (GLib.File? location);
5598 [Version (since = "3.10")]
5599 public void set_open_flags (Gtk.PlacesOpenFlags flags);
5600 [Version (deprecated = true, deprecated_since = "3.18", since = "3.10")]
5601 public void set_show_connect_to_server (bool show_connect_to_server);
5602 [Version (since = "3.10")]
5603 public void set_show_desktop (bool show_desktop);
5604 [Version (since = "3.14")]
5605 public void set_show_enter_location (bool show_enter_location);
5606 [Version (since = "3.18")]
5607 public void set_show_other_locations (bool show_other_locations);
5608 [Version (since = "3.18")]
5609 public void set_show_recent (bool show_recent);
5610 [Version (since = "3.22.26")]
5611 public void set_show_starred_location (bool show_starred_location);
5612 [Version (since = "3.18")]
5613 public void set_show_trash (bool show_trash);
5614 public bool local_only { get; set; }
5615 public GLib.File location { owned get; set; }
5616 public Gtk.PlacesOpenFlags open_flags { get; set; }
5618 [Version (since = "3.18")]
5619 public bool populate_all { get; set; }
5620 public bool show_connect_to_server { get; set; }
5621 public bool show_desktop { get; set; }
5622 public bool show_enter_location { get; set; }
5623 public bool show_other_locations { get; set; }
5624 public bool show_recent { get; set; }
5625 public bool show_starred_location { get; set; }
5626 public bool show_trash { get; set; }
5627 [Version (since = "3.10")]
5628 public signal int drag_action_ask (int actions);
5629 [Version (since = "3.10")]
5630 public signal int drag_action_requested (Gdk.DragContext context, GLib.File dest_file, GLib.List<GLib.File> source_file_list);
5631 [Version (since = "3.10")]
5632 public signal void drag_perform_drop (GLib.File dest_file, GLib.List<GLib.File> source_file_list, int action);
5633 [Version (since = "3.20")]
5634 public signal void mount (GLib.MountOperation mount_operation);
5635 [Version (since = "3.10")]
5636 public signal void open_location (GLib.File location, Gtk.PlacesOpenFlags open_flags);
5637 [Version (since = "3.10")]
5638 public signal void populate_popup (Gtk.Widget container, GLib.File? selected_item, GLib.Volume? selected_volume);
5639 [Version (since = "3.10")]
5640 public signal void show_error_message (string primary, string secondary);
5641 [CCode (cname = "show-other-locations")]
5642 [Version (deprecated = true, deprecated_since = "3.20", since = "3.18")]
5643 public signal void show_other_locations_requested ();
5644 [Version (since = "3.20")]
5645 public signal void show_other_locations_with_flags (Gtk.PlacesOpenFlags open_flags);
5646 [Version (since = "3.20")]
5647 public signal void unmount (GLib.MountOperation mount_operation);
5649 [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_plug_get_type ()")]
5650 public class Plug : Gtk.Window, Atk.Implementor, Gtk.Buildable {
5651 [CCode (has_construct_function = false, type = "GtkWidget*")]
5652 public Plug (X.Window socket_id);
5653 public void @construct (X.Window socket_id);
5654 [Version (since = "2.2")]
5655 public void construct_for_display (Gdk.Display display, X.Window socket_id);
5656 [CCode (has_construct_function = false, type = "GtkWidget*")]
5657 [Version (since = "2.2")]
5658 public Plug.for_display (Gdk.Display display, X.Window socket_id);
5659 [Version (since = "2.14")]
5660 public bool get_embedded ();
5661 public X.Window get_id ();
5662 [Version (since = "2.14")]
5663 public unowned Gdk.Window? get_socket_window ();
5664 [Version (since = "2.12")]
5665 public virtual bool embedded { get; }
5666 [Version (since = "2.14")]
5667 public Gdk.Window socket_window { get; }
5669 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_get_type ()")]
5670 public class Popover : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
5671 [CCode (has_construct_function = false, type = "GtkWidget*")]
5672 [Version (since = "3.12")]
5673 public Popover (Gtk.Widget? relative_to);
5674 [Version (since = "3.12")]
5675 public void bind_model (GLib.MenuModel? model, string? action_namespace);
5676 [CCode (has_construct_function = false, type = "GtkWidget*")]
5677 [Version (since = "3.12")]
5678 public Popover.from_model (Gtk.Widget? relative_to, GLib.MenuModel model);
5679 [Version (since = "3.20")]
5680 public Gtk.PopoverConstraint get_constrain_to ();
5681 [Version (since = "3.18")]
5682 public unowned Gtk.Widget? get_default_widget ();
5683 [Version (since = "3.12")]
5684 public bool get_modal ();
5685 public bool get_pointing_to (out Gdk.Rectangle rect);
5686 public Gtk.PositionType get_position ();
5687 [Version (since = "3.12")]
5688 public unowned Gtk.Widget get_relative_to ();
5689 [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
5690 public bool get_transitions_enabled ();
5691 [Version (since = "3.22")]
5692 public void popdown ();
5693 [Version (since = "3.22")]
5694 public void popup ();
5695 [Version (since = "3.20")]
5696 public void set_constrain_to (Gtk.PopoverConstraint constraint);
5697 [Version (since = "3.18")]
5698 public void set_default_widget (Gtk.Widget? widget);
5699 [Version (since = "3.12")]
5700 public void set_modal (bool modal);
5701 [Version (since = "3.12")]
5702 public void set_pointing_to (Gdk.Rectangle rect);
5703 [Version (since = "3.12")]
5704 public void set_position (Gtk.PositionType position);
5705 [Version (since = "3.12")]
5706 public void set_relative_to (Gtk.Widget? relative_to);
5707 [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
5708 public void set_transitions_enabled (bool transitions_enabled);
5709 [Version (since = "3.20")]
5710 public Gtk.PopoverConstraint constrain_to { get; set; }
5711 [Version (since = "3.12")]
5712 public bool modal { get; set; }
5714 [Version (since = "3.12")]
5715 public Gdk.Rectangle pointing_to { get; set; }
5716 [Version (since = "3.12")]
5717 public Gtk.PositionType position { get; set; }
5718 [Version (since = "3.12")]
5719 public Gtk.Widget relative_to { get; set; }
5720 [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
5721 public bool transitions_enabled { get; set; }
5722 public virtual signal void closed ();
5724 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_popover_accessible_get_type ()")]
5725 public class PopoverAccessible : Gtk.ContainerAccessible, Atk.Component {
5726 [CCode (has_construct_function = false)]
5727 protected PopoverAccessible ();
5729 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_menu_get_type ()")]
5730 public class PopoverMenu : Gtk.Popover, Atk.Implementor, Gtk.Buildable {
5731 [CCode (has_construct_function = false, type = "GtkWidget*")]
5732 [Version (since = "3.16")]
5733 public PopoverMenu ();
5734 [Version (since = "3.16")]
5735 public void open_submenu (string name);
5737 public string visible_submenu { owned get; set; }
5739 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_context_get_type ()")]
5740 public class PrintContext : GLib.Object {
5741 [CCode (has_construct_function = false)]
5742 protected PrintContext ();
5743 [Version (since = "2.10")]
5744 public Pango.Context create_pango_context ();
5745 [Version (since = "2.10")]
5746 public Pango.Layout create_pango_layout ();
5747 [Version (since = "2.10")]
5748 public unowned Cairo.Context get_cairo_context ();
5749 [Version (since = "2.10")]
5750 public double get_dpi_x ();
5751 [Version (since = "2.10")]
5752 public double get_dpi_y ();
5753 [Version (since = "2.20")]
5754 public bool get_hard_margins (out double top, out double bottom, out double left, out double right);
5755 [Version (since = "2.10")]
5756 public double get_height ();
5757 [Version (since = "2.10")]
5758 public unowned Gtk.PageSetup get_page_setup ();
5759 [Version (since = "2.10")]
5760 public unowned Pango.FontMap get_pango_fontmap ();
5761 [Version (since = "2.10")]
5762 public double get_width ();
5763 [Version (since = "2.10")]
5764 public void set_cairo_context (Cairo.Context cr, double dpi_x, double dpi_y);
5766 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_get_type ()")]
5767 public class PrintOperation : GLib.Object, Gtk.PrintOperationPreview {
5768 [CCode (has_construct_function = false)]
5769 [Version (since = "2.10")]
5770 public PrintOperation ();
5771 [Version (since = "2.10")]
5772 public void cancel ();
5773 [Version (since = "2.16")]
5774 public void draw_page_finish ();
5775 [Version (since = "2.10")]
5776 public unowned Gtk.PageSetup get_default_page_setup ();
5777 [Version (since = "2.18")]
5778 public bool get_embed_page_setup ();
5779 [Version (since = "2.10")]
5780 public void get_error () throws GLib.Error;
5781 [Version (since = "2.18")]
5782 public bool get_has_selection ();
5783 [Version (since = "2.18")]
5784 public int get_n_pages_to_print ();
5785 [Version (since = "2.10")]
5786 public unowned Gtk.PrintSettings get_print_settings ();
5787 [Version (since = "2.10")]
5788 public Gtk.PrintStatus get_status ();
5789 [Version (since = "2.10")]
5790 public unowned string get_status_string ();
5791 [Version (since = "2.18")]
5792 public bool get_support_selection ();
5793 [Version (since = "2.10")]
5794 public bool is_finished ();
5795 [Version (since = "2.10")]
5796 public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window? parent) throws GLib.Error;
5797 [Version (since = "2.10")]
5798 public void set_allow_async (bool allow_async);
5799 [Version (since = "2.10")]
5800 public void set_current_page (int current_page);
5801 [Version (since = "2.10")]
5802 public void set_custom_tab_label (string? label);
5803 [Version (since = "2.10")]
5804 public void set_default_page_setup (Gtk.PageSetup? default_page_setup);
5805 [Version (since = "2.16")]
5806 public void set_defer_drawing ();
5807 [Version (since = "2.18")]
5808 public void set_embed_page_setup (bool embed);
5809 [Version (since = "2.10")]
5810 public void set_export_filename (string filename);
5811 [Version (since = "2.18")]
5812 public void set_has_selection (bool has_selection);
5813 [Version (since = "2.10")]
5814 public void set_job_name (string job_name);
5815 [Version (since = "2.10")]
5816 public void set_n_pages (int n_pages);
5817 [Version (since = "2.10")]
5818 public void set_print_settings (Gtk.PrintSettings? print_settings);
5819 [Version (since = "2.10")]
5820 public void set_show_progress (bool show_progress);
5821 [Version (since = "2.18")]
5822 public void set_support_selection (bool support_selection);
5823 [Version (since = "2.10")]
5824 public void set_track_print_status (bool track_status);
5825 [Version (since = "2.10")]
5826 public void set_unit (Gtk.Unit unit);
5827 [Version (since = "2.10")]
5828 public void set_use_full_page (bool full_page);
5830 [Version (since = "2.10")]
5831 public bool allow_async { get; set; }
5833 [Version (since = "2.10")]
5834 public int current_page { get; set; }
5836 [Version (since = "2.10")]
5837 public string custom_tab_label { owned get; set; }
5838 [Version (since = "2.10")]
5839 public Gtk.PageSetup default_page_setup { get; set; }
5840 [Version (since = "2.18")]
5841 public bool embed_page_setup { get; set; }
5843 [Version (since = "2.10")]
5844 public string export_filename { owned get; set; }
5845 [Version (since = "2.18")]
5846 public bool has_selection { get; set; }
5848 [Version (since = "2.10")]
5849 public string job_name { owned get; set; }
5851 [Version (since = "2.10")]
5852 public int n_pages { get; set; }
5853 [Version (since = "2.18")]
5854 public int n_pages_to_print { get; }
5855 [Version (since = "2.10")]
5856 public Gtk.PrintSettings print_settings { get; set; }
5858 [Version (since = "2.10")]
5859 public bool show_progress { get; set; }
5860 [Version (since = "2.10")]
5861 public Gtk.PrintStatus status { get; }
5862 [Version (since = "2.10")]
5863 public string status_string { get; }
5864 [Version (since = "2.18")]
5865 public bool support_selection { get; set; }
5867 [Version (since = "2.10")]
5868 public bool track_print_status { get; set; }
5870 [Version (since = "2.10")]
5871 public Gtk.Unit unit { get; set; }
5873 [Version (since = "2.10")]
5874 public bool use_full_page { get; set; }
5875 [Version (since = "2.10")]
5876 public virtual signal void begin_print (Gtk.PrintContext context);
5877 [Version (since = "2.10")]
5878 public signal unowned GLib.Object create_custom_widget ();
5879 [Version (since = "2.10")]
5880 public virtual signal void custom_widget_apply (Gtk.Widget widget);
5881 [Version (since = "2.10")]
5882 public virtual signal void done (Gtk.PrintOperationResult result);
5883 [Version (since = "2.10")]
5884 public virtual signal void draw_page (Gtk.PrintContext context, int page_nr);
5885 [Version (since = "2.10")]
5886 public virtual signal void end_print (Gtk.PrintContext context);
5887 [Version (since = "2.10")]
5888 public virtual signal bool paginate (Gtk.PrintContext context);
5889 [Version (since = "2.10")]
5890 public virtual signal bool preview (Gtk.PrintOperationPreview preview, Gtk.PrintContext context, Gtk.Window? parent);
5891 [Version (since = "2.10")]
5892 public virtual signal void request_page_setup (Gtk.PrintContext context, int page_nr, Gtk.PageSetup setup);
5893 [Version (since = "2.10")]
5894 public virtual signal void status_changed ();
5895 [Version (since = "2.18")]
5896 public virtual signal void update_custom_widget (Gtk.Widget widget, Gtk.PageSetup setup, Gtk.PrintSettings settings);
5898 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_settings_get_type ()")]
5899 public class PrintSettings : GLib.Object {
5900 [CCode (has_construct_function = false)]
5901 [Version (since = "2.10")]
5902 public PrintSettings ();
5903 [Version (since = "2.10")]
5904 public Gtk.PrintSettings copy ();
5905 [Version (since = "2.10")]
5906 public void @foreach (Gtk.PrintSettingsFunc func);
5907 [CCode (has_construct_function = false)]
5908 [Version (since = "2.12")]
5909 public PrintSettings.from_file (string file_name) throws GLib.Error;
5910 [CCode (has_construct_function = false)]
5911 [Version (since = "3.22")]
5912 public PrintSettings.from_gvariant (GLib.Variant variant);
5913 [CCode (has_construct_function = false)]
5914 [Version (since = "2.12")]
5915 public PrintSettings.from_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5916 [Version (since = "2.10")]
5917 public unowned string @get (string key);
5918 [Version (since = "2.10")]
5919 public bool get_bool (string key);
5920 [Version (since = "2.10")]
5921 public bool get_collate ();
5922 [Version (since = "2.10")]
5923 public unowned string get_default_source ();
5924 [Version (since = "2.10")]
5925 public unowned string get_dither ();
5926 [Version (since = "2.10")]
5927 public double get_double (string key);
5928 [Version (since = "2.10")]
5929 public double get_double_with_default (string key, double def);
5930 [Version (since = "2.10")]
5931 public Gtk.PrintDuplex get_duplex ();
5932 [Version (since = "2.10")]
5933 public unowned string get_finishings ();
5934 [Version (since = "2.10")]
5935 public int get_int (string key);
5936 [Version (since = "2.10")]
5937 public int get_int_with_default (string key, int def);
5938 [Version (since = "2.10")]
5939 public double get_length (string key, Gtk.Unit unit);
5940 [Version (since = "2.10")]
5941 public unowned string get_media_type ();
5942 [Version (since = "2.10")]
5943 public int get_n_copies ();
5944 [Version (since = "2.10")]
5945 public int get_number_up ();
5946 [Version (since = "2.14")]
5947 public Gtk.NumberUpLayout get_number_up_layout ();
5948 [Version (since = "2.10")]
5949 public Gtk.PageOrientation get_orientation ();
5950 [Version (since = "2.10")]
5951 public unowned string get_output_bin ();
5952 [CCode (array_length_pos = 0.1)]
5953 [Version (since = "2.10")]
5954 public Gtk.PageRange[] get_page_ranges ();
5955 [Version (since = "2.10")]
5956 public Gtk.PageSet get_page_set ();
5957 [Version (since = "2.10")]
5958 public double get_paper_height (Gtk.Unit unit);
5959 [Version (since = "2.10")]
5960 public Gtk.PaperSize get_paper_size ();
5961 [Version (since = "2.10")]
5962 public double get_paper_width (Gtk.Unit unit);
5963 [Version (since = "2.10")]
5964 public Gtk.PrintPages get_print_pages ();
5965 [Version (since = "2.10")]
5966 public unowned string get_printer ();
5967 [Version (since = "2.16")]
5968 public double get_printer_lpi ();
5969 [Version (since = "2.10")]
5970 public Gtk.PrintQuality get_quality ();
5971 [Version (since = "2.10")]
5972 public int get_resolution ();
5973 [Version (since = "2.16")]
5974 public int get_resolution_x ();
5975 [Version (since = "2.16")]
5976 public int get_resolution_y ();
5977 [Version (since = "2.10")]
5978 public bool get_reverse ();
5979 [Version (since = "2.10")]
5980 public double get_scale ();
5981 [Version (since = "2.10")]
5982 public bool get_use_color ();
5983 [Version (since = "2.10")]
5984 public bool has_key (string key);
5985 [Version (since = "2.14")]
5986 public bool load_file (string file_name) throws GLib.Error;
5987 [Version (since = "2.14")]
5988 public bool load_key_file (GLib.KeyFile key_file, string? group_name) throws GLib.Error;
5989 [Version (since = "2.10")]
5990 public void @set (string key, string? value);
5991 [Version (since = "2.10")]
5992 public void set_bool (string key, bool value);
5993 [Version (since = "2.10")]
5994 public void set_collate (bool collate);
5995 [Version (since = "2.10")]
5996 public void set_default_source (string default_source);
5997 [Version (since = "2.10")]
5998 public void set_dither (string dither);
5999 [Version (since = "2.10")]
6000 public void set_double (string key, double value);
6001 [Version (since = "2.10")]
6002 public void set_duplex (Gtk.PrintDuplex duplex);
6003 [Version (since = "2.10")]
6004 public void set_finishings (string finishings);
6005 [Version (since = "2.10")]
6006 public void set_int (string key, int value);
6007 [Version (since = "2.10")]
6008 public void set_length (string key, double value, Gtk.Unit unit);
6009 [Version (since = "2.10")]
6010 public void set_media_type (string media_type);
6011 [Version (since = "2.10")]
6012 public void set_n_copies (int num_copies);
6013 [Version (since = "2.10")]
6014 public void set_number_up (int number_up);
6015 [Version (since = "2.14")]
6016 public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout);
6017 [Version (since = "2.10")]
6018 public void set_orientation (Gtk.PageOrientation orientation);
6019 [Version (since = "2.10")]
6020 public void set_output_bin (string output_bin);
6021 [Version (since = "2.10")]
6022 public void set_page_ranges ([CCode (array_length_cname = "num_ranges", array_length_pos = 1.1)] Gtk.PageRange[] page_ranges);
6023 [Version (since = "2.10")]
6024 public void set_page_set (Gtk.PageSet page_set);
6025 [Version (since = "2.10")]
6026 public void set_paper_height (double height, Gtk.Unit unit);
6027 [Version (since = "2.10")]
6028 public void set_paper_size (Gtk.PaperSize paper_size);
6029 [Version (since = "2.10")]
6030 public void set_paper_width (double width, Gtk.Unit unit);
6031 [Version (since = "2.10")]
6032 public void set_print_pages (Gtk.PrintPages pages);
6033 [Version (since = "2.10")]
6034 public void set_printer (string printer);
6035 [Version (since = "2.16")]
6036 public void set_printer_lpi (double lpi);
6037 [Version (since = "2.10")]
6038 public void set_quality (Gtk.PrintQuality quality);
6039 [Version (since = "2.10")]
6040 public void set_resolution (int resolution);
6041 [Version (since = "2.16")]
6042 public void set_resolution_xy (int resolution_x, int resolution_y);
6043 [Version (since = "2.10")]
6044 public void set_reverse (bool reverse);
6045 [Version (since = "2.10")]
6046 public void set_scale (double scale);
6047 [Version (since = "2.10")]
6048 public void set_use_color (bool use_color);
6049 [Version (since = "2.12")]
6050 public bool to_file (string file_name) throws GLib.Error;
6051 [CCode (returns_floating_reference = true)]
6052 [Version (since = "3.22")]
6053 public GLib.Variant to_gvariant ();
6054 [Version (since = "2.12")]
6055 public void to_key_file (GLib.KeyFile key_file, string group_name);
6056 [Version (since = "2.10")]
6057 public void unset (string key);
6059 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_progress_bar_get_type ()")]
6060 public class ProgressBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6061 [CCode (has_construct_function = false, type = "GtkWidget*")]
6062 public ProgressBar ();
6063 [Version (since = "2.6")]
6064 public Pango.EllipsizeMode get_ellipsize ();
6065 public double get_fraction ();
6066 public bool get_inverted ();
6067 public double get_pulse_step ();
6068 [Version (since = "3.0")]
6069 public bool get_show_text ();
6070 public unowned string? get_text ();
6071 public void pulse ();
6072 [Version (since = "2.6")]
6073 public void set_ellipsize (Pango.EllipsizeMode mode);
6074 public void set_fraction (double fraction);
6075 public void set_inverted (bool inverted);
6076 public void set_pulse_step (double fraction);
6077 [Version (since = "3.0")]
6078 public void set_show_text (bool show_text);
6079 public void set_text (string? text);
6080 [Version (since = "2.6")]
6081 public Pango.EllipsizeMode ellipsize { get; set; }
6082 public double fraction { get; set; }
6083 public bool inverted { get; set; }
6084 public double pulse_step { get; set; }
6085 [Version (since = "3.0")]
6086 public bool show_text { get; set; }
6087 public string text { get; set; }
6089 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_progress_bar_accessible_get_type ()")]
6090 public class ProgressBarAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
6091 [CCode (has_construct_function = false)]
6092 protected ProgressBarAccessible ();
6094 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_action_get_type ()")]
6095 [Version (deprecated = true, deprecated_since = "3.10")]
6096 public class RadioAction : Gtk.ToggleAction, Gtk.Buildable {
6097 [CCode (has_construct_function = false)]
6098 [Version (since = "2.4")]
6099 public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
6100 [Version (since = "2.4")]
6101 public int get_current_value ();
6102 [Version (since = "2.4")]
6103 public unowned GLib.SList<Gtk.RadioAction> get_group ();
6104 [Version (since = "3.0")]
6105 public void join_group (Gtk.RadioAction? group_source);
6106 [Version (since = "2.10")]
6107 public void set_current_value (int current_value);
6108 [Version (since = "2.4")]
6109 public void set_group (GLib.SList<Gtk.RadioAction>? group);
6110 [Version (since = "2.10")]
6111 public int current_value { get; set; }
6113 [Version (since = "2.4")]
6114 public Gtk.RadioAction group { set; }
6116 [Version (since = "2.4")]
6117 public int value { get; set; }
6118 [Version (since = "2.4")]
6119 public virtual signal void changed (Gtk.RadioAction current);
6121 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_button_get_type ()")]
6122 public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6123 [CCode (has_construct_function = false, type = "GtkWidget*")]
6124 public RadioButton (GLib.SList<Gtk.RadioButton>? group);
6125 [CCode (has_construct_function = false, type = "GtkWidget*")]
6126 public RadioButton.from_widget (Gtk.RadioButton? radio_group_member);
6127 public unowned GLib.SList<Gtk.RadioButton> get_group ();
6128 [Version (since = "3.0")]
6129 public void join_group (Gtk.RadioButton? group_source);
6130 public void set_group (GLib.SList<Gtk.RadioButton>? group);
6131 [CCode (has_construct_function = false, type = "GtkWidget*")]
6132 public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
6133 [CCode (has_construct_function = false, type = "GtkWidget*")]
6134 public RadioButton.with_label_from_widget (Gtk.RadioButton? radio_group_member, string label);
6135 [CCode (has_construct_function = false, type = "GtkWidget*")]
6136 public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
6137 [CCode (has_construct_function = false, type = "GtkWidget*")]
6138 public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton? radio_group_member, string label);
6140 public Gtk.RadioButton group { set; }
6141 [Version (since = "2.4")]
6142 public virtual signal void group_changed ();
6144 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_button_accessible_get_type ()")]
6145 public class RadioButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
6146 [CCode (has_construct_function = false)]
6147 protected RadioButtonAccessible ();
6149 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_menu_item_get_type ()")]
6150 public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6151 [CCode (has_construct_function = false, type = "GtkWidget*")]
6152 public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem>? group);
6153 [CCode (has_construct_function = false, type = "GtkWidget*")]
6154 [Version (since = "2.4")]
6155 public RadioMenuItem.from_widget (Gtk.RadioMenuItem? group);
6156 public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
6157 [Version (since = "3.18")]
6158 public void join_group (Gtk.RadioMenuItem? group_source);
6159 public void set_group (GLib.SList<Gtk.RadioMenuItem>? group);
6160 [CCode (has_construct_function = false, type = "GtkWidget*")]
6161 public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem>? group, string label);
6162 [CCode (has_construct_function = false, type = "GtkWidget*")]
6163 [Version (since = "2.4")]
6164 public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem? group, string? label);
6165 [CCode (has_construct_function = false, type = "GtkWidget*")]
6166 public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem>? group, string label);
6167 [CCode (has_construct_function = false, type = "GtkWidget*")]
6168 [Version (since = "2.4")]
6169 public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem? group, string? label);
6171 [Version (since = "2.8")]
6172 public Gtk.RadioMenuItem group { set; }
6173 public virtual signal void group_changed ();
6175 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_radio_menu_item_accessible_get_type ()")]
6176 public class RadioMenuItemAccessible : Gtk.CheckMenuItemAccessible, Atk.Action, Atk.Component, Atk.Selection {
6177 [CCode (has_construct_function = false)]
6178 protected RadioMenuItemAccessible ();
6180 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_tool_button_get_type ()")]
6181 public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6182 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6183 [Version (since = "2.4")]
6184 public RadioToolButton (GLib.SList<Gtk.RadioButton>? group);
6185 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6186 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6187 public RadioToolButton.from_stock (GLib.SList<Gtk.RadioButton>? group, string stock_id);
6188 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6189 [Version (since = "2.4")]
6190 public RadioToolButton.from_widget (Gtk.RadioToolButton? group);
6191 [Version (since = "2.4")]
6192 public unowned GLib.SList<Gtk.RadioButton>? get_group ();
6193 [Version (since = "2.4")]
6194 public void set_group (GLib.SList<Gtk.RadioButton>? group);
6195 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6196 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6197 public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton? group, string stock_id);
6199 [Version (since = "2.4")]
6200 public Gtk.RadioToolButton group { set; }
6202 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")]
6203 public abstract class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6204 [CCode (has_construct_function = false)]
6206 public unowned Gtk.Adjustment get_adjustment ();
6207 [Version (since = "2.12")]
6208 public double get_fill_level ();
6209 [Version (since = "2.18")]
6210 public bool get_flippable ();
6211 public bool get_inverted ();
6212 [Version (since = "2.10")]
6213 public Gtk.SensitivityType get_lower_stepper_sensitivity ();
6214 [Version (deprecated = true, deprecated_since = "3.20", since = "2.20")]
6215 public int get_min_slider_size ();
6217 public virtual Gtk.Border get_range_border ();
6218 [Version (since = "2.20")]
6219 public Gdk.Rectangle get_range_rect ();
6221 public virtual void get_range_size_request (Gtk.Orientation orientation, out int minimum, out int natural);
6222 [Version (since = "2.12")]
6223 public bool get_restrict_to_fill_level ();
6224 [Version (since = "2.24")]
6225 public int get_round_digits ();
6226 [Version (since = "2.12")]
6227 public bool get_show_fill_level ();
6228 [Version (since = "2.20")]
6229 public void get_slider_range (out int slider_start, out int slider_end);
6230 [Version (since = "2.20")]
6231 public bool get_slider_size_fixed ();
6232 [Version (since = "2.10")]
6233 public Gtk.SensitivityType get_upper_stepper_sensitivity ();
6234 public double get_value ();
6235 public void set_adjustment (Gtk.Adjustment adjustment);
6236 [Version (since = "2.12")]
6237 public void set_fill_level (double fill_level);
6238 [Version (since = "2.18")]
6239 public void set_flippable (bool flippable);
6240 public void set_increments (double step, double page);
6241 public void set_inverted (bool setting);
6242 [Version (since = "2.10")]
6243 public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
6244 [Version (deprecated = true, deprecated_since = "3.20", since = "2.20")]
6245 public void set_min_slider_size (int min_size);
6246 public void set_range (double min, double max);
6247 [Version (since = "2.12")]
6248 public void set_restrict_to_fill_level (bool restrict_to_fill_level);
6249 [Version (since = "2.24")]
6250 public void set_round_digits (int round_digits);
6251 [Version (since = "2.12")]
6252 public void set_show_fill_level (bool show_fill_level);
6253 [Version (since = "2.20")]
6254 public void set_slider_size_fixed (bool size_fixed);
6255 [Version (since = "2.10")]
6256 public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
6257 public void set_value (double value);
6258 public Gtk.Adjustment adjustment { get; set construct; }
6259 [Version (since = "2.12")]
6260 public double fill_level { get; set; }
6261 public bool inverted { get; set; }
6262 public Gtk.SensitivityType lower_stepper_sensitivity { get; set; }
6263 [Version (since = "2.12")]
6264 public bool restrict_to_fill_level { get; set; }
6265 [Version (since = "2.24")]
6266 public int round_digits { get; set; }
6267 [Version (since = "2.12")]
6268 public bool show_fill_level { get; set; }
6269 public Gtk.SensitivityType upper_stepper_sensitivity { get; set; }
6270 public virtual signal void adjust_bounds (double new_value);
6271 [Version (since = "2.6")]
6272 public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
6273 public virtual signal void move_slider (Gtk.ScrollType scroll);
6274 public virtual signal void value_changed ();
6276 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_range_accessible_get_type ()")]
6277 public class RangeAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Value {
6278 [CCode (has_construct_function = false)]
6279 protected RangeAccessible ();
6281 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
6283 public class RcContext {
6285 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_rc_style_get_type ()")]
6286 public class RcStyle : GLib.Object {
6287 [CCode (array_length = false)]
6288 public weak Gdk.Color @base[5];
6289 [CCode (array_length = false)]
6290 public weak Gdk.Color bg[5];
6291 [CCode (array_length = false)]
6292 public weak string bg_pixmap_name[5];
6293 [CCode (array_length = false)]
6294 public weak Gtk.RcFlags color_flags[5];
6295 [CCode (array_length = false)]
6296 public weak Gdk.Color fg[5];
6297 public weak Pango.FontDescription font_desc;
6298 public weak string name;
6299 [CCode (array_length = false)]
6300 public weak Gdk.Color text[5];
6301 public int xthickness;
6302 public int ythickness;
6303 [CCode (has_construct_function = false)]
6304 [Version (deprecated = true, deprecated_since = "3.0")]
6306 [Version (deprecated = true, deprecated_since = "3.0")]
6307 public Gtk.RcStyle copy ();
6309 public virtual Gtk.RcStyle create_rc_style ();
6311 public virtual Gtk.Style create_style ();
6313 public virtual void merge (Gtk.RcStyle src);
6315 public virtual uint parse (Gtk.Settings settings, GLib.Scanner scanner);
6317 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_action_get_type ()")]
6318 public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser {
6319 [CCode (has_construct_function = false, type = "GtkAction*")]
6320 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6321 public RecentAction (string name, string? label, string? tooltip, string? stock_id);
6322 [CCode (has_construct_function = false, type = "GtkAction*")]
6323 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6324 public RecentAction.for_manager (string name, string? label, string? tooltip, string? stock_id, Gtk.RecentManager? manager);
6325 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6326 public bool get_show_numbers ();
6327 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6328 public void set_show_numbers (bool show_numbers);
6329 [Version (deprecated = true, deprecated_since = "3.10")]
6330 public bool show_numbers { get; set; }
6332 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_dialog_get_type ()")]
6333 public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
6334 [CCode (has_construct_function = false, type = "GtkWidget*")]
6335 [Version (since = "2.10")]
6336 public RecentChooserDialog (string? title, Gtk.Window? parent, ...);
6337 [CCode (has_construct_function = false, type = "GtkWidget*")]
6338 [Version (since = "2.10")]
6339 public RecentChooserDialog.for_manager (string? title, Gtk.Window? parent, Gtk.RecentManager manager, ...);
6341 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_menu_get_type ()")]
6342 public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Activatable, Gtk.Buildable, Gtk.RecentChooser {
6343 [CCode (has_construct_function = false, type = "GtkWidget*")]
6344 [Version (since = "2.10")]
6345 public RecentChooserMenu ();
6346 [CCode (has_construct_function = false, type = "GtkWidget*")]
6347 [Version (since = "2.10")]
6348 public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
6349 [Version (since = "2.10")]
6350 public bool get_show_numbers ();
6351 [Version (since = "2.10")]
6352 public void set_show_numbers (bool show_numbers);
6353 [Version (since = "2.10")]
6354 public bool show_numbers { get; set; }
6356 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_widget_get_type ()")]
6357 public class RecentChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
6358 [CCode (has_construct_function = false, type = "GtkWidget*")]
6359 [Version (since = "2.10")]
6360 public RecentChooserWidget ();
6361 [CCode (has_construct_function = false, type = "GtkWidget*")]
6362 [Version (since = "2.10")]
6363 public RecentChooserWidget.for_manager (Gtk.RecentManager manager);
6365 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_filter_get_type ()")]
6366 public class RecentFilter : GLib.InitiallyUnowned, Gtk.Buildable {
6367 [CCode (has_construct_function = false)]
6368 [Version (since = "2.10")]
6369 public RecentFilter ();
6370 [Version (since = "2.10")]
6371 public void add_age (int days);
6372 [Version (since = "2.10")]
6373 public void add_application (string application);
6374 [Version (since = "2.10")]
6375 public void add_custom (Gtk.RecentFilterFlags needed, owned Gtk.RecentFilterFunc func);
6376 [Version (since = "2.10")]
6377 public void add_group (string group);
6378 [Version (since = "2.10")]
6379 public void add_mime_type (string mime_type);
6380 [Version (since = "2.10")]
6381 public void add_pattern (string pattern);
6382 [Version (since = "2.10")]
6383 public void add_pixbuf_formats ();
6384 [Version (since = "2.10")]
6385 public bool filter (Gtk.RecentFilterInfo filter_info);
6386 [CCode (cname = "gtk_recent_filter_get_name")]
6387 [Version (since = "2.10")]
6388 public unowned string? get_filter_name ();
6389 [Version (since = "2.10")]
6390 public Gtk.RecentFilterFlags get_needed ();
6391 [CCode (cname = "gtk_recent_filter_set_name")]
6392 [Version (since = "2.10")]
6393 public void set_filter_name (string name);
6395 [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")]
6397 [Version (since = "2.10")]
6398 public class RecentInfo {
6399 public GLib.AppInfo? create_app_info (string? app_name) throws GLib.Error;
6400 public bool exists ();
6401 public time_t get_added ();
6402 public int get_age ();
6403 public bool get_application_info (string app_name, out unowned string app_exec, out uint count, [CCode (type = "time_t*")] out time_t time_);
6404 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
6405 public string[] get_applications ();
6406 public unowned string get_description ();
6407 public unowned string get_display_name ();
6408 [Version (since = "2.22")]
6409 public GLib.Icon? get_gicon ();
6410 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
6411 public string[] get_groups ();
6412 public Gdk.Pixbuf? get_icon (int size);
6413 public unowned string get_mime_type ();
6414 public time_t get_modified ();
6415 public bool get_private_hint ();
6416 public string get_short_name ();
6417 public unowned string get_uri ();
6418 public string? get_uri_display ();
6419 public time_t get_visited ();
6420 public bool has_application (string app_name);
6421 public bool has_group (string group_name);
6422 public bool is_local ();
6423 public string last_application ();
6424 public bool match (Gtk.RecentInfo info_b);
6425 public unowned Gtk.RecentInfo @ref ();
6426 public void unref ();
6428 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_manager_get_type ()")]
6429 [Version (since = "2.10")]
6430 public class RecentManager : GLib.Object {
6431 [CCode (has_construct_function = false)]
6432 public RecentManager ();
6433 public bool add_full (string uri, Gtk.RecentData recent_data);
6434 public bool add_item (string uri);
6435 public static unowned Gtk.RecentManager get_default ();
6436 public GLib.List<Gtk.RecentInfo> get_items ();
6437 public bool has_item (string uri);
6438 public Gtk.RecentInfo? lookup_item (string uri) throws GLib.Error;
6439 public bool move_item (string uri, string? new_uri) throws GLib.Error;
6440 public int purge_items () throws GLib.Error;
6441 public bool remove_item (string uri) throws GLib.Error;
6443 public string filename { owned get; construct; }
6445 public int size { get; }
6446 public virtual signal void changed ();
6448 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_renderer_cell_accessible_get_type ()")]
6449 public class RendererCellAccessible : Gtk.CellAccessible, Atk.Action, Atk.Component {
6450 [CCode (has_construct_function = false, type = "AtkObject*")]
6451 public RendererCellAccessible (Gtk.CellRenderer renderer);
6453 public Gtk.CellRenderer renderer { owned get; construct; }
6455 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_revealer_get_type ()")]
6456 public class Revealer : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6457 [CCode (has_construct_function = false, type = "GtkWidget*")]
6458 [Version (since = "3.10")]
6460 [Version (since = "3.10")]
6461 public bool get_child_revealed ();
6462 [Version (since = "3.10")]
6463 public bool get_reveal_child ();
6464 [Version (since = "3.10")]
6465 public uint get_transition_duration ();
6466 [Version (since = "3.10")]
6467 public Gtk.RevealerTransitionType get_transition_type ();
6468 [Version (since = "3.10")]
6469 public void set_reveal_child (bool reveal_child);
6470 [Version (since = "3.10")]
6471 public void set_transition_duration (uint duration);
6472 [Version (since = "3.10")]
6473 public void set_transition_type (Gtk.RevealerTransitionType transition);
6474 public bool child_revealed { get; }
6475 public bool reveal_child { get; set construct; }
6476 public uint transition_duration { get; set construct; }
6477 public Gtk.RevealerTransitionType transition_type { get; set construct; }
6479 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_get_type ()")]
6480 public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6481 [CCode (has_construct_function = false, type = "GtkWidget*")]
6482 [Version (since = "3.0")]
6483 public Scale (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
6484 [Version (since = "2.16")]
6485 public void add_mark (double value, Gtk.PositionType position, string? markup);
6486 [Version (since = "2.16")]
6487 public void clear_marks ();
6488 public int get_digits ();
6489 public bool get_draw_value ();
6490 [Version (since = "3.4")]
6491 public bool get_has_origin ();
6492 [Version (since = "2.4")]
6493 public unowned Pango.Layout? get_layout ();
6494 [Version (since = "2.4")]
6495 public virtual void get_layout_offsets (out int x, out int y);
6496 public Gtk.PositionType get_value_pos ();
6497 public void set_digits (int digits);
6498 public void set_draw_value (bool draw_value);
6499 [Version (since = "3.4")]
6500 public void set_has_origin (bool has_origin);
6501 public void set_value_pos (Gtk.PositionType pos);
6502 [CCode (has_construct_function = false, type = "GtkWidget*")]
6503 [Version (since = "3.0")]
6504 public Scale.with_range (Gtk.Orientation orientation, double min, double max, double step);
6505 public int digits { get; set; }
6506 public virtual bool draw_value { get; set; }
6507 public bool has_origin { get; set; }
6508 public Gtk.PositionType value_pos { get; set; }
6509 public virtual signal string format_value (double value);
6511 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_accessible_get_type ()")]
6512 public class ScaleAccessible : Gtk.RangeAccessible, Atk.Component, Atk.Value {
6513 [CCode (has_construct_function = false)]
6514 protected ScaleAccessible ();
6516 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_button_get_type ()")]
6517 public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.Orientable {
6518 [CCode (has_construct_function = false, type = "GtkWidget*")]
6519 [Version (since = "2.12")]
6520 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);
6521 [Version (since = "2.12")]
6522 public unowned Gtk.Adjustment get_adjustment ();
6523 [Version (since = "2.14")]
6524 public unowned Gtk.Button get_minus_button ();
6525 [Version (since = "2.14")]
6526 public unowned Gtk.Button get_plus_button ();
6527 [Version (since = "2.14")]
6528 public unowned Gtk.Widget get_popup ();
6529 [Version (since = "2.12")]
6530 public double get_value ();
6531 [Version (since = "2.12")]
6532 public void set_adjustment (Gtk.Adjustment adjustment);
6533 [Version (since = "2.12")]
6534 public void set_icons ([CCode (array_length = false, array_null_terminated = true)] string[] icons);
6535 [Version (since = "2.12")]
6536 public void set_value (double value);
6537 public Gtk.Adjustment adjustment { get; set; }
6538 [CCode (array_length = false, array_null_terminated = true)]
6540 [Version (since = "2.12")]
6541 public string[] icons { owned get; set; }
6543 public Gtk.IconSize size { get; set; }
6544 public double value { get; set; }
6545 [Version (since = "2.12")]
6546 public signal void popdown ();
6547 [Version (since = "2.12")]
6548 public signal void popup ();
6549 [Version (since = "2.12")]
6550 public virtual signal void value_changed (double value);
6552 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_button_accessible_get_type ()")]
6553 public class ScaleButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image, Atk.Value {
6554 [CCode (has_construct_function = false)]
6555 protected ScaleButtonAccessible ();
6557 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrollbar_get_type ()")]
6558 public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6559 [CCode (has_construct_function = false, type = "GtkWidget*")]
6560 [Version (since = "3.0")]
6561 public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
6563 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scrolled_window_get_type ()")]
6564 public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6565 [CCode (has_construct_function = false, type = "GtkWidget*")]
6566 public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
6567 [Version (deprecated = true, deprecated_since = "3.8")]
6568 public void add_with_viewport (Gtk.Widget child);
6569 [Version (since = "3.4")]
6570 public bool get_capture_button_press ();
6571 public unowned Gtk.Adjustment get_hadjustment ();
6572 [Version (since = "2.8")]
6573 public unowned Gtk.Widget get_hscrollbar ();
6574 [Version (since = "3.4")]
6575 public bool get_kinetic_scrolling ();
6576 [Version (since = "3.22")]
6577 public int get_max_content_height ();
6578 [Version (since = "3.22")]
6579 public int get_max_content_width ();
6580 [Version (since = "3.0")]
6581 public int get_min_content_height ();
6582 [Version (since = "3.0")]
6583 public int get_min_content_width ();
6584 [Version (since = "3.16")]
6585 public bool get_overlay_scrolling ();
6586 public Gtk.CornerType get_placement ();
6587 public void get_policy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy);
6588 [Version (since = "3.22")]
6589 public bool get_propagate_natural_height ();
6590 [Version (since = "3.22")]
6591 public bool get_propagate_natural_width ();
6592 public Gtk.ShadowType get_shadow_type ();
6593 public unowned Gtk.Adjustment get_vadjustment ();
6594 [Version (since = "2.8")]
6595 public unowned Gtk.Widget get_vscrollbar ();
6596 [Version (since = "3.4")]
6597 public void set_capture_button_press (bool capture_button_press);
6598 public void set_hadjustment (Gtk.Adjustment hadjustment);
6599 [Version (since = "3.4")]
6600 public void set_kinetic_scrolling (bool kinetic_scrolling);
6601 [Version (since = "3.22")]
6602 public void set_max_content_height (int height);
6603 [Version (since = "3.22")]
6604 public void set_max_content_width (int width);
6605 [Version (since = "3.0")]
6606 public void set_min_content_height (int height);
6607 [Version (since = "3.0")]
6608 public void set_min_content_width (int width);
6609 [Version (since = "3.16")]
6610 public void set_overlay_scrolling (bool overlay_scrolling);
6611 public void set_placement (Gtk.CornerType window_placement);
6612 public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
6613 [Version (since = "3.22")]
6614 public void set_propagate_natural_height (bool propagate);
6615 [Version (since = "3.22")]
6616 public void set_propagate_natural_width (bool propagate);
6617 public void set_shadow_type (Gtk.ShadowType type);
6618 public void set_vadjustment (Gtk.Adjustment vadjustment);
6619 [Version (since = "2.10")]
6620 public void unset_placement ();
6621 public Gtk.Adjustment hadjustment { get; set construct; }
6623 public Gtk.PolicyType hscrollbar_policy { get; set; }
6624 [Version (since = "3.4")]
6625 public bool kinetic_scrolling { get; set; }
6626 [Version (since = "3.22")]
6627 public int max_content_height { get; set; }
6628 [Version (since = "3.22")]
6629 public int max_content_width { get; set; }
6630 [Version (since = "3.0")]
6631 public int min_content_height { get; set; }
6632 [Version (since = "3.0")]
6633 public int min_content_width { get; set; }
6634 [Version (since = "3.16")]
6635 public bool overlay_scrolling { get; set; }
6636 [Version (since = "3.22")]
6637 public bool propagate_natural_height { get; set; }
6638 [Version (since = "3.22")]
6639 public bool propagate_natural_width { get; set; }
6640 public Gtk.ShadowType shadow_type { get; set; }
6641 public Gtk.Adjustment vadjustment { get; set construct; }
6643 public Gtk.PolicyType vscrollbar_policy { get; set; }
6645 public Gtk.CornerType window_placement { get; set; }
6647 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
6648 public bool window_placement_set { get; set; }
6649 [Version (since = "3.16")]
6650 public signal void edge_overshot (Gtk.PositionType pos);
6651 [Version (since = "3.16")]
6652 public signal void edge_reached (Gtk.PositionType pos);
6653 public virtual signal void move_focus_out (Gtk.DirectionType direction);
6654 public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
6656 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scrolled_window_accessible_get_type ()")]
6657 public class ScrolledWindowAccessible : Gtk.ContainerAccessible, Atk.Component {
6658 [CCode (has_construct_function = false)]
6659 protected ScrolledWindowAccessible ();
6661 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_bar_get_type ()")]
6662 public class SearchBar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
6663 [CCode (has_construct_function = false, type = "GtkWidget*")]
6664 [Version (since = "3.10")]
6665 public SearchBar ();
6666 [Version (since = "3.10")]
6667 public void connect_entry (Gtk.Entry entry);
6668 [Version (since = "3.10")]
6669 public bool get_search_mode ();
6670 [Version (since = "3.10")]
6671 public bool get_show_close_button ();
6672 [Version (since = "3.10")]
6673 public bool handle_event (Gdk.Event event);
6674 [Version (since = "3.10")]
6675 public void set_search_mode (bool search_mode);
6676 [Version (since = "3.10")]
6677 public void set_show_close_button (bool visible);
6679 public bool search_mode_enabled { get; set; }
6680 public bool show_close_button { get; set construct; }
6682 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_search_entry_get_type ()")]
6683 public class SearchEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
6684 [CCode (has_construct_function = false, type = "GtkWidget*")]
6685 [Version (since = "3.6")]
6686 public SearchEntry ();
6687 [Version (since = "3.16")]
6688 public bool handle_event (Gdk.Event event);
6689 [Version (since = "3.16")]
6690 public virtual signal void next_match ();
6691 [Version (since = "3.16")]
6692 public virtual signal void previous_match ();
6693 [Version (since = "3.10")]
6694 public virtual signal void search_changed ();
6695 [Version (since = "3.16")]
6696 public virtual signal void stop_search ();
6698 [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_selection_data_get_type ()")]
6700 public class SelectionData {
6701 public Gtk.SelectionData copy ();
6703 public void free ();
6704 [CCode (array_length = false)]
6705 [Version (since = "2.14")]
6706 public unowned uint8[] get_data ();
6707 [Version (since = "2.14")]
6708 public Gdk.Atom get_data_type ();
6709 [CCode (array_length_pos = 0.1)]
6710 [Version (since = "3.0")]
6711 public unowned uint8[] get_data_with_length ();
6712 [Version (since = "2.14")]
6713 public unowned Gdk.Display get_display ();
6714 [Version (since = "2.14")]
6715 public int get_format ();
6716 [Version (since = "2.14")]
6717 public int get_length ();
6718 [Version (since = "2.6")]
6719 public Gdk.Pixbuf? get_pixbuf ();
6720 [Version (since = "2.16")]
6721 public Gdk.Atom get_selection ();
6722 [Version (since = "2.14")]
6723 public Gdk.Atom get_target ();
6724 public bool get_targets ([CCode (array_length_cname = "n_atoms", array_length_pos = 1.1)] out Gdk.Atom[] targets);
6725 public string? get_text ();
6726 [CCode (array_length = false, array_null_terminated = true)]
6727 [Version (since = "2.6")]
6728 public string[] get_uris ();
6729 public void @set (Gdk.Atom type, int format, [CCode (array_length_cname = "length", array_length_pos = 3.1)] uint8[] data);
6730 [Version (since = "2.6")]
6731 public bool set_pixbuf (Gdk.Pixbuf pixbuf);
6732 public bool set_text (string str, int len);
6733 [Version (since = "2.6")]
6734 public bool set_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uris);
6735 [Version (since = "2.6")]
6736 public bool targets_include_image (bool writable);
6737 [Version (since = "2.10")]
6738 public bool targets_include_rich_text (Gtk.TextBuffer buffer);
6739 public bool targets_include_text ();
6740 [Version (since = "2.10")]
6741 public bool targets_include_uri ();
6743 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_get_type ()")]
6744 public class Separator : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
6745 [CCode (has_construct_function = false, type = "GtkWidget*")]
6746 [Version (since = "3.0")]
6747 public Separator (Gtk.Orientation orientation);
6749 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_menu_item_get_type ()")]
6750 public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
6751 [CCode (has_construct_function = false, type = "GtkWidget*")]
6752 public SeparatorMenuItem ();
6754 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_tool_item_get_type ()")]
6755 public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Activatable, Gtk.Buildable {
6756 [CCode (has_construct_function = false, type = "GtkToolItem*")]
6757 [Version (since = "2.4")]
6758 public SeparatorToolItem ();
6759 [Version (since = "2.4")]
6760 public bool get_draw ();
6761 [Version (since = "2.4")]
6762 public void set_draw (bool draw);
6763 public bool draw { get; set; }
6765 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_settings_get_type ()")]
6766 public class Settings : GLib.Object, Gtk.StyleProvider {
6767 [CCode (has_construct_function = false)]
6768 protected Settings ();
6769 public static unowned Gtk.Settings? get_default ();
6770 [Version (since = "2.2")]
6771 public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
6772 [Version (deprecated = true, deprecated_since = "3.16")]
6773 public static void install_property (GLib.ParamSpec pspec);
6774 [Version (deprecated = true, deprecated_since = "3.16")]
6775 public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
6776 [Version (since = "3.20")]
6777 public void reset_property (string name);
6778 [Version (deprecated = true, deprecated_since = "3.16")]
6779 public void set_double_property (string name, double v_double, string origin);
6780 [Version (deprecated = true, deprecated_since = "3.16")]
6781 public void set_long_property (string name, long v_long, string origin);
6782 [Version (deprecated = true, deprecated_since = "3.16")]
6783 public void set_property_value (string name, Gtk.SettingsValue svalue);
6784 [Version (deprecated = true, deprecated_since = "3.16")]
6785 public void set_string_property (string name, string v_string, string origin);
6787 [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
6788 public GLib.HashTable<string,Gdk.Color?> color_hash { owned get; }
6790 public bool gtk_alternative_button_order { get; set; }
6792 [Version (since = "2.12")]
6793 public bool gtk_alternative_sort_arrows { get; set; }
6795 [Version (since = "3.0")]
6796 public bool gtk_application_prefer_dark_theme { get; set; }
6798 [Version (deprecated = true, deprecated_since = "3.10", since = "2.20")]
6799 public bool gtk_auto_mnemonics { get; set; }
6801 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
6802 public bool gtk_button_images { get; set; }
6804 [Version (deprecated = true, deprecated_since = "3.10")]
6805 public bool gtk_can_change_accels { get; set; }
6807 [Version (deprecated = true, deprecated_since = "3.10")]
6808 public string gtk_color_palette { owned get; set; }
6810 [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
6811 public string gtk_color_scheme { owned get; set; }
6813 public bool gtk_cursor_blink { get; set; }
6815 public int gtk_cursor_blink_time { get; set; }
6817 [Version (since = "2.12")]
6818 public int gtk_cursor_blink_timeout { get; set; }
6820 public string gtk_cursor_theme_name { owned get; set; }
6822 public int gtk_cursor_theme_size { get; set; }
6824 [Version (since = "3.12")]
6825 public string gtk_decoration_layout { owned get; set; }
6827 [Version (since = "3.12")]
6828 public bool gtk_dialogs_use_header { get; set; }
6830 public int gtk_dnd_drag_threshold { get; set; }
6832 public int gtk_double_click_distance { get; set; }
6834 public int gtk_double_click_time { get; set; }
6836 [Version (since = "2.12")]
6837 public bool gtk_enable_accels { get; set; }
6839 public bool gtk_enable_animations { get; set; }
6841 [Version (since = "2.14")]
6842 public bool gtk_enable_event_sounds { get; set; }
6844 [Version (since = "2.14")]
6845 public bool gtk_enable_input_feedback_sounds { get; set; }
6847 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6848 public bool gtk_enable_mnemonics { get; set; }
6850 [Version (since = "3.4")]
6851 public bool gtk_enable_primary_paste { get; set; }
6853 [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
6854 public bool gtk_enable_tooltips { get; set; }
6856 [Version (since = "2.10")]
6857 public uint gtk_entry_password_hint_timeout { get; set; }
6859 public bool gtk_entry_select_on_focus { get; set; }
6861 [Version (since = "2.12")]
6862 public bool gtk_error_bell { get; set; }
6864 [Version (deprecated = true, deprecated_since = "3.10")]
6865 public string gtk_fallback_icon_theme { owned get; set; }
6867 [Version (deprecated = true, deprecated_since = "3.10")]
6868 public string gtk_file_chooser_backend { owned get; set; }
6870 public string gtk_font_name { owned get; set; }
6872 public uint gtk_fontconfig_timestamp { get; set; }
6874 [Version (deprecated = true, deprecated_since = "3.10")]
6875 public string gtk_icon_sizes { owned get; set; }
6877 public string gtk_icon_theme_name { owned get; set; }
6879 public string gtk_im_module { owned get; set; }
6881 [Version (deprecated = true, deprecated_since = "3.10")]
6882 public Gtk.IMPreeditStyle gtk_im_preedit_style { get; set; }
6884 [Version (deprecated = true, deprecated_since = "3.10")]
6885 public Gtk.IMStatusStyle gtk_im_status_style { get; set; }
6887 public string gtk_key_theme_name { owned get; set; }
6889 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6890 public bool gtk_keynav_cursor_only { get; set; }
6892 [Version (since = "3.20")]
6893 public bool gtk_keynav_use_caret { get; set; }
6895 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6896 public bool gtk_keynav_wrap_around { get; set; }
6898 public bool gtk_label_select_on_focus { get; set; }
6900 [Version (since = "3.14")]
6901 public uint gtk_long_press_time { get; set; }
6903 [Version (deprecated = true, deprecated_since = "3.10")]
6904 public string gtk_menu_bar_accel { owned get; set; }
6906 [Version (deprecated = true, deprecated_since = "3.10")]
6907 public int gtk_menu_bar_popup_delay { get; set; }
6909 [Version (deprecated = true, deprecated_since = "3.10")]
6910 public bool gtk_menu_images { get; set; }
6912 [Version (deprecated = true, deprecated_since = "3.10")]
6913 public int gtk_menu_popdown_delay { get; set; }
6915 [Version (deprecated = true, deprecated_since = "3.10")]
6916 public int gtk_menu_popup_delay { get; set; }
6918 public string gtk_modules { owned get; set; }
6920 [Version (since = "3.6")]
6921 public bool gtk_primary_button_warps_slider { get; set; }
6923 [Version (since = "2.10")]
6924 public string gtk_print_backends { owned get; set; }
6926 [Version (since = "2.10")]
6927 public string gtk_print_preview_command { owned get; set; }
6929 [Version (since = "3.8")]
6930 public bool gtk_recent_files_enabled { get; set; }
6932 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6933 public int gtk_recent_files_limit { get; set; }
6935 [Version (since = "2.14")]
6936 public int gtk_recent_files_max_age { get; set; }
6938 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
6939 public Gtk.CornerType gtk_scrolled_window_placement { get; set; }
6941 public bool gtk_shell_shows_app_menu { get; set; }
6943 public bool gtk_shell_shows_desktop { get; set; }
6945 public bool gtk_shell_shows_menubar { get; set; }
6947 [Version (deprecated = true, deprecated_since = "3.10")]
6948 public bool gtk_show_input_method_menu { get; set; }
6950 [Version (deprecated = true, deprecated_since = "3.10")]
6951 public bool gtk_show_unicode_menu { get; set; }
6953 [Version (since = "2.14")]
6954 public string gtk_sound_theme_name { owned get; set; }
6956 public bool gtk_split_cursor { get; set; }
6958 public string gtk_theme_name { owned get; set; }
6960 [Version (deprecated = true, deprecated_since = "3.10")]
6961 public int gtk_timeout_expand { get; set; }
6963 [Version (deprecated = true, deprecated_since = "3.10")]
6964 public int gtk_timeout_initial { get; set; }
6966 [Version (deprecated = true, deprecated_since = "3.10")]
6967 public int gtk_timeout_repeat { get; set; }
6969 [Version (since = "3.14")]
6970 public string gtk_titlebar_double_click { owned get; set; }
6972 [Version (since = "3.14")]
6973 public string gtk_titlebar_middle_click { owned get; set; }
6975 [Version (since = "3.14")]
6976 public string gtk_titlebar_right_click { owned get; set; }
6978 [Version (deprecated = true, deprecated_since = "3.10")]
6979 public Gtk.IconSize gtk_toolbar_icon_size { get; set; }
6981 [Version (deprecated = true, deprecated_since = "3.10")]
6982 public Gtk.ToolbarStyle gtk_toolbar_style { get; set; }
6984 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6985 public int gtk_tooltip_browse_mode_timeout { get; set; }
6987 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6988 public int gtk_tooltip_browse_timeout { get; set; }
6990 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
6991 public int gtk_tooltip_timeout { get; set; }
6993 [Version (deprecated = true, deprecated_since = "3.4.", since = "2.10")]
6994 public bool gtk_touchscreen_mode { get; set; }
6996 [Version (deprecated = true, deprecated_since = "3.10", since = "3.2")]
6997 public Gtk.PolicyType gtk_visible_focus { get; set; }
6999 public int gtk_xft_antialias { get; set; }
7001 public int gtk_xft_dpi { get; set; }
7003 public int gtk_xft_hinting { get; set; }
7005 public string gtk_xft_hintstyle { owned get; set; }
7007 public string gtk_xft_rgba { owned get; set; }
7009 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcut_label_get_type ()")]
7010 public class ShortcutLabel : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7011 [CCode (has_construct_function = false, type = "GtkWidget*")]
7012 [Version (since = "3.22")]
7013 public ShortcutLabel (string accelerator);
7014 [Version (since = "3.22")]
7015 public unowned string? get_accelerator ();
7016 [Version (since = "3.22")]
7017 public unowned string? get_disabled_text ();
7018 [Version (since = "3.22")]
7019 public void set_accelerator (string accelerator);
7020 [Version (since = "3.22")]
7021 public void set_disabled_text (string disabled_text);
7022 [Version (since = "3.22")]
7023 public string accelerator { get; set; }
7024 [Version (since = "3.22")]
7025 public string disabled_text { get; set; }
7027 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_group_get_type ()")]
7028 public class ShortcutsGroup : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7029 [CCode (has_construct_function = false)]
7030 protected ShortcutsGroup ();
7032 public Gtk.SizeGroup accel_size_group { set; }
7034 public uint height { get; }
7036 public string title { owned get; set; }
7038 public Gtk.SizeGroup title_size_group { set; }
7040 public string view { owned get; set; }
7042 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_section_get_type ()")]
7043 public class ShortcutsSection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7044 [CCode (has_construct_function = false)]
7045 protected ShortcutsSection ();
7047 public uint max_height { get; set; }
7049 public string section_name { owned get; set; }
7051 public string title { owned get; set; }
7053 public string view_name { owned get; set; }
7054 public signal bool change_current_page (int object);
7056 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_shortcut_get_type ()")]
7057 public class ShortcutsShortcut : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7058 [CCode (has_construct_function = false)]
7059 protected ShortcutsShortcut ();
7061 public Gtk.SizeGroup accel_size_group { set; }
7063 public string accelerator { owned get; set; }
7065 [Version (since = "3.22")]
7066 public string action_name { owned get; set; }
7068 public Gtk.TextDirection direction { get; set; }
7070 public GLib.Icon icon { owned get; set; }
7072 public bool icon_set { get; set; }
7074 public Gtk.ShortcutType shortcut_type { get; set; }
7076 public string subtitle { owned get; set; }
7078 public bool subtitle_set { get; set; }
7080 public string title { owned get; set; }
7082 public Gtk.SizeGroup title_size_group { set; }
7084 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcuts_window_get_type ()")]
7085 public class ShortcutsWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
7086 [CCode (has_construct_function = false)]
7087 protected ShortcutsWindow ();
7089 public string section_name { owned get; set; }
7091 public string view_name { owned get; set; }
7092 public virtual signal void close ();
7093 public virtual signal void search ();
7095 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_size_group_get_type ()")]
7096 public class SizeGroup : GLib.Object, Gtk.Buildable {
7097 [CCode (has_construct_function = false)]
7098 public SizeGroup (Gtk.SizeGroupMode mode);
7099 public void add_widget (Gtk.Widget widget);
7100 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7101 public bool get_ignore_hidden ();
7102 public Gtk.SizeGroupMode get_mode ();
7103 [Version (since = "2.10")]
7104 public unowned GLib.SList<Gtk.Widget> get_widgets ();
7105 public void remove_widget (Gtk.Widget widget);
7106 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7107 public void set_ignore_hidden (bool ignore_hidden);
7108 public void set_mode (Gtk.SizeGroupMode mode);
7109 [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
7110 public bool ignore_hidden { get; set; }
7111 public Gtk.SizeGroupMode mode { get; set; }
7113 [CCode (cheader_filename = "gtk/gtkx.h", type_id = "gtk_socket_get_type ()")]
7114 public class Socket : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7115 [CCode (has_construct_function = false, type = "GtkWidget*")]
7117 public void add_id (X.Window window);
7118 public X.Window get_id ();
7119 [Version (since = "2.14")]
7120 public unowned Gdk.Window? get_plug_window ();
7121 public virtual signal void plug_added ();
7122 public virtual signal bool plug_removed ();
7124 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
7125 public class SpinButton : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable, Gtk.Orientable {
7126 [CCode (has_construct_function = false, type = "GtkWidget*")]
7127 public SpinButton (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
7128 public void configure (Gtk.Adjustment? adjustment, double climb_rate, uint digits);
7129 public unowned Gtk.Adjustment get_adjustment ();
7130 public uint get_digits ();
7131 public void get_increments (out double step, out double page);
7132 public bool get_numeric ();
7133 public void get_range (out double min, out double max);
7134 public bool get_snap_to_ticks ();
7135 public Gtk.SpinButtonUpdatePolicy get_update_policy ();
7136 public double get_value ();
7137 public int get_value_as_int ();
7138 public bool get_wrap ();
7139 public void set_adjustment (Gtk.Adjustment adjustment);
7140 public void set_digits (uint digits);
7141 public void set_increments (double step, double page);
7142 public void set_numeric (bool numeric);
7143 public void set_range (double min, double max);
7144 public void set_snap_to_ticks (bool snap_to_ticks);
7145 public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
7146 public void set_value (double value);
7147 public void set_wrap (bool wrap);
7148 public void spin (Gtk.SpinType direction, double increment);
7149 public void update ();
7150 [CCode (has_construct_function = false, type = "GtkWidget*")]
7151 public SpinButton.with_range (double min, double max, double step);
7152 public Gtk.Adjustment adjustment { get; set; }
7154 public double climb_rate { get; set; }
7155 public uint digits { get; set; }
7156 public bool numeric { get; set; }
7157 public bool snap_to_ticks { get; set; }
7158 public Gtk.SpinButtonUpdatePolicy update_policy { get; set; }
7159 public double value { get; set; }
7160 public bool wrap { get; set; }
7161 public virtual signal void change_value (Gtk.ScrollType scroll);
7162 public virtual signal int input (out double new_value);
7163 public virtual signal bool output ();
7164 public virtual signal void value_changed ();
7165 [Version (since = "2.10")]
7166 public virtual signal void wrapped ();
7168 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spin_button_accessible_get_type ()")]
7169 public class SpinButtonAccessible : Gtk.EntryAccessible, Atk.Action, Atk.Component, Atk.EditableText, Atk.Text, Atk.Value {
7170 [CCode (has_construct_function = false)]
7171 protected SpinButtonAccessible ();
7173 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spinner_get_type ()")]
7174 public class Spinner : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
7175 [CCode (has_construct_function = false, type = "GtkWidget*")]
7176 [Version (since = "2.20")]
7178 [Version (since = "2.20")]
7179 public void start ();
7180 [Version (since = "2.20")]
7181 public void stop ();
7183 public bool active { get; set; }
7185 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_spinner_accessible_get_type ()")]
7186 public class SpinnerAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Image {
7187 [CCode (has_construct_function = false)]
7188 protected SpinnerAccessible ();
7190 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_get_type ()")]
7191 public class Stack : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7192 [CCode (has_construct_function = false, type = "GtkWidget*")]
7193 [Version (since = "3.10")]
7195 [Version (since = "3.10")]
7196 public void add_named (Gtk.Widget child, string name);
7197 [Version (since = "3.10")]
7198 public void add_titled (Gtk.Widget child, string name, string title);
7199 [Version (since = "3.12")]
7200 public unowned Gtk.Widget? get_child_by_name (string name);
7201 [Version (since = "3.16")]
7202 public bool get_hhomogeneous ();
7203 [Version (since = "3.10")]
7204 public bool get_homogeneous ();
7205 [Version (since = "3.18")]
7206 public bool get_interpolate_size ();
7207 [Version (since = "3.10")]
7208 public uint get_transition_duration ();
7209 [Version (since = "3.12")]
7210 public bool get_transition_running ();
7211 [Version (since = "3.10")]
7212 public Gtk.StackTransitionType get_transition_type ();
7213 [Version (since = "3.16")]
7214 public bool get_vhomogeneous ();
7215 [Version (since = "3.10")]
7216 public unowned Gtk.Widget? get_visible_child ();
7217 [Version (since = "3.10")]
7218 public unowned string? get_visible_child_name ();
7219 [Version (since = "3.16")]
7220 public void set_hhomogeneous (bool hhomogeneous);
7221 [Version (since = "3.10")]
7222 public void set_homogeneous (bool homogeneous);
7223 [Version (since = "3.18")]
7224 public void set_interpolate_size (bool interpolate_size);
7225 [Version (since = "3.10")]
7226 public void set_transition_duration (uint duration);
7227 [Version (since = "3.10")]
7228 public void set_transition_type (Gtk.StackTransitionType transition);
7229 [Version (since = "3.16")]
7230 public void set_vhomogeneous (bool vhomogeneous);
7231 [Version (since = "3.10")]
7232 public void set_visible_child (Gtk.Widget child);
7233 [Version (since = "3.10")]
7234 public void set_visible_child_full (string name, Gtk.StackTransitionType transition);
7235 [Version (since = "3.10")]
7236 public void set_visible_child_name (string name);
7237 [Version (since = "3.16")]
7238 public bool hhomogeneous { get; set; }
7239 public bool homogeneous { get; set; }
7240 public bool interpolate_size { get; set; }
7241 public uint transition_duration { get; set; }
7242 public bool transition_running { get; }
7243 public Gtk.StackTransitionType transition_type { get; set; }
7244 [Version (since = "3.16")]
7245 public bool vhomogeneous { get; set; }
7246 public Gtk.Widget visible_child { get; set; }
7247 public string visible_child_name { get; set; }
7249 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_stack_accessible_get_type ()")]
7250 public class StackAccessible : Gtk.ContainerAccessible, Atk.Component {
7251 [CCode (has_construct_function = false)]
7252 protected StackAccessible ();
7254 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_sidebar_get_type ()")]
7255 public class StackSidebar : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
7256 [CCode (has_construct_function = false, type = "GtkWidget*")]
7257 [Version (since = "3.16")]
7258 public StackSidebar ();
7259 [Version (since = "3.16")]
7260 public unowned Gtk.Stack? get_stack ();
7261 [Version (since = "3.16")]
7262 public void set_stack (Gtk.Stack stack);
7263 public Gtk.Stack stack { get; set; }
7265 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_stack_switcher_get_type ()")]
7266 public class StackSwitcher : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7267 [CCode (has_construct_function = false, type = "GtkWidget*")]
7268 [Version (since = "3.10")]
7269 public StackSwitcher ();
7270 [Version (since = "3.10")]
7271 public unowned Gtk.Stack? get_stack ();
7272 [Version (since = "3.10")]
7273 public void set_stack (Gtk.Stack? stack);
7275 [Version (since = "3.20")]
7276 public int icon_size { get; set; }
7277 public Gtk.Stack stack { get; set construct; }
7279 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_status_icon_get_type ()")]
7280 [Version (deprecated = true, deprecated_since = "3.14")]
7281 public class StatusIcon : GLib.Object {
7282 [CCode (has_construct_function = false)]
7283 [Version (since = "2.10")]
7284 public StatusIcon ();
7285 [CCode (has_construct_function = false)]
7286 [Version (since = "2.10")]
7287 public StatusIcon.from_file (string filename);
7288 [CCode (has_construct_function = false)]
7289 [Version (since = "2.14")]
7290 public StatusIcon.from_gicon (GLib.Icon icon);
7291 [CCode (has_construct_function = false)]
7292 [Version (since = "2.10")]
7293 public StatusIcon.from_icon_name (string icon_name);
7294 [CCode (has_construct_function = false)]
7295 [Version (since = "2.10")]
7296 public StatusIcon.from_pixbuf (Gdk.Pixbuf pixbuf);
7297 [CCode (has_construct_function = false)]
7298 [Version (since = "2.10")]
7299 public StatusIcon.from_stock (string stock_id);
7300 [Version (since = "2.10")]
7301 public bool get_geometry (out unowned Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation);
7302 [Version (since = "2.14")]
7303 public unowned GLib.Icon? get_gicon ();
7304 [Version (since = "2.16")]
7305 public bool get_has_tooltip ();
7306 [Version (since = "2.10")]
7307 public unowned string? get_icon_name ();
7308 [Version (since = "2.10")]
7309 public unowned Gdk.Pixbuf? get_pixbuf ();
7310 [Version (since = "2.12")]
7311 public unowned Gdk.Screen get_screen ();
7312 [Version (since = "2.10")]
7313 public int get_size ();
7314 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
7315 public unowned string? get_stock ();
7316 [Version (since = "2.10")]
7317 public Gtk.ImageType get_storage_type ();
7318 [Version (since = "2.18")]
7319 public unowned string get_title ();
7320 [Version (since = "2.16")]
7321 public string? get_tooltip_markup ();
7322 [Version (since = "2.16")]
7323 public string? get_tooltip_text ();
7324 [Version (since = "2.10")]
7325 public bool get_visible ();
7326 [Version (since = "2.14")]
7327 public uint32 get_x11_window_id ();
7328 [Version (since = "2.10")]
7329 public bool is_embedded ();
7330 [CCode (instance_pos = -1)]
7331 [Version (since = "2.10")]
7332 public void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
7333 [Version (since = "2.10")]
7334 public void set_from_file (string filename);
7335 [Version (since = "2.14")]
7336 public void set_from_gicon (GLib.Icon icon);
7337 [Version (since = "2.10")]
7338 public void set_from_icon_name (string icon_name);
7339 [Version (since = "2.10")]
7340 public void set_from_pixbuf (Gdk.Pixbuf? pixbuf);
7341 [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
7342 public void set_from_stock (string stock_id);
7343 [Version (since = "2.16")]
7344 public void set_has_tooltip (bool has_tooltip);
7345 [Version (since = "2.20")]
7346 public void set_name (string name);
7347 [Version (since = "2.12")]
7348 public void set_screen (Gdk.Screen screen);
7349 [Version (since = "2.18")]
7350 public void set_title (string title);
7351 [Version (since = "2.16")]
7352 public void set_tooltip_markup (string? markup);
7353 [Version (since = "2.16")]
7354 public void set_tooltip_text (string text);
7355 [Version (since = "2.10")]
7356 public void set_visible (bool visible);
7358 [Version (since = "2.12")]
7359 public bool embedded { get; }
7361 public string file { set; }
7363 [Version (since = "2.14")]
7364 public GLib.Icon gicon { owned get; set; }
7365 [Version (since = "2.16")]
7366 public bool has_tooltip { get; set; }
7368 public string icon_name { owned get; set; }
7370 [Version (since = "2.12")]
7371 public Gtk.Orientation orientation { get; }
7373 public Gdk.Pixbuf pixbuf { owned get; set; }
7374 public Gdk.Screen screen { get; set; }
7375 public int size { get; }
7377 [Version (deprecated = true, deprecated_since = "3.10")]
7378 public string stock { owned get; set; }
7379 public Gtk.ImageType storage_type { get; }
7380 [Version (since = "2.18")]
7381 public string title { get; set; }
7382 [Version (since = "2.16")]
7383 public string tooltip_markup { owned get; set; }
7384 [Version (since = "2.16")]
7385 public string tooltip_text { owned get; set; }
7386 public bool visible { get; set; }
7387 [Version (since = "2.10")]
7388 public virtual signal void activate ();
7389 [Version (since = "2.14")]
7390 public virtual signal bool button_press_event (Gdk.EventButton event);
7391 [Version (since = "2.14")]
7392 public virtual signal bool button_release_event (Gdk.EventButton event);
7393 [Version (since = "2.10")]
7394 public virtual signal void popup_menu (uint button, uint activate_time);
7395 [Version (since = "2.16")]
7396 public virtual signal bool query_tooltip (int x, int y, bool keyboard_mode, Gtk.Tooltip tooltip);
7397 [Version (since = "2.16")]
7398 public virtual signal bool scroll_event (Gdk.EventScroll event);
7399 [Version (since = "2.10")]
7400 public virtual signal bool size_changed (int size);
7402 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_statusbar_get_type ()")]
7403 public class Statusbar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
7404 [CCode (has_construct_function = false, type = "GtkWidget*")]
7405 public Statusbar ();
7406 public uint get_context_id (string context_description);
7407 [Version (since = "2.20")]
7408 public unowned Gtk.Box get_message_area ();
7409 public void pop (uint context_id);
7410 public uint push (uint context_id, string text);
7411 public void remove (uint context_id, uint message_id);
7412 [Version (since = "2.22")]
7413 public void remove_all (uint context_id);
7414 public virtual signal void text_popped (uint context_id, string text);
7415 public virtual signal void text_pushed (uint context_id, string text);
7417 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_statusbar_accessible_get_type ()")]
7418 public class StatusbarAccessible : Gtk.ContainerAccessible, Atk.Component {
7419 [CCode (has_construct_function = false)]
7420 protected StatusbarAccessible ();
7422 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_get_type ()")]
7423 [Version (deprecated = true, deprecated_since = "3.0", replacement = "StyleContext")]
7424 public class Style : GLib.Object {
7425 [CCode (array_length = false)]
7426 public weak Cairo.Pattern background[5];
7427 [CCode (array_length = false)]
7428 public Gdk.Color @base[5];
7429 [CCode (array_length = false)]
7430 public Gdk.Color bg[5];
7431 public Gdk.Color black;
7432 [CCode (array_length = false)]
7433 public Gdk.Color dark[5];
7434 [CCode (array_length = false)]
7435 public Gdk.Color fg[5];
7436 public weak Pango.FontDescription font_desc;
7437 [CCode (array_length = false)]
7438 public Gdk.Color light[5];
7439 [CCode (array_length = false)]
7440 public Gdk.Color mid[5];
7441 [CCode (array_length = false)]
7442 public Gdk.Color text[5];
7443 [CCode (array_length = false)]
7444 public Gdk.Color text_aa[5];
7445 public Gdk.Color white;
7446 public int xthickness;
7447 public int ythickness;
7448 [CCode (has_construct_function = false)]
7450 public void apply_default_background (Cairo.Context cr, Gdk.Window window, Gtk.StateType state_type, int x, int y, int width, int height);
7452 public virtual Gtk.Style clone ();
7453 public Gtk.Style copy ();
7454 [CCode (instance_pos = -1, vfunc_name = "copy")]
7456 public virtual void copy_to (Gtk.Style dest);
7457 public void detach ();
7459 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);
7461 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);
7463 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);
7465 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);
7467 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);
7469 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);
7471 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);
7473 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);
7475 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);
7477 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);
7479 public virtual void draw_hline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x1, int x2, int y);
7481 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);
7483 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);
7485 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);
7487 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);
7489 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);
7491 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);
7493 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);
7495 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);
7497 public virtual void draw_vline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int y1_, int y2_, int x);
7498 [Version (since = "2.16")]
7499 public void @get (GLib.Type widget_type, ...);
7500 [Version (since = "2.16")]
7501 public void get_style_property (GLib.Type widget_type, string property_name, out GLib.Value value);
7502 [Version (since = "2.16")]
7503 public void get_valist (GLib.Type widget_type, string first_property_name, [CCode (type = "va_list")] va_list var_args);
7504 [Version (since = "3.0")]
7505 public bool has_context ();
7507 public virtual void init_from_rc (Gtk.RcStyle rc_style);
7508 [Version (since = "2.10")]
7509 public bool lookup_color (string color_name, out Gdk.Color color);
7510 public unowned Gtk.IconSet lookup_icon_set (string stock_id);
7511 public virtual Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, int size, Gtk.Widget? widget, string? detail);
7512 public virtual void set_background (Gdk.Window window, Gtk.StateType state_type);
7514 public Gtk.StyleContext context { owned get; construct; }
7515 [Version (since = "2.4")]
7516 public virtual signal void realize ();
7517 [Version (since = "2.4")]
7518 public virtual signal void unrealize ();
7520 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_context_get_type ()")]
7521 public class StyleContext : GLib.Object {
7522 [CCode (has_construct_function = false)]
7523 public StyleContext ();
7524 [Version (since = "3.0")]
7525 public void add_class (string class_name);
7526 [Version (since = "3.0")]
7527 public void add_provider (Gtk.StyleProvider provider, uint priority);
7528 [Version (since = "3.0")]
7529 public static void add_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider, uint priority);
7530 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7531 public void add_region (string region_name, Gtk.RegionFlags flags);
7532 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7533 public void cancel_animations (void* region_id);
7534 [Version (since = "3.0")]
7535 public void @get (Gtk.StateFlags state, ...);
7536 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7537 public Gdk.RGBA get_background_color (Gtk.StateFlags state);
7538 [Version (since = "3.0")]
7539 public Gtk.Border get_border (Gtk.StateFlags state);
7540 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7541 public Gdk.RGBA get_border_color (Gtk.StateFlags state);
7542 [Version (since = "3.0")]
7543 public Gdk.RGBA get_color (Gtk.StateFlags state);
7544 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7545 public Gtk.TextDirection get_direction ();
7546 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7547 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
7548 [Version (since = "3.8")]
7549 public unowned Gdk.FrameClock? get_frame_clock ();
7550 [Version (since = "3.0")]
7551 public Gtk.JunctionSides get_junction_sides ();
7552 [Version (since = "3.0")]
7553 public Gtk.Border get_margin (Gtk.StateFlags state);
7554 [Version (since = "3.0")]
7555 public Gtk.Border get_padding (Gtk.StateFlags state);
7556 [Version (since = "3.4")]
7557 public unowned Gtk.StyleContext? get_parent ();
7558 [Version (since = "3.0")]
7559 public unowned Gtk.WidgetPath get_path ();
7560 [Version (since = "3.0")]
7561 public GLib.Value get_property (string property, Gtk.StateFlags state);
7562 [Version (since = "3.10")]
7563 public int get_scale ();
7564 public unowned Gdk.Screen get_screen ();
7565 public unowned Gtk.CssSection? get_section (string property);
7566 [Version (since = "3.0")]
7567 public Gtk.StateFlags get_state ();
7568 [Version (since = "3.0")]
7569 public void get_style (...);
7570 public void get_style_property (string property_name, GLib.Value value);
7571 [Version (since = "3.0")]
7572 public void get_style_valist ([CCode (type = "va_list")] va_list args);
7573 [Version (since = "3.0")]
7574 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7575 [Version (since = "3.0")]
7576 public bool has_class (string class_name);
7577 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7578 public bool has_region (string region_name, out Gtk.RegionFlags flags_return);
7579 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
7580 public void invalidate ();
7581 [Version (since = "3.0")]
7582 public GLib.List<weak string> list_classes ();
7583 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7584 public GLib.List<weak string> list_regions ();
7585 public bool lookup_color (string color_name, out Gdk.RGBA color);
7586 [Version (deprecated = true, deprecated_since = "3.10")]
7587 public unowned Gtk.IconSet? lookup_icon_set (string stock_id);
7588 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7589 public void notify_state_change (Gdk.Window window, void* region_id, Gtk.StateType state, bool state_value);
7590 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7591 public void pop_animatable_region ();
7592 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7593 public void push_animatable_region (void* region_id);
7594 [Version (since = "3.0")]
7595 public void remove_class (string class_name);
7596 [Version (since = "3.0")]
7597 public void remove_provider (Gtk.StyleProvider provider);
7598 [Version (since = "3.0")]
7599 public static void remove_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider);
7600 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
7601 public void remove_region (string region_name);
7602 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_activity")]
7603 [Version (since = "3.0")]
7604 public void render_activity (Cairo.Context cr, double x, double y, double width, double height);
7605 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_arrow")]
7606 [Version (since = "3.0")]
7607 public void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
7608 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_background")]
7609 [Version (since = "3.0.")]
7610 public void render_background (Cairo.Context cr, double x, double y, double width, double height);
7611 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_background_get_clip")]
7612 [Version (since = "3.20")]
7613 public Gdk.Rectangle render_background_get_clip (double x, double y, double width, double height);
7614 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_check")]
7615 [Version (since = "3.0")]
7616 public void render_check (Cairo.Context cr, double x, double y, double width, double height);
7617 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_expander")]
7618 [Version (since = "3.0")]
7619 public void render_expander (Cairo.Context cr, double x, double y, double width, double height);
7620 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_extension")]
7621 [Version (since = "3.0")]
7622 public void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
7623 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_focus")]
7624 [Version (since = "3.0")]
7625 public void render_focus (Cairo.Context cr, double x, double y, double width, double height);
7626 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_frame")]
7627 [Version (since = "3.0")]
7628 public void render_frame (Cairo.Context cr, double x, double y, double width, double height);
7629 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_frame_gap")]
7630 [Version (deprecated = true, deprecated_since = "3.24", since = "3.0")]
7631 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);
7632 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_handle")]
7633 [Version (since = "3.0")]
7634 public void render_handle (Cairo.Context cr, double x, double y, double width, double height);
7635 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon")]
7636 [Version (since = "3.2")]
7637 public void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
7638 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon_pixbuf")]
7639 [Version (deprecated = true, deprecated_since = "3.10", since = "3.0")]
7640 public Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
7641 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_icon_surface")]
7642 [Version (since = "3.10")]
7643 public void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
7644 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_insertion_cursor")]
7645 [Version (since = "3.4")]
7646 public void render_insertion_cursor (Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
7647 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_layout")]
7648 [Version (since = "3.0")]
7649 public void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
7650 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_line")]
7651 [Version (since = "3.0")]
7652 public void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
7653 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_option")]
7654 [Version (since = "3.0")]
7655 public void render_option (Cairo.Context cr, double x, double y, double width, double height);
7656 [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_slider")]
7657 [Version (since = "3.0")]
7658 public void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
7659 [Version (since = "3.0")]
7660 public static void reset_widgets (Gdk.Screen screen);
7661 [Version (since = "3.0")]
7662 public void restore ();
7663 [Version (since = "3.0")]
7664 public void save ();
7665 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7666 public void scroll_animations (Gdk.Window window, int dx, int dy);
7667 [Version (deprecated = true, deprecated_since = "3.18", since = "3.0")]
7668 public void set_background (Gdk.Window window);
7669 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7670 public void set_direction (Gtk.TextDirection direction);
7671 [Version (since = "3.8")]
7672 public void set_frame_clock (Gdk.FrameClock frame_clock);
7673 [Version (since = "3.0")]
7674 public void set_junction_sides (Gtk.JunctionSides sides);
7675 [Version (since = "3.4")]
7676 public void set_parent (Gtk.StyleContext? parent);
7677 [Version (since = "3.0")]
7678 public void set_path (Gtk.WidgetPath path);
7679 [Version (since = "3.10")]
7680 public void set_scale (int scale);
7681 [Version (since = "3.0")]
7682 public void set_screen (Gdk.Screen screen);
7683 [Version (since = "3.0")]
7684 public void set_state (Gtk.StateFlags flags);
7685 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
7686 public bool state_is_running (Gtk.StateType state, out double progress);
7687 [Version (since = "3.20")]
7688 public string to_string (Gtk.StyleContextPrintFlags flags);
7689 public Gtk.TextDirection direction { get; set; }
7691 public Gdk.FrameClock paint_clock { owned get; set; }
7692 [Version (since = "3.4")]
7693 public Gtk.StyleContext parent { get; set; }
7694 public Gdk.Screen screen { get; set; }
7695 [Version (since = "3.0")]
7696 public virtual signal void changed ();
7698 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_properties_get_type ()")]
7699 public class StyleProperties : GLib.Object, Gtk.StyleProvider {
7700 [CCode (has_construct_function = false)]
7701 [Version (deprecated = true, deprecated_since = "3.16")]
7702 public StyleProperties ();
7703 [Version (deprecated = true, deprecated_since = "3.16")]
7704 public void clear ();
7705 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7706 public void @get (Gtk.StateFlags state, ...);
7707 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7708 public bool get_property (string property, Gtk.StateFlags state, out GLib.Value value);
7709 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7710 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7711 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7712 public unowned Gtk.SymbolicColor lookup_color (string name);
7713 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7714 public static bool lookup_property (string property_name, out Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec);
7715 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7716 public void map_color (string name, Gtk.SymbolicColor color);
7717 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7718 public void merge (Gtk.StyleProperties props_to_merge, bool replace);
7719 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7720 public static void register_property (Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
7721 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7722 public void @set (Gtk.StateFlags state, ...);
7723 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7724 public void set_property (string property, Gtk.StateFlags state, GLib.Value value);
7725 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7726 public void set_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
7727 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
7728 public void unset_property (string property, Gtk.StateFlags state);
7730 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_switch_get_type ()")]
7731 public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
7732 [CCode (has_construct_function = false, type = "GtkWidget*")]
7733 [Version (since = "3.0")]
7735 [Version (since = "3.0")]
7736 public bool get_active ();
7737 [Version (since = "3.14")]
7738 public bool get_state ();
7739 [Version (since = "3.0")]
7740 public void set_active (bool is_active);
7741 [Version (since = "3.14")]
7742 public void set_state (bool state);
7743 public bool active { get; set; }
7744 [Version (since = "3.14")]
7745 public bool state { get; set; }
7746 public virtual signal void activate ();
7747 [Version (since = "3.14")]
7748 public virtual signal bool state_set (bool state);
7750 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_switch_accessible_get_type ()")]
7751 public class SwitchAccessible : Gtk.WidgetAccessible, Atk.Action, Atk.Component {
7752 [CCode (has_construct_function = false)]
7753 protected SwitchAccessible ();
7755 [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")]
7757 public class SymbolicColor {
7758 [CCode (has_construct_function = false)]
7759 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7760 public SymbolicColor.alpha (Gtk.SymbolicColor color, double factor);
7761 [CCode (has_construct_function = false)]
7762 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7763 public SymbolicColor.literal (Gdk.RGBA color);
7764 [CCode (has_construct_function = false)]
7765 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7766 public SymbolicColor.mix (Gtk.SymbolicColor color1, Gtk.SymbolicColor color2, double factor);
7767 [CCode (has_construct_function = false)]
7768 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7769 public SymbolicColor.name (string name);
7770 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7771 public unowned Gtk.SymbolicColor @ref ();
7772 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7773 public bool resolve (Gtk.StyleProperties? props, out Gdk.RGBA resolved_color);
7774 [CCode (has_construct_function = false)]
7775 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7776 public SymbolicColor.shade (Gtk.SymbolicColor color, double factor);
7777 [Version (deprecated = true, deprecated_since = "3.8")]
7778 public string to_string ();
7779 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
7780 public void unref ();
7781 [CCode (has_construct_function = false)]
7782 [Version (deprecated = true, deprecated_since = "3.8", since = "3.4")]
7783 public SymbolicColor.win32 (string theme_class, int id);
7785 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_table_get_type ()")]
7786 [Version (deprecated = true, deprecated_since = "3.4", replacement = "Grid")]
7787 public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
7788 [CCode (has_construct_function = false, type = "GtkWidget*")]
7789 public Table (uint rows, uint columns, bool homogeneous);
7790 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);
7791 public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
7792 public uint get_col_spacing (uint column);
7793 public uint get_default_col_spacing ();
7794 public uint get_default_row_spacing ();
7795 public bool get_homogeneous ();
7796 public uint get_row_spacing (uint row);
7797 [Version (since = "2.22")]
7798 public void get_size (out uint rows, out uint columns);
7799 public void resize (uint rows, uint columns);
7800 public void set_col_spacing (uint column, uint spacing);
7801 public void set_col_spacings (uint spacing);
7802 public void set_homogeneous (bool homogeneous);
7803 public void set_row_spacing (uint row, uint spacing);
7804 public void set_row_spacings (uint spacing);
7806 public uint column_spacing { get; set; }
7807 public bool homogeneous { get; set; }
7809 public uint n_columns { get; set; }
7811 public uint n_rows { get; set; }
7813 public uint row_spacing { get; set; }
7815 [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")]
7817 public class TargetList {
7818 [CCode (has_construct_function = false)]
7819 public TargetList ([CCode (array_length_cname = "ntargets", array_length_pos = 1.1, array_length_type = "guint")] Gtk.TargetEntry[]? targets);
7820 public void add (Gdk.Atom target, uint flags, uint info);
7821 [Version (since = "2.6")]
7822 public void add_image_targets (uint info, bool writable);
7823 [Version (since = "2.10")]
7824 public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
7825 public void add_table ([CCode (array_length_cname = "ntargets", array_length_pos = 1.1, array_length_type = "guint")] Gtk.TargetEntry[] targets);
7826 [Version (since = "2.6")]
7827 public void add_text_targets (uint info);
7828 [Version (since = "2.6")]
7829 public void add_uri_targets (uint info);
7830 public bool find (Gdk.Atom target, out uint info);
7831 public unowned Gtk.TargetList @ref ();
7832 public void remove (Gdk.Atom target);
7833 public void unref ();
7835 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tearoff_menu_item_get_type ()")]
7836 [Version (deprecated = true, deprecated_since = "3.4")]
7837 public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
7838 [CCode (has_construct_function = false, type = "GtkWidget*")]
7839 public TearoffMenuItem ();
7841 [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")]
7843 public class TextAttributes {
7844 public Gtk.TextAppearance appearance;
7845 public uint bg_full_height;
7846 public Gtk.TextDirection direction;
7847 public uint editable;
7848 public Pango.FontDescription font;
7849 public string font_features;
7850 public double font_scale;
7852 public uint invisible;
7853 public Gtk.Justification justification;
7854 public Pango.Language language;
7855 public int left_margin;
7856 public int letter_spacing;
7857 public uint no_fallback;
7858 public int pixels_above_lines;
7859 public int pixels_below_lines;
7860 public int pixels_inside_wrap;
7861 public int right_margin;
7862 public Pango.TabArray tabs;
7863 public Gtk.WrapMode wrap_mode;
7864 [CCode (has_construct_function = false)]
7865 public TextAttributes ();
7866 public Gtk.TextAttributes copy ();
7867 public void copy_values (Gtk.TextAttributes dest);
7868 public unowned Gtk.TextAttributes @ref ();
7869 public void unref ();
7871 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
7873 public class TextBTree {
7875 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_buffer_get_type ()")]
7876 public class TextBuffer : GLib.Object {
7877 [CCode (has_construct_function = false)]
7878 public TextBuffer (Gtk.TextTagTable? table);
7879 [Version (since = "2.12")]
7880 public void add_mark (Gtk.TextMark mark, Gtk.TextIter where);
7881 public void add_selection_clipboard (Gtk.Clipboard clipboard);
7882 public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
7883 [Version (since = "2.6")]
7884 public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
7885 public void copy_clipboard (Gtk.Clipboard clipboard);
7886 public unowned Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
7887 public unowned Gtk.TextMark create_mark (string? mark_name, Gtk.TextIter where, bool left_gravity);
7888 public unowned Gtk.TextTag create_tag (string? tag_name, ...);
7889 public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable);
7890 public void @delete (ref Gtk.TextIter start, ref Gtk.TextIter end);
7891 public bool delete_interactive (ref Gtk.TextIter start_iter, ref Gtk.TextIter end_iter, bool default_editable);
7892 public void delete_mark (Gtk.TextMark mark);
7893 public void delete_mark_by_name (string name);
7894 public bool delete_selection (bool interactive, bool default_editable);
7895 [Version (since = "2.10")]
7896 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;
7897 [Version (since = "2.10")]
7898 public bool deserialize_get_can_create_tags (Gdk.Atom format);
7899 [Version (since = "2.10")]
7900 public void deserialize_set_can_create_tags (Gdk.Atom format, bool can_create_tags);
7901 public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
7902 public int get_char_count ();
7903 [Version (since = "2.10")]
7904 public unowned Gtk.TargetList get_copy_target_list ();
7905 [CCode (array_length_pos = 0.1)]
7906 [Version (since = "2.10")]
7907 public Gdk.Atom[] get_deserialize_formats ();
7908 public void get_end_iter (out Gtk.TextIter iter);
7909 [Version (since = "2.10")]
7910 public bool get_has_selection ();
7911 public unowned Gtk.TextMark get_insert ();
7912 public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
7913 public void get_iter_at_line (out Gtk.TextIter iter, int line_number);
7914 public void get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
7915 public void get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
7916 public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
7917 public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
7918 public int get_line_count ();
7919 public unowned Gtk.TextMark? get_mark (string name);
7920 public bool get_modified ();
7921 [Version (since = "2.10")]
7922 public unowned Gtk.TargetList get_paste_target_list ();
7923 public unowned Gtk.TextMark get_selection_bound ();
7924 public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
7925 [CCode (array_length_pos = 0.1)]
7926 [Version (since = "2.10")]
7927 public Gdk.Atom[] get_serialize_formats ();
7928 public string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
7929 public void get_start_iter (out Gtk.TextIter iter);
7930 public unowned Gtk.TextTagTable get_tag_table ();
7931 public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
7932 public void insert (ref Gtk.TextIter iter, string text, int len);
7933 public void insert_at_cursor (string text, int len);
7934 public bool insert_interactive (ref Gtk.TextIter iter, string text, int len, bool default_editable);
7935 public bool insert_interactive_at_cursor (string text, int len, bool default_editable);
7936 [Version (since = "3.16")]
7937 public void insert_markup (ref Gtk.TextIter iter, string markup, int len);
7938 public void insert_range (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end);
7939 public bool insert_range_interactive (ref Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable);
7940 public void insert_with_tags (ref Gtk.TextIter iter, string text, int len, ...);
7941 public void insert_with_tags_by_name (ref Gtk.TextIter iter, string text, int len, ...);
7942 public void move_mark (Gtk.TextMark mark, Gtk.TextIter where);
7943 public void move_mark_by_name (string name, Gtk.TextIter where);
7944 public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter? override_location, bool default_editable);
7945 public void place_cursor (Gtk.TextIter where);
7946 [Version (since = "2.10")]
7947 public Gdk.Atom register_deserialize_format (string mime_type, owned Gtk.TextBufferDeserializeFunc function);
7948 [Version (since = "2.10")]
7949 public Gdk.Atom register_deserialize_tagset (string? tagset_name);
7950 [Version (since = "2.10")]
7951 public Gdk.Atom register_serialize_format (string mime_type, owned Gtk.TextBufferSerializeFunc function);
7952 [Version (since = "2.10")]
7953 public Gdk.Atom register_serialize_tagset (string? tagset_name);
7954 public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end);
7955 public void remove_selection_clipboard (Gtk.Clipboard clipboard);
7956 public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
7957 [Version (since = "2.4")]
7958 public void select_range (Gtk.TextIter ins, Gtk.TextIter bound);
7959 [CCode (array_length_pos = 4.1, array_length_type = "gsize")]
7960 [Version (since = "2.10")]
7961 public uint8[] serialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end);
7962 public void set_modified (bool setting);
7963 public void set_text (string text, int len = -1);
7964 [Version (since = "2.10")]
7965 public void unregister_deserialize_format (Gdk.Atom format);
7966 [Version (since = "2.10")]
7967 public void unregister_serialize_format (Gdk.Atom format);
7968 [Version (since = "2.10")]
7969 public Gtk.TargetList copy_target_list { get; }
7971 [Version (since = "2.10")]
7972 public int cursor_position { get; }
7973 [Version (since = "2.10")]
7974 public bool has_selection { get; }
7975 [Version (since = "2.10")]
7976 public Gtk.TargetList paste_target_list { get; }
7977 public Gtk.TextTagTable tag_table { get; construct; }
7979 [Version (since = "2.8")]
7980 public string text { owned get; set; }
7982 public virtual signal void apply_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
7984 public virtual signal void begin_user_action ();
7985 public virtual signal void changed ();
7986 public virtual signal void delete_range (Gtk.TextIter start, Gtk.TextIter end);
7988 public virtual signal void end_user_action ();
7990 public virtual signal void insert_child_anchor (Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
7992 public virtual signal void insert_pixbuf (Gtk.TextIter iter, Gdk.Pixbuf pixbuf);
7993 public virtual signal void insert_text (ref Gtk.TextIter pos, string new_text, int new_text_length);
7994 public virtual signal void mark_deleted (Gtk.TextMark mark);
7995 public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
7996 public virtual signal void modified_changed ();
7997 [Version (since = "2.16")]
7998 public virtual signal void paste_done (Gtk.Clipboard clipboard);
8000 public virtual signal void remove_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
8002 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_cell_accessible_get_type ()")]
8003 public class TextCellAccessible : Gtk.RendererCellAccessible, Atk.Action, Atk.Component, Atk.Text {
8004 [CCode (has_construct_function = false)]
8005 protected TextCellAccessible ();
8007 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_child_anchor_get_type ()")]
8008 public class TextChildAnchor : GLib.Object {
8009 [CCode (has_construct_function = false)]
8010 public TextChildAnchor ();
8011 public bool get_deleted ();
8012 public GLib.List<weak Gtk.Widget> get_widgets ();
8014 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_mark_get_type ()")]
8015 public class TextMark : GLib.Object {
8016 [CCode (has_construct_function = false)]
8017 [Version (since = "2.12")]
8018 public TextMark (string? name, bool left_gravity = false);
8019 public unowned Gtk.TextBuffer get_buffer ();
8020 public bool get_deleted ();
8021 public bool get_left_gravity ();
8022 public unowned string? get_name ();
8023 public bool get_visible ();
8024 public void set_visible (bool setting);
8025 public bool left_gravity { get; construct; }
8026 public string name { get; construct; }
8028 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_get_type ()")]
8029 public class TextTag : GLib.Object {
8030 [CCode (has_construct_function = false)]
8031 public TextTag (string? name = null);
8032 [Version (since = "3.20")]
8033 public void changed (bool size_changed);
8034 public int get_priority ();
8035 public void set_priority (int priority);
8037 [Version (since = "2.12")]
8038 public bool accumulative_margin { get; set; }
8040 public string background { set; }
8042 public bool background_full_height { get; set; }
8044 public bool background_full_height_set { get; set; }
8046 [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
8047 public Gdk.Color background_gdk { get; set; }
8049 [Version (since = "3.2")]
8050 public Gdk.RGBA background_rgba { get; set; }
8052 public bool background_set { get; set; }
8054 public Gtk.TextDirection direction { get; set; }
8056 public bool editable { get; set; }
8058 public bool editable_set { get; set; }
8060 [Version (since = "3.16")]
8061 public bool fallback { get; set; }
8063 public bool fallback_set { get; set; }
8065 public string family { owned get; set; }
8067 public bool family_set { get; set; }
8069 public string font { owned get; set; }
8071 public Pango.FontDescription font_desc { owned get; set; }
8073 [Version (since = "3.18")]
8074 public string font_features { owned get; set; }
8076 public bool font_features_set { get; set; }
8078 public string foreground { set; }
8080 [Version (deprecated = true, deprecated_since = "3.4", replacement = "foreground_rgba")]
8081 public Gdk.Color foreground_gdk { get; set; }
8083 [Version (since = "3.2")]
8084 public Gdk.RGBA foreground_rgba { get; set; }
8086 public bool foreground_set { get; set; }
8088 public int indent { get; set; }
8090 public bool indent_set { get; set; }
8092 [Version (since = "2.8")]
8093 public bool invisible { get; set; }
8095 public bool invisible_set { get; set; }
8097 public Gtk.Justification justification { get; set; }
8099 public bool justification_set { get; set; }
8101 public string language { owned get; set; }
8103 public bool language_set { get; set; }
8105 public int left_margin { get; set; }
8107 public bool left_margin_set { get; set; }
8109 [Version (since = "3.16")]
8110 public int letter_spacing { get; set; }
8112 public bool letter_spacing_set { get; set; }
8114 public string name { owned get; construct; }
8116 [Version (since = "2.8")]
8117 public string paragraph_background { set; }
8119 [Version (deprecated = true, deprecated_since = "3.4", replacement = "paragraph_background_rgba", since = "2.8")]
8120 public Gdk.Color paragraph_background_gdk { get; set; }
8122 [Version (since = "3.2")]
8123 public Gdk.RGBA paragraph_background_rgba { get; set; }
8125 public bool paragraph_background_set { get; set; }
8127 public int pixels_above_lines { get; set; }
8129 public bool pixels_above_lines_set { get; set; }
8131 public int pixels_below_lines { get; set; }
8133 public bool pixels_below_lines_set { get; set; }
8135 public int pixels_inside_wrap { get; set; }
8137 public bool pixels_inside_wrap_set { get; set; }
8139 public int right_margin { get; set; }
8141 public bool right_margin_set { get; set; }
8143 public int rise { get; set; }
8145 public bool rise_set { get; set; }
8147 public double scale { get; set; }
8149 public bool scale_set { get; set; }
8151 public int size { get; set; }
8153 public double size_points { get; set; }
8155 public bool size_set { get; set; }
8157 public Pango.Stretch stretch { get; set; }
8159 public bool stretch_set { get; set; }
8161 public bool strikethrough { get; set; }
8163 [Version (since = "3.16")]
8164 public Gdk.RGBA strikethrough_rgba { get; set; }
8166 [Version (since = "3.16")]
8167 public bool strikethrough_rgba_set { get; set; }
8169 public bool strikethrough_set { get; set; }
8171 public Pango.Style style { get; set; }
8173 public bool style_set { get; set; }
8175 public Pango.TabArray tabs { owned get; set; }
8177 public bool tabs_set { get; set; }
8179 public Pango.Underline underline { get; set; }
8181 [Version (since = "3.16")]
8182 public Gdk.RGBA underline_rgba { get; set; }
8184 [Version (since = "3.16")]
8185 public bool underline_rgba_set { get; set; }
8187 public bool underline_set { get; set; }
8189 public Pango.Variant variant { get; set; }
8191 public bool variant_set { get; set; }
8193 public int weight { get; set; }
8195 public bool weight_set { get; set; }
8197 public Gtk.WrapMode wrap_mode { get; set; }
8199 public bool wrap_mode_set { get; set; }
8201 public virtual signal bool event (GLib.Object event_object, Gdk.Event event, Gtk.TextIter iter);
8203 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_tag_table_get_type ()")]
8204 public class TextTagTable : GLib.Object, Gtk.Buildable {
8205 [CCode (has_construct_function = false)]
8206 public TextTagTable ();
8207 public bool add (Gtk.TextTag tag);
8208 public void @foreach (Gtk.TextTagTableForeach func);
8209 public int get_size ();
8210 public unowned Gtk.TextTag? lookup (string name);
8211 public void remove (Gtk.TextTag tag);
8212 public virtual signal void tag_added (Gtk.TextTag tag);
8213 public virtual signal void tag_changed (Gtk.TextTag tag, bool size_changed);
8214 public virtual signal void tag_removed (Gtk.TextTag tag);
8216 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_view_get_type ()")]
8217 public class TextView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
8218 [CCode (has_construct_function = false, type = "GtkWidget*")]
8220 public void add_child_at_anchor (Gtk.Widget child, Gtk.TextChildAnchor anchor);
8221 public void add_child_in_window (Gtk.Widget child, Gtk.TextWindowType which_window, int xpos, int ypos);
8222 public bool backward_display_line (ref Gtk.TextIter iter);
8223 public bool backward_display_line_start (ref Gtk.TextIter iter);
8224 public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y);
8226 public virtual Gtk.TextBuffer create_buffer ();
8228 public virtual void draw_layer (Gtk.TextViewLayer layer, Cairo.Context cr);
8229 public bool forward_display_line (ref Gtk.TextIter iter);
8230 public bool forward_display_line_end (ref Gtk.TextIter iter);
8231 [Version (since = "2.4")]
8232 public bool get_accepts_tab ();
8233 public int get_border_window_size (Gtk.TextWindowType type);
8234 [Version (since = "3.18")]
8235 public int get_bottom_margin ();
8236 public unowned Gtk.TextBuffer get_buffer ();
8237 [Version (since = "3.0")]
8238 public void get_cursor_locations (Gtk.TextIter? iter, out Gdk.Rectangle strong, out Gdk.Rectangle @weak);
8239 public bool get_cursor_visible ();
8240 public Gtk.TextAttributes get_default_attributes ();
8241 public bool get_editable ();
8242 [Version (deprecated = true, deprecated_since = "3.0", since = "2.22")]
8243 public unowned Gtk.Adjustment get_hadjustment ();
8244 public int get_indent ();
8245 [Version (since = "3.6")]
8246 public Gtk.InputHints get_input_hints ();
8247 [Version (since = "3.6")]
8248 public Gtk.InputPurpose get_input_purpose ();
8249 public bool get_iter_at_location (out Gtk.TextIter iter, int x, int y);
8250 [Version (since = "2.6")]
8251 public bool get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
8252 public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
8253 public Gtk.Justification get_justification ();
8254 public int get_left_margin ();
8255 public void get_line_at_y (out Gtk.TextIter target_iter, int y, out int line_top);
8256 public void get_line_yrange (Gtk.TextIter iter, out int y, out int height);
8257 [Version (since = "3.16")]
8258 public bool get_monospace ();
8259 [Version (since = "2.4")]
8260 public bool get_overwrite ();
8261 public int get_pixels_above_lines ();
8262 public int get_pixels_below_lines ();
8263 public int get_pixels_inside_wrap ();
8264 public int get_right_margin ();
8265 public Pango.TabArray? get_tabs ();
8266 [Version (since = "3.18")]
8267 public int get_top_margin ();
8268 [Version (deprecated = true, deprecated_since = "3.0", since = "2.22")]
8269 public unowned Gtk.Adjustment get_vadjustment ();
8270 public void get_visible_rect (out Gdk.Rectangle visible_rect);
8271 public unowned Gdk.Window? get_window (Gtk.TextWindowType win);
8272 public Gtk.TextWindowType get_window_type (Gdk.Window window);
8273 public Gtk.WrapMode get_wrap_mode ();
8274 [Version (since = "2.22")]
8275 public bool im_context_filter_keypress (Gdk.EventKey event);
8276 public void move_child (Gtk.Widget child, int xpos, int ypos);
8277 public bool move_mark_onscreen (Gtk.TextMark mark);
8278 public bool move_visually (ref Gtk.TextIter iter, int count);
8279 public bool place_cursor_onscreen ();
8280 [Version (since = "3.20")]
8281 public void reset_cursor_blink ();
8282 [Version (since = "2.22")]
8283 public void reset_im_context ();
8284 public void scroll_mark_onscreen (Gtk.TextMark mark);
8285 public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
8286 public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
8287 [Version (since = "2.4")]
8288 public void set_accepts_tab (bool accepts_tab);
8289 public void set_border_window_size (Gtk.TextWindowType type, int size);
8290 [Version (since = "3.18")]
8291 public void set_bottom_margin (int bottom_margin);
8292 public void set_buffer (Gtk.TextBuffer? buffer);
8293 public void set_cursor_visible (bool setting);
8294 public void set_editable (bool setting);
8295 public void set_indent (int indent);
8296 [Version (since = "3.6")]
8297 public void set_input_hints (Gtk.InputHints hints);
8298 [Version (since = "3.6")]
8299 public void set_input_purpose (Gtk.InputPurpose purpose);
8300 public void set_justification (Gtk.Justification justification);
8301 public void set_left_margin (int left_margin);
8302 [Version (since = "3.16")]
8303 public void set_monospace (bool monospace);
8304 [Version (since = "2.4")]
8305 public void set_overwrite (bool overwrite);
8306 public void set_pixels_above_lines (int pixels_above_lines);
8307 public void set_pixels_below_lines (int pixels_below_lines);
8308 public void set_pixels_inside_wrap (int pixels_inside_wrap);
8309 public void set_right_margin (int right_margin);
8310 public void set_tabs (Pango.TabArray tabs);
8311 [Version (since = "3.18")]
8312 public void set_top_margin (int top_margin);
8313 public void set_wrap_mode (Gtk.WrapMode wrap_mode);
8314 public bool starts_display_line (Gtk.TextIter iter);
8315 public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y);
8316 [CCode (has_construct_function = false, type = "GtkWidget*")]
8317 public TextView.with_buffer (Gtk.TextBuffer buffer);
8318 public bool accepts_tab { get; set; }
8319 [Version (since = "3.18")]
8320 public int bottom_margin { get; set; }
8321 public Gtk.TextBuffer buffer { get; set; }
8322 public bool cursor_visible { get; set; }
8323 public bool editable { get; set; }
8325 [Version (since = "2.16")]
8326 public string im_module { owned get; set; }
8327 public int indent { get; set; }
8328 [Version (since = "3.6")]
8329 public Gtk.InputHints input_hints { get; set; }
8330 [Version (since = "3.6")]
8331 public Gtk.InputPurpose input_purpose { get; set; }
8332 public Gtk.Justification justification { get; set; }
8333 public int left_margin { get; set; }
8334 public bool monospace { get; set; }
8335 public bool overwrite { get; set; }
8336 public int pixels_above_lines { get; set; }
8337 public int pixels_below_lines { get; set; }
8338 public int pixels_inside_wrap { get; set; }
8340 [Version (since = "3.8")]
8341 public bool populate_all { get; set; }
8342 public int right_margin { get; set; }
8343 public Pango.TabArray tabs { owned get; set; }
8344 [Version (since = "3.18")]
8345 public int top_margin { get; set; }
8346 public Gtk.WrapMode wrap_mode { get; set; }
8347 public virtual signal void backspace ();
8348 public virtual signal void copy_clipboard ();
8349 public virtual signal void cut_clipboard ();
8350 public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
8351 [Version (since = "3.16")]
8352 public virtual signal bool extend_selection (Gtk.TextExtendSelection granularity, Gtk.TextIter location, Gtk.TextIter start, Gtk.TextIter end);
8353 public virtual signal void insert_at_cursor (string str);
8354 [Version (since = "3.22.27")]
8355 public virtual signal void insert_emoji ();
8356 public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
8357 public signal void move_viewport (Gtk.ScrollStep step, int count);
8358 public virtual signal void paste_clipboard ();
8359 public virtual signal void populate_popup (Gtk.Menu popup);
8360 [Version (since = "2.20")]
8361 public signal void preedit_changed (string preedit);
8362 public signal void select_all (bool select);
8363 public virtual signal void set_anchor ();
8364 public signal void toggle_cursor_visible ();
8365 public virtual signal void toggle_overwrite ();
8367 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_text_view_accessible_get_type ()")]
8368 public class TextViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.EditableText, Atk.StreamableContent, Atk.Text {
8369 [CCode (has_construct_function = false)]
8370 protected TextViewAccessible ();
8372 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
8374 public class ThemeEngine {
8376 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_theming_engine_get_type ()")]
8377 public class ThemingEngine : GLib.Object {
8378 [CCode (has_construct_function = false)]
8379 protected ThemingEngine ();
8380 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8381 public void @get (Gtk.StateFlags state, ...);
8382 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8383 public Gdk.RGBA get_background_color (Gtk.StateFlags state);
8384 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8385 public Gtk.Border get_border (Gtk.StateFlags state);
8386 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8387 public Gdk.RGBA get_border_color (Gtk.StateFlags state);
8388 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8389 public Gdk.RGBA get_color (Gtk.StateFlags state);
8390 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8391 public Gtk.TextDirection get_direction ();
8392 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8393 public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
8394 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8395 public Gtk.JunctionSides get_junction_sides ();
8396 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8397 public Gtk.Border get_margin (Gtk.StateFlags state);
8398 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8399 public Gtk.Border get_padding (Gtk.StateFlags state);
8400 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8401 public unowned Gtk.WidgetPath get_path ();
8402 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8403 public GLib.Value get_property (string property, Gtk.StateFlags state);
8404 [Version (deprecated = true, deprecated_since = "3.14")]
8405 public unowned Gdk.Screen? get_screen ();
8406 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8407 public Gtk.StateFlags get_state ();
8408 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8409 public void get_style (...);
8410 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8411 public GLib.Value get_style_property (string property_name);
8412 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8413 public void get_style_valist ([CCode (type = "va_list")] va_list args);
8414 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8415 public void get_valist (Gtk.StateFlags state, [CCode (type = "va_list")] va_list args);
8416 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8417 public bool has_class (string style_class);
8418 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8419 public bool has_region (string style_region, out Gtk.RegionFlags flags);
8420 [Version (deprecated = true, deprecated_since = "3.14")]
8421 public static unowned Gtk.ThemingEngine? load (string name);
8422 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
8423 public bool lookup_color (string color_name, out Gdk.RGBA color);
8424 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
8425 public static void register_property (string name_space, Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
8427 public virtual void render_activity (Cairo.Context cr, double x, double y, double width, double height);
8429 public virtual void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
8431 public virtual void render_background (Cairo.Context cr, double x, double y, double width, double height);
8433 public virtual void render_check (Cairo.Context cr, double x, double y, double width, double height);
8435 public virtual void render_expander (Cairo.Context cr, double x, double y, double width, double height);
8437 public virtual void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
8439 public virtual void render_focus (Cairo.Context cr, double x, double y, double width, double height);
8441 public virtual void render_frame (Cairo.Context cr, double x, double y, double width, double height);
8443 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);
8445 public virtual void render_handle (Cairo.Context cr, double x, double y, double width, double height);
8447 public virtual void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
8449 public virtual Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
8451 public virtual void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y);
8453 public virtual void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
8455 public virtual void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
8457 public virtual void render_option (Cairo.Context cr, double x, double y, double width, double height);
8459 public virtual void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
8460 [Version (deprecated = true, deprecated_since = "3.6", since = "3.0")]
8461 public bool state_is_running (Gtk.StateType state, out double progress);
8463 [Version (since = "3.0")]
8464 public string name { owned get; construct; }
8466 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_action_get_type ()")]
8467 [Version (deprecated = true, deprecated_since = "3.10")]
8468 public class ToggleAction : Gtk.Action, Gtk.Buildable {
8469 [CCode (has_construct_function = false)]
8470 [Version (since = "2.4")]
8471 public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
8472 [Version (since = "2.4")]
8473 public bool get_active ();
8474 [Version (since = "2.4")]
8475 public bool get_draw_as_radio ();
8476 [Version (since = "2.4")]
8477 public void set_active (bool is_active);
8478 [Version (since = "2.4")]
8479 public void set_draw_as_radio (bool draw_as_radio);
8480 [Version (since = "2.10")]
8481 public bool active { get; set; }
8482 public bool draw_as_radio { get; set; }
8484 public virtual signal void toggled ();
8486 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_button_get_type ()")]
8487 public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8488 [CCode (has_construct_function = false, type = "GtkWidget*")]
8489 public ToggleButton ();
8490 public bool get_active ();
8491 public bool get_inconsistent ();
8492 public bool get_mode ();
8493 public void set_active (bool is_active);
8494 public void set_inconsistent (bool setting);
8495 public void set_mode (bool draw_indicator);
8496 [CCode (has_construct_function = false, type = "GtkWidget*")]
8497 public ToggleButton.with_label (string label);
8498 [CCode (has_construct_function = false, type = "GtkWidget*")]
8499 public ToggleButton.with_mnemonic (string label);
8500 public bool active { get; set; }
8502 public bool draw_indicator { get; set; }
8503 public bool inconsistent { get; set; }
8505 public virtual signal void toggled ();
8507 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toggle_button_accessible_get_type ()")]
8508 public class ToggleButtonAccessible : Gtk.ButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
8509 [CCode (has_construct_function = false)]
8510 protected ToggleButtonAccessible ();
8512 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_tool_button_get_type ()")]
8513 public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8514 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8515 [Version (since = "2.4")]
8516 public ToggleToolButton ();
8517 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8518 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8519 public ToggleToolButton.from_stock (string stock_id);
8520 [Version (since = "2.4")]
8521 public bool get_active ();
8522 [Version (since = "2.4")]
8523 public void set_active (bool is_active);
8524 [Version (since = "2.8")]
8525 public bool active { get; set; }
8526 public virtual signal void toggled ();
8528 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_button_get_type ()")]
8529 public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
8530 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8531 [Version (since = "2.4")]
8532 public ToolButton (Gtk.Widget? icon_widget, string? label);
8533 [CCode (has_construct_function = false, type = "GtkToolItem*")]
8534 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8535 public ToolButton.from_stock (string stock_id);
8536 [Version (since = "2.8")]
8537 public unowned string? get_icon_name ();
8538 [Version (since = "2.4")]
8539 public unowned Gtk.Widget? get_icon_widget ();
8540 [Version (since = "2.4")]
8541 public unowned string? get_label ();
8542 [Version (since = "2.4")]
8543 public unowned Gtk.Widget? get_label_widget ();
8544 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8545 public unowned string get_stock_id ();
8546 [Version (since = "2.4")]
8547 public bool get_use_underline ();
8548 [Version (since = "2.8")]
8549 public void set_icon_name (string? icon_name);
8550 [Version (since = "2.4")]
8551 public void set_icon_widget (Gtk.Widget? icon_widget);
8552 [Version (since = "2.4")]
8553 public void set_label (string? label);
8554 [Version (since = "2.4")]
8555 public void set_label_widget (Gtk.Widget? label_widget);
8556 [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
8557 public void set_stock_id (string? stock_id);
8558 [Version (since = "2.4")]
8559 public void set_use_underline (bool use_underline);
8560 [Version (since = "2.8")]
8561 public string icon_name { get; set; }
8562 public Gtk.Widget icon_widget { get; set; }
8563 public string label { get; set; }
8564 public Gtk.Widget label_widget { get; set; }
8565 [Version (deprecated = true, deprecated_since = "3.10")]
8566 public string stock_id { get; set; }
8567 public bool use_underline { get; set; }
8568 public virtual signal void clicked ();
8570 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_get_type ()")]
8571 public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Activatable, Gtk.Buildable {
8572 [CCode (has_construct_function = false)]
8573 [Version (since = "2.4")]
8575 [Version (since = "2.20")]
8576 public Pango.EllipsizeMode get_ellipsize_mode ();
8577 [Version (since = "2.4")]
8578 public bool get_expand ();
8579 [Version (since = "2.4")]
8580 public bool get_homogeneous ();
8581 [Version (since = "2.4")]
8582 public Gtk.IconSize get_icon_size ();
8583 [Version (since = "2.4")]
8584 public bool get_is_important ();
8585 [Version (since = "2.4")]
8586 public Gtk.Orientation get_orientation ();
8587 [Version (since = "2.4")]
8588 public unowned Gtk.Widget? get_proxy_menu_item (string menu_item_id);
8589 [Version (since = "2.4")]
8590 public Gtk.ReliefStyle get_relief_style ();
8591 [Version (since = "2.20")]
8592 public float get_text_alignment ();
8593 [Version (since = "2.20")]
8594 public Gtk.Orientation get_text_orientation ();
8595 [Version (since = "2.20")]
8596 public unowned Gtk.SizeGroup get_text_size_group ();
8597 [Version (since = "2.4")]
8598 public Gtk.ToolbarStyle get_toolbar_style ();
8599 [Version (since = "2.4")]
8600 public bool get_use_drag_window ();
8601 [Version (since = "2.4")]
8602 public bool get_visible_horizontal ();
8603 [Version (since = "2.4")]
8604 public bool get_visible_vertical ();
8605 [Version (since = "2.6")]
8606 public void rebuild_menu ();
8607 [Version (since = "2.4")]
8608 public unowned Gtk.Widget retrieve_proxy_menu_item ();
8609 [Version (since = "2.4")]
8610 public void set_expand (bool expand);
8611 [Version (since = "2.4")]
8612 public void set_homogeneous (bool homogeneous);
8613 [Version (since = "2.4")]
8614 public void set_is_important (bool is_important);
8615 [Version (since = "2.4")]
8616 public void set_proxy_menu_item (string menu_item_id, Gtk.Widget? menu_item);
8617 [Version (since = "2.12")]
8618 public void set_tooltip_markup (string markup);
8619 [Version (since = "2.12")]
8620 public void set_tooltip_text (string text);
8621 [Version (since = "2.4")]
8622 public void set_use_drag_window (bool use_drag_window);
8623 [Version (since = "2.4")]
8624 public void set_visible_horizontal (bool visible_horizontal);
8625 [Version (since = "2.4")]
8626 public void set_visible_vertical (bool visible_vertical);
8627 public bool is_important { get; set; }
8628 public bool visible_horizontal { get; set; }
8629 public bool visible_vertical { get; set; }
8630 public virtual signal bool create_menu_proxy ();
8632 public virtual signal void toolbar_reconfigured ();
8634 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_group_get_type ()")]
8635 public class ToolItemGroup : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
8636 [CCode (has_construct_function = false, type = "GtkWidget*")]
8637 [Version (since = "2.20")]
8638 public ToolItemGroup (string label);
8639 [Version (since = "2.20")]
8640 public bool get_collapsed ();
8641 [Version (since = "2.20")]
8642 public unowned Gtk.ToolItem get_drop_item (int x, int y);
8643 [Version (since = "2.20")]
8644 public Pango.EllipsizeMode get_ellipsize ();
8645 [Version (since = "2.20")]
8646 public Gtk.ReliefStyle get_header_relief ();
8647 [Version (since = "2.20")]
8648 public int get_item_position (Gtk.ToolItem item);
8649 [Version (since = "2.20")]
8650 public unowned string get_label ();
8651 [Version (since = "2.20")]
8652 public unowned Gtk.Widget get_label_widget ();
8653 [Version (since = "2.20")]
8654 public uint get_n_items ();
8655 [Version (since = "2.20")]
8656 public unowned Gtk.ToolItem get_nth_item (uint index);
8657 [Version (since = "2.20")]
8658 public void insert (Gtk.ToolItem item, int position);
8659 [Version (since = "2.20")]
8660 public void set_collapsed (bool collapsed);
8661 [Version (since = "2.20")]
8662 public void set_ellipsize (Pango.EllipsizeMode ellipsize);
8663 [Version (since = "2.20")]
8664 public void set_header_relief (Gtk.ReliefStyle style);
8665 [Version (since = "2.20")]
8666 public void set_item_position (Gtk.ToolItem item, int position);
8667 [Version (since = "2.20")]
8668 public void set_label (string label);
8669 [Version (since = "2.20")]
8670 public void set_label_widget (Gtk.Widget label_widget);
8671 public bool collapsed { get; set; }
8672 public Pango.EllipsizeMode ellipsize { get; set; }
8673 public Gtk.ReliefStyle header_relief { get; set; }
8674 public string label { get; set; }
8675 public Gtk.Widget label_widget { get; set; }
8677 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_palette_get_type ()")]
8678 public class ToolPalette : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Scrollable {
8679 [CCode (has_construct_function = false, type = "GtkWidget*")]
8680 [Version (since = "2.20")]
8681 public ToolPalette ();
8682 [Version (since = "2.20")]
8683 public void add_drag_dest (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.ToolPaletteDragTargets targets, Gdk.DragAction actions);
8684 [Version (since = "2.20")]
8685 public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
8686 [Version (since = "2.20")]
8687 public static unowned Gtk.TargetEntry? get_drag_target_group ();
8688 [Version (since = "2.20")]
8689 public static unowned Gtk.TargetEntry? get_drag_target_item ();
8690 [Version (since = "2.20")]
8691 public unowned Gtk.ToolItemGroup? get_drop_group (int x, int y);
8692 [Version (since = "2.20")]
8693 public unowned Gtk.ToolItem? get_drop_item (int x, int y);
8694 [Version (since = "2.20")]
8695 public bool get_exclusive (Gtk.ToolItemGroup group);
8696 [Version (since = "2.20")]
8697 public bool get_expand (Gtk.ToolItemGroup group);
8698 [Version (since = "2.20")]
8699 public int get_group_position (Gtk.ToolItemGroup group);
8700 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
8701 public unowned Gtk.Adjustment get_hadjustment ();
8702 [Version (since = "2.20")]
8703 public Gtk.IconSize get_icon_size ();
8704 [Version (since = "2.20")]
8705 public Gtk.ToolbarStyle get_style ();
8706 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
8707 public unowned Gtk.Adjustment get_vadjustment ();
8708 [Version (since = "2.20")]
8709 public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
8710 [Version (since = "2.20")]
8711 public void set_exclusive (Gtk.ToolItemGroup group, bool exclusive);
8712 [Version (since = "2.20")]
8713 public void set_expand (Gtk.ToolItemGroup group, bool expand);
8714 [Version (since = "2.20")]
8715 public void set_group_position (Gtk.ToolItemGroup group, int position);
8716 [Version (since = "2.20")]
8717 public void set_icon_size ([CCode (type = "GtkIconSize")] Gtk.IconSize icon_size);
8718 [Version (since = "2.20")]
8719 public void set_style (Gtk.ToolbarStyle style);
8720 [Version (since = "2.20")]
8721 public void unset_icon_size ();
8722 [Version (since = "2.20")]
8723 public void unset_style ();
8724 [Version (since = "2.20")]
8725 public Gtk.IconSize icon_size { get; set; }
8727 [Version (since = "2.20")]
8728 public bool icon_size_set { get; set; }
8730 [Version (since = "2.20")]
8731 public Gtk.ToolbarStyle toolbar_style { get; set; }
8733 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toolbar_get_type ()")]
8734 public class Toolbar : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.ToolShell {
8735 [CCode (has_construct_function = false, type = "GtkWidget*")]
8737 [Version (since = "2.4")]
8738 public int get_drop_index (int x, int y);
8739 [Version (since = "2.4")]
8740 public int get_item_index (Gtk.ToolItem item);
8741 [Version (since = "2.4")]
8742 public int get_n_items ();
8743 [Version (since = "2.4")]
8744 public unowned Gtk.ToolItem? get_nth_item (int n);
8745 [Version (since = "2.4")]
8746 public bool get_show_arrow ();
8747 [Version (since = "2.4")]
8748 public void insert (Gtk.ToolItem item, int pos);
8749 [Version (since = "2.4")]
8750 public void set_drop_highlight_item (Gtk.ToolItem? tool_item, int index_);
8751 public void set_icon_size (Gtk.IconSize icon_size);
8752 [Version (since = "2.4")]
8753 public void set_show_arrow (bool show_arrow);
8754 public void set_style (Gtk.ToolbarStyle style);
8755 public void unset_icon_size ();
8756 public void unset_style ();
8757 [Version (since = "2.10")]
8758 public Gtk.IconSize icon_size { get; set; }
8760 [Version (since = "2.10")]
8761 public bool icon_size_set { get; set; }
8762 public bool show_arrow { get; set; }
8764 public Gtk.ToolbarStyle toolbar_style { get; set; }
8765 public signal bool focus_home_or_end (bool focus_home);
8766 public virtual signal void orientation_changed (Gtk.Orientation orientation);
8767 public virtual signal bool popup_context_menu (int x, int y, int button_number);
8768 public virtual signal void style_changed (Gtk.ToolbarStyle style);
8770 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tooltip_get_type ()")]
8771 public class Tooltip : GLib.Object {
8772 [CCode (has_construct_function = false)]
8773 protected Tooltip ();
8774 [Version (since = "2.12")]
8775 public void set_custom (Gtk.Widget? custom_widget);
8776 [Version (since = "2.12")]
8777 public void set_icon (Gdk.Pixbuf? pixbuf);
8778 [Version (since = "2.20")]
8779 public void set_icon_from_gicon (GLib.Icon? gicon, int size);
8780 [Version (since = "2.14")]
8781 public void set_icon_from_icon_name (string? icon_name, int size);
8782 [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
8783 public void set_icon_from_stock (string? stock_id, int size);
8784 [Version (since = "2.12")]
8785 public void set_markup (string? markup);
8786 [Version (since = "2.12")]
8787 public void set_text (string? text);
8788 [Version (since = "2.12")]
8789 public void set_tip_area (Gdk.Rectangle rect);
8790 [Version (since = "2.12")]
8791 public static void trigger_tooltip_query (Gdk.Display display);
8793 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_toplevel_accessible_get_type ()")]
8794 public class ToplevelAccessible : Atk.Object {
8795 [CCode (has_construct_function = false)]
8796 protected ToplevelAccessible ();
8797 public unowned GLib.List<Gtk.Window> get_children ();
8799 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_filter_get_type ()")]
8800 public class TreeModelFilter : GLib.Object, Gtk.TreeDragSource, Gtk.TreeModel {
8801 [CCode (has_construct_function = false, type = "GtkTreeModel*")]
8802 [Version (since = "2.4")]
8803 public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root);
8804 [Version (since = "2.4")]
8805 public void clear_cache ();
8806 [Version (since = "2.4")]
8807 public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter);
8808 [Version (since = "2.4")]
8809 public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
8810 [Version (since = "2.4")]
8811 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter);
8812 [Version (since = "2.4")]
8813 public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath filter_path);
8814 [Version (since = "2.4")]
8815 public unowned Gtk.TreeModel get_model ();
8817 public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column);
8818 [Version (since = "2.4")]
8819 public void refilter ();
8820 [Version (since = "2.4")]
8821 public void set_modify_func ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
8822 [Version (since = "2.4")]
8823 public void set_visible_column (int column);
8824 [Version (since = "2.4")]
8825 public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
8827 public virtual bool visible (Gtk.TreeModel child_model, Gtk.TreeIter iter);
8829 public Gtk.TreeModel child_model { owned get; construct; }
8831 public Gtk.TreePath virtual_root { owned get; construct; }
8833 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_sort_get_type ()")]
8834 public class TreeModelSort : GLib.Object, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
8835 [CCode (has_construct_function = false)]
8836 protected TreeModelSort ();
8837 public void clear_cache ();
8838 public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter);
8839 public Gtk.TreePath? convert_child_path_to_path (Gtk.TreePath child_path);
8840 public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter);
8841 public Gtk.TreePath? convert_path_to_child_path (Gtk.TreePath sorted_path);
8842 public unowned Gtk.TreeModel get_model ();
8843 [Version (since = "2.2")]
8844 public bool iter_is_valid (Gtk.TreeIter iter);
8845 public void reset_default_sort_func ();
8846 [CCode (has_construct_function = false, type = "GtkTreeModel*")]
8847 public TreeModelSort.with_model (Gtk.TreeModel child_model);
8848 public Gtk.TreeModel model { get; construct; }
8850 [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_tree_path_get_type ()")]
8852 public class TreePath {
8853 [CCode (has_construct_function = false)]
8855 public void append_index (int index_);
8856 public int compare (Gtk.TreePath b);
8857 public Gtk.TreePath copy ();
8858 public void down ();
8859 [CCode (has_construct_function = false)]
8860 public TreePath.first ();
8862 public void free ();
8863 [CCode (has_construct_function = false, sentinel = "-1")]
8864 [Version (since = "2.2")]
8865 public TreePath.from_indices (...);
8866 [CCode (has_construct_function = false)]
8867 [Version (since = "3.12")]
8868 public TreePath.from_indicesv ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] int[] indices);
8869 [CCode (has_construct_function = false)]
8870 public TreePath.from_string (string path);
8871 public int get_depth ();
8872 [CCode (array_length_pos = 0.1, cname = "gtk_tree_path_get_indices_with_depth")]
8873 [Version (since = "3.0")]
8874 public unowned int[] get_indices ();
8875 public bool is_ancestor (Gtk.TreePath descendant);
8876 public bool is_descendant (Gtk.TreePath ancestor);
8877 public void next ();
8878 public void prepend_index (int index_);
8879 public bool prev ();
8880 public string to_string ();
8883 [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_tree_row_reference_get_type ()")]
8885 public class TreeRowReference {
8886 [CCode (has_construct_function = false)]
8887 public TreeRowReference (Gtk.TreeModel model, Gtk.TreePath path);
8888 [Version (since = "2.2")]
8889 public Gtk.TreeRowReference copy ();
8890 [CCode (cheader_filename = "gtk/gtk.h")]
8891 public static void deleted (GLib.Object proxy, Gtk.TreePath path);
8893 public void free ();
8894 [Version (since = "2.8")]
8895 public unowned Gtk.TreeModel get_model ();
8896 public Gtk.TreePath? get_path ();
8897 [CCode (cheader_filename = "gtk/gtk.h")]
8898 public static void inserted (GLib.Object proxy, Gtk.TreePath path);
8899 [CCode (has_construct_function = false)]
8900 public TreeRowReference.proxy (GLib.Object proxy, Gtk.TreeModel model, Gtk.TreePath path);
8901 [CCode (cheader_filename = "gtk/gtk.h")]
8902 public static void reordered (GLib.Object proxy, Gtk.TreePath path, Gtk.TreeIter iter, [CCode (array_length = false)] int[] new_order);
8903 public bool valid ();
8905 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_selection_get_type ()")]
8906 public class TreeSelection : GLib.Object {
8907 [CCode (has_construct_function = false)]
8908 protected TreeSelection ();
8909 [Version (since = "2.2")]
8910 public int count_selected_rows ();
8911 public Gtk.SelectionMode get_mode ();
8912 public bool get_selected (out unowned Gtk.TreeModel model, out Gtk.TreeIter iter);
8913 [Version (since = "2.2")]
8914 public GLib.List<Gtk.TreePath> get_selected_rows (out unowned Gtk.TreeModel model);
8915 public unowned Gtk.TreeView get_tree_view ();
8916 public bool iter_is_selected (Gtk.TreeIter iter);
8917 public bool path_is_selected (Gtk.TreePath path);
8918 public void select_all ();
8919 public void select_iter (Gtk.TreeIter iter);
8920 public void select_path (Gtk.TreePath path);
8921 public void select_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
8922 public void selected_foreach (Gtk.TreeSelectionForeachFunc func);
8923 public void set_mode (Gtk.SelectionMode type);
8924 public void set_select_function (owned Gtk.TreeSelectionFunc func);
8925 public void unselect_all ();
8926 public void unselect_iter (Gtk.TreeIter iter);
8927 public void unselect_path (Gtk.TreePath path);
8928 [Version (since = "2.2")]
8929 public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
8930 [Version (since = "3.2")]
8931 public Gtk.SelectionMode mode { get; set; }
8932 public virtual signal void changed ();
8934 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_store_get_type ()")]
8935 public class TreeStore : GLib.Object, Gtk.Buildable, Gtk.TreeDragDest, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
8936 [CCode (has_construct_function = false, sentinel = "")]
8937 public TreeStore (int n_columns, ...);
8938 public void append (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
8939 public void clear ();
8940 public void insert (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position);
8941 public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
8942 public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling);
8943 [CCode (sentinel = "-1")]
8944 [Version (since = "2.10")]
8945 public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...);
8946 [Version (since = "2.10")]
8947 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);
8948 public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant);
8949 public int iter_depth (Gtk.TreeIter iter);
8950 [Version (since = "2.2")]
8951 public bool iter_is_valid (Gtk.TreeIter iter);
8952 [Version (since = "2.2")]
8953 public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
8954 [Version (since = "2.2")]
8955 public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
8956 [CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
8957 public TreeStore.newv ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
8958 public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
8959 public bool remove (ref Gtk.TreeIter iter);
8960 [Version (since = "2.2")]
8961 public void reorder (Gtk.TreeIter? parent, [CCode (array_length = false)] int[] new_order);
8962 [CCode (sentinel = "-1")]
8963 public void @set (Gtk.TreeIter iter, ...);
8964 public void set_column_types ([CCode (array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types);
8965 public void set_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
8966 public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
8967 [Version (since = "2.12")]
8968 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);
8969 [Version (since = "2.2")]
8970 public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
8972 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_get_type ()")]
8973 public class TreeView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
8974 [CCode (has_construct_function = false, type = "GtkWidget*")]
8976 public int append_column (Gtk.TreeViewColumn column);
8977 public void collapse_all ();
8978 public bool collapse_row (Gtk.TreePath path);
8979 public void columns_autosize ();
8980 [Version (since = "2.12")]
8981 public void convert_bin_window_to_tree_coords (int bx, int by, out int tx, out int ty);
8982 [Version (since = "2.12")]
8983 public void convert_bin_window_to_widget_coords (int bx, int by, out int wx, out int wy);
8984 [Version (since = "2.12")]
8985 public void convert_tree_to_bin_window_coords (int tx, int ty, out int bx, out int by);
8986 [Version (since = "2.12")]
8987 public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy);
8988 [Version (since = "2.12")]
8989 public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by);
8990 [Version (since = "2.12")]
8991 public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty);
8992 public Cairo.Surface create_row_drag_icon (Gtk.TreePath path);
8993 public void enable_model_drag_dest ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gtk.TargetEntry[] targets, Gdk.DragAction actions);
8994 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);
8995 public void expand_all ();
8996 public bool expand_row (Gtk.TreePath path, bool open_all);
8997 [Version (since = "2.2")]
8998 public void expand_to_path (Gtk.TreePath path);
8999 [Version (since = "3.8")]
9000 public bool get_activate_on_single_click ();
9001 public void get_background_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
9002 public unowned Gdk.Window? get_bin_window ();
9003 public void get_cell_area (Gtk.TreePath? path, Gtk.TreeViewColumn? column, out Gdk.Rectangle rect);
9004 public unowned Gtk.TreeViewColumn? get_column (int n);
9005 public GLib.List<weak Gtk.TreeViewColumn> get_columns ();
9006 public void get_cursor (out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? focus_column);
9007 public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
9008 public void get_drag_dest_row (out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
9009 public bool get_enable_search ();
9010 [Version (since = "2.10")]
9011 public bool get_enable_tree_lines ();
9012 public unowned Gtk.TreeViewColumn get_expander_column ();
9013 [Version (since = "2.6")]
9014 public bool get_fixed_height_mode ();
9015 [Version (since = "2.10")]
9016 public Gtk.TreeViewGridLines get_grid_lines ();
9017 [Version (deprecated = true, deprecated_since = "3.0")]
9018 public unowned Gtk.Adjustment get_hadjustment ();
9019 [Version (since = "2.10")]
9020 public bool get_headers_clickable ();
9021 public bool get_headers_visible ();
9022 [Version (since = "2.6")]
9023 public bool get_hover_expand ();
9024 [Version (since = "2.6")]
9025 public bool get_hover_selection ();
9026 [Version (since = "2.12")]
9027 public int get_level_indentation ();
9028 public unowned Gtk.TreeModel? get_model ();
9029 [Version (since = "3.4")]
9030 public uint get_n_columns ();
9031 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);
9032 public bool get_reorderable ();
9033 [Version (since = "2.6")]
9034 public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
9035 [Version (since = "2.10")]
9036 public bool get_rubber_banding ();
9037 [Version (deprecated = true, deprecated_since = "3.14")]
9038 public bool get_rules_hint ();
9039 public int get_search_column ();
9040 [Version (since = "2.10")]
9041 public unowned Gtk.Entry get_search_entry ();
9042 public unowned Gtk.TreeViewSearchEqualFunc get_search_equal_func ();
9043 [Version (since = "2.10")]
9044 public unowned Gtk.TreeViewSearchPositionFunc get_search_position_func ();
9045 public unowned Gtk.TreeSelection get_selection ();
9046 [Version (since = "2.12")]
9047 public bool get_show_expanders ();
9048 [Version (since = "2.12")]
9049 public int get_tooltip_column ();
9050 [Version (since = "2.12")]
9051 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);
9052 [Version (deprecated = true, deprecated_since = "3.0")]
9053 public unowned Gtk.Adjustment get_vadjustment ();
9054 [Version (since = "2.8")]
9055 public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
9056 public void get_visible_rect (out Gdk.Rectangle visible_rect);
9057 public int insert_column (Gtk.TreeViewColumn column, int position);
9058 public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...);
9059 public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func);
9060 [Version (since = "3.0")]
9061 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);
9062 [CCode (cname = "gtk_tree_view_row_expanded")]
9063 public bool is_row_expanded (Gtk.TreePath path);
9064 [Version (since = "2.12")]
9065 public bool is_rubber_banding_active ();
9066 public void map_expanded_rows (Gtk.TreeViewMappingFunc func);
9067 public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn? base_column);
9068 public int remove_column (Gtk.TreeViewColumn column);
9069 public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align);
9070 public void scroll_to_point (int tree_x, int tree_y);
9071 [Version (since = "3.8")]
9072 public void set_activate_on_single_click (bool single);
9073 public void set_column_drag_function (owned Gtk.TreeViewColumnDropFunc? func);
9074 public void set_cursor (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, bool start_editing);
9075 [Version (since = "2.2")]
9076 public void set_cursor_on_cell (Gtk.TreePath path, Gtk.TreeViewColumn? focus_column, Gtk.CellRenderer? focus_cell, bool start_editing);
9077 [Version (deprecated = true, deprecated_since = "3.4")]
9078 public void set_destroy_count_func (owned Gtk.TreeDestroyCountFunc? func);
9079 public void set_drag_dest_row (Gtk.TreePath? path, Gtk.TreeViewDropPosition pos);
9080 public void set_enable_search (bool enable_search);
9081 [Version (since = "2.10")]
9082 public void set_enable_tree_lines (bool enabled);
9083 public void set_expander_column (Gtk.TreeViewColumn column);
9084 [Version (since = "2.6")]
9085 public void set_fixed_height_mode (bool enable);
9086 [Version (since = "2.10")]
9087 public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
9088 [Version (deprecated = true, deprecated_since = "3.0")]
9089 public void set_hadjustment (Gtk.Adjustment? adjustment);
9090 public void set_headers_clickable (bool setting);
9091 public void set_headers_visible (bool headers_visible);
9092 [Version (since = "2.6")]
9093 public void set_hover_expand (bool expand);
9094 [Version (since = "2.6")]
9095 public void set_hover_selection (bool hover);
9096 [Version (since = "2.12")]
9097 public void set_level_indentation (int indentation);
9098 public void set_model (Gtk.TreeModel? model);
9099 public void set_reorderable (bool reorderable);
9100 [Version (since = "2.6")]
9101 public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc? func);
9102 [Version (since = "2.10")]
9103 public void set_rubber_banding (bool enable);
9104 [Version (deprecated = true, deprecated_since = "3.14")]
9105 public void set_rules_hint (bool setting);
9106 public void set_search_column (int column);
9107 [Version (since = "2.10")]
9108 public void set_search_entry (Gtk.Entry? entry);
9109 public void set_search_equal_func (owned Gtk.TreeViewSearchEqualFunc search_equal_func);
9110 [Version (since = "2.10")]
9111 public void set_search_position_func (owned Gtk.TreeViewSearchPositionFunc? func);
9112 [Version (since = "2.12")]
9113 public void set_show_expanders (bool enabled);
9114 [Version (since = "2.12")]
9115 public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath? path, Gtk.TreeViewColumn? column, Gtk.CellRenderer? cell);
9116 [Version (since = "2.12")]
9117 public void set_tooltip_column (int column);
9118 [Version (since = "2.12")]
9119 public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
9120 [Version (deprecated = true, deprecated_since = "3.0")]
9121 public void set_vadjustment (Gtk.Adjustment? adjustment);
9122 public void unset_rows_drag_dest ();
9123 public void unset_rows_drag_source ();
9124 [CCode (has_construct_function = false, type = "GtkWidget*")]
9125 public TreeView.with_model (Gtk.TreeModel model);
9126 [Version (since = "3.8")]
9127 public bool activate_on_single_click { get; set; }
9129 public Gtk.TreeViewGridLines enable_grid_lines { get; set; }
9130 public bool enable_search { get; set; }
9131 public bool enable_tree_lines { get; set; }
9132 public Gtk.TreeViewColumn expander_column { get; set; }
9133 [Version (since = "2.4")]
9134 public bool fixed_height_mode { get; set; }
9135 public bool headers_clickable { get; set; }
9136 public bool headers_visible { get; set; }
9137 [Version (since = "2.6")]
9138 public bool hover_expand { get; set; }
9139 [Version (since = "2.6")]
9140 public bool hover_selection { get; set; }
9141 [Version (since = "2.12")]
9142 public int level_indentation { get; set; }
9143 public Gtk.TreeModel model { get; set; }
9144 public bool reorderable { get; set; }
9145 public bool rubber_banding { get; set; }
9146 [Version (deprecated = true, deprecated_since = "3.14")]
9147 public bool rules_hint { get; set; }
9148 public int search_column { get; set; }
9149 [Version (since = "2.12")]
9150 public bool show_expanders { get; set; }
9151 public int tooltip_column { get; set; }
9152 public virtual signal void columns_changed ();
9153 public virtual signal void cursor_changed ();
9154 public virtual signal bool expand_collapse_cursor_row (bool logical, bool expand, bool open_all);
9155 public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
9157 public virtual signal void row_activated (Gtk.TreePath path, Gtk.TreeViewColumn column);
9158 public virtual signal void row_collapsed (Gtk.TreeIter iter, Gtk.TreePath path);
9159 public virtual signal void row_expanded (Gtk.TreeIter iter, Gtk.TreePath path);
9160 public virtual signal bool select_all ();
9161 public virtual signal bool select_cursor_parent ();
9162 public virtual signal bool select_cursor_row (bool start_editing);
9163 public virtual signal bool start_interactive_search ();
9164 public virtual signal bool test_collapse_row (Gtk.TreeIter iter, Gtk.TreePath path);
9165 public virtual signal bool test_expand_row (Gtk.TreeIter iter, Gtk.TreePath path);
9166 public virtual signal bool toggle_cursor_row ();
9167 public virtual signal bool unselect_all ();
9169 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_tree_view_accessible_get_type ()")]
9170 public class TreeViewAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection, Atk.Table, Gtk.CellAccessibleParent {
9171 [CCode (has_construct_function = false)]
9172 protected TreeViewAccessible ();
9174 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_view_column_get_type ()")]
9175 public class TreeViewColumn : GLib.InitiallyUnowned, Gtk.Buildable, Gtk.CellLayout {
9176 [CCode (has_construct_function = false)]
9177 public TreeViewColumn ();
9178 public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int x_offset, out int width);
9179 public void cell_get_size (Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
9180 public bool cell_is_visible ();
9181 public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
9182 [Version (since = "2.2")]
9183 public void focus_cell (Gtk.CellRenderer cell);
9184 public float get_alignment ();
9185 [Version (since = "3.0")]
9186 public unowned Gtk.Widget get_button ();
9187 public bool get_clickable ();
9188 [Version (since = "2.4")]
9189 public bool get_expand ();
9190 public int get_fixed_width ();
9191 public int get_max_width ();
9192 public int get_min_width ();
9193 public bool get_reorderable ();
9194 public bool get_resizable ();
9195 public Gtk.TreeViewColumnSizing get_sizing ();
9196 public int get_sort_column_id ();
9197 public bool get_sort_indicator ();
9198 public Gtk.SortType get_sort_order ();
9199 public int get_spacing ();
9200 public unowned string get_title ();
9201 [Version (since = "2.12")]
9202 public unowned Gtk.Widget? get_tree_view ();
9203 public bool get_visible ();
9204 public unowned Gtk.Widget? get_widget ();
9205 public int get_width ();
9206 [Version (since = "3.2")]
9207 public int get_x_offset ();
9208 [Version (since = "2.8")]
9209 public void queue_resize ();
9210 public void set_alignment (float xalign);
9211 public void set_attributes (Gtk.CellRenderer cell_renderer, ...);
9212 public void set_clickable (bool clickable);
9213 [Version (since = "2.4")]
9214 public void set_expand (bool expand);
9215 public void set_fixed_width (int fixed_width);
9216 public void set_max_width (int max_width);
9217 public void set_min_width (int min_width);
9218 public void set_reorderable (bool reorderable);
9219 public void set_resizable (bool resizable);
9220 public void set_sizing (Gtk.TreeViewColumnSizing type);
9221 public void set_sort_column_id (int sort_column_id);
9222 public void set_sort_indicator (bool setting);
9223 public void set_sort_order (Gtk.SortType order);
9224 public void set_spacing (int spacing);
9225 public void set_title (string title);
9226 public void set_visible (bool visible);
9227 public void set_widget (Gtk.Widget? widget);
9228 [CCode (has_construct_function = false)]
9229 [Version (since = "3.0")]
9230 public TreeViewColumn.with_area (Gtk.CellArea area);
9231 [CCode (has_construct_function = false)]
9232 public TreeViewColumn.with_attributes (string? title, Gtk.CellRenderer cell, ...);
9233 public float alignment { get; set; }
9235 [Version (since = "3.0")]
9236 public Gtk.CellArea cell_area { owned get; construct; }
9237 public bool clickable { get; set; }
9238 public bool expand { get; set; }
9239 public int fixed_width { get; set; }
9240 public int max_width { get; set; }
9241 public int min_width { get; set; }
9242 public bool reorderable { get; set; }
9243 public bool resizable { get; set; }
9244 public Gtk.TreeViewColumnSizing sizing { get; set; }
9245 [Version (since = "2.18")]
9246 public int sort_column_id { get; set; }
9247 public bool sort_indicator { get; set; }
9248 public Gtk.SortType sort_order { get; set; }
9249 public int spacing { get; set; }
9250 public string title { get; set; }
9251 public bool visible { get; set; }
9252 public Gtk.Widget widget { get; set; }
9253 public int width { get; }
9254 public int x_offset { get; }
9256 public virtual signal void clicked ();
9258 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_ui_manager_get_type ()")]
9259 [Version (deprecated = true, deprecated_since = "3.10")]
9260 public class UIManager : GLib.Object, Gtk.Buildable {
9261 [CCode (has_construct_function = false)]
9262 [Version (since = "2.4")]
9263 public UIManager ();
9264 [Version (since = "2.4")]
9265 public void add_ui (uint merge_id, string path, string name, string? action, Gtk.UIManagerItemType type, bool top);
9266 [Version (since = "2.4")]
9267 public uint add_ui_from_file (string filename) throws GLib.Error;
9268 [Version (since = "3.4")]
9269 public uint add_ui_from_resource (string resource_path) throws GLib.Error;
9270 [Version (since = "2.4")]
9271 public uint add_ui_from_string (string buffer, ssize_t length) throws GLib.Error;
9272 [Version (since = "2.4")]
9273 public void ensure_update ();
9274 [Version (since = "2.4")]
9275 public unowned Gtk.AccelGroup get_accel_group ();
9276 [Version (since = "2.4")]
9277 public virtual unowned Gtk.Action get_action (string path);
9278 [Version (since = "2.4")]
9279 public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
9280 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9281 public bool get_add_tearoffs ();
9282 [Version (since = "2.4")]
9283 public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
9284 [Version (since = "2.4")]
9285 public string get_ui ();
9286 [Version (since = "2.4")]
9287 public virtual unowned Gtk.Widget get_widget (string path);
9288 [Version (since = "2.4")]
9289 public void insert_action_group (Gtk.ActionGroup action_group, int pos);
9290 [Version (since = "2.4")]
9291 public uint new_merge_id ();
9292 [Version (since = "2.4")]
9293 public void remove_action_group (Gtk.ActionGroup action_group);
9294 [Version (since = "2.4")]
9295 public void remove_ui (uint merge_id);
9296 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9297 public void set_add_tearoffs (bool add_tearoffs);
9298 [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
9299 public bool add_tearoffs { get; set; }
9300 public string ui { owned get; }
9301 [Version (since = "2.4")]
9302 public virtual signal void actions_changed ();
9303 [Version (since = "2.4")]
9304 public virtual signal void add_widget (Gtk.Widget widget);
9305 [Version (since = "2.4")]
9306 public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy);
9307 [Version (since = "2.4")]
9308 public virtual signal void disconnect_proxy (Gtk.Action action, Gtk.Widget proxy);
9309 [Version (since = "2.4")]
9310 public virtual signal void post_activate (Gtk.Action action);
9311 [Version (since = "2.4")]
9312 public virtual signal void pre_activate (Gtk.Action action);
9314 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbox_get_type ()")]
9315 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Box")]
9316 public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9317 [CCode (has_construct_function = false, type = "GtkWidget*")]
9318 public VBox (bool homogeneous, int spacing);
9320 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vbutton_box_get_type ()")]
9321 [Version (deprecated = true, deprecated_since = "3.2", replacement = "ButtonBox")]
9322 public class VButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9323 [CCode (has_construct_function = false, type = "GtkWidget*")]
9324 public VButtonBox ();
9326 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vpaned_get_type ()")]
9327 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Paned")]
9328 public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9329 [CCode (has_construct_function = false, type = "GtkWidget*")]
9332 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscale_get_type ()")]
9333 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scale")]
9334 public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9335 [CCode (has_construct_function = false, type = "GtkWidget*")]
9336 public VScale (Gtk.Adjustment? adjustment);
9337 [CCode (has_construct_function = false, type = "GtkWidget*")]
9338 public VScale.with_range (double min, double max, double step);
9340 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vscrollbar_get_type ()")]
9341 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Scrollbar")]
9342 public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9343 [CCode (has_construct_function = false, type = "GtkWidget*")]
9344 public VScrollbar (Gtk.Adjustment? adjustment);
9346 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_vseparator_get_type ()")]
9347 [Version (deprecated = true, deprecated_since = "3.2", replacement = "Separator")]
9348 public class VSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
9349 [CCode (has_construct_function = false, type = "GtkWidget*")]
9350 public VSeparator ();
9352 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_viewport_get_type ()")]
9353 public class Viewport : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
9354 [CCode (has_construct_function = false, type = "GtkWidget*")]
9355 public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
9356 [Version (since = "2.20")]
9357 public unowned Gdk.Window get_bin_window ();
9358 [Version (deprecated = true, deprecated_since = "3.0")]
9359 public unowned Gtk.Adjustment? get_hadjustment ();
9360 public Gtk.ShadowType get_shadow_type ();
9361 [Version (deprecated = true, deprecated_since = "3.0")]
9362 public unowned Gtk.Adjustment? get_vadjustment ();
9363 [Version (since = "2.22")]
9364 public unowned Gdk.Window get_view_window ();
9365 [Version (deprecated = true, deprecated_since = "3.0")]
9366 public void set_hadjustment (Gtk.Adjustment? adjustment);
9367 public void set_shadow_type (Gtk.ShadowType type);
9368 [Version (deprecated = true, deprecated_since = "3.0")]
9369 public void set_vadjustment (Gtk.Adjustment? adjustment);
9370 public Gtk.ShadowType shadow_type { get; set; }
9372 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_volume_button_get_type ()")]
9373 public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.Orientable {
9374 [CCode (has_construct_function = false, type = "GtkWidget*")]
9375 [Version (since = "2.12")]
9376 public VolumeButton ();
9378 [Version (since = "3.0")]
9379 public bool use_symbolic { get; set construct; }
9381 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_widget_get_type ()")]
9382 public class Widget : GLib.InitiallyUnowned, Atk.Implementor, Gtk.Buildable {
9383 [CCode (construct_function = "gtk_widget_new", has_new_function = false)]
9384 public Widget (...);
9385 public bool activate ();
9386 public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
9387 [Version (since = "3.0")]
9388 public void add_device_events (Gdk.Device device, Gdk.EventMask events);
9389 public void add_events (int events);
9390 [Version (since = "2.4")]
9391 public void add_mnemonic_label (Gtk.Widget label);
9392 [Version (since = "3.8")]
9393 public uint add_tick_callback (owned Gtk.TickCallback callback);
9395 public virtual void adjust_baseline_allocation (int baseline);
9397 public virtual void adjust_baseline_request (int minimum_baseline, int natural_baseline);
9399 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);
9401 public virtual void adjust_size_request (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size);
9402 [CCode (cname = "gtk_widget_class_bind_template_callback_full")]
9403 [Version (since = "3.10")]
9404 public class void bind_template_callback_full (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
9405 [CCode (cname = "gtk_widget_class_bind_template_child_full")]
9406 [Version (since = "3.10")]
9407 public class void bind_template_child_full (string name, bool internal_child, ssize_t struct_offset);
9408 public bool child_focus (Gtk.DirectionType direction);
9409 [Version (deprecated = true, deprecated_since = "3.0", replacement = "get_path")]
9410 public void class_path (out uint path_length, out string path, out string path_reversed);
9411 public bool compute_expand (Gtk.Orientation orientation);
9412 [CCode (vfunc_name = "compute_expand")]
9414 public virtual void compute_expand_internal (out bool hexpand_p, out bool vexpand_p);
9415 public Pango.Context create_pango_context ();
9416 public Pango.Layout create_pango_layout (string? text);
9417 public void destroyed (ref unowned Gtk.Widget widget_pointer);
9418 [Version (since = "3.0")]
9419 public bool device_is_shadowed (Gdk.Device device);
9421 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);
9422 [CCode (cname = "gtk_widget_draw")]
9423 [Version (since = "3.0")]
9424 public void draw_to_cairo_context (Cairo.Context cr);
9425 [Version (deprecated = true, deprecated_since = "3.0")]
9426 public void ensure_style ();
9427 [Version (since = "2.12")]
9428 public void error_bell ();
9429 [CCode (cname = "gtk_widget_class_find_style_property")]
9430 [Version (since = "2.2")]
9431 public class unowned GLib.ParamSpec find_style_property (string property_name);
9432 public void freeze_child_notify ();
9433 public virtual unowned Atk.Object get_accessible ();
9434 [Version (since = "3.16")]
9435 public unowned GLib.ActionGroup? get_action_group (string prefix);
9436 [Version (since = "3.10")]
9437 public int get_allocated_baseline ();
9438 public int get_allocated_height ();
9439 [Version (since = "3.20")]
9440 public void get_allocated_size (out Gtk.Allocation allocation, out int baseline);
9441 public int get_allocated_width ();
9442 [Version (since = "2.18")]
9443 public void get_allocation (out Gtk.Allocation allocation);
9444 public unowned Gtk.Widget? get_ancestor (GLib.Type widget_type);
9445 [Version (since = "2.18")]
9446 public bool get_app_paintable ();
9447 [Version (since = "2.18")]
9448 public bool get_can_default ();
9449 [Version (since = "2.18")]
9450 public bool get_can_focus ();
9451 [Version (deprecated = true, deprecated_since = "3.0")]
9452 public void get_child_requisition (out Gtk.Requisition requisition);
9453 public bool get_child_visible ();
9454 [Version (since = "3.14")]
9455 public void get_clip (out Gtk.Allocation clip);
9456 [Version (since = "2.2")]
9457 public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
9458 [Version (deprecated = true, deprecated_since = "3.10")]
9459 public string get_composite_name ();
9460 [CCode (cname = "gtk_widget_class_get_css_name")]
9461 [Version (since = "3.20")]
9462 public class unowned string get_css_name ();
9463 public static Gtk.TextDirection get_default_direction ();
9464 [Version (deprecated = true, deprecated_since = "3.0")]
9465 public static unowned Gtk.Style get_default_style ();
9466 [Version (since = "3.0")]
9467 public bool get_device_enabled (Gdk.Device device);
9468 [Version (since = "3.0")]
9469 public Gdk.EventMask get_device_events (Gdk.Device device);
9470 public Gtk.TextDirection get_direction ();
9471 [Version (since = "2.2")]
9472 public unowned Gdk.Display get_display ();
9473 [Version (since = "2.18")]
9474 public bool get_double_buffered ();
9475 public int get_events ();
9476 [Version (since = "3.20")]
9477 public bool get_focus_on_click ();
9478 [Version (since = "3.18")]
9479 public unowned Pango.FontMap? get_font_map ();
9480 [Version (since = "3.18")]
9481 public unowned Cairo.FontOptions? get_font_options ();
9482 [Version (since = "3.8")]
9483 public unowned Gdk.FrameClock? get_frame_clock ();
9484 public Gtk.Align get_halign ();
9485 [Version (since = "2.12")]
9486 public bool get_has_tooltip ();
9487 [Version (since = "2.18")]
9488 public bool get_has_window ();
9489 public bool get_hexpand ();
9490 public bool get_hexpand_set ();
9491 [Version (since = "2.20")]
9492 public bool get_mapped ();
9493 [Version (since = "3.0")]
9494 public int get_margin_bottom ();
9495 [Version (since = "3.12")]
9496 public int get_margin_end ();
9497 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9498 public int get_margin_left ();
9499 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9500 public int get_margin_right ();
9501 [Version (since = "3.12")]
9502 public int get_margin_start ();
9503 [Version (since = "3.0")]
9504 public int get_margin_top ();
9505 [Version (since = "3.4")]
9506 public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
9507 [Version (deprecated = true, deprecated_since = "3.0")]
9508 public unowned Gtk.RcStyle get_modifier_style ();
9509 [Version (since = "2.4")]
9510 public bool get_no_show_all ();
9511 [Version (since = "3.8")]
9512 public double get_opacity ();
9513 public unowned Pango.Context get_pango_context ();
9514 public unowned Gtk.Container? get_parent ();
9515 public unowned Gdk.Window? get_parent_window ();
9516 public unowned Gtk.WidgetPath get_path ();
9517 [Version (deprecated = true, deprecated_since = "3.4")]
9518 public void get_pointer (out int x, out int y);
9519 [Version (since = "3.0")]
9520 public virtual void get_preferred_height (out int minimum_height, out int natural_height);
9521 [Version (since = "3.10")]
9522 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);
9523 [Version (since = "3.0")]
9524 public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
9525 [CCode (vfunc_name = "get_preferred_height_for_width")]
9527 [Version (deprecated = true)]
9528 public virtual void get_preferred_height_for_width_internal (int width, out int minimum_height, out int natural_height);
9529 [CCode (vfunc_name = "get_preferred_height")]
9531 [Version (deprecated = true)]
9532 public virtual void get_preferred_height_internal (out int minimum_height, out int natural_height);
9533 [Version (since = "3.0")]
9534 public void get_preferred_size (out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
9535 [Version (since = "3.0")]
9536 public virtual void get_preferred_width (out int minimum_width, out int natural_width);
9537 [Version (since = "3.0")]
9538 public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
9539 [CCode (vfunc_name = "get_preferred_width_for_height")]
9541 [Version (deprecated = true)]
9542 public virtual void get_preferred_width_for_height_internal (int height, out int minimum_width, out int natural_width);
9543 [CCode (vfunc_name = "get_preferred_width")]
9545 [Version (deprecated = true)]
9546 public virtual void get_preferred_width_internal (out int minimum_width, out int natural_width);
9547 [Version (since = "2.20")]
9548 public bool get_realized ();
9549 [Version (since = "2.18")]
9550 public bool get_receives_default ();
9551 [Version (since = "3.0")]
9552 public virtual Gtk.SizeRequestMode get_request_mode ();
9553 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9554 public Gtk.Requisition get_requisition ();
9555 [Version (deprecated = true, deprecated_since = "3.12", since = "2.2")]
9556 public unowned Gdk.Window get_root_window ();
9557 [Version (since = "3.10")]
9558 public int get_scale_factor ();
9559 [Version (since = "2.2")]
9560 public unowned Gdk.Screen get_screen ();
9561 [Version (since = "2.18")]
9562 public bool get_sensitive ();
9563 public unowned Gtk.Settings get_settings ();
9564 public void get_size_request (out int width, out int height);
9565 [Version (deprecated = true, deprecated_since = "3.0", since = "2.18")]
9566 public Gtk.StateType get_state ();
9567 [Version (since = "3.0")]
9568 public Gtk.StateFlags get_state_flags ();
9569 [Version (deprecated = true, deprecated_since = "3.0")]
9570 public unowned Gtk.Style get_style ();
9571 public unowned Gtk.StyleContext get_style_context ();
9572 public bool get_support_multidevice ();
9573 public unowned GLib.Object get_template_child (GLib.Type widget_type, string name);
9574 [Version (since = "2.12")]
9575 public string? get_tooltip_markup ();
9576 [Version (since = "2.12")]
9577 public string? get_tooltip_text ();
9578 [Version (since = "2.12")]
9579 public unowned Gtk.Window get_tooltip_window ();
9580 public unowned Gtk.Widget get_toplevel ();
9581 public Gtk.Align get_valign ();
9582 [Version (since = "3.10")]
9583 public Gtk.Align get_valign_with_baseline ();
9584 public bool get_vexpand ();
9585 public bool get_vexpand_set ();
9586 [Version (since = "2.18")]
9587 public bool get_visible ();
9588 public unowned Gdk.Visual get_visual ();
9589 [Version (since = "2.14")]
9590 public unowned Gdk.Window? get_window ();
9591 public void grab_default ();
9592 [Version (since = "2.18")]
9593 public bool has_grab ();
9594 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9595 public bool has_rc_style ();
9596 [Version (since = "2.2")]
9597 public bool has_screen ();
9598 [Version (since = "3.2")]
9599 public bool has_visible_focus ();
9600 public bool hide_on_delete ();
9601 public bool in_destruction ();
9602 [Version (since = "3.10")]
9603 public void init_template ();
9604 [Version (since = "3.0")]
9605 public void input_shape_combine_region (Cairo.Region? region);
9606 [Version (since = "3.6")]
9607 public void insert_action_group (string name, GLib.ActionGroup? group);
9608 [CCode (cname = "gtk_widget_class_install_style_property")]
9609 public class void install_style_property (GLib.ParamSpec pspec);
9610 [CCode (cname = "gtk_widget_class_install_style_property_parser")]
9611 public class void install_style_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
9612 public bool intersect (Gdk.Rectangle area, out Gdk.Rectangle? intersection = null);
9613 public bool is_ancestor (Gtk.Widget ancestor);
9614 [Version (deprecated = true, deprecated_since = "3.22", since = "2.10")]
9615 public bool is_composited ();
9616 [Version (since = "2.18")]
9617 public bool is_drawable ();
9618 [Version (since = "2.18")]
9619 public bool is_sensitive ();
9620 [Version (since = "2.18")]
9621 public bool is_toplevel ();
9622 [Version (since = "3.8")]
9623 public bool is_visible ();
9624 public GLib.List<weak GLib.Closure> list_accel_closures ();
9625 [CCode (array_length = false, array_null_terminated = true)]
9626 [Version (since = "3.16")]
9627 public (unowned string)[] list_action_prefixes ();
9628 [Version (since = "2.4")]
9629 public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
9630 [CCode (array_length_pos = 0.1, array_length_type = "guint", cname = "gtk_widget_class_list_style_properties")]
9631 [Version (since = "2.2")]
9632 public class (unowned GLib.ParamSpec)[] list_style_properties ();
9633 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_background_color")]
9634 public void modify_base (Gtk.StateType state, Gdk.Color? color);
9635 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_background_color")]
9636 public void modify_bg (Gtk.StateType state, Gdk.Color? color);
9637 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_cursor", since = "2.12")]
9638 public void modify_cursor (Gdk.Color? primary, Gdk.Color? secondary);
9639 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_color")]
9640 public void modify_fg (Gtk.StateType state, Gdk.Color? color);
9641 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_font")]
9642 public void modify_font (Pango.FontDescription? font_desc);
9643 [Version (deprecated = true, deprecated_since = "3.0")]
9644 public void modify_style (Gtk.RcStyle style);
9645 [Version (deprecated = true, deprecated_since = "3.0", replacement = "override_color")]
9646 public void modify_text (Gtk.StateType state, Gdk.Color? color);
9647 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9648 public void override_background_color (Gtk.StateFlags state, Gdk.RGBA? color);
9649 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9650 public void override_color (Gtk.StateFlags state, Gdk.RGBA? color);
9651 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9652 public void override_cursor (Gdk.RGBA? cursor, Gdk.RGBA? secondary_cursor);
9653 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9654 public void override_font (Pango.FontDescription? font_desc);
9655 [Version (deprecated = true, deprecated_since = "3.16", since = "3.0")]
9656 public void override_symbolic_color (string name, Gdk.RGBA? color);
9657 [Version (deprecated = true, deprecated_since = "3.0", replacement = "get_path")]
9658 public void path (out uint path_length, out string path, out string path_reversed);
9659 [Version (deprecated = true, deprecated_since = "3.10")]
9660 public static void pop_composite_child ();
9661 [Version (deprecated = true, deprecated_since = "3.10")]
9662 public static void push_composite_child ();
9663 [Version (since = "3.20")]
9664 public void queue_allocate ();
9665 public void queue_compute_expand ();
9666 public void queue_draw ();
9667 public void queue_draw_area (int x, int y, int width, int height);
9668 [Version (since = "3.0")]
9669 public virtual void queue_draw_region (Cairo.Region region);
9670 public void queue_resize ();
9671 [Version (since = "2.4")]
9672 public void queue_resize_no_redraw ();
9673 [Version (deprecated = true, deprecated_since = "3.14")]
9674 public Cairo.Region region_intersect (Cairo.Region region);
9675 [Version (since = "3.8")]
9676 public void register_window (Gdk.Window window);
9677 public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);
9678 [Version (since = "2.4")]
9679 public void remove_mnemonic_label (Gtk.Widget label);
9680 [Version (since = "3.8")]
9681 public void remove_tick_callback (uint id);
9682 [Version (deprecated = true, deprecated_since = "3.0")]
9683 public Gdk.Pixbuf? render_icon (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size, string? detail);
9684 [Version (deprecated = true, deprecated_since = "3.10", since = "3.0")]
9685 public Gdk.Pixbuf? render_icon_pixbuf (string stock_id, [CCode (type = "GtkIconSize")] Gtk.IconSize size);
9686 [Version (deprecated = true, deprecated_since = "3.14")]
9687 public void reparent (Gtk.Widget new_parent);
9688 [Version (deprecated = true, deprecated_since = "3.0", replacement = "reset_style")]
9689 public void reset_rc_styles ();
9690 [Version (since = "3.0")]
9691 public void reset_style ();
9692 [Version (deprecated = true, deprecated_since = "3.22")]
9693 public int send_expose (Gdk.Event event);
9694 [Version (since = "2.20")]
9695 public bool send_focus_change (Gdk.Event event);
9696 public void set_accel_path (string? accel_path, Gtk.AccelGroup? accel_group);
9697 [CCode (cname = "gtk_widget_class_set_accessible_role")]
9698 [Version (since = "3.2")]
9699 public class void set_accessible_role (Atk.Role role);
9700 [CCode (cname = "gtk_widget_class_set_accessible_type")]
9701 [Version (since = "3.2")]
9702 public class void set_accessible_type (GLib.Type type);
9703 [Version (since = "2.18")]
9704 public void set_allocation (Gtk.Allocation allocation);
9705 public void set_app_paintable (bool app_paintable);
9706 [Version (since = "2.18")]
9707 public void set_can_default (bool can_default);
9708 [Version (since = "2.18")]
9709 public void set_can_focus (bool can_focus);
9710 public void set_child_visible (bool is_visible);
9711 [Version (since = "3.14")]
9712 public void set_clip (Gtk.Allocation clip);
9713 [Version (deprecated = true, deprecated_since = "3.10")]
9714 public void set_composite_name (string name);
9715 [CCode (cname = "gtk_widget_class_set_connect_func")]
9716 [Version (since = "3.10")]
9717 public class void set_connect_func (owned Gtk.BuilderConnectFunc connect_func);
9718 [CCode (cname = "gtk_widget_class_set_css_name")]
9719 [Version (since = "3.20")]
9720 public class void set_css_name (string name);
9721 public static void set_default_direction (Gtk.TextDirection dir);
9722 [Version (since = "3.0")]
9723 public void set_device_enabled (Gdk.Device device, bool enabled);
9724 [Version (since = "3.0")]
9725 public void set_device_events (Gdk.Device device, Gdk.EventMask events);
9726 public void set_direction (Gtk.TextDirection dir);
9727 [Version (deprecated = true, deprecated_since = "3.14")]
9728 public void set_double_buffered (bool double_buffered);
9729 public void set_events (int events);
9730 [Version (since = "3.20")]
9731 public void set_focus_on_click (bool focus_on_click);
9732 [Version (since = "3.18")]
9733 public void set_font_map (Pango.FontMap? font_map);
9734 [Version (since = "3.18")]
9735 public void set_font_options (Cairo.FontOptions? options);
9736 public void set_halign (Gtk.Align align);
9737 [Version (since = "2.12")]
9738 public void set_has_tooltip (bool has_tooltip);
9739 [Version (since = "2.18")]
9740 public void set_has_window (bool has_window);
9741 public void set_hexpand (bool expand);
9742 public void set_hexpand_set (bool @set);
9743 [Version (since = "2.20")]
9744 public void set_mapped (bool mapped);
9745 [Version (since = "3.0")]
9746 public void set_margin_bottom (int margin);
9747 [Version (since = "3.12")]
9748 public void set_margin_end (int margin);
9749 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9750 public void set_margin_left (int margin);
9751 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9752 public void set_margin_right (int margin);
9753 [Version (since = "3.12")]
9754 public void set_margin_start (int margin);
9755 [Version (since = "3.0")]
9756 public void set_margin_top (int margin);
9757 [Version (since = "2.4")]
9758 public void set_no_show_all (bool no_show_all);
9759 [Version (since = "3.8")]
9760 public void set_opacity (double opacity);
9761 public void set_parent ([CCode (type = "GtkWidget*")] Gtk.Container parent);
9762 public void set_parent_window (Gdk.Window parent_window);
9763 [Version (since = "2.20")]
9764 public void set_realized (bool realized);
9765 [Version (since = "2.18")]
9766 public void set_receives_default (bool receives_default);
9767 public void set_redraw_on_allocate (bool redraw_on_allocate);
9768 public void set_sensitive (bool sensitive);
9769 public void set_size_request (int width, int height);
9770 [Version (deprecated = true, deprecated_since = "3.0")]
9771 public void set_state (Gtk.StateType state);
9772 [Version (since = "3.0")]
9773 public void set_state_flags (Gtk.StateFlags flags, bool clear);
9774 [Version (deprecated = true, deprecated_since = "3.0")]
9775 public void set_style (Gtk.Style? style);
9776 [Version (since = "3.0")]
9777 public void set_support_multidevice (bool support_multidevice);
9778 [CCode (cname = "gtk_widget_class_set_template")]
9779 [Version (since = "3.10")]
9780 public class void set_template (GLib.Bytes template_bytes);
9781 [CCode (cname = "gtk_widget_class_set_template_from_resource")]
9782 [Version (since = "3.10")]
9783 public class void set_template_from_resource (string resource_name);
9784 [Version (since = "2.12")]
9785 public void set_tooltip_markup (string? markup);
9786 [Version (since = "2.12")]
9787 public void set_tooltip_text (string? text);
9788 [Version (since = "2.12")]
9789 public void set_tooltip_window (Gtk.Window? custom_window);
9790 public void set_valign (Gtk.Align align);
9791 public void set_vexpand (bool expand);
9792 public void set_vexpand_set (bool @set);
9793 [Version (since = "2.18")]
9794 public void set_visible (bool visible);
9795 public void set_visual (Gdk.Visual? visual);
9796 [Version (since = "2.18")]
9797 public void set_window (owned Gdk.Window window);
9798 [Version (since = "3.0")]
9799 public void shape_combine_region (Cairo.Region? region);
9800 public virtual void show_all ();
9801 public void show_now ();
9802 [Version (since = "3.10")]
9803 public void size_allocate_with_baseline (Gtk.Allocation allocation, int baseline);
9804 [Version (deprecated = true, deprecated_since = "3.0")]
9805 public Gtk.Requisition size_request ();
9806 [Version (deprecated = true, deprecated_since = "3.0", since = "2.20")]
9807 public void style_attach ();
9808 public void style_get (...);
9809 public void style_get_property (string property_name, ref GLib.Value value);
9810 public void style_get_valist (string first_property_name, [CCode (type = "va_list")] va_list var_args);
9811 public void thaw_child_notify ();
9812 public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);
9813 [Version (since = "2.12")]
9814 public void trigger_tooltip_query ();
9815 public void unparent ();
9816 [Version (since = "3.8")]
9817 public void unregister_window (Gdk.Window window);
9818 [Version (since = "3.0")]
9819 public void unset_state_flags (Gtk.StateFlags flags);
9820 public bool app_paintable { get; set; }
9821 public bool can_default { get; set; }
9822 public bool can_focus { get; set; }
9824 public bool composite_child { get; }
9825 [Version (deprecated = true, deprecated_since = "3.14", since = "2.18")]
9826 public bool double_buffered { get; set; }
9827 public Gdk.EventMask events { get; set; }
9829 [Version (since = "3.0")]
9830 public bool expand { get; set; }
9831 [Version (since = "3.20")]
9832 public bool focus_on_click { get; set; }
9833 [Version (since = "3.0")]
9834 public Gtk.Align halign { get; set; }
9836 public bool has_default { get; set; }
9838 public bool has_focus { get; set; }
9839 [Version (since = "2.12")]
9840 public bool has_tooltip { get; set; }
9842 public int height_request { get; set; }
9843 [Version (since = "3.0")]
9844 public bool hexpand { get; set; }
9845 [Version (since = "3.0")]
9846 public bool hexpand_set { get; set; }
9848 public bool is_focus { get; set; }
9850 [Version (since = "3.0")]
9851 public int margin { get; set; }
9852 [Version (since = "3.0")]
9853 public int margin_bottom { get; set; }
9854 [Version (since = "3.12")]
9855 public int margin_end { get; set; }
9856 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9857 public int margin_left { get; set; }
9858 [Version (deprecated = true, deprecated_since = "3.12", since = "3.0")]
9859 public int margin_right { get; set; }
9860 [Version (since = "3.12")]
9861 public int margin_start { get; set; }
9862 [Version (since = "3.0")]
9863 public int margin_top { get; set; }
9864 public string name { get; set; }
9865 public bool no_show_all { get; set; }
9866 [Version (since = "3.8")]
9867 public double opacity { get; set; }
9868 public Gtk.Container parent { get; set; }
9869 public bool receives_default { get; set; }
9870 [Version (since = "3.10")]
9871 public int scale_factor { get; }
9872 public bool sensitive { get; set; }
9873 [Version (deprecated = true)]
9874 public Gtk.Style style { get; set; }
9875 [Version (since = "2.12")]
9876 public string tooltip_markup { owned get; set; }
9877 [Version (since = "2.12")]
9878 public string tooltip_text { owned get; set; }
9879 [Version (since = "3.0")]
9880 public Gtk.Align valign { get; set; }
9881 [Version (since = "3.0")]
9882 public bool vexpand { get; set; }
9883 [Version (since = "3.0")]
9884 public bool vexpand_set { get; set; }
9885 public bool visible { get; set; }
9887 public int width_request { get; set; }
9888 public signal void accel_closures_changed ();
9889 public virtual signal bool button_press_event (Gdk.EventButton event);
9890 public virtual signal bool button_release_event (Gdk.EventButton event);
9892 public virtual signal bool can_activate_accel (uint signal_id);
9894 public virtual signal void child_notify (GLib.ParamSpec child_property);
9895 [Version (deprecated = true, deprecated_since = "3.22")]
9896 public virtual signal void composited_changed ();
9897 public virtual signal bool configure_event (Gdk.EventConfigure event);
9898 [Version (since = "2.14")]
9899 public virtual signal bool damage_event (Gdk.EventExpose event);
9900 public virtual signal bool delete_event (Gdk.EventAny event);
9902 public virtual signal void destroy ();
9903 public virtual signal bool destroy_event (Gdk.EventAny event);
9904 public virtual signal void direction_changed (Gtk.TextDirection previous_direction);
9905 public virtual signal void drag_begin (Gdk.DragContext context);
9906 public virtual signal void drag_data_delete (Gdk.DragContext context);
9907 public virtual signal void drag_data_get (Gdk.DragContext context, Gtk.SelectionData selection_data, uint info, uint time_);
9908 public virtual signal void drag_data_received (Gdk.DragContext context, int x, int y, Gtk.SelectionData selection_data, uint info, uint time_);
9909 public virtual signal bool drag_drop (Gdk.DragContext context, int x, int y, uint time_);
9910 public virtual signal void drag_end (Gdk.DragContext context);
9911 [Version (since = "2.12")]
9912 public virtual signal bool drag_failed (Gdk.DragContext context, Gtk.DragResult result);
9913 public virtual signal void drag_leave (Gdk.DragContext context, uint time_);
9914 public virtual signal bool drag_motion (Gdk.DragContext context, int x, int y, uint time_);
9915 [Version (since = "3.0")]
9916 public virtual signal bool draw (Cairo.Context cr);
9917 public virtual signal bool enter_notify_event (Gdk.EventCrossing event);
9919 public virtual signal bool event (Gdk.Event event);
9920 public signal void event_after (Gdk.Event event);
9921 public virtual signal bool focus (Gtk.DirectionType direction);
9922 public virtual signal bool focus_in_event (Gdk.EventFocus event);
9923 public virtual signal bool focus_out_event (Gdk.EventFocus event);
9924 [Version (since = "2.8")]
9925 public virtual signal bool grab_broken_event (Gdk.EventGrabBroken event);
9927 public virtual signal void grab_focus ();
9928 public virtual signal void grab_notify (bool was_grabbed);
9930 public virtual signal void hide ();
9931 public virtual signal void hierarchy_changed (Gtk.Widget? previous_toplevel);
9932 public virtual signal bool key_press_event (Gdk.EventKey event);
9933 public virtual signal bool key_release_event (Gdk.EventKey event);
9935 [Version (since = "2.12")]
9936 public virtual signal bool keynav_failed (Gtk.DirectionType direction);
9937 public virtual signal bool leave_notify_event (Gdk.EventCrossing event);
9939 public virtual signal void map ();
9940 public virtual signal bool map_event (Gdk.EventAny event);
9942 public virtual signal bool mnemonic_activate (bool group_cycling);
9943 public virtual signal bool motion_notify_event (Gdk.EventMotion event);
9944 public virtual signal void move_focus (Gtk.DirectionType direction);
9945 public virtual signal void parent_set (Gtk.Widget? previous_parent);
9946 public virtual signal bool popup_menu ();
9947 public virtual signal bool property_notify_event (Gdk.EventProperty event);
9948 public virtual signal bool proximity_in_event (Gdk.EventProximity event);
9949 public virtual signal bool proximity_out_event (Gdk.EventProximity event);
9950 [Version (since = "2.12")]
9951 public virtual signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
9953 public virtual signal void realize ();
9954 public virtual signal void screen_changed (Gdk.Screen? previous_screen);
9955 public virtual signal bool scroll_event (Gdk.EventScroll event);
9956 public virtual signal bool selection_clear_event (Gdk.EventSelection event);
9957 public virtual signal void selection_get (Gtk.SelectionData selection_data, uint info, uint time_);
9958 public virtual signal bool selection_notify_event (Gdk.EventSelection event);
9959 public virtual signal void selection_received (Gtk.SelectionData selection_data, uint time_);
9960 public virtual signal bool selection_request_event (Gdk.EventSelection event);
9962 public virtual signal void show ();
9963 public virtual signal bool show_help (Gtk.WidgetHelpType help_type);
9965 public virtual signal void size_allocate (Gtk.Allocation allocation);
9966 [Version (deprecated = true, deprecated_since = "3.0")]
9967 public virtual signal void state_changed (Gtk.StateType previous_state);
9968 [Version (since = "3.0")]
9969 public virtual signal void state_flags_changed (Gtk.StateFlags previous_state_flags);
9970 [Version (deprecated = true, deprecated_since = "3.0")]
9971 public virtual signal void style_set (Gtk.Style? previous_style);
9972 [Version (since = "3.0")]
9973 public virtual signal void style_updated ();
9974 public virtual signal bool touch_event (Gdk.Event event);
9976 public virtual signal void unmap ();
9977 public virtual signal bool unmap_event (Gdk.EventAny event);
9979 public virtual signal void unrealize ();
9980 [Version (deprecated = true, deprecated_since = "3.12")]
9981 public virtual signal bool visibility_notify_event (Gdk.EventVisibility event);
9982 public virtual signal bool window_state_event (Gdk.EventWindowState event);
9984 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_widget_accessible_get_type ()")]
9985 public class WidgetAccessible : Gtk.Accessible, Atk.Component {
9986 [CCode (has_construct_function = false)]
9987 protected WidgetAccessible ();
9989 public virtual void notify_gtk (GLib.ParamSpec pspec);
9991 [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")]
9993 public class WidgetPath {
9994 [CCode (has_construct_function = false)]
9995 [Version (since = "3.0")]
9996 public WidgetPath ();
9997 [Version (since = "3.2")]
9998 public int append_for_widget (Gtk.Widget widget);
9999 [Version (since = "3.0")]
10000 public int append_type (GLib.Type type);
10001 [Version (since = "3.2")]
10002 public int append_with_siblings (Gtk.WidgetPath siblings, uint sibling_index);
10003 [Version (since = "3.0")]
10004 public Gtk.WidgetPath copy ();
10006 [Version (since = "3.0")]
10007 public void free ();
10008 [Version (since = "3.0")]
10009 public GLib.Type get_object_type ();
10010 [Version (since = "3.0")]
10011 public bool has_parent (GLib.Type type);
10012 [Version (since = "3.0")]
10013 public bool is_type (GLib.Type type);
10014 [Version (since = "3.0")]
10015 public void iter_add_class (int pos, string name);
10016 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10017 public void iter_add_region (int pos, string name, Gtk.RegionFlags flags);
10018 [Version (since = "3.0")]
10019 public void iter_clear_classes (int pos);
10020 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10021 public void iter_clear_regions (int pos);
10022 public unowned string? iter_get_name (int pos);
10023 [Version (since = "3.20")]
10024 public unowned string? iter_get_object_name (int pos);
10025 [Version (since = "3.0")]
10026 public GLib.Type iter_get_object_type (int pos);
10027 public uint iter_get_sibling_index (int pos);
10028 public unowned Gtk.WidgetPath iter_get_siblings (int pos);
10029 [Version (since = "3.14")]
10030 public Gtk.StateFlags iter_get_state (int pos);
10031 [Version (since = "3.0")]
10032 public bool iter_has_class (int pos, string name);
10033 [Version (since = "3.0")]
10034 public bool iter_has_name (int pos, string name);
10035 [Version (since = "3.0")]
10036 public bool iter_has_qclass (int pos, GLib.Quark qname);
10037 [Version (since = "3.0")]
10038 public bool iter_has_qname (int pos, GLib.Quark qname);
10039 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10040 public bool iter_has_qregion (int pos, GLib.Quark qname, out Gtk.RegionFlags flags);
10041 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10042 public bool iter_has_region (int pos, string name, out Gtk.RegionFlags flags);
10043 [Version (since = "3.0")]
10044 public GLib.SList<weak string> iter_list_classes (int pos);
10045 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10046 public GLib.SList<weak string> iter_list_regions (int pos);
10047 [Version (since = "3.0")]
10048 public void iter_remove_class (int pos, string name);
10049 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10050 public void iter_remove_region (int pos, string name);
10051 [Version (since = "3.0")]
10052 public void iter_set_name (int pos, string name);
10053 [Version (since = "3.20")]
10054 public void iter_set_object_name (int pos, string? name);
10055 [Version (since = "3.0")]
10056 public void iter_set_object_type (int pos, GLib.Type type);
10057 [Version (since = "3.14")]
10058 public void iter_set_state (int pos, Gtk.StateFlags state);
10059 [Version (since = "3.0")]
10060 public int length ();
10061 [Version (since = "3.0")]
10062 public void prepend_type (GLib.Type type);
10063 [Version (since = "3.2")]
10064 public unowned Gtk.WidgetPath @ref ();
10065 [Version (since = "3.2")]
10066 public string to_string ();
10067 [Version (since = "3.2")]
10068 public void unref ();
10070 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_get_type ()")]
10071 public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
10072 [CCode (has_construct_function = false, type = "GtkWidget*")]
10073 public Window (Gtk.WindowType type = Gtk.WindowType.TOPLEVEL);
10074 [Version (since = "2.4")]
10075 public bool activate_key (Gdk.EventKey event);
10076 public void add_accel_group (Gtk.AccelGroup accel_group);
10077 public void add_mnemonic (uint keyval, Gtk.Widget target);
10078 public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
10079 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
10080 [Version (since = "3.10")]
10081 public void close ();
10082 public void deiconify ();
10083 [Version (since = "2.2")]
10084 public void fullscreen ();
10085 [Version (since = "3.18")]
10086 public void fullscreen_on_monitor (Gdk.Screen screen, int monitor);
10087 [Version (since = "2.4")]
10088 public bool get_accept_focus ();
10089 [Version (since = "3.0")]
10090 public unowned Gtk.Application? get_application ();
10091 [Version (since = "3.4")]
10092 public unowned Gtk.Widget? get_attached_to ();
10093 public bool get_decorated ();
10094 public static GLib.List<weak Gdk.Pixbuf> get_default_icon_list ();
10095 [Version (since = "2.16")]
10096 public static unowned string get_default_icon_name ();
10097 public void get_default_size (out int width, out int height);
10098 [Version (since = "2.14")]
10099 public unowned Gtk.Widget? get_default_widget ();
10100 [Version (since = "2.10")]
10101 public bool get_deletable ();
10102 public bool get_destroy_with_parent ();
10103 public unowned Gtk.Widget? get_focus ();
10104 [Version (since = "2.6")]
10105 public bool get_focus_on_map ();
10106 [Version (since = "3.2")]
10107 public bool get_focus_visible ();
10108 public Gdk.Gravity get_gravity ();
10109 [Version (since = "2.10")]
10110 public unowned Gtk.WindowGroup get_group ();
10111 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10112 public bool get_has_resize_grip ();
10113 [Version (since = "3.4")]
10114 public bool get_hide_titlebar_when_maximized ();
10115 public unowned Gdk.Pixbuf? get_icon ();
10116 public GLib.List<weak Gdk.Pixbuf> get_icon_list ();
10117 [Version (since = "2.6")]
10118 public unowned string? get_icon_name ();
10119 public Gdk.ModifierType get_mnemonic_modifier ();
10120 [Version (since = "2.20")]
10121 public bool get_mnemonics_visible ();
10122 public bool get_modal ();
10123 [Version (deprecated = true, deprecated_since = "3.8", since = "2.12")]
10124 public double get_opacity ();
10125 public void get_position (out int root_x, out int root_y);
10126 public bool get_resizable ();
10127 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10128 public bool get_resize_grip_area (out Gdk.Rectangle rect);
10129 public unowned string? get_role ();
10130 [Version (since = "2.2")]
10131 public unowned Gdk.Screen get_screen ();
10132 public void get_size (out int width, out int height);
10133 [Version (since = "2.2")]
10134 public bool get_skip_pager_hint ();
10135 [Version (since = "2.2")]
10136 public bool get_skip_taskbar_hint ();
10137 public unowned string? get_title ();
10138 [Version (since = "3.16")]
10139 public unowned Gtk.Widget? get_titlebar ();
10140 public unowned Gtk.Window? get_transient_for ();
10141 public Gdk.WindowTypeHint get_type_hint ();
10142 [Version (since = "2.8")]
10143 public bool get_urgency_hint ();
10144 [Version (since = "2.20")]
10145 public Gtk.WindowType get_window_type ();
10146 public bool has_group ();
10147 public void iconify ();
10148 public static GLib.List<weak Gtk.Window> list_toplevels ();
10149 public void maximize ();
10150 public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier);
10151 public void move (int x, int y);
10152 [Version (deprecated = true, deprecated_since = "3.20")]
10153 public bool parse_geometry (string geometry);
10154 public void present ();
10155 [Version (since = "2.8")]
10156 public void present_with_time (uint32 timestamp);
10157 [Version (since = "2.4")]
10158 public bool propagate_key_event (Gdk.EventKey event);
10159 public void remove_accel_group (Gtk.AccelGroup accel_group);
10160 public void remove_mnemonic (uint keyval, Gtk.Widget target);
10161 [Version (deprecated = true, deprecated_since = "3.10")]
10162 public void reshow_with_initial_size ();
10163 public void resize (int width, int height);
10164 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10165 public bool resize_grip_is_visible ();
10166 [Version (deprecated = true, deprecated_since = "3.20", since = "3.0")]
10167 public void resize_to_geometry (int width, int height);
10168 [Version (since = "2.4")]
10169 public void set_accept_focus (bool setting);
10170 [Version (since = "3.0")]
10171 public void set_application (Gtk.Application? application);
10172 [Version (since = "3.4")]
10173 public void set_attached_to (Gtk.Widget? attach_widget);
10174 [Version (since = "2.2")]
10175 public static void set_auto_startup_notification (bool setting);
10176 public void set_decorated (bool setting);
10177 public void set_default (Gtk.Widget? default_widget);
10178 [Version (deprecated = true, deprecated_since = "3.20", since = "3.0")]
10179 public void set_default_geometry (int width, int height);
10180 [Version (since = "2.4")]
10181 public static void set_default_icon (Gdk.Pixbuf icon);
10182 [Version (since = "2.2")]
10183 public static bool set_default_icon_from_file (string filename) throws GLib.Error;
10184 public static void set_default_icon_list (owned GLib.List<weak Gdk.Pixbuf> list);
10185 [Version (since = "2.6")]
10186 public static void set_default_icon_name (string name);
10187 public void set_default_size (int width, int height);
10188 [Version (since = "2.10")]
10189 public void set_deletable (bool setting);
10190 public void set_destroy_with_parent (bool setting);
10191 [Version (since = "2.6")]
10192 public void set_focus_on_map (bool setting);
10193 [Version (since = "3.2")]
10194 public void set_focus_visible (bool setting);
10195 public void set_geometry_hints (Gtk.Widget? geometry_widget, Gdk.Geometry? geometry, Gdk.WindowHints geom_mask);
10196 public void set_gravity (Gdk.Gravity gravity);
10197 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10198 public void set_has_resize_grip (bool value);
10199 [Version (since = "3.0")]
10200 public void set_has_user_ref_count (bool setting);
10201 [Version (since = "3.4")]
10202 public void set_hide_titlebar_when_maximized (bool setting);
10203 public void set_icon (Gdk.Pixbuf? icon);
10204 [Version (since = "2.2")]
10205 public bool set_icon_from_file (string filename) throws GLib.Error;
10206 public void set_icon_list (GLib.List<Gdk.Pixbuf> list);
10207 [Version (since = "2.6")]
10208 public void set_icon_name (string? name);
10209 [Version (since = "3.14")]
10210 public static void set_interactive_debugging (bool enable);
10211 [Version (since = "2.4")]
10212 public void set_keep_above (bool setting);
10213 [Version (since = "2.4")]
10214 public void set_keep_below (bool setting);
10215 public void set_mnemonic_modifier (Gdk.ModifierType modifier);
10216 [Version (since = "2.20")]
10217 public void set_mnemonics_visible (bool setting);
10218 public void set_modal (bool modal);
10219 [Version (deprecated = true, deprecated_since = "3.8", since = "2.12")]
10220 public void set_opacity (double opacity);
10221 public void set_position (Gtk.WindowPosition position);
10222 public void set_resizable (bool resizable);
10223 public void set_role (string role);
10224 [Version (since = "2.2")]
10225 public void set_screen (Gdk.Screen screen);
10226 [Version (since = "2.2")]
10227 public void set_skip_pager_hint (bool setting);
10228 [Version (since = "2.2")]
10229 public void set_skip_taskbar_hint (bool setting);
10230 [Version (since = "2.12")]
10231 public void set_startup_id (string startup_id);
10232 public void set_title (string title);
10233 [Version (since = "3.10")]
10234 public void set_titlebar (Gtk.Widget? titlebar);
10235 public void set_transient_for (Gtk.Window? parent);
10236 public void set_type_hint (Gdk.WindowTypeHint hint);
10237 [Version (since = "2.8")]
10238 public void set_urgency_hint (bool setting);
10239 [Version (deprecated = true, deprecated_since = "3.22")]
10240 public void set_wmclass (string wmclass_name, string wmclass_class);
10241 public void stick ();
10242 [CCode (cname = "gtk_window_activate_default")]
10243 public bool try_activate_default ();
10244 [CCode (cname = "gtk_window_activate_focus")]
10245 public bool try_activate_focus ();
10246 [Version (since = "2.2")]
10247 public void unfullscreen ();
10248 public void unmaximize ();
10249 public void unstick ();
10250 [Version (since = "2.4")]
10251 public bool accept_focus { get; set; }
10252 [Version (since = "3.0")]
10253 public Gtk.Application application { get; set; }
10254 [Version (since = "3.4")]
10255 public Gtk.Widget attached_to { get; set construct; }
10256 [Version (since = "2.4")]
10257 public bool decorated { get; set; }
10259 public int default_height { get; set; }
10261 public int default_width { get; set; }
10262 [Version (since = "2.10")]
10263 public bool deletable { get; set; }
10264 public bool destroy_with_parent { get; set; }
10265 [Version (since = "2.6")]
10266 public bool focus_on_map { get; set; }
10267 [Version (since = "2.20")]
10268 public bool focus_visible { get; set; }
10269 [Version (since = "2.4")]
10270 public Gdk.Gravity gravity { get; set; }
10271 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10272 public bool has_resize_grip { get; set; }
10274 public bool has_toplevel_focus { get; }
10275 [Version (since = "3.4")]
10276 public bool hide_titlebar_when_maximized { get; set; }
10277 public Gdk.Pixbuf icon { get; set; }
10278 [Version (since = "2.6")]
10279 public string icon_name { get; set; }
10281 public bool is_active { get; }
10283 public bool is_maximized { get; }
10284 [Version (since = "2.20")]
10285 public bool mnemonics_visible { get; set; }
10286 public bool modal { get; set; }
10287 public bool resizable { get; set; }
10289 [Version (deprecated = true, deprecated_since = "3.14", since = "3.0")]
10290 public bool resize_grip_visible { get; }
10291 public string role { get; set; }
10292 public Gdk.Screen screen { get; set; }
10293 public bool skip_pager_hint { get; set; }
10294 public bool skip_taskbar_hint { get; set; }
10295 [Version (since = "2.12")]
10296 public string startup_id { set; }
10297 public string title { get; set; }
10298 [Version (since = "2.10")]
10299 public Gtk.Window transient_for { get; set construct; }
10301 public Gtk.WindowType type { get; construct; }
10302 public Gdk.WindowTypeHint type_hint { get; set; }
10303 public bool urgency_hint { get; set; }
10305 public Gtk.WindowPosition window_position { get; set; }
10306 public virtual signal void activate_default ();
10307 public virtual signal void activate_focus ();
10308 public virtual signal bool enable_debugging (bool toggle);
10309 public virtual signal void keys_changed ();
10311 public virtual signal void set_focus (Gtk.Widget? focus);
10313 [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_window_accessible_get_type ()")]
10314 public class WindowAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Window {
10315 [CCode (has_construct_function = false)]
10316 protected WindowAccessible ();
10318 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10320 public class WindowGeometryInfo {
10322 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_window_group_get_type ()")]
10323 public class WindowGroup : GLib.Object {
10324 [CCode (has_construct_function = false)]
10325 public WindowGroup ();
10326 public void add_window (Gtk.Window window);
10327 [Version (since = "3.0")]
10328 public unowned Gtk.Widget? get_current_device_grab (Gdk.Device device);
10329 [Version (since = "2.22")]
10330 public unowned Gtk.Widget get_current_grab ();
10331 [Version (since = "2.14")]
10332 public GLib.List<weak Gtk.Window> list_windows ();
10333 public void remove_window (Gtk.Window window);
10335 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkActionableInterface", type_id = "gtk_actionable_get_type ()")]
10336 public interface Actionable : Gtk.Widget {
10337 [Version (since = "3.4")]
10338 public abstract unowned string? get_action_name ();
10339 [Version (since = "3.4")]
10340 public abstract unowned GLib.Variant get_action_target_value ();
10341 [Version (since = "3.4")]
10342 public abstract void set_action_name (string? action_name);
10343 [Version (since = "3.4")]
10344 public void set_action_target (string format_string, ...);
10345 [Version (since = "3.4")]
10346 public abstract void set_action_target_value (GLib.Variant target_value);
10347 [Version (since = "3.4")]
10348 public void set_detailed_action_name (string detailed_action_name);
10349 public string action_name { get; set; }
10351 public GLib.Variant action_target { owned get; set; }
10353 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_activatable_get_type ()")]
10354 [Version (deprecated = true, deprecated_since = "3.10")]
10355 public interface Activatable : GLib.Object {
10356 [Version (since = "2.16")]
10357 public void do_set_related_action (Gtk.Action action);
10358 [Version (since = "2.16")]
10359 public unowned Gtk.Action get_related_action ();
10360 [Version (since = "2.16")]
10361 public bool get_use_action_appearance ();
10362 [Version (since = "2.16")]
10363 public void set_related_action (Gtk.Action action);
10364 [Version (since = "2.16")]
10365 public void set_use_action_appearance (bool use_appearance);
10366 [Version (since = "2.16")]
10367 public abstract void sync_action_properties (Gtk.Action? action);
10369 public abstract void update (Gtk.Action action, string property_name);
10370 [Version (since = "2.16")]
10371 public Gtk.Action related_action { get; set; }
10372 [Version (since = "2.16")]
10373 public bool use_action_appearance { get; set; }
10375 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_get_type ()")]
10376 public interface AppChooser : Gtk.Widget {
10377 [Version (since = "3.0")]
10378 public GLib.AppInfo? get_app_info ();
10379 [Version (since = "3.0")]
10380 public string get_content_type ();
10381 [Version (since = "3.0")]
10382 public void refresh ();
10383 public string content_type { owned get; construct; }
10385 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_buildable_get_type ()")]
10386 public interface Buildable : GLib.Object {
10387 [Version (since = "2.12")]
10388 public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type);
10389 [Version (since = "2.12")]
10390 public abstract GLib.Object construct_child (Gtk.Builder builder, string name);
10391 [Version (since = "2.12")]
10392 public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
10393 [Version (since = "2.12")]
10394 public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, void* data);
10395 [Version (since = "2.12")]
10396 public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data);
10397 [Version (since = "2.12")]
10398 public abstract unowned GLib.Object get_internal_child (Gtk.Builder builder, string childname);
10399 [Version (since = "2.12")]
10400 public abstract unowned string get_name ();
10401 [Version (since = "2.12")]
10402 public abstract void parser_finished (Gtk.Builder builder);
10403 [Version (since = "2.12")]
10404 public abstract void set_buildable_property (Gtk.Builder builder, string name, GLib.Value value);
10405 [Version (since = "2.12")]
10406 public abstract void set_name (string name);
10408 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_accessible_parent_get_type ()")]
10409 public interface CellAccessibleParent : GLib.Object {
10410 public abstract void activate (Gtk.CellAccessible cell);
10411 public abstract void edit (Gtk.CellAccessible cell);
10412 public abstract void expand_collapse (Gtk.CellAccessible cell);
10413 public abstract void get_cell_area (Gtk.CellAccessible cell, Gdk.Rectangle cell_rect);
10414 public abstract void get_cell_extents (Gtk.CellAccessible cell, int x, int y, int width, int height, Atk.CoordType coord_type);
10415 public abstract int get_child_index (Gtk.CellAccessible cell);
10416 public abstract Gtk.CellRendererState get_renderer_state (Gtk.CellAccessible cell);
10417 public abstract bool grab_focus (Gtk.CellAccessible cell);
10418 public abstract void update_relationset (Gtk.CellAccessible cell, Atk.RelationSet relationset);
10420 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_editable_get_type ()")]
10421 public interface CellEditable : Gtk.Widget {
10422 public abstract void start_editing (Gdk.Event? event);
10424 [Version (since = "2.20")]
10425 public bool editing_canceled { get; set; }
10427 public virtual signal void editing_done ();
10429 public virtual signal void remove_widget ();
10431 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_cell_layout_get_type ()")]
10432 public interface CellLayout : GLib.Object {
10433 [Version (since = "2.4")]
10434 public abstract void add_attribute (Gtk.CellRenderer cell, string attribute, int column);
10435 [Version (since = "2.4")]
10436 public abstract void clear ();
10437 [Version (since = "2.4")]
10438 public abstract void clear_attributes (Gtk.CellRenderer cell);
10439 [Version (since = "3.0")]
10440 public abstract unowned Gtk.CellArea? get_area ();
10441 [Version (since = "2.12")]
10442 public abstract GLib.List<weak Gtk.CellRenderer> get_cells ();
10443 [Version (since = "2.4")]
10444 public abstract void pack_end (Gtk.CellRenderer cell, bool expand);
10445 [Version (since = "2.4")]
10446 public abstract void pack_start (Gtk.CellRenderer cell, bool expand);
10447 [Version (since = "2.4")]
10448 public abstract void reorder (Gtk.CellRenderer cell, int position);
10449 [Version (since = "2.4")]
10450 public void set_attributes (Gtk.CellRenderer cell, ...);
10451 [Version (since = "2.4")]
10452 public abstract void set_cell_data_func (Gtk.CellRenderer cell, owned Gtk.CellLayoutDataFunc? func);
10454 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkColorChooserInterface", type_id = "gtk_color_chooser_get_type ()")]
10455 public interface ColorChooser : GLib.Object {
10456 [Version (since = "3.4")]
10457 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);
10458 [Version (since = "3.4")]
10459 public abstract Gdk.RGBA get_rgba ();
10460 [Version (since = "3.4")]
10461 public bool get_use_alpha ();
10462 [Version (since = "3.4")]
10463 public abstract void set_rgba (Gdk.RGBA color);
10464 [Version (since = "3.4")]
10465 public void set_use_alpha (bool use_alpha);
10466 [Version (since = "3.4")]
10467 public Gdk.RGBA rgba { get; set; }
10468 [Version (since = "3.4")]
10469 public bool use_alpha { get; set; }
10470 [Version (since = "3.4")]
10471 public virtual signal void color_activated (Gdk.RGBA color);
10473 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkEditableInterface", type_id = "gtk_editable_get_type ()")]
10474 public interface Editable : GLib.Object {
10475 public void copy_clipboard ();
10476 public void cut_clipboard ();
10477 public void delete_selection ();
10479 public abstract void do_delete_text (int start_pos, int end_pos);
10481 public abstract void do_insert_text (string new_text, int new_text_length, ref int position);
10482 public abstract string get_chars (int start_pos = 0, int end_pos = -1);
10483 public bool get_editable ();
10484 public abstract int get_position ();
10485 public abstract bool get_selection_bounds (out int start_pos, out int end_pos);
10486 public void paste_clipboard ();
10487 [CCode (vfunc_name = "set_selection_bounds")]
10488 public abstract void select_region (int start_pos, int end_pos);
10489 public void set_editable (bool is_editable);
10490 public abstract void set_position (int position);
10491 public virtual signal void changed ();
10492 public virtual signal void delete_text (int start_pos, int end_pos);
10493 public virtual signal void insert_text (string new_text, int new_text_length, ref int position);
10495 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_file_chooser_get_type ()")]
10496 public interface FileChooser : GLib.Object {
10497 [Version (since = "3.22")]
10498 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);
10499 [Version (since = "2.4")]
10500 public void add_filter (owned Gtk.FileFilter filter);
10501 [Version (since = "2.4")]
10502 public bool add_shortcut_folder (string folder) throws GLib.Error;
10503 [Version (since = "2.4")]
10504 public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
10505 [Version (since = "2.4")]
10506 public Gtk.FileChooserAction get_action ();
10507 [Version (since = "3.22")]
10508 public unowned string get_choice (string id);
10509 [Version (since = "2.18")]
10510 public bool get_create_folders ();
10511 [Version (since = "2.4")]
10512 public string? get_current_folder ();
10513 [Version (since = "2.14")]
10514 public GLib.File get_current_folder_file ();
10515 [Version (since = "2.4")]
10516 public string? get_current_folder_uri ();
10517 [Version (since = "3.10")]
10518 public string get_current_name ();
10519 [Version (since = "2.8")]
10520 public bool get_do_overwrite_confirmation ();
10521 [Version (since = "2.4")]
10522 public unowned Gtk.Widget? get_extra_widget ();
10523 [Version (since = "2.14")]
10524 public GLib.File get_file ();
10525 [Version (since = "2.4")]
10526 public string? get_filename ();
10527 [Version (since = "2.4")]
10528 public GLib.SList<string> get_filenames ();
10529 [Version (since = "2.14")]
10530 public GLib.SList<GLib.File> get_files ();
10531 [Version (since = "2.4")]
10532 public unowned Gtk.FileFilter? get_filter ();
10533 [Version (since = "2.4")]
10534 public bool get_local_only ();
10535 [Version (since = "2.14")]
10536 public GLib.File? get_preview_file ();
10537 [Version (since = "2.4")]
10538 public string? get_preview_filename ();
10539 [Version (since = "2.4")]
10540 public string? get_preview_uri ();
10541 [Version (since = "2.4")]
10542 public unowned Gtk.Widget? get_preview_widget ();
10543 [Version (since = "2.4")]
10544 public bool get_preview_widget_active ();
10545 [Version (since = "2.4")]
10546 public bool get_select_multiple ();
10547 [Version (since = "2.6")]
10548 public bool get_show_hidden ();
10549 [Version (since = "2.4")]
10550 public string? get_uri ();
10551 [Version (since = "2.4")]
10552 public GLib.SList<string> get_uris ();
10553 public bool get_use_preview_label ();
10554 [Version (since = "2.4")]
10555 public GLib.SList<weak Gtk.FileFilter> list_filters ();
10556 [Version (since = "2.4")]
10557 public GLib.SList<string>? list_shortcut_folder_uris ();
10558 [Version (since = "2.4")]
10559 public GLib.SList<string>? list_shortcut_folders ();
10560 [Version (since = "3.22")]
10561 public void remove_choice (string id);
10562 [Version (since = "2.4")]
10563 public void remove_filter (Gtk.FileFilter filter);
10564 [Version (since = "2.4")]
10565 public bool remove_shortcut_folder (string folder) throws GLib.Error;
10566 [Version (since = "2.4")]
10567 public bool remove_shortcut_folder_uri (string uri) throws GLib.Error;
10568 [Version (since = "2.4")]
10569 public void select_all ();
10570 [Version (since = "2.14")]
10571 public bool select_file (GLib.File file) throws GLib.Error;
10572 [Version (since = "2.4")]
10573 public bool select_filename (string filename);
10574 [Version (since = "2.4")]
10575 public bool select_uri (string uri);
10576 [Version (since = "2.4")]
10577 public void set_action (Gtk.FileChooserAction action);
10578 [Version (since = "3.22")]
10579 public void set_choice (string id, string option);
10580 [Version (since = "2.18")]
10581 public void set_create_folders (bool create_folders);
10582 [Version (since = "2.4")]
10583 public bool set_current_folder (string filename);
10584 [Version (since = "2.14")]
10585 public bool set_current_folder_file (GLib.File file) throws GLib.Error;
10586 [Version (since = "2.4")]
10587 public bool set_current_folder_uri (string uri);
10588 [Version (since = "2.4")]
10589 public void set_current_name (string name);
10590 [Version (since = "2.8")]
10591 public void set_do_overwrite_confirmation (bool do_overwrite_confirmation);
10592 [Version (since = "2.4")]
10593 public void set_extra_widget (Gtk.Widget extra_widget);
10594 [Version (since = "2.14")]
10595 public bool set_file (GLib.File file) throws GLib.Error;
10596 [Version (since = "2.4")]
10597 public bool set_filename (string filename);
10598 [Version (since = "2.4")]
10599 public void set_filter (Gtk.FileFilter filter);
10600 [Version (since = "2.4")]
10601 public void set_local_only (bool local_only);
10602 [Version (since = "2.4")]
10603 public void set_preview_widget (Gtk.Widget preview_widget);
10604 [Version (since = "2.4")]
10605 public void set_preview_widget_active (bool active);
10606 [Version (since = "2.4")]
10607 public void set_select_multiple (bool select_multiple);
10608 [Version (since = "2.6")]
10609 public void set_show_hidden (bool show_hidden);
10610 [Version (since = "2.4")]
10611 public bool set_uri (string uri);
10612 [Version (since = "2.4")]
10613 public void set_use_preview_label (bool use_label);
10614 [Version (since = "2.4")]
10615 public void unselect_all ();
10616 [Version (since = "2.14")]
10617 public void unselect_file (GLib.File file);
10618 [Version (since = "2.4")]
10619 public void unselect_filename (string filename);
10620 [Version (since = "2.4")]
10621 public void unselect_uri (string uri);
10622 public Gtk.FileChooserAction action { get; set; }
10623 [Version (since = "2.18")]
10624 public bool create_folders { get; set; }
10625 [Version (since = "2.8")]
10626 public bool do_overwrite_confirmation { get; set; }
10627 public Gtk.Widget extra_widget { get; set; }
10628 public Gtk.FileFilter filter { get; set; }
10629 public bool local_only { get; set; }
10630 public Gtk.Widget preview_widget { get; set; }
10631 public bool preview_widget_active { get; set; }
10632 public bool select_multiple { get; set; }
10633 public bool show_hidden { get; set; }
10634 public bool use_preview_label { get; set; }
10635 [Version (since = "2.8")]
10636 public signal Gtk.FileChooserConfirmation confirm_overwrite ();
10637 public signal void current_folder_changed ();
10638 public signal void file_activated ();
10639 public signal void selection_changed ();
10640 public signal void update_preview ();
10642 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_chooser_get_type ()")]
10643 public interface FontChooser : GLib.Object {
10644 [Version (since = "3.2")]
10645 public string? get_font ();
10646 [Version (since = "3.2")]
10647 public Pango.FontDescription? get_font_desc ();
10648 [Version (since = "3.2")]
10649 public abstract unowned Pango.FontFace? get_font_face ();
10650 [Version (since = "3.2")]
10651 public abstract unowned Pango.FontFamily? get_font_family ();
10652 [Version (since = "3.24")]
10653 public string get_font_features ();
10654 [Version (since = "3.18")]
10655 public abstract Pango.FontMap? get_font_map ();
10656 [Version (since = "3.2")]
10657 public abstract int get_font_size ();
10658 [Version (since = "3.24")]
10659 public string get_language ();
10660 [Version (since = "3.24")]
10661 public Gtk.FontChooserLevel get_level ();
10662 [Version (since = "3.2")]
10663 public string get_preview_text ();
10664 [Version (since = "3.2")]
10665 public bool get_show_preview_entry ();
10666 [Version (since = "3.2")]
10667 public abstract void set_filter_func (owned Gtk.FontFilterFunc? filter);
10668 [Version (since = "3.2")]
10669 public void set_font (string fontname);
10670 [Version (since = "3.2")]
10671 public void set_font_desc (Pango.FontDescription font_desc);
10672 [Version (since = "3.18")]
10673 public abstract void set_font_map (Pango.FontMap? fontmap);
10674 [Version (since = "3.24")]
10675 public void set_language (string language);
10676 [Version (since = "3.24")]
10677 public void set_level (Gtk.FontChooserLevel level);
10678 [Version (since = "3.2")]
10679 public void set_preview_text (string text);
10680 [Version (since = "3.2")]
10681 public void set_show_preview_entry (bool show_preview_entry);
10682 public string font { owned get; set; }
10683 public Pango.FontDescription font_desc { owned get; set; }
10684 [Version (since = "3.22.30")]
10685 public string font_features { owned get; }
10686 [Version (since = "3.22.30")]
10687 public string language { owned get; set; }
10688 [Version (since = "3.22.30")]
10689 public Gtk.FontChooserLevel level { get; set; }
10690 public string preview_text { owned get; set; }
10691 public bool show_preview_entry { get; set; }
10692 public virtual signal void font_activated (string fontname);
10694 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_orientable_get_type ()")]
10695 public interface Orientable : GLib.Object {
10696 [Version (since = "2.16")]
10697 public Gtk.Orientation get_orientation ();
10698 [Version (since = "2.16")]
10699 public void set_orientation (Gtk.Orientation orientation);
10700 [Version (since = "2.16")]
10701 public Gtk.Orientation orientation { get; set; }
10703 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_operation_preview_get_type ()")]
10704 public interface PrintOperationPreview : GLib.Object {
10705 [Version (since = "2.10")]
10706 public abstract void end_preview ();
10707 [Version (since = "2.10")]
10708 public abstract bool is_selected (int page_nr);
10709 [Version (since = "2.10")]
10710 public abstract void render_page (int page_nr);
10711 public virtual signal void got_page_size (Gtk.PrintContext context, Gtk.PageSetup page_setup);
10712 public virtual signal void ready (Gtk.PrintContext context);
10714 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_get_type ()")]
10715 public interface RecentChooser : GLib.Object {
10716 [Version (since = "2.10")]
10717 public abstract void add_filter (Gtk.RecentFilter filter);
10718 [Version (since = "2.10")]
10719 public Gtk.RecentInfo get_current_item ();
10720 [Version (since = "2.10")]
10721 public abstract string get_current_uri ();
10722 [Version (since = "2.10")]
10723 public unowned Gtk.RecentFilter get_filter ();
10724 [Version (since = "2.10")]
10725 public abstract GLib.List<Gtk.RecentInfo> get_items ();
10726 [Version (since = "2.10")]
10727 public int get_limit ();
10728 [Version (since = "2.10")]
10729 public bool get_local_only ();
10731 public abstract unowned Gtk.RecentManager get_recent_manager ();
10732 [Version (since = "2.10")]
10733 public bool get_select_multiple ();
10734 [Version (since = "2.10")]
10735 public bool get_show_icons ();
10736 [Version (since = "2.10")]
10737 public bool get_show_not_found ();
10738 [Version (since = "2.10")]
10739 public bool get_show_private ();
10740 [Version (since = "2.10")]
10741 public bool get_show_tips ();
10742 [Version (since = "2.10")]
10743 public Gtk.RecentSortType get_sort_type ();
10744 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "gsize", array_null_terminated = true)]
10745 [Version (since = "2.10")]
10746 public string[] get_uris ();
10747 [Version (since = "2.10")]
10748 public abstract GLib.SList<weak Gtk.RecentFilter> list_filters ();
10749 [Version (since = "2.10")]
10750 public abstract void remove_filter (Gtk.RecentFilter filter);
10751 [Version (since = "2.10")]
10752 public abstract void select_all ();
10753 [Version (since = "2.10")]
10754 public abstract bool select_uri (string uri) throws GLib.Error;
10755 [Version (since = "2.10")]
10756 public abstract bool set_current_uri (string uri) throws GLib.Error;
10757 [Version (since = "2.10")]
10758 public void set_filter (Gtk.RecentFilter? filter);
10759 [Version (since = "2.10")]
10760 public void set_limit (int limit);
10761 [Version (since = "2.10")]
10762 public void set_local_only (bool local_only);
10763 [Version (since = "2.10")]
10764 public void set_select_multiple (bool select_multiple);
10765 [Version (since = "2.10")]
10766 public void set_show_icons (bool show_icons);
10767 [Version (since = "2.10")]
10768 public void set_show_not_found (bool show_not_found);
10769 [Version (since = "2.10")]
10770 public void set_show_private (bool show_private);
10771 [Version (since = "2.10")]
10772 public void set_show_tips (bool show_tips);
10773 [Version (since = "2.10")]
10774 public abstract void set_sort_func (owned Gtk.RecentSortFunc sort_func);
10775 [Version (since = "2.10")]
10776 public void set_sort_type (Gtk.RecentSortType sort_type);
10777 [Version (since = "2.10")]
10778 public abstract void unselect_all ();
10779 [Version (since = "2.10")]
10780 public abstract void unselect_uri (string uri);
10781 [Version (since = "2.10")]
10782 public Gtk.RecentFilter filter { get; set; }
10783 [Version (since = "2.10")]
10784 public int limit { get; set; }
10785 [Version (since = "2.10")]
10786 public bool local_only { get; set; }
10788 [Version (since = "2.10")]
10789 public Gtk.RecentManager recent_manager { construct; }
10790 [Version (since = "2.10")]
10791 public bool select_multiple { get; set; }
10792 [Version (since = "2.10")]
10793 public bool show_icons { get; set; }
10794 [Version (since = "2.10")]
10795 public bool show_not_found { get; set; }
10796 public bool show_private { get; set; }
10797 [Version (since = "2.10")]
10798 public bool show_tips { get; set; }
10799 [Version (since = "2.10")]
10800 public Gtk.RecentSortType sort_type { get; set; }
10801 [Version (since = "2.10")]
10802 public virtual signal void item_activated ();
10803 [Version (since = "2.10")]
10804 public virtual signal void selection_changed ();
10806 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkScrollableInterface", type_id = "gtk_scrollable_get_type ()")]
10807 public interface Scrollable : GLib.Object {
10808 [Version (since = "3.16")]
10809 public abstract bool get_border (out Gtk.Border border);
10810 [Version (since = "3.0")]
10811 public unowned Gtk.Adjustment get_hadjustment ();
10812 [Version (since = "3.0")]
10813 public Gtk.ScrollablePolicy get_hscroll_policy ();
10814 [Version (since = "3.0")]
10815 public unowned Gtk.Adjustment get_vadjustment ();
10816 [Version (since = "3.0")]
10817 public Gtk.ScrollablePolicy get_vscroll_policy ();
10818 [Version (since = "3.0")]
10819 public void set_hadjustment (Gtk.Adjustment? hadjustment);
10820 [Version (since = "3.0")]
10821 public void set_hscroll_policy (Gtk.ScrollablePolicy policy);
10822 [Version (since = "3.0")]
10823 public void set_vadjustment (Gtk.Adjustment? vadjustment);
10824 [Version (since = "3.0")]
10825 public void set_vscroll_policy (Gtk.ScrollablePolicy policy);
10826 [Version (since = "3.0")]
10827 public Gtk.Adjustment hadjustment { get; set construct; }
10828 [Version (since = "3.0")]
10829 public Gtk.ScrollablePolicy hscroll_policy { get; set; }
10830 [Version (since = "3.0")]
10831 public Gtk.Adjustment vadjustment { get; set construct; }
10832 [Version (since = "3.0")]
10833 public Gtk.ScrollablePolicy vscroll_policy { get; set; }
10835 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_style_provider_get_type ()")]
10836 public interface StyleProvider : GLib.Object {
10837 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
10838 public abstract unowned Gtk.IconFactory? get_icon_factory (Gtk.WidgetPath path);
10839 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")]
10840 public abstract Gtk.StyleProperties? get_style (Gtk.WidgetPath path);
10841 [Version (since = "3.0")]
10842 public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state, GLib.ParamSpec pspec, out GLib.Value value);
10844 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_shell_get_type ()")]
10845 public interface ToolShell : Gtk.Widget {
10846 [Version (since = "2.20")]
10847 public abstract Pango.EllipsizeMode get_ellipsize_mode ();
10849 public abstract Gtk.IconSize get_icon_size ();
10850 [Version (since = "2.14")]
10851 public abstract Gtk.Orientation get_orientation ();
10852 [Version (since = "2.14")]
10853 public abstract Gtk.ReliefStyle get_relief_style ();
10854 [Version (since = "2.14")]
10855 public abstract Gtk.ToolbarStyle get_style ();
10856 [Version (since = "2.20")]
10857 public abstract float get_text_alignment ();
10858 [Version (since = "2.20")]
10859 public abstract Gtk.Orientation get_text_orientation ();
10860 [Version (since = "2.20")]
10861 public abstract unowned Gtk.SizeGroup get_text_size_group ();
10862 [Version (since = "2.14")]
10863 public abstract void rebuild_menu ();
10865 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_drag_dest_get_type ()")]
10866 public interface TreeDragDest : GLib.Object {
10867 public abstract bool drag_data_received (Gtk.TreePath dest, Gtk.SelectionData selection_data);
10868 public abstract bool row_drop_possible (Gtk.TreePath dest_path, Gtk.SelectionData selection_data);
10870 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_drag_source_get_type ()")]
10871 public interface TreeDragSource : GLib.Object {
10872 public abstract bool drag_data_delete (Gtk.TreePath path);
10873 public abstract bool drag_data_get (Gtk.TreePath path, Gtk.SelectionData selection_data);
10874 public abstract bool row_draggable (Gtk.TreePath path);
10876 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_model_get_type ()")]
10877 public interface TreeModel : GLib.Object {
10878 public void @foreach (Gtk.TreeModelForeachFunc func);
10879 [CCode (sentinel = "-1")]
10880 public void @get (Gtk.TreeIter iter, ...);
10881 public abstract GLib.Type get_column_type (int index_);
10882 public abstract Gtk.TreeModelFlags get_flags ();
10883 public abstract bool get_iter (out Gtk.TreeIter iter, Gtk.TreePath path);
10884 public bool get_iter_first (out Gtk.TreeIter iter);
10885 public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
10886 public abstract int get_n_columns ();
10887 public abstract Gtk.TreePath? get_path (Gtk.TreeIter iter);
10888 [Version (since = "2.2")]
10889 public string get_string_from_iter (Gtk.TreeIter iter);
10890 public void get_valist (Gtk.TreeIter iter, [CCode (type = "va_list")] va_list var_args);
10891 public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
10892 public abstract bool iter_children (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
10893 public abstract bool iter_has_child (Gtk.TreeIter iter);
10894 public abstract int iter_n_children (Gtk.TreeIter? iter);
10895 public abstract bool iter_next (ref Gtk.TreeIter iter);
10896 public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
10897 public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
10898 [Version (since = "3.0")]
10899 public virtual bool iter_previous (ref Gtk.TreeIter iter);
10900 public virtual void ref_node (Gtk.TreeIter iter);
10901 [Version (since = "3.10")]
10902 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);
10903 public virtual void unref_node (Gtk.TreeIter iter);
10905 public virtual signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter);
10907 public virtual signal void row_deleted (Gtk.TreePath path);
10909 public virtual signal void row_has_child_toggled (Gtk.TreePath path, Gtk.TreeIter iter);
10911 public virtual signal void row_inserted (Gtk.TreePath path, Gtk.TreeIter iter);
10913 public virtual signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter iter, [CCode (array_length = false)] int[] new_order);
10915 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_sortable_get_type ()")]
10916 public interface TreeSortable : Gtk.TreeModel, GLib.Object {
10917 public abstract bool get_sort_column_id (out int sort_column_id, out Gtk.SortType order);
10918 public abstract bool has_default_sort_func ();
10919 public abstract void set_default_sort_func (owned Gtk.TreeIterCompareFunc sort_func);
10920 public abstract void set_sort_column_id (int sort_column_id, Gtk.SortType order);
10921 public abstract void set_sort_func (int sort_column_id, owned Gtk.TreeIterCompareFunc sort_func);
10923 public virtual signal void sort_column_changed ();
10925 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10926 public struct AccelGroupEntry {
10927 public Gtk.AccelKey key;
10928 public weak GLib.Closure closure;
10929 public GLib.Quark accel_path_quark;
10931 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10932 public struct AccelKey {
10933 public uint accel_key;
10934 public Gdk.ModifierType accel_mods;
10935 public uint accel_flags;
10937 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10938 [Version (deprecated = true, deprecated_since = "3.10")]
10939 public struct ActionEntry {
10940 public weak string name;
10941 public weak string stock_id;
10942 public weak string label;
10943 public weak string accelerator;
10944 public weak string tooltip;
10945 [CCode (delegate_target = false, type = "GCallback")]
10946 public weak Gtk.ActionCallback callback;
10948 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gdk_rectangle_get_type ()")]
10949 public struct Allocation : Gdk.Rectangle {
10951 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10952 public struct BindingArg {
10953 [CCode (cname = "d.long_data")]
10954 public long long_data;
10955 [CCode (cname = "d.double_data")]
10956 public double double_data;
10957 [CCode (cname = "d.string_data")]
10958 public weak string string_data;
10959 public GLib.Type arg_type;
10961 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_border_get_type ()")]
10962 public struct Border {
10964 public int16 right;
10966 public int16 bottom;
10967 public Gtk.Border? copy ();
10968 public void free ();
10970 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10971 public struct IMContextInfo {
10972 public weak string context_id;
10973 public weak string context_name;
10974 public weak string domain;
10975 public weak string domain_dirname;
10976 public weak string default_locales;
10978 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10979 public struct PadActionEntry {
10980 public Gtk.PadActionType type;
10983 public weak string label;
10984 public weak string action_name;
10986 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10987 public struct PageRange {
10991 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
10992 [Version (deprecated = true, deprecated_since = "3.10")]
10993 public struct RadioActionEntry {
10994 public weak string name;
10995 public weak string stock_id;
10996 public weak string label;
10997 public weak string accelerator;
10998 public weak string tooltip;
11001 [CCode (cheader_filename = "gtk/gtk.h", has_copy_function = false, has_destroy_function = false, has_type_id = false)]
11002 public struct RecentData {
11003 public string? display_name;
11004 public string? description;
11005 public string mime_type;
11006 public string app_name;
11007 public string app_exec;
11008 [CCode (array_length = false, array_null_terminated = true)]
11009 public string[] groups;
11010 public bool is_private;
11012 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
11013 public struct RecentFilterInfo {
11014 public Gtk.RecentFilterFlags contains;
11015 public weak string? uri;
11016 public weak string? display_name;
11017 public weak string? mime_type;
11018 [CCode (array_length = false, array_null_terminated = true)]
11019 public weak string[]? applications;
11020 [CCode (array_length = false, array_null_terminated = true)]
11021 public weak string[]? groups;
11024 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
11025 public struct RequestedSize {
11027 public int minimum_size;
11028 public int natural_size;
11030 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_requisition_get_type ()")]
11031 public struct Requisition {
11034 public Gtk.Requisition? copy ();
11035 public void free ();
11037 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
11038 public struct SettingsValue {
11039 public weak string origin;
11040 public GLib.Value value;
11042 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
11043 [Version (deprecated = true, deprecated_since = "3.10")]
11044 public struct StockItem {
11045 public weak string stock_id;
11046 public weak string label;
11047 public Gdk.ModifierType modifier;
11048 public uint keyval;
11049 public weak string translation_domain;
11050 public Gtk.StockItem? copy ();
11051 public void free ();
11053 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_target_entry_get_type ()")]
11054 public struct TargetEntry {
11055 public weak string target;
11058 public Gtk.TargetEntry? copy ();
11059 public void free ();
11061 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
11062 public struct TextAppearance {
11063 public Gdk.Color bg_color;
11064 public Gdk.Color fg_color;
11066 public uint underline;
11067 public uint strikethrough;
11068 public uint draw_bg;
11069 public uint inside_selection;
11070 public uint is_text;
11071 [CCode (array_length = false)]
11072 public Gdk.RGBA rgba[2];
11074 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_iter_get_type ()")]
11075 public struct TextIter {
11076 [Version (since = "3.2")]
11077 public void assign (Gtk.TextIter other);
11078 public bool backward_char ();
11079 public bool backward_chars (int count);
11080 public bool backward_cursor_position ();
11081 public bool backward_cursor_positions (int count);
11082 public bool backward_find_char ([CCode (delegate_target_pos = 1.5)] Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
11083 public bool backward_line ();
11084 public bool backward_lines (int count);
11085 public bool backward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
11086 public bool backward_sentence_start ();
11087 public bool backward_sentence_starts (int count);
11088 public bool backward_to_tag_toggle (Gtk.TextTag? tag);
11089 [Version (since = "2.4")]
11090 public bool backward_visible_cursor_position ();
11091 [Version (since = "2.4")]
11092 public bool backward_visible_cursor_positions (int count);
11093 [Version (since = "2.8")]
11094 public bool backward_visible_line ();
11095 [Version (since = "2.8")]
11096 public bool backward_visible_lines (int count);
11097 [Version (since = "2.4")]
11098 public bool backward_visible_word_start ();
11099 [Version (since = "2.4")]
11100 public bool backward_visible_word_starts (int count);
11101 public bool backward_word_start ();
11102 public bool backward_word_starts (int count);
11103 [Version (deprecated = true, deprecated_since = "3.20")]
11104 public bool begins_tag (Gtk.TextTag? tag);
11105 public bool can_insert (bool default_editability);
11106 public int compare (Gtk.TextIter rhs);
11107 public Gtk.TextIter? copy ();
11108 public bool editable (bool default_setting);
11109 public bool ends_line ();
11110 public bool ends_sentence ();
11111 public bool ends_tag (Gtk.TextTag? tag);
11112 public bool ends_word ();
11113 public bool equal (Gtk.TextIter rhs);
11114 public bool forward_char ();
11115 public bool forward_chars (int count);
11116 public bool forward_cursor_position ();
11117 public bool forward_cursor_positions (int count);
11118 public bool forward_find_char ([CCode (delegate_target_pos = 1.5)] Gtk.TextCharPredicate pred, Gtk.TextIter? limit);
11119 public bool forward_line ();
11120 public bool forward_lines (int count);
11121 public bool forward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
11122 public bool forward_sentence_end ();
11123 public bool forward_sentence_ends (int count);
11124 public void forward_to_end ();
11125 public bool forward_to_line_end ();
11126 public bool forward_to_tag_toggle (Gtk.TextTag? tag);
11127 [Version (since = "2.4")]
11128 public bool forward_visible_cursor_position ();
11129 [Version (since = "2.4")]
11130 public bool forward_visible_cursor_positions (int count);
11131 [Version (since = "2.8")]
11132 public bool forward_visible_line ();
11133 [Version (since = "2.8")]
11134 public bool forward_visible_lines (int count);
11135 [Version (since = "2.4")]
11136 public bool forward_visible_word_end ();
11137 [Version (since = "2.4")]
11138 public bool forward_visible_word_ends (int count);
11139 public bool forward_word_end ();
11140 public bool forward_word_ends (int count);
11141 public void free ();
11142 public bool get_attributes (Gtk.TextAttributes values);
11143 public unowned Gtk.TextBuffer get_buffer ();
11144 public int get_bytes_in_line ();
11145 public unichar get_char ();
11146 public int get_chars_in_line ();
11147 public unowned Gtk.TextChildAnchor get_child_anchor ();
11148 public Pango.Language get_language ();
11149 public int get_line ();
11150 public int get_line_index ();
11151 public int get_line_offset ();
11152 public GLib.SList<weak Gtk.TextMark> get_marks ();
11153 public int get_offset ();
11154 public unowned Gdk.Pixbuf get_pixbuf ();
11155 public string get_slice (Gtk.TextIter end);
11156 public GLib.SList<weak Gtk.TextTag> get_tags ();
11157 public string get_text (Gtk.TextIter end);
11158 public GLib.SList<weak Gtk.TextTag> get_toggled_tags (bool toggled_on);
11159 public int get_visible_line_index ();
11160 public int get_visible_line_offset ();
11161 public string get_visible_slice (Gtk.TextIter end);
11162 public string get_visible_text (Gtk.TextIter end);
11163 public bool has_tag (Gtk.TextTag tag);
11164 public bool in_range (Gtk.TextIter start, Gtk.TextIter end);
11165 public bool inside_sentence ();
11166 public bool inside_word ();
11167 public bool is_cursor_position ();
11168 public bool is_end ();
11169 public bool is_start ();
11170 public void order (Gtk.TextIter second);
11171 public void set_line (int line_number);
11172 public void set_line_index (int byte_on_line);
11173 public void set_line_offset (int char_on_line);
11174 public void set_offset (int char_offset);
11175 public void set_visible_line_index (int byte_on_line);
11176 public void set_visible_line_offset (int char_on_line);
11177 public bool starts_line ();
11178 public bool starts_sentence ();
11179 [Version (since = "3.20")]
11180 public bool starts_tag (Gtk.TextTag? tag);
11181 public bool starts_word ();
11182 public bool toggles_tag (Gtk.TextTag? tag);
11184 [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
11185 [Version (deprecated = true, deprecated_since = "3.10")]
11186 public struct ToggleActionEntry {
11187 public weak string name;
11188 public weak string stock_id;
11189 public weak string label;
11190 public weak string accelerator;
11191 public weak string tooltip;
11192 [CCode (delegate_target = false, type = "GCallback")]
11193 public weak Gtk.ActionCallback callback;
11194 public bool is_active;
11196 [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_iter_get_type ()")]
11197 public struct TreeIter {
11199 public void* user_data;
11200 public void* user_data2;
11201 public void* user_data3;
11202 public Gtk.TreeIter? copy ();
11203 public void free ();
11205 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ACCEL_", type_id = "gtk_accel_flags_get_type ()")]
11207 public enum AccelFlags {
11212 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ALIGN_", type_id = "gtk_align_get_type ()")]
11213 public enum Align {
11220 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_INHIBIT_", type_id = "gtk_application_inhibit_flags_get_type ()")]
11222 [Version (since = "3.4")]
11223 public enum ApplicationInhibitFlags {
11229 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROWS_", type_id = "gtk_arrow_placement_get_type ()")]
11230 public enum ArrowPlacement {
11235 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROW_", type_id = "gtk_arrow_type_get_type ()")]
11236 public enum ArrowType {
11243 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ASSISTANT_PAGE_", type_id = "gtk_assistant_page_type_get_type ()")]
11244 public enum AssistantPageType {
11252 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_", type_id = "gtk_attach_options_get_type ()")]
11254 public enum AttachOptions {
11259 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BASELINE_POSITION_", type_id = "gtk_baseline_position_get_type ()")]
11260 [Version (since = "3.10")]
11261 public enum BaselinePosition {
11266 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BORDER_STYLE_", type_id = "gtk_border_style_get_type ()")]
11267 public enum BorderStyle {
11279 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONBOX_", type_id = "gtk_button_box_style_get_type ()")]
11280 public enum ButtonBoxStyle {
11288 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTON_ROLE_", type_id = "gtk_button_role_get_type ()")]
11289 public enum ButtonRole {
11294 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONS_", type_id = "gtk_buttons_type_get_type ()")]
11295 public enum ButtonsType {
11303 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CALENDAR_", type_id = "gtk_calendar_display_options_get_type ()")]
11305 public enum CalendarDisplayOptions {
11312 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_ACCEL_MODE_", type_id = "gtk_cell_renderer_accel_mode_get_type ()")]
11313 public enum CellRendererAccelMode {
11317 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_MODE_", type_id = "gtk_cell_renderer_mode_get_type ()")]
11318 public enum CellRendererMode {
11323 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CELL_RENDERER_", type_id = "gtk_cell_renderer_state_get_type ()")]
11325 public enum CellRendererState {
11334 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CORNER_", type_id = "gtk_corner_type_get_type ()")]
11335 public enum CornerType {
11341 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_", type_id = "gtk_css_section_type_get_type ()")]
11342 [Version (since = "3.2")]
11343 public enum CssSectionType {
11354 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEBUG_", type_id = "gtk_debug_flag_get_type ()")]
11356 public enum DebugFlag {
11380 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DELETE_", type_id = "gtk_delete_type_get_type ()")]
11381 public enum DeleteType {
11391 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEST_DEFAULT_", type_id = "gtk_dest_defaults_get_type ()")]
11393 public enum DestDefaults {
11399 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIALOG_", type_id = "gtk_dialog_flags_get_type ()")]
11401 public enum DialogFlags {
11403 DESTROY_WITH_PARENT,
11406 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIR_", type_id = "gtk_direction_type_get_type ()")]
11407 public enum DirectionType {
11415 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DRAG_RESULT_", type_id = "gtk_drag_result_get_type ()")]
11416 public enum DragResult {
11424 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ENTRY_ICON_", type_id = "gtk_entry_icon_position_get_type ()")]
11425 [Version (since = "2.16")]
11426 public enum EntryIconPosition {
11430 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EVENT_CONTROLLER_SCROLL_", type_id = "gtk_event_controller_scroll_flags_get_type ()")]
11432 [Version (since = "3.24")]
11433 public enum EventControllerScrollFlags {
11441 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EVENT_SEQUENCE_", type_id = "gtk_event_sequence_state_get_type ()")]
11442 [Version (since = "3.14")]
11443 public enum EventSequenceState {
11448 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_EXPANDER_", type_id = "gtk_expander_style_get_type ()")]
11449 public enum ExpanderStyle {
11455 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ACTION_", type_id = "gtk_file_chooser_action_get_type ()")]
11456 public enum FileChooserAction {
11462 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_", type_id = "gtk_file_chooser_confirmation_get_type ()")]
11463 [Version (since = "2.8")]
11464 public enum FileChooserConfirmation {
11469 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_FILTER_", type_id = "gtk_file_filter_flags_get_type ()")]
11471 public enum FileFilterFlags {
11477 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FONT_CHOOSER_LEVEL_", type_id = "gtk_font_chooser_level_get_type ()")]
11479 public enum FontChooserLevel {
11486 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_PREEDIT_", type_id = "gtk_im_preedit_style_get_type ()")]
11487 [Version (deprecated = true, deprecated_since = "3.10")]
11488 public enum IMPreeditStyle {
11493 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IM_STATUS_", type_id = "gtk_im_status_style_get_type ()")]
11494 [Version (deprecated = true, deprecated_since = "3.10")]
11495 public enum IMStatusStyle {
11500 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_LOOKUP_", type_id = "gtk_icon_lookup_flags_get_type ()")]
11502 public enum IconLookupFlags {
11513 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_SIZE_", type_id = "gtk_icon_size_get_type ()")]
11514 public enum IconSize {
11523 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_VIEW_", type_id = "gtk_icon_view_drop_position_get_type ()")]
11524 public enum IconViewDropPosition {
11532 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_IMAGE_", type_id = "gtk_image_type_get_type ()")]
11533 public enum ImageType {
11543 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_HINT_", type_id = "gtk_input_hints_get_type ()")]
11545 [Version (since = "3.6")]
11546 public enum InputHints {
11554 UPPERCASE_SENTENCES,
11560 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_PURPOSE_", type_id = "gtk_input_purpose_get_type ()")]
11561 [Version (since = "3.6")]
11562 public enum InputPurpose {
11574 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUNCTION_", type_id = "gtk_junction_sides_get_type ()")]
11576 public enum JunctionSides {
11581 CORNER_BOTTOMRIGHT,
11587 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUSTIFY_", type_id = "gtk_justification_get_type ()")]
11588 public enum Justification {
11594 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LEVEL_BAR_MODE_", type_id = "gtk_level_bar_mode_get_type ()")]
11595 [Version (since = "3.6")]
11596 public enum LevelBarMode {
11600 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_LICENSE_", type_id = "gtk_license_get_type ()")]
11601 [Version (since = "3.0")]
11602 public enum License {
11619 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MENU_DIR_", type_id = "gtk_menu_direction_type_get_type ()")]
11620 public enum MenuDirectionType {
11626 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MESSAGE_", type_id = "gtk_message_type_get_type ()")]
11627 public enum MessageType {
11634 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_MOVEMENT_", type_id = "gtk_movement_step_get_type ()")]
11635 public enum MovementStep {
11647 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NOTEBOOK_TAB_", type_id = "gtk_notebook_tab_get_type ()")]
11648 public enum NotebookTab {
11652 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_NUMBER_UP_LAYOUT_", type_id = "gtk_number_up_layout_get_type ()")]
11653 public enum NumberUpLayout {
11654 [Version (deprecated_since = "vala-0.40", replacement = "LRTB")]
11655 LEFT_TO_RIGHT_TOP_TO_BOTTOM,
11656 [Version (deprecated_since = "vala-0.40", replacement = "LRBT")]
11657 LEFT_TO_RIGHT_BOTTOM_TO_TOP,
11658 [Version (deprecated_since = "vala-0.40", replacement = "RLTB")]
11659 RIGHT_TO_LEFT_TOP_TO_BOTTOM,
11660 [Version (deprecated_since = "vala-0.40", replacement = "RLBT")]
11661 RIGHT_TO_LEFT_BOTTOM_TO_TOP,
11662 [Version (deprecated_since = "vala-0.40", replacement = "TBLR")]
11663 TOP_TO_BOTTOM_LEFT_TO_RIGHT,
11664 [Version (deprecated_since = "vala-0.40", replacement = "TBRL")]
11665 TOP_TO_BOTTOM_RIGHT_TO_LEFT,
11666 [Version (deprecated_since = "vala-0.40", replacement = "BTLR")]
11667 BOTTOM_TO_TOP_LEFT_TO_RIGHT,
11668 [Version (deprecated_since = "vala-0.40", replacement = "BTRL")]
11669 BOTTOM_TO_TOP_RIGHT_TO_LEFT,
11670 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM")]
11672 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP")]
11674 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM")]
11676 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP")]
11678 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT")]
11680 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT")]
11682 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT")]
11684 [CCode (cname = "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT")]
11687 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ORIENTATION_", type_id = "gtk_orientation_get_type ()")]
11688 public enum Orientation {
11692 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_DIRECTION_", type_id = "gtk_pack_direction_get_type ()")]
11693 public enum PackDirection {
11699 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PACK_", type_id = "gtk_pack_type_get_type ()")]
11700 public enum PackType {
11704 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAD_ACTION_", type_id = "gtk_pad_action_type_get_type ()")]
11705 public enum PadActionType {
11710 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_ORIENTATION_", type_id = "gtk_page_orientation_get_type ()")]
11711 public enum PageOrientation {
11717 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_SET_", type_id = "gtk_page_set_get_type ()")]
11718 public enum PageSet {
11723 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAN_DIRECTION_", type_id = "gtk_pan_direction_get_type ()")]
11724 [Version (since = "3.14")]
11725 public enum PanDirection {
11731 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_PRIO_", type_id = "gtk_path_priority_type_get_type ()")]
11732 [Version (deprecated = true, deprecated_since = "3.0")]
11733 public enum PathPriorityType {
11741 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PATH_", type_id = "gtk_path_type_get_type ()")]
11742 [Version (deprecated = true, deprecated_since = "3.0")]
11743 public enum PathType {
11748 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PLACES_OPEN_", type_id = "gtk_places_open_flags_get_type ()")]
11750 public enum PlacesOpenFlags {
11755 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POLICY_", type_id = "gtk_policy_type_get_type ()")]
11756 public enum PolicyType {
11762 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POPOVER_CONSTRAINT_", type_id = "gtk_popover_constraint_get_type ()")]
11763 [Version (since = "3.20")]
11764 public enum PopoverConstraint {
11768 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_POS_", type_id = "gtk_position_type_get_type ()")]
11769 public enum PositionType {
11775 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_DUPLEX_", type_id = "gtk_print_duplex_get_type ()")]
11776 public enum PrintDuplex {
11781 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_ACTION_", type_id = "gtk_print_operation_action_get_type ()")]
11782 public enum PrintOperationAction {
11788 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_OPERATION_RESULT_", type_id = "gtk_print_operation_result_get_type ()")]
11789 public enum PrintOperationResult {
11795 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_PAGES_", type_id = "gtk_print_pages_get_type ()")]
11796 public enum PrintPages {
11802 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_QUALITY_", type_id = "gtk_print_quality_get_type ()")]
11803 public enum PrintQuality {
11809 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_STATUS_", type_id = "gtk_print_status_get_type ()")]
11810 public enum PrintStatus {
11821 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PHASE_", type_id = "gtk_propagation_phase_get_type ()")]
11822 [Version (since = "3.14")]
11823 public enum PropagationPhase {
11829 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_", type_id = "gtk_rc_flags_get_type ()")]
11831 public enum RcFlags {
11837 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RC_TOKEN_", type_id = "gtk_rc_token_type_get_type ()")]
11838 [Version (deprecated = true, deprecated_since = "3.0")]
11839 public enum RcTokenType {
11881 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_FILTER_", type_id = "gtk_recent_filter_flags_get_type ()")]
11883 public enum RecentFilterFlags {
11891 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_SORT_", type_id = "gtk_recent_sort_type_get_type ()")]
11892 [Version (since = "2.10")]
11893 public enum RecentSortType {
11899 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REGION_", type_id = "gtk_region_flags_get_type ()")]
11901 public enum RegionFlags {
11909 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RELIEF_", type_id = "gtk_relief_style_get_type ()")]
11910 public enum ReliefStyle {
11915 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESIZE_", type_id = "gtk_resize_mode_get_type ()")]
11916 public enum ResizeMode {
11921 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RESPONSE_", type_id = "gtk_response_type_get_type ()")]
11922 public enum ResponseType {
11935 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_REVEALER_TRANSITION_TYPE_", type_id = "gtk_revealer_transition_type_get_type ()")]
11936 public enum RevealerTransitionType {
11944 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scroll_step_get_type ()")]
11945 public enum ScrollStep {
11953 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scroll_type_get_type ()")]
11954 public enum ScrollType {
11972 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SCROLL_", type_id = "gtk_scrollable_policy_get_type ()")]
11973 public enum ScrollablePolicy {
11977 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SELECTION_", type_id = "gtk_selection_mode_get_type ()")]
11978 public enum SelectionMode {
11984 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SENSITIVITY_", type_id = "gtk_sensitivity_type_get_type ()")]
11985 public enum SensitivityType {
11990 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHADOW_", type_id = "gtk_shadow_type_get_type ()")]
11991 public enum ShadowType {
11998 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SHORTCUT_", type_id = "gtk_shortcut_type_get_type ()")]
11999 [Version (since = "3.20")]
12000 public enum ShortcutType {
12004 GESTURE_ROTATE_CLOCKWISE,
12005 GESTURE_ROTATE_COUNTERCLOCKWISE,
12006 GESTURE_TWO_FINGER_SWIPE_LEFT,
12007 GESTURE_TWO_FINGER_SWIPE_RIGHT,
12010 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_GROUP_", type_id = "gtk_size_group_mode_get_type ()")]
12011 public enum SizeGroupMode {
12017 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_REQUEST_", type_id = "gtk_size_request_mode_get_type ()")]
12018 public enum SizeRequestMode {
12023 [CCode (cheader_filename = "gtk/gtk.h", cname = "gint", has_type_id = false)]
12024 public enum SortColumn {
12025 [CCode (cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
12027 [CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
12030 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SORT_", type_id = "gtk_sort_type_get_type ()")]
12031 public enum SortType {
12035 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UPDATE_", type_id = "gtk_spin_button_update_policy_get_type ()")]
12036 public enum SpinButtonUpdatePolicy {
12040 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SPIN_", type_id = "gtk_spin_type_get_type ()")]
12041 public enum SpinType {
12050 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STACK_TRANSITION_TYPE_", type_id = "gtk_stack_transition_type_get_type ()")]
12051 public enum StackTransitionType {
12073 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_FLAG_", type_id = "gtk_state_flags_get_type ()")]
12075 public enum StateFlags {
12091 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_", type_id = "gtk_state_type_get_type ()")]
12092 [Version (deprecated = true, deprecated_since = "3.14")]
12093 public enum StateType {
12102 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STYLE_CONTEXT_PRINT_", type_id = "gtk_style_context_print_flags_get_type ()")]
12104 public enum StyleContextPrintFlags {
12109 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TARGET_", type_id = "gtk_target_flags_get_type ()")]
12111 public enum TargetFlags {
12117 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_BUFFER_TARGET_INFO_", type_id = "gtk_text_buffer_target_info_get_type ()")]
12118 public enum TextBufferTargetInfo {
12123 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_DIR_", type_id = "gtk_text_direction_get_type ()")]
12124 public enum TextDirection {
12129 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_EXTEND_SELECTION_", type_id = "gtk_text_extend_selection_get_type ()")]
12130 [Version (since = "3.16")]
12131 public enum TextExtendSelection {
12135 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_SEARCH_", type_id = "gtk_text_search_flags_get_type ()")]
12137 public enum TextSearchFlags {
12142 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_VIEW_LAYER_", type_id = "gtk_text_view_layer_get_type ()")]
12143 public enum TextViewLayer {
12149 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_WINDOW_", type_id = "gtk_text_window_type_get_type ()")]
12150 public enum TextWindowType {
12159 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOL_PALETTE_DRAG_", type_id = "gtk_tool_palette_drag_targets_get_type ()")]
12161 public enum ToolPaletteDragTargets {
12165 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_SPACE_", type_id = "gtk_toolbar_space_style_get_type ()")]
12166 [Version (deprecated = true, deprecated_since = "3.20")]
12167 public enum ToolbarSpaceStyle {
12171 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TOOLBAR_", type_id = "gtk_toolbar_style_get_type ()")]
12172 public enum ToolbarStyle {
12178 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_MODEL_", type_id = "gtk_tree_model_flags_get_type ()")]
12180 public enum TreeModelFlags {
12184 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_COLUMN_", type_id = "gtk_tree_view_column_sizing_get_type ()")]
12185 public enum TreeViewColumnSizing {
12190 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_DROP_", type_id = "gtk_tree_view_drop_position_get_type ()")]
12191 public enum TreeViewDropPosition {
12197 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TREE_VIEW_GRID_LINES_", type_id = "gtk_tree_view_grid_lines_get_type ()")]
12198 public enum TreeViewGridLines {
12204 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UI_MANAGER_", type_id = "gtk_ui_manager_item_type_get_type ()")]
12206 [Version (deprecated = true, deprecated_since = "3.10")]
12207 public enum UIManagerItemType {
12220 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UNIT_", type_id = "gtk_unit_get_type ()")]
12227 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIDGET_HELP_", type_id = "gtk_widget_help_type_get_type ()")]
12228 public enum WidgetHelpType {
12232 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WIN_POS_", type_id = "gtk_window_position_get_type ()")]
12233 public enum WindowPosition {
12240 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WINDOW_", type_id = "gtk_window_type_get_type ()")]
12241 public enum WindowType {
12245 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_WRAP_", type_id = "gtk_wrap_mode_get_type ()")]
12246 public enum WrapMode {
12252 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUILDER_ERROR_")]
12253 public errordomain BuilderError {
12254 INVALID_TYPE_FUNCTION,
12259 MISSING_PROPERTY_VALUE,
12263 OBJECT_TYPE_REFUSED,
12268 [CCode (cheader_filename = "gtk/gtk.h")]
12269 public static GLib.Quark quark ();
12271 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_PROVIDER_ERROR_")]
12272 public errordomain CssProviderError {
12279 [CCode (cheader_filename = "gtk/gtk.h")]
12280 public static GLib.Quark quark ();
12282 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")]
12283 public errordomain FileChooserError {
12287 INCOMPLETE_HOSTNAME;
12288 [CCode (cheader_filename = "gtk/gtk.h")]
12289 [Version (since = "2.4")]
12290 public static GLib.Quark quark ();
12292 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")]
12293 public errordomain IconThemeError {
12296 [CCode (cheader_filename = "gtk/gtk.h")]
12297 public static GLib.Quark quark ();
12299 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PRINT_ERROR_")]
12300 public errordomain PrintError {
12305 [CCode (cheader_filename = "gtk/gtk.h")]
12306 [Version (since = "2.10")]
12307 public static GLib.Quark quark ();
12309 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")]
12310 [Version (since = "2.10")]
12311 public errordomain RecentChooserError {
12314 [CCode (cheader_filename = "gtk/gtk.h")]
12315 public static GLib.Quark quark ();
12317 [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")]
12318 [Version (since = "2.10")]
12319 public errordomain RecentManagerError {
12327 [CCode (cheader_filename = "gtk/gtk.h")]
12328 public static GLib.Quark quark ();
12330 [CCode (cheader_filename = "gtk/gtk.h")]
12331 public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
12332 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12333 [Version (since = "2.2")]
12334 public delegate bool AccelGroupFindFunc (Gtk.AccelKey key, GLib.Closure closure);
12335 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12336 public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);
12337 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
12338 [Version (deprecated_since = "3.10")]
12339 public delegate void ActionCallback (Gtk.Action action);
12340 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12341 public delegate int AssistantPageFunc (int current_page);
12342 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 6.9)]
12343 [Version (since = "2.12")]
12344 public delegate void BuilderConnectFunc (Gtk.Builder builder, GLib.Object object, string signal_name, string handler_name, GLib.Object? connect_object, GLib.ConnectFlags flags);
12345 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12346 [Version (since = "2.14")]
12347 public delegate string? CalendarDetailFunc (Gtk.Calendar calendar, uint year, uint month, uint day);
12348 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12349 public delegate void Callback (Gtk.Widget widget);
12350 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12351 public delegate bool CellAllocCallback (Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle cell_background);
12352 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12353 public delegate bool CellCallback (Gtk.CellRenderer renderer);
12354 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12355 public delegate void CellLayoutDataFunc (Gtk.CellLayout cell_layout, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
12356 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12357 public delegate void ClipboardClearFunc (Gtk.Clipboard clipboard, void* user_data_or_owner);
12358 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12359 public delegate void ClipboardGetFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data, uint info, void* user_data_or_owner);
12360 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12361 [Version (since = "2.6")]
12362 public delegate void ClipboardImageReceivedFunc (Gtk.Clipboard clipboard, Gdk.Pixbuf pixbuf);
12363 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12364 public delegate void ClipboardReceivedFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data);
12365 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12366 [Version (since = "2.10")]
12367 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);
12368 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12369 [Version (since = "2.4")]
12370 public delegate void ClipboardTargetsReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length_cname = "n_atoms", array_length_pos = 2.1)] Gdk.Atom[]? atoms);
12371 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12372 public delegate void ClipboardTextReceivedFunc (Gtk.Clipboard clipboard, string? text);
12373 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12374 [Version (since = "2.14")]
12375 public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length = false, array_null_terminated = true)] string[] uris);
12376 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12377 [Version (deprecated = true, deprecated_since = "3.4")]
12378 public delegate void ColorSelectionChangePaletteFunc ([CCode (array_length_cname = "n_colors", array_length_pos = 1.1)] Gdk.Color[] colors);
12379 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12380 [Version (deprecated = true, deprecated_since = "3.4", since = "2.2")]
12381 public delegate void ColorSelectionChangePaletteWithScreenFunc (Gdk.Screen screen, [CCode (array_length_cname = "n_colors", array_length_pos = 2.1)] Gdk.Color[] colors);
12382 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12383 public delegate bool EntryCompletionMatchFunc (Gtk.EntryCompletion completion, string key, Gtk.TreeIter iter);
12384 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12385 public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
12386 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12387 [Version (since = "3.18")]
12388 public delegate Gtk.Widget FlowBoxCreateWidgetFunc ([CCode (type = "gpointer")] GLib.Object item);
12389 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12390 [Version (since = "3.12")]
12391 public delegate bool FlowBoxFilterFunc (Gtk.FlowBoxChild child);
12392 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12393 [Version (since = "3.12")]
12394 public delegate void FlowBoxForeachFunc (Gtk.FlowBox box, Gtk.FlowBoxChild child);
12395 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12396 [Version (since = "3.12")]
12397 public delegate int FlowBoxSortFunc (Gtk.FlowBoxChild child1, Gtk.FlowBoxChild child2);
12398 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12399 public delegate bool FontFilterFunc (Pango.FontFamily family, Pango.FontFace face);
12400 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12401 public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
12402 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12403 public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event);
12404 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12405 [Version (since = "3.16")]
12406 public delegate Gtk.Widget ListBoxCreateWidgetFunc (GLib.Object item);
12407 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12408 [Version (since = "3.10")]
12409 public delegate bool ListBoxFilterFunc (Gtk.ListBoxRow row);
12410 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12411 [Version (since = "3.14")]
12412 public delegate void ListBoxForeachFunc (Gtk.ListBox box, Gtk.ListBoxRow row);
12413 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12414 [Version (since = "3.10")]
12415 public delegate int ListBoxSortFunc (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2);
12416 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12417 [Version (since = "3.10")]
12418 public delegate void ListBoxUpdateHeaderFunc (Gtk.ListBoxRow row, Gtk.ListBoxRow? before);
12419 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12420 public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
12421 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12422 public delegate void MenuPositionFunc (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
12423 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12424 [Version (since = "2.2")]
12425 public delegate void ModuleDisplayInitFunc (Gdk.Display display);
12426 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12427 public delegate void ModuleInitFunc ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] string[]? argv);
12428 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12429 public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup);
12430 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12431 public delegate void PrintSettingsFunc (string key, string value);
12432 [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")]
12433 public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
12434 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12435 public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
12436 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12437 public delegate bool RecentFilterFunc (Gtk.RecentFilterInfo filter_info);
12438 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12439 public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
12440 [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
12441 public delegate bool StylePropertyParser (string str, GLib.Value value) throws GLib.Error;
12442 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
12443 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;
12444 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
12445 public delegate unowned uint8? TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
12446 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12447 public delegate bool TextCharPredicate (unichar ch);
12448 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12449 public delegate void TextTagTableForeach (Gtk.TextTag tag);
12450 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12451 [Version (since = "3.8")]
12452 public delegate bool TickCallback (Gtk.Widget widget, Gdk.FrameClock frame_clock);
12453 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
12454 [Version (deprecated = true, deprecated_since = "3.10")]
12455 public delegate string TranslateFunc (string path);
12456 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12457 public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
12458 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12459 public delegate void TreeDestroyCountFunc (Gtk.TreeView tree_view, Gtk.TreePath path, int children);
12460 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12461 public delegate int TreeIterCompareFunc (Gtk.TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b);
12462 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12463 public delegate void TreeModelFilterModifyFunc (Gtk.TreeModel model, Gtk.TreeIter iter, out GLib.Value value, int column);
12464 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12465 public delegate bool TreeModelFilterVisibleFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
12466 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12467 public delegate bool TreeModelForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
12468 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
12469 public delegate void TreeSelectionForeachFunc (Gtk.TreeModel model, Gtk.TreePath path, Gtk.TreeIter iter);
12470 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12471 public delegate bool TreeSelectionFunc (Gtk.TreeSelection selection, Gtk.TreeModel model, Gtk.TreePath path, bool path_currently_selected);
12472 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12473 public delegate bool TreeViewColumnDropFunc (Gtk.TreeView tree_view, Gtk.TreeViewColumn column, Gtk.TreeViewColumn prev_column, Gtk.TreeViewColumn next_column);
12474 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12475 public delegate void TreeViewMappingFunc (Gtk.TreeView tree_view, Gtk.TreePath path);
12476 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12477 public delegate bool TreeViewRowSeparatorFunc (Gtk.TreeModel model, Gtk.TreeIter iter);
12478 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12479 public delegate bool TreeViewSearchEqualFunc (Gtk.TreeModel model, int column, string key, Gtk.TreeIter iter);
12480 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
12481 public delegate void TreeViewSearchPositionFunc (Gtk.TreeView tree_view, Gtk.Widget search_dialog);
12482 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_BINARY_AGE")]
12483 public const int BINARY_AGE;
12484 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_INPUT_ERROR")]
12485 public const int INPUT_ERROR;
12486 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_INTERFACE_AGE")]
12487 public const int INTERFACE_AGE;
12488 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_FULL")]
12489 [Version (since = "3.20")]
12490 public const string LEVEL_BAR_OFFSET_FULL;
12491 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_HIGH")]
12492 [Version (since = "3.6")]
12493 public const string LEVEL_BAR_OFFSET_HIGH;
12494 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_LEVEL_BAR_OFFSET_LOW")]
12495 [Version (since = "3.6")]
12496 public const string LEVEL_BAR_OFFSET_LOW;
12497 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MAJOR_VERSION")]
12498 public const int MAJOR_VERSION;
12499 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MAX_COMPOSE_LEN")]
12500 public const int MAX_COMPOSE_LEN;
12501 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MICRO_VERSION")]
12502 public const int MICRO_VERSION;
12503 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_MINOR_VERSION")]
12504 public const int MINOR_VERSION;
12505 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A3")]
12506 public const string PAPER_NAME_A3;
12507 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A4")]
12508 public const string PAPER_NAME_A4;
12509 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_A5")]
12510 public const string PAPER_NAME_A5;
12511 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_B5")]
12512 public const string PAPER_NAME_B5;
12513 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_EXECUTIVE")]
12514 public const string PAPER_NAME_EXECUTIVE;
12515 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_LEGAL")]
12516 public const string PAPER_NAME_LEGAL;
12517 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PAPER_NAME_LETTER")]
12518 public const string PAPER_NAME_LETTER;
12519 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PATH_PRIO_MASK")]
12520 public const int PATH_PRIO_MASK;
12521 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_COLLATE")]
12522 public const string PRINT_SETTINGS_COLLATE;
12523 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DEFAULT_SOURCE")]
12524 public const string PRINT_SETTINGS_DEFAULT_SOURCE;
12525 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DITHER")]
12526 public const string PRINT_SETTINGS_DITHER;
12527 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_DUPLEX")]
12528 public const string PRINT_SETTINGS_DUPLEX;
12529 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_FINISHINGS")]
12530 public const string PRINT_SETTINGS_FINISHINGS;
12531 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_MEDIA_TYPE")]
12532 public const string PRINT_SETTINGS_MEDIA_TYPE;
12533 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_NUMBER_UP")]
12534 public const string PRINT_SETTINGS_NUMBER_UP;
12535 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT")]
12536 public const string PRINT_SETTINGS_NUMBER_UP_LAYOUT;
12537 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_N_COPIES")]
12538 public const string PRINT_SETTINGS_N_COPIES;
12539 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_ORIENTATION")]
12540 public const string PRINT_SETTINGS_ORIENTATION;
12541 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_BASENAME")]
12542 [Version (since = "3.6")]
12543 public const string PRINT_SETTINGS_OUTPUT_BASENAME;
12544 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_BIN")]
12545 public const string PRINT_SETTINGS_OUTPUT_BIN;
12546 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_DIR")]
12547 [Version (since = "3.6")]
12548 public const string PRINT_SETTINGS_OUTPUT_DIR;
12549 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT")]
12550 public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT;
12551 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_OUTPUT_URI")]
12552 public const string PRINT_SETTINGS_OUTPUT_URI;
12553 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAGE_RANGES")]
12554 public const string PRINT_SETTINGS_PAGE_RANGES;
12555 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAGE_SET")]
12556 public const string PRINT_SETTINGS_PAGE_SET;
12557 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_FORMAT")]
12558 public const string PRINT_SETTINGS_PAPER_FORMAT;
12559 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_HEIGHT")]
12560 public const string PRINT_SETTINGS_PAPER_HEIGHT;
12561 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PAPER_WIDTH")]
12562 public const string PRINT_SETTINGS_PAPER_WIDTH;
12563 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINTER")]
12564 public const string PRINT_SETTINGS_PRINTER;
12565 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINTER_LPI")]
12566 public const string PRINT_SETTINGS_PRINTER_LPI;
12567 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_PRINT_PAGES")]
12568 public const string PRINT_SETTINGS_PRINT_PAGES;
12569 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_QUALITY")]
12570 public const string PRINT_SETTINGS_QUALITY;
12571 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION")]
12572 public const string PRINT_SETTINGS_RESOLUTION;
12573 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION_X")]
12574 public const string PRINT_SETTINGS_RESOLUTION_X;
12575 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_RESOLUTION_Y")]
12576 public const string PRINT_SETTINGS_RESOLUTION_Y;
12577 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_REVERSE")]
12578 public const string PRINT_SETTINGS_REVERSE;
12579 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_SCALE")]
12580 public const string PRINT_SETTINGS_SCALE;
12581 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_USE_COLOR")]
12582 public const string PRINT_SETTINGS_USE_COLOR;
12583 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA")]
12584 public const string PRINT_SETTINGS_WIN32_DRIVER_EXTRA;
12585 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION")]
12586 public const string PRINT_SETTINGS_WIN32_DRIVER_VERSION;
12587 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_PRIORITY_RESIZE")]
12588 public const int PRIORITY_RESIZE;
12589 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ACCELERATOR")]
12590 public const string STYLE_CLASS_ACCELERATOR;
12591 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ARROW")]
12592 public const string STYLE_CLASS_ARROW;
12593 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BACKGROUND")]
12594 public const string STYLE_CLASS_BACKGROUND;
12595 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BOTTOM")]
12596 public const string STYLE_CLASS_BOTTOM;
12597 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_BUTTON")]
12598 public const string STYLE_CLASS_BUTTON;
12599 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CALENDAR")]
12600 public const string STYLE_CLASS_CALENDAR;
12601 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CELL")]
12602 public const string STYLE_CLASS_CELL;
12603 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CHECK")]
12604 public const string STYLE_CLASS_CHECK;
12605 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_COMBOBOX_ENTRY")]
12606 public const string STYLE_CLASS_COMBOBOX_ENTRY;
12607 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CONTEXT_MENU")]
12608 public const string STYLE_CLASS_CONTEXT_MENU;
12609 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CSD")]
12610 [Version (since = "3.14")]
12611 public const string STYLE_CLASS_CSD;
12612 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_CURSOR_HANDLE")]
12613 public const string STYLE_CLASS_CURSOR_HANDLE;
12614 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DEFAULT")]
12615 public const string STYLE_CLASS_DEFAULT;
12616 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DESTRUCTIVE_ACTION")]
12617 [Version (since = "3.12")]
12618 public const string STYLE_CLASS_DESTRUCTIVE_ACTION;
12619 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DIM_LABEL")]
12620 public const string STYLE_CLASS_DIM_LABEL;
12621 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DND")]
12622 public const string STYLE_CLASS_DND;
12623 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_DOCK")]
12624 public const string STYLE_CLASS_DOCK;
12625 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ENTRY")]
12626 public const string STYLE_CLASS_ENTRY;
12627 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_ERROR")]
12628 public const string STYLE_CLASS_ERROR;
12629 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_EXPANDER")]
12630 public const string STYLE_CLASS_EXPANDER;
12631 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FLAT")]
12632 [Version (since = "3.14")]
12633 public const string STYLE_CLASS_FLAT;
12634 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FRAME")]
12635 public const string STYLE_CLASS_FRAME;
12636 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_GRIP")]
12637 public const string STYLE_CLASS_GRIP;
12638 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HEADER")]
12639 public const string STYLE_CLASS_HEADER;
12640 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HIGHLIGHT")]
12641 public const string STYLE_CLASS_HIGHLIGHT;
12642 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HORIZONTAL")]
12643 public const string STYLE_CLASS_HORIZONTAL;
12644 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_IMAGE")]
12645 public const string STYLE_CLASS_IMAGE;
12646 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INFO")]
12647 public const string STYLE_CLASS_INFO;
12648 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INLINE_TOOLBAR")]
12649 public const string STYLE_CLASS_INLINE_TOOLBAR;
12650 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_INSERTION_CURSOR")]
12651 public const string STYLE_CLASS_INSERTION_CURSOR;
12652 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LABEL")]
12653 [Version (since = "3.16")]
12654 public const string STYLE_CLASS_LABEL;
12655 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LEFT")]
12656 public const string STYLE_CLASS_LEFT;
12657 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LEVEL_BAR")]
12658 public const string STYLE_CLASS_LEVEL_BAR;
12659 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LINKED")]
12660 public const string STYLE_CLASS_LINKED;
12661 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LIST")]
12662 public const string STYLE_CLASS_LIST;
12663 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_LIST_ROW")]
12664 public const string STYLE_CLASS_LIST_ROW;
12665 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MARK")]
12666 public const string STYLE_CLASS_MARK;
12667 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENU")]
12668 public const string STYLE_CLASS_MENU;
12669 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENUBAR")]
12670 public const string STYLE_CLASS_MENUBAR;
12671 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MENUITEM")]
12672 public const string STYLE_CLASS_MENUITEM;
12673 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MESSAGE_DIALOG")]
12674 [Version (since = "3.14")]
12675 public const string STYLE_CLASS_MESSAGE_DIALOG;
12676 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_MONOSPACE")]
12677 [Version (since = "3.16")]
12678 public const string STYLE_CLASS_MONOSPACE;
12679 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_NEEDS_ATTENTION")]
12680 [Version (since = "3.12")]
12681 public const string STYLE_CLASS_NEEDS_ATTENTION;
12682 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_NOTEBOOK")]
12683 public const string STYLE_CLASS_NOTEBOOK;
12684 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_OSD")]
12685 public const string STYLE_CLASS_OSD;
12686 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_OVERSHOOT")]
12687 [Version (since = "3.14")]
12688 public const string STYLE_CLASS_OVERSHOOT;
12689 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PANE_SEPARATOR")]
12690 public const string STYLE_CLASS_PANE_SEPARATOR;
12691 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PAPER")]
12692 [Version (since = "3.16")]
12693 public const string STYLE_CLASS_PAPER;
12694 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_POPOVER")]
12695 [Version (since = "3.14")]
12696 public const string STYLE_CLASS_POPOVER;
12697 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_POPUP")]
12698 [Version (since = "3.14")]
12699 public const string STYLE_CLASS_POPUP;
12700 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PRIMARY_TOOLBAR")]
12701 public const string STYLE_CLASS_PRIMARY_TOOLBAR;
12702 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PROGRESSBAR")]
12703 public const string STYLE_CLASS_PROGRESSBAR;
12704 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_PULSE")]
12705 public const string STYLE_CLASS_PULSE;
12706 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_QUESTION")]
12707 public const string STYLE_CLASS_QUESTION;
12708 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RADIO")]
12709 public const string STYLE_CLASS_RADIO;
12710 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RAISED")]
12711 public const string STYLE_CLASS_RAISED;
12712 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_READ_ONLY")]
12713 public const string STYLE_CLASS_READ_ONLY;
12714 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RIGHT")]
12715 public const string STYLE_CLASS_RIGHT;
12716 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_RUBBERBAND")]
12717 public const string STYLE_CLASS_RUBBERBAND;
12718 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE")]
12719 public const string STYLE_CLASS_SCALE;
12720 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE")]
12721 public const string STYLE_CLASS_SCALE_HAS_MARKS_ABOVE;
12722 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW")]
12723 public const string STYLE_CLASS_SCALE_HAS_MARKS_BELOW;
12724 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCROLLBAR")]
12725 public const string STYLE_CLASS_SCROLLBAR;
12726 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SCROLLBARS_JUNCTION")]
12727 public const string STYLE_CLASS_SCROLLBARS_JUNCTION;
12728 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SEPARATOR")]
12729 public const string STYLE_CLASS_SEPARATOR;
12730 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SIDEBAR")]
12731 public const string STYLE_CLASS_SIDEBAR;
12732 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SLIDER")]
12733 public const string STYLE_CLASS_SLIDER;
12734 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SPINBUTTON")]
12735 public const string STYLE_CLASS_SPINBUTTON;
12736 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SPINNER")]
12737 public const string STYLE_CLASS_SPINNER;
12738 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_STATUSBAR")]
12739 [Version (since = "3.16")]
12740 public const string STYLE_CLASS_STATUSBAR;
12741 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SUBTITLE")]
12742 [Version (since = "3.14")]
12743 public const string STYLE_CLASS_SUBTITLE;
12744 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_SUGGESTED_ACTION")]
12745 [Version (since = "3.12")]
12746 public const string STYLE_CLASS_SUGGESTED_ACTION;
12747 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TITLE")]
12748 [Version (since = "3.14")]
12749 public const string STYLE_CLASS_TITLE;
12750 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TITLEBAR")]
12751 public const string STYLE_CLASS_TITLEBAR;
12752 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOOLBAR")]
12753 public const string STYLE_CLASS_TOOLBAR;
12754 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOOLTIP")]
12755 public const string STYLE_CLASS_TOOLTIP;
12756 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOP")]
12757 public const string STYLE_CLASS_TOP;
12758 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TOUCH_SELECTION")]
12759 [Version (since = "3.16")]
12760 public const string STYLE_CLASS_TOUCH_SELECTION;
12761 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_TROUGH")]
12762 public const string STYLE_CLASS_TROUGH;
12763 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_UNDERSHOOT")]
12764 [Version (since = "3.16")]
12765 public const string STYLE_CLASS_UNDERSHOOT;
12766 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_VERTICAL")]
12767 public const string STYLE_CLASS_VERTICAL;
12768 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_VIEW")]
12769 public const string STYLE_CLASS_VIEW;
12770 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_WARNING")]
12771 public const string STYLE_CLASS_WARNING;
12772 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_WIDE")]
12773 [Version (since = "3.16")]
12774 public const string STYLE_CLASS_WIDE;
12775 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BACKGROUND_COLOR")]
12776 public const string STYLE_PROPERTY_BACKGROUND_COLOR;
12777 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BACKGROUND_IMAGE")]
12778 public const string STYLE_PROPERTY_BACKGROUND_IMAGE;
12779 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_COLOR")]
12780 public const string STYLE_PROPERTY_BORDER_COLOR;
12781 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_RADIUS")]
12782 public const string STYLE_PROPERTY_BORDER_RADIUS;
12783 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_STYLE")]
12784 public const string STYLE_PROPERTY_BORDER_STYLE;
12785 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_BORDER_WIDTH")]
12786 public const string STYLE_PROPERTY_BORDER_WIDTH;
12787 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_COLOR")]
12788 public const string STYLE_PROPERTY_COLOR;
12789 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_FONT")]
12790 public const string STYLE_PROPERTY_FONT;
12791 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_MARGIN")]
12792 public const string STYLE_PROPERTY_MARGIN;
12793 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROPERTY_PADDING")]
12794 public const string STYLE_PROPERTY_PADDING;
12795 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_APPLICATION")]
12796 public const int STYLE_PROVIDER_PRIORITY_APPLICATION;
12797 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_FALLBACK")]
12798 public const int STYLE_PROVIDER_PRIORITY_FALLBACK;
12799 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_SETTINGS")]
12800 public const int STYLE_PROVIDER_PRIORITY_SETTINGS;
12801 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_THEME")]
12802 public const int STYLE_PROVIDER_PRIORITY_THEME;
12803 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_PROVIDER_PRIORITY_USER")]
12804 public const int STYLE_PROVIDER_PRIORITY_USER;
12805 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_COLUMN")]
12806 [Version (deprecated = true, deprecated_since = "3.20")]
12807 public const string STYLE_REGION_COLUMN;
12808 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_COLUMN_HEADER")]
12809 [Version (deprecated = true, deprecated_since = "3.20")]
12810 public const string STYLE_REGION_COLUMN_HEADER;
12811 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_ROW")]
12812 [Version (deprecated = true, deprecated_since = "3.20")]
12813 public const string STYLE_REGION_ROW;
12814 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_REGION_TAB")]
12815 [Version (deprecated = true, deprecated_since = "3.20")]
12816 public const string STYLE_REGION_TAB;
12817 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TEXT_VIEW_PRIORITY_VALIDATE")]
12818 public const int TEXT_VIEW_PRIORITY_VALIDATE;
12819 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID")]
12820 public const int TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID;
12821 [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
12822 public const int TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID;
12823 [CCode (cheader_filename = "gtk/gtk.h")]
12824 public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods);
12825 [CCode (cheader_filename = "gtk/gtk.h")]
12826 public static unowned GLib.SList<Gtk.AccelGroup> accel_groups_from_object (GLib.Object object);
12827 [CCode (cheader_filename = "gtk/gtk.h")]
12828 public static Gdk.ModifierType accelerator_get_default_mod_mask ();
12829 [CCode (cheader_filename = "gtk/gtk.h")]
12830 [Version (since = "2.6")]
12831 public static string accelerator_get_label (uint accelerator_key, Gdk.ModifierType accelerator_mods);
12832 [CCode (cheader_filename = "gtk/gtk.h")]
12833 [Version (since = "3.4")]
12834 public static string accelerator_get_label_with_keycode (Gdk.Display? display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
12835 [CCode (cheader_filename = "gtk/gtk.h")]
12836 public static string accelerator_name (uint accelerator_key, Gdk.ModifierType accelerator_mods);
12837 [CCode (cheader_filename = "gtk/gtk.h")]
12838 [Version (since = "3.4")]
12839 public static string accelerator_name_with_keycode (Gdk.Display? display, uint accelerator_key, uint keycode, Gdk.ModifierType accelerator_mods);
12840 [CCode (cheader_filename = "gtk/gtk.h")]
12841 public static void accelerator_parse (string accelerator, out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
12842 [CCode (cheader_filename = "gtk/gtk.h")]
12843 [Version (since = "3.4")]
12844 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);
12845 [CCode (cheader_filename = "gtk/gtk.h")]
12846 public static void accelerator_set_default_mod_mask (Gdk.ModifierType default_mod_mask);
12847 [CCode (cheader_filename = "gtk/gtk.h")]
12848 public static bool accelerator_valid (uint keyval, Gdk.ModifierType modifiers);
12849 [CCode (cheader_filename = "gtk/gtk.h")]
12850 [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
12851 public static bool alternative_dialog_button_order (Gdk.Screen? screen);
12852 [CCode (cheader_filename = "gtk/gtk.h")]
12853 public static bool bindings_activate (GLib.Object object, uint keyval, Gdk.ModifierType modifiers);
12854 [CCode (cheader_filename = "gtk/gtk.h")]
12855 [Version (since = "2.4")]
12856 public static bool bindings_activate_event (GLib.Object object, Gdk.EventKey event);
12857 [CCode (cheader_filename = "gtk/gtk.h")]
12858 [Version (since = "3.0")]
12859 public static bool cairo_should_draw_window (Cairo.Context cr, Gdk.Window window);
12860 [CCode (cheader_filename = "gtk/gtk.h")]
12861 [Version (since = "3.0")]
12862 public static void cairo_transform_to_window (Cairo.Context cr, Gtk.Widget widget, Gdk.Window window);
12863 [CCode (cheader_filename = "gtk/gtk.h")]
12864 public static unowned string? check_version (uint required_major, uint required_minor, uint required_micro);
12865 [CCode (cheader_filename = "gtk/gtk.h")]
12866 [Version (since = "3.0")]
12867 public static void device_grab_add (Gtk.Widget widget, Gdk.Device device, bool block_others);
12868 [CCode (cheader_filename = "gtk/gtk.h")]
12869 [Version (since = "3.0")]
12870 public static void device_grab_remove (Gtk.Widget widget, Gdk.Device device);
12871 [CCode (cheader_filename = "gtk/gtk.h")]
12872 public static void disable_setlocale ();
12873 [CCode (cheader_filename = "gtk/gtk.h")]
12874 public static int distribute_natural_allocation (int extra_space, uint n_requested_sizes, Gtk.RequestedSize sizes);
12875 [CCode (cheader_filename = "gtk/gtk.h")]
12876 [Version (deprecated = true, deprecated_since = "3.10")]
12877 public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets, Gdk.DragAction actions, int button, Gdk.Event? event);
12878 [CCode (cheader_filename = "gtk/gtk.h")]
12879 [Version (since = "3.10")]
12880 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);
12881 [CCode (cheader_filename = "gtk/gtk.h")]
12882 [Version (since = "3.16")]
12883 public static void drag_cancel (Gdk.DragContext context);
12884 [CCode (cheader_filename = "gtk/gtk.h")]
12885 public static bool drag_check_threshold (Gtk.Widget widget, int start_x, int start_y, int current_x, int current_y);
12886 [CCode (cheader_filename = "gtk/gtk.h")]
12887 [Version (since = "2.6")]
12888 public static void drag_dest_add_image_targets (Gtk.Widget widget);
12889 [CCode (cheader_filename = "gtk/gtk.h")]
12890 [Version (since = "2.6")]
12891 public static void drag_dest_add_text_targets (Gtk.Widget widget);
12892 [CCode (cheader_filename = "gtk/gtk.h")]
12893 [Version (since = "2.6")]
12894 public static void drag_dest_add_uri_targets (Gtk.Widget widget);
12895 [CCode (cheader_filename = "gtk/gtk.h")]
12896 public static Gdk.Atom drag_dest_find_target (Gtk.Widget widget, Gdk.DragContext context, Gtk.TargetList? target_list);
12897 [CCode (cheader_filename = "gtk/gtk.h")]
12898 public static unowned Gtk.TargetList? drag_dest_get_target_list (Gtk.Widget widget);
12899 [CCode (cheader_filename = "gtk/gtk.h")]
12900 [Version (since = "2.10")]
12901 public static bool drag_dest_get_track_motion (Gtk.Widget widget);
12902 [CCode (cheader_filename = "gtk/gtk.h")]
12903 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);
12904 [CCode (cheader_filename = "gtk/gtk.h")]
12905 [Version (deprecated = true, deprecated_since = "3.22")]
12906 public static void drag_dest_set_proxy (Gtk.Widget widget, Gdk.Window proxy_window, Gdk.DragProtocol protocol, bool use_coordinates);
12907 [CCode (cheader_filename = "gtk/gtk.h")]
12908 public static void drag_dest_set_target_list (Gtk.Widget widget, Gtk.TargetList? target_list);
12909 [CCode (cheader_filename = "gtk/gtk.h")]
12910 [Version (since = "2.10")]
12911 public static void drag_dest_set_track_motion (Gtk.Widget widget, bool track_motion);
12912 [CCode (cheader_filename = "gtk/gtk.h")]
12913 public static void drag_dest_unset (Gtk.Widget widget);
12914 [CCode (cheader_filename = "gtk/gtk.h")]
12915 public static void drag_finish (Gdk.DragContext context, bool success, bool del, uint32 time_);
12916 [CCode (cheader_filename = "gtk/gtk.h")]
12917 public static void drag_get_data (Gtk.Widget widget, Gdk.DragContext context, Gdk.Atom target, uint32 time_);
12918 [CCode (cheader_filename = "gtk/gtk.h")]
12919 public static unowned Gtk.Widget? drag_get_source_widget (Gdk.DragContext context);
12920 [CCode (cheader_filename = "gtk/gtk.h")]
12921 public static void drag_highlight (Gtk.Widget widget);
12922 [CCode (cheader_filename = "gtk/gtk.h")]
12923 public static void drag_set_icon_default (Gdk.DragContext context);
12924 [CCode (cheader_filename = "gtk/gtk.h")]
12925 [Version (since = "3.2")]
12926 public static void drag_set_icon_gicon (Gdk.DragContext context, GLib.Icon icon, int hot_x, int hot_y);
12927 [CCode (cheader_filename = "gtk/gtk.h")]
12928 [Version (since = "2.8")]
12929 public static void drag_set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y);
12930 [CCode (cheader_filename = "gtk/gtk.h")]
12931 public static void drag_set_icon_pixbuf (Gdk.DragContext context, Gdk.Pixbuf pixbuf, int hot_x, int hot_y);
12932 [CCode (cheader_filename = "gtk/gtk.h")]
12933 [Version (deprecated = true, deprecated_since = "3.10")]
12934 public static void drag_set_icon_stock (Gdk.DragContext context, string stock_id, int hot_x, int hot_y);
12935 [CCode (cheader_filename = "gtk/gtk.h")]
12936 public static void drag_set_icon_surface (Gdk.DragContext context, Cairo.Surface surface);
12937 [CCode (cheader_filename = "gtk/gtk.h")]
12938 public static void drag_set_icon_widget (Gdk.DragContext context, Gtk.Widget widget, int hot_x, int hot_y);
12939 [CCode (cheader_filename = "gtk/gtk.h")]
12940 [Version (since = "2.6")]
12941 public static void drag_source_add_image_targets (Gtk.Widget widget);
12942 [CCode (cheader_filename = "gtk/gtk.h")]
12943 [Version (since = "2.6")]
12944 public static void drag_source_add_text_targets (Gtk.Widget widget);
12945 [CCode (cheader_filename = "gtk/gtk.h")]
12946 [Version (since = "2.6")]
12947 public static void drag_source_add_uri_targets (Gtk.Widget widget);
12948 [CCode (cheader_filename = "gtk/gtk.h")]
12949 [Version (since = "2.4")]
12950 public static unowned Gtk.TargetList? drag_source_get_target_list (Gtk.Widget widget);
12951 [CCode (cheader_filename = "gtk/gtk.h")]
12952 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);
12953 [CCode (cheader_filename = "gtk/gtk.h")]
12954 [Version (since = "3.2")]
12955 public static void drag_source_set_icon_gicon (Gtk.Widget widget, GLib.Icon icon);
12956 [CCode (cheader_filename = "gtk/gtk.h")]
12957 [Version (since = "2.8")]
12958 public static void drag_source_set_icon_name (Gtk.Widget widget, string icon_name);
12959 [CCode (cheader_filename = "gtk/gtk.h")]
12960 public static void drag_source_set_icon_pixbuf (Gtk.Widget widget, Gdk.Pixbuf pixbuf);
12961 [CCode (cheader_filename = "gtk/gtk.h")]
12962 [Version (deprecated = true, deprecated_since = "3.10")]
12963 public static void drag_source_set_icon_stock (Gtk.Widget widget, string stock_id);
12964 [CCode (cheader_filename = "gtk/gtk.h")]
12965 [Version (since = "2.4")]
12966 public static void drag_source_set_target_list (Gtk.Widget widget, Gtk.TargetList? target_list);
12967 [CCode (cheader_filename = "gtk/gtk.h")]
12968 public static void drag_source_unset (Gtk.Widget widget);
12969 [CCode (cheader_filename = "gtk/gtk.h")]
12970 public static void drag_unhighlight (Gtk.Widget widget);
12971 [CCode (cheader_filename = "gtk/gtk.h")]
12972 [Version (deprecated = true, deprecated_since = "3.4", replacement = "render_insertion_cursor", since = "3.0")]
12973 public static void draw_insertion_cursor (Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow);
12974 [CCode (cheader_filename = "gtk/gtk.h")]
12975 public static bool events_pending ();
12976 [CCode (cheader_filename = "gtk/gtk.h")]
12977 [Version (since = "3.0")]
12978 public static uint get_binary_age ();
12979 [CCode (cheader_filename = "gtk/gtk.h")]
12980 public static Gdk.Event? get_current_event ();
12981 [CCode (cheader_filename = "gtk/gtk.h")]
12982 public static unowned Gdk.Device? get_current_event_device ();
12983 [CCode (cheader_filename = "gtk/gtk.h")]
12984 public static bool get_current_event_state (out Gdk.ModifierType state);
12985 [CCode (cheader_filename = "gtk/gtk.h")]
12986 public static uint32 get_current_event_time ();
12987 [CCode (cheader_filename = "gtk/gtk.h")]
12988 public static uint get_debug_flags ();
12989 [CCode (cheader_filename = "gtk/gtk.h")]
12990 public static unowned Pango.Language get_default_language ();
12991 [CCode (cheader_filename = "gtk/gtk.h")]
12992 public static unowned Gtk.Widget? get_event_widget (Gdk.Event event);
12993 [CCode (cheader_filename = "gtk/gtk.h")]
12994 [Version (since = "3.0")]
12995 public static uint get_interface_age ();
12996 [CCode (cheader_filename = "gtk/gtk.h")]
12997 [Version (since = "3.12")]
12998 public static Gtk.TextDirection get_locale_direction ();
12999 [CCode (cheader_filename = "gtk/gtk.h")]
13000 [Version (since = "3.0")]
13001 public static uint get_major_version ();
13002 [CCode (cheader_filename = "gtk/gtk.h")]
13003 [Version (since = "3.0")]
13004 public static uint get_micro_version ();
13005 [CCode (cheader_filename = "gtk/gtk.h")]
13006 [Version (since = "3.0")]
13007 public static uint get_minor_version ();
13008 [CCode (cheader_filename = "gtk/gtk.h")]
13009 [Version (since = "2.6")]
13010 public static GLib.OptionGroup get_option_group (bool open_default_display);
13011 [CCode (cheader_filename = "gtk/gtk.h")]
13012 public static void grab_add (Gtk.Widget widget);
13013 [CCode (cheader_filename = "gtk/gtk.h")]
13014 public static unowned Gtk.Widget? grab_get_current ();
13015 [CCode (cheader_filename = "gtk/gtk.h")]
13016 public static void grab_remove (Gtk.Widget widget);
13017 [CCode (cheader_filename = "gtk/gtk.h")]
13018 [Version (deprecated_since = "3.10")]
13019 public static Gtk.IconSize icon_size_from_name (string name);
13020 [CCode (cheader_filename = "gtk/gtk.h")]
13021 [Version (deprecated_since = "3.10")]
13022 public static unowned string icon_size_get_name (Gtk.IconSize size);
13023 [CCode (cheader_filename = "gtk/gtk.h")]
13024 public static bool icon_size_lookup (Gtk.IconSize size, out int width, out int height);
13025 [CCode (cheader_filename = "gtk/gtk.h")]
13026 [Version (deprecated_since = "3.10")]
13027 public static bool icon_size_lookup_for_settings (Gtk.Settings settings, Gtk.IconSize size, out int width, out int height);
13028 [CCode (cheader_filename = "gtk/gtk.h")]
13029 [Version (deprecated_since = "3.10")]
13030 public static Gtk.IconSize icon_size_register (string name, int width, int height);
13031 [CCode (cheader_filename = "gtk/gtk.h")]
13032 [Version (deprecated_since = "3.10")]
13033 public static void icon_size_register_alias (string alias, Gtk.IconSize target);
13034 [CCode (cheader_filename = "gtk/gtk.h")]
13035 public static void init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
13036 [CCode (cheader_filename = "gtk/gtk.h")]
13037 public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
13038 [CCode (cheader_filename = "gtk/gtk.h")]
13039 [Version (since = "2.6")]
13040 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;
13041 [CCode (cheader_filename = "gtk/gtk.h")]
13042 [Version (deprecated = true, deprecated_since = "3.4")]
13043 public static uint key_snooper_install (Gtk.KeySnoopFunc snooper);
13044 [CCode (cheader_filename = "gtk/gtk.h")]
13045 [Version (deprecated = true, deprecated_since = "3.4")]
13046 public static void key_snooper_remove (uint snooper_handler_id);
13047 [CCode (cheader_filename = "gtk/gtk.h")]
13048 public static void main ();
13049 [CCode (cheader_filename = "gtk/gtk.h")]
13050 public static void main_do_event (Gdk.Event event);
13051 [CCode (cheader_filename = "gtk/gtk.h")]
13052 public static bool main_iteration ();
13053 [CCode (cheader_filename = "gtk/gtk.h")]
13054 public static bool main_iteration_do (bool blocking);
13055 [CCode (cheader_filename = "gtk/gtk.h")]
13056 public static uint main_level ();
13057 [CCode (cheader_filename = "gtk/gtk.h")]
13058 public static void main_quit ();
13059 [CCode (cheader_filename = "gtk/gtk.h")]
13060 [Version (deprecated = true, deprecated_since = "3.0")]
13061 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);
13062 [CCode (cheader_filename = "gtk/gtk.h")]
13063 [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_background")]
13064 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);
13065 [CCode (cheader_filename = "gtk/gtk.h")]
13066 [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_frame_gap")]
13067 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);
13068 [CCode (cheader_filename = "gtk/gtk.h")]
13069 [Version (deprecated = true, deprecated_since = "3.0")]
13070 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);
13071 [CCode (cheader_filename = "gtk/gtk.h")]
13072 [Version (deprecated = true, deprecated_since = "3.0")]
13073 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);
13074 [CCode (cheader_filename = "gtk/gtk.h")]
13075 [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_expander")]
13076 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);
13077 [CCode (cheader_filename = "gtk/gtk.h")]
13078 [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_extension")]
13079 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);
13080 [CCode (cheader_filename = "gtk/gtk.h")]
13081 [Version (deprecated = true, deprecated_since = "3.0")]
13082 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);
13083 [CCode (cheader_filename = "gtk/gtk.h")]
13084 [Version (deprecated = true, deprecated_since = "3.0")]
13085 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);
13086 [CCode (cheader_filename = "gtk/gtk.h")]
13087 [Version (deprecated = true, deprecated_since = "3.0")]
13088 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);
13089 [CCode (cheader_filename = "gtk/gtk.h")]
13090 [Version (deprecated = true, deprecated_since = "3.0")]
13091 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);
13092 [CCode (cheader_filename = "gtk/gtk.h")]
13093 [Version (deprecated = true, deprecated_since = "3.0")]
13094 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);
13095 [CCode (cheader_filename = "gtk/gtk.h")]
13096 [Version (deprecated = true, deprecated_since = "3.0")]
13097 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);
13098 [CCode (cheader_filename = "gtk/gtk.h")]
13099 [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_handle")]
13100 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);
13101 [CCode (cheader_filename = "gtk/gtk.h")]
13102 [Version (deprecated = true, deprecated_since = "3.0")]
13103 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);
13104 [CCode (cheader_filename = "gtk/gtk.h")]
13105 [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_frame")]
13106 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);
13107 [CCode (cheader_filename = "gtk/gtk.h")]
13108 [Version (deprecated = true, deprecated_since = "3.0")]
13109 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);
13110 [CCode (cheader_filename = "gtk/gtk.h")]
13111 [Version (deprecated = true, deprecated_since = "3.0", replacement = "render_activity")]
13112 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);
13113 [CCode (cheader_filename = "gtk/gtk.h")]
13114 [Version (deprecated = true, deprecated_since = "3.0")]
13115 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);
13116 [CCode (cheader_filename = "gtk/gtk.h")]
13117 [Version (deprecated = true, deprecated_since = "3.0")]
13118 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);
13119 [CCode (cheader_filename = "gtk/gtk.h")]
13120 public static bool parse_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[] argv);
13121 [CCode (cheader_filename = "gtk/gtk.h")]
13122 [Version (since = "2.10")]
13123 public static Gtk.PageSetup print_run_page_setup_dialog (Gtk.Window? parent, Gtk.PageSetup? page_setup, Gtk.PrintSettings settings);
13124 [CCode (cheader_filename = "gtk/gtk.h")]
13125 [Version (since = "2.10")]
13126 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);
13127 [CCode (cheader_filename = "gtk/gtk.h")]
13128 public static void propagate_event (Gtk.Widget widget, Gdk.Event event);
13129 [CCode (cheader_filename = "gtk/gtk.h")]
13130 [Version (deprecated = true, deprecated_since = "3.0")]
13131 public static void rc_add_default_file (string filename);
13132 [CCode (cheader_filename = "gtk/gtk.h")]
13133 [Version (deprecated = true, deprecated_since = "3.0")]
13134 public static string rc_find_module_in_path (string module_file);
13135 [CCode (cheader_filename = "gtk/gtk.h")]
13136 [Version (deprecated = true, deprecated_since = "3.0")]
13137 public static string rc_find_pixmap_in_path (Gtk.Settings settings, GLib.Scanner scanner, string pixmap_file);
13138 [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
13139 [Version (deprecated = true, deprecated_since = "3.0")]
13140 public static unowned string[] rc_get_default_files ();
13141 [CCode (cheader_filename = "gtk/gtk.h")]
13142 [Version (deprecated = true, deprecated_since = "3.0")]
13143 public static string rc_get_im_module_file ();
13144 [CCode (cheader_filename = "gtk/gtk.h")]
13145 [Version (deprecated = true, deprecated_since = "3.0")]
13146 public static string rc_get_im_module_path ();
13147 [CCode (cheader_filename = "gtk/gtk.h")]
13148 [Version (deprecated = true, deprecated_since = "3.0")]
13149 public static string rc_get_module_dir ();
13150 [CCode (cheader_filename = "gtk/gtk.h")]
13151 [Version (deprecated = true, deprecated_since = "3.0")]
13152 public static unowned Gtk.Style rc_get_style (Gtk.Widget widget);
13153 [CCode (cheader_filename = "gtk/gtk.h")]
13154 [Version (deprecated = true, deprecated_since = "3.0")]
13155 public static unowned Gtk.Style? rc_get_style_by_paths (Gtk.Settings settings, string? widget_path, string? class_path, GLib.Type type);
13156 [CCode (cheader_filename = "gtk/gtk.h")]
13157 [Version (deprecated = true, deprecated_since = "3.0")]
13158 public static string rc_get_theme_dir ();
13159 [CCode (cheader_filename = "gtk/gtk.h")]
13160 [Version (deprecated = true, deprecated_since = "3.0")]
13161 public static void rc_parse (string filename);
13162 [CCode (cheader_filename = "gtk/gtk.h")]
13163 [Version (deprecated = true, deprecated_since = "3.0")]
13164 public static uint rc_parse_color (GLib.Scanner scanner, out Gdk.Color color);
13165 [CCode (cheader_filename = "gtk/gtk.h")]
13166 [Version (deprecated = true, deprecated_since = "3.0", since = "2.12")]
13167 public static uint rc_parse_color_full (GLib.Scanner scanner, Gtk.RcStyle? style, out Gdk.Color color);
13168 [CCode (cheader_filename = "gtk/gtk.h")]
13169 [Version (deprecated = true, deprecated_since = "3.0")]
13170 public static uint rc_parse_priority (GLib.Scanner scanner, Gtk.PathPriorityType priority);
13171 [CCode (cheader_filename = "gtk/gtk.h")]
13172 [Version (deprecated = true, deprecated_since = "3.0")]
13173 public static uint rc_parse_state (GLib.Scanner scanner, out Gtk.StateType state);
13174 [CCode (cheader_filename = "gtk/gtk.h")]
13175 [Version (deprecated = true, deprecated_since = "3.0")]
13176 public static void rc_parse_string (string rc_string);
13177 [CCode (cheader_filename = "gtk/gtk.h")]
13178 [Version (deprecated = true, deprecated_since = "3.0")]
13179 public static bool rc_reparse_all ();
13180 [CCode (cheader_filename = "gtk/gtk.h")]
13181 [Version (deprecated = true, deprecated_since = "3.0")]
13182 public static bool rc_reparse_all_for_settings (Gtk.Settings settings, bool force_load);
13183 [CCode (cheader_filename = "gtk/gtk.h")]
13184 [Version (deprecated = true, deprecated_since = "3.0", since = "2.4")]
13185 public static void rc_reset_styles (Gtk.Settings settings);
13186 [CCode (cheader_filename = "gtk/gtk.h")]
13187 [Version (deprecated = true, deprecated_since = "3.0")]
13188 public static unowned GLib.Scanner rc_scanner_new ();
13189 [CCode (cheader_filename = "gtk/gtk.h")]
13190 [Version (deprecated = true, deprecated_since = "3.0")]
13191 public static void rc_set_default_files ([CCode (array_length = false, array_null_terminated = true)] string[] filenames);
13192 [CCode (cheader_filename = "gtk/gtk.h")]
13193 public static void render_icon_surface (Gtk.StyleContext context, Cairo.Context cr, Cairo.Surface surface, double x, double y);
13194 [CCode (cheader_filename = "gtk/gtk.h")]
13195 public static void render_insertion_cursor (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout, int index, Pango.Direction direction);
13196 [CCode (cheader_filename = "gtk/gtk.h")]
13197 [Version (since = "2.14")]
13198 public static void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double v);
13199 [CCode (cheader_filename = "gtk/gtk.h")]
13200 public static void selection_add_target (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint info);
13201 [CCode (cheader_filename = "gtk/gtk.h")]
13202 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);
13203 [CCode (cheader_filename = "gtk/gtk.h")]
13204 public static void selection_clear_targets (Gtk.Widget widget, Gdk.Atom selection);
13205 [CCode (cheader_filename = "gtk/gtk.h")]
13206 public static bool selection_convert (Gtk.Widget widget, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
13207 [CCode (cheader_filename = "gtk/gtk.h")]
13208 public static bool selection_owner_set (Gtk.Widget? widget, Gdk.Atom selection, uint32 time_);
13209 [CCode (cheader_filename = "gtk/gtk.h")]
13210 [Version (since = "2.2")]
13211 public static bool selection_owner_set_for_display (Gdk.Display display, Gtk.Widget? widget, Gdk.Atom selection, uint32 time_);
13212 [CCode (cheader_filename = "gtk/gtk.h")]
13213 public static void selection_remove_all (Gtk.Widget widget);
13214 [CCode (cheader_filename = "gtk/gtk.h")]
13215 public static void set_debug_flags (uint flags);
13216 [CCode (cheader_filename = "gtk/gtk.h")]
13217 [Version (since = "2.6")]
13218 public static void show_about_dialog (Gtk.Window? parent, ...);
13219 [CCode (cheader_filename = "gtk/gtk.h")]
13220 [Version (since = "2.14")]
13221 public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
13222 [CCode (cheader_filename = "gtk/gtk.h")]
13223 [Version (since = "3.22")]
13224 public static bool show_uri_on_window (Gtk.Window? parent, string uri, uint32 timestamp) throws GLib.Error;
13225 [CCode (cheader_filename = "gtk/gtk.h")]
13226 [Version (deprecated = true, deprecated_since = "3.10")]
13227 public static void stock_add ([CCode (array_length_cname = "n_items", array_length_pos = 1.1, array_length_type = "guint")] Gtk.StockItem[] items);
13228 [CCode (cheader_filename = "gtk/gtk.h")]
13229 [Version (deprecated = true, deprecated_since = "3.10")]
13230 public static void stock_add_static ([CCode (array_length_cname = "n_items", array_length_pos = 1.1, array_length_type = "guint")] Gtk.StockItem[] items);
13231 [CCode (cheader_filename = "gtk/gtk.h")]
13232 [Version (deprecated = true, deprecated_since = "3.10")]
13233 public static GLib.SList<string> stock_list_ids ();
13234 [CCode (cheader_filename = "gtk/gtk.h")]
13235 [Version (deprecated = true, deprecated_since = "3.10")]
13236 public static bool stock_lookup (string stock_id, out Gtk.StockItem item);
13237 [CCode (cheader_filename = "gtk/gtk.h")]
13238 [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
13239 public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
13240 [CCode (cheader_filename = "gtk/gtk.h")]
13241 [Version (since = "2.10")]
13242 public static void target_table_free ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gtk.TargetEntry[] targets);
13243 [CCode (array_length_pos = 1.1, cheader_filename = "gtk/gtk.h")]
13244 [Version (since = "2.10")]
13245 public static Gtk.TargetEntry[] target_table_new_from_list (Gtk.TargetList list);
13246 [CCode (cheader_filename = "gtk/gtk.h")]
13247 [Version (since = "2.10")]
13248 public static bool targets_include_image ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gdk.Atom[] targets, bool writable);
13249 [CCode (cheader_filename = "gtk/gtk.h")]
13250 [Version (since = "2.10")]
13251 public static bool targets_include_rich_text ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5)] Gdk.Atom[] targets, Gtk.TextBuffer buffer);
13252 [CCode (cheader_filename = "gtk/gtk.h")]
13253 [Version (since = "2.10")]
13254 public static bool targets_include_text ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gdk.Atom[] targets);
13255 [CCode (cheader_filename = "gtk/gtk.h")]
13256 [Version (since = "2.10")]
13257 public static bool targets_include_uri ([CCode (array_length_cname = "n_targets", array_length_pos = 1.1)] Gdk.Atom[] targets);
13258 [CCode (cheader_filename = "gtk/gtk.h")]
13259 [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13260 public static unowned Gtk.Widget test_create_simple_window (string window_title, string dialog_text);
13261 [CCode (cheader_filename = "gtk/gtk.h")]
13262 [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13263 public static unowned Gtk.Widget test_create_widget (GLib.Type widget_type, ...);
13264 [CCode (cheader_filename = "gtk/gtk.h")]
13265 [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13266 public static Gtk.Widget test_display_button_window (string window_title, string dialog_text, ...);
13267 [CCode (cheader_filename = "gtk/gtk.h")]
13268 [Version (since = "2.14")]
13269 public static unowned Gtk.Widget test_find_label (Gtk.Widget widget, string label_pattern);
13270 [CCode (cheader_filename = "gtk/gtk.h")]
13271 [Version (since = "2.14")]
13272 public static unowned Gtk.Widget test_find_sibling (Gtk.Widget base_widget, GLib.Type widget_type);
13273 [CCode (cheader_filename = "gtk/gtk.h")]
13274 [Version (since = "2.14")]
13275 public static unowned Gtk.Widget? test_find_widget (Gtk.Widget widget, string label_pattern, GLib.Type widget_type);
13276 [CCode (cheader_filename = "gtk/gtk.h")]
13277 [Version (since = "2.14")]
13278 public static void test_init ([CCode (array_length_cname = "argcp", array_length_pos = 0.5)] ref unowned string[] argvp, ...);
13279 [CCode (array_length = true, array_length_pos = 0.1, array_length_type = "guint", array_null_terminated = true, cheader_filename = "gtk/gtk.h")]
13280 [Version (since = "2.14")]
13281 public static unowned GLib.Type[] test_list_all_types ();
13282 [CCode (cheader_filename = "gtk/gtk.h")]
13283 [Version (since = "2.14")]
13284 public static void test_register_all_types ();
13285 [CCode (cheader_filename = "gtk/gtk.h")]
13286 [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13287 public static double test_slider_get_value (Gtk.Widget widget);
13288 [CCode (cheader_filename = "gtk/gtk.h")]
13289 [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13290 public static void test_slider_set_perc (Gtk.Widget widget, double percentage);
13291 [CCode (cheader_filename = "gtk/gtk.h")]
13292 [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13293 public static bool test_spin_button_click (Gtk.SpinButton spinner, uint button, bool upwards);
13294 [CCode (cheader_filename = "gtk/gtk.h")]
13295 [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13296 public static string test_text_get (Gtk.Widget widget);
13297 [CCode (cheader_filename = "gtk/gtk.h")]
13298 [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13299 public static void test_text_set (Gtk.Widget widget, string str);
13300 [CCode (cheader_filename = "gtk/gtk.h")]
13301 [Version (deprecated = true, deprecated_since = "3.20", since = "2.14")]
13302 public static bool test_widget_click (Gtk.Widget widget, uint button, Gdk.ModifierType modifiers);
13303 [CCode (cheader_filename = "gtk/gtk.h")]
13304 [Version (since = "2.14")]
13305 public static bool test_widget_send_key (Gtk.Widget widget, uint keyval, Gdk.ModifierType modifiers);
13306 [CCode (cheader_filename = "gtk/gtk.h")]
13307 [Version (since = "3.10")]
13308 public static void test_widget_wait_for_draw (Gtk.Widget widget);
13309 [CCode (cheader_filename = "gtk/gtk.h")]
13310 public static bool tree_get_row_drag_data (Gtk.SelectionData selection_data, out unowned Gtk.TreeModel? tree_model, out Gtk.TreePath? path);
13311 [CCode (cheader_filename = "gtk/gtk.h")]
13312 public static bool tree_set_row_drag_data (Gtk.SelectionData selection_data, Gtk.TreeModel tree_model, Gtk.TreePath path);