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