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