1 /* gnome-desktop-2.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gnome", lower_case_cprefix = "gnome_")]
5 [CCode (cheader_filename = "libgnomeui/gnome-ditem-edit.h")]
6 public class DItemEdit : Gtk.Notebook, Atk.Implementor, Gtk.Buildable {
7 [CCode (type = "GtkWidget*", has_construct_function = false)]
10 public unowned Gnome.DesktopItem get_ditem ();
11 public unowned string get_icon ();
12 public void grab_focus ();
13 public bool load_uri (string uri) throws GLib.Error;
14 public void set_directory_only (bool directory_only);
15 public void set_ditem (Gnome.DesktopItem ditem);
16 public void set_editable (bool editable);
17 public void set_entry_type (string type);
18 public virtual signal void changed ();
19 public virtual signal void icon_changed ();
20 public virtual signal void name_changed ();
23 [CCode (ref_function = "gnome_desktop_item_ref", unref_function = "gnome_desktop_item_unref", type_id = "GNOME_TYPE_DESKTOP_ITEM", cheader_filename = "libgnome/gnome-desktop-item.h")]
24 public class DesktopItem {
25 [CCode (has_construct_function = false)]
26 public DesktopItem ();
27 public bool attr_exists (string attr);
28 public void clear_localestring (string attr);
29 public void clear_section (string section);
30 public Gnome.DesktopItem copy ();
31 public int drop_uri_list (string uri_list, Gnome.DesktopItemLaunchFlags flags) throws GLib.Error;
32 public int drop_uri_list_with_env (string uri_list, Gnome.DesktopItemLaunchFlags flags, string[] envp) throws GLib.Error;
33 public static GLib.Quark error_quark ();
34 public bool exists ();
35 public static unowned string find_icon (Gtk.IconTheme icon_theme, string icon, int desired_size, int flags);
36 [CCode (has_construct_function = false)]
37 public DesktopItem.from_basename (string basename, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
38 [CCode (has_construct_function = false)]
39 public DesktopItem.from_file (string file, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
40 [CCode (has_construct_function = false)]
41 public DesktopItem.from_string (string uri, string str, ssize_t length, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
42 [CCode (has_construct_function = false)]
43 public DesktopItem.from_uri (string uri, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
44 public unowned string get_attr_locale (string attr);
45 public bool get_boolean (string attr);
46 public Gnome.DesktopItemType get_entry_type ();
47 public Gnome.DesktopItemStatus get_file_status ();
48 public unowned string get_icon (Gtk.IconTheme icon_theme);
49 public unowned GLib.List get_languages (string attr);
50 public unowned string get_localestring (string attr);
51 public unowned string get_localestring_lang (string attr, string language);
52 public unowned string get_location ();
53 public unowned string get_string (string attr);
54 [CCode (array_length = false, array_null_terminated = true)]
55 public unowned string[] get_strings (string attr);
56 public int launch (GLib.List file_list, Gnome.DesktopItemLaunchFlags flags) throws GLib.Error;
57 public int launch_on_screen (GLib.List file_list, Gnome.DesktopItemLaunchFlags flags, Gdk.Screen screen, int workspace) throws GLib.Error;
58 public int launch_with_env (GLib.List file_list, Gnome.DesktopItemLaunchFlags flags, string[] envp) throws GLib.Error;
59 public bool save (string under, bool force) throws GLib.Error;
60 public void set_boolean (string attr, bool value);
61 public void set_entry_type (Gnome.DesktopItemType type);
62 public void set_launch_time (uint32 timestamp);
63 public void set_localestring (string attr, string value);
64 public void set_localestring_lang (string attr, string language, string value);
65 public void set_location (string location);
66 public void set_location_file (string file);
67 public void set_string (string attr, string value);
68 public void set_strings (string attr, [CCode (array_length = false)] string[] strings);
70 [CCode (cheader_filename = "libgnomeui/gnome-hint.h")]
71 public class Hint : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
72 [CCode (type = "GtkWidget*", has_construct_function = false)]
73 public Hint (string hintfile, string title, string background_image, string logo_image, string startupkey);
75 [CCode (cprefix = "GNOME_DESKTOP_ITEM_ERROR_", has_type_id = false, cheader_filename = "libgnome/gnome-desktop-item.h")]
76 public enum DesktopItemError {
86 [CCode (cprefix = "GNOME_DESKTOP_ITEM_ICON_NO_", has_type_id = false, cheader_filename = "libgnome/gnome-desktop-item.h")]
87 public enum DesktopItemIconFlags {
90 [CCode (cprefix = "GNOME_DESKTOP_ITEM_LAUNCH_", has_type_id = false, cheader_filename = "libgnome/gnome-desktop-item.h")]
91 public enum DesktopItemLaunchFlags {
98 [CCode (cprefix = "GNOME_DESKTOP_ITEM_LOAD_", has_type_id = false, cheader_filename = "libgnome/gnome-desktop-item.h")]
99 public enum DesktopItemLoadFlags {
103 [CCode (cprefix = "GNOME_DESKTOP_ITEM_", has_type_id = false, cheader_filename = "libgnome/gnome-desktop-item.h")]
104 public enum DesktopItemStatus {
109 [CCode (cprefix = "GNOME_DESKTOP_ITEM_TYPE_", has_type_id = false, cheader_filename = "libgnome/gnome-desktop-item.h")]
110 public enum DesktopItemType {
121 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
122 public const string DESKTOP_ITEM_ACTIONS;
123 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
124 public const string DESKTOP_ITEM_CATEGORIES;
125 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
126 public const string DESKTOP_ITEM_COMMENT;
127 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
128 public const string DESKTOP_ITEM_DEFAULT_APP;
129 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
130 public const string DESKTOP_ITEM_DEV;
131 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
132 public const string DESKTOP_ITEM_DOC_PATH;
133 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
134 public const string DESKTOP_ITEM_ENCODING;
135 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
136 public const string DESKTOP_ITEM_EXEC;
137 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
138 public const string DESKTOP_ITEM_FILE_PATTERN;
139 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
140 public const string DESKTOP_ITEM_FS_TYPE;
141 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
142 public const string DESKTOP_ITEM_GENERIC_NAME;
143 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
144 public const string DESKTOP_ITEM_HIDDEN;
145 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
146 public const string DESKTOP_ITEM_ICON;
147 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
148 public const string DESKTOP_ITEM_MIME_TYPE;
149 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
150 public const string DESKTOP_ITEM_MINI_ICON;
151 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
152 public const string DESKTOP_ITEM_MOUNT_POINT;
153 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
154 public const string DESKTOP_ITEM_NAME;
155 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
156 public const string DESKTOP_ITEM_NO_DISPLAY;
157 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
158 public const string DESKTOP_ITEM_ONLY_SHOW_IN;
159 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
160 public const string DESKTOP_ITEM_PATH;
161 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
162 public const string DESKTOP_ITEM_PATTERNS;
163 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
164 public const string DESKTOP_ITEM_READ_ONLY;
165 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
166 public const string DESKTOP_ITEM_SORT_ORDER;
167 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
168 public const string DESKTOP_ITEM_SWALLOW_EXEC;
169 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
170 public const string DESKTOP_ITEM_SWALLOW_TITLE;
171 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
172 public const string DESKTOP_ITEM_TERMINAL;
173 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
174 public const string DESKTOP_ITEM_TERMINAL_OPTIONS;
175 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
176 public const string DESKTOP_ITEM_TRY_EXEC;
177 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
178 public const string DESKTOP_ITEM_TYPE;
179 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
180 public const string DESKTOP_ITEM_UNMOUNT_ICON;
181 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
182 public const string DESKTOP_ITEM_URL;
183 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
184 public const string DESKTOP_ITEM_VERSION;