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

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

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

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

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

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