1
[CCode (cprefix = "App", lower_case_cprefix = "app_", gir_namespace = "AppIndicator", gir_version = "0.1")]
2
namespace FixedAppIndicator {
3
[CCode (type_check_function = "IS_APP_INDICATOR", cheader_filename = "libappindicator/app-indicator.h")]
4
public class Indicator : GLib.Object {
5
public AppIndicator.IndicatorPrivate priv;
6
[CCode (has_construct_function = false)]
7
public Indicator (string id, string icon_name, AppIndicator.IndicatorCategory category);
8
public void build_menu_from_desktop (string desktop_file, string desktop_profile);
9
public unowned string get_attention_icon ();
10
public unowned string get_attention_icon_desc ();
11
public AppIndicator.IndicatorCategory get_category ();
12
public unowned string get_icon ();
13
public unowned string get_icon_desc ();
14
public unowned string get_icon_theme_path ();
15
public unowned string get_id ();
16
public unowned string get_label ();
17
public unowned string get_label_guide ();
18
public uint32 get_ordering_index ();
19
public AppIndicator.IndicatorStatus get_status ();
20
public void set_attention_icon (string icon_name);
21
public void set_attention_icon_full (string icon_name, string icon_desc);
22
public void set_icon (string icon_name);
23
public void set_icon_full (string icon_name, string icon_desc);
24
public void set_icon_theme_path (string icon_theme_path);
25
public void set_label (string label, string guide);
26
public void set_menu (Gtk.Menu menu);
27
public void set_ordering_index (uint32 ordering_index);
28
public void set_status (AppIndicator.IndicatorStatus status);
30
public virtual void unfallback (Gtk.StatusIcon status_icon);
31
[CCode (has_construct_function = false)]
32
public Indicator.with_path (string id, string icon_name, AppIndicator.IndicatorCategory category, string icon_theme_path);
33
public string attention_icon_desc { get; set; }
35
public string attention_icon_name { get; set; }
36
public string category { get; construct; }
38
public bool connected { get; }
39
public string icon_desc { get; set; }
41
public string icon_name { get; set; }
42
public string icon_theme_path { get; set construct; }
43
public string id { get; construct; }
44
public string label { get; set; }
45
public string label_guide { get; set; }
46
public uint ordering_index { get; set; }
47
public string status { get; set; }
48
public virtual signal void connection_changed (bool indicator);
49
public virtual signal void new_attention_icon ();
50
public virtual signal void new_icon ();
51
public virtual signal void new_icon_theme_path (string indicator);
52
public virtual signal void new_label (string indicator, string label);
53
public virtual signal void new_status (string indicator);
54
public virtual signal void scroll_event (int indicator, uint delta);