aboutsummaryrefslogtreecommitdiff
path: root/bindings/mono/ApplicationIndicator.custom
blob: fcc52d78c2e907837cbff498196148f3e1c11914 (plain)
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
[DllImport ("appindicator.dll")]
static extern int app_indicator_get_status (IntPtr i);

[DllImport ("appindicator.dll")]
static extern int app_indicator_get_category (IntPtr i);

[DllImport ("appindicator.dll")]
static extern void app_indicator_set_status (IntPtr i, int s);

        [GLib.Property ("status")]
        public Status Status {
               get {
                   return (Status) app_indicator_get_status (Handle);
               }

               set {
                   app_indicator_set_status (Handle, (int) value);
               }
        }

        [GLib.Property ("category")]
        public Category Category {
               get {
                   return (Category) app_indicator_get_category (Handle);
               }
        }