1 /* gnome-desktop-2.0.vapi generated by vapigen, do not modify. */
4 [CCode (cheader_filename = "libgnomeui/gnome-ditem-edit.h")]
5 public class DItemEdit : Gtk.Notebook, Atk.Implementor, Gtk.Buildable {
6 [CCode (has_construct_function = false, type = "GtkWidget*")]
9 public unowned Gnome.DesktopItem get_ditem ();
10 public unowned string get_icon ();
11 public void grab_focus ();
12 public bool load_uri (string uri) throws GLib.Error;
13 public void set_directory_only (bool directory_only);
14 public void set_ditem (Gnome.DesktopItem ditem);
15 public void set_editable (bool editable);
16 public void set_entry_type (string type);
17 public virtual signal void changed ();
18 public virtual signal void icon_changed ();
19 public virtual signal void name_changed ();
21 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h", ref_function = "gnome_desktop_item_ref", type_id = "gnome_desktop_item_get_type ()", unref_function = "gnome_desktop_item_unref")]
23 public class DesktopItem {
24 [CCode (has_construct_function = false)]
25 public DesktopItem ();
26 public bool attr_exists (string attr);
27 public void clear_localestring (string attr);
28 public void clear_section (string section);
29 public Gnome.DesktopItem copy ();
30 public int drop_uri_list (string uri_list, Gnome.DesktopItemLaunchFlags flags) throws GLib.Error;
31 public int drop_uri_list_with_env (string uri_list, Gnome.DesktopItemLaunchFlags flags, string[] envp) throws GLib.Error;
32 public static GLib.Quark error_quark ();
33 public bool exists ();
34 public static unowned string find_icon (Gtk.IconTheme icon_theme, string icon, int desired_size, int flags);
35 [CCode (has_construct_function = false)]
36 public DesktopItem.from_basename (string basename, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
37 [CCode (has_construct_function = false)]
38 public DesktopItem.from_file (string file, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
39 [CCode (has_construct_function = false)]
40 public DesktopItem.from_string (string uri, string str, ssize_t length, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
41 [CCode (has_construct_function = false)]
42 public DesktopItem.from_uri (string uri, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
43 public unowned string get_attr_locale (string attr);
44 public bool get_boolean (string attr);
45 public Gnome.DesktopItemType get_entry_type ();
46 public Gnome.DesktopItemStatus get_file_status ();
47 public unowned string get_icon (Gtk.IconTheme icon_theme);
48 public unowned GLib.List get_languages (string attr);
49 public unowned string get_localestring (string attr);
50 public unowned string get_localestring_lang (string attr, string language);
51 public unowned string get_location ();
52 public unowned string get_string (string attr);
53 [CCode (array_length = false, array_null_terminated = true)]
54 public unowned string[] get_strings (string attr);
55 public int launch (GLib.List file_list, Gnome.DesktopItemLaunchFlags flags) throws GLib.Error;
56 public int launch_on_screen (GLib.List file_list, Gnome.DesktopItemLaunchFlags flags, Gdk.Screen screen, int workspace) throws GLib.Error;
57 public int launch_with_env (GLib.List file_list, Gnome.DesktopItemLaunchFlags flags, string[] envp) throws GLib.Error;
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, [CCode (array_length = false, array_null_terminated = true)] string[] strings);
69 [CCode (cheader_filename = "libgnomeui/gnome-hint.h")]
70 public class Hint : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
71 [CCode (has_construct_function = false, type = "GtkWidget*")]
72 public Hint (string hintfile, string title, string background_image, string logo_image, string startupkey);
74 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_ERROR_", has_type_id = false)]
75 public enum DesktopItemError {
85 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_ICON_NO_", has_type_id = false)]
86 public enum DesktopItemIconFlags {
89 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_LAUNCH_", has_type_id = false)]
90 public enum DesktopItemLaunchFlags {
97 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_LOAD_", has_type_id = false)]
98 public enum DesktopItemLoadFlags {
102 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_", has_type_id = false)]
103 public enum DesktopItemStatus {
108 [CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_TYPE_", has_type_id = false)]
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;