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