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