diff options
author | Ted Gould <ted@gould.cx> | 2010-09-22 11:14:11 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-09-22 11:14:11 -0500 |
commit | f5e7b8efe61d35c65422284f49e5d01a614a9deb (patch) | |
tree | 6d963d25b6b8c2a87d67b9e789622819efd84673 /bindings/python | |
parent | c876d26568d76d4d06b319352cf63928f21dfba5 (diff) | |
parent | fe08c86fc6b9d9d843149bf195b995d7e38a2c40 (diff) | |
download | libayatana-appindicator-f5e7b8efe61d35c65422284f49e5d01a614a9deb.tar.gz libayatana-appindicator-f5e7b8efe61d35c65422284f49e5d01a614a9deb.tar.bz2 libayatana-appindicator-f5e7b8efe61d35c65422284f49e5d01a614a9deb.zip |
Import upstream version 0.2.9
Diffstat (limited to 'bindings/python')
-rw-r--r-- | bindings/python/appindicator.defs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/bindings/python/appindicator.defs b/bindings/python/appindicator.defs index b6c7402..5027a6d 100644 --- a/bindings/python/appindicator.defs +++ b/bindings/python/appindicator.defs @@ -62,6 +62,24 @@ ) ) +(define-method set_label + (of-object "AppIndicator") + (c-name "app_indicator_set_label") + (return-type "none") + (parameters + '("const-gchar*" "label" (null-ok)) + '("const-gchar*" "guide" (null-ok) (default "NULL")) + ) +) + +(define-method set_ordering_index + (of-object "AppIndicator") + (c-name "app_indicator_set_ordering_index") + (parameters + '("guint32" "ordering_index") + ) +) + (define-method set_attention_icon (of-object "AppIndicator") (c-name "app_indicator_set_attention_icon") @@ -116,6 +134,24 @@ (return-type "AppIndicatorStatus") ) +(define-method get_label + (of-object "AppIndicator") + (c-name "app_indicator_get_label") + (return-type "const-gchar*") +) + +(define-method get_label_guide + (of-object "AppIndicator") + (c-name "app_indicator_get_label_guide") + (return-type "const-gchar*") +) + +(define-method get_ordering_index + (of-object "AppIndicator") + (c-name "app_indicator_get_ordering_index") + (return-type "guint32") +) + (define-method get_icon (of-object "AppIndicator") (c-name "app_indicator_get_icon") |