gtk+-3.0: Update to 3.0.5
[vala-lang.git] / vapi / libgnomeui-2.0.vapi
blobb524c0aea50d7d1204769740ad5fe6295e442ea7
1 /* libgnomeui-2.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gnome", lower_case_cprefix = "gnome_")]
4 namespace Gnome {
5         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
6         public class App : Gtk.Window, Gtk.Buildable, Atk.Implementor {
7                 public weak Gtk.AccelGroup accel_group;
8                 public weak Gtk.Widget contents;
9                 public weak Gtk.Widget dock;
10                 public weak Gtk.Widget menubar;
11                 public weak string name;
12                 public weak string prefix;
13                 public weak Gtk.Widget statusbar;
14                 public weak Gtk.Widget vbox;
15                 [CCode (type = "GtkWidget*", has_construct_function = false)]
16                 public App (string appname, string title);
17                 public void @construct (string appname, string title);
18                 public void create_menus (Gnome.UIInfo uiinfo);
19                 public void create_menus_custom (Gnome.UIInfo uiinfo, Gnome.UIBuilderData uibdata);
20                 public void create_menus_interp (Gnome.UIInfo uiinfo, Gtk.CallbackMarshal relay_func, void* data, GLib.DestroyNotify destroy_func);
21                 public void create_menus_with_data (Gnome.UIInfo uiinfo);
22                 public void create_toolbar (Gnome.UIInfo uiinfo);
23                 public void create_toolbar_custom (Gnome.UIInfo uiinfo, Gnome.UIBuilderData uibdata);
24                 public void create_toolbar_interp (Gnome.UIInfo uiinfo, Gtk.CallbackMarshal relay_func, void* data, GLib.DestroyNotify destroy_func);
25                 public void create_toolbar_with_data (Gnome.UIInfo uiinfo);
26                 public void enable_layout_config (bool enable);
27                 public static void fill_menu (Gtk.MenuShell menu_shell, Gnome.UIInfo uiinfo, Gtk.AccelGroup accel_group, bool uline_accels, int pos);
28                 public static void fill_menu_custom (Gtk.MenuShell menu_shell, Gnome.UIInfo uiinfo, Gnome.UIBuilderData uibdata, Gtk.AccelGroup accel_group, bool uline_accels, int pos);
29                 public static void fill_menu_with_data (Gtk.MenuShell menu_shell, Gnome.UIInfo uiinfo, Gtk.AccelGroup accel_group, bool uline_accels, int pos);
30                 public static void fill_toolbar (Gtk.Toolbar toolbar, Gnome.UIInfo uiinfo, Gtk.AccelGroup accel_group);
31                 public static void fill_toolbar_custom (Gtk.Toolbar toolbar, Gnome.UIInfo uiinfo, Gnome.UIBuilderData uibdata, Gtk.AccelGroup accel_group);
32                 public static void fill_toolbar_with_data (Gtk.Toolbar toolbar, Gnome.UIInfo uiinfo, Gtk.AccelGroup accel_group);
33                 public static unowned Gtk.Widget find_menu_pos (Gtk.Widget parent, string path, int pos);
34                 public static unowned string helper_gettext (string str);
35                 public void insert_menus (string path, Gnome.UIInfo menuinfo);
36                 public void insert_menus_custom (string path, Gnome.UIInfo uiinfo, Gnome.UIBuilderData uibdata);
37                 public void insert_menus_interp (string path, Gnome.UIInfo menuinfo, Gtk.CallbackMarshal relay_func, void* data, GLib.DestroyNotify destroy_func);
38                 public void insert_menus_with_data (string path, Gnome.UIInfo menuinfo, void* data);
39                 public static void install_appbar_menu_hints (Gnome.AppBar appbar, Gnome.UIInfo uiinfo);
40                 public void install_menu_hints (Gnome.UIInfo uiinfo);
41                 public static void install_statusbar_menu_hints (Gtk.Statusbar bar, Gnome.UIInfo uiinfo);
42                 public void remove_menu_range (string path, int start, int items);
43                 public void remove_menus (string path, int items);
44                 public void set_contents (Gtk.Widget contents);
45                 public void set_menus (Gtk.MenuBar menubar);
46                 public void set_statusbar (Gtk.Widget statusbar);
47                 public void set_statusbar_custom (Gtk.Widget container, Gtk.Widget statusbar);
48                 public void set_toolbar (Gtk.Toolbar toolbar);
49                 public static void ui_configure_configurable (Gnome.UIInfo uiinfo);
50                 [NoAccessorMethod]
51                 public string app_id { owned get; set construct; }
52         }
53         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
54         public class AppBar : Gtk.HBox, Gtk.Buildable, Gtk.Orientable, Atk.Implementor {
55                 [CCode (cname = "gnome_appbar_new", type = "GtkWidget*", has_construct_function = false)]
56                 public AppBar (bool has_progress, bool has_status, Gnome.PreferencesType interactivity);
57                 [CCode (cname = "gnome_appbar_clear_stack")]
58                 public void clear_stack ();
59                 [CCode (cname = "gnome_appbar_get_progress")]
60                 public unowned Gtk.ProgressBar get_progress ();
61                 [CCode (cname = "gnome_appbar_get_response")]
62                 public unowned string get_response ();
63                 [CCode (cname = "gnome_appbar_get_status")]
64                 public unowned Gtk.Widget get_status ();
65                 [CCode (cname = "gnome_appbar_pop")]
66                 public void pop ();
67                 [CCode (cname = "gnome_appbar_push")]
68                 public void push (string status);
69                 [CCode (cname = "gnome_appbar_refresh")]
70                 public void refresh ();
71                 [CCode (cname = "gnome_appbar_set_default")]
72                 public void set_default (string default_status);
73                 [CCode (cname = "gnome_appbar_set_progress_percentage")]
74                 public void set_progress_percentage (float percentage);
75                 [CCode (cname = "gnome_appbar_set_prompt")]
76                 public void set_prompt (string prompt, bool modal);
77                 [CCode (cname = "gnome_appbar_set_status")]
78                 public void set_status (string status);
79                 [NoAccessorMethod]
80                 public bool has_progress { get; set construct; }
81                 [NoAccessorMethod]
82                 public bool has_status { get; set construct; }
83                 [NoAccessorMethod]
84                 public Gnome.PreferencesType interactivity { get; set construct; }
85                 [HasEmitter]
86                 public virtual signal void clear_prompt ();
87                 public virtual signal void user_response ();
88         }
89         [Compact]
90         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
91         public class AppBarMsg {
92         }
93         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
94         public class Client : Gtk.Object {
95                 public weak string client_id;
96                 public weak string clone_command;
97                 public weak string config_prefix;
98                 public weak string current_directory;
99                 public weak string discard_command;
100                 public weak GLib.HashTable environment;
101                 public uint fast;
102                 public weak string global_config_prefix;
103                 public int input_id;
104                 public uint interact_style;
105                 public weak GLib.SList interaction_keys;
106                 public weak string previous_id;
107                 public int process_id;
108                 public weak string program;
109                 public void* reserved;
110                 public weak string resign_command;
111                 public weak string restart_command;
112                 public Gnome.RestartStyle restart_style;
113                 public uint save_phase_2_requested;
114                 public uint save_style;
115                 public uint save_successfull;
116                 public uint save_yourself_emitted;
117                 public uint shutdown;
118                 public weak string shutdown_command;
119                 public void* smc_conn;
120                 public uint state;
121                 public weak GLib.List static_args;
122                 public weak string user_id;
123                 [CCode (has_construct_function = false)]
124                 public Client ();
125                 public void add_static_arg ();
126                 public void flush ();
127                 public unowned string get_config_prefix ();
128                 public unowned string get_desktop_id ();
129                 public Gnome.ClientFlags get_flags ();
130                 public unowned string get_global_config_prefix ();
131                 public unowned string get_id ();
132                 public unowned string get_previous_id ();
133                 public static unowned Gnome.ModuleInfo module_info_get ();
134                 public void request_interaction (Gnome.DialogType dialog_type, Gnome.InteractFunction function, void* data);
135                 public void request_interaction_interp (Gnome.DialogType dialog_type, Gtk.CallbackMarshal function, void* data, GLib.DestroyNotify destroy);
136                 public void request_phase_2 ();
137                 public void request_save (Gnome.SaveStyle save_style, bool shutdown, Gnome.InteractStyle interact_style, bool fast, bool global);
138                 public void save_any_dialog (Gtk.Dialog dialog);
139                 public void save_error_dialog (Gtk.Dialog dialog);
140                 public void set_clone_command (int argc, string[] argv);
141                 public void set_current_directory (string dir);
142                 public void set_discard_command (int argc, string[] argv);
143                 public void set_environment (string name, string value);
144                 public void set_global_config_prefix (string prefix);
145                 public void set_id (string id);
146                 public void set_priority (uint priority);
147                 public void set_process_id (int pid);
148                 public void set_program (string program);
149                 public void set_resign_command (int argc, string[] argv);
150                 public void set_restart_command (int argc, string[] argv);
151                 public void set_restart_style (Gnome.RestartStyle style);
152                 public void set_shutdown_command (int argc, string[] argv);
153                 public void set_user_id (string id);
154                 [CCode (has_construct_function = false)]
155                 public Client.without_connection ();
156                 [HasEmitter]
157                 public virtual signal void connect (bool restarted);
158                 public virtual signal void die ();
159                 [HasEmitter]
160                 public virtual signal void disconnect ();
161                 public virtual signal void save_complete ();
162                 public virtual signal bool save_yourself (int phase, Gnome.SaveStyle save_style, bool shutdown, Gnome.InteractStyle interact_style, bool fast);
163                 public virtual signal void shutdown_cancelled ();
164         }
165         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
166         public class DateEdit : Gtk.HBox, Gtk.Buildable, Gtk.Orientable, Atk.Implementor {
167                 [CCode (type = "GtkWidget*", has_construct_function = false)]
168                 public DateEdit (ulong the_time, bool show_time, bool use_24_format);
169                 public void @construct (ulong the_time, Gnome.DateEditFlags flags);
170                 [CCode (type = "GtkWidget*", has_construct_function = false)]
171                 public DateEdit.flags (ulong the_time, Gnome.DateEditFlags flags);
172                 public int get_flags ();
173                 public ulong get_initial_time ();
174                 public ulong get_time ();
175                 public void set_flags (Gnome.DateEditFlags flags);
176                 public void set_popup_range (int low_hour, int up_hour);
177                 public void set_time (ulong the_time);
178                 [NoAccessorMethod]
179                 public Gnome.DateEditFlags dateedit_flags { get; set; }
180                 [NoAccessorMethod]
181                 public ulong initial_time { get; set; }
182                 [NoAccessorMethod]
183                 public int lower_hour { get; set; }
184                 public ulong time { get; set; }
185                 [NoAccessorMethod]
186                 public int upper_hour { get; set; }
187                 public virtual signal void date_changed ();
188                 public virtual signal void time_changed ();
189         }
190         [Compact]
191         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
192         public class GdkPixbufAsyncHandle {
193         }
194         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
195         public class IconEntry : Gtk.VBox, Gtk.Buildable, Gtk.Orientable, Atk.Implementor {
196                 [CCode (type = "GtkWidget*", has_construct_function = false)]
197                 public IconEntry (string history_id, string browse_dialog_title);
198                 public void @construct (string history_id, string browse_dialog_title);
199                 public unowned string get_filename ();
200                 [CCode (cname = "gnome_icon_entry_pick_dialog")]
201                 public unowned Gtk.Widget get_pick_dialog ();
202                 public unowned Gtk.Widget gnome_entry ();
203                 public unowned Gtk.Widget gnome_file_entry ();
204                 public unowned Gtk.Widget gtk_entry ();
205                 public void set_browse_dialog_title (string browse_dialog_title);
206                 public bool set_filename (string filename);
207                 public void set_history_id (string history_id);
208                 public void set_icon (string filename);
209                 public void set_max_saved (uint max_saved);
210                 public void set_pixmap_subdir (string subdir);
211                 [NoAccessorMethod]
212                 public string browse_dialog_title { owned get; set; }
213                 public string filename { get; set; }
214                 [NoAccessorMethod]
215                 public string history_id { owned get; set; }
216                 [NoAccessorMethod]
217                 public Gtk.Dialog pick_dialog { owned get; }
218                 [NoAccessorMethod]
219                 public string pixmap_subdir { owned get; set; }
220                 public virtual signal void browse ();
221                 public virtual signal void changed ();
222         }
223         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
224         public class IconSelection : Gtk.VBox, Gtk.Buildable, Gtk.Orientable, Atk.Implementor {
225                 [CCode (type = "GtkWidget*", has_construct_function = false)]
226                 public IconSelection ();
227                 public void add_defaults ();
228                 public void add_directory (string dir);
229                 public void clear (bool not_shown);
230                 public unowned Gtk.Widget get_box ();
231                 public unowned Gtk.Widget get_gil ();
232                 public unowned string get_icon (bool full_path);
233                 public void select_icon (string filename);
234                 public void show_icons ();
235                 public void stop_loading ();
236         }
237         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
238         public class PasswordDialog : Gtk.Dialog, Gtk.Buildable, Atk.Implementor {
239                 public weak Gnome.PasswordDialogDetails details;
240                 [CCode (type = "GtkWidget*", has_construct_function = false)]
241                 public PasswordDialog (string dialog_title, string message, string username, string password, bool readonly_username);
242                 public bool anon_selected ();
243                 public unowned string get_domain ();
244                 public unowned string get_new_password ();
245                 public unowned string get_password ();
246                 public Gnome.PasswordDialogRemember get_remember ();
247                 public unowned string get_username ();
248                 public bool run_and_block ();
249                 public void set_domain (string domain);
250                 public void set_new_password (string password);
251                 public void set_password (string password);
252                 public void set_password_quality_func (Gnome.PasswordDialogQualityFunc func, void* data, GLib.DestroyNotify dnotify);
253                 public void set_readonly_domain (bool readonly);
254                 public void set_readonly_username (bool readonly);
255                 public void set_remember (Gnome.PasswordDialogRemember remember);
256                 public void set_show_domain (bool show);
257                 public void set_show_new_password (bool show);
258                 public void set_show_new_password_quality (bool show);
259                 public void set_show_password (bool show);
260                 public void set_show_remember (bool show_remember);
261                 public void set_show_username (bool show);
262                 public void set_show_userpass_buttons (bool show_userpass_buttons);
263                 public void set_username (string username);
264                 [NoAccessorMethod]
265                 public bool anonymous { get; set; }
266                 public string domain { get; set; }
267                 [NoAccessorMethod]
268                 public string message { owned get; set; }
269                 [NoAccessorMethod]
270                 public string message_markup { owned get; set; }
271                 public string new_password { get; set; }
272                 public string password { get; set; }
273                 [NoAccessorMethod]
274                 public bool readonly_domain { get; set; }
275                 [NoAccessorMethod]
276                 public bool readonly_username { get; set; }
277                 [NoAccessorMethod]
278                 public Gnome.PasswordDialogRemember remember_mode { get; set; }
279                 [NoAccessorMethod]
280                 public bool show_domain { get; set; }
281                 [NoAccessorMethod]
282                 public bool show_new_password { get; set; }
283                 [NoAccessorMethod]
284                 public bool show_new_password_quality { get; set; }
285                 [NoAccessorMethod]
286                 public bool show_password { get; set; }
287                 [NoAccessorMethod]
288                 public bool show_remember { get; set; }
289                 [NoAccessorMethod]
290                 public bool show_username { get; set; }
291                 [NoAccessorMethod]
292                 public bool show_userpass_buttons { get; set; }
293                 public string username { get; set; }
294         }
295         [Compact]
296         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
297         public class PasswordDialogDetails {
298         }
299         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
300         public class ThumbnailFactory : GLib.Object {
301                 [CCode (has_construct_function = false)]
302                 public ThumbnailFactory (Gnome.ThumbnailSize size);
303                 public bool can_thumbnail (string uri, string mime_type, ulong mtime);
304                 public void create_failed_thumbnail (string uri, ulong mtime);
305                 public unowned Gdk.Pixbuf generate_thumbnail (string uri, string mime_type);
306                 public bool has_valid_failed_thumbnail (string uri, ulong mtime);
307                 public unowned string lookup (string uri, ulong mtime);
308                 public void save_thumbnail (Gdk.Pixbuf thumbnail, string uri, ulong original_mtime);
309         }
310         [Compact]
311         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
312         public class UIBuilderData {
313                 public weak Gnome.UISignalConnectFunc connect_func;
314                 public void* data;
315                 public weak GLib.DestroyNotify destroy_func;
316                 public bool is_interp;
317                 public weak Gtk.CallbackMarshal relay_func;
318         }
319         [Compact]
320         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
321         public class UIInfo {
322                 public Gdk.ModifierType ac_mods;
323                 public uint accelerator_key;
324                 public weak string hint;
325                 public weak string label;
326                 public void* moreinfo;
327                 public void* pixmap_info;
328                 public Gnome.UIPixmapType pixmap_type;
329                 public Gnome.UIInfoType type;
330                 public void* unused_data;
331                 public void* user_data;
332                 public weak Gtk.Widget widget;
333         }
334         [CCode (cprefix = "GNOME_CLIENT_", cheader_filename = "libgnomeui/libgnomeui.h")]
335         [Flags]
336         public enum ClientFlags {
337                 IS_CONNECTED,
338                 RESTARTED,
339                 RESTORED
340         }
341         [CCode (cprefix = "GNOME_CLIENT_", cheader_filename = "libgnomeui/libgnomeui.h")]
342         public enum ClientState {
343                 IDLE,
344                 SAVING_PHASE_1,
345                 WAITING_FOR_PHASE_2,
346                 SAVING_PHASE_2,
347                 FROZEN,
348                 DISCONNECTED,
349                 REGISTERING
350         }
351         [CCode (cprefix = "GNOME_DATE_EDIT_", cheader_filename = "libgnomeui/libgnomeui.h")]
352         [Flags]
353         public enum DateEditFlags {
354                 SHOW_TIME,
355                 @24_HR,
356                 WEEK_STARTS_ON_MONDAY,
357                 DISPLAY_SECONDS
358         }
359         [CCode (cprefix = "GNOME_DIALOG_", cheader_filename = "libgnomeui/libgnomeui.h")]
360         public enum DialogType {
361                 ERROR,
362                 NORMAL
363         }
364         [CCode (cprefix = "GNOME_EDGE_", cheader_filename = "libgnomeui/libgnomeui.h")]
365         public enum EdgePosition {
366                 START,
367                 FINISH,
368                 OTHER,
369                 LAST
370         }
371         [CCode (cprefix = "GNOME_FONT_PICKER_MODE_", cheader_filename = "libgnomeui/libgnomeui.h")]
372         public enum FontPickerMode {
373                 PIXMAP,
374                 FONT_INFO,
375                 USER_WIDGET,
376                 UNKNOWN
377         }
378         [CCode (cprefix = "GNOME_ICON_LIST_", cheader_filename = "libgnomeui/libgnomeui.h")]
379         public enum IconListMode {
380                 ICONS,
381                 TEXT_BELOW,
382                 TEXT_RIGHT
383         }
384         [CCode (cprefix = "GNOME_ICON_LOOKUP_FLAGS_", cheader_filename = "libgnomeui/libgnomeui.h")]
385         [Flags]
386         public enum IconLookupFlags {
387                 NONE,
388                 EMBEDDING_TEXT,
389                 SHOW_SMALL_IMAGES_AS_THEMSELVES,
390                 ALLOW_SVG_AS_THEMSELVES
391         }
392         [CCode (cprefix = "GNOME_ICON_LOOKUP_RESULT_FLAGS_", cheader_filename = "libgnomeui/libgnomeui.h")]
393         [Flags]
394         public enum IconLookupResultFlags {
395                 NONE,
396                 THUMBNAIL
397         }
398         [CCode (cprefix = "GNOME_INTERACT_", cheader_filename = "libgnomeui/libgnomeui.h")]
399         public enum InteractStyle {
400                 NONE,
401                 ERRORS,
402                 ANY
403         }
404         [CCode (cprefix = "GNOME_MDI_", cheader_filename = "libgnomeui/libgnomeui.h")]
405         public enum MDIMode {
406                 NOTEBOOK,
407                 TOPLEVEL,
408                 MODAL,
409                 DEFAULT_MODE
410         }
411         [CCode (cprefix = "GNOME_PASSWORD_DIALOG_REMEMBER_", cheader_filename = "libgnomeui/libgnomeui.h")]
412         public enum PasswordDialogRemember {
413                 NOTHING,
414                 SESSION,
415                 FOREVER
416         }
417         [CCode (cprefix = "GNOME_PREFERENCES_", cheader_filename = "libgnomeui/libgnomeui.h")]
418         public enum PreferencesType {
419                 NEVER,
420                 USER,
421                 ALWAYS
422         }
423         [CCode (cprefix = "GNOME_RESTART_", cheader_filename = "libgnomeui/libgnomeui.h")]
424         public enum RestartStyle {
425                 IF_RUNNING,
426                 ANYWAY,
427                 IMMEDIATELY,
428                 NEVER
429         }
430         [CCode (cprefix = "GNOME_SAVE_", cheader_filename = "libgnomeui/libgnomeui.h")]
431         public enum SaveStyle {
432                 GLOBAL,
433                 LOCAL,
434                 BOTH
435         }
436         [CCode (cprefix = "GNOME_THUMBNAIL_SIZE_", cheader_filename = "libgnomeui/libgnomeui.h")]
437         public enum ThumbnailSize {
438                 NORMAL,
439                 LARGE
440         }
441         [CCode (cprefix = "GNOME_APP_CONFIGURABLE_ITEM_", cheader_filename = "libgnomeui/libgnomeui.h")]
442         public enum UIInfoConfigurableTypes {
443                 NEW,
444                 OPEN,
445                 SAVE,
446                 SAVE_AS,
447                 REVERT,
448                 PRINT,
449                 PRINT_SETUP,
450                 CLOSE,
451                 QUIT,
452                 CUT,
453                 COPY,
454                 PASTE,
455                 CLEAR,
456                 UNDO,
457                 REDO,
458                 FIND,
459                 FIND_AGAIN,
460                 REPLACE,
461                 PROPERTIES,
462                 PREFERENCES,
463                 ABOUT,
464                 SELECT_ALL,
465                 NEW_WINDOW,
466                 CLOSE_WINDOW,
467                 NEW_GAME,
468                 PAUSE_GAME,
469                 RESTART_GAME,
470                 UNDO_MOVE,
471                 REDO_MOVE,
472                 HINT,
473                 SCORES,
474                 END_GAME
475         }
476         [CCode (cprefix = "GNOME_APP_UI_", cheader_filename = "libgnomeui/libgnomeui.h")]
477         public enum UIInfoType {
478                 ENDOFINFO,
479                 ITEM,
480                 TOGGLEITEM,
481                 RADIOITEMS,
482                 SUBTREE,
483                 SEPARATOR,
484                 HELP,
485                 BUILDER_DATA,
486                 ITEM_CONFIGURABLE,
487                 SUBTREE_STOCK,
488                 INCLUDE
489         }
490         [CCode (cprefix = "GNOME_APP_PIXMAP_", cheader_filename = "libgnomeui/libgnomeui.h")]
491         public enum UIPixmapType {
492                 NONE,
493                 STOCK,
494                 DATA,
495                 FILENAME
496         }
497         [CCode (cheader_filename = "libgnomeui/libgnomeui.h", has_target = false)]
498         public delegate void GdkPixbufDoneCallback (Gnome.GdkPixbufAsyncHandle handle, void* cb_data);
499         [CCode (cheader_filename = "libgnomeui/libgnomeui.h", has_target = false)]
500         public delegate void GdkPixbufLoadCallback (Gnome.GdkPixbufAsyncHandle handle, GnomeVFS.Result error, Gdk.Pixbuf pixbuf, void* cb_data);
501         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
502         public delegate void InteractFunction (Gnome.Client client, int key, Gnome.DialogType dialog_type);
503         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
504         public delegate double PasswordDialogQualityFunc (Gnome.PasswordDialog password_dialog, string password);
505         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
506         public delegate void ReplyCallback (int reply);
507         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
508         public delegate void StringCallback (string str);
509         [CCode (cheader_filename = "libgnomeui/libgnomeui.h", has_target = false)]
510         public delegate void UISignalConnectFunc (Gnome.UIInfo uiinfo, string signal_name, Gnome.UIBuilderData uibdata);
511         [CCode (cname = "LIBGNOMEUI_MODULE", cheader_filename = "libgnomeui/libgnomeui.h")]
512         public static Gnome.ModuleInfo libgnomeui_module;
513         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
514         public const string APP_MENUBAR_NAME;
515         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
516         public const string APP_TOOLBAR_NAME;
517         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
518         public const int CANCEL;
519         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
520         public const string CLIENT_PARAM_SM_CONNECT;
521         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
522         public const string GNOMEUIINFO_KEY_UIBDATA;
523         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
524         public const string GNOMEUIINFO_KEY_UIDATA;
525         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
526         public const int KEY_MOD_CLEAR;
527         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
528         public const int KEY_MOD_CLOSE_WINDOW;
529         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
530         public const int KEY_MOD_NEW_WINDOW;
531         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
532         public const int KEY_MOD_PAUSE_GAME;
533         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
534         public const int KEY_MOD_PRINT_SETUP;
535         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
536         public const int KEY_MOD_REDO;
537         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
538         public const int KEY_MOD_REDO_MOVE;
539         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
540         public const int KEY_MOD_SAVE_AS;
541         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
542         public const int KEY_NAME_CLEAR;
543         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
544         public const int KEY_NAME_CLOSE_WINDOW;
545         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
546         public const int KEY_NAME_NEW_WINDOW;
547         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
548         public const int KEY_NAME_PRINT_SETUP;
549         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
550         public const string LIBGNOMEUI_PARAM_CRASH_DIALOG;
551         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
552         public const string LIBGNOMEUI_PARAM_DEFAULT_ICON;
553         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
554         public const string LIBGNOMEUI_PARAM_DISPLAY;
555         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
556         public const string MESSAGE_BOX_ERROR;
557         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
558         public const string MESSAGE_BOX_GENERIC;
559         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
560         public const string MESSAGE_BOX_INFO;
561         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
562         public const string MESSAGE_BOX_QUESTION;
563         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
564         public const string MESSAGE_BOX_WARNING;
565         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
566         public const int NO;
567         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
568         public const int OK;
569         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
570         public const int PAD;
571         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
572         public const int PAD_BIG;
573         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
574         public const int PAD_SMALL;
575         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
576         public const string PROPERTY_BOX_DIRTY;
577         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
578         public const string STOCK_ABOUT;
579         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
580         public const string STOCK_ATTACH;
581         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
582         public const string STOCK_AUTHENTICATION;
583         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
584         public const string STOCK_BLANK;
585         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
586         public const string STOCK_BOOK_BLUE;
587         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
588         public const string STOCK_BOOK_GREEN;
589         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
590         public const string STOCK_BOOK_OPEN;
591         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
592         public const string STOCK_BOOK_RED;
593         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
594         public const string STOCK_BOOK_YELLOW;
595         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
596         public const string STOCK_LINE_IN;
597         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
598         public const string STOCK_MAIL;
599         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
600         public const string STOCK_MAIL_FWD;
601         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
602         public const string STOCK_MAIL_NEW;
603         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
604         public const string STOCK_MAIL_RCV;
605         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
606         public const string STOCK_MAIL_RPL;
607         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
608         public const string STOCK_MAIL_SND;
609         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
610         public const string STOCK_MIC;
611         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
612         public const string STOCK_MIDI;
613         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
614         public const string STOCK_MULTIPLE_FILE;
615         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
616         public const string STOCK_NOT;
617         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
618         public const string STOCK_SCORES;
619         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
620         public const string STOCK_TABLE_BORDERS;
621         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
622         public const string STOCK_TABLE_FILL;
623         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
624         public const string STOCK_TEXT_BULLETED_LIST;
625         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
626         public const string STOCK_TEXT_INDENT;
627         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
628         public const string STOCK_TEXT_NUMBERED_LIST;
629         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
630         public const string STOCK_TEXT_UNINDENT;
631         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
632         public const string STOCK_TIMER;
633         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
634         public const string STOCK_TIMER_STOP;
635         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
636         public const string STOCK_TRASH;
637         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
638         public const string STOCK_TRASH_FULL;
639         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
640         public const string STOCK_VOLUME;
641         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
642         public const int YES;
643         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
644         public static void accelerators_sync ();
645         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
646         public static bool authentication_manager_dialog_is_visible ();
647         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
648         public static void authentication_manager_init ();
649         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
650         public static unowned Gdk.Pixbuf gdk_pixbuf_new_from_uri (string uri);
651         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
652         public static unowned Gnome.GdkPixbufAsyncHandle gdk_pixbuf_new_from_uri_async (string uri, Gnome.GdkPixbufLoadCallback load_callback, Gnome.GdkPixbufDoneCallback done_callback, void* callback_data);
653         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
654         public static unowned Gdk.Pixbuf gdk_pixbuf_new_from_uri_at_scale (string uri, int width, int height, bool preserve_aspect_ratio);
655         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
656         public static void gdk_pixbuf_new_from_uri_cancel (Gnome.GdkPixbufAsyncHandle handle);
657         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
658         public static unowned Gnome.ModuleInfo gtk_module_info_get ();
659         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
660         public static bool help_display_desktop_on_screen (Gnome.Program program, string doc_id, string file_name, string link_id, Gdk.Screen screen) throws GLib.Error;
661         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
662         public static bool help_display_on_screen (string file_name, string link_id, Gdk.Screen screen) throws GLib.Error;
663         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
664         public static bool help_display_uri_on_screen (string help_uri, Gdk.Screen screen) throws GLib.Error;
665         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
666         public static bool help_display_with_doc_id_on_screen (Gnome.Program program, string doc_id, string file_name, string link_id, Gdk.Screen screen) throws GLib.Error;
667         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
668         public static void ice_init ();
669         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
670         public static unowned string icon_lookup (Gtk.IconTheme icon_theme, Gnome.ThumbnailFactory thumbnail_factory, string file_uri, string custom_icon, GnomeVFS.FileInfo file_info, string mime_type, Gnome.IconLookupFlags flags, Gnome.IconLookupResultFlags _result);
671         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
672         public static unowned string icon_lookup_sync (Gtk.IconTheme icon_theme, Gnome.ThumbnailFactory thumbnail_factory, string file_uri, string custom_icon, Gnome.IconLookupFlags flags, Gnome.IconLookupResultFlags _result);
673         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
674         public static void interaction_key_return (int key, bool cancel_shutdown);
675         [CCode (cname = "libgnomeui_module_info_get", cheader_filename = "libgnomeui/libgnomeui.h")]
676         public static unowned Gnome.ModuleInfo libgnomeui_module_info_get ();
677         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
678         public static unowned Gnome.Client master_client ();
679         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
680         public static bool thumbnail_has_uri (Gdk.Pixbuf pixbuf, string uri);
681         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
682         public static bool thumbnail_is_valid (Gdk.Pixbuf pixbuf, string uri, ulong mtime);
683         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
684         public static unowned string thumbnail_md5 (string uri);
685         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
686         public static unowned string thumbnail_path_for_uri (string uri, Gnome.ThumbnailSize size);
687         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
688         public static unowned Gdk.Pixbuf thumbnail_scale_down_pixbuf (Gdk.Pixbuf pixbuf, int dest_width, int dest_height);
689         [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
690         public static bool url_show_on_screen (string url, Gdk.Screen screen) throws GLib.Error;