1
/* indicator3-0.4.vapi generated by vapigen, do not modify. */
4
[CCode (cheader_filename = "libindicator/indicator-desktop-shortcuts.h", type_check_function = "INDICATOR_IS_DESKTOP_SHORTCUTS", type_id = "indicator_desktop_shortcuts_get_type ()")]
5
public class DesktopShortcuts : GLib.Object {
6
[CCode (has_construct_function = false)]
7
public DesktopShortcuts (string file, string identity);
8
public unowned string get_nicks ();
9
public bool nick_exec (string nick);
10
public bool nick_exec_with_context (string nick, GLib.AppLaunchContext launch_context);
11
public unowned string nick_get_name (string nick);
12
public string desktop_file { construct; }
14
public string identity { owned get; construct; }
16
[CCode (cheader_filename = "libindicator/indicator-ng.h", type_check_function = "INDICATOR_IS_NG", type_id = "indicator_ng_get_type ()")]
17
public class Ng : Indicator.Object, GLib.Initable {
18
[CCode (has_construct_function = false)]
19
public Ng (string service_file) throws GLib.Error;
20
[CCode (has_construct_function = false)]
21
public Ng.for_profile (string service_file, string profile) throws GLib.Error;
22
public unowned string get_profile ();
23
public unowned string get_service_file ();
24
public string profile { get; construct; }
25
public string service_file { get; construct; }
27
[CCode (cheader_filename = "libindicator/indicator-object.h", type_check_function = "INDICATOR_IS_OBJECT", type_id = "indicator_object_get_type ()")]
28
public class Object : GLib.Object {
29
[CCode (has_construct_function = false)]
31
public bool check_environment (string env);
33
public virtual void entry_activate (Indicator.ObjectEntry entry, uint timestamp);
35
public virtual void entry_activate_window (Indicator.ObjectEntry entry, uint windowid, uint timestamp);
37
public virtual void entry_being_removed (Indicator.ObjectEntry entry);
39
public virtual void entry_close (Indicator.ObjectEntry entry, uint timestamp);
41
public virtual void entry_was_added (Indicator.ObjectEntry entry);
42
[CCode (has_construct_function = false)]
43
public Object.from_file (string file);
45
public virtual unowned string get_accessible_desc ();
46
public virtual GLib.List<weak Indicator.ObjectEntry> get_entries ();
47
public unowned string[] get_environment ();
49
public virtual unowned Gtk.Image get_image ();
51
public virtual unowned Gtk.Label get_label ();
52
public virtual uint get_location (Indicator.ObjectEntry entry);
54
public virtual unowned Gtk.Menu get_menu ();
56
public virtual unowned string get_name_hint ();
57
public virtual int get_position ();
58
public virtual bool get_show_now (Indicator.ObjectEntry entry);
59
public void set_environment (string[] env);
60
public void set_visible (bool visible);
62
public bool indicator_object_default_visibility { get; set; }
63
public virtual signal void accessible_desc_update (Indicator.ObjectEntry entry);
64
public virtual signal void entry_added (Indicator.ObjectEntry entry);
65
public virtual signal void entry_moved (Indicator.ObjectEntry entry, uint old_pos, uint new_pos);
66
public virtual signal void entry_removed (Indicator.ObjectEntry entry);
67
public virtual signal void entry_scrolled (Indicator.ObjectEntry entry, uint delta, Indicator.ScrollDirection direction);
68
public virtual signal void menu_show (Indicator.ObjectEntry entry, uint timestamp);
69
public virtual signal void secondary_activate (Indicator.ObjectEntry entry, uint timestamp);
70
public virtual signal void show_now_changed (Indicator.ObjectEntry entry, bool show_now_state);
72
[CCode (cheader_filename = "libindicator/indicator-object.h")]
74
public class ObjectEntry {
75
public weak string accessible_desc;
76
public weak Gtk.Image image;
77
public weak Gtk.Label label;
78
public weak Gtk.Menu menu;
79
public weak string name_hint;
80
public weak Indicator.Object parent_object;
81
public static void activate (Indicator.Object io, Indicator.ObjectEntry entry, uint timestamp);
82
public static void activate_window (Indicator.Object io, Indicator.ObjectEntry entry, uint windowid, uint timestamp);
83
public static void close (Indicator.Object io, Indicator.ObjectEntry entry, uint timestamp);
84
public static bool is_visible (Indicator.Object io, Indicator.ObjectEntry entry);
86
[CCode (cheader_filename = "libindicator/indicator-service.h", type_check_function = "INDICATOR_IS_SERVICE", type_id = "indicator_service_get_type ()")]
87
public class Service : GLib.Object {
88
[CCode (has_construct_function = false)]
89
public Service (string name);
90
[CCode (cname = "indicator_service_new_version", has_construct_function = false)]
91
public Service.with_version (string name, uint version);
93
public string name { owned get; set; }
95
public uint version { get; set; }
96
public virtual signal void shutdown ();
98
[CCode (cheader_filename = "libindicator/indicator-service-manager.h", type_check_function = "INDICATOR_IS_SERVICE_MANAGER", type_id = "indicator_service_manager_get_type ()")]
99
public class ServiceManager : GLib.Object {
100
[CCode (has_construct_function = false)]
101
public ServiceManager (string dbus_name);
102
public bool connected ();
103
public void set_refresh (uint time_in_ms);
104
[CCode (cname = "indicator_service_manager_new_version", has_construct_function = false)]
105
public ServiceManager.with_version (string dbus_name, uint version);
107
public string name { owned get; set; }
109
public uint version { get; set; }
110
public virtual signal void connection_change (bool connected);
112
[CCode (cheader_filename = "libindicator/indicator-object.h", cprefix = "INDICATOR_OBJECT_SCROLL_", has_type_id = false)]
113
public enum ScrollDirection {
119
[CCode (cheader_filename = "libindicator/indicator.h", has_target = false)]
120
public delegate GLib.Type get_type_t ();
121
[CCode (cheader_filename = "libindicator/indicator.h", has_target = false)]
122
public delegate unowned string get_version_t ();
123
[CCode (cheader_filename = "libindicator/indicator.h")]
124
public const string GET_TYPE_S;
125
[CCode (cheader_filename = "libindicator/indicator.h")]
126
public const string GET_VERSION_S;
127
[CCode (cheader_filename = "libindicator/indicator.h")]
128
public const int SET_VERSION;
129
[CCode (cheader_filename = "libindicator/indicator.h")]
130
public const string VERSION;
131
[CCode (cheader_filename = "libindicator/indicator.h", cname = "get_version")]
132
public static unowned string get_version ();
133
[CCode (cheader_filename = "libindicator/indicator-image-helper.h")]
134
public static unowned Gtk.Image image_helper (string name);
135
[CCode (cheader_filename = "libindicator/indicator-image-helper.h")]
136
public static void image_helper_update (Gtk.Image image, string name);
137
[CCode (cheader_filename = "libindicator/indicator-image-helper.h")]
138
public static void image_helper_update_from_gicon (Gtk.Image image, GLib.Icon icon);