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