/usr/share/vala-0.16/vapi/gnome-desktop-2.0.vapi is in valac-0.16-vapi 0.16.1-2ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | /* gnome-desktop-2.0.vapi generated by vapigen, do not modify. */
namespace Gnome {
[CCode (cheader_filename = "libgnomeui/gnome-ditem-edit.h")]
public class DItemEdit : Gtk.Notebook, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public DItemEdit ();
public void clear ();
public unowned Gnome.DesktopItem get_ditem ();
public unowned string get_icon ();
public void grab_focus ();
public bool load_uri (string uri) throws GLib.Error;
public void set_directory_only (bool directory_only);
public void set_ditem (Gnome.DesktopItem ditem);
public void set_editable (bool editable);
public void set_entry_type (string type);
public virtual signal void changed ();
public virtual signal void icon_changed ();
public virtual signal void name_changed ();
}
[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")]
[Compact]
public class DesktopItem {
[CCode (has_construct_function = false)]
public DesktopItem ();
public bool attr_exists (string attr);
public void clear_localestring (string attr);
public void clear_section (string section);
public Gnome.DesktopItem copy ();
public int drop_uri_list (string uri_list, Gnome.DesktopItemLaunchFlags flags) throws GLib.Error;
public int drop_uri_list_with_env (string uri_list, Gnome.DesktopItemLaunchFlags flags, string[] envp) throws GLib.Error;
public static GLib.Quark error_quark ();
public bool exists ();
public static unowned string find_icon (Gtk.IconTheme icon_theme, string icon, int desired_size, int flags);
[CCode (has_construct_function = false)]
public DesktopItem.from_basename (string basename, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
[CCode (has_construct_function = false)]
public DesktopItem.from_file (string file, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
[CCode (has_construct_function = false)]
public DesktopItem.from_string (string uri, string str, ssize_t length, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
[CCode (has_construct_function = false)]
public DesktopItem.from_uri (string uri, Gnome.DesktopItemLoadFlags flags) throws GLib.Error;
public unowned string get_attr_locale (string attr);
public bool get_boolean (string attr);
public Gnome.DesktopItemType get_entry_type ();
public Gnome.DesktopItemStatus get_file_status ();
public unowned string get_icon (Gtk.IconTheme icon_theme);
public unowned GLib.List get_languages (string attr);
public unowned string get_localestring (string attr);
public unowned string get_localestring_lang (string attr, string language);
public unowned string get_location ();
public unowned string get_string (string attr);
[CCode (array_length = false, array_null_terminated = true)]
public unowned string[] get_strings (string attr);
public int launch (GLib.List file_list, Gnome.DesktopItemLaunchFlags flags) throws GLib.Error;
public int launch_on_screen (GLib.List file_list, Gnome.DesktopItemLaunchFlags flags, Gdk.Screen screen, int workspace) throws GLib.Error;
public int launch_with_env (GLib.List file_list, Gnome.DesktopItemLaunchFlags flags, string[] envp) throws GLib.Error;
public bool save (string under, bool force) throws GLib.Error;
public void set_boolean (string attr, bool value);
public void set_entry_type (Gnome.DesktopItemType type);
public void set_launch_time (uint32 timestamp);
public void set_localestring (string attr, string value);
public void set_localestring_lang (string attr, string language, string value);
public void set_location (string location);
public void set_location_file (string file);
public void set_string (string attr, string value);
public void set_strings (string attr, [CCode (array_length = false, array_null_terminated = true)] string[] strings);
}
[CCode (cheader_filename = "libgnomeui/gnome-hint.h")]
public class Hint : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Hint (string hintfile, string title, string background_image, string logo_image, string startupkey);
}
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_ERROR_", has_type_id = false)]
public enum DesktopItemError {
NO_FILENAME,
UNKNOWN_ENCODING,
CANNOT_OPEN,
NO_EXEC_STRING,
BAD_EXEC_STRING,
NO_URL,
NOT_LAUNCHABLE,
INVALID_TYPE
}
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_ICON_NO_", has_type_id = false)]
public enum DesktopItemIconFlags {
KDE
}
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_LAUNCH_", has_type_id = false)]
public enum DesktopItemLaunchFlags {
ONLY_ONE,
USE_CURRENT_DIR,
APPEND_URIS,
APPEND_PATHS,
DO_NOT_REAP_CHILD
}
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_LOAD_", has_type_id = false)]
public enum DesktopItemLoadFlags {
ONLY_IF_EXISTS,
NO_TRANSLATIONS
}
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_", has_type_id = false)]
public enum DesktopItemStatus {
UNCHANGED,
CHANGED,
DISAPPEARED
}
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h", cprefix = "GNOME_DESKTOP_ITEM_TYPE_", has_type_id = false)]
public enum DesktopItemType {
NULL,
OTHER,
APPLICATION,
LINK,
FSDEVICE,
MIME_TYPE,
DIRECTORY,
SERVICE,
SERVICE_TYPE
}
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_ACTIONS;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_CATEGORIES;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_COMMENT;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_DEFAULT_APP;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_DEV;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_DOC_PATH;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_ENCODING;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_EXEC;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_FILE_PATTERN;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_FS_TYPE;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_GENERIC_NAME;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_HIDDEN;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_ICON;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_MIME_TYPE;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_MINI_ICON;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_MOUNT_POINT;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_NAME;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_NO_DISPLAY;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_ONLY_SHOW_IN;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_PATH;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_PATTERNS;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_READ_ONLY;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_SORT_ORDER;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_SWALLOW_EXEC;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_SWALLOW_TITLE;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_TERMINAL;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_TERMINAL_OPTIONS;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_TRY_EXEC;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_TYPE;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_UNMOUNT_ICON;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_URL;
[CCode (cheader_filename = "libgnome/gnome-desktop-item.h")]
public const string DESKTOP_ITEM_VERSION;
}
|