]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
2c5515da8d8e7f92a857af82548c98dad5262e92
[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 (define-function audio_sink_set_volume
1308   (c-name "empathy_audio_sink_set_volume")
1309   (return-type "none")
1310   (parameters
1311     '("EmpathyGstAudioSink*" "sink")
1312     '("gdouble" "volume")
1313   )
1314 )
1315
1316 (define-function audio_sink_get_volume
1317   (c-name "empathy_audio_sink_get_volume")
1318   (return-type "gdouble")
1319   (parameters
1320     '("EmpathyGstAudioSink*" "sink")
1321   )
1322 )
1323
1324
1325
1326 ;; From empathy-audio-src.h
1327
1328 (define-function audio_src_get_type
1329   (c-name "empathy_audio_src_get_type")
1330   (return-type "GType")
1331 )
1332
1333 (define-function audio_src_new
1334   (c-name "empathy_audio_src_new")
1335   (is-constructor-of "EmpathyAudioSrc")
1336   (return-type "GstElement*")
1337 )
1338
1339
1340
1341 ;; From empathy-video-src.h
1342
1343 (define-function video_src_get_type
1344   (c-name "empathy_video_src_get_type")
1345   (return-type "GType")
1346 )
1347
1348 (define-function video_src_new
1349   (c-name "empathy_video_src_new")
1350   (is-constructor-of "EmpathyVideoSrc")
1351   (return-type "GstElement*")
1352 )
1353
1354
1355
1356 ;; From empathy-video-widget.h
1357
1358 (define-function video_widget_get_type
1359   (c-name "empathy_video_widget_get_type")
1360   (return-type "GType")
1361 )
1362
1363 (define-function video_widget_new
1364   (c-name "empathy_video_widget_new")
1365   (is-constructor-of "EmpathyVideoWidget")
1366   (return-type "GtkWidget*")
1367   (parameters
1368     '("GstBus*" "bus")
1369   )
1370 )
1371
1372 (define-function video_widget_new_with_size
1373   (c-name "empathy_video_widget_new_with_size")
1374   (return-type "GtkWidget*")
1375   (parameters
1376     '("GstBus*" "bus")
1377     '("gint" "width")
1378     '("gint" "height")
1379   )
1380 )
1381
1382 (define-method get_element
1383   (of-object "EmpathyVideoWidget")
1384   (c-name "empathy_video_widget_get_element")
1385   (return-type "GstElement*")
1386 )
1387
1388 (define-method get_sink
1389   (of-object "EmpathyVideoWidget")
1390   (c-name "empathy_video_widget_get_sink")
1391   (return-type "GstPad*")
1392 )
1393
1394
1395
1396 ;; From empathy-images.h
1397
1398
1399
1400 ;; From empathy-irc-network-dialog.h
1401
1402 (define-method dialog_show
1403   (of-object "EmpathyIrcNetwork")
1404   (c-name "empathy_irc_network_dialog_show")
1405   (return-type "GtkWidget*")
1406   (parameters
1407     '("GtkWidget*" "parent")
1408   )
1409 )
1410
1411
1412
1413 ;; From empathy-log-window.h
1414
1415 (define-function log_window_show
1416   (c-name "empathy_log_window_show")
1417   (return-type "GtkWidget*")
1418   (parameters
1419     '("McAccount*" "account")
1420     '("const-gchar*" "chat_id")
1421     '("gboolean" "chatroom")
1422     '("GtkWindow*" "parent")
1423   )
1424 )
1425
1426
1427
1428 ;; From empathy-new-message-dialog.h
1429
1430 (define-function new_message_dialog_show
1431   (c-name "empathy_new_message_dialog_show")
1432   (return-type "GtkWidget*")
1433   (parameters
1434     '("GtkWindow*" "parent")
1435   )
1436 )
1437
1438
1439
1440 ;; From empathy-presence-chooser.h
1441
1442 (define-function presence_chooser_get_type
1443   (c-name "empathy_presence_chooser_get_type")
1444   (return-type "GType")
1445 )
1446
1447 (define-function presence_chooser_new
1448   (c-name "empathy_presence_chooser_new")
1449   (is-constructor-of "EmpathyPresenceChooser")
1450   (return-type "GtkWidget*")
1451 )
1452
1453 (define-function presence_chooser_create_menu
1454   (c-name "empathy_presence_chooser_create_menu")
1455   (return-type "GtkWidget*")
1456 )
1457
1458
1459
1460 ;; From empathy-profile-chooser.h
1461
1462 (define-function profile_chooser_new
1463   (c-name "empathy_profile_chooser_new")
1464   (is-constructor-of "EmpathyProfileChooser")
1465   (return-type "GtkWidget*")
1466 )
1467
1468 (define-function profile_chooser_get_selected
1469   (c-name "empathy_profile_chooser_get_selected")
1470   (return-type "McProfile*")
1471   (parameters
1472     '("GtkWidget*" "widget")
1473   )
1474 )
1475
1476 (define-function profile_chooser_n_profiles
1477   (c-name "empathy_profile_chooser_n_profiles")
1478   (return-type "gint")
1479   (parameters
1480     '("GtkWidget*" "widget")
1481   )
1482 )
1483
1484
1485
1486 ;; From empathy-smiley-manager.h
1487
1488 (define-function smiley_manager_get_type
1489   (c-name "empathy_smiley_manager_get_type")
1490   (return-type "GType")
1491 )
1492
1493 (define-function smiley_manager_dup_singleton
1494   (c-name "empathy_smiley_manager_dup_singleton")
1495   (return-type "EmpathySmileyManager*")
1496 )
1497
1498 (define-method load
1499   (of-object "EmpathySmileyManager")
1500   (c-name "empathy_smiley_manager_load")
1501   (return-type "none")
1502 )
1503
1504 (define-method add
1505   (of-object "EmpathySmileyManager")
1506   (c-name "empathy_smiley_manager_add")
1507   (return-type "none")
1508   (parameters
1509     '("const-gchar*" "icon_name")
1510     '("const-gchar*" "first_str")
1511   )
1512   (varargs #t)
1513 )
1514
1515 (define-method add_from_pixbuf
1516   (of-object "EmpathySmileyManager")
1517   (c-name "empathy_smiley_manager_add_from_pixbuf")
1518   (return-type "none")
1519   (parameters
1520     '("GdkPixbuf*" "smiley")
1521     '("const-gchar*" "first_str")
1522   )
1523   (varargs #t)
1524 )
1525
1526 (define-method get_all
1527   (of-object "EmpathySmileyManager")
1528   (c-name "empathy_smiley_manager_get_all")
1529   (return-type "GSList*")
1530 )
1531
1532 (define-method parse
1533   (of-object "EmpathySmileyManager")
1534   (c-name "empathy_smiley_manager_parse")
1535   (return-type "GSList*")
1536   (parameters
1537     '("const-gchar*" "text")
1538   )
1539 )
1540
1541 (define-function smiley_menu_new
1542   (c-name "empathy_smiley_menu_new")
1543   (is-constructor-of "EmpathySmileyMenu")
1544   (return-type "GtkWidget*")
1545   (parameters
1546     '("EmpathySmileyManager*" "manager")
1547     '("EmpathySmileyMenuFunc" "func")
1548     '("gpointer" "user_data")
1549   )
1550 )
1551
1552 (define-method free
1553   (of-object "EmpathySmiley")
1554   (c-name "empathy_smiley_free")
1555   (return-type "none")
1556 )
1557
1558
1559
1560 ;; From empathy-spell.h
1561
1562 (define-function spell_supported
1563   (c-name "empathy_spell_supported")
1564   (return-type "gboolean")
1565 )
1566
1567 (define-function spell_get_language_name
1568   (c-name "empathy_spell_get_language_name")
1569   (return-type "const-gchar*")
1570   (parameters
1571     '("const-gchar*" "code")
1572   )
1573 )
1574
1575 (define-function spell_get_language_codes
1576   (c-name "empathy_spell_get_language_codes")
1577   (return-type "GList*")
1578 )
1579
1580 (define-function spell_free_language_codes
1581   (c-name "empathy_spell_free_language_codes")
1582   (return-type "none")
1583   (parameters
1584     '("GList*" "codes")
1585   )
1586 )
1587
1588 (define-function spell_check
1589   (c-name "empathy_spell_check")
1590   (return-type "gboolean")
1591   (parameters
1592     '("const-gchar*" "word")
1593   )
1594 )
1595
1596 (define-function spell_get_suggestions
1597   (c-name "empathy_spell_get_suggestions")
1598   (return-type "GList*")
1599   (parameters
1600     '("const-gchar*" "word")
1601   )
1602 )
1603
1604 (define-function spell_free_suggestions
1605   (c-name "empathy_spell_free_suggestions")
1606   (return-type "none")
1607   (parameters
1608     '("GList*" "suggestions")
1609   )
1610 )
1611
1612
1613
1614 ;; From empathy-spell-dialog.h
1615
1616 (define-function spell_dialog_show
1617   (c-name "empathy_spell_dialog_show")
1618   (return-type "none")
1619   (parameters
1620     '("EmpathyChat*" "chat")
1621     '("GtkTextIter*" "start")
1622     '("GtkTextIter*" "end")
1623     '("const-gchar*" "word")
1624   )
1625 )
1626
1627
1628
1629 ;; From empathy-theme-boxes.h
1630
1631 (define-function theme_boxes_get_type
1632   (c-name "empathy_theme_boxes_get_type")
1633   (return-type "GType")
1634 )
1635
1636 (define-function theme_boxes_new
1637   (c-name "empathy_theme_boxes_new")
1638   (is-constructor-of "EmpathyThemeBoxes")
1639   (return-type "EmpathyThemeBoxes*")
1640 )
1641
1642
1643
1644 ;; From empathy-theme-irc.h
1645
1646 (define-function theme_irc_get_type
1647   (c-name "empathy_theme_irc_get_type")
1648   (return-type "GType")
1649 )
1650
1651 (define-function theme_irc_new
1652   (c-name "empathy_theme_irc_new")
1653   (is-constructor-of "EmpathyThemeIrc")
1654   (return-type "EmpathyThemeIrc*")
1655 )
1656
1657
1658
1659 ;; From empathy-theme-manager.h
1660
1661 (define-function theme_manager_get_type
1662   (c-name "empathy_theme_manager_get_type")
1663   (return-type "GType")
1664 )
1665
1666 (define-function theme_manager_get
1667   (c-name "empathy_theme_manager_get")
1668   (return-type "EmpathyThemeManager*")
1669 )
1670
1671 (define-function theme_manager_get_themes
1672   (c-name "empathy_theme_manager_get_themes")
1673   (return-type "const-gchar**")
1674 )
1675
1676 (define-method create_view
1677   (of-object "EmpathyThemeManager")
1678   (c-name "empathy_theme_manager_create_view")
1679   (return-type "EmpathyChatView*")
1680 )
1681
1682
1683
1684 ;; From empathy-ui-utils.h
1685
1686 (define-function gtk_init
1687   (c-name "empathy_gtk_init")
1688   (return-type "none")
1689 )
1690
1691 (define-function glade_get_file_simple
1692   (c-name "empathy_glade_get_file_simple")
1693   (return-type "none")
1694   (parameters
1695     '("const-gchar*" "filename")
1696     '("const-gchar*" "root")
1697     '("const-gchar*" "domain")
1698     '("const-gchar*" "first_required_widget")
1699   )
1700   (varargs #t)
1701 )
1702
1703 (define-function glade_get_file
1704   (c-name "empathy_glade_get_file")
1705   (return-type "GladeXML*")
1706   (parameters
1707     '("const-gchar*" "filename")
1708     '("const-gchar*" "root")
1709     '("const-gchar*" "domain")
1710     '("const-gchar*" "first_required_widget")
1711   )
1712   (varargs #t)
1713 )
1714
1715 (define-function glade_connect
1716   (c-name "empathy_glade_connect")
1717   (return-type "none")
1718   (parameters
1719     '("GladeXML*" "gui")
1720     '("gpointer" "user_data")
1721     '("gchar*" "first_widget")
1722   )
1723   (varargs #t)
1724 )
1725
1726 (define-function glade_setup_size_group
1727   (c-name "empathy_glade_setup_size_group")
1728   (return-type "none")
1729   (parameters
1730     '("GladeXML*" "gui")
1731     '("GtkSizeGroupMode" "mode")
1732     '("gchar*" "first_widget")
1733   )
1734   (varargs #t)
1735 )
1736
1737 (define-function icon_name_from_account
1738   (c-name "empathy_icon_name_from_account")
1739   (return-type "const-gchar*")
1740   (parameters
1741     '("McAccount*" "account")
1742   )
1743 )
1744
1745 (define-function icon_name_for_presence
1746   (c-name "empathy_icon_name_for_presence")
1747   (return-type "const-gchar*")
1748   (parameters
1749     '("McPresence" "presence")
1750   )
1751 )
1752
1753 (define-function icon_name_for_contact
1754   (c-name "empathy_icon_name_for_contact")
1755   (return-type "const-gchar*")
1756   (parameters
1757     '("EmpathyContact*" "contact")
1758   )
1759 )
1760
1761 (define-function pixbuf_from_data
1762   (c-name "empathy_pixbuf_from_data")
1763   (return-type "GdkPixbuf*")
1764   (parameters
1765     '("gchar*" "data")
1766     '("gsize" "data_size")
1767   )
1768 )
1769
1770 (define-function pixbuf_from_data_and_mime
1771   (c-name "empathy_pixbuf_from_data_and_mime")
1772   (return-type "GdkPixbuf*")
1773   (parameters
1774     '("gchar*" "data")
1775     '("gsize" "data_size")
1776     '("gchar**" "mime_type")
1777   )
1778 )
1779
1780 (define-function pixbuf_from_avatar_scaled
1781   (c-name "empathy_pixbuf_from_avatar_scaled")
1782   (return-type "GdkPixbuf*")
1783   (parameters
1784     '("EmpathyAvatar*" "avatar")
1785     '("gint" "width")
1786     '("gint" "height")
1787   )
1788 )
1789
1790 (define-function pixbuf_avatar_from_contact_scaled
1791   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1792   (return-type "GdkPixbuf*")
1793   (parameters
1794     '("EmpathyContact*" "contact")
1795     '("gint" "width")
1796     '("gint" "height")
1797   )
1798 )
1799
1800 (define-function pixbuf_scale_down_if_necessary
1801   (c-name "empathy_pixbuf_scale_down_if_necessary")
1802   (return-type "GdkPixbuf*")
1803   (parameters
1804     '("GdkPixbuf*" "pixbuf")
1805     '("gint" "max_size")
1806   )
1807 )
1808
1809 (define-function pixbuf_from_icon_name
1810   (c-name "empathy_pixbuf_from_icon_name")
1811   (return-type "GdkPixbuf*")
1812   (parameters
1813     '("const-gchar*" "icon_name")
1814     '("GtkIconSize" "icon_size")
1815   )
1816 )
1817
1818 (define-function pixbuf_from_icon_name_sized
1819   (c-name "empathy_pixbuf_from_icon_name_sized")
1820   (return-type "GdkPixbuf*")
1821   (parameters
1822     '("const-gchar*" "icon_name")
1823     '("gint" "size")
1824   )
1825 )
1826
1827 (define-function text_iter_forward_search
1828   (c-name "empathy_text_iter_forward_search")
1829   (return-type "gboolean")
1830   (parameters
1831     '("const-GtkTextIter*" "iter")
1832     '("const-gchar*" "str")
1833     '("GtkTextIter*" "match_start")
1834     '("GtkTextIter*" "match_end")
1835     '("const-GtkTextIter*" "limit")
1836   )
1837 )
1838
1839 (define-function text_iter_backward_search
1840   (c-name "empathy_text_iter_backward_search")
1841   (return-type "gboolean")
1842   (parameters
1843     '("const-GtkTextIter*" "iter")
1844     '("const-gchar*" "str")
1845     '("GtkTextIter*" "match_start")
1846     '("GtkTextIter*" "match_end")
1847     '("const-GtkTextIter*" "limit")
1848   )
1849 )
1850
1851 (define-function window_get_is_visible
1852   (c-name "empathy_window_get_is_visible")
1853   (return-type "gboolean")
1854   (parameters
1855     '("GtkWindow*" "window")
1856   )
1857 )
1858
1859 (define-function window_present
1860   (c-name "empathy_window_present")
1861   (return-type "none")
1862   (parameters
1863     '("GtkWindow*" "window")
1864     '("gboolean" "steal_focus")
1865   )
1866 )
1867
1868 (define-function window_iconify
1869   (c-name "empathy_window_iconify")
1870   (return-type "none")
1871   (parameters
1872     '("GtkWindow*" "window")
1873     '("GtkStatusIcon*" "status_icon")
1874   )
1875 )
1876
1877 (define-function get_toplevel_window
1878   (c-name "empathy_get_toplevel_window")
1879   (return-type "GtkWindow*")
1880   (parameters
1881     '("GtkWidget*" "widget")
1882   )
1883 )
1884
1885 (define-function url_show
1886   (c-name "empathy_url_show")
1887   (return-type "none")
1888   (parameters
1889     '("GtkWidget*" "parent")
1890     '("const-char*" "url")
1891   )
1892 )
1893
1894 (define-function toggle_button_set_state_quietly
1895   (c-name "empathy_toggle_button_set_state_quietly")
1896   (return-type "none")
1897   (parameters
1898     '("GtkWidget*" "widget")
1899     '("GCallback" "callback")
1900     '("gpointer" "user_data")
1901     '("gboolean" "active")
1902   )
1903 )
1904
1905 (define-function link_button_new
1906   (c-name "empathy_link_button_new")
1907   (is-constructor-of "EmpathyLinkButton")
1908   (return-type "GtkWidget*")
1909   (parameters
1910     '("const-gchar*" "url")
1911     '("const-gchar*" "title")
1912   )
1913 )
1914
1915 (define-function send_file_with_file_chooser
1916   (c-name "empathy_send_file_with_file_chooser")
1917   (return-type "none")
1918   (parameters
1919     '("EmpathyContact*" "contact")
1920   )
1921 )
1922
1923 (define-function sound_play
1924   (c-name "empathy_sound_play")
1925   (return-type "none")
1926   (parameters
1927     '("GtkWidget*" "widget")
1928     '("EmpathySound" "sound_id")
1929   )
1930 )
1931
1932 (define-function sound_play_full
1933   (c-name "empathy_sound_play_full")
1934   (return-type "gboolean")
1935   (parameters
1936     '("GtkWidget*" "widget")
1937     '("EmpathySound" "sound_id")
1938     '("ca_finish_callback_t" "callback")
1939     '("gpointer" "user_data")
1940   )
1941 )
1942
1943 (define-method stop
1944   (of-object "EmpathySound")
1945   (c-name "empathy_sound_stop")
1946   (return-type "none")
1947 )
1948
1949