/usr/share/pygtk/2.0/defs/appindicator.defs is in python-appindicator 0.4.92-3.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | ;; -*- scheme -*-
; object definitions ...
(define-object Indicator
(in-module "App")
(parent "GObject")
(c-name "AppIndicator")
(gtype-id "APP_TYPE_INDICATOR")
)
;; Enumerations and flags ...
(define-enum IndicatorCategory
(in-module "App")
(c-name "AppIndicatorCategory")
(gtype-id "APP_INDICATOR_TYPE_INDICATOR_CATEGORY")
(values
'("ApplicationStatus" "APP_INDICATOR_CATEGORY_APPLICATION_STATUS")
'("Communications" "APP_INDICATOR_CATEGORY_COMMUNICATIONS")
'("SystemServices" "APP_INDICATOR_CATEGORY_SYSTEM_SERVICES")
'("Hardware" "APP_INDICATOR_CATEGORY_HARDWARE")
'("Other" "APP_INDICATOR_CATEGORY_OTHER")
)
)
(define-enum IndicatorStatus
(in-module "App")
(c-name "AppIndicatorStatus")
(gtype-id "APP_INDICATOR_TYPE_INDICATOR_STATUS")
(values
'("Passive" "APP_INDICATOR_STATUS_PASSIVE")
'("Active" "APP_INDICATOR_STATUS_ACTIVE")
'("NeedsAttention" "APP_INDICATOR_STATUS_ATTENTION")
)
)
;; From app-indicator.h
(define-function app_indicator_get_type
(c-name "app_indicator_get_type")
(return-type "GType")
)
(define-function app_indicator_new_with_path
(c-name "app_indicator_new_with_path")
(is-constructor-of "AppIndicator")
(return-type "AppIndicator*")
(parameters
'("const-gchar*" "id")
'("const-gchar*" "icon_name")
'("AppIndicatorCategory" "category")
'("const-gchar*" "icon_theme_path" (null-ok) (default "NULL"))
)
)
(define-method set_status
(of-object "AppIndicator")
(c-name "app_indicator_set_status")
(return-type "none")
(parameters
'("AppIndicatorStatus" "status")
)
)
(define-method set_attention_icon
(of-object "AppIndicator")
(c-name "app_indicator_set_attention_icon_full")
(return-type "none")
(parameters
'("const-gchar*" "icon_name")
'("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
)
)
(define-method set_menu
(of-object "AppIndicator")
(c-name "app_indicator_set_menu")
(return-type "none")
(parameters
'("GtkMenu*" "menu")
)
)
(define-method set_icon
(of-object "AppIndicator")
(c-name "app_indicator_set_icon_full")
(return-type "none")
(parameters
'("const-gchar*" "icon_name")
'("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
)
)
(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_icon_theme_path
(of-object "AppIndicator")
(c-name "app_indicator_set_icon_theme_path")
(return-type "none")
(parameters
'("const-gchar*" "icon_theme_path" (null-ok))
)
)
(define-method get_id
(of-object "AppIndicator")
(c-name "app_indicator_get_id")
(return-type "const-gchar*")
)
(define-method get_category
(of-object "AppIndicator")
(c-name "app_indicator_get_category")
(return-type "AppIndicatorCategory")
)
(define-method get_status
(of-object "AppIndicator")
(c-name "app_indicator_get_status")
(return-type "AppIndicatorStatus")
)
(define-method get_icon
(of-object "AppIndicator")
(c-name "app_indicator_get_icon")
(return-type "const-gchar*")
)
(define-method get_icon_desc
(of-object "AppIndicator")
(c-name "app_indicator_get_icon_desc")
(return-type "const-gchar*")
)
(define-method get_icon_theme_path
(of-object "AppIndicator")
(c-name "app_indicator_get_icon_theme_path")
(return-type "const-gchar*")
)
(define-method get_attention_icon
(of-object "AppIndicator")
(c-name "app_indicator_get_attention_icon")
(return-type "const-gchar*")
)
(define-method get_attention_icon_desc
(of-object "AppIndicator")
(c-name "app_indicator_get_attention_icon_desc")
(return-type "const-gchar*")
)
(define-method get_menu
(of-object "AppIndicator")
(c-name "app_indicator_get_menu")
(return-type "GtkMenu*")
)
(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 build_menu_from_desktop
(of-object "AppIndicator")
(c-name "app_indicator_build_menu_from_desktop")
(return-type "none")
(parameters
'("const-gchar*" "desktop_file")
'("const-gchar*" "desktop_profile")
)
)
|