]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
Update python binding
[empathy.git] / python / pyempathygtk / pyempathygtk.defs
1 ;; -*- scheme -*-
2 ; object definitions ...
3 (define-object AccountChooser
4   (in-module "Empathy")
5   (parent "GtkComboBox")
6   (c-name "EmpathyAccountChooser")
7   (gtype-id "EMPATHY_TYPE_ACCOUNT_CHOOSER")
8 )
9
10 (define-object AvatarChooser
11   (in-module "Empathy")
12   (parent "GtkButton")
13   (c-name "EmpathyAvatarChooser")
14   (gtype-id "EMPATHY_TYPE_AVATAR_CHOOSER")
15 )
16
17 (define-object AvatarImage
18   (in-module "Empathy")
19   (parent "GtkEventBox")
20   (c-name "EmpathyAvatarImage")
21   (gtype-id "EMPATHY_TYPE_AVATAR_IMAGE")
22 )
23
24 (define-object CellRendererActivatable
25   (in-module "Empathy")
26   (parent "GtkCellRendererPixbuf")
27   (c-name "EmpathyCellRendererActivatable")
28   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE")
29 )
30
31 (define-object CellRendererExpander
32   (in-module "Empathy")
33   (parent "GtkCellRenderer")
34   (c-name "EmpathyCellRendererExpander")
35   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_EXPANDER")
36 )
37
38 (define-object CellRendererText
39   (in-module "Empathy")
40   (parent "GtkCellRendererText")
41   (c-name "EmpathyCellRendererText")
42   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_TEXT")
43 )
44
45 (define-object Chat
46   (in-module "Empathy")
47   (parent "GObject")
48   (c-name "EmpathyChat")
49   (gtype-id "EMPATHY_TYPE_CHAT")
50 )
51
52 (define-object ChatView
53   (in-module "Empathy")
54   (parent "GtkTextView")
55   (c-name "EmpathyChatView")
56   (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
57 )
58
59 (define-object Conf
60   (in-module "Empathy")
61   (parent "GObject")
62   (c-name "EmpathyConf")
63   (gtype-id "EMPATHY_TYPE_CONF")
64 )
65
66 (define-object ContactListStore
67   (in-module "Empathy")
68   (parent "GtkTreeStore")
69   (c-name "EmpathyContactListStore")
70   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
71 )
72
73 (define-object ContactListView
74   (in-module "Empathy")
75   (parent "GtkTreeView")
76   (c-name "EmpathyContactListView")
77   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
78 )
79
80 (define-object GroupChat
81   (in-module "Empathy")
82   (parent "EmpathyChat")
83   (c-name "EmpathyGroupChat")
84   (gtype-id "EMPATHY_TYPE_GROUP_CHAT")
85 )
86
87 (define-object PresenceChooser
88   (in-module "Empathy")
89   (parent "GtkToggleButton")
90   (c-name "EmpathyPresenceChooser")
91   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
92 )
93
94 (define-object PrivateChat
95   (in-module "Empathy")
96   (parent "EmpathyChat")
97   (c-name "EmpathyPrivateChat")
98   (gtype-id "EMPATHY_TYPE_PRIVATE_CHAT")
99 )
100
101 (define-object SmileyManager
102   (in-module "Empathy")
103   (parent "GObject")
104   (c-name "EmpathySmileyManager")
105   (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
106 )
107
108 (define-object Theme
109   (in-module "Empathy")
110   (parent "GObject")
111   (c-name "EmpathyTheme")
112   (gtype-id "EMPATHY_TYPE_THEME")
113 )
114
115 (define-object ThemeBoxes
116   (in-module "Empathy")
117   (parent "EmpathyTheme")
118   (c-name "EmpathyThemeBoxes")
119   (gtype-id "EMPATHY_TYPE_THEME_BOXES")
120 )
121
122 (define-object ThemeIrc
123   (in-module "Empathy")
124   (parent "EmpathyTheme")
125   (c-name "EmpathyThemeIrc")
126   (gtype-id "EMPATHY_TYPE_THEME_IRC")
127 )
128
129 (define-object ThemeManager
130   (in-module "Empathy")
131   (parent "GObject")
132   (c-name "EmpathyThemeManager")
133   (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
134 )
135
136 ;; Enumerations and flags ...
137
138 (define-enum ContactListStoreSort
139   (in-module "Empathy")
140   (c-name "EmpathyContactListStoreSort")
141   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
142   (values
143     '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
144     '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
145   )
146 )
147
148 (define-enum ContactListStoreCol
149   (in-module "Empathy")
150   (c-name "EmpathyContactListStoreCol")
151   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
152   (values
153     '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
154     '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
155     '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
156     '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
157     '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
158     '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
159     '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
160     '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
161     '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
162     '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
163     '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
164     '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
165     '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
166   )
167 )
168
169 (define-flags ContactListFeatures
170   (in-module "Empathy")
171   (c-name "EmpathyContactListFeatures")
172   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURES")
173   (values
174     '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
175     '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
176     '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
177     '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
178     '("contact-chat" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT")
179     '("contact-call" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL")
180     '("contact-log" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG")
181     '("contact-ft" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_FT")
182     '("contact-invite" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INVITE")
183     '("contact-edit" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_EDIT")
184     '("contact-info" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO")
185     '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
186     '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
187     '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
188     '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
189   )
190 )
191
192 (define-flags ContactWidgetFlags
193   (in-module "Empathy")
194   (c-name "EmpathyContactWidgetFlags")
195   (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
196   (values
197     '("none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
198     '("alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
199     '("avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
200     '("account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
201     '("id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
202     '("groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
203   )
204 )
205
206
207 ;; From empathy-images.h
208
209
210
211 ;; From empathy-account-chooser.h
212
213 (define-function empathy_account_chooser_get_type
214   (c-name "empathy_account_chooser_get_type")
215   (return-type "GType")
216 )
217
218 (define-function empathy_account_chooser_new
219   (c-name "empathy_account_chooser_new")
220   (is-constructor-of "EmpathyAccountChooser")
221   (return-type "GtkWidget*")
222 )
223
224 (define-method get_account
225   (of-object "EmpathyAccountChooser")
226   (c-name "empathy_account_chooser_get_account")
227   (return-type "McAccount*")
228 )
229
230 (define-method set_account
231   (of-object "EmpathyAccountChooser")
232   (c-name "empathy_account_chooser_set_account")
233   (return-type "gboolean")
234   (parameters
235     '("McAccount*" "account")
236   )
237 )
238
239 (define-method get_has_all_option
240   (of-object "EmpathyAccountChooser")
241   (c-name "empathy_account_chooser_get_has_all_option")
242   (return-type "gboolean")
243 )
244
245 (define-method set_has_all_option
246   (of-object "EmpathyAccountChooser")
247   (c-name "empathy_account_chooser_set_has_all_option")
248   (return-type "none")
249   (parameters
250     '("gboolean" "has_all_option")
251   )
252 )
253
254 (define-method set_filter
255   (of-object "EmpathyAccountChooser")
256   (c-name "empathy_account_chooser_set_filter")
257   (return-type "none")
258   (parameters
259     '("EmpathyAccountChooserFilterFunc" "filter")
260     '("gpointer" "user_data")
261   )
262 )
263
264 (define-function empathy_account_chooser_filter_is_connected
265   (c-name "empathy_account_chooser_filter_is_connected")
266   (return-type "gboolean")
267   (parameters
268     '("McAccount*" "account")
269     '("gpointer" "user_data")
270   )
271 )
272
273
274
275 ;; From empathy-chat.h
276
277 (define-function empathy_chat_get_type
278   (c-name "empathy_chat_get_type")
279   (return-type "GType")
280 )
281
282 (define-method get_view
283   (of-object "EmpathyChat")
284   (c-name "empathy_chat_get_view")
285   (return-type "EmpathyChatView*")
286 )
287
288 (define-method clear
289   (of-object "EmpathyChat")
290   (c-name "empathy_chat_clear")
291   (return-type "none")
292 )
293
294 (define-method scroll_down
295   (of-object "EmpathyChat")
296   (c-name "empathy_chat_scroll_down")
297   (return-type "none")
298 )
299
300 (define-method cut
301   (of-object "EmpathyChat")
302   (c-name "empathy_chat_cut")
303   (return-type "none")
304 )
305
306 (define-method copy
307   (of-object "EmpathyChat")
308   (c-name "empathy_chat_copy")
309   (return-type "none")
310 )
311
312 (define-method paste
313   (of-object "EmpathyChat")
314   (c-name "empathy_chat_paste")
315   (return-type "none")
316 )
317
318 (define-method get_name
319   (of-object "EmpathyChat")
320   (c-name "empathy_chat_get_name")
321   (return-type "const-gchar*")
322 )
323
324 (define-method get_tooltip
325   (of-object "EmpathyChat")
326   (c-name "empathy_chat_get_tooltip")
327   (return-type "gchar*")
328 )
329
330 (define-method get_status_icon_name
331   (of-object "EmpathyChat")
332   (c-name "empathy_chat_get_status_icon_name")
333   (return-type "const-gchar*")
334 )
335
336 (define-method get_widget
337   (of-object "EmpathyChat")
338   (c-name "empathy_chat_get_widget")
339   (return-type "GtkWidget*")
340 )
341
342 (define-method is_group_chat
343   (of-object "EmpathyChat")
344   (c-name "empathy_chat_is_group_chat")
345   (return-type "gboolean")
346 )
347
348 (define-method is_connected
349   (of-object "EmpathyChat")
350   (c-name "empathy_chat_is_connected")
351   (return-type "gboolean")
352 )
353
354 (define-method save_geometry
355   (of-object "EmpathyChat")
356   (c-name "empathy_chat_save_geometry")
357   (return-type "none")
358   (parameters
359     '("gint" "x")
360     '("gint" "y")
361     '("gint" "w")
362     '("gint" "h")
363   )
364 )
365
366 (define-method load_geometry
367   (of-object "EmpathyChat")
368   (c-name "empathy_chat_load_geometry")
369   (return-type "none")
370   (parameters
371     '("gint*" "x")
372     '("gint*" "y")
373     '("gint*" "w")
374     '("gint*" "h")
375   )
376 )
377
378 (define-method set_tp_chat
379   (of-object "EmpathyChat")
380   (c-name "empathy_chat_set_tp_chat")
381   (return-type "none")
382   (parameters
383     '("EmpathyTpChat*" "tp_chat")
384   )
385 )
386
387 (define-method get_id
388   (of-object "EmpathyChat")
389   (c-name "empathy_chat_get_id")
390   (return-type "const-gchar*")
391 )
392
393 (define-method get_account
394   (of-object "EmpathyChat")
395   (c-name "empathy_chat_get_account")
396   (return-type "McAccount*")
397 )
398
399 (define-function empathy_chat_get_is_command
400   (c-name "empathy_chat_get_is_command")
401   (return-type "gboolean")
402   (parameters
403     '("const-gchar*" "str")
404   )
405 )
406
407 (define-method correct_word
408   (of-object "EmpathyChat")
409   (c-name "empathy_chat_correct_word")
410   (return-type "none")
411   (parameters
412     '("GtkTextIter" "start")
413     '("GtkTextIter" "end")
414     '("const-gchar*" "new_word")
415   )
416 )
417
418 (define-method should_play_sound
419   (of-object "EmpathyChat")
420   (c-name "empathy_chat_should_play_sound")
421   (return-type "gboolean")
422 )
423
424 (define-function empathy_chat_should_highlight_nick
425   (c-name "empathy_chat_should_highlight_nick")
426   (return-type "gboolean")
427   (parameters
428     '("EmpathyMessage*" "message")
429   )
430 )
431
432
433
434 ;; From empathy-irc-network-dialog.h
435
436 (define-method dialog_show
437   (of-object "EmpathyIrcNetwork")
438   (c-name "empathy_irc_network_dialog_show")
439   (return-type "GtkWidget*")
440   (parameters
441     '("GtkWidget*" "parent")
442   )
443 )
444
445
446
447 ;; From empathy-spell-dialog.h
448
449 (define-function empathy_spell_dialog_show
450   (c-name "empathy_spell_dialog_show")
451   (return-type "none")
452   (parameters
453     '("EmpathyChat*" "chat")
454     '("GtkTextIter" "start")
455     '("GtkTextIter" "end")
456     '("const-gchar*" "word")
457   )
458 )
459
460
461
462 ;; From empathy-accounts-dialog.h
463
464 (define-function empathy_accounts_dialog_show
465   (c-name "empathy_accounts_dialog_show")
466   (return-type "GtkWidget*")
467   (parameters
468     '("GtkWindow*" "parent")
469   )
470 )
471
472
473
474 ;; From empathy-chat-view.h
475
476 (define-function empathy_chat_view_get_type
477   (c-name "empathy_chat_view_get_type")
478   (return-type "GType")
479 )
480
481 (define-function empathy_chat_view_new
482   (c-name "empathy_chat_view_new")
483   (is-constructor-of "EmpathyChatView")
484   (return-type "EmpathyChatView*")
485 )
486
487 (define-method append_message
488   (of-object "EmpathyChatView")
489   (c-name "empathy_chat_view_append_message")
490   (return-type "none")
491   (parameters
492     '("EmpathyMessage*" "msg")
493   )
494 )
495
496 (define-method append_event
497   (of-object "EmpathyChatView")
498   (c-name "empathy_chat_view_append_event")
499   (return-type "none")
500   (parameters
501     '("const-gchar*" "str")
502   )
503 )
504
505 (define-method append_button
506   (of-object "EmpathyChatView")
507   (c-name "empathy_chat_view_append_button")
508   (return-type "none")
509   (parameters
510     '("const-gchar*" "message")
511     '("GtkWidget*" "button1")
512     '("GtkWidget*" "button2")
513   )
514 )
515
516 (define-method set_margin
517   (of-object "EmpathyChatView")
518   (c-name "empathy_chat_view_set_margin")
519   (return-type "none")
520   (parameters
521     '("gint" "margin")
522   )
523 )
524
525 (define-method scroll
526   (of-object "EmpathyChatView")
527   (c-name "empathy_chat_view_scroll")
528   (return-type "none")
529   (parameters
530     '("gboolean" "allow_scrolling")
531   )
532 )
533
534 (define-method scroll_down
535   (of-object "EmpathyChatView")
536   (c-name "empathy_chat_view_scroll_down")
537   (return-type "none")
538 )
539
540 (define-method get_selection_bounds
541   (of-object "EmpathyChatView")
542   (c-name "empathy_chat_view_get_selection_bounds")
543   (return-type "gboolean")
544   (parameters
545     '("GtkTextIter*" "start")
546     '("GtkTextIter*" "end")
547   )
548 )
549
550 (define-method clear
551   (of-object "EmpathyChatView")
552   (c-name "empathy_chat_view_clear")
553   (return-type "none")
554 )
555
556 (define-method find_previous
557   (of-object "EmpathyChatView")
558   (c-name "empathy_chat_view_find_previous")
559   (return-type "gboolean")
560   (parameters
561     '("const-gchar*" "search_criteria")
562     '("gboolean" "new_search")
563   )
564 )
565
566 (define-method find_next
567   (of-object "EmpathyChatView")
568   (c-name "empathy_chat_view_find_next")
569   (return-type "gboolean")
570   (parameters
571     '("const-gchar*" "search_criteria")
572     '("gboolean" "new_search")
573   )
574 )
575
576 (define-method find_abilities
577   (of-object "EmpathyChatView")
578   (c-name "empathy_chat_view_find_abilities")
579   (return-type "none")
580   (parameters
581     '("const-gchar*" "search_criteria")
582     '("gboolean*" "can_do_previous")
583     '("gboolean*" "can_do_next")
584   )
585 )
586
587 (define-method highlight
588   (of-object "EmpathyChatView")
589   (c-name "empathy_chat_view_highlight")
590   (return-type "none")
591   (parameters
592     '("const-gchar*" "text")
593   )
594 )
595
596 (define-method copy_clipboard
597   (of-object "EmpathyChatView")
598   (c-name "empathy_chat_view_copy_clipboard")
599   (return-type "none")
600 )
601
602 (define-method get_theme
603   (of-object "EmpathyChatView")
604   (c-name "empathy_chat_view_get_theme")
605   (return-type "EmpathyTheme*")
606 )
607
608 (define-method set_theme
609   (of-object "EmpathyChatView")
610   (c-name "empathy_chat_view_set_theme")
611   (return-type "none")
612   (parameters
613     '("EmpathyTheme*" "theme")
614   )
615 )
616
617 (define-method set_margin
618   (of-object "EmpathyChatView")
619   (c-name "empathy_chat_view_set_margin")
620   (return-type "none")
621   (parameters
622     '("gint" "margin")
623   )
624 )
625
626 (define-function empathy_chat_view_get_smiley_menu
627   (c-name "empathy_chat_view_get_smiley_menu")
628   (return-type "GtkWidget*")
629   (parameters
630     '("GCallback" "callback")
631     '("gpointer" "user_data")
632   )
633 )
634
635 (define-method set_is_group_chat
636   (of-object "EmpathyChatView")
637   (c-name "empathy_chat_view_set_is_group_chat")
638   (return-type "none")
639   (parameters
640     '("gboolean" "is_group_chat")
641   )
642 )
643
644 (define-method get_last_timestamp
645   (of-object "EmpathyChatView")
646   (c-name "empathy_chat_view_get_last_timestamp")
647   (return-type "time_t")
648 )
649
650 (define-method set_last_timestamp
651   (of-object "EmpathyChatView")
652   (c-name "empathy_chat_view_set_last_timestamp")
653   (return-type "none")
654   (parameters
655     '("time_t" "timestamp")
656   )
657 )
658
659 (define-method get_last_contact
660   (of-object "EmpathyChatView")
661   (c-name "empathy_chat_view_get_last_contact")
662   (return-type "EmpathyContact*")
663 )
664
665 (define-function empathy_chat_view_get_avatar_pixbuf_with_cache
666   (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
667   (return-type "GdkPixbuf*")
668   (parameters
669     '("EmpathyContact*" "contact")
670   )
671 )
672
673
674
675 ;; From empathy-log-window.h
676
677 (define-function empathy_log_window_show
678   (c-name "empathy_log_window_show")
679   (return-type "GtkWidget*")
680   (parameters
681     '("McAccount*" "account")
682     '("const-gchar*" "chat_id")
683     '("gboolean" "chatroom")
684     '("GtkWindow*" "parent")
685   )
686 )
687
688
689
690 ;; From empathy-theme-boxes.h
691
692 (define-function empathy_theme_boxes_get_type
693   (c-name "empathy_theme_boxes_get_type")
694   (return-type "GType")
695 )
696
697
698
699 ;; From empathy-account-widget.h
700
701 (define-function empathy_account_widget_handle_params
702   (c-name "empathy_account_widget_handle_params")
703   (return-type "none")
704   (parameters
705     '("McAccount*" "account")
706     '("GladeXML*" "glade")
707     '("const-gchar*" "first_widget_name")
708   )
709   (varargs #t)
710 )
711
712 (define-function empathy_account_widget_add_forget_button
713   (c-name "empathy_account_widget_add_forget_button")
714   (return-type "none")
715   (parameters
716     '("McAccount*" "account")
717     '("GladeXML*" "glade")
718     '("const-gchar*" "button")
719     '("const-gchar*" "entry")
720   )
721 )
722
723 (define-function empathy_account_widget_generic_new
724   (c-name "empathy_account_widget_generic_new")
725   (is-constructor-of "EmpathyAccountWidgetGeneric")
726   (return-type "GtkWidget*")
727   (parameters
728     '("McAccount*" "account")
729   )
730 )
731
732 (define-function empathy_account_widget_salut_new
733   (c-name "empathy_account_widget_salut_new")
734   (is-constructor-of "EmpathyAccountWidgetSalut")
735   (return-type "GtkWidget*")
736   (parameters
737     '("McAccount*" "account")
738   )
739 )
740
741 (define-function empathy_account_widget_msn_new
742   (c-name "empathy_account_widget_msn_new")
743   (is-constructor-of "EmpathyAccountWidgetMsn")
744   (return-type "GtkWidget*")
745   (parameters
746     '("McAccount*" "account")
747   )
748 )
749
750 (define-function empathy_account_widget_jabber_new
751   (c-name "empathy_account_widget_jabber_new")
752   (is-constructor-of "EmpathyAccountWidgetJabber")
753   (return-type "GtkWidget*")
754   (parameters
755     '("McAccount*" "account")
756   )
757 )
758
759 (define-function empathy_account_widget_icq_new
760   (c-name "empathy_account_widget_icq_new")
761   (is-constructor-of "EmpathyAccountWidgetIcq")
762   (return-type "GtkWidget*")
763   (parameters
764     '("McAccount*" "account")
765   )
766 )
767
768 (define-function empathy_account_widget_yahoo_new
769   (c-name "empathy_account_widget_yahoo_new")
770   (is-constructor-of "EmpathyAccountWidgetYahoo")
771   (return-type "GtkWidget*")
772   (parameters
773     '("McAccount*" "account")
774   )
775 )
776
777
778
779 ;; From empathy-conf.h
780
781 (define-function empathy_conf_get_type
782   (c-name "empathy_conf_get_type")
783   (return-type "GType")
784 )
785
786 (define-function empathy_conf_get
787   (c-name "empathy_conf_get")
788   (return-type "EmpathyConf*")
789 )
790
791 (define-function empathy_conf_shutdown
792   (c-name "empathy_conf_shutdown")
793   (return-type "none")
794 )
795
796 (define-method notify_add
797   (of-object "EmpathyConf")
798   (c-name "empathy_conf_notify_add")
799   (return-type "guint")
800   (parameters
801     '("const-gchar*" "key")
802     '("EmpathyConfNotifyFunc" "func")
803     '("gpointer" "data")
804   )
805 )
806
807 (define-method notify_remove
808   (of-object "EmpathyConf")
809   (c-name "empathy_conf_notify_remove")
810   (return-type "gboolean")
811   (parameters
812     '("guint" "id")
813   )
814 )
815
816 (define-method set_int
817   (of-object "EmpathyConf")
818   (c-name "empathy_conf_set_int")
819   (return-type "gboolean")
820   (parameters
821     '("const-gchar*" "key")
822     '("gint" "value")
823   )
824 )
825
826 (define-method get_int
827   (of-object "EmpathyConf")
828   (c-name "empathy_conf_get_int")
829   (return-type "gboolean")
830   (parameters
831     '("const-gchar*" "key")
832     '("gint*" "value")
833   )
834 )
835
836 (define-method set_bool
837   (of-object "EmpathyConf")
838   (c-name "empathy_conf_set_bool")
839   (return-type "gboolean")
840   (parameters
841     '("const-gchar*" "key")
842     '("gboolean" "value")
843   )
844 )
845
846 (define-method get_bool
847   (of-object "EmpathyConf")
848   (c-name "empathy_conf_get_bool")
849   (return-type "gboolean")
850   (parameters
851     '("const-gchar*" "key")
852     '("gboolean*" "value")
853   )
854 )
855
856 (define-method set_string
857   (of-object "EmpathyConf")
858   (c-name "empathy_conf_set_string")
859   (return-type "gboolean")
860   (parameters
861     '("const-gchar*" "key")
862     '("const-gchar*" "value")
863   )
864 )
865
866 (define-method get_string
867   (of-object "EmpathyConf")
868   (c-name "empathy_conf_get_string")
869   (return-type "gboolean")
870   (parameters
871     '("const-gchar*" "key")
872     '("gchar**" "value")
873   )
874 )
875
876 (define-method set_string_list
877   (of-object "EmpathyConf")
878   (c-name "empathy_conf_set_string_list")
879   (return-type "gboolean")
880   (parameters
881     '("const-gchar*" "key")
882     '("GSList*" "value")
883   )
884 )
885
886 (define-method get_string_list
887   (of-object "EmpathyConf")
888   (c-name "empathy_conf_get_string_list")
889   (return-type "gboolean")
890   (parameters
891     '("const-gchar*" "key")
892     '("GSList**" "value")
893   )
894 )
895
896
897
898 ;; From empathy-theme.h
899
900 (define-function empathy_theme_get_type
901   (c-name "empathy_theme_get_type")
902   (return-type "GType")
903 )
904
905 (define-method update_view
906   (of-object "EmpathyTheme")
907   (c-name "empathy_theme_update_view")
908   (return-type "none")
909   (parameters
910     '("EmpathyChatView*" "view")
911   )
912 )
913
914 (define-method append_message
915   (of-object "EmpathyTheme")
916   (c-name "empathy_theme_append_message")
917   (return-type "none")
918   (parameters
919     '("EmpathyChatView*" "view")
920     '("EmpathyMessage*" "msg")
921   )
922 )
923
924 (define-method append_text
925   (of-object "EmpathyTheme")
926   (c-name "empathy_theme_append_text")
927   (return-type "none")
928   (parameters
929     '("EmpathyChatView*" "view")
930     '("const-gchar*" "body")
931     '("const-gchar*" "tag")
932     '("const-gchar*" "link_tag")
933   )
934 )
935
936 (define-method append_spacing
937   (of-object "EmpathyTheme")
938   (c-name "empathy_theme_append_spacing")
939   (return-type "none")
940   (parameters
941     '("EmpathyChatView*" "view")
942   )
943 )
944
945 (define-method append_event
946   (of-object "EmpathyTheme")
947   (c-name "empathy_theme_append_event")
948   (return-type "none")
949   (parameters
950     '("EmpathyChatView*" "view")
951     '("const-gchar*" "str")
952   )
953 )
954
955 (define-method append_timestamp
956   (of-object "EmpathyTheme")
957   (c-name "empathy_theme_append_timestamp")
958   (return-type "none")
959   (parameters
960     '("EmpathyChatView*" "view")
961     '("EmpathyMessage*" "message")
962     '("gboolean" "show_date")
963     '("gboolean" "show_time")
964   )
965 )
966
967 (define-method maybe_append_date_and_time
968   (of-object "EmpathyTheme")
969   (c-name "empathy_theme_maybe_append_date_and_time")
970   (return-type "none")
971   (parameters
972     '("EmpathyChatView*" "view")
973     '("EmpathyMessage*" "message")
974   )
975 )
976
977 (define-method get_show_avatars
978   (of-object "EmpathyTheme")
979   (c-name "empathy_theme_get_show_avatars")
980   (return-type "gboolean")
981 )
982
983 (define-method set_show_avatars
984   (of-object "EmpathyTheme")
985   (c-name "empathy_theme_set_show_avatars")
986   (return-type "none")
987   (parameters
988     '("gboolean" "show")
989   )
990 )
991
992
993
994 ;; From empathy-account-widget-irc.h
995
996 (define-function empathy_account_widget_irc_new
997   (c-name "empathy_account_widget_irc_new")
998   (is-constructor-of "EmpathyAccountWidgetIrc")
999   (return-type "GtkWidget*")
1000   (parameters
1001     '("McAccount*" "account")
1002   )
1003 )
1004
1005
1006
1007 ;; From empathy-contact-dialogs.h
1008
1009 (define-function empathy_subscription_dialog_show
1010   (c-name "empathy_subscription_dialog_show")
1011   (return-type "none")
1012   (parameters
1013     '("EmpathyContact*" "contact")
1014     '("GtkWindow*" "parent")
1015   )
1016 )
1017
1018 (define-method information_dialog_show
1019   (of-object "EmpathyContact")
1020   (c-name "empathy_contact_information_dialog_show")
1021   (return-type "none")
1022   (parameters
1023     '("GtkWindow*" "parent")
1024     '("gboolean" "edit")
1025     '("gboolean" "is_user")
1026   )
1027 )
1028
1029 (define-function empathy_new_contact_dialog_show
1030   (c-name "empathy_new_contact_dialog_show")
1031   (return-type "none")
1032   (parameters
1033     '("GtkWindow*" "parent")
1034   )
1035 )
1036
1037
1038
1039 ;; From empathy-new-message-dialog.h
1040
1041 (define-function empathy_new_message_dialog_show
1042   (c-name "empathy_new_message_dialog_show")
1043   (return-type "GtkWidget*")
1044   (parameters
1045     '("GtkWindow*" "parent")
1046   )
1047 )
1048
1049
1050
1051 ;; From empathy-theme-irc.h
1052
1053 (define-function empathy_theme_irc_get_type
1054   (c-name "empathy_theme_irc_get_type")
1055   (return-type "GType")
1056 )
1057
1058
1059
1060 ;; From empathy-avatar-chooser.h
1061
1062 (define-function empathy_avatar_chooser_get_type
1063   (c-name "empathy_avatar_chooser_get_type")
1064   (return-type "GType")
1065 )
1066
1067 (define-function empathy_avatar_chooser_new
1068   (c-name "empathy_avatar_chooser_new")
1069   (is-constructor-of "EmpathyAvatarChooser")
1070   (return-type "GtkWidget*")
1071 )
1072
1073 (define-method set
1074   (of-object "EmpathyAvatarChooser")
1075   (c-name "empathy_avatar_chooser_set")
1076   (return-type "none")
1077   (parameters
1078     '("EmpathyAvatar*" "avatar")
1079   )
1080 )
1081
1082 (define-method get_image_data
1083   (of-object "EmpathyAvatarChooser")
1084   (c-name "empathy_avatar_chooser_get_image_data")
1085   (return-type "none")
1086   (parameters
1087     '("const-gchar**" "data")
1088     '("gsize*" "data_size")
1089     '("const-gchar**" "mime_type")
1090   )
1091 )
1092
1093
1094
1095 ;; From empathy-contact-list-store.h
1096
1097 (define-function empathy_contact_list_store_get_type
1098   (c-name "empathy_contact_list_store_get_type")
1099   (return-type "GType")
1100 )
1101
1102 (define-method store_new
1103   (of-object "EmpathyContactList")
1104   (c-name "empathy_contact_list_store_new")
1105   (return-type "EmpathyContactListStore*")
1106 )
1107
1108 (define-method get_list_iface
1109   (of-object "EmpathyContactListStore")
1110   (c-name "empathy_contact_list_store_get_list_iface")
1111   (return-type "EmpathyContactList*")
1112 )
1113
1114 (define-method get_show_offline
1115   (of-object "EmpathyContactListStore")
1116   (c-name "empathy_contact_list_store_get_show_offline")
1117   (return-type "gboolean")
1118 )
1119
1120 (define-method set_show_offline
1121   (of-object "EmpathyContactListStore")
1122   (c-name "empathy_contact_list_store_set_show_offline")
1123   (return-type "none")
1124   (parameters
1125     '("gboolean" "show_offline")
1126   )
1127 )
1128
1129 (define-method get_show_avatars
1130   (of-object "EmpathyContactListStore")
1131   (c-name "empathy_contact_list_store_get_show_avatars")
1132   (return-type "gboolean")
1133 )
1134
1135 (define-method set_show_avatars
1136   (of-object "EmpathyContactListStore")
1137   (c-name "empathy_contact_list_store_set_show_avatars")
1138   (return-type "none")
1139   (parameters
1140     '("gboolean" "show_avatars")
1141   )
1142 )
1143
1144 (define-method get_show_groups
1145   (of-object "EmpathyContactListStore")
1146   (c-name "empathy_contact_list_store_get_show_groups")
1147   (return-type "gboolean")
1148 )
1149
1150 (define-method set_show_groups
1151   (of-object "EmpathyContactListStore")
1152   (c-name "empathy_contact_list_store_set_show_groups")
1153   (return-type "none")
1154   (parameters
1155     '("gboolean" "show_groups")
1156   )
1157 )
1158
1159 (define-method get_is_compact
1160   (of-object "EmpathyContactListStore")
1161   (c-name "empathy_contact_list_store_get_is_compact")
1162   (return-type "gboolean")
1163 )
1164
1165 (define-method set_is_compact
1166   (of-object "EmpathyContactListStore")
1167   (c-name "empathy_contact_list_store_set_is_compact")
1168   (return-type "none")
1169   (parameters
1170     '("gboolean" "is_compact")
1171   )
1172 )
1173
1174 (define-method get_sort_criterium
1175   (of-object "EmpathyContactListStore")
1176   (c-name "empathy_contact_list_store_get_sort_criterium")
1177   (return-type "EmpathyContactListStoreSort")
1178 )
1179
1180 (define-method set_sort_criterium
1181   (of-object "EmpathyContactListStore")
1182   (c-name "empathy_contact_list_store_set_sort_criterium")
1183   (return-type "none")
1184   (parameters
1185     '("EmpathyContactListStoreSort" "sort_criterium")
1186   )
1187 )
1188
1189 (define-function empathy_contact_list_store_row_separator_func
1190   (c-name "empathy_contact_list_store_row_separator_func")
1191   (return-type "gboolean")
1192   (parameters
1193     '("GtkTreeModel*" "model")
1194     '("GtkTreeIter*" "iter")
1195     '("gpointer" "data")
1196   )
1197 )
1198
1199 (define-function empathy_contact_list_store_get_parent_group
1200   (c-name "empathy_contact_list_store_get_parent_group")
1201   (return-type "gchar*")
1202   (parameters
1203     '("GtkTreeModel*" "model")
1204     '("GtkTreePath*" "path")
1205     '("gboolean*" "path_is_group")
1206   )
1207 )
1208
1209 (define-function empathy_contact_list_store_search_equal_func
1210   (c-name "empathy_contact_list_store_search_equal_func")
1211   (return-type "gboolean")
1212   (parameters
1213     '("GtkTreeModel*" "model")
1214     '("gint" "column")
1215     '("const-gchar*" "key")
1216     '("GtkTreeIter*" "iter")
1217     '("gpointer" "search_data")
1218   )
1219 )
1220
1221
1222
1223 ;; From empathy-presence-chooser.h
1224
1225 (define-function empathy_presence_chooser_get_type
1226   (c-name "empathy_presence_chooser_get_type")
1227   (return-type "GType")
1228 )
1229
1230 (define-function empathy_presence_chooser_new
1231   (c-name "empathy_presence_chooser_new")
1232   (is-constructor-of "EmpathyPresenceChooser")
1233   (return-type "GtkWidget*")
1234 )
1235
1236 (define-function empathy_presence_chooser_create_menu
1237   (c-name "empathy_presence_chooser_create_menu")
1238   (return-type "GtkWidget*")
1239 )
1240
1241
1242
1243 ;; From empathy-theme-manager.h
1244
1245 (define-function empathy_theme_manager_get_type
1246   (c-name "empathy_theme_manager_get_type")
1247   (return-type "GType")
1248 )
1249
1250 (define-function empathy_theme_manager_get
1251   (c-name "empathy_theme_manager_get")
1252   (return-type "EmpathyThemeManager*")
1253 )
1254
1255 (define-function empathy_theme_manager_get_themes
1256   (c-name "empathy_theme_manager_get_themes")
1257   (return-type "const-gchar**")
1258 )
1259
1260 (define-method apply
1261   (of-object "EmpathyThemeManager")
1262   (c-name "empathy_theme_manager_apply")
1263   (return-type "none")
1264   (parameters
1265     '("EmpathyChatView*" "view")
1266     '("const-gchar*" "theme")
1267   )
1268 )
1269
1270 (define-method apply_saved
1271   (of-object "EmpathyThemeManager")
1272   (c-name "empathy_theme_manager_apply_saved")
1273   (return-type "none")
1274   (parameters
1275     '("EmpathyChatView*" "view")
1276   )
1277 )
1278
1279
1280
1281 ;; From empathy-avatar-image.h
1282
1283 (define-function empathy_avatar_image_get_type
1284   (c-name "empathy_avatar_image_get_type")
1285   (return-type "GType")
1286 )
1287
1288 (define-function empathy_avatar_image_new
1289   (c-name "empathy_avatar_image_new")
1290   (is-constructor-of "EmpathyAvatarImage")
1291   (return-type "GtkWidget*")
1292 )
1293
1294 (define-method set
1295   (of-object "EmpathyAvatarImage")
1296   (c-name "empathy_avatar_image_set")
1297   (return-type "none")
1298   (parameters
1299     '("EmpathyAvatar*" "avatar")
1300   )
1301 )
1302
1303
1304
1305 ;; From empathy-contact-list-view.h
1306
1307 (define-function empathy_contact_list_view_get_type
1308   (c-name "empathy_contact_list_view_get_type")
1309   (return-type "GType")
1310 )
1311
1312 (define-function empathy_contact_list_view_new
1313   (c-name "empathy_contact_list_view_new")
1314   (is-constructor-of "EmpathyContactListView")
1315   (return-type "EmpathyContactListView*")
1316   (parameters
1317     '("EmpathyContactListStore*" "store")
1318     '("EmpathyContactListFeatures" "features")
1319   )
1320 )
1321
1322 (define-method set_features
1323   (of-object "EmpathyContactListView")
1324   (c-name "empathy_contact_list_view_set_features")
1325   (return-type "none")
1326   (parameters
1327     '("EmpathyContactListFeatures" "features")
1328   )
1329 )
1330
1331 (define-method get_features
1332   (of-object "EmpathyContactListView")
1333   (c-name "empathy_contact_list_view_get_features")
1334   (return-type "EmpathyContactListFeatures")
1335 )
1336
1337 (define-method get_selected
1338   (of-object "EmpathyContactListView")
1339   (c-name "empathy_contact_list_view_get_selected")
1340   (return-type "EmpathyContact*")
1341 )
1342
1343 (define-method get_selected_group
1344   (of-object "EmpathyContactListView")
1345   (c-name "empathy_contact_list_view_get_selected_group")
1346   (return-type "gchar*")
1347 )
1348
1349 (define-method get_contact_menu
1350   (of-object "EmpathyContactListView")
1351   (c-name "empathy_contact_list_view_get_contact_menu")
1352   (return-type "GtkWidget*")
1353   (parameters
1354     '("EmpathyContact*" "contact")
1355   )
1356 )
1357
1358 (define-method get_group_menu
1359   (of-object "EmpathyContactListView")
1360   (c-name "empathy_contact_list_view_get_group_menu")
1361   (return-type "GtkWidget*")
1362 )
1363
1364
1365
1366 ;; From empathy-private-chat.h
1367
1368 (define-function empathy_private_chat_get_type
1369   (c-name "empathy_private_chat_get_type")
1370   (return-type "GType")
1371 )
1372
1373 (define-function empathy_private_chat_new
1374   (c-name "empathy_private_chat_new")
1375   (is-constructor-of "EmpathyPrivateChat")
1376   (return-type "EmpathyPrivateChat*")
1377   (parameters
1378     '("EmpathyTpChat*" "tp_chat")
1379   )
1380 )
1381
1382 (define-method get_contact
1383   (of-object "EmpathyPrivateChat")
1384   (c-name "empathy_private_chat_get_contact")
1385   (return-type "EmpathyContact*")
1386 )
1387
1388
1389
1390 ;; From empathy-ui-utils.h
1391
1392 (define-function empathy_glade_get_file_simple
1393   (c-name "empathy_glade_get_file_simple")
1394   (return-type "none")
1395   (parameters
1396     '("const-gchar*" "filename")
1397     '("const-gchar*" "root")
1398     '("const-gchar*" "domain")
1399     '("const-gchar*" "first_required_widget")
1400   )
1401   (varargs #t)
1402 )
1403
1404 (define-function empathy_glade_get_file
1405   (c-name "empathy_glade_get_file")
1406   (return-type "GladeXML*")
1407   (parameters
1408     '("const-gchar*" "filename")
1409     '("const-gchar*" "root")
1410     '("const-gchar*" "domain")
1411     '("const-gchar*" "first_required_widget")
1412   )
1413   (varargs #t)
1414 )
1415
1416 (define-function empathy_glade_connect
1417   (c-name "empathy_glade_connect")
1418   (return-type "none")
1419   (parameters
1420     '("GladeXML*" "gui")
1421     '("gpointer" "user_data")
1422     '("gchar*" "first_widget")
1423   )
1424   (varargs #t)
1425 )
1426
1427 (define-function empathy_glade_setup_size_group
1428   (c-name "empathy_glade_setup_size_group")
1429   (return-type "none")
1430   (parameters
1431     '("GladeXML*" "gui")
1432     '("GtkSizeGroupMode" "mode")
1433     '("gchar*" "first_widget")
1434   )
1435   (varargs #t)
1436 )
1437
1438 (define-function empathy_icon_name_from_account
1439   (c-name "empathy_icon_name_from_account")
1440   (return-type "const-gchar*")
1441   (parameters
1442     '("McAccount*" "account")
1443   )
1444 )
1445
1446 (define-function empathy_icon_name_for_presence
1447   (c-name "empathy_icon_name_for_presence")
1448   (return-type "const-gchar*")
1449   (parameters
1450     '("McPresence" "presence")
1451   )
1452 )
1453
1454 (define-function empathy_icon_name_for_contact
1455   (c-name "empathy_icon_name_for_contact")
1456   (return-type "const-gchar*")
1457   (parameters
1458     '("EmpathyContact*" "contact")
1459   )
1460 )
1461
1462 (define-function empathy_pixbuf_from_data
1463   (c-name "empathy_pixbuf_from_data")
1464   (return-type "GdkPixbuf*")
1465   (parameters
1466     '("gchar*" "data")
1467     '("gsize" "data_size")
1468   )
1469 )
1470
1471 (define-function empathy_pixbuf_from_avatar_scaled
1472   (c-name "empathy_pixbuf_from_avatar_scaled")
1473   (return-type "GdkPixbuf*")
1474   (parameters
1475     '("EmpathyAvatar*" "avatar")
1476     '("gint" "width")
1477     '("gint" "height")
1478   )
1479 )
1480
1481 (define-function empathy_pixbuf_avatar_from_contact_scaled
1482   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1483   (return-type "GdkPixbuf*")
1484   (parameters
1485     '("EmpathyContact*" "contact")
1486     '("gint" "width")
1487     '("gint" "height")
1488   )
1489 )
1490
1491 (define-function empathy_pixbuf_scale_down_if_necessary
1492   (c-name "empathy_pixbuf_scale_down_if_necessary")
1493   (return-type "GdkPixbuf*")
1494   (parameters
1495     '("GdkPixbuf*" "pixbuf")
1496     '("gint" "max_size")
1497   )
1498 )
1499
1500 (define-function empathy_pixbuf_from_icon_name
1501   (c-name "empathy_pixbuf_from_icon_name")
1502   (return-type "GdkPixbuf*")
1503   (parameters
1504     '("const-gchar*" "icon_name")
1505     '("GtkIconSize" "icon_size")
1506   )
1507 )
1508
1509 (define-function empathy_text_iter_forward_search
1510   (c-name "empathy_text_iter_forward_search")
1511   (return-type "gboolean")
1512   (parameters
1513     '("const-GtkTextIter*" "iter")
1514     '("const-gchar*" "str")
1515     '("GtkTextIter*" "match_start")
1516     '("GtkTextIter*" "match_end")
1517     '("const-GtkTextIter*" "limit")
1518   )
1519 )
1520
1521 (define-function empathy_text_iter_backward_search
1522   (c-name "empathy_text_iter_backward_search")
1523   (return-type "gboolean")
1524   (parameters
1525     '("const-GtkTextIter*" "iter")
1526     '("const-gchar*" "str")
1527     '("GtkTextIter*" "match_start")
1528     '("GtkTextIter*" "match_end")
1529     '("const-GtkTextIter*" "limit")
1530   )
1531 )
1532
1533 (define-function empathy_window_get_is_visible
1534   (c-name "empathy_window_get_is_visible")
1535   (return-type "gboolean")
1536   (parameters
1537     '("GtkWindow*" "window")
1538   )
1539 )
1540
1541 (define-function empathy_window_present
1542   (c-name "empathy_window_present")
1543   (return-type "none")
1544   (parameters
1545     '("GtkWindow*" "window")
1546     '("gboolean" "steal_focus")
1547   )
1548 )
1549
1550 (define-function empathy_window_iconify
1551   (c-name "empathy_window_iconify")
1552   (return-type "none")
1553   (parameters
1554     '("GtkWindow*" "window")
1555     '("GtkStatusIcon*" "status_icon")
1556   )
1557 )
1558
1559 (define-function empathy_get_toplevel_window
1560   (c-name "empathy_get_toplevel_window")
1561   (return-type "GtkWindow*")
1562   (parameters
1563     '("GtkWidget*" "widget")
1564   )
1565 )
1566
1567 (define-function empathy_url_show
1568   (c-name "empathy_url_show")
1569   (return-type "none")
1570   (parameters
1571     '("const-char*" "url")
1572   )
1573 )
1574
1575 (define-function empathy_toggle_button_set_state_quietly
1576   (c-name "empathy_toggle_button_set_state_quietly")
1577   (return-type "none")
1578   (parameters
1579     '("GtkWidget*" "widget")
1580     '("GCallback" "callback")
1581     '("gpointer" "user_data")
1582     '("gboolean" "active")
1583   )
1584 )
1585
1586 (define-function empathy_link_button_new
1587   (c-name "empathy_link_button_new")
1588   (is-constructor-of "EmpathyLinkButton")
1589   (return-type "GtkWidget*")
1590   (parameters
1591     '("const-gchar*" "url")
1592     '("const-gchar*" "title")
1593   )
1594 )
1595
1596 (define-function empathy_text_buffer_tag_set
1597   (c-name "empathy_text_buffer_tag_set")
1598   (return-type "GtkTextTag*")
1599   (parameters
1600     '("GtkTextBuffer*" "buffer")
1601     '("const-gchar*" "tag_name")
1602     '("const-gchar*" "first_property_name")
1603   )
1604   (varargs #t)
1605 )
1606
1607
1608
1609 ;; From empathy-cell-renderer-activatable.h
1610
1611 (define-function empathy_cell_renderer_activatable_get_type
1612   (c-name "empathy_cell_renderer_activatable_get_type")
1613   (return-type "GType")
1614 )
1615
1616 (define-function empathy_cell_renderer_activatable_new
1617   (c-name "empathy_cell_renderer_activatable_new")
1618   (is-constructor-of "EmpathyCellRendererActivatable")
1619   (return-type "GtkCellRenderer*")
1620 )
1621
1622
1623
1624 ;; From empathy-contact-widget.h
1625
1626 (define-method widget_new
1627   (of-object "EmpathyContact")
1628   (c-name "empathy_contact_widget_new")
1629   (return-type "GtkWidget*")
1630   (parameters
1631     '("EmpathyContactWidgetFlags" "flags")
1632   )
1633 )
1634
1635 (define-function empathy_contact_widget_get_contact
1636   (c-name "empathy_contact_widget_get_contact")
1637   (return-type "EmpathyContact*")
1638   (parameters
1639     '("GtkWidget*" "widget")
1640   )
1641 )
1642
1643 (define-function empathy_contact_widget_set_contact
1644   (c-name "empathy_contact_widget_set_contact")
1645   (return-type "none")
1646   (parameters
1647     '("GtkWidget*" "widget")
1648     '("EmpathyContact*" "contact")
1649   )
1650 )
1651
1652 (define-function empathy_contact_widget_set_account_filter
1653   (c-name "empathy_contact_widget_set_account_filter")
1654   (return-type "none")
1655   (parameters
1656     '("GtkWidget*" "widget")
1657     '("EmpathyAccountChooserFilterFunc" "filter")
1658     '("gpointer" "user_data")
1659   )
1660 )
1661
1662
1663
1664 ;; From empathy-profile-chooser.h
1665
1666 (define-function empathy_profile_chooser_new
1667   (c-name "empathy_profile_chooser_new")
1668   (is-constructor-of "EmpathyProfileChooser")
1669   (return-type "GtkWidget*")
1670 )
1671
1672 (define-function empathy_profile_chooser_get_selected
1673   (c-name "empathy_profile_chooser_get_selected")
1674   (return-type "McProfile*")
1675   (parameters
1676     '("GtkWidget*" "widget")
1677   )
1678 )
1679
1680 (define-function empathy_profile_chooser_n_profiles
1681   (c-name "empathy_profile_chooser_n_profiles")
1682   (return-type "gint")
1683   (parameters
1684     '("GtkWidget*" "widget")
1685   )
1686 )
1687
1688
1689
1690 ;; From empathy-cell-renderer-expander.h
1691
1692 (define-function empathy_cell_renderer_expander_get_type
1693   (c-name "empathy_cell_renderer_expander_get_type")
1694   (return-type "GType")
1695 )
1696
1697 (define-function empathy_cell_renderer_expander_new
1698   (c-name "empathy_cell_renderer_expander_new")
1699   (is-constructor-of "EmpathyCellRendererExpander")
1700   (return-type "GtkCellRenderer*")
1701 )
1702
1703
1704
1705 ;; From empathy-geometry.h
1706
1707 (define-function empathy_geometry_save
1708   (c-name "empathy_geometry_save")
1709   (return-type "none")
1710   (parameters
1711     '("const-gchar*" "name")
1712     '("gint" "x")
1713     '("gint" "y")
1714     '("gint" "w")
1715     '("gint" "h")
1716   )
1717 )
1718
1719 (define-function empathy_geometry_load
1720   (c-name "empathy_geometry_load")
1721   (return-type "none")
1722   (parameters
1723     '("const-gchar*" "name")
1724     '("gint*" "x")
1725     '("gint*" "y")
1726     '("gint*" "w")
1727     '("gint*" "h")
1728   )
1729 )
1730
1731
1732
1733 ;; From empathy-smiley-manager.h
1734
1735 (define-function empathy_smiley_manager_get_type
1736   (c-name "empathy_smiley_manager_get_type")
1737   (return-type "GType")
1738 )
1739
1740 (define-function empathy_smiley_manager_new
1741   (c-name "empathy_smiley_manager_new")
1742   (is-constructor-of "EmpathySmileyManager")
1743   (return-type "EmpathySmileyManager*")
1744 )
1745
1746 (define-method load
1747   (of-object "EmpathySmileyManager")
1748   (c-name "empathy_smiley_manager_load")
1749   (return-type "none")
1750 )
1751
1752 (define-method add
1753   (of-object "EmpathySmileyManager")
1754   (c-name "empathy_smiley_manager_add")
1755   (return-type "none")
1756   (parameters
1757     '("const-gchar*" "icon_name")
1758     '("const-gchar*" "first_str")
1759   )
1760   (varargs #t)
1761 )
1762
1763 (define-method add_from_pixbuf
1764   (of-object "EmpathySmileyManager")
1765   (c-name "empathy_smiley_manager_add_from_pixbuf")
1766   (return-type "none")
1767   (parameters
1768     '("GdkPixbuf*" "smiley")
1769     '("const-gchar*" "first_str")
1770   )
1771   (varargs #t)
1772 )
1773
1774 (define-method get_all
1775   (of-object "EmpathySmileyManager")
1776   (c-name "empathy_smiley_manager_get_all")
1777   (return-type "GSList*")
1778 )
1779
1780 (define-method parse
1781   (of-object "EmpathySmileyManager")
1782   (c-name "empathy_smiley_manager_parse")
1783   (return-type "GSList*")
1784   (parameters
1785     '("const-gchar*" "text")
1786   )
1787 )
1788
1789 (define-method free
1790   (of-object "EmpathySmiley")
1791   (c-name "empathy_smiley_free")
1792   (return-type "none")
1793 )
1794
1795
1796
1797 ;; From empathy-cell-renderer-text.h
1798
1799 (define-function empathy_cell_renderer_text_get_type
1800   (c-name "empathy_cell_renderer_text_get_type")
1801   (return-type "GType")
1802 )
1803
1804 (define-function empathy_cell_renderer_text_new
1805   (c-name "empathy_cell_renderer_text_new")
1806   (is-constructor-of "EmpathyCellRendererText")
1807   (return-type "GtkCellRenderer*")
1808 )
1809
1810
1811
1812 ;; From empathy-group-chat.h
1813
1814 (define-function empathy_group_chat_get_type
1815   (c-name "empathy_group_chat_get_type")
1816   (return-type "GType")
1817 )
1818
1819 (define-function empathy_group_chat_new
1820   (c-name "empathy_group_chat_new")
1821   (is-constructor-of "EmpathyGroupChat")
1822   (return-type "EmpathyGroupChat*")
1823   (parameters
1824     '("EmpathyTpChatroom*" "tp_chat")
1825   )
1826 )
1827
1828 (define-method get_show_contacts
1829   (of-object "EmpathyGroupChat")
1830   (c-name "empathy_group_chat_get_show_contacts")
1831   (return-type "gboolean")
1832 )
1833
1834 (define-method set_show_contacts
1835   (of-object "EmpathyGroupChat")
1836   (c-name "empathy_group_chat_set_show_contacts")
1837   (return-type "none")
1838   (parameters
1839     '("gboolean" "show")
1840   )
1841 )
1842
1843 (define-method set_topic
1844   (of-object "EmpathyGroupChat")
1845   (c-name "empathy_group_chat_set_topic")
1846   (return-type "none")
1847 )
1848
1849
1850
1851 ;; From empathy-spell.h
1852
1853 (define-function empathy_spell_supported
1854   (c-name "empathy_spell_supported")
1855   (return-type "gboolean")
1856 )
1857
1858 (define-function empathy_spell_get_language_name
1859   (c-name "empathy_spell_get_language_name")
1860   (return-type "const-gchar*")
1861   (parameters
1862     '("const-gchar*" "code")
1863   )
1864 )
1865
1866 (define-function empathy_spell_get_language_codes
1867   (c-name "empathy_spell_get_language_codes")
1868   (return-type "GList*")
1869 )
1870
1871 (define-function empathy_spell_free_language_codes
1872   (c-name "empathy_spell_free_language_codes")
1873   (return-type "none")
1874   (parameters
1875     '("GList*" "codes")
1876   )
1877 )
1878
1879 (define-function empathy_spell_check
1880   (c-name "empathy_spell_check")
1881   (return-type "gboolean")
1882   (parameters
1883     '("const-gchar*" "word")
1884   )
1885 )
1886
1887 (define-function empathy_spell_get_suggestions
1888   (c-name "empathy_spell_get_suggestions")
1889   (return-type "GList*")
1890   (parameters
1891     '("const-gchar*" "word")
1892   )
1893 )
1894
1895 (define-function empathy_spell_free_suggestions
1896   (c-name "empathy_spell_free_suggestions")
1897   (return-type "none")
1898   (parameters
1899     '("GList*" "suggestions")
1900   )
1901 )
1902
1903