35
35
(gtype-id "AWN_TYPE_TITLE")
41
(c-name "AwnConfigClient")
42
(gtype-id "AWN_TYPE_CONFIG_CLIENT")
45
(define-boxed DesktopItem
47
(c-name "AwnDesktopItem")
48
(gtype-id "AWN_TYPE_DESKTOP_ITEM")
49
(copy-func "awn_desktop_item_copy")
50
(release-func "awn_desktop_item_free")
38
53
;; Enumerations and flags ...
40
55
(define-enum CairoRoundCorners
100
(define-enum ConfigListType
102
(c-name "AwnConfigListType")
103
(gtype-id "AWN_TYPE_CONFIG_LIST_TYPE")
105
'("boolean" "AWN_CONFIG_LIST_TYPE_BOOL")
106
'("float" "AWN_CONFIG_LIST_TYPE_FLOAT")
107
'("integer" "AWN_CONFIG_LIST_TYPE_INT")
108
'("string" "AWN_CONFIG_LIST_TYPE_STRING")
112
(define-enum ConfigValueType
114
(c-name "AwnConfigValueType")
115
(gtype-id "AWN_TYPE_CONFIG_VALUE_TYPE")
117
'("null" "AWN_CONFIG_VALUE_TYPE_NULL")
118
'("boolean" "AWN_CONFIG_VALUE_TYPE_BOOL")
119
'("float" "AWN_CONFIG_VALUE_TYPE_FLOAT")
120
'("integer" "AWN_CONFIG_VALUE_TYPE_INT")
121
'("string" "AWN_CONFIG_VALUE_TYPE_STRING")
122
'("list_boolean" "AWN_CONFIG_VALUE_TYPE_LIST_BOOL")
123
'("list_float" "AWN_CONFIG_VALUE_TYPE_LIST_FLOAT")
124
'("list_integer" "AWN_CONFIG_VALUE_TYPE_LIST_INT")
125
'("list_string" "AWN_CONFIG_VALUE_TYPE_LIST_STRING")
86
129
;; From awn-applet-dialog.h
113
;; From awn-applet-gconf.h
115
(define-method gconf_get_full_key
116
(of-object "AwnApplet")
117
(c-name "awn_applet_gconf_get_full_key")
118
(return-type "gchar*")
120
'("const-gchar*" "key")
124
(define-method gconf_set_bool
125
(of-object "AwnApplet")
126
(c-name "awn_applet_gconf_set_bool")
156
;; From awn-config-client.h
158
(define-function config_client_new
159
(c-name "awn_config_client_new")
160
(is-constructor-of "AwnConfigClient")
161
(return-type "AwnConfigClient*")
165
(of-object "AwnConfigClient")
166
(c-name "awn_config_client_clear")
169
'("GError**" "opt_error")
173
(define-method ensure_group
174
(of-object "AwnConfigClient")
175
(c-name "awn_config_client_ensure_group")
178
'("const-gchar*" "group")
182
(define-method notify_add
183
(of-object "AwnConfigClient")
184
(c-name "awn_config_client_notify_add")
187
'("const-gchar*" "group")
188
'("const-gchar*" "key")
189
'("AwnConfigClientNotifyFunc" "callback")
194
(define-method exists
195
(of-object "AwnConfigClient")
196
(c-name "awn_config_client_entry_exists")
197
(return-type "gboolean")
199
'("const-gchar*" "group")
200
'("const-gchar*" "key")
204
(define-method get_value_type
205
(of-object "AwnConfigClient")
206
(c-name "awn_config_client_get_value_type")
207
(return-type "AwnConfigValueType")
209
'("const-gchar*" "group")
210
'("const-gchar*" "key")
211
'("GError**" "opt_error")
215
(define-method set_bool
216
(of-object "AwnConfigClient")
217
(c-name "awn_config_client_set_bool")
220
'("const-gchar*" "group")
129
221
'("const-gchar*" "key")
130
222
'("gboolean" "the_bool")
131
223
'("GError**" "opt_error")
135
(define-method gconf_set_int
136
(of-object "AwnApplet")
137
(c-name "awn_applet_gconf_set_int")
227
(define-method set_int
228
(of-object "AwnConfigClient")
229
(c-name "awn_config_client_set_int")
138
230
(return-type "none")
232
'("const-gchar*" "group")
140
233
'("const-gchar*" "key")
141
234
'("gint" "the_int")
142
235
'("GError**" "opt_error")
146
(define-method gconf_set_string
147
(of-object "AwnApplet")
148
(c-name "awn_applet_gconf_set_string")
239
(define-method set_string
240
(of-object "AwnConfigClient")
241
(c-name "awn_config_client_set_string")
149
242
(return-type "none")
244
'("const-gchar*" "group")
151
245
'("const-gchar*" "key")
152
246
'("const-gchar*" "the_string")
153
247
'("GError**" "opt_error")
157
(define-method gconf_set_float
158
(of-object "AwnApplet")
159
(c-name "awn_applet_gconf_set_float")
251
(define-method set_float
252
(of-object "AwnConfigClient")
253
(c-name "awn_config_client_set_float")
160
254
(return-type "none")
256
'("const-gchar*" "group")
162
257
'("const-gchar*" "key")
163
258
'("gdouble" "the_float")
164
259
'("GError**" "opt_error")
168
(define-method gconf_set_list
169
(of-object "AwnApplet")
170
(c-name "awn_applet_gconf_set_list")
263
(define-method set_list
264
(of-object "AwnConfigClient")
265
(c-name "awn_config_client_set_list")
171
266
(return-type "none")
268
'("const-gchar*" "group")
173
269
'("const-gchar*" "key")
174
270
'("GConfValueType" "list_type")
175
271
'("GSList*" "list")
180
(define-method gconf_get_bool
181
(of-object "AwnApplet")
182
(c-name "awn_applet_gconf_get_bool")
276
(define-method get_bool
277
(of-object "AwnConfigClient")
278
(c-name "awn_config_client_get_bool")
183
279
(return-type "gboolean")
281
'("const-gchar*" "group")
185
282
'("const-gchar*" "key")
186
283
'("GError**" "opt_error")
190
(define-method gconf_get_int
191
(of-object "AwnApplet")
192
(c-name "awn_applet_gconf_get_int")
287
(define-method get_int
288
(of-object "AwnConfigClient")
289
(c-name "awn_config_client_get_int")
193
290
(return-type "gint")
292
'("const-gchar*" "group")
195
293
'("const-gchar*" "key")
196
294
'("GError**" "opt_error")
200
(define-method gconf_get_string
201
(of-object "AwnApplet")
202
(c-name "awn_applet_gconf_get_string")
298
(define-method get_string
299
(of-object "AwnConfigClient")
300
(c-name "awn_config_client_get_string")
203
301
(return-type "gchar*")
303
'("const-gchar*" "group")
205
304
'("const-gchar*" "key")
206
305
'("GError**" "opt_error")
210
(define-method gconf_get_float
211
(of-object "AwnApplet")
212
(c-name "awn_applet_gconf_get_float")
213
(return-type "gdouble")
309
(define-method get_float
310
(of-object "AwnConfigClient")
311
(c-name "awn_config_client_get_float")
312
(return-type "gfloat")
314
'("const-gchar*" "group")
215
315
'("const-gchar*" "key")
216
316
'("GError**" "opt_error")
220
(define-method gconf_get_list
221
(of-object "AwnApplet")
222
(c-name "awn_applet_gconf_get_list")
320
(define-method get_list
321
(of-object "AwnConfigClient")
322
(c-name "awn_config_client_get_list")
223
323
(return-type "GSList*")
325
'("const-gchar*" "group")
225
326
'("const-gchar*" "key")
226
'("GConfValueType" "list_type")
327
'("AwnConfigListType" "list_type")
227
328
'("GError**" "opt_error")
332
(define-function config_key_lock_open
333
(c-name "awn_config_client_key_lock_open")
336
'("const-gchar*" "group")
337
'("const-gchar*" "key")
341
(define-function config_key_lock
342
(c-name "awn_config_client_key_lock")
350
(define-function config_key_lock_close
351
(c-name "awn_config_client_key_lock_close")
233
360
;; From awn-applet.h
490
;; From awn-desktop-item.h
492
(define-function awn_desktop_item_get_type
493
(c-name "awn_desktop_item_get_type")
494
(return-type "GType")
497
(define-function awn_desktop_item_new
498
(c-name "awn_desktop_item_new")
499
(is-constructor-of "AwnDesktopItem")
500
(return-type "AwnDesktopItem*")
502
'("gchar*" "filename")
506
(define-method get_filename
507
(c-name "awn_desktop_item_get_filename")
508
(of-object "AwnDesktopItem")
509
(return-type "gchar*")
512
(define-method get_item_type
513
(c-name "awn_desktop_item_get_item_type")
514
(of-object "AwnDesktopItem")
515
(return-type "gchar*")
518
(define-method set_item_type
519
(c-name "awn_desktop_item_set_item_type")
520
(of-object "AwnDesktopItem")
523
'("gchar*" "item_type")
527
(define-method get_icon
528
(c-name "awn_desktop_item_get_icon")
529
(of-object "AwnDesktopItem")
530
(return-type "gchar*")
532
'("GtkIconTheme*" "icon_theme")
536
(define-method set_icon
537
(c-name "awn_desktop_item_set_icon")
538
(of-object "AwnDesktopItem")
545
(define-method get_name
546
(c-name "awn_desktop_item_get_name")
547
(of-object "AwnDesktopItem")
548
(return-type "gchar*")
551
(define-method set_name
552
(c-name "awn_desktop_item_set_name")
553
(of-object "AwnDesktopItem")
560
(define-method get_exec
561
(c-name "awn_desktop_item_get_exec")
562
(of-object "AwnDesktopItem")
563
(return-type "gchar*")
566
(define-method set_exec
567
(c-name "awn_desktop_item_set_exec")
568
(of-object "AwnDesktopItem")
575
(define-method get_string
576
(c-name "awn_desktop_item_get_string")
577
(of-object "AwnDesktopItem")
578
(return-type "gchar*")
584
(define-method set_string
585
(c-name "awn_desktop_item_set_string")
586
(of-object "AwnDesktopItem")
594
(define-method get_localestring
595
(c-name "awn_desktop_item_get_localestring")
596
(of-object "AwnDesktopItem")
597
(return-type "gchar*")
603
(define-method set_localestring
604
(c-name "awn_desktop_item_set_localestring")
605
(of-object "AwnDesktopItem")
614
(define-method exists
615
(c-name "awn_desktop_item_exists")
616
(of-object "AwnDesktopItem")
617
(return-type "gboolean")
620
(define-method launch
621
(c-name "awn_desktop_item_launch")
622
(of-object "AwnDesktopItem")
625
'("GSList*" "documents")
631
(c-name "awn_desktop_item_save")
632
(of-object "AwnDesktopItem")
635
'("gchar*" "new_filename")
370
640
;; From awn-effects.h
372
642
(define-function awn_effect_start