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