Merge lp:~amigadave/gnome-control-center-signon/translations into lp:gnome-control-center-signon

Proposed by David King
Status: Merged
Approved by: Alberto Mardegan
Approved revision: 106
Merged at revision: 105
Proposed branch: lp:~amigadave/gnome-control-center-signon/translations
Merge into: lp:gnome-control-center-signon
Diff against target: 8499 lines (+18/-8423)
6 files modified
Makefile.am (+1/-3)
src/cc-credentials-account-applications-model.vala (+6/-2)
src/cc-credentials-applications-model.vala (+4/-2)
src/cc-credentials-providers-model.vala (+7/-3)
src/gtk+-3.0.deps (+0/-7)
src/gtk+-3.0.vapi (+0/-8406)
To merge this branch: bzr merge lp:~amigadave/gnome-control-center-signon/translations
Reviewer Review Type Date Requested Status
Alberto Mardegan (community) Approve
jenkins (community) continuous-integration Approve
Review via email: mp+125191@code.launchpad.net

Description of the change

Translate description fields from application files

Tested with latest unity-lens-gdocs (and a self-made translation).

To post a comment you must log in.
Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alberto Mardegan (mardy) wrote :

Perfect, works like a charm! :-)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile.am'
2--- Makefile.am 2012-09-04 14:50:34 +0000
3+++ Makefile.am 2012-09-19 13:00:42 +0000
4@@ -425,9 +425,7 @@
5 intltool-update.in \
6 src/config.vapi \
7 src/assertions.vapi \
8- src/signon.vapi \
9- src/gtk+-3.0.vapi \
10- src/gtk+-3.0.deps
11+ src/signon.vapi
12
13 CLEANFILES = \
14 $(desktop_in_files) \
15
16=== modified file 'src/cc-credentials-account-applications-model.vala'
17--- src/cc-credentials-account-applications-model.vala 2012-07-12 08:57:19 +0000
18+++ src/cc-credentials-account-applications-model.vala 2012-09-19 13:00:42 +0000
19@@ -133,9 +133,13 @@
20
21 var service = manager.get_service (service_name);
22
23- var description_markup = application.get_description ()
24+ var app_description = dgettext (application.get_i18n_domain (),
25+ application.get_description ());
26+ var app_service_usage = dgettext (application.get_i18n_domain (),
27+ application.get_service_usage (service));
28+ var description_markup = app_description
29 + "\n<small>"
30- + application.get_service_usage (service)
31+ + app_service_usage
32 + "</small>";
33
34 var app_plugin = Ap.client_load_application_plugin (application,
35
36=== modified file 'src/cc-credentials-applications-model.vala'
37--- src/cc-credentials-applications-model.vala 2012-07-17 09:52:34 +0000
38+++ src/cc-credentials-applications-model.vala 2012-09-19 13:00:42 +0000
39@@ -73,8 +73,10 @@
40
41 foreach (var application in applications)
42 {
43- application_hash.insert (application.get_name (),
44- application.get_description ());
45+ application_hash.insert (dgettext (application.get_i18n_domain (),
46+ application.get_name ()),
47+ dgettext (application.get_i18n_domain (),
48+ application.get_description ()));
49 }
50 }
51
52
53=== modified file 'src/cc-credentials-providers-model.vala'
54--- src/cc-credentials-providers-model.vala 2012-09-17 12:39:18 +0000
55+++ src/cc-credentials-providers-model.vala 2012-09-19 13:00:42 +0000
56@@ -309,13 +309,17 @@
57 string provider_description;
58 if (description == null)
59 {
60- provider_description = provider.get_display_name ();
61+ provider_description = dgettext (provider.get_i18n_domain (),
62+ provider.get_display_name ());
63 }
64 else
65 {
66- provider_description = provider.get_display_name () + "\n"
67+ provider_description = dgettext (provider.get_i18n_domain (),
68+ provider.get_display_name ())
69+ + "\n"
70 + "<small>"
71- + description
72+ + dgettext (provider.get_i18n_domain (),
73+ description)
74 + "</small>";
75 }
76
77
78=== removed file 'src/gtk+-3.0.deps'
79--- src/gtk+-3.0.deps 2012-03-01 17:46:55 +0000
80+++ src/gtk+-3.0.deps 1970-01-01 00:00:00 +0000
81@@ -1,7 +0,0 @@
82-gio-2.0
83-atk
84-cairo
85-gdk-pixbuf-2.0
86-gdk-3.0
87-pango
88-x11
89
90=== removed file 'src/gtk+-3.0.vapi'
91--- src/gtk+-3.0.vapi 2012-06-20 06:24:09 +0000
92+++ src/gtk+-3.0.vapi 1970-01-01 00:00:00 +0000
93@@ -1,8406 +0,0 @@
94-/* gtk+-3.0.vapi generated by vapigen, do not modify. */
95-
96-[CCode (gir_namespace = "Gtk", gir_version = "3.0")]
97-namespace Gtk {
98- namespace Stock {
99- [CCode (cheader_filename = "gtk/gtk.h")]
100- public const string ABOUT;
101- [CCode (cheader_filename = "gtk/gtk.h")]
102- public const string ADD;
103- [CCode (cheader_filename = "gtk/gtk.h")]
104- public const string APPLY;
105- [CCode (cheader_filename = "gtk/gtk.h")]
106- public const string BOLD;
107- [CCode (cheader_filename = "gtk/gtk.h")]
108- public const string CANCEL;
109- [CCode (cheader_filename = "gtk/gtk.h")]
110- public const string CAPS_LOCK_WARNING;
111- [CCode (cheader_filename = "gtk/gtk.h")]
112- public const string CDROM;
113- [CCode (cheader_filename = "gtk/gtk.h")]
114- public const string CLEAR;
115- [CCode (cheader_filename = "gtk/gtk.h")]
116- public const string CLOSE;
117- [CCode (cheader_filename = "gtk/gtk.h")]
118- public const string COLOR_PICKER;
119- [CCode (cheader_filename = "gtk/gtk.h")]
120- public const string CONNECT;
121- [CCode (cheader_filename = "gtk/gtk.h")]
122- public const string CONVERT;
123- [CCode (cheader_filename = "gtk/gtk.h")]
124- public const string COPY;
125- [CCode (cheader_filename = "gtk/gtk.h")]
126- public const string CUT;
127- [CCode (cheader_filename = "gtk/gtk.h")]
128- public const string DELETE;
129- [CCode (cheader_filename = "gtk/gtk.h")]
130- public const string DIALOG_AUTHENTICATION;
131- [CCode (cheader_filename = "gtk/gtk.h")]
132- public const string DIALOG_ERROR;
133- [CCode (cheader_filename = "gtk/gtk.h")]
134- public const string DIALOG_INFO;
135- [CCode (cheader_filename = "gtk/gtk.h")]
136- public const string DIALOG_QUESTION;
137- [CCode (cheader_filename = "gtk/gtk.h")]
138- public const string DIALOG_WARNING;
139- [CCode (cheader_filename = "gtk/gtk.h")]
140- public const string DIRECTORY;
141- [CCode (cheader_filename = "gtk/gtk.h")]
142- public const string DISCARD;
143- [CCode (cheader_filename = "gtk/gtk.h")]
144- public const string DISCONNECT;
145- [CCode (cheader_filename = "gtk/gtk.h")]
146- public const string DND;
147- [CCode (cheader_filename = "gtk/gtk.h")]
148- public const string DND_MULTIPLE;
149- [CCode (cheader_filename = "gtk/gtk.h")]
150- public const string EDIT;
151- [CCode (cheader_filename = "gtk/gtk.h")]
152- public const string EXECUTE;
153- [CCode (cheader_filename = "gtk/gtk.h")]
154- public const string FILE;
155- [CCode (cheader_filename = "gtk/gtk.h")]
156- public const string FIND;
157- [CCode (cheader_filename = "gtk/gtk.h")]
158- public const string FIND_AND_REPLACE;
159- [CCode (cheader_filename = "gtk/gtk.h")]
160- public const string FLOPPY;
161- [CCode (cheader_filename = "gtk/gtk.h")]
162- public const string FULLSCREEN;
163- [CCode (cheader_filename = "gtk/gtk.h")]
164- public const string GOTO_BOTTOM;
165- [CCode (cheader_filename = "gtk/gtk.h")]
166- public const string GOTO_FIRST;
167- [CCode (cheader_filename = "gtk/gtk.h")]
168- public const string GOTO_LAST;
169- [CCode (cheader_filename = "gtk/gtk.h")]
170- public const string GOTO_TOP;
171- [CCode (cheader_filename = "gtk/gtk.h")]
172- public const string GO_BACK;
173- [CCode (cheader_filename = "gtk/gtk.h")]
174- public const string GO_DOWN;
175- [CCode (cheader_filename = "gtk/gtk.h")]
176- public const string GO_FORWARD;
177- [CCode (cheader_filename = "gtk/gtk.h")]
178- public const string GO_UP;
179- [CCode (cheader_filename = "gtk/gtk.h")]
180- public const string HARDDISK;
181- [CCode (cheader_filename = "gtk/gtk.h")]
182- public const string HELP;
183- [CCode (cheader_filename = "gtk/gtk.h")]
184- public const string HOME;
185- [CCode (cheader_filename = "gtk/gtk.h")]
186- public const string INDENT;
187- [CCode (cheader_filename = "gtk/gtk.h")]
188- public const string INDEX;
189- [CCode (cheader_filename = "gtk/gtk.h")]
190- public const string INFO;
191- [CCode (cheader_filename = "gtk/gtk.h")]
192- public const string ITALIC;
193- [CCode (cheader_filename = "gtk/gtk.h")]
194- public const string JUMP_TO;
195- [CCode (cheader_filename = "gtk/gtk.h")]
196- public const string JUSTIFY_CENTER;
197- [CCode (cheader_filename = "gtk/gtk.h")]
198- public const string JUSTIFY_FILL;
199- [CCode (cheader_filename = "gtk/gtk.h")]
200- public const string JUSTIFY_LEFT;
201- [CCode (cheader_filename = "gtk/gtk.h")]
202- public const string JUSTIFY_RIGHT;
203- [CCode (cheader_filename = "gtk/gtk.h")]
204- public const string LEAVE_FULLSCREEN;
205- [CCode (cheader_filename = "gtk/gtk.h")]
206- public const string MEDIA_FORWARD;
207- [CCode (cheader_filename = "gtk/gtk.h")]
208- public const string MEDIA_NEXT;
209- [CCode (cheader_filename = "gtk/gtk.h")]
210- public const string MEDIA_PAUSE;
211- [CCode (cheader_filename = "gtk/gtk.h")]
212- public const string MEDIA_PLAY;
213- [CCode (cheader_filename = "gtk/gtk.h")]
214- public const string MEDIA_PREVIOUS;
215- [CCode (cheader_filename = "gtk/gtk.h")]
216- public const string MEDIA_RECORD;
217- [CCode (cheader_filename = "gtk/gtk.h")]
218- public const string MEDIA_REWIND;
219- [CCode (cheader_filename = "gtk/gtk.h")]
220- public const string MEDIA_STOP;
221- [CCode (cheader_filename = "gtk/gtk.h")]
222- public const string MISSING_IMAGE;
223- [CCode (cheader_filename = "gtk/gtk.h")]
224- public const string NETWORK;
225- [CCode (cheader_filename = "gtk/gtk.h")]
226- public const string NEW;
227- [CCode (cheader_filename = "gtk/gtk.h")]
228- public const string NO;
229- [CCode (cheader_filename = "gtk/gtk.h")]
230- public const string OK;
231- [CCode (cheader_filename = "gtk/gtk.h")]
232- public const string OPEN;
233- [CCode (cheader_filename = "gtk/gtk.h")]
234- public const string ORIENTATION_LANDSCAPE;
235- [CCode (cheader_filename = "gtk/gtk.h")]
236- public const string ORIENTATION_PORTRAIT;
237- [CCode (cheader_filename = "gtk/gtk.h")]
238- public const string ORIENTATION_REVERSE_LANDSCAPE;
239- [CCode (cheader_filename = "gtk/gtk.h")]
240- public const string ORIENTATION_REVERSE_PORTRAIT;
241- [CCode (cheader_filename = "gtk/gtk.h")]
242- public const string PAGE_SETUP;
243- [CCode (cheader_filename = "gtk/gtk.h")]
244- public const string PASTE;
245- [CCode (cheader_filename = "gtk/gtk.h")]
246- public const string PREFERENCES;
247- [CCode (cheader_filename = "gtk/gtk.h")]
248- public const string PRINT;
249- [CCode (cheader_filename = "gtk/gtk.h")]
250- public const string PRINT_ERROR;
251- [CCode (cheader_filename = "gtk/gtk.h")]
252- public const string PRINT_PAUSED;
253- [CCode (cheader_filename = "gtk/gtk.h")]
254- public const string PRINT_PREVIEW;
255- [CCode (cheader_filename = "gtk/gtk.h")]
256- public const string PRINT_REPORT;
257- [CCode (cheader_filename = "gtk/gtk.h")]
258- public const string PRINT_WARNING;
259- [CCode (cheader_filename = "gtk/gtk.h")]
260- public const string PROPERTIES;
261- [CCode (cheader_filename = "gtk/gtk.h")]
262- public const string QUIT;
263- [CCode (cheader_filename = "gtk/gtk.h")]
264- public const string REDO;
265- [CCode (cheader_filename = "gtk/gtk.h")]
266- public const string REFRESH;
267- [CCode (cheader_filename = "gtk/gtk.h")]
268- public const string REMOVE;
269- [CCode (cheader_filename = "gtk/gtk.h")]
270- public const string REVERT_TO_SAVED;
271- [CCode (cheader_filename = "gtk/gtk.h")]
272- public const string SAVE;
273- [CCode (cheader_filename = "gtk/gtk.h")]
274- public const string SAVE_AS;
275- [CCode (cheader_filename = "gtk/gtk.h")]
276- public const string SELECT_ALL;
277- [CCode (cheader_filename = "gtk/gtk.h")]
278- public const string SELECT_COLOR;
279- [CCode (cheader_filename = "gtk/gtk.h")]
280- public const string SELECT_FONT;
281- [CCode (cheader_filename = "gtk/gtk.h")]
282- public const string SORT_ASCENDING;
283- [CCode (cheader_filename = "gtk/gtk.h")]
284- public const string SORT_DESCENDING;
285- [CCode (cheader_filename = "gtk/gtk.h")]
286- public const string SPELL_CHECK;
287- [CCode (cheader_filename = "gtk/gtk.h")]
288- public const string STOP;
289- [CCode (cheader_filename = "gtk/gtk.h")]
290- public const string STRIKETHROUGH;
291- [CCode (cheader_filename = "gtk/gtk.h")]
292- public const string UNDELETE;
293- [CCode (cheader_filename = "gtk/gtk.h")]
294- public const string UNDERLINE;
295- [CCode (cheader_filename = "gtk/gtk.h")]
296- public const string UNDO;
297- [CCode (cheader_filename = "gtk/gtk.h")]
298- public const string UNINDENT;
299- [CCode (cheader_filename = "gtk/gtk.h")]
300- public const string YES;
301- [CCode (cheader_filename = "gtk/gtk.h")]
302- public const string ZOOM_100;
303- [CCode (cheader_filename = "gtk/gtk.h")]
304- public const string ZOOM_FIT;
305- [CCode (cheader_filename = "gtk/gtk.h")]
306- public const string ZOOM_IN;
307- [CCode (cheader_filename = "gtk/gtk.h")]
308- public const string ZOOM_OUT;
309- [CCode (cheader_filename = "gtk/gtk.h")]
310- public static void add (Gtk.StockItem[] items);
311- [CCode (cheader_filename = "gtk/gtk.h")]
312- public static void add_static (Gtk.StockItem[] items);
313- [CCode (cheader_filename = "gtk/gtk.h")]
314- public static GLib.SList<string> list_ids ();
315- [CCode (cheader_filename = "gtk/gtk.h")]
316- public static bool lookup (string stock_id, out Gtk.StockItem item);
317- }
318- [CCode (cheader_filename = "gtk/gtk.h")]
319- public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
320- [CCode (has_construct_function = false, type = "GtkWidget*")]
321- public AboutDialog ();
322- public unowned string get_artists ();
323- public unowned string get_authors ();
324- public unowned string get_comments ();
325- public unowned string get_copyright ();
326- public unowned string get_documenters ();
327- public unowned string get_license ();
328- public Gtk.License get_license_type ();
329- public unowned Gdk.Pixbuf get_logo ();
330- public unowned string get_logo_icon_name ();
331- public unowned string get_program_name ();
332- public unowned string get_translator_credits ();
333- public unowned string get_version ();
334- public unowned string get_website ();
335- public unowned string get_website_label ();
336- public bool get_wrap_license ();
337- public void set_artists ([CCode (array_length = false)] string[] artists);
338- public void set_authors ([CCode (array_length = false)] string[] authors);
339- public void set_comments (string comments);
340- public void set_copyright (string copyright);
341- public void set_documenters ([CCode (array_length = false)] string[] documenters);
342- public void set_license (string license);
343- public void set_license_type (Gtk.License license_type);
344- public void set_logo (Gdk.Pixbuf logo);
345- public void set_logo_icon_name (string icon_name);
346- public void set_program_name (string name);
347- public void set_translator_credits (string translator_credits);
348- public void set_version (string version);
349- public void set_website (string website);
350- public void set_website_label (string website_label);
351- public void set_wrap_license (bool wrap_license);
352- [CCode (array_length = false, array_null_terminated = true)]
353- public string[] artists { get; set; }
354- [CCode (array_length = false, array_null_terminated = true)]
355- public string[] authors { get; set; }
356- public string comments { get; set; }
357- public string copyright { get; set; }
358- [CCode (array_length = false, array_null_terminated = true)]
359- public string[] documenters { get; set; }
360- public string license { get; set; }
361- public Gtk.License license_type { get; set; }
362- public Gdk.Pixbuf logo { get; set; }
363- public string logo_icon_name { get; set; }
364- public string program_name { get; set; }
365- public string translator_credits { get; set; }
366- public string version { get; set; }
367- public string website { get; set; }
368- public string website_label { get; set; }
369- public bool wrap_license { get; set; }
370- public virtual signal bool activate_link (string uri);
371- }
372- [CCode (cheader_filename = "gtk/gtk.h")]
373- public class AccelGroup : GLib.Object {
374- [CCode (has_construct_function = false)]
375- public AccelGroup ();
376- public bool activate (GLib.Quark accel_quark, GLib.Object acceleratable, uint accel_key, Gdk.ModifierType accel_mods);
377- public void connect (uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
378- public void connect_by_path (string accel_path, [CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate closure);
379- public bool disconnect (GLib.Closure closure);
380- public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods);
381- public Gtk.AccelKey* find (Gtk.AccelGroupFindFunc find_func);
382- public static unowned Gtk.AccelGroup from_accel_closure (GLib.Closure closure);
383- public bool get_is_locked ();
384- public Gdk.ModifierType get_modifier_mask ();
385- public void @lock ();
386- public unowned Gtk.AccelGroupEntry query (uint accel_key, Gdk.ModifierType accel_mods, uint n_entries);
387- public void unlock ();
388- public bool is_locked { get; }
389- public Gdk.ModifierType modifier_mask { get; }
390- public virtual signal bool accel_activate (GLib.Object p0, uint p1, Gdk.ModifierType p2);
391- public virtual signal void accel_changed (uint keyval, Gdk.ModifierType modifier, GLib.Closure accel_closure);
392- }
393- [CCode (cheader_filename = "gtk/gtk.h")]
394- [Compact]
395- public class AccelGroupEntry {
396- public GLib.Quark accel_path_quark;
397- public weak GLib.Closure closure;
398- public Gtk.AccelKey key;
399- }
400- [CCode (cheader_filename = "gtk/gtk.h")]
401- public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
402- [CCode (has_construct_function = false, type = "GtkWidget*")]
403- public AccelLabel (string str);
404- public unowned Gtk.Widget get_accel_widget ();
405- public uint get_accel_width ();
406- public bool refetch ();
407- public void set_accel_closure ([CCode (type = "GClosure*")] owned Gtk.AccelGroupActivate accel_closure);
408- public void set_accel_widget (Gtk.Widget accel_widget);
409- [NoAccessorMethod]
410- public GLib.Closure accel_closure { owned get; set; }
411- public Gtk.Widget accel_widget { get; set; }
412- }
413- [CCode (cheader_filename = "gtk/gtk.h")]
414- public class AccelMap : GLib.Object {
415- [CCode (has_construct_function = false)]
416- protected AccelMap ();
417- public static void add_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
418- public static void add_filter (string filter_pattern);
419- public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace);
420- public static void @foreach (void* data, Gtk.AccelMapForeach foreach_func);
421- public static void foreach_unfiltered (void* data, Gtk.AccelMapForeach foreach_func);
422- public static unowned Gtk.AccelMap @get ();
423- public static void load (string file_name);
424- public static void load_fd (int fd);
425- public static void load_scanner (GLib.Scanner scanner);
426- public static void lock_path (string accel_path);
427- public static bool lookup_entry (string accel_path, out Gtk.AccelKey key);
428- public static void save (string file_name);
429- public static void save_fd (int fd);
430- public static void unlock_path (string accel_path);
431- public virtual signal void changed (string p0, uint p1, Gdk.ModifierType p2);
432- }
433- [CCode (cheader_filename = "gtk/gtk.h")]
434- [Compact]
435- public class AccelMapClass {
436- }
437- [CCode (cheader_filename = "gtk/gtk.h")]
438- public class Accessible : Atk.Object {
439- [CCode (has_construct_function = false)]
440- protected Accessible ();
441- public virtual void connect_widget_destroyed ();
442- public unowned Gtk.Widget get_widget ();
443- public void set_widget (Gtk.Widget widget);
444- [NoWrapper]
445- public virtual void widget_set ();
446- [NoWrapper]
447- public virtual void widget_unset ();
448- public Gtk.Widget widget { get; set; }
449- }
450- [CCode (cheader_filename = "gtk/gtk.h")]
451- public class Action : GLib.Object, Gtk.Buildable {
452- [CCode (has_construct_function = false)]
453- public Action (string name, string? label, string? tooltip, string? stock_id);
454- public void block_activate ();
455- public void connect_accelerator ();
456- [NoWrapper]
457- public virtual void connect_proxy (Gtk.Widget proxy);
458- public unowned Gtk.Widget create_icon (Gtk.IconSize icon_size);
459- public virtual unowned Gtk.Widget create_menu ();
460- public virtual unowned Gtk.Widget create_menu_item ();
461- public virtual unowned Gtk.Widget create_tool_item ();
462- public void disconnect_accelerator ();
463- [NoWrapper]
464- public virtual void disconnect_proxy (Gtk.Widget proxy);
465- public unowned GLib.Closure get_accel_closure ();
466- public unowned string get_accel_path ();
467- public bool get_always_show_image ();
468- public unowned GLib.Icon get_gicon ();
469- public unowned string get_icon_name ();
470- public bool get_is_important ();
471- public unowned string get_label ();
472- public unowned GLib.SList<Gtk.Widget> get_proxies ();
473- public bool get_sensitive ();
474- public unowned string get_short_label ();
475- public unowned string get_stock_id ();
476- public unowned string get_tooltip ();
477- public bool get_visible ();
478- public bool get_visible_horizontal ();
479- public bool get_visible_vertical ();
480- public bool is_sensitive ();
481- public bool is_visible ();
482- public void set_accel_group (Gtk.AccelGroup accel_group);
483- public void set_accel_path (string accel_path);
484- public void set_always_show_image (bool always_show);
485- public void set_gicon (GLib.Icon icon);
486- public void set_icon_name (string icon_name);
487- public void set_is_important (bool is_important);
488- public void set_label (string label);
489- public void set_sensitive (bool sensitive);
490- public void set_short_label (string short_label);
491- public void set_stock_id (string stock_id);
492- public void set_tooltip (string tooltip);
493- public void set_visible (bool visible);
494- public void set_visible_horizontal (bool visible_horizontal);
495- public void set_visible_vertical (bool visible_vertical);
496- public void unblock_activate ();
497- [NoAccessorMethod]
498- public Gtk.ActionGroup action_group { owned get; set; }
499- public bool always_show_image { get; set construct; }
500- public GLib.Icon gicon { get; set; }
501- [NoAccessorMethod]
502- public bool hide_if_empty { get; set; }
503- public string icon_name { get; set; }
504- public bool is_important { get; set; }
505- public string label { get; set; }
506- public string name { get; construct; }
507- public bool sensitive { get; set; }
508- public string short_label { get; set; }
509- public string stock_id { get; set; }
510- public string tooltip { get; set; }
511- public bool visible { get; set; }
512- public bool visible_horizontal { get; set; }
513- [NoAccessorMethod]
514- public bool visible_overflown { get; set; }
515- public bool visible_vertical { get; set; }
516- [HasEmitter]
517- public virtual signal void activate ();
518- }
519- [CCode (cheader_filename = "gtk/gtk.h")]
520- public class ActionGroup : GLib.Object, Gtk.Buildable {
521- [CCode (has_construct_function = false)]
522- public ActionGroup (string name);
523- public void add_action (Gtk.Action action);
524- public void add_action_with_accel (Gtk.Action action, string? accelerator);
525- public void add_actions (Gtk.ActionEntry[] entries, void* user_data);
526- public void add_actions_full (Gtk.ActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
527- public void add_radio_actions (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change);
528- public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, [CCode (type = "GCallback")] Gtk.RadioActionCallback on_change, GLib.DestroyNotify? destroy);
529- public void add_toggle_actions (Gtk.ToggleActionEntry[] entries, void* user_data);
530- public void add_toggle_actions_full (Gtk.ToggleActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
531- public virtual unowned Gtk.Action get_action (string action_name);
532- public bool get_sensitive ();
533- public bool get_visible ();
534- public GLib.List<weak Gtk.Action> list_actions ();
535- public void remove_action (Gtk.Action action);
536- public void set_sensitive (bool sensitive);
537- public void set_translate_func (owned Gtk.TranslateFunc func);
538- public void set_translation_domain (string domain);
539- public void set_visible (bool visible);
540- public unowned string translate_string (string str);
541- public string name { get; construct; }
542- public bool sensitive { get; set; }
543- public bool visible { get; set; }
544- public virtual signal void connect_proxy (Gtk.Action p0, Gtk.Widget p1);
545- public virtual signal void disconnect_proxy (Gtk.Action p0, Gtk.Widget p1);
546- public virtual signal void post_activate (Gtk.Action p0);
547- public virtual signal void pre_activate (Gtk.Action p0);
548- }
549- [CCode (cheader_filename = "gtk/gtk.h")]
550- public class Adjustment : GLib.InitiallyUnowned {
551- [CCode (has_construct_function = false)]
552- public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
553- public void clamp_page (double lower, double upper);
554- public void configure (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
555- public double get_lower ();
556- public double get_minimum_increment ();
557- public double get_page_increment ();
558- public double get_page_size ();
559- public double get_step_increment ();
560- public double get_upper ();
561- public double get_value ();
562- public void set_lower (double lower);
563- public void set_page_increment (double page_increment);
564- public void set_page_size (double page_size);
565- public void set_step_increment (double step_increment);
566- public void set_upper (double upper);
567- public void set_value (double value);
568- public double lower { get; set; }
569- public double page_increment { get; set; }
570- public double page_size { get; set; }
571- public double step_increment { get; set; }
572- public double upper { get; set; }
573- public double value { get; set; }
574- [HasEmitter]
575- public virtual signal void changed ();
576- [HasEmitter]
577- public virtual signal void value_changed ();
578- }
579- [CCode (cheader_filename = "gtk/gtk.h")]
580- public class Alignment : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
581- [CCode (has_construct_function = false, type = "GtkWidget*")]
582- public Alignment (float xalign, float yalign, float xscale, float yscale);
583- public void get_padding (out uint padding_top, out uint padding_bottom, out uint padding_left, out uint padding_right);
584- public void @set (float xalign, float yalign, float xscale, float yscale);
585- public void set_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right);
586- [NoAccessorMethod]
587- public uint bottom_padding { get; set; }
588- [NoAccessorMethod]
589- public uint left_padding { get; set; }
590- [NoAccessorMethod]
591- public uint right_padding { get; set; }
592- [NoAccessorMethod]
593- public uint top_padding { get; set; }
594- [NoAccessorMethod]
595- public float xalign { get; set; }
596- [NoAccessorMethod]
597- public float xscale { get; set; }
598- [NoAccessorMethod]
599- public float yalign { get; set; }
600- [NoAccessorMethod]
601- public float yscale { get; set; }
602- }
603- [CCode (cheader_filename = "gtk/gtk.h")]
604- public class AppChooserButton : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable, Gtk.AppChooser {
605- [CCode (has_construct_function = false, type = "GtkWidget*")]
606- public AppChooserButton (string content_type);
607- public void append_custom_item (string name, string label, GLib.Icon icon);
608- public void append_separator ();
609- public unowned string get_heading ();
610- public bool get_show_default_item ();
611- public bool get_show_dialog_item ();
612- public void set_active_custom_item (string name);
613- public void set_heading (string heading);
614- public void set_show_default_item (bool setting);
615- public void set_show_dialog_item (bool setting);
616- public string heading { get; set; }
617- public bool show_default_item { get; set construct; }
618- public bool show_dialog_item { get; set construct; }
619- public virtual signal void custom_item_activated (string item_name);
620- }
621- [CCode (cheader_filename = "gtk/gtk.h")]
622- public class AppChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.AppChooser {
623- [CCode (has_construct_function = false, type = "GtkWidget*")]
624- public AppChooserDialog (Gtk.Window parent, Gtk.DialogFlags flags, GLib.File file);
625- [CCode (has_construct_function = false, type = "GtkWidget*")]
626- public AppChooserDialog.for_content_type (Gtk.Window parent, Gtk.DialogFlags flags, string content_type);
627- public unowned string get_heading ();
628- public unowned Gtk.Widget get_widget ();
629- public void set_heading (string heading);
630- [NoAccessorMethod]
631- public GLib.File gfile { owned get; construct; }
632- public string heading { get; set; }
633- }
634- [CCode (cheader_filename = "gtk/gtk.h")]
635- public class AppChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.AppChooser {
636- [CCode (has_construct_function = false, type = "GtkWidget*")]
637- public AppChooserWidget (string content_type);
638- public unowned string get_default_text ();
639- public bool get_show_all ();
640- public bool get_show_default ();
641- public bool get_show_fallback ();
642- public bool get_show_other ();
643- public bool get_show_recommended ();
644- public void set_default_text (string text);
645- public void set_show_all (bool setting);
646- public void set_show_default (bool setting);
647- public void set_show_fallback (bool setting);
648- public void set_show_other (bool setting);
649- public void set_show_recommended (bool setting);
650- public string default_text { get; set; }
651- public bool show_all { get; set construct; }
652- public bool show_default { get; set construct; }
653- public bool show_fallback { get; set construct; }
654- public bool show_other { get; set construct; }
655- public bool show_recommended { get; set construct; }
656- public virtual signal void application_activated (GLib.AppInfo app_info);
657- public virtual signal void application_selected (GLib.AppInfo app_info);
658- public virtual signal void populate_popup (Gtk.Menu menu, GLib.AppInfo app_info);
659- }
660- [CCode (cheader_filename = "gtk/gtk.h")]
661- public class Application : GLib.Application, GLib.ActionGroup, GLib.ActionMap {
662- [CCode (has_construct_function = false)]
663- public Application (string application_id, GLib.ApplicationFlags flags);
664- public void add_accelerator (string accelerator, string action_name, GLib.Variant parameter);
665- public void add_window (Gtk.Window window);
666- public unowned GLib.MenuModel get_app_menu ();
667- public unowned GLib.MenuModel get_menubar ();
668- public unowned GLib.List<weak Gtk.Window> get_windows ();
669- public void remove_accelerator (string action_name, GLib.Variant parameter);
670- public void remove_window (Gtk.Window window);
671- public void set_app_menu (GLib.MenuModel model);
672- public void set_menubar (GLib.MenuModel model);
673- public virtual signal void window_added (Gtk.Window window);
674- public virtual signal void window_removed (Gtk.Window window);
675- }
676- [CCode (cheader_filename = "gtk/gtk.h")]
677- public class ApplicationWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable, GLib.ActionGroup, GLib.ActionMap {
678- [CCode (has_construct_function = false, type = "GtkWidget*")]
679- public ApplicationWindow (Gtk.Application application);
680- public bool get_show_menubar ();
681- public void set_show_menubar (bool show_menubar);
682- public bool show_menubar { get; set construct; }
683- }
684- [CCode (cheader_filename = "gtk/gtk.h")]
685- public class Arrow : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
686- [CCode (has_construct_function = false, type = "GtkWidget*")]
687- public Arrow (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
688- public void @set (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type);
689- [NoAccessorMethod]
690- public Gtk.ArrowType arrow_type { get; set; }
691- [NoAccessorMethod]
692- public Gtk.ShadowType shadow_type { get; set; }
693- }
694- [CCode (cheader_filename = "gtk/gtk.h")]
695- public class AspectFrame : Gtk.Frame, Atk.Implementor, Gtk.Buildable {
696- [CCode (has_construct_function = false, type = "GtkWidget*")]
697- public AspectFrame (string label, float xalign, float yalign, float ratio, bool obey_child);
698- public void @set (float xalign, float yalign, float ratio, bool obey_child);
699- [NoAccessorMethod]
700- public bool obey_child { get; set; }
701- [NoAccessorMethod]
702- public float ratio { get; set; }
703- [NoAccessorMethod]
704- public float xalign { get; set; }
705- [NoAccessorMethod]
706- public float yalign { get; set; }
707- }
708- [CCode (cheader_filename = "gtk/gtk.h")]
709- public class Assistant : Gtk.Window, Atk.Implementor, Gtk.Buildable {
710- [CCode (has_construct_function = false, type = "GtkWidget*")]
711- public Assistant ();
712- public void add_action_widget (Gtk.Widget child);
713- public int append_page (Gtk.Widget page);
714- public void commit ();
715- public int get_current_page ();
716- public int get_n_pages ();
717- public unowned Gtk.Widget get_nth_page (int page_num);
718- public bool get_page_complete (Gtk.Widget page);
719- public unowned Gdk.Pixbuf get_page_header_image (Gtk.Widget page);
720- public unowned Gdk.Pixbuf get_page_side_image (Gtk.Widget page);
721- public unowned string get_page_title (Gtk.Widget page);
722- public Gtk.AssistantPageType get_page_type (Gtk.Widget page);
723- public int insert_page (Gtk.Widget page, int position);
724- public void next_page ();
725- public int prepend_page (Gtk.Widget page);
726- public void previous_page ();
727- public void remove_action_widget (Gtk.Widget child);
728- public void remove_page (int page_num);
729- public void set_current_page (int page_num);
730- public void set_forward_page_func (owned Gtk.AssistantPageFunc page_func);
731- public void set_page_complete (Gtk.Widget page, bool complete);
732- public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
733- public void set_page_side_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
734- public void set_page_title (Gtk.Widget page, string title);
735- public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type);
736- public void update_buttons_state ();
737- public virtual signal void apply ();
738- public virtual signal void cancel ();
739- public virtual signal void close ();
740- public virtual signal void prepare (Gtk.Widget page);
741- }
742- [CCode (cheader_filename = "gtk/gtk.h")]
743- public class Bin : Gtk.Container, Atk.Implementor, Gtk.Buildable {
744- [CCode (has_construct_function = false)]
745- protected Bin ();
746- public unowned Gtk.Widget get_child ();
747- }
748- [CCode (cheader_filename = "gtk/gtk.h")]
749- [Compact]
750- public class BindingEntry {
751- public weak Gtk.BindingSet binding_set;
752- public uint destroyed;
753- public weak Gtk.BindingEntry hash_next;
754- public uint in_emission;
755- public uint keyval;
756- public uint marks_unbound;
757- public Gdk.ModifierType modifiers;
758- public weak Gtk.BindingEntry set_next;
759- public weak Gtk.BindingSignal signals;
760- public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args, ...);
761- public static GLib.TokenType add_signal_from_string (Gtk.BindingSet binding_set, string signal_desc);
762- public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList<Gtk.BindingArg?> binding_args);
763- public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
764- public static void skip (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
765- }
766- [CCode (cheader_filename = "gtk/gtk.h")]
767- [Compact]
768- public class BindingSet {
769- public weak Gtk.BindingEntry current;
770- public weak Gtk.BindingEntry entries;
771- public uint parsed;
772- public int priority;
773- public weak string set_name;
774- [CCode (has_construct_function = false)]
775- public BindingSet (string set_name);
776- public bool activate (uint keyval, Gdk.ModifierType modifiers, GLib.Object object);
777- public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority);
778- public static unowned Gtk.BindingSet by_class (void* object_class);
779- public static unowned Gtk.BindingSet find (string set_name);
780- }
781- [CCode (cheader_filename = "gtk/gtk.h")]
782- [Compact]
783- public class BindingSignal {
784- [CCode (array_length_cname = "n_args")]
785- public weak Gtk.BindingArg[] args;
786- public uint n_args;
787- public weak Gtk.BindingSignal next;
788- public weak string signal_name;
789- }
790- [CCode (cheader_filename = "gtk/gtk.h")]
791- public class Box : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
792- [CCode (has_construct_function = false, type = "GtkWidget*")]
793- public Box (Gtk.Orientation orientation, int spacing);
794- public bool get_homogeneous ();
795- public int get_spacing ();
796- public void pack_end (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
797- public void pack_start (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
798- public void query_child_packing (Gtk.Widget child, out bool expand, out bool fill, out uint padding, out Gtk.PackType pack_type);
799- public void reorder_child (Gtk.Widget child, int position);
800- public void set_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type);
801- public void set_homogeneous (bool homogeneous);
802- public void set_spacing (int spacing);
803- public bool homogeneous { get; set; }
804- public int spacing { get; set; }
805- }
806- [CCode (cheader_filename = "gtk/gtk.h")]
807- public class Builder : GLib.Object {
808- [CCode (has_construct_function = false)]
809- public Builder ();
810- public uint add_from_file (string filename) throws GLib.Error;
811- public uint add_from_string (string buffer, size_t length) throws GLib.Error;
812- public uint add_objects_from_file (string filename, [CCode (array_length = false)] string[] object_ids) throws GLib.Error;
813- public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false)] string[] object_ids) throws GLib.Error;
814- public void connect_signals (void* user_data);
815- public void connect_signals_full (Gtk.BuilderConnectFunc func);
816- public static GLib.Quark error_quark ();
817- public unowned GLib.Object get_object (string name);
818- public GLib.SList<weak GLib.Object> get_objects ();
819- public unowned string get_translation_domain ();
820- public virtual GLib.Type get_type_from_name (string type_name);
821- public void set_translation_domain (string domain);
822- public bool value_from_string (GLib.ParamSpec pspec, string str, GLib.Value value) throws GLib.Error;
823- public bool value_from_string_type (GLib.Type type, string str, GLib.Value value) throws GLib.Error;
824- public string translation_domain { get; set; }
825- }
826- [CCode (cheader_filename = "gtk/gtk.h")]
827- public class Button : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
828- [CCode (has_construct_function = false, type = "GtkWidget*")]
829- public Button ();
830- [CCode (has_construct_function = false, type = "GtkWidget*")]
831- public Button.from_stock (string stock_id);
832- public void get_alignment (out float xalign, out float yalign);
833- public unowned Gdk.Window get_event_window ();
834- public bool get_focus_on_click ();
835- public unowned Gtk.Widget get_image ();
836- public Gtk.PositionType get_image_position ();
837- public unowned string get_label ();
838- public Gtk.ReliefStyle get_relief ();
839- public bool get_use_stock ();
840- public bool get_use_underline ();
841- public void set_alignment (float xalign, float yalign);
842- public void set_focus_on_click (bool focus_on_click);
843- public void set_image (Gtk.Widget image);
844- public void set_image_position (Gtk.PositionType position);
845- public void set_label (string label);
846- public void set_relief (Gtk.ReliefStyle newstyle);
847- public void set_use_stock (bool use_stock);
848- public void set_use_underline (bool use_underline);
849- [CCode (has_construct_function = false, type = "GtkWidget*")]
850- public Button.with_label (string label);
851- [CCode (has_construct_function = false, type = "GtkWidget*")]
852- public Button.with_mnemonic (string label);
853- public bool focus_on_click { get; set; }
854- public Gtk.Widget image { get; set; }
855- public Gtk.PositionType image_position { get; set; }
856- public string label { get; set construct; }
857- public Gtk.ReliefStyle relief { get; set; }
858- public bool use_stock { get; set construct; }
859- public bool use_underline { get; set construct; }
860- [NoAccessorMethod]
861- public float xalign { get; set; }
862- [NoAccessorMethod]
863- public float yalign { get; set; }
864- public virtual signal void activate ();
865- [HasEmitter]
866- public virtual signal void clicked ();
867- [HasEmitter]
868- public virtual signal void enter ();
869- [HasEmitter]
870- public virtual signal void leave ();
871- [HasEmitter]
872- public virtual signal void pressed ();
873- [HasEmitter]
874- public virtual signal void released ();
875- }
876- [CCode (cheader_filename = "gtk/gtk.h")]
877- public class ButtonBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
878- [CCode (has_construct_function = false, type = "GtkWidget*")]
879- public ButtonBox (Gtk.Orientation orientation);
880- public bool get_child_non_homogeneous (Gtk.Widget child);
881- public bool get_child_secondary (Gtk.Widget child);
882- public Gtk.ButtonBoxStyle get_layout ();
883- public void set_child_non_homogeneous (Gtk.Widget child, bool non_homogeneous);
884- public void set_child_secondary (Gtk.Widget child, bool is_secondary);
885- public void set_layout (Gtk.ButtonBoxStyle layout_style);
886- [NoAccessorMethod]
887- public Gtk.ButtonBoxStyle layout_style { get; set; }
888- }
889- [CCode (cheader_filename = "gtk/gtk.h")]
890- public class Calendar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
891- [CCode (has_construct_function = false, type = "GtkWidget*")]
892- public Calendar ();
893- public void clear_marks ();
894- public void get_date (out uint year, out uint month, out uint day);
895- public bool get_day_is_marked (uint day);
896- public int get_detail_height_rows ();
897- public int get_detail_width_chars ();
898- public Gtk.CalendarDisplayOptions get_display_options ();
899- public void mark_day (uint day);
900- public void select_day (uint day);
901- public void select_month (uint month, uint year);
902- public void set_detail_func (owned Gtk.CalendarDetailFunc func);
903- public void set_detail_height_rows (int rows);
904- public void set_detail_width_chars (int chars);
905- public void set_display_options (Gtk.CalendarDisplayOptions flags);
906- public void unmark_day (uint day);
907- [NoAccessorMethod]
908- public int day { get; set; }
909- public int detail_height_rows { get; set; }
910- public int detail_width_chars { get; set; }
911- [NoAccessorMethod]
912- public int month { get; set; }
913- [NoAccessorMethod]
914- public bool no_month_change { get; set; }
915- [NoAccessorMethod]
916- public bool show_day_names { get; set; }
917- [NoAccessorMethod]
918- public bool show_details { get; set; }
919- [NoAccessorMethod]
920- public bool show_heading { get; set; }
921- [NoAccessorMethod]
922- public bool show_week_numbers { get; set; }
923- [NoAccessorMethod]
924- public int year { get; set; }
925- public virtual signal void day_selected ();
926- public virtual signal void day_selected_double_click ();
927- public virtual signal void month_changed ();
928- public virtual signal void next_month ();
929- public virtual signal void next_year ();
930- public virtual signal void prev_month ();
931- public virtual signal void prev_year ();
932- }
933- [CCode (cheader_filename = "gtk/gtk.h")]
934- public class CellArea : GLib.InitiallyUnowned, Gtk.CellLayout, Gtk.Buildable {
935- [CCode (has_construct_function = false)]
936- protected CellArea ();
937- public virtual bool activate (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool edit_only);
938- public bool activate_cell (Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
939- public virtual void add (Gtk.CellRenderer renderer);
940- public void add_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
941- public void add_with_properties (Gtk.CellRenderer renderer, ...);
942- public void attribute_connect (Gtk.CellRenderer renderer, string attribute, int column);
943- public void attribute_disconnect (Gtk.CellRenderer renderer, string attribute);
944- public void cell_get (Gtk.CellRenderer renderer, ...);
945- public void cell_get_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
946- public void cell_get_valist (Gtk.CellRenderer renderer, string first_property_name, void* var_args);
947- public void cell_set (Gtk.CellRenderer renderer, ...);
948- public void cell_set_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value);
949- public void cell_set_valist (Gtk.CellRenderer renderer, string first_property_name, void* var_args);
950- public virtual unowned Gtk.CellAreaContext copy_context (Gtk.CellAreaContext context);
951- public virtual unowned Gtk.CellAreaContext create_context ();
952- public virtual int event (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
953- [CCode (cname = "gtk_cell_area_class_find_cell_property")]
954- public class unowned GLib.ParamSpec find_cell_property (string property_name);
955- public virtual bool focus (Gtk.DirectionType direction);
956- public virtual void @foreach (Gtk.CellCallback callback, void* callback_data);
957- public virtual void foreach_alloc (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle background_area, Gtk.CellAllocCallback callback, void* callback_data);
958- public void get_cell_allocation (Gtk.CellAreaContext context, Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle allocation);
959- public unowned Gtk.CellRenderer get_cell_at_position (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, int x, int y, Gdk.Rectangle alloc_area);
960- [NoWrapper]
961- public virtual void get_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
962- public unowned string get_current_path_string ();
963- public unowned Gtk.CellEditable get_edit_widget ();
964- public unowned Gtk.CellRenderer get_edited_cell ();
965- public unowned Gtk.CellRenderer get_focus_cell ();
966- public unowned Gtk.CellRenderer get_focus_from_sibling (Gtk.CellRenderer renderer);
967- public unowned GLib.List get_focus_siblings (Gtk.CellRenderer renderer);
968- public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_height, out int natural_height);
969- public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
970- public virtual void get_preferred_width (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_width, out int natural_width);
971- public virtual void get_preferred_width_for_height (Gtk.CellAreaContext context, Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
972- public virtual Gtk.SizeRequestMode get_request_mode ();
973- public bool has_renderer (Gtk.CellRenderer renderer);
974- public void inner_cell_area (Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle inner_area);
975- [CCode (cname = "gtk_cell_area_class_install_cell_property")]
976- public class void install_cell_property (uint property_id, GLib.ParamSpec pspec);
977- public virtual bool is_activatable ();
978- public bool is_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
979- [CCode (cname = "gtk_cell_area_class_list_cell_properties")]
980- public class unowned GLib.ParamSpec list_cell_properties (uint n_properties);
981- public virtual void remove (Gtk.CellRenderer renderer);
982- public void remove_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling);
983- 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);
984- public void request_renderer (Gtk.CellRenderer renderer, Gtk.Orientation orientation, Gtk.Widget widget, int for_size, int minimum_size, int natural_size);
985- [NoWrapper]
986- public virtual void set_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
987- public void set_focus_cell (Gtk.CellRenderer renderer);
988- public void stop_editing (bool canceled);
989- public Gtk.CellEditable edit_widget { get; }
990- public Gtk.CellRenderer edited_cell { get; }
991- public Gtk.CellRenderer focus_cell { get; set; }
992- public virtual signal void add_editable (Gtk.CellRenderer p0, Gtk.CellEditable p1, Gdk.Rectangle p2, string p3);
993- [HasEmitter]
994- public virtual signal void apply_attributes (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
995- public virtual signal void focus_changed (Gtk.CellRenderer p0, string p1);
996- public virtual signal void remove_editable (Gtk.CellRenderer p0, Gtk.CellEditable p1);
997- }
998- [CCode (cheader_filename = "gtk/gtk.h")]
999- public class CellAreaBox : Gtk.CellArea, Gtk.CellLayout, Gtk.Buildable, Gtk.Orientable {
1000- [CCode (has_construct_function = false, type = "GtkCellArea*")]
1001- public CellAreaBox ();
1002- public int get_spacing ();
1003- public void set_spacing (int spacing);
1004- public int spacing { get; set; }
1005- }
1006- [CCode (cheader_filename = "gtk/gtk.h")]
1007- public class CellAreaContext : GLib.Object {
1008- [CCode (has_construct_function = false)]
1009- protected CellAreaContext ();
1010- public virtual void allocate (int width, int height);
1011- public void get_allocation (int width, int height);
1012- public unowned Gtk.CellArea get_area ();
1013- public void get_preferred_height (out int minimum_height, out int natural_height);
1014- public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
1015- public void get_preferred_width (out int minimum_width, out int natural_width);
1016- public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
1017- public void push_preferred_height (int minimum_height, int natural_height);
1018- public void push_preferred_width (int minimum_width, int natural_width);
1019- public virtual void reset ();
1020- public Gtk.CellArea area { get; construct; }
1021- [NoAccessorMethod]
1022- public int minimum_height { get; }
1023- [NoAccessorMethod]
1024- public int minimum_width { get; }
1025- [NoAccessorMethod]
1026- public int natural_height { get; }
1027- [NoAccessorMethod]
1028- public int natural_width { get; }
1029- }
1030- [CCode (cheader_filename = "gtk/gtk.h")]
1031- public abstract class CellRenderer : GLib.InitiallyUnowned {
1032- [CCode (has_construct_function = false)]
1033- protected CellRenderer ();
1034- public virtual bool activate (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1035- public virtual Gdk.Rectangle get_aligned_area (Gtk.Widget widget, Gtk.CellRendererState flags, Gdk.Rectangle cell_area);
1036- public void get_alignment (out float xalign, out float yalign);
1037- public void get_fixed_size (out int width, out int height);
1038- public void get_padding (out int xpad, out int ypad);
1039- public virtual void get_preferred_height (Gtk.Widget widget, out int minimum_size, out int natural_size);
1040- public virtual void get_preferred_height_for_width (Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
1041- public void get_preferred_size (Gtk.Widget widget, out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
1042- public virtual void get_preferred_width (Gtk.Widget widget, out int minimum_size, out int natural_size);
1043- public virtual void get_preferred_width_for_height (Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
1044- public virtual Gtk.SizeRequestMode get_request_mode ();
1045- public bool get_sensitive ();
1046- 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);
1047- public Gtk.StateFlags get_state (Gtk.Widget widget, Gtk.CellRendererState cell_state);
1048- public bool get_visible ();
1049- public bool is_activatable ();
1050- public abstract void render (Cairo.Context cr, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
1051- public void set_alignment (float xalign, float yalign);
1052- public void set_fixed_size (int width, int height);
1053- public void set_padding (int xpad, int ypad);
1054- public void set_sensitive (bool sensitive);
1055- public void set_visible (bool visible);
1056- 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);
1057- public void stop_editing (bool canceled);
1058- [NoAccessorMethod]
1059- public string cell_background { set; }
1060- [NoAccessorMethod]
1061- public Gdk.Color cell_background_gdk { get; set; }
1062- [NoAccessorMethod]
1063- public Gdk.RGBA cell_background_rgba { get; set; }
1064- [NoAccessorMethod]
1065- public bool cell_background_set { get; set; }
1066- [NoAccessorMethod]
1067- public bool editing { get; }
1068- [NoAccessorMethod]
1069- public int height { get; set; }
1070- [NoAccessorMethod]
1071- public bool is_expanded { get; set; }
1072- [NoAccessorMethod]
1073- public bool is_expander { get; set; }
1074- [NoAccessorMethod]
1075- public Gtk.CellRendererMode mode { get; set; }
1076- public bool sensitive { get; set; }
1077- public bool visible { get; set; }
1078- [NoAccessorMethod]
1079- public int width { get; set; }
1080- [NoAccessorMethod]
1081- public float xalign { get; set; }
1082- [NoAccessorMethod]
1083- public uint xpad { get; set; }
1084- [NoAccessorMethod]
1085- public float yalign { get; set; }
1086- [NoAccessorMethod]
1087- public uint ypad { get; set; }
1088- [HasEmitter]
1089- public virtual signal void editing_canceled ();
1090- public virtual signal void editing_started (Gtk.CellEditable editable, string path);
1091- }
1092- [CCode (cheader_filename = "gtk/gtk.h")]
1093- public class CellRendererAccel : Gtk.CellRendererText {
1094- [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1095- public CellRendererAccel ();
1096- [NoAccessorMethod]
1097- public uint accel_key { get; set; }
1098- [NoAccessorMethod]
1099- public Gtk.CellRendererAccelMode accel_mode { get; set; }
1100- [NoAccessorMethod]
1101- public Gdk.ModifierType accel_mods { get; set; }
1102- [NoAccessorMethod]
1103- public uint keycode { get; set; }
1104- public virtual signal void accel_cleared (string path_string);
1105- public virtual signal void accel_edited (string path_string, uint accel_key, Gdk.ModifierType accel_mods, uint hardware_keycode);
1106- }
1107- [CCode (cheader_filename = "gtk/gtk.h")]
1108- public class CellRendererCombo : Gtk.CellRendererText {
1109- [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1110- public CellRendererCombo ();
1111- [NoAccessorMethod]
1112- public bool has_entry { get; set; }
1113- [NoAccessorMethod]
1114- public Gtk.TreeModel model { owned get; set; }
1115- [NoAccessorMethod]
1116- public int text_column { get; set; }
1117- public virtual signal void changed (string p0, Gtk.TreeIter p1);
1118- }
1119- [CCode (cheader_filename = "gtk/gtk.h")]
1120- public class CellRendererPixbuf : Gtk.CellRenderer {
1121- [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1122- public CellRendererPixbuf ();
1123- [NoAccessorMethod]
1124- public bool follow_state { get; set; }
1125- [NoAccessorMethod]
1126- public GLib.Icon gicon { owned get; set; }
1127- [NoAccessorMethod]
1128- public string icon_name { owned get; set; }
1129- [NoAccessorMethod]
1130- public Gdk.Pixbuf pixbuf { owned get; set; }
1131- [NoAccessorMethod]
1132- public Gdk.Pixbuf pixbuf_expander_closed { owned get; set; }
1133- [NoAccessorMethod]
1134- public Gdk.Pixbuf pixbuf_expander_open { owned get; set; }
1135- [NoAccessorMethod]
1136- public string stock_detail { owned get; set; }
1137- [NoAccessorMethod]
1138- public string stock_id { owned get; set; }
1139- [NoAccessorMethod]
1140- public uint stock_size { get; set; }
1141- }
1142- [CCode (cheader_filename = "gtk/gtk.h")]
1143- public class CellRendererProgress : Gtk.CellRenderer, Gtk.Orientable {
1144- [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1145- public CellRendererProgress ();
1146- [NoAccessorMethod]
1147- public bool inverted { get; set; }
1148- [NoAccessorMethod]
1149- public int pulse { get; set; }
1150- [NoAccessorMethod]
1151- public string text { owned get; set; }
1152- [NoAccessorMethod]
1153- public float text_xalign { get; set; }
1154- [NoAccessorMethod]
1155- public float text_yalign { get; set; }
1156- [NoAccessorMethod]
1157- public int value { get; set; }
1158- }
1159- [CCode (cheader_filename = "gtk/gtk.h")]
1160- public class CellRendererSpin : Gtk.CellRendererText {
1161- [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1162- public CellRendererSpin ();
1163- [NoAccessorMethod]
1164- public Gtk.Adjustment adjustment { owned get; set; }
1165- [NoAccessorMethod]
1166- public double climb_rate { get; set; }
1167- [NoAccessorMethod]
1168- public uint digits { get; set; }
1169- }
1170- [CCode (cheader_filename = "gtk/gtk.h")]
1171- public class CellRendererSpinner : Gtk.CellRenderer {
1172- [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1173- public CellRendererSpinner ();
1174- [NoAccessorMethod]
1175- public bool active { get; set; }
1176- [NoAccessorMethod]
1177- public uint pulse { get; set; }
1178- [NoAccessorMethod]
1179- public Gtk.IconSize size { get; set; }
1180- }
1181- [CCode (cheader_filename = "gtk/gtk.h")]
1182- public class CellRendererText : Gtk.CellRenderer {
1183- [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1184- public CellRendererText ();
1185- public void set_fixed_height_from_font (int number_of_rows);
1186- [NoAccessorMethod]
1187- public bool align_set { get; set; }
1188- [NoAccessorMethod]
1189- public Pango.Alignment alignment { get; set; }
1190- [NoAccessorMethod]
1191- public Pango.AttrList attributes { owned get; set; }
1192- [NoAccessorMethod]
1193- public string background { set; }
1194- [NoAccessorMethod]
1195- public Gdk.Color background_gdk { get; set; }
1196- [NoAccessorMethod]
1197- public Gdk.RGBA background_rgba { get; set; }
1198- [NoAccessorMethod]
1199- public bool background_set { get; set; }
1200- [NoAccessorMethod]
1201- public bool editable { get; set; }
1202- [NoAccessorMethod]
1203- public bool editable_set { get; set; }
1204- [NoAccessorMethod]
1205- public Pango.EllipsizeMode ellipsize { get; set; }
1206- [NoAccessorMethod]
1207- public bool ellipsize_set { get; set; }
1208- [NoAccessorMethod]
1209- public string family { owned get; set; }
1210- [NoAccessorMethod]
1211- public bool family_set { get; set; }
1212- [NoAccessorMethod]
1213- public string font { owned get; set; }
1214- [NoAccessorMethod]
1215- public Pango.FontDescription font_desc { owned get; set; }
1216- [NoAccessorMethod]
1217- public string foreground { set; }
1218- [NoAccessorMethod]
1219- public Gdk.Color foreground_gdk { get; set; }
1220- [NoAccessorMethod]
1221- public Gdk.RGBA foreground_rgba { get; set; }
1222- [NoAccessorMethod]
1223- public bool foreground_set { get; set; }
1224- [NoAccessorMethod]
1225- public string language { owned get; set; }
1226- [NoAccessorMethod]
1227- public bool language_set { get; set; }
1228- [NoAccessorMethod]
1229- public string markup { set; }
1230- [NoAccessorMethod]
1231- public int max_width_chars { get; set; }
1232- [NoAccessorMethod]
1233- public int rise { get; set; }
1234- [NoAccessorMethod]
1235- public bool rise_set { get; set; }
1236- [NoAccessorMethod]
1237- public double scale { get; set; }
1238- [NoAccessorMethod]
1239- public bool scale_set { get; set; }
1240- [NoAccessorMethod]
1241- public bool single_paragraph_mode { get; set; }
1242- [NoAccessorMethod]
1243- public int size { get; set; }
1244- [NoAccessorMethod]
1245- public double size_points { get; set; }
1246- [NoAccessorMethod]
1247- public bool size_set { get; set; }
1248- [NoAccessorMethod]
1249- public Pango.Stretch stretch { get; set; }
1250- [NoAccessorMethod]
1251- public bool stretch_set { get; set; }
1252- [NoAccessorMethod]
1253- public bool strikethrough { get; set; }
1254- [NoAccessorMethod]
1255- public bool strikethrough_set { get; set; }
1256- [NoAccessorMethod]
1257- public Pango.Style style { get; set; }
1258- [NoAccessorMethod]
1259- public bool style_set { get; set; }
1260- [NoAccessorMethod]
1261- public string text { owned get; set; }
1262- [NoAccessorMethod]
1263- public Pango.Underline underline { get; set; }
1264- [NoAccessorMethod]
1265- public bool underline_set { get; set; }
1266- [NoAccessorMethod]
1267- public Pango.Variant variant { get; set; }
1268- [NoAccessorMethod]
1269- public bool variant_set { get; set; }
1270- [NoAccessorMethod]
1271- public int weight { get; set; }
1272- [NoAccessorMethod]
1273- public bool weight_set { get; set; }
1274- [NoAccessorMethod]
1275- public int width_chars { get; set; }
1276- [NoAccessorMethod]
1277- public Pango.WrapMode wrap_mode { get; set; }
1278- [NoAccessorMethod]
1279- public int wrap_width { get; set; }
1280- public virtual signal void edited (string path, string new_text);
1281- }
1282- [CCode (cheader_filename = "gtk/gtk.h")]
1283- public class CellRendererToggle : Gtk.CellRenderer {
1284- [CCode (has_construct_function = false, type = "GtkCellRenderer*")]
1285- public CellRendererToggle ();
1286- public bool get_activatable ();
1287- public bool get_active ();
1288- public bool get_radio ();
1289- public void set_activatable (bool setting);
1290- public void set_active (bool setting);
1291- public void set_radio (bool radio);
1292- public bool activatable { get; set; }
1293- public bool active { get; set; }
1294- [NoAccessorMethod]
1295- public bool inconsistent { get; set; }
1296- [NoAccessorMethod]
1297- public int indicator_size { get; set; }
1298- public bool radio { get; set; }
1299- public virtual signal void toggled (string path);
1300- }
1301- [CCode (cheader_filename = "gtk/gtk.h")]
1302- public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable {
1303- [CCode (has_construct_function = false, type = "GtkWidget*")]
1304- public CellView ();
1305- public unowned Gtk.TreePath get_displayed_row ();
1306- public bool get_draw_sensitive ();
1307- public bool get_fit_model ();
1308- public unowned Gtk.TreeModel get_model ();
1309- public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition);
1310- public void set_background_color (Gdk.Color color);
1311- public void set_background_rgba (Gdk.RGBA rgba);
1312- public void set_displayed_row (Gtk.TreePath path);
1313- public void set_draw_sensitive (bool draw_sensitive);
1314- public void set_fit_model (bool fit_model);
1315- public void set_model (Gtk.TreeModel? model);
1316- [CCode (has_construct_function = false, type = "GtkWidget*")]
1317- public CellView.with_context (Gtk.CellArea area, Gtk.CellAreaContext context);
1318- [CCode (has_construct_function = false, type = "GtkWidget*")]
1319- public CellView.with_markup (string markup);
1320- [CCode (has_construct_function = false, type = "GtkWidget*")]
1321- public CellView.with_pixbuf (Gdk.Pixbuf pixbuf);
1322- [CCode (has_construct_function = false, type = "GtkWidget*")]
1323- public CellView.with_text (string text);
1324- [NoAccessorMethod]
1325- public string background { set; }
1326- [NoAccessorMethod]
1327- public Gdk.Color background_gdk { get; set; }
1328- [NoAccessorMethod]
1329- public Gdk.RGBA background_rgba { get; set; }
1330- [NoAccessorMethod]
1331- public bool background_set { get; set; }
1332- [NoAccessorMethod]
1333- public Gtk.CellArea cell_area { owned get; construct; }
1334- [NoAccessorMethod]
1335- public Gtk.CellAreaContext cell_area_context { owned get; construct; }
1336- public bool draw_sensitive { get; set; }
1337- public bool fit_model { get; set; }
1338- public Gtk.TreeModel model { get; set; }
1339- }
1340- [CCode (cheader_filename = "gtk/gtk.h")]
1341- public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1342- [CCode (has_construct_function = false, type = "GtkWidget*")]
1343- public CheckButton ();
1344- [NoWrapper]
1345- public virtual void draw_indicator (Cairo.Context cr);
1346- [CCode (has_construct_function = false, type = "GtkWidget*")]
1347- public CheckButton.with_label (string label);
1348- [CCode (has_construct_function = false, type = "GtkWidget*")]
1349- public CheckButton.with_mnemonic (string label);
1350- }
1351- [CCode (cheader_filename = "gtk/gtk.h")]
1352- public class CheckMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1353- [CCode (has_construct_function = false, type = "GtkWidget*")]
1354- public CheckMenuItem ();
1355- [NoWrapper]
1356- public virtual void draw_indicator (Cairo.Context cr);
1357- public bool get_active ();
1358- public bool get_draw_as_radio ();
1359- public bool get_inconsistent ();
1360- public void set_active (bool is_active);
1361- public void set_draw_as_radio (bool draw_as_radio);
1362- public void set_inconsistent (bool setting);
1363- [CCode (has_construct_function = false, type = "GtkWidget*")]
1364- public CheckMenuItem.with_label (string label);
1365- [CCode (has_construct_function = false, type = "GtkWidget*")]
1366- public CheckMenuItem.with_mnemonic (string label);
1367- public bool active { get; set; }
1368- public bool draw_as_radio { get; set; }
1369- public bool inconsistent { get; set; }
1370- [HasEmitter]
1371- public virtual signal void toggled ();
1372- }
1373- [CCode (cheader_filename = "gtk/gtk.h")]
1374- public class Clipboard : GLib.Object {
1375- [CCode (has_construct_function = false)]
1376- protected Clipboard ();
1377- public void clear ();
1378- public static unowned Gtk.Clipboard @get (Gdk.Atom selection);
1379- public unowned Gdk.Display get_display ();
1380- public static unowned Gtk.Clipboard get_for_display (Gdk.Display display, Gdk.Atom selection);
1381- public unowned GLib.Object get_owner ();
1382- public void request_contents (Gdk.Atom target, Gtk.ClipboardReceivedFunc callback);
1383- public void request_image (Gtk.ClipboardImageReceivedFunc callback);
1384- public void request_rich_text (Gtk.TextBuffer buffer, Gtk.ClipboardRichTextReceivedFunc callback);
1385- public void request_targets (Gtk.ClipboardTargetsReceivedFunc callback);
1386- public void request_text (Gtk.ClipboardTextReceivedFunc callback);
1387- public void request_uris (Gtk.ClipboardURIReceivedFunc callback);
1388- public void set_can_store (Gtk.TargetEntry[] targets);
1389- public void set_image (Gdk.Pixbuf pixbuf);
1390- public void set_text (string text, int len);
1391- public bool set_with_data (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func);
1392- public bool set_with_owner (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func, GLib.Object owner);
1393- public void store ();
1394- public Gtk.SelectionData? wait_for_contents (Gdk.Atom target);
1395- public Gdk.Pixbuf? wait_for_image ();
1396- [CCode (array_length_type = "gsize")]
1397- public uint8[]? wait_for_rich_text (Gtk.TextBuffer buffer, out Gdk.Atom format);
1398- public bool wait_for_targets (out Gdk.Atom[] targets);
1399- public string? wait_for_text ();
1400- [CCode (array_length = false, array_null_terminated = true)]
1401- public string[]? wait_for_uris ();
1402- public bool wait_is_image_available ();
1403- public bool wait_is_rich_text_available (Gtk.TextBuffer buffer);
1404- public bool wait_is_target_available (Gdk.Atom target);
1405- public bool wait_is_text_available ();
1406- public bool wait_is_uris_available ();
1407- public virtual signal void owner_change (Gdk.Event p0);
1408- }
1409- [CCode (cheader_filename = "gtk/gtk.h")]
1410- public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
1411- [CCode (has_construct_function = false, type = "GtkWidget*")]
1412- public ColorButton ();
1413- public uint16 get_alpha ();
1414- public void get_color (out Gdk.Color color);
1415- public void get_rgba (Gdk.RGBA rgba);
1416- public unowned string get_title ();
1417- public bool get_use_alpha ();
1418- public void set_alpha (uint16 alpha);
1419- public void set_color (Gdk.Color color);
1420- public void set_rgba (Gdk.RGBA rgba);
1421- public void set_title (string title);
1422- public void set_use_alpha (bool use_alpha);
1423- [CCode (has_construct_function = false, type = "GtkWidget*")]
1424- public ColorButton.with_color (Gdk.Color color);
1425- [CCode (has_construct_function = false, type = "GtkWidget*")]
1426- public ColorButton.with_rgba (Gdk.RGBA rgba);
1427- public uint alpha { get; set; }
1428- public Gdk.Color color { get; set; }
1429- public Gdk.RGBA rgba { get; set; }
1430- public string title { get; set; }
1431- public bool use_alpha { get; set; }
1432- public virtual signal void color_set ();
1433- }
1434- [CCode (cheader_filename = "gtk/gtk.h")]
1435- public class ColorSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
1436- [CCode (has_construct_function = false, type = "GtkWidget*")]
1437- public ColorSelection ();
1438- public uint16 get_current_alpha ();
1439- public void get_current_color (out Gdk.Color color);
1440- public void get_current_rgba (Gdk.RGBA rgba);
1441- public bool get_has_opacity_control ();
1442- public bool get_has_palette ();
1443- public uint16 get_previous_alpha ();
1444- public void get_previous_color (out Gdk.Color color);
1445- public void get_previous_rgba (Gdk.RGBA rgba);
1446- public bool is_adjusting ();
1447- public static bool palette_from_string (string str, Gdk.Color[] colors);
1448- public static unowned string palette_to_string (Gdk.Color[] colors);
1449- public static unowned Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func);
1450- public void set_current_alpha (uint16 alpha);
1451- public void set_current_color (Gdk.Color color);
1452- public void set_current_rgba (Gdk.RGBA rgba);
1453- public void set_has_opacity_control (bool has_opacity);
1454- public void set_has_palette (bool has_palette);
1455- public void set_previous_alpha (uint16 alpha);
1456- public void set_previous_color (Gdk.Color color);
1457- public void set_previous_rgba (Gdk.RGBA rgba);
1458- public uint current_alpha { get; set; }
1459- public Gdk.Color current_color { get; set; }
1460- public Gdk.RGBA current_rgba { get; set; }
1461- public bool has_opacity_control { get; set; }
1462- public bool has_palette { get; set; }
1463- public virtual signal void color_changed ();
1464- }
1465- [CCode (cheader_filename = "gtk/gtk.h")]
1466- public class ColorSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
1467- [CCode (has_construct_function = false, type = "GtkWidget*")]
1468- public ColorSelectionDialog (string title);
1469- public unowned Gtk.Widget get_color_selection ();
1470- [NoAccessorMethod]
1471- public Gtk.Widget cancel_button { owned get; }
1472- public Gtk.Widget color_selection { get; }
1473- [NoAccessorMethod]
1474- public Gtk.Widget help_button { owned get; }
1475- [NoAccessorMethod]
1476- public Gtk.Widget ok_button { owned get; }
1477- }
1478- [CCode (cheader_filename = "gtk/gtk.h")]
1479- public class ComboBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable {
1480- [CCode (has_construct_function = false, type = "GtkWidget*")]
1481- public ComboBox ();
1482- public int get_active ();
1483- public unowned string get_active_id ();
1484- public bool get_active_iter (out Gtk.TreeIter iter);
1485- public bool get_add_tearoffs ();
1486- public Gtk.SensitivityType get_button_sensitivity ();
1487- public int get_column_span_column ();
1488- public int get_entry_text_column ();
1489- public bool get_focus_on_click ();
1490- public bool get_has_entry ();
1491- public int get_id_column ();
1492- public unowned Gtk.TreeModel get_model ();
1493- public unowned Atk.Object get_popup_accessible ();
1494- public bool get_popup_fixed_width ();
1495- public unowned Gtk.TreeViewRowSeparatorFunc get_row_separator_func ();
1496- public int get_row_span_column ();
1497- public unowned string get_title ();
1498- public int get_wrap_width ();
1499- public void popup_for_device (Gdk.Device device);
1500- public void set_active (int index_);
1501- public bool set_active_id (string active_id);
1502- public void set_active_iter (Gtk.TreeIter iter);
1503- public void set_add_tearoffs (bool add_tearoffs);
1504- public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
1505- public void set_column_span_column (int column_span);
1506- public void set_entry_text_column (int text_column);
1507- public void set_focus_on_click (bool focus_on_click);
1508- public void set_id_column (int id_column);
1509- public void set_model (Gtk.TreeModel? model);
1510- public void set_popup_fixed_width (bool fixed);
1511- public void set_row_separator_func (owned Gtk.TreeViewRowSeparatorFunc func);
1512- public void set_row_span_column (int row_span);
1513- public void set_title (string title);
1514- public void set_wrap_width (int width);
1515- [CCode (has_construct_function = false, type = "GtkWidget*")]
1516- public ComboBox.with_area (Gtk.CellArea area);
1517- [CCode (has_construct_function = false, type = "GtkWidget*")]
1518- public ComboBox.with_area_and_entry (Gtk.CellArea area);
1519- [CCode (has_construct_function = false, type = "GtkWidget*")]
1520- public ComboBox.with_entry ();
1521- [CCode (has_construct_function = false, type = "GtkWidget*")]
1522- public ComboBox.with_model (Gtk.TreeModel model);
1523- [CCode (has_construct_function = false, type = "GtkWidget*")]
1524- public ComboBox.with_model_and_entry (Gtk.TreeModel model);
1525- public int active { get; set; }
1526- public string active_id { get; set; }
1527- public bool add_tearoffs { get; set; }
1528- public Gtk.SensitivityType button_sensitivity { get; set; }
1529- [NoAccessorMethod]
1530- public Gtk.CellArea cell_area { owned get; construct; }
1531- public int column_span_column { get; set; }
1532- public int entry_text_column { get; set; }
1533- public bool focus_on_click { get; set; }
1534- public bool has_entry { get; construct; }
1535- [NoAccessorMethod]
1536- public bool has_frame { get; set; }
1537- public int id_column { get; set; }
1538- public Gtk.TreeModel model { get; set; }
1539- public bool popup_fixed_width { get; set; }
1540- [NoAccessorMethod]
1541- public bool popup_shown { get; }
1542- public int row_span_column { get; set; }
1543- [NoAccessorMethod]
1544- public string tearoff_title { owned get; set; }
1545- public int wrap_width { get; set; }
1546- public virtual signal void changed ();
1547- public virtual signal unowned string format_entry_text (string path);
1548- public virtual signal void move_active (Gtk.ScrollType p0);
1549- [HasEmitter]
1550- public virtual signal bool popdown ();
1551- [HasEmitter]
1552- public virtual signal void popup ();
1553- }
1554- [CCode (cheader_filename = "gtk/gtk.h")]
1555- public class ComboBoxText : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.CellEditable {
1556- [CCode (has_construct_function = false, type = "GtkWidget*")]
1557- public ComboBoxText ();
1558- public void append (string id, string text);
1559- public void append_text (string text);
1560- public unowned string get_active_text ();
1561- public void insert (int position, string id, string text);
1562- public void insert_text (int position, string text);
1563- public void prepend (string id, string text);
1564- public void prepend_text (string text);
1565- public void remove (int position);
1566- public void remove_all ();
1567- [CCode (has_construct_function = false, type = "GtkWidget*")]
1568- public ComboBoxText.with_entry ();
1569- }
1570- [CCode (cheader_filename = "gtk/gtk.h")]
1571- public class Container : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1572- [CCode (has_construct_function = false)]
1573- protected Container ();
1574- public void add_with_properties (Gtk.Widget widget, ...);
1575- public void child_get (Gtk.Widget child, ...);
1576- public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value);
1577- public void child_get_valist (Gtk.Widget child, string first_property_name, void* var_args);
1578- public void child_notify (Gtk.Widget child, string child_property);
1579- public void child_set (Gtk.Widget child, ...);
1580- public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value);
1581- public void child_set_valist (Gtk.Widget child, string first_property_name, void* var_args);
1582- public virtual GLib.Type child_type ();
1583- public static unowned GLib.ParamSpec class_find_child_property (GLib.ObjectClass cclass, string property_name);
1584- public static unowned GLib.ParamSpec class_list_child_properties (GLib.ObjectClass cclass, uint n_properties);
1585- [NoWrapper]
1586- public virtual unowned string composite_name (Gtk.Widget child);
1587- public virtual void forall (Gtk.Callback callback);
1588- [CCode (vfunc_name = "forall")]
1589- public virtual void forall_internal (bool include_internal, Gtk.Callback callback);
1590- public void @foreach (Gtk.Callback callback);
1591- public uint get_border_width ();
1592- [NoWrapper]
1593- public virtual void get_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1594- public GLib.List<weak Gtk.Widget> get_children ();
1595- public bool get_focus_chain (out GLib.List<Gtk.Widget> focusable_widgets);
1596- public unowned Gtk.Widget get_focus_child ();
1597- public unowned Gtk.Adjustment get_focus_hadjustment ();
1598- public unowned Gtk.Adjustment get_focus_vadjustment ();
1599- public virtual unowned Gtk.WidgetPath get_path_for_child (Gtk.Widget child);
1600- public Gtk.ResizeMode get_resize_mode ();
1601- [CCode (cname = "gtk_container_class_handle_border_width")]
1602- public class void handle_border_width ();
1603- [CCode (cname = "gtk_container_class_install_child_property")]
1604- public class void install_child_property (uint property_id, GLib.ParamSpec pspec);
1605- public void propagate_draw (Gtk.Widget child, Cairo.Context cr);
1606- public void resize_children ();
1607- public void set_border_width (uint border_width);
1608- [NoWrapper]
1609- public virtual void set_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
1610- public void set_focus_chain (GLib.List<Gtk.Widget> focusable_widgets);
1611- public void set_focus_hadjustment (Gtk.Adjustment adjustment);
1612- public void set_focus_vadjustment (Gtk.Adjustment adjustment);
1613- public void set_reallocate_redraws (bool needs_redraws);
1614- public void set_resize_mode (Gtk.ResizeMode resize_mode);
1615- public void unset_focus_chain ();
1616- public uint border_width { get; set; }
1617- [NoAccessorMethod]
1618- public Gtk.Widget child { set; }
1619- public Gtk.ResizeMode resize_mode { get; set; }
1620- [HasEmitter]
1621- public virtual signal void add (Gtk.Widget widget);
1622- [HasEmitter]
1623- public virtual signal void check_resize ();
1624- [HasEmitter]
1625- public virtual signal void remove (Gtk.Widget widget);
1626- [HasEmitter]
1627- public virtual signal void set_focus_child (Gtk.Widget? child);
1628- }
1629- [CCode (cheader_filename = "gtk/gtk.h")]
1630- public class CssProvider : GLib.Object, Gtk.StyleProvider {
1631- [CCode (has_construct_function = false)]
1632- public CssProvider ();
1633- public static GLib.Quark error_quark ();
1634- public static unowned Gtk.CssProvider get_default ();
1635- public static unowned Gtk.CssProvider get_named (string name, string variant);
1636- public bool load_from_data (string data, ssize_t length) throws GLib.Error;
1637- public bool load_from_file (GLib.File file) throws GLib.Error;
1638- public bool load_from_path (string path) throws GLib.Error;
1639- public unowned string to_string ();
1640- public virtual signal void parsing_error (Gtk.CssSection section, GLib.Error error);
1641- }
1642- [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")]
1643- [Compact]
1644- public class CssSection {
1645- public uint get_end_line ();
1646- public uint get_end_position ();
1647- public unowned GLib.File get_file ();
1648- public unowned Gtk.CssSection get_parent ();
1649- public Gtk.CssSectionType get_section_type ();
1650- public uint get_start_line ();
1651- public uint get_start_position ();
1652- }
1653- [CCode (cheader_filename = "gtk/gtk.h")]
1654- public class Dialog : Gtk.Window, Atk.Implementor, Gtk.Buildable {
1655- [CCode (has_construct_function = false, type = "GtkWidget*")]
1656- public Dialog ();
1657- public void add_action_widget (Gtk.Widget child, int response_id);
1658- public unowned Gtk.Widget add_button (string button_text, int response_id);
1659- public void add_buttons (...);
1660- public unowned Gtk.Widget get_action_area ();
1661- [CCode (type = "GtkWidget*")]
1662- public unowned Gtk.Box get_content_area ();
1663- public int get_response_for_widget (Gtk.Widget widget);
1664- public unowned Gtk.Widget get_widget_for_response (int response_id);
1665- public int run ();
1666- [CCode (sentinel = "-1")]
1667- public void set_alternative_button_order (...);
1668- public void set_alternative_button_order_from_array (int n_params, int new_order);
1669- public void set_default_response (int response_id);
1670- public void set_response_sensitive (int response_id, bool setting);
1671- [CCode (has_construct_function = false, type = "GtkWidget*")]
1672- public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...);
1673- public virtual signal void close ();
1674- [HasEmitter]
1675- public virtual signal void response (int response_id);
1676- }
1677- [CCode (cheader_filename = "gtk/gtk.h")]
1678- public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
1679- public void* dummy;
1680- [CCode (has_construct_function = false, type = "GtkWidget*")]
1681- public DrawingArea ();
1682- }
1683- [CCode (cheader_filename = "gtk/gtk.h")]
1684- public class Entry : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable {
1685- [CCode (has_construct_function = false, type = "GtkWidget*")]
1686- public Entry ();
1687- public bool get_activates_default ();
1688- public float get_alignment ();
1689- public unowned Gtk.EntryBuffer get_buffer ();
1690- public unowned Gtk.EntryCompletion get_completion ();
1691- public int get_current_icon_drag_source ();
1692- public unowned Gtk.Adjustment get_cursor_hadjustment ();
1693- public bool get_has_frame ();
1694- public bool get_icon_activatable (Gtk.EntryIconPosition icon_pos);
1695- public void get_icon_area (Gtk.EntryIconPosition icon_pos, Gdk.Rectangle icon_area);
1696- public int get_icon_at_pos (int x, int y);
1697- public unowned GLib.Icon get_icon_gicon (Gtk.EntryIconPosition icon_pos);
1698- public unowned string get_icon_name (Gtk.EntryIconPosition icon_pos);
1699- public unowned Gdk.Pixbuf get_icon_pixbuf (Gtk.EntryIconPosition icon_pos);
1700- public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos);
1701- public unowned string get_icon_stock (Gtk.EntryIconPosition icon_pos);
1702- public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos);
1703- public unowned string get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos);
1704- public unowned string get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos);
1705- public unowned Gtk.Border? get_inner_border ();
1706- public unichar get_invisible_char ();
1707- public unowned Pango.Layout get_layout ();
1708- public void get_layout_offsets (out int x, out int y);
1709- public int get_max_length ();
1710- public bool get_overwrite_mode ();
1711- public unowned string get_placeholder_text ();
1712- public double get_progress_fraction ();
1713- public double get_progress_pulse_step ();
1714- public unowned string get_text ();
1715- public void get_text_area (Gdk.Rectangle text_area);
1716- [NoWrapper]
1717- public virtual void get_text_area_size (int x, int y, int width, int height);
1718- public uint16 get_text_length ();
1719- public bool get_visibility ();
1720- public int get_width_chars ();
1721- public bool im_context_filter_keypress (Gdk.EventKey event);
1722- public int layout_index_to_text_index (int layout_index);
1723- public void progress_pulse ();
1724- public void reset_im_context ();
1725- public void set_activates_default (bool setting);
1726- public void set_alignment (float xalign);
1727- public void set_buffer (Gtk.EntryBuffer buffer);
1728- public void set_completion (Gtk.EntryCompletion completion);
1729- public void set_cursor_hadjustment (Gtk.Adjustment adjustment);
1730- public void set_has_frame (bool setting);
1731- public void set_icon_activatable (Gtk.EntryIconPosition icon_pos, bool activatable);
1732- public void set_icon_drag_source (Gtk.EntryIconPosition icon_pos, Gtk.TargetList target_list, Gdk.DragAction actions);
1733- public void set_icon_from_gicon (Gtk.EntryIconPosition icon_pos, GLib.Icon? icon);
1734- public void set_icon_from_icon_name (Gtk.EntryIconPosition icon_pos, string? icon_name);
1735- public void set_icon_from_pixbuf (Gtk.EntryIconPosition icon_pos, Gdk.Pixbuf? pixbuf);
1736- public void set_icon_from_stock (Gtk.EntryIconPosition icon_pos, string? stock_id);
1737- public void set_icon_sensitive (Gtk.EntryIconPosition icon_pos, bool sensitive);
1738- public void set_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos, string? tooltip);
1739- public void set_icon_tooltip_text (Gtk.EntryIconPosition icon_pos, string? tooltip);
1740- public void set_inner_border (Gtk.Border border);
1741- public void set_invisible_char (unichar ch);
1742- public void set_max_length (int max);
1743- public void set_overwrite_mode (bool overwrite);
1744- public void set_placeholder_text (string text);
1745- public void set_progress_fraction (double fraction);
1746- public void set_progress_pulse_step (double fraction);
1747- public void set_text (string text);
1748- public void set_visibility (bool visible);
1749- public void set_width_chars (int n_chars);
1750- public int text_index_to_layout_index (int text_index);
1751- public void unset_invisible_char ();
1752- [CCode (has_construct_function = false, type = "GtkWidget*")]
1753- public Entry.with_buffer (Gtk.EntryBuffer buffer);
1754- public bool activates_default { get; set; }
1755- public Gtk.EntryBuffer buffer { get; set construct; }
1756- [NoAccessorMethod]
1757- public bool caps_lock_warning { get; set; }
1758- public Gtk.EntryCompletion completion { get; set; }
1759- [NoAccessorMethod]
1760- public int cursor_position { get; }
1761- [NoAccessorMethod]
1762- public bool editable { get; set; }
1763- public bool has_frame { get; set; }
1764- [NoAccessorMethod]
1765- public string im_module { owned get; set; }
1766- public Gtk.Border inner_border { get; set; }
1767- public uint invisible_char { get; set; }
1768- [NoAccessorMethod]
1769- public bool invisible_char_set { get; set; }
1770- public int max_length { get; set; }
1771- public bool overwrite_mode { get; set; }
1772- public string placeholder_text { get; set; }
1773- [NoAccessorMethod]
1774- public bool primary_icon_activatable { get; set; }
1775- [NoAccessorMethod]
1776- public GLib.Icon primary_icon_gicon { owned get; set; }
1777- [NoAccessorMethod]
1778- public string primary_icon_name { owned get; set; }
1779- [NoAccessorMethod]
1780- public Gdk.Pixbuf primary_icon_pixbuf { owned get; set; }
1781- [NoAccessorMethod]
1782- public bool primary_icon_sensitive { get; set; }
1783- [NoAccessorMethod]
1784- public string primary_icon_stock { owned get; set; }
1785- [NoAccessorMethod]
1786- public Gtk.ImageType primary_icon_storage_type { get; }
1787- [NoAccessorMethod]
1788- public string primary_icon_tooltip_markup { owned get; set; }
1789- [NoAccessorMethod]
1790- public string primary_icon_tooltip_text { owned get; set; }
1791- public double progress_fraction { get; set; }
1792- public double progress_pulse_step { get; set; }
1793- [NoAccessorMethod]
1794- public int scroll_offset { get; }
1795- [NoAccessorMethod]
1796- public bool secondary_icon_activatable { get; set; }
1797- [NoAccessorMethod]
1798- public GLib.Icon secondary_icon_gicon { owned get; set; }
1799- [NoAccessorMethod]
1800- public string secondary_icon_name { owned get; set; }
1801- [NoAccessorMethod]
1802- public Gdk.Pixbuf secondary_icon_pixbuf { owned get; set; }
1803- [NoAccessorMethod]
1804- public bool secondary_icon_sensitive { get; set; }
1805- [NoAccessorMethod]
1806- public string secondary_icon_stock { owned get; set; }
1807- [NoAccessorMethod]
1808- public Gtk.ImageType secondary_icon_storage_type { get; }
1809- [NoAccessorMethod]
1810- public string secondary_icon_tooltip_markup { owned get; set; }
1811- [NoAccessorMethod]
1812- public string secondary_icon_tooltip_text { owned get; set; }
1813- [NoAccessorMethod]
1814- public int selection_bound { get; }
1815- [NoAccessorMethod]
1816- public Gtk.ShadowType shadow_type { get; set; }
1817- public string text { get; set; }
1818- public uint text_length { get; }
1819- [NoAccessorMethod]
1820- public bool truncate_multiline { get; set; }
1821- public bool visibility { get; set; }
1822- public int width_chars { get; set; }
1823- [NoAccessorMethod]
1824- public float xalign { get; set; }
1825- public virtual signal void activate ();
1826- public virtual signal void backspace ();
1827- public virtual signal void copy_clipboard ();
1828- public virtual signal void cut_clipboard ();
1829- public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
1830- public virtual signal void icon_press (Gtk.EntryIconPosition p0, Gdk.Event p1);
1831- public virtual signal void icon_release (Gtk.EntryIconPosition p0, Gdk.Event p1);
1832- public virtual signal void insert_at_cursor (string str);
1833- public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
1834- public virtual signal void paste_clipboard ();
1835- public virtual signal void populate_popup (Gtk.Menu menu);
1836- public virtual signal void preedit_changed (string p0);
1837- public virtual signal void toggle_overwrite ();
1838- }
1839- [CCode (cheader_filename = "gtk/gtk.h")]
1840- public class EntryBuffer : GLib.Object {
1841- [CCode (has_construct_function = false)]
1842- public EntryBuffer (uint8[] initial_chars);
1843- public virtual uint delete_text (uint position, int n_chars);
1844- public void emit_deleted_text (uint position, uint n_chars);
1845- public void emit_inserted_text (uint position, uint8[] chars);
1846- public size_t get_bytes ();
1847- public virtual uint get_length ();
1848- public int get_max_length ();
1849- public virtual unowned string get_text ();
1850- public virtual uint insert_text (uint position, uint8[] chars);
1851- public void set_max_length (int max_length);
1852- public void set_text (uint8[] chars);
1853- public uint length { get; }
1854- public int max_length { get; set; }
1855- public string text { get; set; }
1856- public virtual signal void deleted_text (uint position, uint n_chars);
1857- public virtual signal void inserted_text (uint position, string chars, uint n_chars);
1858- }
1859- [CCode (cheader_filename = "gtk/gtk.h")]
1860- public class EntryCompletion : GLib.Object, Gtk.CellLayout, Gtk.Buildable {
1861- [CCode (has_construct_function = false)]
1862- public EntryCompletion ();
1863- public void complete ();
1864- public unowned string compute_prefix (string key);
1865- public void delete_action (int index_);
1866- public unowned string get_completion_prefix ();
1867- public unowned Gtk.Widget get_entry ();
1868- public bool get_inline_completion ();
1869- public bool get_inline_selection ();
1870- public int get_minimum_key_length ();
1871- public unowned Gtk.TreeModel get_model ();
1872- public bool get_popup_completion ();
1873- public bool get_popup_set_width ();
1874- public bool get_popup_single_match ();
1875- public int get_text_column ();
1876- public void insert_action_markup (int index_, string markup);
1877- public void insert_action_text (int index_, string text);
1878- public void set_inline_completion (bool inline_completion);
1879- public void set_inline_selection (bool inline_selection);
1880- public void set_match_func (owned Gtk.EntryCompletionMatchFunc func);
1881- public void set_minimum_key_length (int length);
1882- public void set_model (Gtk.TreeModel? model);
1883- public void set_popup_completion (bool popup_completion);
1884- public void set_popup_set_width (bool popup_set_width);
1885- public void set_popup_single_match (bool popup_single_match);
1886- public void set_text_column (int column);
1887- [CCode (has_construct_function = false)]
1888- public EntryCompletion.with_area (Gtk.CellArea area);
1889- [NoAccessorMethod]
1890- public Gtk.CellArea cell_area { owned get; construct; }
1891- public bool inline_completion { get; set; }
1892- public bool inline_selection { get; set; }
1893- public int minimum_key_length { get; set; }
1894- public Gtk.TreeModel model { get; set; }
1895- public bool popup_completion { get; set; }
1896- public bool popup_set_width { get; set; }
1897- public bool popup_single_match { get; set; }
1898- public int text_column { get; set; }
1899- public virtual signal void action_activated (int index_);
1900- public virtual signal bool cursor_on_match (Gtk.TreeModel model, Gtk.TreeIter iter);
1901- [HasEmitter]
1902- public virtual signal bool insert_prefix (string prefix);
1903- public virtual signal bool match_selected (Gtk.TreeModel model, Gtk.TreeIter iter);
1904- }
1905- [CCode (cheader_filename = "gtk/gtk.h")]
1906- public class EventBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
1907- [CCode (has_construct_function = false, type = "GtkWidget*")]
1908- public EventBox ();
1909- public bool get_above_child ();
1910- public bool get_visible_window ();
1911- public void set_above_child (bool above_child);
1912- public void set_visible_window (bool visible_window);
1913- public bool above_child { get; set; }
1914- public bool visible_window { get; set; }
1915- }
1916- [CCode (cheader_filename = "gtk/gtk.h")]
1917- public class Expander : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
1918- [CCode (has_construct_function = false, type = "GtkWidget*")]
1919- public Expander (string label);
1920- public bool get_expanded ();
1921- public unowned string get_label ();
1922- public bool get_label_fill ();
1923- public unowned Gtk.Widget get_label_widget ();
1924- public bool get_resize_toplevel ();
1925- public int get_spacing ();
1926- public bool get_use_markup ();
1927- public bool get_use_underline ();
1928- public void set_expanded (bool expanded);
1929- public void set_label (string label);
1930- public void set_label_fill (bool label_fill);
1931- public void set_label_widget (Gtk.Widget label_widget);
1932- public void set_resize_toplevel (bool resize_toplevel);
1933- public void set_spacing (int spacing);
1934- public void set_use_markup (bool use_markup);
1935- public void set_use_underline (bool use_underline);
1936- [CCode (has_construct_function = false, type = "GtkWidget*")]
1937- public Expander.with_mnemonic (string label);
1938- public bool expanded { get; set construct; }
1939- public string label { get; set construct; }
1940- public bool label_fill { get; set construct; }
1941- public Gtk.Widget label_widget { get; set; }
1942- public bool resize_toplevel { get; set; }
1943- public int spacing { get; set; }
1944- public bool use_markup { get; set construct; }
1945- public bool use_underline { get; set construct; }
1946- public virtual signal void activate ();
1947- }
1948- [CCode (cheader_filename = "gtk/gtk.h")]
1949- public class FileChooserButton : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser {
1950- [CCode (has_construct_function = false, type = "GtkWidget*")]
1951- public FileChooserButton (string title, Gtk.FileChooserAction action);
1952- public bool get_focus_on_click ();
1953- public unowned string get_title ();
1954- public int get_width_chars ();
1955- public void set_focus_on_click (bool focus_on_click);
1956- public void set_title (string title);
1957- public void set_width_chars (int n_chars);
1958- [CCode (has_construct_function = false, type = "GtkWidget*")]
1959- public FileChooserButton.with_dialog (Gtk.Widget dialog);
1960- public Gtk.FileChooser dialog { construct; }
1961- public bool focus_on_click { get; set; }
1962- public string title { get; set; }
1963- public int width_chars { get; set; }
1964- public virtual signal void file_set ();
1965- }
1966- [CCode (cheader_filename = "gtk/gtk.h")]
1967- public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
1968- [CCode (has_construct_function = false, type = "GtkWidget*")]
1969- public FileChooserDialog (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, ...);
1970- }
1971- [CCode (cheader_filename = "gtk/gtk.h")]
1972- public class FileChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser, Gtk.FileChooserEmbed {
1973- [CCode (has_construct_function = false, type = "GtkWidget*")]
1974- public FileChooserWidget (Gtk.FileChooserAction action);
1975- }
1976- [CCode (cheader_filename = "gtk/gtk.h")]
1977- public class FileFilter : GLib.InitiallyUnowned, Gtk.Buildable {
1978- [CCode (has_construct_function = false)]
1979- public FileFilter ();
1980- public void add_custom (Gtk.FileFilterFlags needed, owned Gtk.FileFilterFunc func);
1981- public void add_mime_type (string mime_type);
1982- public void add_pattern (string pattern);
1983- public void add_pixbuf_formats ();
1984- public bool filter (Gtk.FileFilterInfo filter_info);
1985- [CCode (cname = "gtk_file_filter_get_name")]
1986- public unowned string get_filter_name ();
1987- public Gtk.FileFilterFlags get_needed ();
1988- [CCode (cname = "gtk_file_filter_set_name")]
1989- public void set_filter_name (string name);
1990- }
1991- [CCode (cheader_filename = "gtk/gtk.h")]
1992- [Compact]
1993- public class FileFilterInfo {
1994- public Gtk.FileFilterFlags contains;
1995- public weak string display_name;
1996- public weak string filename;
1997- public weak string mime_type;
1998- public weak string uri;
1999- }
2000- [CCode (cheader_filename = "gtk/gtk.h")]
2001- public class Fixed : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2002- [CCode (has_construct_function = false, type = "GtkWidget*")]
2003- public Fixed ();
2004- public void move (Gtk.Widget widget, int x, int y);
2005- public void put (Gtk.Widget widget, int x, int y);
2006- }
2007- [CCode (cheader_filename = "gtk/gtk.h")]
2008- [Compact]
2009- public class FixedChild {
2010- public weak Gtk.Widget widget;
2011- public int x;
2012- public int y;
2013- }
2014- [CCode (cheader_filename = "gtk/gtk.h")]
2015- public class FontButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.FontChooser {
2016- [CCode (has_construct_function = false, type = "GtkWidget*")]
2017- public FontButton ();
2018- public unowned string get_font_name ();
2019- public bool get_show_size ();
2020- public bool get_show_style ();
2021- public unowned string get_title ();
2022- public bool get_use_font ();
2023- public bool get_use_size ();
2024- public bool set_font_name (string fontname);
2025- public void set_show_size (bool show_size);
2026- public void set_show_style (bool show_style);
2027- public void set_title (string title);
2028- public void set_use_font (bool use_font);
2029- public void set_use_size (bool use_size);
2030- [CCode (has_construct_function = false, type = "GtkWidget*")]
2031- public FontButton.with_font (string fontname);
2032- public string font_name { get; set; }
2033- public bool show_size { get; set; }
2034- public bool show_style { get; set; }
2035- public string title { get; set; }
2036- public bool use_font { get; set; }
2037- public bool use_size { get; set; }
2038- public virtual signal void font_set ();
2039- }
2040- [CCode (cheader_filename = "gtk/gtk.h")]
2041- public class FontChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser {
2042- [CCode (has_construct_function = false, type = "GtkWidget*")]
2043- public FontChooserDialog (string title, Gtk.Window window);
2044- }
2045- [CCode (cheader_filename = "gtk/gtk.h")]
2046- public class FontChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FontChooser {
2047- [CCode (has_construct_function = false, type = "GtkWidget*")]
2048- public FontChooserWidget ();
2049- }
2050- [CCode (cheader_filename = "gtk/gtk.h")]
2051- public class FontSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2052- [CCode (has_construct_function = false, type = "GtkWidget*")]
2053- public FontSelection ();
2054- public unowned Pango.FontFace get_face ();
2055- public unowned Gtk.Widget get_face_list ();
2056- public unowned Pango.FontFamily get_family ();
2057- public unowned Gtk.Widget get_family_list ();
2058- public unowned string get_font_name ();
2059- public unowned Gtk.Widget get_preview_entry ();
2060- public unowned string get_preview_text ();
2061- public int get_size ();
2062- public unowned Gtk.Widget get_size_entry ();
2063- public unowned Gtk.Widget get_size_list ();
2064- public bool set_font_name (string fontname);
2065- public void set_preview_text (string text);
2066- public string font_name { get; set; }
2067- public string preview_text { get; set; }
2068- }
2069- [CCode (cheader_filename = "gtk/gtk.h")]
2070- public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
2071- [CCode (has_construct_function = false, type = "GtkWidget*")]
2072- public FontSelectionDialog (string title);
2073- public unowned Gtk.Widget get_cancel_button ();
2074- public unowned string get_font_name ();
2075- public unowned Gtk.Widget get_font_selection ();
2076- public unowned Gtk.Widget get_ok_button ();
2077- public unowned string get_preview_text ();
2078- public bool set_font_name (string fontname);
2079- public void set_preview_text (string text);
2080- }
2081- [CCode (cheader_filename = "gtk/gtk.h")]
2082- public class Frame : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2083- [CCode (has_construct_function = false, type = "GtkWidget*")]
2084- public Frame (string? label);
2085- [NoWrapper]
2086- public virtual void compute_child_allocation (Gtk.Allocation allocation);
2087- public unowned string get_label ();
2088- public void get_label_align (float xalign, float yalign);
2089- public unowned Gtk.Widget get_label_widget ();
2090- public Gtk.ShadowType get_shadow_type ();
2091- public void set_label (string label);
2092- public void set_label_align (float xalign, float yalign);
2093- public void set_label_widget (Gtk.Widget label_widget);
2094- public void set_shadow_type (Gtk.ShadowType type);
2095- public string label { get; set; }
2096- public Gtk.Widget label_widget { get; set; }
2097- [NoAccessorMethod]
2098- public float label_xalign { get; set; }
2099- [NoAccessorMethod]
2100- public float label_yalign { get; set; }
2101- public Gtk.ShadowType shadow_type { get; set; }
2102- }
2103- [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_gradient_ref", type_id = "gtk_gradient_get_type ()", unref_function = "gtk_gradient_unref")]
2104- [Compact]
2105- public class Gradient {
2106- public void add_color_stop (double offset, Gtk.SymbolicColor color);
2107- [CCode (has_construct_function = false)]
2108- public Gradient.linear (double x0, double y0, double x1, double y1);
2109- [CCode (has_construct_function = false)]
2110- public Gradient.radial (double x0, double y0, double radius0, double x1, double y1, double radius1);
2111- public bool resolve (Gtk.StyleProperties props, out unowned Cairo.Pattern resolved_gradient);
2112- public unowned string to_string ();
2113- }
2114- [CCode (cheader_filename = "gtk/gtk.h")]
2115- public class Grid : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2116- [CCode (has_construct_function = false, type = "GtkWidget*")]
2117- public Grid ();
2118- public void attach (Gtk.Widget child, int left, int top, int width, int height);
2119- public void attach_next_to (Gtk.Widget child, Gtk.Widget sibling, Gtk.PositionType side, int width, int height);
2120- public unowned Gtk.Widget get_child_at (int left, int top);
2121- public bool get_column_homogeneous ();
2122- public uint get_column_spacing ();
2123- public bool get_row_homogeneous ();
2124- public uint get_row_spacing ();
2125- public void insert_column (int position);
2126- public void insert_next_to (Gtk.Widget sibling, Gtk.PositionType side);
2127- public void insert_row (int position);
2128- public void set_column_homogeneous (bool homogeneous);
2129- public void set_column_spacing (uint spacing);
2130- public void set_row_homogeneous (bool homogeneous);
2131- public void set_row_spacing (uint spacing);
2132- public bool column_homogeneous { get; set; }
2133- public int column_spacing { get; set; }
2134- public bool row_homogeneous { get; set; }
2135- public int row_spacing { get; set; }
2136- }
2137- [CCode (cheader_filename = "gtk/gtk.h")]
2138- public class HBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2139- [CCode (has_construct_function = false, type = "GtkWidget*")]
2140- public HBox (bool homogeneous, int spacing);
2141- }
2142- [CCode (cheader_filename = "gtk/gtk.h")]
2143- public class HButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2144- [CCode (has_construct_function = false, type = "GtkWidget*")]
2145- public HButtonBox ();
2146- }
2147- [CCode (cheader_filename = "gtk/gtk.h")]
2148- public class HPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2149- [CCode (has_construct_function = false, type = "GtkWidget*")]
2150- public HPaned ();
2151- }
2152- [CCode (cheader_filename = "gtk/gtk.h")]
2153- public class HSV : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2154- [CCode (has_construct_function = false, type = "GtkWidget*")]
2155- public HSV ();
2156- public void get_color (double h, double s, double v);
2157- public void get_metrics (int size, int ring_width);
2158- public bool is_adjusting ();
2159- public void set_color (double h, double s, double v);
2160- public void set_metrics (int size, int ring_width);
2161- public static void to_rgb (double h, double s, double v, out double r, out double g, out double b);
2162- public virtual signal void changed ();
2163- public virtual signal void move (Gtk.DirectionType type);
2164- }
2165- [CCode (cheader_filename = "gtk/gtk.h")]
2166- public class HScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2167- [CCode (has_construct_function = false, type = "GtkWidget*")]
2168- public HScale (Gtk.Adjustment? adjustment);
2169- [CCode (has_construct_function = false, type = "GtkWidget*")]
2170- public HScale.with_range (double min, double max, double step);
2171- }
2172- [CCode (cheader_filename = "gtk/gtk.h")]
2173- public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2174- [CCode (has_construct_function = false, type = "GtkWidget*")]
2175- public HScrollbar (Gtk.Adjustment? adjustment);
2176- }
2177- [CCode (cheader_filename = "gtk/gtk.h")]
2178- public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2179- [CCode (has_construct_function = false, type = "GtkWidget*")]
2180- public HSeparator ();
2181- }
2182- [CCode (cheader_filename = "gtk/gtk.h")]
2183- public class HandleBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2184- [CCode (has_construct_function = false, type = "GtkWidget*")]
2185- public HandleBox ();
2186- public bool get_child_detached ();
2187- public Gtk.PositionType get_handle_position ();
2188- public Gtk.ShadowType get_shadow_type ();
2189- public Gtk.PositionType get_snap_edge ();
2190- public void set_handle_position (Gtk.PositionType position);
2191- public void set_shadow_type (Gtk.ShadowType type);
2192- public void set_snap_edge (Gtk.PositionType edge);
2193- public bool child_detached { get; }
2194- public Gtk.PositionType handle_position { get; set; }
2195- public Gtk.ShadowType shadow_type { get; set; }
2196- public Gtk.PositionType snap_edge { get; set; }
2197- [NoAccessorMethod]
2198- public bool snap_edge_set { get; set; }
2199- public virtual signal void child_attached (Gtk.Widget child);
2200- }
2201- [CCode (cheader_filename = "gtk/gtk.h")]
2202- public class IMContext : GLib.Object {
2203- [CCode (has_construct_function = false)]
2204- protected IMContext ();
2205- public virtual bool filter_keypress (Gdk.EventKey event);
2206- public virtual void focus_in ();
2207- public virtual void focus_out ();
2208- public virtual void get_preedit_string (out unowned string str, out Pango.AttrList attrs, out int cursor_pos);
2209- public virtual bool get_surrounding (out unowned string text, out int cursor_index);
2210- public virtual void reset ();
2211- public virtual void set_client_window (Gdk.Window window);
2212- public virtual void set_cursor_location (Gdk.Rectangle area);
2213- public virtual void set_surrounding (string text, int len, int cursor_index);
2214- public virtual void set_use_preedit (bool use_preedit);
2215- public virtual signal void commit (string str);
2216- [HasEmitter]
2217- public virtual signal bool delete_surrounding (int offset, int n_chars);
2218- public virtual signal void preedit_changed ();
2219- public virtual signal void preedit_end ();
2220- public virtual signal void preedit_start ();
2221- public virtual signal bool retrieve_surrounding ();
2222- }
2223- [CCode (cheader_filename = "gtk/gtk.h")]
2224- public class IMContextSimple : Gtk.IMContext {
2225- [CCode (has_construct_function = false, type = "GtkIMContext*")]
2226- public IMContextSimple ();
2227- public void add_table (uint16 data, int max_seq_len, int n_seqs);
2228- }
2229- [CCode (cheader_filename = "gtk/gtk.h")]
2230- public class IMMulticontext : Gtk.IMContext {
2231- [CCode (has_construct_function = false, type = "GtkIMContext*")]
2232- public IMMulticontext ();
2233- public void append_menuitems (Gtk.MenuShell menushell);
2234- public unowned string get_context_id ();
2235- public void set_context_id (string context_id);
2236- }
2237- [CCode (cheader_filename = "gtk/gtk.h")]
2238- public class IconFactory : GLib.Object, Gtk.Buildable {
2239- [CCode (has_construct_function = false)]
2240- public IconFactory ();
2241- public void add (string stock_id, Gtk.IconSet icon_set);
2242- public void add_default ();
2243- public unowned Gtk.IconSet lookup (string stock_id);
2244- public static unowned Gtk.IconSet lookup_default (string stock_id);
2245- public void remove_default ();
2246- }
2247- [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_icon_info_copy", type_id = "gtk_icon_info_get_type ()")]
2248- [Compact]
2249- public class IconInfo {
2250- public Gtk.IconInfo copy ();
2251- [CCode (has_construct_function = false)]
2252- public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf);
2253- public bool get_attach_points (Gdk.Point[] points);
2254- public int get_base_size ();
2255- public unowned Gdk.Pixbuf get_builtin_pixbuf ();
2256- public unowned string get_display_name ();
2257- public bool get_embedded_rect (out Gdk.Rectangle rectangle);
2258- public unowned string get_filename ();
2259- public Gdk.Pixbuf load_icon () throws GLib.Error;
2260- 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;
2261- public Gdk.Pixbuf load_symbolic_for_context (Gtk.StyleContext context, out bool was_symbolic = null) throws GLib.Error;
2262- public unowned Gdk.Pixbuf load_symbolic_for_style (Gtk.Style style, Gtk.StateType state, bool was_symbolic) throws GLib.Error;
2263- public void set_raw_coordinates (bool raw_coordinates);
2264- }
2265- [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")]
2266- [Compact]
2267- public class IconSet {
2268- [CCode (has_construct_function = false)]
2269- public IconSet ();
2270- public void add_source (Gtk.IconSource source);
2271- public Gtk.IconSet copy ();
2272- [CCode (has_construct_function = false)]
2273- public IconSet.from_pixbuf (Gdk.Pixbuf pixbuf);
2274- public void get_sizes (Gtk.IconSize[] sizes);
2275- public unowned Gdk.Pixbuf render_icon (Gtk.Style style, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail);
2276- public unowned Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSize size);
2277- }
2278- [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_icon_source_copy", type_id = "gtk_icon_source_get_type ()")]
2279- [Compact]
2280- public class IconSource {
2281- [CCode (has_construct_function = false)]
2282- public IconSource ();
2283- public Gtk.IconSource copy ();
2284- public Gtk.TextDirection get_direction ();
2285- public bool get_direction_wildcarded ();
2286- public unowned string get_filename ();
2287- public unowned string get_icon_name ();
2288- public unowned Gdk.Pixbuf get_pixbuf ();
2289- public Gtk.IconSize get_size ();
2290- public bool get_size_wildcarded ();
2291- public Gtk.StateType get_state ();
2292- public bool get_state_wildcarded ();
2293- public void set_direction (Gtk.TextDirection direction);
2294- public void set_direction_wildcarded (bool setting);
2295- public void set_filename (string filename);
2296- public void set_icon_name (string icon_name);
2297- public void set_pixbuf (Gdk.Pixbuf pixbuf);
2298- public void set_size (Gtk.IconSize size);
2299- public void set_size_wildcarded (bool setting);
2300- public void set_state (Gtk.StateType state);
2301- public void set_state_wildcarded (bool setting);
2302- }
2303- [CCode (cheader_filename = "gtk/gtk.h")]
2304- public class IconTheme : GLib.Object {
2305- [CCode (has_construct_function = false)]
2306- public IconTheme ();
2307- public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf);
2308- public void append_search_path (string path);
2309- public Gtk.IconInfo choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
2310- public static GLib.Quark error_quark ();
2311- public static unowned Gtk.IconTheme get_default ();
2312- public unowned string get_example_icon_name ();
2313- public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen);
2314- public int get_icon_sizes (string icon_name);
2315- public void get_search_path (out string[] path);
2316- public bool has_icon (string icon_name);
2317- public GLib.List<string> list_contexts ();
2318- public GLib.List<string> list_icons (string? context);
2319- public Gdk.Pixbuf? load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
2320- public Gtk.IconInfo lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
2321- public Gtk.IconInfo lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
2322- public void prepend_search_path (string path);
2323- public bool rescan_if_needed ();
2324- public void set_custom_theme (string theme_name);
2325- public void set_screen (Gdk.Screen screen);
2326- public void set_search_path (string[] path, int n_elements);
2327- public virtual signal void changed ();
2328- }
2329- [CCode (cheader_filename = "gtk/gtk.h")]
2330- public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Scrollable {
2331- [CCode (has_construct_function = false, type = "GtkWidget*")]
2332- public IconView ();
2333- public void convert_widget_to_bin_window_coords (int wx, int wy, int bx, int by);
2334- public unowned Cairo.Surface create_drag_icon (Gtk.TreePath path);
2335- public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
2336- public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
2337- public int get_column_spacing ();
2338- public int get_columns ();
2339- public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
2340- public bool get_dest_item_at_pos (int drag_x, int drag_y, out unowned Gtk.TreePath path, Gtk.IconViewDropPosition pos);
2341- public void get_drag_dest_item (out unowned Gtk.TreePath path, Gtk.IconViewDropPosition pos);
2342- public bool get_item_at_pos (int x, int y, out unowned Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
2343- public int get_item_column (Gtk.TreePath path);
2344- public Gtk.Orientation get_item_orientation ();
2345- public int get_item_padding ();
2346- public int get_item_row (Gtk.TreePath path);
2347- public int get_item_width ();
2348- public int get_margin ();
2349- public int get_markup_column ();
2350- public unowned Gtk.TreeModel get_model ();
2351- public unowned Gtk.TreePath get_path_at_pos (int x, int y);
2352- public int get_pixbuf_column ();
2353- public bool get_reorderable ();
2354- public int get_row_spacing ();
2355- public GLib.List<Gtk.TreePath> get_selected_items ();
2356- public Gtk.SelectionMode get_selection_mode ();
2357- public int get_spacing ();
2358- public int get_text_column ();
2359- public int get_tooltip_column ();
2360- public bool get_tooltip_context (out int x, out int y, bool keyboard_tip, out unowned Gtk.TreeModel model, out unowned Gtk.TreePath path, out Gtk.TreeIter iter);
2361- public bool get_visible_range (out unowned Gtk.TreePath start_path, out unowned Gtk.TreePath end_path);
2362- public bool path_is_selected (Gtk.TreePath path);
2363- public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
2364- public void select_path (Gtk.TreePath path);
2365- public void selected_foreach (Gtk.IconViewForeachFunc func);
2366- public void set_column_spacing (int column_spacing);
2367- public void set_columns (int columns);
2368- public void set_cursor (Gtk.TreePath path, Gtk.CellRenderer? cell, bool start_editing);
2369- public void set_drag_dest_item (Gtk.TreePath path, Gtk.IconViewDropPosition pos);
2370- public void set_item_orientation (Gtk.Orientation orientation);
2371- public void set_item_padding (int item_padding);
2372- public void set_item_width (int item_width);
2373- public void set_margin (int margin);
2374- public void set_markup_column (int column);
2375- public void set_model (Gtk.TreeModel? model);
2376- public void set_pixbuf_column (int column);
2377- public void set_reorderable (bool reorderable);
2378- public void set_row_spacing (int row_spacing);
2379- public void set_selection_mode (Gtk.SelectionMode mode);
2380- public void set_spacing (int spacing);
2381- public void set_text_column (int column);
2382- public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.CellRenderer cell);
2383- public void set_tooltip_column (int column);
2384- public void set_tooltip_item (Gtk.Tooltip tooltip, Gtk.TreePath path);
2385- public void unselect_path (Gtk.TreePath path);
2386- public void unset_model_drag_dest ();
2387- public void unset_model_drag_source ();
2388- [CCode (has_construct_function = false, type = "GtkWidget*")]
2389- public IconView.with_area (Gtk.CellArea area);
2390- [CCode (has_construct_function = false, type = "GtkWidget*")]
2391- public IconView.with_model (Gtk.TreeModel model);
2392- [NoAccessorMethod]
2393- public Gtk.CellArea cell_area { owned get; construct; }
2394- public int column_spacing { get; set; }
2395- public int columns { get; set; }
2396- public Gtk.Orientation item_orientation { get; set; }
2397- public int item_padding { get; set; }
2398- public int item_width { get; set; }
2399- public int margin { get; set; }
2400- public int markup_column { get; set; }
2401- public Gtk.TreeModel model { get; set; }
2402- public int pixbuf_column { get; set; }
2403- public bool reorderable { get; set; }
2404- public int row_spacing { get; set; }
2405- public Gtk.SelectionMode selection_mode { get; set; }
2406- public int spacing { get; set; }
2407- public int text_column { get; set; }
2408- public int tooltip_column { get; set; }
2409- public virtual signal bool activate_cursor_item ();
2410- [HasEmitter]
2411- public virtual signal void item_activated (Gtk.TreePath path);
2412- public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
2413- public virtual signal void select_all ();
2414- public virtual signal void select_cursor_item ();
2415- public virtual signal void selection_changed ();
2416- public virtual signal void toggle_cursor_item ();
2417- public virtual signal void unselect_all ();
2418- }
2419- [CCode (cheader_filename = "gtk/gtk.h")]
2420- public class Image : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
2421- [CCode (has_construct_function = false, type = "GtkWidget*")]
2422- public Image ();
2423- public void clear ();
2424- [CCode (has_construct_function = false, type = "GtkWidget*")]
2425- public Image.from_animation (Gdk.PixbufAnimation animation);
2426- [CCode (has_construct_function = false, type = "GtkWidget*")]
2427- public Image.from_file (string filename);
2428- [CCode (has_construct_function = false, type = "GtkWidget*")]
2429- public Image.from_gicon (GLib.Icon icon, Gtk.IconSize size);
2430- [CCode (has_construct_function = false, type = "GtkWidget*")]
2431- public Image.from_icon_name (string icon_name, Gtk.IconSize size);
2432- [CCode (has_construct_function = false, type = "GtkWidget*")]
2433- public Image.from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
2434- [CCode (has_construct_function = false, type = "GtkWidget*")]
2435- public Image.from_pixbuf (Gdk.Pixbuf pixbuf);
2436- [CCode (has_construct_function = false, type = "GtkWidget*")]
2437- public Image.from_stock (string stock_id, Gtk.IconSize size);
2438- public unowned Gdk.PixbufAnimation get_animation ();
2439- public void get_gicon (out unowned GLib.Icon gicon, Gtk.IconSize size);
2440- public void get_icon_name (out unowned string icon_name, out Gtk.IconSize size);
2441- public void get_icon_set (out unowned Gtk.IconSet icon_set, out Gtk.IconSize size);
2442- public unowned Gdk.Pixbuf get_pixbuf ();
2443- public int get_pixel_size ();
2444- public void get_stock (out string stock_id, out Gtk.IconSize size);
2445- public Gtk.ImageType get_storage_type ();
2446- public void set_from_animation (Gdk.PixbufAnimation animation);
2447- public void set_from_file (string filename);
2448- public void set_from_gicon (GLib.Icon icon, Gtk.IconSize size);
2449- public void set_from_icon_name (string icon_name, Gtk.IconSize size);
2450- public void set_from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
2451- public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
2452- public void set_from_stock (string stock_id, Gtk.IconSize size);
2453- public void set_pixel_size (int pixel_size);
2454- [NoAccessorMethod]
2455- public string file { owned get; set; }
2456- [NoAccessorMethod]
2457- public GLib.Icon gicon { owned get; set; }
2458- [NoAccessorMethod]
2459- public string icon_name { owned get; set; }
2460- [NoAccessorMethod]
2461- public Gtk.IconSet icon_set { owned get; set; }
2462- [NoAccessorMethod]
2463- public int icon_size { get; set; }
2464- [NoAccessorMethod]
2465- public Gdk.Pixbuf pixbuf { owned get; set; }
2466- [NoAccessorMethod]
2467- public Gdk.PixbufAnimation pixbuf_animation { owned get; set; }
2468- public int pixel_size { get; set; }
2469- [NoAccessorMethod]
2470- public string stock { owned get; set; }
2471- public Gtk.ImageType storage_type { get; }
2472- [NoAccessorMethod]
2473- public bool use_fallback { get; set; }
2474- }
2475- [CCode (cheader_filename = "gtk/gtk.h")]
2476- public class ImageMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2477- [CCode (has_construct_function = false, type = "GtkWidget*")]
2478- public ImageMenuItem ();
2479- [CCode (has_construct_function = false, type = "GtkWidget*")]
2480- public ImageMenuItem.from_stock (string stock_id, Gtk.AccelGroup? accel_group);
2481- public bool get_always_show_image ();
2482- public unowned Gtk.Widget get_image ();
2483- public bool get_use_stock ();
2484- public void set_accel_group (Gtk.AccelGroup accel_group);
2485- public void set_always_show_image (bool always_show);
2486- public void set_image (Gtk.Widget image);
2487- public void set_use_stock (bool use_stock);
2488- [CCode (has_construct_function = false, type = "GtkWidget*")]
2489- public ImageMenuItem.with_label (string label);
2490- [CCode (has_construct_function = false, type = "GtkWidget*")]
2491- public ImageMenuItem.with_mnemonic (string label);
2492- public Gtk.AccelGroup accel_group { set; }
2493- public bool always_show_image { get; set construct; }
2494- public Gtk.Widget image { get; set; }
2495- public bool use_stock { get; set construct; }
2496- }
2497- [CCode (cheader_filename = "gtk/gtk.h")]
2498- public class InfoBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
2499- [CCode (has_construct_function = false, type = "GtkWidget*")]
2500- public InfoBar ();
2501- public void add_action_widget (Gtk.Widget child, int response_id);
2502- public unowned Gtk.Widget add_button (string button_text, int response_id);
2503- public void add_buttons (...);
2504- public unowned Gtk.Widget get_action_area ();
2505- public unowned Gtk.Widget get_content_area ();
2506- public Gtk.MessageType get_message_type ();
2507- public void set_default_response (int response_id);
2508- public void set_message_type (Gtk.MessageType message_type);
2509- public void set_response_sensitive (int response_id, bool setting);
2510- [CCode (has_construct_function = false, type = "GtkWidget*")]
2511- public InfoBar.with_buttons (...);
2512- public Gtk.MessageType message_type { get; set construct; }
2513- public virtual signal void close ();
2514- [HasEmitter]
2515- public virtual signal void response (int response_id);
2516- }
2517- [CCode (cheader_filename = "gtk/gtk.h")]
2518- public class Invisible : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2519- [CCode (has_construct_function = false, type = "GtkWidget*")]
2520- public Invisible ();
2521- [CCode (has_construct_function = false, type = "GtkWidget*")]
2522- public Invisible.for_screen (Gdk.Screen screen);
2523- public unowned Gdk.Screen get_screen ();
2524- public void set_screen (Gdk.Screen screen);
2525- public Gdk.Screen screen { get; set; }
2526- }
2527- [CCode (cheader_filename = "gtk/gtk.h")]
2528- public class Label : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
2529- [CCode (has_construct_function = false, type = "GtkWidget*")]
2530- public Label (string? str);
2531- public double get_angle ();
2532- public unowned Pango.AttrList get_attributes ();
2533- public unowned string get_current_uri ();
2534- public Pango.EllipsizeMode get_ellipsize ();
2535- public Gtk.Justification get_justify ();
2536- public unowned string get_label ();
2537- public unowned Pango.Layout get_layout ();
2538- public void get_layout_offsets (out int x, out int y);
2539- public bool get_line_wrap ();
2540- public Pango.WrapMode get_line_wrap_mode ();
2541- public int get_max_width_chars ();
2542- public uint get_mnemonic_keyval ();
2543- public unowned Gtk.Widget get_mnemonic_widget ();
2544- public bool get_selectable ();
2545- public bool get_selection_bounds (out int start, out int end);
2546- public bool get_single_line_mode ();
2547- public unowned string get_text ();
2548- public bool get_track_visited_links ();
2549- public bool get_use_markup ();
2550- public bool get_use_underline ();
2551- public int get_width_chars ();
2552- public void select_region (int start_offset, int end_offset);
2553- public void set_angle (double angle);
2554- public void set_attributes (Pango.AttrList attrs);
2555- public void set_ellipsize (Pango.EllipsizeMode mode);
2556- public void set_justify (Gtk.Justification jtype);
2557- public void set_label (string str);
2558- public void set_line_wrap (bool wrap);
2559- public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
2560- public void set_markup (string str);
2561- public void set_markup_with_mnemonic (string str);
2562- public void set_max_width_chars (int n_chars);
2563- public void set_mnemonic_widget (Gtk.Widget widget);
2564- public void set_pattern (string pattern);
2565- public void set_selectable (bool setting);
2566- public void set_single_line_mode (bool single_line_mode);
2567- public void set_text (string str);
2568- public void set_text_with_mnemonic (string str);
2569- public void set_track_visited_links (bool track_links);
2570- public void set_use_markup (bool setting);
2571- public void set_use_underline (bool setting);
2572- public void set_width_chars (int n_chars);
2573- [CCode (has_construct_function = false, type = "GtkWidget*")]
2574- public Label.with_mnemonic (string str);
2575- public double angle { get; set; }
2576- public Pango.AttrList attributes { get; set; }
2577- [NoAccessorMethod]
2578- public int cursor_position { get; }
2579- public Pango.EllipsizeMode ellipsize { get; set; }
2580- public Gtk.Justification justify { get; set; }
2581- public string label { get; set; }
2582- public int max_width_chars { get; set; }
2583- public uint mnemonic_keyval { get; }
2584- public Gtk.Widget mnemonic_widget { get; set; }
2585- public string pattern { set; }
2586- public bool selectable { get; set; }
2587- [NoAccessorMethod]
2588- public int selection_bound { get; }
2589- public bool single_line_mode { get; set; }
2590- public bool track_visited_links { get; set; }
2591- public bool use_markup { get; set; }
2592- public bool use_underline { get; set; }
2593- public int width_chars { get; set; }
2594- [NoAccessorMethod]
2595- public bool wrap { get; set; }
2596- [NoAccessorMethod]
2597- public Pango.WrapMode wrap_mode { get; set; }
2598- public virtual signal void activate_current_link ();
2599- public virtual signal bool activate_link (string uri);
2600- public virtual signal void copy_clipboard ();
2601- public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
2602- public virtual signal void populate_popup (Gtk.Menu menu);
2603- }
2604- [CCode (cheader_filename = "gtk/gtk.h")]
2605- [Compact]
2606- public class LabelSelectionInfo {
2607- }
2608- [CCode (cheader_filename = "gtk/gtk.h")]
2609- public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
2610- [CCode (has_construct_function = false, type = "GtkWidget*")]
2611- public Layout (Gtk.Adjustment? hadjustment = null, Gtk.Adjustment? vadjustment = null);
2612- public unowned Gdk.Window get_bin_window ();
2613- public unowned Gtk.Adjustment get_hadjustment ();
2614- public void get_size (out uint width, out uint height);
2615- public unowned Gtk.Adjustment get_vadjustment ();
2616- public void move (Gtk.Widget child_widget, int x, int y);
2617- public void put (Gtk.Widget child_widget, int x, int y);
2618- public void set_hadjustment (Gtk.Adjustment adjustment);
2619- public void set_size (uint width, uint height);
2620- public void set_vadjustment (Gtk.Adjustment adjustment);
2621- [NoAccessorMethod]
2622- public uint height { get; set; }
2623- [NoAccessorMethod]
2624- public uint width { get; set; }
2625- }
2626- [CCode (cheader_filename = "gtk/gtk.h")]
2627- public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2628- [CCode (has_construct_function = false, type = "GtkWidget*")]
2629- public LinkButton (string uri);
2630- public unowned string get_uri ();
2631- public bool get_visited ();
2632- public void set_uri (string uri);
2633- public void set_visited (bool visited);
2634- [CCode (has_construct_function = false, type = "GtkWidget*")]
2635- public LinkButton.with_label (string uri, string label);
2636- public string uri { get; set; }
2637- public bool visited { get; set; }
2638- public virtual signal bool activate_link ();
2639- }
2640- [CCode (cheader_filename = "gtk/gtk.h")]
2641- public class ListStore : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable, Gtk.Buildable {
2642- [CCode (has_construct_function = false, sentinel = "")]
2643- public ListStore (int n_columns, ...);
2644- public void append (out Gtk.TreeIter iter);
2645- public void clear ();
2646- public void insert (out Gtk.TreeIter iter, int position);
2647- public void insert_after (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
2648- public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling);
2649- [CCode (sentinel = "-1")]
2650- public void insert_with_values (out Gtk.TreeIter iter, int position, ...);
2651- public void insert_with_valuesv (out Gtk.TreeIter iter, int position, int columns, GLib.Value[] values);
2652- public bool iter_is_valid (Gtk.TreeIter iter);
2653- public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
2654- public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
2655- [CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
2656- public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
2657- public void prepend (out Gtk.TreeIter iter);
2658- public bool remove (Gtk.TreeIter iter);
2659- public void reorder (int new_order);
2660- [CCode (sentinel = "-1")]
2661- public void @set (Gtk.TreeIter iter, ...);
2662- public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
2663- public void set_valist (Gtk.TreeIter iter, void* var_args);
2664- public void set_value (Gtk.TreeIter iter, int column, GLib.Value value);
2665- public void set_valuesv (Gtk.TreeIter iter, int columns, GLib.Value[] values);
2666- public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
2667- }
2668- [CCode (cheader_filename = "gtk/gtk.h")]
2669- public class LockButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2670- [CCode (has_construct_function = false, type = "GtkWidget*")]
2671- public LockButton (GLib.Permission permission);
2672- public unowned GLib.Permission get_permission ();
2673- [NoWrapper]
2674- public virtual void reserved0 ();
2675- [NoWrapper]
2676- public virtual void reserved1 ();
2677- [NoWrapper]
2678- public virtual void reserved2 ();
2679- [NoWrapper]
2680- public virtual void reserved3 ();
2681- [NoWrapper]
2682- public virtual void reserved4 ();
2683- [NoWrapper]
2684- public virtual void reserved5 ();
2685- [NoWrapper]
2686- public virtual void reserved6 ();
2687- [NoWrapper]
2688- public virtual void reserved7 ();
2689- public void set_permission (GLib.Permission permission);
2690- public GLib.Permission permission { get; set; }
2691- [NoAccessorMethod]
2692- public string text_lock { owned get; set construct; }
2693- [NoAccessorMethod]
2694- public string text_unlock { owned get; set construct; }
2695- [NoAccessorMethod]
2696- public string tooltip_lock { owned get; set construct; }
2697- [NoAccessorMethod]
2698- public string tooltip_not_authorized { owned get; set construct; }
2699- [NoAccessorMethod]
2700- public string tooltip_unlock { owned get; set construct; }
2701- }
2702- [CCode (cheader_filename = "gtk/gtk.h")]
2703- public class Menu : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
2704- [CCode (has_construct_function = false, type = "GtkWidget*")]
2705- public Menu ();
2706- public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
2707- public void attach_to_widget (Gtk.Widget attach_widget, Gtk.MenuDetachFunc? detacher);
2708- public void detach ();
2709- public unowned Gtk.AccelGroup get_accel_group ();
2710- public unowned string get_accel_path ();
2711- public unowned Gtk.Widget get_active ();
2712- public unowned Gtk.Widget get_attach_widget ();
2713- public static unowned GLib.List<Gtk.Menu> get_for_attach_widget (Gtk.Widget widget);
2714- public int get_monitor ();
2715- public bool get_reserve_toggle_size ();
2716- public bool get_tearoff_state ();
2717- public unowned string get_title ();
2718- public void popdown ();
2719- public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
2720- public void popup_for_device (Gdk.Device device, Gtk.Widget parent_menu_shell, Gtk.Widget parent_menu_item, Gtk.MenuPositionFunc func, void* data, GLib.DestroyNotify destroy, uint button, uint32 activate_time);
2721- public void reorder_child (Gtk.Widget child, int position);
2722- public void reposition ();
2723- public void set_accel_group (Gtk.AccelGroup accel_group);
2724- public void set_accel_path (string accel_path);
2725- public void set_active (uint index);
2726- public void set_monitor (int monitor_num);
2727- public void set_reserve_toggle_size (bool reserve_toggle_size);
2728- public void set_screen (Gdk.Screen? screen);
2729- public void set_tearoff_state (bool torn_off);
2730- public void set_title (string title);
2731- public Gtk.AccelGroup accel_group { get; set; }
2732- public string accel_path { get; set; }
2733- public int active { get; set; }
2734- [NoAccessorMethod]
2735- public Gtk.Widget attach_widget { owned get; set; }
2736- public int monitor { get; set; }
2737- public bool reserve_toggle_size { get; set; }
2738- public bool tearoff_state { get; set; }
2739- [NoAccessorMethod]
2740- public string tearoff_title { owned get; set; }
2741- public virtual signal void move_scroll (Gtk.ScrollType p0);
2742- }
2743- [CCode (cheader_filename = "gtk/gtk.h")]
2744- public class MenuBar : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
2745- [CCode (has_construct_function = false, type = "GtkWidget*")]
2746- public MenuBar ();
2747- public Gtk.PackDirection get_child_pack_direction ();
2748- public Gtk.PackDirection get_pack_direction ();
2749- public void set_child_pack_direction (Gtk.PackDirection child_pack_dir);
2750- public void set_pack_direction (Gtk.PackDirection pack_dir);
2751- public Gtk.PackDirection child_pack_direction { get; set; }
2752- public Gtk.PackDirection pack_direction { get; set; }
2753- }
2754- [CCode (cheader_filename = "gtk/gtk.h")]
2755- public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2756- [CCode (has_construct_function = false, type = "GtkWidget*")]
2757- public MenuItem ();
2758- public unowned string get_accel_path ();
2759- public virtual unowned string get_label ();
2760- public bool get_reserve_indicator ();
2761- public bool get_right_justified ();
2762- public unowned Gtk.Widget get_submenu ();
2763- public bool get_use_underline ();
2764- public void set_accel_path (string accel_path);
2765- public virtual void set_label (string label);
2766- public void set_reserve_indicator (bool reserve);
2767- public void set_right_justified (bool right_justified);
2768- public void set_submenu (Gtk.Widget submenu);
2769- public void set_use_underline (bool setting);
2770- [CCode (has_construct_function = false, type = "GtkWidget*")]
2771- public MenuItem.with_label (string label);
2772- [CCode (has_construct_function = false, type = "GtkWidget*")]
2773- public MenuItem.with_mnemonic (string label);
2774- public string accel_path { get; set; }
2775- public string label { get; set; }
2776- public bool right_justified { get; set; }
2777- public Gtk.Menu submenu { get; set; }
2778- public bool use_underline { get; set; }
2779- [HasEmitter]
2780- public virtual signal void activate ();
2781- public virtual signal void activate_item ();
2782- public virtual signal void deselect ();
2783- public virtual signal void select ();
2784- [HasEmitter]
2785- public virtual signal void toggle_size_allocate (int allocation);
2786- [HasEmitter]
2787- public virtual signal void toggle_size_request (void* requisition);
2788- }
2789- [CCode (cheader_filename = "gtk/gtk.h")]
2790- public class MenuShell : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2791- [CCode (has_construct_function = false)]
2792- protected MenuShell ();
2793- public void activate_item (Gtk.Widget menu_item, bool force_deactivate);
2794- public void append ([CCode (type = "GtkWidget*")] Gtk.MenuItem child);
2795- public void deselect ();
2796- public unowned Gtk.Widget get_parent_shell ();
2797- [NoWrapper]
2798- public virtual int get_popup_delay ();
2799- public unowned Gtk.Widget get_selected_item ();
2800- public bool get_take_focus ();
2801- public void prepend (Gtk.Widget child);
2802- public void select_first (bool search_sensitive);
2803- public virtual void select_item (Gtk.Widget menu_item);
2804- public void set_take_focus (bool take_focus);
2805- public bool take_focus { get; set; }
2806- public virtual signal void activate_current (bool force_hide);
2807- [HasEmitter]
2808- public virtual signal void cancel ();
2809- public virtual signal void cycle_focus (Gtk.DirectionType p0);
2810- [HasEmitter]
2811- public virtual signal void deactivate ();
2812- [HasEmitter]
2813- public virtual signal void insert (Gtk.Widget child, int position);
2814- public virtual signal void move_current (Gtk.MenuDirectionType direction);
2815- public virtual signal bool move_selected (int distance);
2816- public virtual signal void selection_done ();
2817- }
2818- [CCode (cheader_filename = "gtk/gtk.h")]
2819- public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
2820- [CCode (has_construct_function = false, type = "GtkToolItem*")]
2821- public MenuToolButton (Gtk.Widget? icon_widget, string? label);
2822- [CCode (has_construct_function = false, type = "GtkToolItem*")]
2823- public MenuToolButton.from_stock (string stock_id);
2824- public unowned Gtk.Widget get_menu ();
2825- public void set_arrow_tooltip_markup (string markup);
2826- public void set_arrow_tooltip_text (string text);
2827- public void set_menu (Gtk.Widget menu);
2828- public Gtk.Menu menu { get; set; }
2829- public virtual signal void show_menu ();
2830- }
2831- [CCode (cheader_filename = "gtk/gtk.h")]
2832- public class MessageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
2833- [CCode (has_construct_function = false, type = "GtkWidget*")]
2834- [PrintfFormat]
2835- public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
2836- [PrintfFormat]
2837- public void format_secondary_markup (string message_format, ...);
2838- [PrintfFormat]
2839- public void format_secondary_text (string message_format, ...);
2840- public unowned Gtk.Widget get_image ();
2841- public unowned Gtk.Widget get_message_area ();
2842- public void set_image (Gtk.Widget image);
2843- public void set_markup (string str);
2844- [CCode (has_construct_function = false, type = "GtkWidget*")]
2845- [PrintfFormat]
2846- public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
2847- [NoAccessorMethod]
2848- public Gtk.ButtonsType buttons { construct; }
2849- public Gtk.Widget image { get; set; }
2850- public Gtk.Widget message_area { get; }
2851- [NoAccessorMethod]
2852- public Gtk.MessageType message_type { get; set construct; }
2853- [NoAccessorMethod]
2854- public string secondary_text { owned get; set; }
2855- [NoAccessorMethod]
2856- public bool secondary_use_markup { get; set; }
2857- [NoAccessorMethod]
2858- public string text { owned get; set; }
2859- [NoAccessorMethod]
2860- public bool use_markup { get; set; }
2861- }
2862- [CCode (cheader_filename = "gtk/gtk.h")]
2863- public class Misc : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
2864- [CCode (has_construct_function = false)]
2865- protected Misc ();
2866- public void get_alignment (out float xalign, out float yalign);
2867- public void get_padding (out int xpad, out int ypad);
2868- public void set_alignment (float xalign, float yalign);
2869- public void set_padding (int xpad, int ypad);
2870- [NoAccessorMethod]
2871- public float xalign { get; set; }
2872- [NoAccessorMethod]
2873- public int xpad { get; set; }
2874- [NoAccessorMethod]
2875- public float yalign { get; set; }
2876- [NoAccessorMethod]
2877- public int ypad { get; set; }
2878- }
2879- [CCode (cheader_filename = "gtk/gtk.h")]
2880- public class MountOperation : GLib.MountOperation {
2881- [CCode (has_construct_function = false, type = "GMountOperation*")]
2882- public MountOperation (Gtk.Window? parent);
2883- public unowned Gtk.Window get_parent ();
2884- public unowned Gdk.Screen get_screen ();
2885- public void set_parent (Gtk.Window parent);
2886- public void set_screen (Gdk.Screen screen);
2887- [NoAccessorMethod]
2888- public bool is_showing { get; }
2889- public Gtk.Window parent { get; set; }
2890- public Gdk.Screen screen { get; set; }
2891- }
2892- [CCode (cheader_filename = "gtk/gtk.h")]
2893- public class Notebook : Gtk.Container, Atk.Implementor, Gtk.Buildable {
2894- [CCode (has_construct_function = false, type = "GtkWidget*")]
2895- public Notebook ();
2896- public int append_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
2897- public int append_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
2898- public unowned Gtk.Widget get_action_widget (Gtk.PackType pack_type);
2899- public int get_current_page ();
2900- public unowned string get_group_name ();
2901- public unowned Gtk.Widget get_menu_label (Gtk.Widget child);
2902- public unowned string get_menu_label_text (Gtk.Widget child);
2903- public int get_n_pages ();
2904- public unowned Gtk.Widget get_nth_page (int page_num);
2905- public bool get_scrollable ();
2906- public bool get_show_border ();
2907- public bool get_show_tabs ();
2908- public bool get_tab_detachable (Gtk.Widget child);
2909- public uint16 get_tab_hborder ();
2910- public unowned Gtk.Widget get_tab_label (Gtk.Widget child);
2911- public unowned string get_tab_label_text (Gtk.Widget child);
2912- public Gtk.PositionType get_tab_pos ();
2913- public bool get_tab_reorderable (Gtk.Widget child);
2914- public uint16 get_tab_vborder ();
2915- public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
2916- [CCode (vfunc_name = "insert_page")]
2917- public virtual int insert_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label, int position);
2918- public void next_page ();
2919- public int page_num (Gtk.Widget child);
2920- public void popup_disable ();
2921- public void popup_enable ();
2922- public int prepend_page (Gtk.Widget child, Gtk.Widget? tab_label = null);
2923- public int prepend_page_menu (Gtk.Widget child, Gtk.Widget? tab_label, Gtk.Widget? menu_label);
2924- public void prev_page ();
2925- public void remove_page (int page_num);
2926- public void reorder_child (Gtk.Widget child, int position);
2927- public void set_action_widget (Gtk.Widget widget, Gtk.PackType pack_type);
2928- public void set_current_page (int page_num);
2929- public void set_group_name (string group_name);
2930- public void set_menu_label (Gtk.Widget child, Gtk.Widget? menu_label);
2931- public void set_menu_label_text (Gtk.Widget child, string menu_text);
2932- public void set_scrollable (bool scrollable);
2933- public void set_show_border (bool show_border);
2934- public void set_show_tabs (bool show_tabs);
2935- public void set_tab_detachable (Gtk.Widget child, bool detachable);
2936- public void set_tab_label (Gtk.Widget child, Gtk.Widget? tab_label);
2937- public void set_tab_label_text (Gtk.Widget child, string tab_text);
2938- public void set_tab_pos (Gtk.PositionType pos);
2939- public void set_tab_reorderable (Gtk.Widget child, bool reorderable);
2940- [NoAccessorMethod]
2941- public bool enable_popup { get; set; }
2942- public string group_name { get; set; }
2943- [NoAccessorMethod]
2944- public int page { get; set; }
2945- public bool scrollable { get; set; }
2946- public bool show_border { get; set; }
2947- public bool show_tabs { get; set; }
2948- public Gtk.PositionType tab_pos { get; set; }
2949- public virtual signal bool change_current_page (int offset);
2950- public virtual signal unowned Gtk.Notebook create_window (Gtk.Widget page, int x, int y);
2951- public virtual signal bool focus_tab (Gtk.NotebookTab type);
2952- public virtual signal void move_focus_out (Gtk.DirectionType direction);
2953- public virtual signal void page_added (Gtk.Widget child, uint page_num);
2954- public virtual signal void page_removed (Gtk.Widget child, uint page_num);
2955- public virtual signal void page_reordered (Gtk.Widget child, uint page_num);
2956- public virtual signal bool reorder_tab (Gtk.DirectionType direction, bool move_to_last);
2957- public virtual signal bool select_page (bool move_focus);
2958- public virtual signal void switch_page (Gtk.Widget page, uint page_num);
2959- }
2960- [CCode (cheader_filename = "gtk/gtk.h")]
2961- public class NumerableIcon : GLib.EmblemedIcon, GLib.Icon {
2962- [CCode (has_construct_function = false, type = "GIcon*")]
2963- public NumerableIcon (GLib.Icon base_icon);
2964- public unowned GLib.Icon get_background_gicon ();
2965- public unowned string get_background_icon_name ();
2966- public int get_count ();
2967- public unowned string get_label ();
2968- public unowned Gtk.StyleContext get_style_context ();
2969- public void set_background_gicon (GLib.Icon icon);
2970- public void set_background_icon_name (string icon_name);
2971- public void set_count (int count);
2972- public void set_label (string label);
2973- public void set_style_context (Gtk.StyleContext style);
2974- [CCode (has_construct_function = false, type = "GIcon*")]
2975- public NumerableIcon.with_style_context (GLib.Icon base_icon, Gtk.StyleContext context);
2976- [NoAccessorMethod]
2977- public GLib.Icon background_icon { owned get; set; }
2978- public string background_icon_name { get; set; }
2979- public int count { get; set; }
2980- public string label { get; set; }
2981- public Gtk.StyleContext style_context { get; set; }
2982- }
2983- [CCode (cheader_filename = "gtk/gtk.h")]
2984- public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
2985- [CCode (has_construct_function = false, type = "GtkWidget*")]
2986- public OffscreenWindow ();
2987- public unowned Gdk.Pixbuf get_pixbuf ();
2988- public unowned Cairo.Surface get_surface ();
2989- }
2990- [CCode (cheader_filename = "gtk/gtk.h")]
2991- public class Overlay : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
2992- [CCode (has_construct_function = false, type = "GtkWidget*")]
2993- public Overlay ();
2994- public void add_overlay (Gtk.Widget widget);
2995- public virtual signal bool get_child_position (Gtk.Widget widget, Gdk.Rectangle allocation);
2996- }
2997- [CCode (cheader_filename = "gtk/gtk.h")]
2998- [Compact]
2999- public class PageRange {
3000- public int end;
3001- public int start;
3002- }
3003- [CCode (cheader_filename = "gtk/gtk.h")]
3004- public class PageSetup : GLib.Object {
3005- [CCode (has_construct_function = false)]
3006- public PageSetup ();
3007- public Gtk.PageSetup copy ();
3008- [CCode (has_construct_function = false)]
3009- public PageSetup.from_file (string file_name) throws GLib.Error;
3010- [CCode (has_construct_function = false)]
3011- public PageSetup.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3012- public double get_bottom_margin (Gtk.Unit unit);
3013- public double get_left_margin (Gtk.Unit unit);
3014- public Gtk.PageOrientation get_orientation ();
3015- public double get_page_height (Gtk.Unit unit);
3016- public double get_page_width (Gtk.Unit unit);
3017- public double get_paper_height (Gtk.Unit unit);
3018- public unowned Gtk.PaperSize get_paper_size ();
3019- public double get_paper_width (Gtk.Unit unit);
3020- public double get_right_margin (Gtk.Unit unit);
3021- public double get_top_margin (Gtk.Unit unit);
3022- public bool load_file (string file_name) throws GLib.Error;
3023- public bool load_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3024- public void set_bottom_margin (double margin, Gtk.Unit unit);
3025- public void set_left_margin (double margin, Gtk.Unit unit);
3026- public void set_orientation (Gtk.PageOrientation orientation);
3027- public void set_paper_size (Gtk.PaperSize size);
3028- public void set_paper_size_and_default_margins (Gtk.PaperSize size);
3029- public void set_right_margin (double margin, Gtk.Unit unit);
3030- public void set_top_margin (double margin, Gtk.Unit unit);
3031- public bool to_file (string file_name) throws GLib.Error;
3032- public void to_key_file (GLib.KeyFile key_file, string group_name);
3033- }
3034- [CCode (cheader_filename = "gtk/gtk.h")]
3035- public class Paned : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3036- [CCode (has_construct_function = false, type = "GtkWidget*")]
3037- public Paned (Gtk.Orientation orientation);
3038- public void add1 (Gtk.Widget child);
3039- public void add2 (Gtk.Widget child);
3040- public unowned Gtk.Widget get_child1 ();
3041- public unowned Gtk.Widget get_child2 ();
3042- public unowned Gdk.Window get_handle_window ();
3043- public int get_position ();
3044- public void pack1 (Gtk.Widget child, bool resize, bool shrink);
3045- public void pack2 (Gtk.Widget child, bool resize, bool shrink);
3046- public void set_position (int position);
3047- [NoAccessorMethod]
3048- public int max_position { get; }
3049- [NoAccessorMethod]
3050- public int min_position { get; }
3051- public int position { get; set; }
3052- [NoAccessorMethod]
3053- public bool position_set { get; set; }
3054- public virtual signal bool accept_position ();
3055- public virtual signal bool cancel_position ();
3056- public virtual signal bool cycle_child_focus (bool reverse);
3057- public virtual signal bool cycle_handle_focus (bool reverse);
3058- public virtual signal bool move_handle (Gtk.ScrollType scroll);
3059- public virtual signal bool toggle_handle_focus ();
3060- }
3061- [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_paper_size_copy", type_id = "gtk_paper_size_get_type ()")]
3062- [Compact]
3063- public class PaperSize {
3064- [CCode (has_construct_function = false)]
3065- public PaperSize (string name);
3066- public Gtk.PaperSize copy ();
3067- [CCode (has_construct_function = false)]
3068- public PaperSize.custom (string name, string display_name, double width, double height, Gtk.Unit unit);
3069- [CCode (has_construct_function = false)]
3070- public PaperSize.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3071- [CCode (has_construct_function = false)]
3072- public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height);
3073- public static unowned string get_default ();
3074- public double get_default_bottom_margin (Gtk.Unit unit);
3075- public double get_default_left_margin (Gtk.Unit unit);
3076- public double get_default_right_margin (Gtk.Unit unit);
3077- public double get_default_top_margin (Gtk.Unit unit);
3078- public unowned string get_display_name ();
3079- public double get_height (Gtk.Unit unit);
3080- public unowned string get_name ();
3081- public static GLib.List<Gtk.PaperSize> get_paper_sizes (bool include_custom);
3082- public unowned string get_ppd_name ();
3083- public double get_width (Gtk.Unit unit);
3084- public bool is_custom ();
3085- public bool is_equal (Gtk.PaperSize size2);
3086- public void set_size (double width, double height, Gtk.Unit unit);
3087- public void to_key_file (GLib.KeyFile key_file, string group_name);
3088- }
3089- [CCode (cheader_filename = "gtk/gtkx.h")]
3090- public class Plug : Gtk.Window, Atk.Implementor, Gtk.Buildable {
3091- [CCode (has_construct_function = false, type = "GtkWidget*")]
3092- public Plug (X.Window socket_id);
3093- public void @construct (X.Window socket_id);
3094- public void construct_for_display (Gdk.Display display, X.Window socket_id);
3095- [CCode (has_construct_function = false, type = "GtkWidget*")]
3096- public Plug.for_display (Gdk.Display display, X.Window socket_id);
3097- public bool get_embedded ();
3098- public X.Window get_id ();
3099- public unowned Gdk.Window get_socket_window ();
3100- public bool embedded { get; }
3101- public Gdk.Window socket_window { get; }
3102- }
3103- [CCode (cheader_filename = "gtk/gtk.h")]
3104- public class PrintContext : GLib.Object {
3105- [CCode (has_construct_function = false)]
3106- protected PrintContext ();
3107- public unowned Pango.Context create_pango_context ();
3108- public unowned Pango.Layout create_pango_layout ();
3109- public unowned Cairo.Context get_cairo_context ();
3110- public double get_dpi_x ();
3111- public double get_dpi_y ();
3112- public bool get_hard_margins (double top, double bottom, double left, double right);
3113- public double get_height ();
3114- public unowned Gtk.PageSetup get_page_setup ();
3115- public unowned Pango.FontMap get_pango_fontmap ();
3116- public double get_width ();
3117- public void set_cairo_context (Cairo.Context cr, double dpi_x, double dpi_y);
3118- }
3119- [CCode (cheader_filename = "gtk/gtk.h")]
3120- public class PrintOperation : GLib.Object, Gtk.PrintOperationPreview {
3121- [CCode (has_construct_function = false)]
3122- public PrintOperation ();
3123- public void cancel ();
3124- public void draw_page_finish ();
3125- public unowned Gtk.PageSetup get_default_page_setup ();
3126- public bool get_embed_page_setup ();
3127- public void get_error () throws GLib.Error;
3128- public bool get_has_selection ();
3129- public int get_n_pages_to_print ();
3130- public unowned Gtk.PrintSettings get_print_settings ();
3131- public Gtk.PrintStatus get_status ();
3132- public unowned string get_status_string ();
3133- public bool get_support_selection ();
3134- public bool is_finished ();
3135- public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window parent) throws GLib.Error;
3136- public void set_allow_async (bool allow_async);
3137- public void set_current_page (int current_page);
3138- public void set_custom_tab_label (string label);
3139- public void set_default_page_setup (Gtk.PageSetup default_page_setup);
3140- public void set_defer_drawing ();
3141- public void set_embed_page_setup (bool embed);
3142- public void set_export_filename (string filename);
3143- public void set_has_selection (bool has_selection);
3144- public void set_job_name (string job_name);
3145- public void set_n_pages (int n_pages);
3146- public void set_print_settings (Gtk.PrintSettings print_settings);
3147- public void set_show_progress (bool show_progress);
3148- public void set_support_selection (bool support_selection);
3149- public void set_track_print_status (bool track_status);
3150- public void set_unit (Gtk.Unit unit);
3151- public void set_use_full_page (bool full_page);
3152- [NoAccessorMethod]
3153- public bool allow_async { get; set; }
3154- [NoAccessorMethod]
3155- public int current_page { get; set; }
3156- [NoAccessorMethod]
3157- public string custom_tab_label { owned get; set; }
3158- public Gtk.PageSetup default_page_setup { get; set; }
3159- public bool embed_page_setup { get; set; }
3160- [NoAccessorMethod]
3161- public string export_filename { owned get; set; }
3162- public bool has_selection { get; set; }
3163- [NoAccessorMethod]
3164- public string job_name { owned get; set; }
3165- [NoAccessorMethod]
3166- public int n_pages { get; set; }
3167- public int n_pages_to_print { get; }
3168- public Gtk.PrintSettings print_settings { get; set; }
3169- [NoAccessorMethod]
3170- public bool show_progress { get; set; }
3171- public Gtk.PrintStatus status { get; }
3172- public string status_string { get; }
3173- public bool support_selection { get; set; }
3174- [NoAccessorMethod]
3175- public bool track_print_status { get; set; }
3176- [NoAccessorMethod]
3177- public Gtk.Unit unit { get; set; }
3178- [NoAccessorMethod]
3179- public bool use_full_page { get; set; }
3180- public virtual signal void begin_print (Gtk.PrintContext context);
3181- public virtual signal unowned GLib.Object create_custom_widget ();
3182- public virtual signal void custom_widget_apply (Gtk.Widget widget);
3183- public virtual signal void done (Gtk.PrintOperationResult result);
3184- public virtual signal void draw_page (Gtk.PrintContext context, int page_nr);
3185- public virtual signal void end_print (Gtk.PrintContext context);
3186- public virtual signal bool paginate (Gtk.PrintContext context);
3187- public virtual signal bool preview (Gtk.PrintOperationPreview preview, Gtk.PrintContext context, Gtk.Window parent);
3188- public virtual signal void request_page_setup (Gtk.PrintContext context, int page_nr, Gtk.PageSetup setup);
3189- public virtual signal void status_changed ();
3190- public virtual signal void update_custom_widget (Gtk.Widget widget, Gtk.PageSetup setup, Gtk.PrintSettings settings);
3191- }
3192- [CCode (cheader_filename = "gtk/gtk.h")]
3193- public class PrintSettings : GLib.Object {
3194- [CCode (has_construct_function = false)]
3195- public PrintSettings ();
3196- public Gtk.PrintSettings copy ();
3197- public void @foreach (Gtk.PrintSettingsFunc func);
3198- [CCode (has_construct_function = false)]
3199- public PrintSettings.from_file (string file_name) throws GLib.Error;
3200- [CCode (has_construct_function = false)]
3201- public PrintSettings.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3202- public unowned string @get (string key);
3203- public bool get_bool (string key);
3204- public bool get_collate ();
3205- public unowned string get_default_source ();
3206- public unowned string get_dither ();
3207- public double get_double (string key);
3208- public double get_double_with_default (string key, double def);
3209- public Gtk.PrintDuplex get_duplex ();
3210- public unowned string get_finishings ();
3211- public int get_int (string key);
3212- public int get_int_with_default (string key, int def);
3213- public double get_length (string key, Gtk.Unit unit);
3214- public unowned string get_media_type ();
3215- public int get_n_copies ();
3216- public int get_number_up ();
3217- public Gtk.NumberUpLayout get_number_up_layout ();
3218- public Gtk.PageOrientation get_orientation ();
3219- public unowned string get_output_bin ();
3220- public unowned Gtk.PageRange get_page_ranges (int num_ranges);
3221- public Gtk.PageSet get_page_set ();
3222- public double get_paper_height (Gtk.Unit unit);
3223- public unowned Gtk.PaperSize get_paper_size ();
3224- public double get_paper_width (Gtk.Unit unit);
3225- public Gtk.PrintPages get_print_pages ();
3226- public unowned string get_printer ();
3227- public double get_printer_lpi ();
3228- public Gtk.PrintQuality get_quality ();
3229- public int get_resolution ();
3230- public int get_resolution_x ();
3231- public int get_resolution_y ();
3232- public bool get_reverse ();
3233- public double get_scale ();
3234- public bool get_use_color ();
3235- public bool has_key (string key);
3236- public bool load_file (string file_name) throws GLib.Error;
3237- public bool load_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error;
3238- public void @set (string key, string value);
3239- public void set_bool (string key, bool value);
3240- public void set_collate (bool collate);
3241- public void set_default_source (string default_source);
3242- public void set_dither (string dither);
3243- public void set_double (string key, double value);
3244- public void set_duplex (Gtk.PrintDuplex duplex);
3245- public void set_finishings (string finishings);
3246- public void set_int (string key, int value);
3247- public void set_length (string key, double value, Gtk.Unit unit);
3248- public void set_media_type (string media_type);
3249- public void set_n_copies (int num_copies);
3250- public void set_number_up (int number_up);
3251- public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout);
3252- public void set_orientation (Gtk.PageOrientation orientation);
3253- public void set_output_bin (string output_bin);
3254- public void set_page_ranges (Gtk.PageRange page_ranges, int num_ranges);
3255- public void set_page_set (Gtk.PageSet page_set);
3256- public void set_paper_height (double height, Gtk.Unit unit);
3257- public void set_paper_size (Gtk.PaperSize paper_size);
3258- public void set_paper_width (double width, Gtk.Unit unit);
3259- public void set_print_pages (Gtk.PrintPages pages);
3260- public void set_printer (string printer);
3261- public void set_printer_lpi (double lpi);
3262- public void set_quality (Gtk.PrintQuality quality);
3263- public void set_resolution (int resolution);
3264- public void set_resolution_xy (int resolution_x, int resolution_y);
3265- public void set_reverse (bool reverse);
3266- public void set_scale (double scale);
3267- public void set_use_color (bool use_color);
3268- public bool to_file (string file_name) throws GLib.Error;
3269- public void to_key_file (GLib.KeyFile key_file, string group_name);
3270- public void unset (string key);
3271- }
3272- [CCode (cheader_filename = "gtk/gtk.h")]
3273- public class ProgressBar : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3274- [CCode (has_construct_function = false, type = "GtkWidget*")]
3275- public ProgressBar ();
3276- public Pango.EllipsizeMode get_ellipsize ();
3277- public double get_fraction ();
3278- public bool get_inverted ();
3279- public double get_pulse_step ();
3280- public bool get_show_text ();
3281- public unowned string get_text ();
3282- public void pulse ();
3283- public void set_ellipsize (Pango.EllipsizeMode mode);
3284- public void set_fraction (double fraction);
3285- public void set_inverted (bool inverted);
3286- public void set_pulse_step (double fraction);
3287- public void set_show_text (bool show_text);
3288- public void set_text (string text);
3289- public Pango.EllipsizeMode ellipsize { get; set; }
3290- public double fraction { get; set; }
3291- public bool inverted { get; set; }
3292- public double pulse_step { get; set; }
3293- public bool show_text { get; set; }
3294- public string text { get; set; }
3295- }
3296- [CCode (cheader_filename = "gtk/gtk.h")]
3297- public class RadioAction : Gtk.ToggleAction, Gtk.Buildable {
3298- [CCode (has_construct_function = false)]
3299- public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
3300- public int get_current_value ();
3301- public unowned GLib.SList<Gtk.RadioAction> get_group ();
3302- public void join_group (Gtk.RadioAction group_source);
3303- public void set_current_value (int current_value);
3304- public void set_group (GLib.SList<Gtk.RadioAction> group);
3305- public int current_value { get; set; }
3306- [NoAccessorMethod]
3307- public Gtk.RadioAction group { set; }
3308- [NoAccessorMethod]
3309- public int value { get; set; }
3310- public virtual signal void changed (Gtk.RadioAction current);
3311- }
3312- [CCode (cheader_filename = "gtk/gtk.h")]
3313- public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3314- [CCode (has_construct_function = false, type = "GtkWidget*")]
3315- public RadioButton (GLib.SList<Gtk.RadioButton>? group);
3316- [CCode (has_construct_function = false, type = "GtkWidget*")]
3317- public RadioButton.from_widget (Gtk.RadioButton radio_group_member);
3318- public unowned GLib.SList<Gtk.RadioButton> get_group ();
3319- public void join_group (Gtk.RadioButton group_source);
3320- public void set_group (GLib.SList<Gtk.RadioButton> group);
3321- [CCode (has_construct_function = false, type = "GtkWidget*")]
3322- public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
3323- [CCode (has_construct_function = false, type = "GtkWidget*")]
3324- public RadioButton.with_label_from_widget (Gtk.RadioButton radio_group_member, string label);
3325- [CCode (has_construct_function = false, type = "GtkWidget*")]
3326- public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
3327- [CCode (has_construct_function = false, type = "GtkWidget*")]
3328- public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton radio_group_member, string label);
3329- [NoAccessorMethod]
3330- public Gtk.RadioButton group { set; }
3331- public virtual signal void group_changed ();
3332- }
3333- [CCode (cheader_filename = "gtk/gtk.h")]
3334- public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3335- [CCode (has_construct_function = false, type = "GtkWidget*")]
3336- public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem> group);
3337- [CCode (has_construct_function = false, type = "GtkWidget*")]
3338- public RadioMenuItem.from_widget (Gtk.RadioMenuItem group);
3339- public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
3340- public void set_group (GLib.SList<Gtk.RadioMenuItem> group);
3341- [CCode (has_construct_function = false, type = "GtkWidget*")]
3342- public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem> group, string label);
3343- [CCode (has_construct_function = false, type = "GtkWidget*")]
3344- public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem group, string label);
3345- [CCode (has_construct_function = false, type = "GtkWidget*")]
3346- public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem> group, string label);
3347- [CCode (has_construct_function = false, type = "GtkWidget*")]
3348- public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem group, string label);
3349- public Gtk.RadioMenuItem group { set; }
3350- public virtual signal void group_changed ();
3351- }
3352- [CCode (cheader_filename = "gtk/gtk.h")]
3353- public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3354- [CCode (has_construct_function = false, type = "GtkToolItem*")]
3355- public RadioToolButton (GLib.SList<Gtk.RadioToolButton>? group);
3356- [CCode (has_construct_function = false, type = "GtkToolItem*")]
3357- public RadioToolButton.from_stock (GLib.SList<Gtk.RadioToolButton>? group, string stock_id);
3358- [CCode (has_construct_function = false, type = "GtkToolItem*")]
3359- public RadioToolButton.from_widget (Gtk.RadioToolButton group);
3360- public unowned GLib.SList<Gtk.RadioToolButton> get_group ();
3361- public void set_group (GLib.SList<Gtk.RadioToolButton> group);
3362- [CCode (has_construct_function = false, type = "GtkToolItem*")]
3363- public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton group, string stock_id);
3364- public Gtk.RadioToolButton group { set; }
3365- }
3366- [CCode (cheader_filename = "gtk/gtk.h")]
3367- public class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3368- [CCode (has_construct_function = false)]
3369- protected Range ();
3370- public unowned Gtk.Adjustment get_adjustment ();
3371- public double get_fill_level ();
3372- public bool get_flippable ();
3373- public bool get_inverted ();
3374- public Gtk.SensitivityType get_lower_stepper_sensitivity ();
3375- public int get_min_slider_size ();
3376- [NoWrapper]
3377- public virtual void get_range_border (Gtk.Border border_);
3378- public void get_range_rect (Gdk.Rectangle range_rect);
3379- public bool get_restrict_to_fill_level ();
3380- public int get_round_digits ();
3381- public bool get_show_fill_level ();
3382- public void get_slider_range (out int slider_start, out int slider_end);
3383- public bool get_slider_size_fixed ();
3384- public Gtk.SensitivityType get_upper_stepper_sensitivity ();
3385- public double get_value ();
3386- public void set_adjustment (Gtk.Adjustment adjustment);
3387- public void set_fill_level (double fill_level);
3388- public void set_flippable (bool flippable);
3389- public void set_increments (double step, double page);
3390- public void set_inverted (bool setting);
3391- public void set_lower_stepper_sensitivity (Gtk.SensitivityType sensitivity);
3392- public void set_min_slider_size (int min_size);
3393- public void set_range (double min, double max);
3394- public void set_restrict_to_fill_level (bool restrict_to_fill_level);
3395- public void set_round_digits (int round_digits);
3396- public void set_show_fill_level (bool show_fill_level);
3397- public void set_slider_size_fixed (bool size_fixed);
3398- public void set_upper_stepper_sensitivity (Gtk.SensitivityType sensitivity);
3399- public void set_value (double value);
3400- public Gtk.Adjustment adjustment { get; set construct; }
3401- public double fill_level { get; set; }
3402- public bool inverted { get; set; }
3403- public Gtk.SensitivityType lower_stepper_sensitivity { get; set; }
3404- public bool restrict_to_fill_level { get; set; }
3405- public int round_digits { get; set; }
3406- public bool show_fill_level { get; set; }
3407- public Gtk.SensitivityType upper_stepper_sensitivity { get; set; }
3408- public virtual signal void adjust_bounds (double new_value);
3409- public virtual signal bool change_value (Gtk.ScrollType scroll, double new_value);
3410- public virtual signal void move_slider (Gtk.ScrollType scroll);
3411- public virtual signal void value_changed ();
3412- }
3413- [CCode (cheader_filename = "gtk/gtk.h")]
3414- [Compact]
3415- public class RcContext {
3416- }
3417- [CCode (cheader_filename = "gtk/gtk.h")]
3418- [Compact]
3419- public class RcProperty {
3420- public weak string origin;
3421- public GLib.Quark property_name;
3422- public GLib.Quark type_name;
3423- public GLib.Value value;
3424- public static bool parse_border (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3425- public static bool parse_color (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3426- public static bool parse_enum (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3427- public static bool parse_flags (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3428- public static bool parse_requisition (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
3429- }
3430- [CCode (cheader_filename = "gtk/gtk.h")]
3431- public class RcStyle : GLib.Object {
3432- [CCode (array_length = false)]
3433- public weak Gdk.Color[] @base;
3434- [CCode (array_length = false)]
3435- public weak Gdk.Color[] bg;
3436- [CCode (array_length = false)]
3437- public weak string[] bg_pixmap_name;
3438- [CCode (array_length = false)]
3439- public weak Gtk.RcFlags[] color_flags;
3440- public uint engine_specified;
3441- [CCode (array_length = false)]
3442- public weak Gdk.Color[] fg;
3443- public weak Pango.FontDescription font_desc;
3444- public weak GLib.SList icon_factories;
3445- public weak string name;
3446- public weak GLib.Array rc_properties;
3447- public weak GLib.SList rc_style_lists;
3448- [CCode (array_length = false)]
3449- public weak Gdk.Color[] text;
3450- public int xthickness;
3451- public int ythickness;
3452- [CCode (has_construct_function = false)]
3453- public RcStyle ();
3454- public Gtk.RcStyle copy ();
3455- [NoWrapper]
3456- public virtual unowned Gtk.RcStyle create_rc_style ();
3457- [NoWrapper]
3458- public virtual Gtk.Style create_style ();
3459- [NoWrapper]
3460- public virtual void merge (Gtk.RcStyle src);
3461- [NoWrapper]
3462- public virtual uint parse (Gtk.Settings settings, GLib.Scanner scanner);
3463- }
3464- [CCode (cheader_filename = "gtk/gtk.h")]
3465- public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser {
3466- [CCode (has_construct_function = false, type = "GtkAction*")]
3467- public RecentAction (string name, string label, string tooltip, string stock_id);
3468- [CCode (has_construct_function = false, type = "GtkAction*")]
3469- public RecentAction.for_manager (string name, string label, string tooltip, string stock_id, Gtk.RecentManager manager);
3470- public bool get_show_numbers ();
3471- public void set_show_numbers (bool show_numbers);
3472- public bool show_numbers { get; set; }
3473- }
3474- [CCode (cheader_filename = "gtk/gtk.h")]
3475- public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
3476- [CCode (has_construct_function = false, type = "GtkWidget*")]
3477- public RecentChooserDialog (string title, Gtk.Window parent, ...);
3478- [CCode (has_construct_function = false, type = "GtkWidget*")]
3479- public RecentChooserDialog.for_manager (string title, Gtk.Window parent, Gtk.RecentManager manager, ...);
3480- }
3481- [CCode (cheader_filename = "gtk/gtk.h")]
3482- public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser, Gtk.Activatable {
3483- [CCode (has_construct_function = false, type = "GtkWidget*")]
3484- public RecentChooserMenu ();
3485- [CCode (has_construct_function = false, type = "GtkWidget*")]
3486- public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
3487- public bool get_show_numbers ();
3488- [NoWrapper]
3489- public virtual void gtk_recent1 ();
3490- [NoWrapper]
3491- public virtual void gtk_recent2 ();
3492- [NoWrapper]
3493- public virtual void gtk_recent3 ();
3494- [NoWrapper]
3495- public virtual void gtk_recent4 ();
3496- public void set_show_numbers (bool show_numbers);
3497- public bool show_numbers { get; set; }
3498- }
3499- [CCode (cheader_filename = "gtk/gtk.h")]
3500- public class RecentChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
3501- [CCode (has_construct_function = false, type = "GtkWidget*")]
3502- public RecentChooserWidget ();
3503- [CCode (has_construct_function = false, type = "GtkWidget*")]
3504- public RecentChooserWidget.for_manager (Gtk.RecentManager manager);
3505- }
3506- [CCode (cheader_filename = "gtk/gtk.h")]
3507- public class RecentFilter : GLib.InitiallyUnowned, Gtk.Buildable {
3508- [CCode (has_construct_function = false)]
3509- public RecentFilter ();
3510- public void add_age (int days);
3511- public void add_application (string application);
3512- public void add_custom (Gtk.RecentFilterFlags needed, owned Gtk.RecentFilterFunc func);
3513- public void add_group (string group);
3514- public void add_mime_type (string mime_type);
3515- public void add_pattern (string pattern);
3516- public void add_pixbuf_formats ();
3517- public bool filter (Gtk.RecentFilterInfo filter_info);
3518- public Gtk.RecentFilterFlags get_needed ();
3519- }
3520- [CCode (cheader_filename = "gtk/gtk.h")]
3521- [Compact]
3522- public class RecentFilterInfo {
3523- public int age;
3524- public weak string applications;
3525- public Gtk.RecentFilterFlags contains;
3526- public weak string display_name;
3527- public weak string groups;
3528- public weak string mime_type;
3529- public weak string uri;
3530- }
3531- [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")]
3532- [Compact]
3533- public class RecentInfo {
3534- public unowned GLib.AppInfo create_app_info (string app_name) throws GLib.Error;
3535- public bool exists ();
3536- public ulong get_added ();
3537- public int get_age ();
3538- public bool get_application_info (string app_name, out unowned string app_exec, out uint count, out ulong time_);
3539- [CCode (array_length_type = "gsize")]
3540- public string[] get_applications ();
3541- public unowned string get_description ();
3542- public unowned string get_display_name ();
3543- public unowned GLib.Icon get_gicon ();
3544- [CCode (array_length_type = "gsize")]
3545- public string[] get_groups ();
3546- public Gdk.Pixbuf? get_icon (int size);
3547- public unowned string get_mime_type ();
3548- public ulong get_modified ();
3549- public bool get_private_hint ();
3550- public string get_short_name ();
3551- public unowned string get_uri ();
3552- public string? get_uri_display ();
3553- public ulong get_visited ();
3554- public bool has_application (string app_name);
3555- public bool has_group (string group_name);
3556- public bool is_local ();
3557- public string last_application ();
3558- public bool match (Gtk.RecentInfo info_b);
3559- }
3560- [CCode (cheader_filename = "gtk/gtk.h")]
3561- public class RecentManager : GLib.Object {
3562- [CCode (has_construct_function = false)]
3563- public RecentManager ();
3564- public bool add_full (string uri, Gtk.RecentData recent_data);
3565- public bool add_item (string uri);
3566- public static GLib.Quark error_quark ();
3567- public static unowned Gtk.RecentManager get_default ();
3568- public GLib.List<Gtk.RecentInfo> get_items ();
3569- public bool has_item (string uri);
3570- public unowned Gtk.RecentInfo lookup_item (string uri) throws GLib.Error;
3571- public bool move_item (string uri, string new_uri) throws GLib.Error;
3572- public int purge_items () throws GLib.Error;
3573- public bool remove_item (string uri) throws GLib.Error;
3574- [NoAccessorMethod]
3575- public string filename { owned get; construct; }
3576- [NoAccessorMethod]
3577- public int size { get; }
3578- public virtual signal void changed ();
3579- }
3580- [CCode (cheader_filename = "gtk/gtk.h")]
3581- [Compact]
3582- public class RequestedSize {
3583- public void* data;
3584- public int minimum_size;
3585- public int natural_size;
3586- }
3587- [CCode (cheader_filename = "gtk/gtk.h")]
3588- public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3589- [CCode (has_construct_function = false, type = "GtkWidget*")]
3590- public Scale (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
3591- public void add_mark (double value, Gtk.PositionType position, string? markup);
3592- public void clear_marks ();
3593- public int get_digits ();
3594- public bool get_draw_value ();
3595- public bool get_has_origin ();
3596- public unowned Pango.Layout get_layout ();
3597- public virtual void get_layout_offsets (out int x, out int y);
3598- public Gtk.PositionType get_value_pos ();
3599- public void set_digits (int digits);
3600- public void set_draw_value (bool draw_value);
3601- public void set_has_origin (bool has_origin);
3602- public void set_value_pos (Gtk.PositionType pos);
3603- [CCode (has_construct_function = false, type = "GtkWidget*")]
3604- public Scale.with_range (Gtk.Orientation orientation, double min, double max, double step);
3605- public int digits { get; set; }
3606- public bool draw_value { get; set; }
3607- public bool has_origin { get; set; }
3608- public Gtk.PositionType value_pos { get; set; }
3609- public virtual signal string format_value (double value);
3610- }
3611- [CCode (cheader_filename = "gtk/gtk.h")]
3612- public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Orientable {
3613- [CCode (has_construct_function = false, type = "GtkWidget*")]
3614- public ScaleButton (Gtk.IconSize size, double min, double max, double step, [CCode (array_length = false)] string[] icons);
3615- public unowned Gtk.Adjustment get_adjustment ();
3616- public unowned Gtk.Widget get_minus_button ();
3617- public unowned Gtk.Widget get_plus_button ();
3618- public unowned Gtk.Widget get_popup ();
3619- public double get_value ();
3620- public void set_adjustment (Gtk.Adjustment adjustment);
3621- public void set_icons ([CCode (array_length = false)] string[] icons);
3622- public void set_value (double value);
3623- public Gtk.Adjustment adjustment { get; set; }
3624- [CCode (array_length = false, array_null_terminated = true)]
3625- [NoAccessorMethod]
3626- public string[] icons { owned get; set; }
3627- [NoAccessorMethod]
3628- public Gtk.IconSize size { get; set; }
3629- public double value { get; set; }
3630- public virtual signal void popdown ();
3631- public virtual signal void popup ();
3632- public virtual signal void value_changed (double value);
3633- }
3634- [CCode (cheader_filename = "gtk/gtk.h")]
3635- public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3636- [CCode (has_construct_function = false, type = "GtkWidget*")]
3637- public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment adjustment);
3638- }
3639- [CCode (cheader_filename = "gtk/gtk.h")]
3640- public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
3641- [CCode (has_construct_function = false, type = "GtkWidget*")]
3642- public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
3643- public void add_with_viewport (Gtk.Widget child);
3644- public unowned Gtk.Adjustment get_hadjustment ();
3645- public unowned Gtk.Widget get_hscrollbar ();
3646- public int get_min_content_height ();
3647- public int get_min_content_width ();
3648- public Gtk.CornerType get_placement ();
3649- public void get_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
3650- public Gtk.ShadowType get_shadow_type ();
3651- public unowned Gtk.Adjustment get_vadjustment ();
3652- public unowned Gtk.Widget get_vscrollbar ();
3653- public void set_hadjustment (Gtk.Adjustment hadjustment);
3654- public void set_min_content_height (int height);
3655- public void set_min_content_width (int width);
3656- public void set_placement (Gtk.CornerType window_placement);
3657- public void set_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);
3658- public void set_shadow_type (Gtk.ShadowType type);
3659- public void set_vadjustment (Gtk.Adjustment vadjustment);
3660- public void unset_placement ();
3661- public Gtk.Adjustment hadjustment { get; set construct; }
3662- [NoAccessorMethod]
3663- public Gtk.PolicyType hscrollbar_policy { get; set; }
3664- public int min_content_height { get; set; }
3665- public int min_content_width { get; set; }
3666- public Gtk.ShadowType shadow_type { get; set; }
3667- public Gtk.Adjustment vadjustment { get; set construct; }
3668- [NoAccessorMethod]
3669- public Gtk.PolicyType vscrollbar_policy { get; set; }
3670- [NoAccessorMethod]
3671- public Gtk.CornerType window_placement { get; set; }
3672- [NoAccessorMethod]
3673- public bool window_placement_set { get; set; }
3674- public virtual signal void move_focus_out (Gtk.DirectionType direction);
3675- public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
3676- }
3677- [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_selection_data_copy", type_id = "gtk_selection_data_get_type ()")]
3678- [Compact]
3679- public class SelectionData {
3680- public Gtk.SelectionData copy ();
3681- [CCode (array_length = false)]
3682- public unowned uchar[] get_data ();
3683- public Gdk.Atom get_data_type ();
3684- public unowned uchar[] get_data_with_length (int length);
3685- public unowned Gdk.Display get_display ();
3686- public int get_format ();
3687- public int get_length ();
3688- public Gdk.Pixbuf? get_pixbuf ();
3689- public Gdk.Atom get_selection ();
3690- public Gdk.Atom get_target ();
3691- public bool get_targets (out Gdk.Atom targets, int n_atoms);
3692- public string? get_text ();
3693- [CCode (array_length = false, array_null_terminated = true)]
3694- public string[] get_uris ();
3695- public void @set (Gdk.Atom type, int format, uchar[] data);
3696- public bool set_pixbuf (Gdk.Pixbuf pixbuf);
3697- public bool set_text (string str, int len);
3698- public bool set_uris ([CCode (array_length = false)] string[] uris);
3699- public bool targets_include_image (bool writable);
3700- public bool targets_include_rich_text (Gtk.TextBuffer buffer);
3701- public bool targets_include_text ();
3702- public bool targets_include_uri ();
3703- }
3704- [CCode (cheader_filename = "gtk/gtk.h")]
3705- public class Separator : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
3706- [CCode (has_construct_function = false, type = "GtkWidget*")]
3707- public Separator (Gtk.Orientation orientation);
3708- }
3709- [CCode (cheader_filename = "gtk/gtk.h")]
3710- public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3711- [CCode (has_construct_function = false, type = "GtkWidget*")]
3712- public SeparatorMenuItem ();
3713- }
3714- [CCode (cheader_filename = "gtk/gtk.h")]
3715- public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
3716- [CCode (has_construct_function = false, type = "GtkToolItem*")]
3717- public SeparatorToolItem ();
3718- public bool get_draw ();
3719- public void set_draw (bool draw);
3720- public bool draw { get; set; }
3721- }
3722- [CCode (cheader_filename = "gtk/gtk.h")]
3723- public class Settings : GLib.Object, Gtk.StyleProvider {
3724- [CCode (has_construct_function = false)]
3725- protected Settings ();
3726- public static unowned Gtk.Settings get_default ();
3727- public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
3728- public static void install_property (GLib.ParamSpec pspec);
3729- public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
3730- public void set_double_property (string name, double v_double, string origin);
3731- public void set_long_property (string name, long v_long, string origin);
3732- public void set_property_value (string name, Gtk.SettingsValue svalue);
3733- public void set_string_property (string name, string v_string, string origin);
3734- [NoAccessorMethod]
3735- public GLib.HashTable<string,Gdk.Color> color_hash { owned get; }
3736- [NoAccessorMethod]
3737- public bool gtk_alternative_button_order { get; set; }
3738- [NoAccessorMethod]
3739- public bool gtk_alternative_sort_arrows { get; set; }
3740- [NoAccessorMethod]
3741- public bool gtk_application_prefer_dark_theme { get; set; }
3742- [NoAccessorMethod]
3743- public bool gtk_auto_mnemonics { get; set; }
3744- [NoAccessorMethod]
3745- public bool gtk_button_images { get; set; }
3746- [NoAccessorMethod]
3747- public bool gtk_can_change_accels { get; set; }
3748- [NoAccessorMethod]
3749- public string gtk_color_palette { owned get; set; }
3750- [NoAccessorMethod]
3751- public string gtk_color_scheme { owned get; set; }
3752- [NoAccessorMethod]
3753- public bool gtk_cursor_blink { get; set; }
3754- [NoAccessorMethod]
3755- public int gtk_cursor_blink_time { get; set; }
3756- [NoAccessorMethod]
3757- public int gtk_cursor_blink_timeout { get; set; }
3758- [NoAccessorMethod]
3759- public string gtk_cursor_theme_name { owned get; set; }
3760- [NoAccessorMethod]
3761- public int gtk_cursor_theme_size { get; set; }
3762- [NoAccessorMethod]
3763- public int gtk_dnd_drag_threshold { get; set; }
3764- [NoAccessorMethod]
3765- public int gtk_double_click_distance { get; set; }
3766- [NoAccessorMethod]
3767- public int gtk_double_click_time { get; set; }
3768- [NoAccessorMethod]
3769- public bool gtk_enable_accels { get; set; }
3770- [NoAccessorMethod]
3771- public bool gtk_enable_animations { get; set; }
3772- [NoAccessorMethod]
3773- public bool gtk_enable_event_sounds { get; set; }
3774- [NoAccessorMethod]
3775- public bool gtk_enable_input_feedback_sounds { get; set; }
3776- [NoAccessorMethod]
3777- public bool gtk_enable_mnemonics { get; set; }
3778- [NoAccessorMethod]
3779- public bool gtk_enable_tooltips { get; set; }
3780- [NoAccessorMethod]
3781- public uint gtk_entry_password_hint_timeout { get; set; }
3782- [NoAccessorMethod]
3783- public bool gtk_entry_select_on_focus { get; set; }
3784- [NoAccessorMethod]
3785- public bool gtk_error_bell { get; set; }
3786- [NoAccessorMethod]
3787- public string gtk_fallback_icon_theme { owned get; set; }
3788- [NoAccessorMethod]
3789- public string gtk_file_chooser_backend { owned get; set; }
3790- [NoAccessorMethod]
3791- public string gtk_font_name { owned get; set; }
3792- [NoAccessorMethod]
3793- public uint gtk_fontconfig_timestamp { get; set; }
3794- [NoAccessorMethod]
3795- public string gtk_icon_sizes { owned get; set; }
3796- [NoAccessorMethod]
3797- public string gtk_icon_theme_name { owned get; set; }
3798- [NoAccessorMethod]
3799- public string gtk_im_module { owned get; set; }
3800- [NoAccessorMethod]
3801- public Gtk.IMPreeditStyle gtk_im_preedit_style { get; set; }
3802- [NoAccessorMethod]
3803- public Gtk.IMStatusStyle gtk_im_status_style { get; set; }
3804- [NoAccessorMethod]
3805- public string gtk_key_theme_name { owned get; set; }
3806- [NoAccessorMethod]
3807- public bool gtk_keynav_cursor_only { get; set; }
3808- [NoAccessorMethod]
3809- public bool gtk_keynav_wrap_around { get; set; }
3810- [NoAccessorMethod]
3811- public bool gtk_label_select_on_focus { get; set; }
3812- [NoAccessorMethod]
3813- public string gtk_menu_bar_accel { owned get; set; }
3814- [NoAccessorMethod]
3815- public int gtk_menu_bar_popup_delay { get; set; }
3816- [NoAccessorMethod]
3817- public bool gtk_menu_images { get; set; }
3818- [NoAccessorMethod]
3819- public int gtk_menu_popdown_delay { get; set; }
3820- [NoAccessorMethod]
3821- public int gtk_menu_popup_delay { get; set; }
3822- [NoAccessorMethod]
3823- public string gtk_modules { owned get; set; }
3824- [NoAccessorMethod]
3825- public string gtk_print_backends { owned get; set; }
3826- [NoAccessorMethod]
3827- public string gtk_print_preview_command { owned get; set; }
3828- [NoAccessorMethod]
3829- public int gtk_recent_files_limit { get; set; }
3830- [NoAccessorMethod]
3831- public int gtk_recent_files_max_age { get; set; }
3832- [NoAccessorMethod]
3833- public Gtk.CornerType gtk_scrolled_window_placement { get; set; }
3834- [NoAccessorMethod]
3835- public bool gtk_shell_shows_app_menu { get; set; }
3836- [NoAccessorMethod]
3837- public bool gtk_shell_shows_menubar { get; set; }
3838- [NoAccessorMethod]
3839- public bool gtk_show_input_method_menu { get; set; }
3840- [NoAccessorMethod]
3841- public bool gtk_show_unicode_menu { get; set; }
3842- [NoAccessorMethod]
3843- public string gtk_sound_theme_name { owned get; set; }
3844- [NoAccessorMethod]
3845- public bool gtk_split_cursor { get; set; }
3846- [NoAccessorMethod]
3847- public string gtk_theme_name { owned get; set; }
3848- [NoAccessorMethod]
3849- public int gtk_timeout_expand { get; set; }
3850- [NoAccessorMethod]
3851- public int gtk_timeout_initial { get; set; }
3852- [NoAccessorMethod]
3853- public int gtk_timeout_repeat { get; set; }
3854- [NoAccessorMethod]
3855- public Gtk.IconSize gtk_toolbar_icon_size { get; set; }
3856- [NoAccessorMethod]
3857- public Gtk.ToolbarStyle gtk_toolbar_style { get; set; }
3858- [NoAccessorMethod]
3859- public int gtk_tooltip_browse_mode_timeout { get; set; }
3860- [NoAccessorMethod]
3861- public int gtk_tooltip_browse_timeout { get; set; }
3862- [NoAccessorMethod]
3863- public int gtk_tooltip_timeout { get; set; }
3864- [NoAccessorMethod]
3865- public bool gtk_touchscreen_mode { get; set; }
3866- [NoAccessorMethod]
3867- public Gtk.PolicyType gtk_visible_focus { get; set; }
3868- [NoAccessorMethod]
3869- public int gtk_xft_antialias { get; set; }
3870- [NoAccessorMethod]
3871- public int gtk_xft_dpi { get; set; }
3872- [NoAccessorMethod]
3873- public int gtk_xft_hinting { get; set; }
3874- [NoAccessorMethod]
3875- public string gtk_xft_hintstyle { owned get; set; }
3876- [NoAccessorMethod]
3877- public string gtk_xft_rgba { owned get; set; }
3878- }
3879- [CCode (cheader_filename = "gtk/gtk.h")]
3880- [Compact]
3881- public class SettingsValue {
3882- public weak string origin;
3883- public GLib.Value value;
3884- }
3885- [CCode (cheader_filename = "gtk/gtk.h")]
3886- public class SizeGroup : GLib.Object, Gtk.Buildable {
3887- [CCode (has_construct_function = false)]
3888- public SizeGroup (Gtk.SizeGroupMode mode);
3889- public void add_widget (Gtk.Widget widget);
3890- public bool get_ignore_hidden ();
3891- public Gtk.SizeGroupMode get_mode ();
3892- public unowned GLib.SList<Gtk.Widget> get_widgets ();
3893- public void remove_widget (Gtk.Widget widget);
3894- public void set_ignore_hidden (bool ignore_hidden);
3895- public void set_mode (Gtk.SizeGroupMode mode);
3896- public bool ignore_hidden { get; set; }
3897- public Gtk.SizeGroupMode mode { get; set; }
3898- }
3899- [CCode (cheader_filename = "gtk/gtkx.h")]
3900- public class Socket : Gtk.Container, Atk.Implementor, Gtk.Buildable {
3901- [CCode (has_construct_function = false, type = "GtkWidget*")]
3902- public Socket ();
3903- public void add_id (X.Window window);
3904- public X.Window get_id ();
3905- public unowned Gdk.Window get_plug_window ();
3906- public virtual signal void plug_added ();
3907- public virtual signal bool plug_removed ();
3908- }
3909- [CCode (cheader_filename = "gtk/gtk.h")]
3910- public class SpinButton : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable {
3911- [CCode (has_construct_function = false, type = "GtkWidget*")]
3912- public SpinButton (Gtk.Adjustment adjustment, double climb_rate, uint digits);
3913- public void configure (Gtk.Adjustment adjustment, double climb_rate, uint digits);
3914- public unowned Gtk.Adjustment get_adjustment ();
3915- public uint get_digits ();
3916- public void get_increments (double step, double page);
3917- public bool get_numeric ();
3918- public void get_range (out double min, out double max);
3919- public bool get_snap_to_ticks ();
3920- public Gtk.SpinButtonUpdatePolicy get_update_policy ();
3921- public double get_value ();
3922- public int get_value_as_int ();
3923- public bool get_wrap ();
3924- public void set_adjustment (Gtk.Adjustment adjustment);
3925- public void set_digits (uint digits);
3926- public void set_increments (double step, double page);
3927- public void set_numeric (bool numeric);
3928- public void set_range (double min, double max);
3929- public void set_snap_to_ticks (bool snap_to_ticks);
3930- public void set_update_policy (Gtk.SpinButtonUpdatePolicy policy);
3931- public void set_value (double value);
3932- public void set_wrap (bool wrap);
3933- public void spin (Gtk.SpinType direction, double increment);
3934- public void update ();
3935- [CCode (has_construct_function = false, type = "GtkWidget*")]
3936- public SpinButton.with_range (double min, double max, double step);
3937- public Gtk.Adjustment adjustment { get; set; }
3938- [NoAccessorMethod]
3939- public double climb_rate { get; set; }
3940- public uint digits { get; set; }
3941- public bool numeric { get; set; }
3942- public bool snap_to_ticks { get; set; }
3943- public Gtk.SpinButtonUpdatePolicy update_policy { get; set; }
3944- public double value { get; set; }
3945- public bool wrap { get; set; }
3946- public virtual signal void change_value (Gtk.ScrollType scroll);
3947- public virtual signal int input (out double new_value);
3948- public virtual signal bool output ();
3949- public virtual signal void value_changed ();
3950- public virtual signal void wrapped ();
3951- }
3952- [CCode (cheader_filename = "gtk/gtk.h")]
3953- public class Spinner : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
3954- [CCode (has_construct_function = false, type = "GtkWidget*")]
3955- public Spinner ();
3956- public void start ();
3957- public void stop ();
3958- [NoAccessorMethod]
3959- public bool active { get; set; }
3960- }
3961- [CCode (cheader_filename = "gtk/gtk.h")]
3962- public class StatusIcon : GLib.Object {
3963- [CCode (has_construct_function = false)]
3964- public StatusIcon ();
3965- [CCode (has_construct_function = false)]
3966- public StatusIcon.from_file (string filename);
3967- [CCode (has_construct_function = false)]
3968- public StatusIcon.from_gicon (GLib.Icon icon);
3969- [CCode (has_construct_function = false)]
3970- public StatusIcon.from_icon_name (string icon_name);
3971- [CCode (has_construct_function = false)]
3972- public StatusIcon.from_pixbuf (Gdk.Pixbuf pixbuf);
3973- [CCode (has_construct_function = false)]
3974- public StatusIcon.from_stock (string stock_id);
3975- public bool get_geometry (out unowned Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation);
3976- public unowned GLib.Icon get_gicon ();
3977- public bool get_has_tooltip ();
3978- public unowned string get_icon_name ();
3979- public unowned Gdk.Pixbuf get_pixbuf ();
3980- public unowned Gdk.Screen get_screen ();
3981- public int get_size ();
3982- public unowned string get_stock ();
3983- public Gtk.ImageType get_storage_type ();
3984- public unowned string get_title ();
3985- public unowned string get_tooltip_markup ();
3986- public unowned string get_tooltip_text ();
3987- public bool get_visible ();
3988- public uint32 get_x11_window_id ();
3989- public bool is_embedded ();
3990- [CCode (instance_pos = -1)]
3991- public void position_menu (Gtk.Menu menu, out int x, out int y, out bool push_in);
3992- public void set_from_file (string filename);
3993- public void set_from_gicon (GLib.Icon icon);
3994- public void set_from_icon_name (string icon_name);
3995- public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
3996- public void set_from_stock (string stock_id);
3997- public void set_has_tooltip (bool has_tooltip);
3998- public void set_name (string name);
3999- public void set_screen (Gdk.Screen screen);
4000- public void set_title (string title);
4001- public void set_tooltip_markup (string markup);
4002- public void set_tooltip_text (string text);
4003- public void set_visible (bool visible);
4004- [NoAccessorMethod]
4005- public bool embedded { get; }
4006- [NoAccessorMethod]
4007- public string file { set; }
4008- [NoAccessorMethod]
4009- public GLib.Icon gicon { owned get; set; }
4010- public bool has_tooltip { get; set; }
4011- [NoAccessorMethod]
4012- public string icon_name { owned get; set; }
4013- [NoAccessorMethod]
4014- public Gtk.Orientation orientation { get; }
4015- [NoAccessorMethod]
4016- public Gdk.Pixbuf pixbuf { owned get; set; }
4017- public Gdk.Screen screen { get; set; }
4018- public int size { get; }
4019- [NoAccessorMethod]
4020- public string stock { owned get; set; }
4021- public Gtk.ImageType storage_type { get; }
4022- public string title { get; set; }
4023- public string tooltip_markup { get; set; }
4024- public string tooltip_text { get; set; }
4025- public bool visible { get; set; }
4026- public virtual signal void activate ();
4027- public virtual signal bool button_press_event (Gdk.EventButton event);
4028- public virtual signal bool button_release_event (Gdk.EventButton event);
4029- public virtual signal void popup_menu (uint button, uint activate_time);
4030- public virtual signal bool query_tooltip (int x, int y, bool keyboard_mode, Gtk.Tooltip tooltip);
4031- public virtual signal bool scroll_event (Gdk.EventScroll event);
4032- public virtual signal bool size_changed (int size);
4033- }
4034- [CCode (cheader_filename = "gtk/gtk.h")]
4035- public class Statusbar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
4036- [CCode (has_construct_function = false, type = "GtkWidget*")]
4037- public Statusbar ();
4038- public uint get_context_id (string context_description);
4039- public unowned Gtk.Widget get_message_area ();
4040- public void pop (uint context_id);
4041- public uint push (uint context_id, string text);
4042- public void remove (uint context_id, uint message_id);
4043- public void remove_all (uint context_id);
4044- public virtual signal void text_popped (uint context_id, string text);
4045- public virtual signal void text_pushed (uint context_id, string text);
4046- }
4047- [CCode (cheader_filename = "gtk/gtk.h")]
4048- public class Style : GLib.Object {
4049- public int attach_count;
4050- [CCode (array_length = false)]
4051- public weak Cairo.Pattern[] background;
4052- [CCode (array_length = false)]
4053- public Gdk.Color[] @base;
4054- [CCode (array_length = false)]
4055- public Gdk.Color[] bg;
4056- public Gdk.Color black;
4057- [CCode (array_length = false)]
4058- public Gdk.Color[] dark;
4059- [CCode (array_length = false)]
4060- public Gdk.Color[] fg;
4061- public weak Pango.FontDescription font_desc;
4062- public weak GLib.SList icon_factories;
4063- [CCode (array_length = false)]
4064- public Gdk.Color[] light;
4065- [CCode (array_length = false)]
4066- public Gdk.Color[] mid;
4067- public weak GLib.Array property_cache;
4068- public weak Gtk.RcStyle rc_style;
4069- public weak GLib.SList styles;
4070- [CCode (array_length = false)]
4071- public Gdk.Color[] text;
4072- [CCode (array_length = false)]
4073- public Gdk.Color[] text_aa;
4074- public weak Gdk.Visual visual;
4075- public Gdk.Color white;
4076- public int xthickness;
4077- public int ythickness;
4078- [CCode (has_construct_function = false)]
4079- public Style ();
4080- public void apply_default_background (Cairo.Context cr, Gdk.Window window, Gtk.StateType state_type, int x, int y, int width, int height);
4081- public unowned Gtk.Style attach (Gdk.Window window);
4082- [NoWrapper]
4083- public virtual Gtk.Style clone ();
4084- public Gtk.Style copy ();
4085- [CCode (instance_pos = -1, vfunc_name = "copy")]
4086- [NoWrapper]
4087- public virtual void copy_to (Gtk.Style dest);
4088- public void detach ();
4089- [NoWrapper]
4090- 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);
4091- [NoWrapper]
4092- 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);
4093- [NoWrapper]
4094- 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);
4095- [NoWrapper]
4096- 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);
4097- [NoWrapper]
4098- 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);
4099- [NoWrapper]
4100- 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);
4101- [NoWrapper]
4102- 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);
4103- [NoWrapper]
4104- 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);
4105- [NoWrapper]
4106- 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);
4107- [NoWrapper]
4108- 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);
4109- [NoWrapper]
4110- public virtual void draw_hline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int x1, int x2, int y);
4111- [NoWrapper]
4112- 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);
4113- [NoWrapper]
4114- 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);
4115- [NoWrapper]
4116- 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);
4117- [NoWrapper]
4118- 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);
4119- [NoWrapper]
4120- 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);
4121- [NoWrapper]
4122- 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);
4123- [NoWrapper]
4124- 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);
4125- [NoWrapper]
4126- 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);
4127- [NoWrapper]
4128- public virtual void draw_vline (Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, int y1_, int y2_, int x);
4129- public void @get (GLib.Type widget_type, ...);
4130- public void get_style_property (GLib.Type widget_type, string property_name, out GLib.Value value);
4131- public void get_valist (GLib.Type widget_type, string first_property_name, void* var_args);
4132- public bool has_context ();
4133- [NoWrapper]
4134- public virtual void init_from_rc (Gtk.RcStyle rc_style);
4135- public bool lookup_color (string color_name, out Gdk.Color color);
4136- public unowned Gtk.IconSet lookup_icon_set (string stock_id);
4137- public virtual unowned Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail);
4138- public virtual void set_background (Gdk.Window window, Gtk.StateType state_type);
4139- [NoAccessorMethod]
4140- public Gtk.StyleContext context { owned get; construct; }
4141- public virtual signal void realize ();
4142- public virtual signal void unrealize ();
4143- }
4144- [CCode (cheader_filename = "gtk/gtk.h")]
4145- public class StyleContext : GLib.Object {
4146- [CCode (has_construct_function = false)]
4147- public StyleContext ();
4148- public void add_class (string class_name);
4149- public void add_provider (Gtk.StyleProvider provider, uint priority);
4150- public static void add_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider, uint priority);
4151- public void add_region (string region_name, Gtk.RegionFlags flags);
4152- public void cancel_animations (void* region_id);
4153- public void @get (Gtk.StateFlags state, ...);
4154- public Gdk.RGBA get_background_color (Gtk.StateFlags state);
4155- public Gtk.Border get_border (Gtk.StateFlags state);
4156- public Gdk.RGBA get_border_color (Gtk.StateFlags state);
4157- public Gdk.RGBA get_color (Gtk.StateFlags state);
4158- public Gtk.TextDirection get_direction ();
4159- public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
4160- public Gtk.JunctionSides get_junction_sides ();
4161- public Gtk.Border get_margin (Gtk.StateFlags state);
4162- public Gtk.Border get_padding (Gtk.StateFlags state);
4163- public unowned Gtk.WidgetPath get_path ();
4164- public void get_property (string property, Gtk.StateFlags state, GLib.Value value);
4165- public unowned Gdk.Screen get_screen ();
4166- public Gtk.StateFlags get_state ();
4167- public void get_style (...);
4168- public void get_style_property (string property_name, GLib.Value value);
4169- public void get_style_valist (void* args);
4170- public void get_valist (Gtk.StateFlags state, void* args);
4171- public bool has_class (string class_name);
4172- public bool has_region (string region_name, out Gtk.RegionFlags flags_return);
4173- public void invalidate ();
4174- public unowned GLib.List list_classes ();
4175- public unowned GLib.List list_regions ();
4176- public bool lookup_color (string color_name, out Gdk.RGBA color);
4177- public unowned Gtk.IconSet lookup_icon_set (string stock_id);
4178- public void notify_state_change (Gdk.Window window, void* region_id, Gtk.StateType state, bool state_value);
4179- public void pop_animatable_region ();
4180- public void push_animatable_region (void* region_id);
4181- public void remove_class (string class_name);
4182- public void remove_provider (Gtk.StyleProvider provider);
4183- public static void remove_provider_for_screen (Gdk.Screen screen, Gtk.StyleProvider provider);
4184- public void remove_region (string region_name);
4185- [CCode (cname = "gtk_render_activity")]
4186- public void render_activity (Cairo.Context cr, double x, double y, double width, double height);
4187- [CCode (cname = "gtk_render_arrow")]
4188- public void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
4189- [CCode (cname = "gtk_render_background")]
4190- public void render_background (Cairo.Context cr, double x, double y, double width, double height);
4191- [CCode (cname = "gtk_render_check")]
4192- public void render_check (Cairo.Context cr, double x, double y, double width, double height);
4193- [CCode (cname = "gtk_render_expander")]
4194- public void render_expander (Cairo.Context cr, double x, double y, double width, double height);
4195- [CCode (cname = "gtk_render_extension")]
4196- public void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
4197- [CCode (cname = "gtk_render_focus")]
4198- public void render_focus (Cairo.Context cr, double x, double y, double width, double height);
4199- [CCode (cname = "gtk_render_frame")]
4200- public void render_frame (Cairo.Context cr, double x, double y, double width, double height);
4201- [CCode (cname = "gtk_render_frame_gap")]
4202- 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);
4203- [CCode (cname = "gtk_render_handle")]
4204- public void render_handle (Cairo.Context cr, double x, double y, double width, double height);
4205- [CCode (cname = "gtk_render_icon")]
4206- public void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
4207- [CCode (cname = "gtk_render_icon_pixbuf")]
4208- public unowned Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
4209- [CCode (cname = "gtk_render_layout")]
4210- public void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
4211- [CCode (cname = "gtk_render_line")]
4212- public void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
4213- [CCode (cname = "gtk_render_option")]
4214- public void render_option (Cairo.Context cr, double x, double y, double width, double height);
4215- [CCode (cname = "gtk_render_slider")]
4216- public void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
4217- public static void reset_widgets (Gdk.Screen screen);
4218- public void restore ();
4219- public void save ();
4220- public void scroll_animations (Gdk.Window window, int dx, int dy);
4221- public void set_background (Gdk.Window window);
4222- public void set_direction (Gtk.TextDirection direction);
4223- public void set_junction_sides (Gtk.JunctionSides sides);
4224- public void set_path (Gtk.WidgetPath path);
4225- public void set_screen (Gdk.Screen screen);
4226- public void set_state (Gtk.StateFlags flags);
4227- public bool state_is_running (Gtk.StateType state, double progress);
4228- public Gtk.TextDirection direction { get; set; }
4229- public Gdk.Screen screen { get; set; }
4230- public virtual signal void changed ();
4231- }
4232- [CCode (cheader_filename = "gtk/gtk.h")]
4233- public class StyleProperties : GLib.Object, Gtk.StyleProvider {
4234- [CCode (has_construct_function = false)]
4235- public StyleProperties ();
4236- public void clear ();
4237- public void @get (Gtk.StateFlags state);
4238- public bool get_property (string property, Gtk.StateFlags state, GLib.Value value);
4239- public void get_valist (Gtk.StateFlags state, void* args);
4240- public unowned Gtk.SymbolicColor lookup_color (string name);
4241- public static bool lookup_property (string property_name, Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec);
4242- public void map_color (string name, Gtk.SymbolicColor color);
4243- public void merge (Gtk.StyleProperties props_to_merge, bool replace);
4244- public static void register_property (Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
4245- public void @set (Gtk.StateFlags state);
4246- public void set_property (string property, Gtk.StateFlags state, GLib.Value value);
4247- public void set_valist (Gtk.StateFlags state, void* args);
4248- public void unset_property (string property, Gtk.StateFlags state);
4249- }
4250- [CCode (cheader_filename = "gtk/gtk.h")]
4251- public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4252- [CCode (has_construct_function = false, type = "GtkWidget*")]
4253- public Switch ();
4254- public bool get_active ();
4255- public void set_active (bool is_active);
4256- public bool active { get; set; }
4257- public virtual signal void activate ();
4258- }
4259- [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")]
4260- [Compact]
4261- public class SymbolicColor {
4262- [CCode (has_construct_function = false)]
4263- public SymbolicColor.alpha (Gtk.SymbolicColor color, double factor);
4264- [CCode (has_construct_function = false)]
4265- public SymbolicColor.literal (Gdk.RGBA color);
4266- [CCode (has_construct_function = false)]
4267- public SymbolicColor.mix (Gtk.SymbolicColor color1, Gtk.SymbolicColor color2, double factor);
4268- [CCode (has_construct_function = false)]
4269- public SymbolicColor.name (string name);
4270- public bool resolve (Gtk.StyleProperties props, Gdk.RGBA resolved_color);
4271- [CCode (has_construct_function = false)]
4272- public SymbolicColor.shade (Gtk.SymbolicColor color, double factor);
4273- public unowned string to_string ();
4274- [CCode (has_construct_function = false)]
4275- public SymbolicColor.win32 (string theme_class, int id);
4276- }
4277- [CCode (cheader_filename = "gtk/gtk.h")]
4278- public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
4279- [CCode (has_construct_function = false, type = "GtkWidget*")]
4280- public Table (uint rows, uint columns, bool homogeneous);
4281- 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);
4282- public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
4283- public uint get_col_spacing (uint column);
4284- public uint get_default_col_spacing ();
4285- public uint get_default_row_spacing ();
4286- public bool get_homogeneous ();
4287- public uint get_row_spacing (uint row);
4288- public void get_size (uint rows, uint columns);
4289- public void resize (uint rows, uint columns);
4290- public void set_col_spacing (uint column, uint spacing);
4291- public void set_col_spacings (uint spacing);
4292- public void set_homogeneous (bool homogeneous);
4293- public void set_row_spacing (uint row, uint spacing);
4294- public void set_row_spacings (uint spacing);
4295- [NoAccessorMethod]
4296- public uint column_spacing { get; set; }
4297- public bool homogeneous { get; set; }
4298- [NoAccessorMethod]
4299- public uint n_columns { get; set; }
4300- [NoAccessorMethod]
4301- public uint n_rows { get; set; }
4302- [NoAccessorMethod]
4303- public uint row_spacing { get; set; }
4304- }
4305- [CCode (cheader_filename = "gtk/gtk.h")]
4306- [Compact]
4307- public class TableChild {
4308- public uint16 bottom_attach;
4309- public uint16 left_attach;
4310- public uint16 right_attach;
4311- public uint16 top_attach;
4312- public weak Gtk.Widget widget;
4313- public uint xexpand;
4314- public uint xfill;
4315- public uint16 xpadding;
4316- public uint xshrink;
4317- public uint yexpand;
4318- public uint yfill;
4319- public uint16 ypadding;
4320- public uint yshrink;
4321- }
4322- [CCode (cheader_filename = "gtk/gtk.h")]
4323- [Compact]
4324- public class TableRowCol {
4325- public uint16 allocation;
4326- public uint empty;
4327- public uint expand;
4328- public uint need_expand;
4329- public uint need_shrink;
4330- public uint16 requisition;
4331- public uint shrink;
4332- public uint16 spacing;
4333- }
4334- [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")]
4335- [Compact]
4336- public class TargetList {
4337- [CCode (has_construct_function = false)]
4338- public TargetList (Gtk.TargetEntry[] targets);
4339- public void add (Gdk.Atom target, uint flags, uint info);
4340- public void add_image_targets (uint info, bool writable);
4341- public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
4342- public void add_table (Gtk.TargetEntry[] targets, uint ntargets);
4343- public void add_text_targets (uint info);
4344- public void add_uri_targets (uint info);
4345- public bool find (Gdk.Atom target, uint info);
4346- public void remove (Gdk.Atom target);
4347- }
4348- [CCode (cheader_filename = "gtk/gtk.h")]
4349- public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4350- [CCode (has_construct_function = false, type = "GtkWidget*")]
4351- public TearoffMenuItem ();
4352- }
4353- [CCode (cheader_filename = "gtk/gtk.h")]
4354- [Compact]
4355- public class TextAppearance {
4356- public Gdk.Color bg_color;
4357- public uint draw_bg;
4358- public Gdk.Color fg_color;
4359- public uint inside_selection;
4360- public uint is_text;
4361- [CCode (array_length = false)]
4362- public weak Gdk.RGBA[] rgba;
4363- public int rise;
4364- public uint strikethrough;
4365- public uint underline;
4366- }
4367- [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")]
4368- [Compact]
4369- public class TextAttributes {
4370- public weak Gtk.TextAppearance appearance;
4371- public uint bg_full_height;
4372- public Gtk.TextDirection direction;
4373- public uint editable;
4374- public weak Pango.FontDescription font;
4375- public double font_scale;
4376- public int indent;
4377- public uint invisible;
4378- public Gtk.Justification justification;
4379- public weak Pango.Language language;
4380- public int left_margin;
4381- [CCode (array_length = false)]
4382- public weak uint[] padding;
4383- public Gdk.Color pg_bg_color;
4384- public Gdk.RGBA pg_bg_rgba;
4385- public int pixels_above_lines;
4386- public int pixels_below_lines;
4387- public int pixels_inside_wrap;
4388- public uint refcount;
4389- public int right_margin;
4390- public weak Pango.TabArray tabs;
4391- public Gtk.WrapMode wrap_mode;
4392- [CCode (has_construct_function = false)]
4393- public TextAttributes ();
4394- public Gtk.TextAttributes copy ();
4395- public void copy_values (Gtk.TextAttributes dest);
4396- }
4397- [CCode (cheader_filename = "gtk/gtk.h")]
4398- [Compact]
4399- public class TextBTree {
4400- }
4401- [CCode (cheader_filename = "gtk/gtk.h")]
4402- public class TextBuffer : GLib.Object {
4403- [CCode (has_construct_function = false)]
4404- public TextBuffer (Gtk.TextTagTable? table);
4405- public void add_mark (Gtk.TextMark mark, Gtk.TextIter where);
4406- public void add_selection_clipboard (Gtk.Clipboard clipboard);
4407- public void apply_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
4408- public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
4409- public void copy_clipboard (Gtk.Clipboard clipboard);
4410- public unowned Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
4411- public unowned Gtk.TextMark create_mark (string? mark_name, Gtk.TextIter where, bool left_gravity);
4412- public unowned Gtk.TextTag create_tag (string tag_name, ...);
4413- public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable);
4414- public void @delete (ref Gtk.TextIter start, ref Gtk.TextIter end);
4415- public bool delete_interactive (ref Gtk.TextIter start_iter, ref Gtk.TextIter end_iter, bool default_editable);
4416- public void delete_mark (Gtk.TextMark mark);
4417- public void delete_mark_by_name (string name);
4418- public bool delete_selection (bool interactive, bool default_editable);
4419- public bool deserialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter iter, [CCode (array_length_type = "gsize")] uint8[] data) throws GLib.Error;
4420- public bool deserialize_get_can_create_tags (Gdk.Atom format);
4421- public void deserialize_set_can_create_tags (Gdk.Atom format, bool can_create_tags);
4422- public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
4423- public int get_char_count ();
4424- public unowned Gtk.TargetList get_copy_target_list ();
4425- public Gdk.Atom[] get_deserialize_formats ();
4426- public void get_end_iter (out Gtk.TextIter iter);
4427- public bool get_has_selection ();
4428- public unowned Gtk.TextMark get_insert ();
4429- public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
4430- public void get_iter_at_line (out Gtk.TextIter iter, int line_number);
4431- public void get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
4432- public void get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
4433- public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
4434- public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
4435- public int get_line_count ();
4436- public unowned Gtk.TextMark get_mark (string name);
4437- public bool get_modified ();
4438- public unowned Gtk.TargetList get_paste_target_list ();
4439- public unowned Gtk.TextMark get_selection_bound ();
4440- public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
4441- public Gdk.Atom[] get_serialize_formats ();
4442- public unowned string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
4443- public void get_start_iter (out Gtk.TextIter iter);
4444- public unowned Gtk.TextTagTable get_tag_table ();
4445- public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
4446- public void insert (ref Gtk.TextIter iter, string text, int len);
4447- public void insert_at_cursor (string text, int len);
4448- public bool insert_interactive (Gtk.TextIter iter, string text, int len, bool default_editable);
4449- public bool insert_interactive_at_cursor (string text, int len, bool default_editable);
4450- public void insert_range (Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end);
4451- public bool insert_range_interactive (Gtk.TextIter iter, Gtk.TextIter start, Gtk.TextIter end, bool default_editable);
4452- public void insert_with_tags (Gtk.TextIter iter, string text, int len, ...);
4453- public void insert_with_tags_by_name (Gtk.TextIter iter, string text, int len, ...);
4454- public void move_mark (Gtk.TextMark mark, Gtk.TextIter where);
4455- public void move_mark_by_name (string name, Gtk.TextIter where);
4456- public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter? override_location, bool default_editable);
4457- public void place_cursor (Gtk.TextIter where);
4458- public Gdk.Atom register_deserialize_format (string mime_type, owned Gtk.TextBufferDeserializeFunc function);
4459- public Gdk.Atom register_deserialize_tagset (string tagset_name);
4460- public Gdk.Atom register_serialize_format (string mime_type, owned Gtk.TextBufferSerializeFunc function);
4461- public Gdk.Atom register_serialize_tagset (string tagset_name);
4462- public void remove_all_tags (Gtk.TextIter start, Gtk.TextIter end);
4463- public void remove_selection_clipboard (Gtk.Clipboard clipboard);
4464- public void remove_tag_by_name (string name, Gtk.TextIter start, Gtk.TextIter end);
4465- public void select_range (Gtk.TextIter ins, Gtk.TextIter bound);
4466- [CCode (array_length_type = "gsize")]
4467- public uint8[] serialize (Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end);
4468- public void set_modified (bool setting);
4469- public void set_text (string text, int len = -1);
4470- public void unregister_deserialize_format (Gdk.Atom format);
4471- public void unregister_serialize_format (Gdk.Atom format);
4472- public Gtk.TargetList copy_target_list { get; }
4473- [NoAccessorMethod]
4474- public int cursor_position { get; }
4475- public bool has_selection { get; }
4476- public Gtk.TargetList paste_target_list { get; }
4477- public Gtk.TextTagTable tag_table { get; construct; }
4478- [NoAccessorMethod]
4479- public string text { owned get; set; }
4480- [HasEmitter]
4481- public virtual signal void apply_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
4482- [HasEmitter]
4483- public virtual signal void begin_user_action ();
4484- public virtual signal void changed ();
4485- public virtual signal void delete_range (Gtk.TextIter start, Gtk.TextIter end);
4486- [HasEmitter]
4487- public virtual signal void end_user_action ();
4488- [HasEmitter]
4489- public virtual signal void insert_child_anchor (Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
4490- [HasEmitter]
4491- public virtual signal void insert_pixbuf (Gtk.TextIter iter, Gdk.Pixbuf pixbuf);
4492- public virtual signal void insert_text (ref Gtk.TextIter pos, string new_text, int new_text_length);
4493- public virtual signal void mark_deleted (Gtk.TextMark mark);
4494- public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
4495- public virtual signal void modified_changed ();
4496- public virtual signal void paste_done (Gtk.Clipboard clipboard);
4497- [HasEmitter]
4498- public virtual signal void remove_tag (Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end);
4499- }
4500- [CCode (cheader_filename = "gtk/gtk.h")]
4501- public class TextChildAnchor : GLib.Object {
4502- public void* segment;
4503- [CCode (has_construct_function = false)]
4504- public TextChildAnchor ();
4505- public bool get_deleted ();
4506- public GLib.List<weak Gtk.Widget> get_widgets ();
4507- }
4508- [CCode (cheader_filename = "gtk/gtk.h")]
4509- public class TextMark : GLib.Object {
4510- public void* segment;
4511- [CCode (has_construct_function = false)]
4512- public TextMark (string name, bool left_gravity);
4513- public unowned Gtk.TextBuffer get_buffer ();
4514- public bool get_deleted ();
4515- public bool get_left_gravity ();
4516- public unowned string get_name ();
4517- public bool get_visible ();
4518- public void set_visible (bool setting);
4519- public bool left_gravity { get; construct; }
4520- public string name { get; construct; }
4521- }
4522- [CCode (cheader_filename = "gtk/gtk.h")]
4523- public class TextTag : GLib.Object {
4524- [CCode (has_construct_function = false)]
4525- public TextTag (string name);
4526- public int get_priority ();
4527- public void set_priority (int priority);
4528- [NoAccessorMethod]
4529- public bool accumulative_margin { get; set; }
4530- [NoAccessorMethod]
4531- public string background { set; }
4532- [NoAccessorMethod]
4533- public bool background_full_height { get; set; }
4534- [NoAccessorMethod]
4535- public bool background_full_height_set { get; set; }
4536- [NoAccessorMethod]
4537- public Gdk.Color background_gdk { get; set; }
4538- [NoAccessorMethod]
4539- public Gdk.RGBA background_rgba { get; set; }
4540- [NoAccessorMethod]
4541- public bool background_set { get; set; }
4542- [NoAccessorMethod]
4543- public Gtk.TextDirection direction { get; set; }
4544- [NoAccessorMethod]
4545- public bool editable { get; set; }
4546- [NoAccessorMethod]
4547- public bool editable_set { get; set; }
4548- [NoAccessorMethod]
4549- public string family { owned get; set; }
4550- [NoAccessorMethod]
4551- public bool family_set { get; set; }
4552- [NoAccessorMethod]
4553- public string font { owned get; set; }
4554- [NoAccessorMethod]
4555- public Pango.FontDescription font_desc { owned get; set; }
4556- [NoAccessorMethod]
4557- public string foreground { set; }
4558- [NoAccessorMethod]
4559- public Gdk.Color foreground_gdk { get; set; }
4560- [NoAccessorMethod]
4561- public Gdk.RGBA foreground_rgba { get; set; }
4562- [NoAccessorMethod]
4563- public bool foreground_set { get; set; }
4564- [NoAccessorMethod]
4565- public int indent { get; set; }
4566- [NoAccessorMethod]
4567- public bool indent_set { get; set; }
4568- [NoAccessorMethod]
4569- public bool invisible { get; set; }
4570- [NoAccessorMethod]
4571- public bool invisible_set { get; set; }
4572- [NoAccessorMethod]
4573- public Gtk.Justification justification { get; set; }
4574- [NoAccessorMethod]
4575- public bool justification_set { get; set; }
4576- [NoAccessorMethod]
4577- public string language { owned get; set; }
4578- [NoAccessorMethod]
4579- public bool language_set { get; set; }
4580- [NoAccessorMethod]
4581- public int left_margin { get; set; }
4582- [NoAccessorMethod]
4583- public bool left_margin_set { get; set; }
4584- [NoAccessorMethod]
4585- public string name { owned get; construct; }
4586- [NoAccessorMethod]
4587- public string paragraph_background { set; }
4588- [NoAccessorMethod]
4589- public Gdk.Color paragraph_background_gdk { get; set; }
4590- [NoAccessorMethod]
4591- public Gdk.RGBA paragraph_background_rgba { get; set; }
4592- [NoAccessorMethod]
4593- public bool paragraph_background_set { get; set; }
4594- [NoAccessorMethod]
4595- public int pixels_above_lines { get; set; }
4596- [NoAccessorMethod]
4597- public bool pixels_above_lines_set { get; set; }
4598- [NoAccessorMethod]
4599- public int pixels_below_lines { get; set; }
4600- [NoAccessorMethod]
4601- public bool pixels_below_lines_set { get; set; }
4602- [NoAccessorMethod]
4603- public int pixels_inside_wrap { get; set; }
4604- [NoAccessorMethod]
4605- public bool pixels_inside_wrap_set { get; set; }
4606- [NoAccessorMethod]
4607- public int right_margin { get; set; }
4608- [NoAccessorMethod]
4609- public bool right_margin_set { get; set; }
4610- [NoAccessorMethod]
4611- public int rise { get; set; }
4612- [NoAccessorMethod]
4613- public bool rise_set { get; set; }
4614- [NoAccessorMethod]
4615- public double scale { get; set; }
4616- [NoAccessorMethod]
4617- public bool scale_set { get; set; }
4618- [NoAccessorMethod]
4619- public int size { get; set; }
4620- [NoAccessorMethod]
4621- public double size_points { get; set; }
4622- [NoAccessorMethod]
4623- public bool size_set { get; set; }
4624- [NoAccessorMethod]
4625- public Pango.Stretch stretch { get; set; }
4626- [NoAccessorMethod]
4627- public bool stretch_set { get; set; }
4628- [NoAccessorMethod]
4629- public bool strikethrough { get; set; }
4630- [NoAccessorMethod]
4631- public bool strikethrough_set { get; set; }
4632- [NoAccessorMethod]
4633- public Pango.Style style { get; set; }
4634- [NoAccessorMethod]
4635- public bool style_set { get; set; }
4636- [NoAccessorMethod]
4637- public Pango.TabArray tabs { owned get; set; }
4638- [NoAccessorMethod]
4639- public bool tabs_set { get; set; }
4640- [NoAccessorMethod]
4641- public Pango.Underline underline { get; set; }
4642- [NoAccessorMethod]
4643- public bool underline_set { get; set; }
4644- [NoAccessorMethod]
4645- public Pango.Variant variant { get; set; }
4646- [NoAccessorMethod]
4647- public bool variant_set { get; set; }
4648- [NoAccessorMethod]
4649- public int weight { get; set; }
4650- [NoAccessorMethod]
4651- public bool weight_set { get; set; }
4652- [NoAccessorMethod]
4653- public Gtk.WrapMode wrap_mode { get; set; }
4654- [NoAccessorMethod]
4655- public bool wrap_mode_set { get; set; }
4656- [HasEmitter]
4657- public virtual signal bool event (GLib.Object event_object, Gdk.Event event, Gtk.TextIter iter);
4658- }
4659- [CCode (cheader_filename = "gtk/gtk.h")]
4660- public class TextTagTable : GLib.Object, Gtk.Buildable {
4661- [CCode (has_construct_function = false)]
4662- public TextTagTable ();
4663- public void add (Gtk.TextTag tag);
4664- public void @foreach (Gtk.TextTagTableForeach func);
4665- public int get_size ();
4666- public unowned Gtk.TextTag lookup (string name);
4667- public void remove (Gtk.TextTag tag);
4668- public virtual signal void tag_added (Gtk.TextTag tag);
4669- public virtual signal void tag_changed (Gtk.TextTag tag, bool size_changed);
4670- public virtual signal void tag_removed (Gtk.TextTag tag);
4671- }
4672- [CCode (cheader_filename = "gtk/gtk.h")]
4673- public class TextView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
4674- [CCode (has_construct_function = false, type = "GtkWidget*")]
4675- public TextView ();
4676- public void add_child_at_anchor (Gtk.Widget child, Gtk.TextChildAnchor anchor);
4677- public void add_child_in_window (Gtk.Widget child, Gtk.TextWindowType which_window, int xpos, int ypos);
4678- public bool backward_display_line (Gtk.TextIter iter);
4679- public bool backward_display_line_start (Gtk.TextIter iter);
4680- public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y);
4681- public bool forward_display_line (Gtk.TextIter iter);
4682- public bool forward_display_line_end (Gtk.TextIter iter);
4683- public bool get_accepts_tab ();
4684- public int get_border_window_size (Gtk.TextWindowType type);
4685- public unowned Gtk.TextBuffer get_buffer ();
4686- public void get_cursor_locations (Gtk.TextIter iter, Gdk.Rectangle strong, Gdk.Rectangle @weak);
4687- public bool get_cursor_visible ();
4688- public unowned Gtk.TextAttributes get_default_attributes ();
4689- public bool get_editable ();
4690- public unowned Gtk.Adjustment get_hadjustment ();
4691- public int get_indent ();
4692- public void get_iter_at_location (out Gtk.TextIter iter, int x, int y);
4693- public void get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
4694- public void get_iter_location (Gtk.TextIter iter, out Gdk.Rectangle location);
4695- public Gtk.Justification get_justification ();
4696- public int get_left_margin ();
4697- public void get_line_at_y (out Gtk.TextIter target_iter, int y, out int line_top);
4698- public void get_line_yrange (Gtk.TextIter iter, out int y, out int height);
4699- public bool get_overwrite ();
4700- public int get_pixels_above_lines ();
4701- public int get_pixels_below_lines ();
4702- public int get_pixels_inside_wrap ();
4703- public int get_right_margin ();
4704- public unowned Pango.TabArray get_tabs ();
4705- public unowned Gtk.Adjustment get_vadjustment ();
4706- public void get_visible_rect (out Gdk.Rectangle visible_rect);
4707- public unowned Gdk.Window get_window (Gtk.TextWindowType win);
4708- public Gtk.TextWindowType get_window_type (Gdk.Window window);
4709- public Gtk.WrapMode get_wrap_mode ();
4710- public bool im_context_filter_keypress (Gdk.EventKey event);
4711- public void move_child (Gtk.Widget child, int xpos, int ypos);
4712- public bool move_mark_onscreen (Gtk.TextMark mark);
4713- public bool move_visually (Gtk.TextIter iter, int count);
4714- public bool place_cursor_onscreen ();
4715- public void reset_im_context ();
4716- public void scroll_mark_onscreen (Gtk.TextMark mark);
4717- public bool scroll_to_iter (Gtk.TextIter iter, double within_margin, bool use_align, double xalign, double yalign);
4718- public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
4719- public void set_accepts_tab (bool accepts_tab);
4720- public void set_border_window_size (Gtk.TextWindowType type, int size);
4721- public void set_buffer (Gtk.TextBuffer buffer);
4722- public void set_cursor_visible (bool setting);
4723- public void set_editable (bool setting);
4724- public void set_indent (int indent);
4725- public void set_justification (Gtk.Justification justification);
4726- public void set_left_margin (int left_margin);
4727- public void set_overwrite (bool overwrite);
4728- public void set_pixels_above_lines (int pixels_above_lines);
4729- public void set_pixels_below_lines (int pixels_below_lines);
4730- public void set_pixels_inside_wrap (int pixels_inside_wrap);
4731- public void set_right_margin (int right_margin);
4732- public void set_tabs (Pango.TabArray tabs);
4733- public void set_wrap_mode (Gtk.WrapMode wrap_mode);
4734- public bool starts_display_line (Gtk.TextIter iter);
4735- public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y);
4736- [CCode (has_construct_function = false, type = "GtkWidget*")]
4737- public TextView.with_buffer (Gtk.TextBuffer buffer);
4738- public bool accepts_tab { get; set; }
4739- public Gtk.TextBuffer buffer { get; set; }
4740- public bool cursor_visible { get; set; }
4741- public bool editable { get; set; }
4742- [NoAccessorMethod]
4743- public string im_module { owned get; set; }
4744- public int indent { get; set; }
4745- public Gtk.Justification justification { get; set; }
4746- public int left_margin { get; set; }
4747- public bool overwrite { get; set; }
4748- public int pixels_above_lines { get; set; }
4749- public int pixels_below_lines { get; set; }
4750- public int pixels_inside_wrap { get; set; }
4751- public int right_margin { get; set; }
4752- public Pango.TabArray tabs { get; set; }
4753- public Gtk.WrapMode wrap_mode { get; set; }
4754- public virtual signal void backspace ();
4755- public virtual signal void copy_clipboard ();
4756- public virtual signal void cut_clipboard ();
4757- public virtual signal void delete_from_cursor (Gtk.DeleteType type, int count);
4758- public virtual signal void insert_at_cursor (string str);
4759- public virtual signal void move_cursor (Gtk.MovementStep step, int count, bool extend_selection);
4760- public virtual signal void move_viewport (Gtk.ScrollStep p0, int p1);
4761- public virtual signal void paste_clipboard ();
4762- public virtual signal void populate_popup (Gtk.Menu menu);
4763- public virtual signal void preedit_changed (string p0);
4764- public virtual signal void select_all (bool p0);
4765- public virtual signal void set_anchor ();
4766- public virtual signal void toggle_cursor_visible ();
4767- public virtual signal void toggle_overwrite ();
4768- }
4769- [CCode (cheader_filename = "gtk/gtk.h")]
4770- [Compact]
4771- public class ThemeEngine {
4772- }
4773- [CCode (cheader_filename = "gtk/gtk.h")]
4774- public class ThemingEngine : GLib.Object {
4775- [CCode (has_construct_function = false)]
4776- protected ThemingEngine ();
4777- public void @get (Gtk.StateFlags state, ...);
4778- public Gdk.RGBA get_background_color (Gtk.StateFlags state);
4779- public Gtk.Border get_border (Gtk.StateFlags state);
4780- public Gdk.RGBA get_border_color (Gtk.StateFlags state);
4781- public Gdk.RGBA get_color (Gtk.StateFlags state);
4782- public Gtk.TextDirection get_direction ();
4783- public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
4784- public Gtk.JunctionSides get_junction_sides ();
4785- public Gtk.Border get_margin (Gtk.StateFlags state);
4786- public Gtk.Border get_padding (Gtk.StateFlags state);
4787- public unowned Gtk.WidgetPath get_path ();
4788- public GLib.Value get_property (string property, Gtk.StateFlags state);
4789- public unowned Gdk.Screen get_screen ();
4790- public Gtk.StateFlags get_state ();
4791- public void get_style ();
4792- public GLib.Value get_style_property (string property_name);
4793- public void get_style_valist (void* args);
4794- public void get_valist (Gtk.StateFlags state, void* args);
4795- public bool has_class (string style_class);
4796- public bool has_region (string style_region, out Gtk.RegionFlags flags);
4797- public static unowned Gtk.ThemingEngine load (string name);
4798- public bool lookup_color (string color_name, out Gdk.RGBA color);
4799- public static void register_property (string name_space, Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
4800- [NoWrapper]
4801- public virtual void render_activity (Cairo.Context cr, double x, double y, double width, double height);
4802- [NoWrapper]
4803- public virtual void render_arrow (Cairo.Context cr, double angle, double x, double y, double size);
4804- [NoWrapper]
4805- public virtual void render_background (Cairo.Context cr, double x, double y, double width, double height);
4806- [NoWrapper]
4807- public virtual void render_check (Cairo.Context cr, double x, double y, double width, double height);
4808- [NoWrapper]
4809- public virtual void render_expander (Cairo.Context cr, double x, double y, double width, double height);
4810- [NoWrapper]
4811- public virtual void render_extension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side);
4812- [NoWrapper]
4813- public virtual void render_focus (Cairo.Context cr, double x, double y, double width, double height);
4814- [NoWrapper]
4815- public virtual void render_frame (Cairo.Context cr, double x, double y, double width, double height);
4816- [NoWrapper]
4817- 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);
4818- [NoWrapper]
4819- public virtual void render_handle (Cairo.Context cr, double x, double y, double width, double height);
4820- [NoWrapper]
4821- public virtual void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
4822- [NoWrapper]
4823- public virtual unowned Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
4824- [NoWrapper]
4825- public virtual void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
4826- [NoWrapper]
4827- public virtual void render_line (Cairo.Context cr, double x0, double y0, double x1, double y1);
4828- [NoWrapper]
4829- public virtual void render_option (Cairo.Context cr, double x, double y, double width, double height);
4830- [NoWrapper]
4831- public virtual void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
4832- public bool state_is_running (Gtk.StateType state, out double progress);
4833- [NoAccessorMethod]
4834- public string name { owned get; construct; }
4835- }
4836- [CCode (cheader_filename = "gtk/gtk.h")]
4837- public class ToggleAction : Gtk.Action, Gtk.Buildable {
4838- [CCode (has_construct_function = false)]
4839- public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
4840- public bool get_active ();
4841- public bool get_draw_as_radio ();
4842- public void set_active (bool is_active);
4843- public void set_draw_as_radio (bool draw_as_radio);
4844- public bool active { get; set; }
4845- public bool draw_as_radio { get; set; }
4846- [HasEmitter]
4847- public virtual signal void toggled ();
4848- }
4849- [CCode (cheader_filename = "gtk/gtk.h")]
4850- public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4851- [CCode (has_construct_function = false, type = "GtkWidget*")]
4852- public ToggleButton ();
4853- public bool get_active ();
4854- public bool get_inconsistent ();
4855- public bool get_mode ();
4856- public void set_active (bool is_active);
4857- public void set_inconsistent (bool setting);
4858- public void set_mode (bool draw_indicator);
4859- [CCode (has_construct_function = false, type = "GtkWidget*")]
4860- public ToggleButton.with_label (string label);
4861- [CCode (has_construct_function = false, type = "GtkWidget*")]
4862- public ToggleButton.with_mnemonic (string label);
4863- public bool active { get; set; }
4864- [NoAccessorMethod]
4865- public bool draw_indicator { get; set; }
4866- public bool inconsistent { get; set; }
4867- [HasEmitter]
4868- public virtual signal void toggled ();
4869- }
4870- [CCode (cheader_filename = "gtk/gtk.h")]
4871- public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4872- [CCode (has_construct_function = false, type = "GtkToolItem*")]
4873- public ToggleToolButton ();
4874- [CCode (has_construct_function = false, type = "GtkToolItem*")]
4875- public ToggleToolButton.from_stock (string stock_id);
4876- public bool get_active ();
4877- public void set_active (bool is_active);
4878- public bool active { get; set; }
4879- public virtual signal void toggled ();
4880- }
4881- [CCode (cheader_filename = "gtk/gtk.h")]
4882- public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4883- [CCode (has_construct_function = false, type = "GtkToolItem*")]
4884- public ToolButton (Gtk.Widget? icon_widget, string? label);
4885- [CCode (has_construct_function = false, type = "GtkToolItem*")]
4886- public ToolButton.from_stock (string stock_id);
4887- public unowned string get_icon_name ();
4888- public unowned Gtk.Widget get_icon_widget ();
4889- public unowned string get_label ();
4890- public unowned Gtk.Widget get_label_widget ();
4891- public unowned string get_stock_id ();
4892- public bool get_use_underline ();
4893- public void set_icon_name (string icon_name);
4894- public void set_icon_widget (Gtk.Widget icon_widget);
4895- public void set_label (string label);
4896- public void set_label_widget (Gtk.Widget label_widget);
4897- public void set_stock_id (string stock_id);
4898- public void set_use_underline (bool use_underline);
4899- public string icon_name { get; set; }
4900- public Gtk.Widget icon_widget { get; set; }
4901- public string label { get; set; }
4902- public Gtk.Widget label_widget { get; set; }
4903- public string stock_id { get; set; }
4904- public bool use_underline { get; set; }
4905- public virtual signal void clicked ();
4906- }
4907- [CCode (cheader_filename = "gtk/gtk.h")]
4908- public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
4909- [CCode (has_construct_function = false)]
4910- public ToolItem ();
4911- public Pango.EllipsizeMode get_ellipsize_mode ();
4912- public bool get_expand ();
4913- public bool get_homogeneous ();
4914- public Gtk.IconSize get_icon_size ();
4915- public bool get_is_important ();
4916- public Gtk.Orientation get_orientation ();
4917- public unowned Gtk.Widget get_proxy_menu_item (string menu_item_id);
4918- public Gtk.ReliefStyle get_relief_style ();
4919- public float get_text_alignment ();
4920- public Gtk.Orientation get_text_orientation ();
4921- public unowned Gtk.SizeGroup get_text_size_group ();
4922- public Gtk.ToolbarStyle get_toolbar_style ();
4923- public bool get_use_drag_window ();
4924- public bool get_visible_horizontal ();
4925- public bool get_visible_vertical ();
4926- public void rebuild_menu ();
4927- public unowned Gtk.Widget retrieve_proxy_menu_item ();
4928- public void set_expand (bool expand);
4929- public void set_homogeneous (bool homogeneous);
4930- public void set_is_important (bool is_important);
4931- public void set_proxy_menu_item (string menu_item_id, Gtk.Widget menu_item);
4932- public void set_tooltip_markup (string markup);
4933- public void set_tooltip_text (string text);
4934- public void set_use_drag_window (bool use_drag_window);
4935- public void set_visible_horizontal (bool visible_horizontal);
4936- public void set_visible_vertical (bool visible_vertical);
4937- public bool is_important { get; set; }
4938- public bool visible_horizontal { get; set; }
4939- public bool visible_vertical { get; set; }
4940- public virtual signal bool create_menu_proxy ();
4941- public virtual signal void toolbar_reconfigured ();
4942- }
4943- [CCode (cheader_filename = "gtk/gtk.h")]
4944- public class ToolItemGroup : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.ToolShell {
4945- [CCode (has_construct_function = false, type = "GtkWidget*")]
4946- public ToolItemGroup (string label);
4947- public bool get_collapsed ();
4948- public unowned Gtk.ToolItem get_drop_item (int x, int y);
4949- public Pango.EllipsizeMode get_ellipsize ();
4950- public Gtk.ReliefStyle get_header_relief ();
4951- public int get_item_position (Gtk.ToolItem item);
4952- public unowned string get_label ();
4953- public unowned Gtk.Widget get_label_widget ();
4954- public uint get_n_items ();
4955- public unowned Gtk.ToolItem get_nth_item (uint index);
4956- public void insert (Gtk.ToolItem item, int position);
4957- public void set_collapsed (bool collapsed);
4958- public void set_ellipsize (Pango.EllipsizeMode ellipsize);
4959- public void set_header_relief (Gtk.ReliefStyle style);
4960- public void set_item_position (Gtk.ToolItem item, int position);
4961- public void set_label (string label);
4962- public void set_label_widget (Gtk.Widget label_widget);
4963- public bool collapsed { get; set; }
4964- public Pango.EllipsizeMode ellipsize { get; set; }
4965- public Gtk.ReliefStyle header_relief { get; set; }
4966- public string label { get; set; }
4967- public Gtk.Widget label_widget { get; set; }
4968- }
4969- [CCode (cheader_filename = "gtk/gtk.h")]
4970- public class ToolPalette : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.Scrollable {
4971- [CCode (has_construct_function = false, type = "GtkWidget*")]
4972- public ToolPalette ();
4973- public void add_drag_dest (Gtk.Widget widget, Gtk.DestDefaults flags, Gtk.ToolPaletteDragTargets targets, Gdk.DragAction actions);
4974- public unowned Gtk.Widget get_drag_item (Gtk.SelectionData selection);
4975- public static Gtk.TargetEntry get_drag_target_group ();
4976- public static Gtk.TargetEntry get_drag_target_item ();
4977- public unowned Gtk.ToolItemGroup get_drop_group (int x, int y);
4978- public unowned Gtk.ToolItem get_drop_item (int x, int y);
4979- public bool get_exclusive (Gtk.ToolItemGroup group);
4980- public bool get_expand (Gtk.ToolItemGroup group);
4981- public int get_group_position (Gtk.ToolItemGroup group);
4982- public unowned Gtk.Adjustment get_hadjustment ();
4983- public Gtk.IconSize get_icon_size ();
4984- public Gtk.ToolbarStyle get_style ();
4985- public unowned Gtk.Adjustment get_vadjustment ();
4986- public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
4987- public void set_exclusive (Gtk.ToolItemGroup group, bool exclusive);
4988- public void set_expand (Gtk.ToolItemGroup group, bool expand);
4989- public void set_group_position (Gtk.ToolItemGroup group, int position);
4990- public void set_icon_size (Gtk.IconSize icon_size);
4991- public void set_style (Gtk.ToolbarStyle style);
4992- public void unset_icon_size ();
4993- public void unset_style ();
4994- public Gtk.IconSize icon_size { get; set; }
4995- [NoAccessorMethod]
4996- public bool icon_size_set { get; set; }
4997- [NoAccessorMethod]
4998- public Gtk.ToolbarStyle toolbar_style { get; set; }
4999- }
5000- [CCode (cheader_filename = "gtk/gtk.h")]
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: