/usr/share/vala-0.18/vapi/libgnome-menu.vapi is in valac-0.18-vapi 0.18.1-0ubuntu11.
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 | /* libgnome-menu.vapi generated by vapigen, do not modify. */
namespace GMenu {
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h", ref_function = "gmenu_tree_ref", unref_function = "gmenu_tree_unref")]
[Compact]
public class Tree {
public void add_monitor (GMenu.TreeChangedFunc callback);
public unowned GMenu.TreeDirectory get_directory_from_path (string path);
public unowned string get_menu_file ();
public unowned GMenu.TreeDirectory get_root_directory ();
public GMenu.TreeSortKey get_sort_key ();
public void* get_user_data ();
public static unowned GMenu.Tree lookup (string menu_file, GMenu.TreeFlags flags);
public void remove_monitor (GMenu.TreeChangedFunc callback);
public void set_sort_key (GMenu.TreeSortKey sort_key);
public void set_user_data (void* user_data, GLib.DestroyNotify dnotify);
}
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h")]
public class TreeAlias : GMenu.TreeItem {
public unowned GMenu.TreeDirectory get_directory ();
public unowned GMenu.TreeItem get_item ();
}
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h")]
public class TreeDirectory : GMenu.TreeItem {
public unowned string get_comment ();
public unowned GLib.SList<GMenu.TreeItem> get_contents ();
public unowned string get_desktop_file_path ();
public unowned string get_icon ();
public bool get_is_nodisplay ();
public unowned string get_menu_id ();
public unowned string get_name ();
public unowned GMenu.Tree get_tree ();
public unowned string make_path (GMenu.TreeEntry entry);
}
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h")]
public class TreeEntry : GMenu.TreeItem {
public unowned string get_comment ();
public unowned string get_desktop_file_id ();
public unowned string get_desktop_file_path ();
public unowned string get_display_name ();
public unowned string get_exec ();
public unowned string get_generic_name ();
public unowned string get_icon ();
public bool get_is_excluded ();
public bool get_is_nodisplay ();
public bool get_launch_in_terminal ();
public unowned string get_name ();
}
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h")]
public class TreeHeader : GMenu.TreeItem {
public unowned GMenu.TreeDirectory get_directory ();
}
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h", ref_function = "gmenu_tree_item_ref", unref_function = "gmenu_tree_item_unref")]
[Compact]
public class TreeItem {
public unowned GMenu.TreeDirectory get_parent ();
public GMenu.TreeItemType get_type ();
public void* get_user_data ();
public void set_user_data (void* user_data, GLib.DestroyNotify dnotify);
}
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h")]
public class TreeSeparator : GMenu.TreeItem {
}
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h", cprefix = "GMENU_TREE_FLAGS_", has_type_id = false)]
public enum TreeFlags {
NONE,
INCLUDE_EXCLUDED,
SHOW_EMPTY,
INCLUDE_NODISPLAY,
SHOW_ALL_SEPARATORS,
MASK
}
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h", cprefix = "GMENU_TREE_ITEM_", has_type_id = false)]
public enum TreeItemType {
INVALID,
DIRECTORY,
ENTRY,
SEPARATOR,
HEADER,
ALIAS
}
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h", cprefix = "GMENU_TREE_SORT_", has_type_id = false)]
public enum TreeSortKey {
NAME,
DISPLAY_NAME
}
[CCode (cheader_filename = "gnome-menus/gmenu-tree.h")]
public delegate void TreeChangedFunc (GMenu.Tree tree);
}
|