aboutsummaryrefslogtreecommitdiff
path: root/bindings/mono/ApplicationIndicator.custom
blob: 11d16a810c678f9f1441a09c5e0f4f0c314b80ab (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 ("libappindicator.so.0")]
static extern int app_indicator_get_status (IntPtr i);

[DllImport ("libappindicator.so.0")]
static extern int app_indicator_get_category (IntPtr i);

[DllImport ("libappindicator.so.0")]
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);
               }
        }