]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
Change a bit the generic account setting API.
[empathy.git] / python / pyempathygtk / pyempathygtk.defs
1 ;; -*- scheme -*-
2 ; object definitions ...
3 (define-object AccountChooser
4   (in-module "Empathy")
5   (parent "GtkComboBox")
6   (c-name "EmpathyAccountChooser")
7   (gtype-id "EMPATHY_TYPE_ACCOUNT_CHOOSER")
8 )
9
10 (define-object AvatarChooser
11   (in-module "Empathy")
12   (parent "GtkButton")
13   (c-name "EmpathyAvatarChooser")
14   (gtype-id "EMPATHY_TYPE_AVATAR_CHOOSER")
15 )
16
17 (define-object AvatarImage
18   (in-module "Empathy")
19   (parent "GtkEventBox")
20   (c-name "EmpathyAvatarImage")
21   (gtype-id "EMPATHY_TYPE_AVATAR_IMAGE")
22 )
23
24 (define-object CellRendererActivatable
25   (in-module "Empathy")
26   (parent "GtkCellRendererPixbuf")
27   (c-name "EmpathyCellRendererActivatable")
28   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE")
29 )
30
31 (define-object CellRendererExpander
32   (in-module "Empathy")
33   (parent "GtkCellRenderer")
34   (c-name "EmpathyCellRendererExpander")
35   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_EXPANDER")
36 )
37
38 (define-object CellRendererText
39   (in-module "Empathy")
40   (parent "GtkCellRendererText")
41   (c-name "EmpathyCellRendererText")
42   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_TEXT")
43 )
44
45 (define-object Chat
46   (in-module "Empathy")
47   (parent "GObject")
48   (c-name "EmpathyChat")
49   (gtype-id "EMPATHY_TYPE_CHAT")
50 )
51
52 (define-object ChatView
53   (in-module "Empathy")
54   (parent "GtkTextView")
55   (c-name "EmpathyChatView")
56   (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
57 )
58
59 (define-object ChatWindow
60   (in-module "Empathy")
61   (parent "GObject")
62   (c-name "EmpathyChatWindow")
63   (gtype-id "EMPATHY_TYPE_CHAT_WINDOW")
64 )
65
66 (define-object Conf
67   (in-module "Empathy")
68   (parent "GObject")
69   (c-name "EmpathyConf")
70   (gtype-id "EMPATHY_TYPE_CONF")
71 )
72
73 (define-object ContactListStore
74   (in-module "Empathy")
75   (parent "GtkTreeStore")
76   (c-name "EmpathyContactListStore")
77   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
78 )
79
80 (define-object ContactListView
81   (in-module "Empathy")
82   (parent "GtkTreeView")
83   (c-name "EmpathyContactListView")
84   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
85 )
86
87 (define-object GroupChat
88   (in-module "Empathy")
89   (parent "EmpathyChat")
90   (c-name "EmpathyGroupChat")
91   (gtype-id "EMPATHY_TYPE_GROUP_CHAT")
92 )
93
94 (define-object PresenceChooser
95   (in-module "Empathy")
96   (parent "GtkToggleButton")
97   (c-name "EmpathyPresenceChooser")
98   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
99 )
100
101 (define-object PrivateChat
102   (in-module "Empathy")
103   (parent "EmpathyChat")
104   (c-name "EmpathyPrivateChat")
105   (gtype-id "EMPATHY_TYPE_PRIVATE_CHAT")
106 )
107
108 (define-object SmileyManager
109   (in-module "Empathy")
110   (parent "GObject")
111   (c-name "EmpathySmileyManager")
112   (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
113 )
114
115 (define-object StatusIcon
116   (in-module "Empathy")
117   (parent "GObject")
118   (c-name "EmpathyStatusIcon")
119   (gtype-id "EMPATHY_TYPE_STATUS_ICON")
120 )
121
122 (define-object Theme
123   (in-module "Empathy")
124   (parent "GObject")
125   (c-name "EmpathyTheme")
126   (gtype-id "EMPATHY_TYPE_THEME")
127 )
128
129 (define-object ThemeBoxes
130   (in-module "Empathy")
131   (parent "EmpathyTheme")
132   (c-name "EmpathyThemeBoxes")
133   (gtype-id "EMPATHY_TYPE_THEME_BOXES")
134 )
135
136 (define-object ThemeIrc
137   (in-module "Empathy")
138   (parent "EmpathyTheme")
139   (c-name "EmpathyThemeIrc")
140   (gtype-id "EMPATHY_TYPE_THEME_IRC")
141 )
142
143 (define-object ThemeManager
144   (in-module "Empathy")
145   (parent "GObject")
146   (c-name "EmpathyThemeManager")
147   (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
148 )
149
150 ;; Enumerations and flags ...
151
152 (define-enum ChatViewBlock
153   (in-module "Empathy")
154   (c-name "EmpathyChatViewBlock")
155   (gtype-id "EMPATHY_TYPE_CHAT_VIEW_BLOCK")
156   (values
157     '("none" "EMPATHY_CHAT_VIEW_BLOCK_NONE")
158     '("self" "EMPATHY_CHAT_VIEW_BLOCK_SELF")
159     '("other" "EMPATHY_CHAT_VIEW_BLOCK_OTHER")
160     '("event" "EMPATHY_CHAT_VIEW_BLOCK_EVENT")
161     '("time" "EMPATHY_CHAT_VIEW_BLOCK_TIME")
162     '("invite" "EMPATHY_CHAT_VIEW_BLOCK_INVITE")
163   )
164 )
165
166 (define-enum ContactListStoreSort
167   (in-module "Empathy")
168   (c-name "EmpathyContactListStoreSort")
169   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
170   (values
171     '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
172     '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
173   )
174 )
175
176 (define-enum ContactListStoreCol
177   (in-module "Empathy")
178   (c-name "EmpathyContactListStoreCol")
179   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
180   (values
181     '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
182     '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
183     '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
184     '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
185     '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
186     '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
187     '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
188     '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
189     '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
190     '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
191     '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
192     '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
193     '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
194   )
195 )
196
197 (define-flags ContactListFeatures
198   (in-module "Empathy")
199   (c-name "EmpathyContactListFeatures")
200   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURES")
201   (values
202     '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
203     '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
204     '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
205     '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
206     '("contact-chat" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT")
207     '("contact-call" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL")
208     '("contact-log" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG")
209     '("contact-ft" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_FT")
210     '("contact-invite" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INVITE")
211     '("contact-edit" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_EDIT")
212     '("contact-info" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO")
213     '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
214     '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
215     '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
216     '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
217   )
218 )
219
220 (define-flags ContactWidgetFlags
221   (in-module "Empathy")
222   (c-name "EmpathyContactWidgetFlags")
223   (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
224   (values
225     '("none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
226     '("alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
227     '("avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
228     '("account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
229     '("id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
230     '("groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
231   )
232 )
233
234
235 ;; From empathy-about-dialog.h
236
237 (define-function empathy_about_dialog_new
238   (c-name "empathy_about_dialog_new")
239   (return-type "none")
240   (parameters
241     '("GtkWindow*" "parent")
242   )
243 )
244
245
246
247 ;; From empathy-account-chooser.h
248
249 (define-function empathy_account_chooser_get_type
250   (c-name "empathy_account_chooser_get_type")
251   (return-type "GType")
252 )
253
254 (define-function empathy_account_chooser_new
255   (c-name "empathy_account_chooser_new")
256   (is-constructor-of "EmpathyAccountChooser")
257   (return-type "GtkWidget*")
258 )
259
260 (define-method get_account
261   (of-object "EmpathyAccountChooser")
262   (c-name "empathy_account_chooser_get_account")
263   (return-type "McAccount*")
264 )
265
266 (define-method set_account
267   (of-object "EmpathyAccountChooser")
268   (c-name "empathy_account_chooser_set_account")
269   (return-type "gboolean")
270   (parameters
271     '("McAccount*" "account")
272   )
273 )
274
275 (define-method get_has_all_option
276   (of-object "EmpathyAccountChooser")
277   (c-name "empathy_account_chooser_get_has_all_option")
278   (return-type "gboolean")
279 )
280
281 (define-method set_has_all_option
282   (of-object "EmpathyAccountChooser")
283   (c-name "empathy_account_chooser_set_has_all_option")
284   (return-type "none")
285   (parameters
286     '("gboolean" "has_all_option")
287   )
288 )
289
290 (define-method set_filter
291   (of-object "EmpathyAccountChooser")
292   (c-name "empathy_account_chooser_set_filter")
293   (return-type "none")
294   (parameters
295     '("EmpathyAccountChooserFilterFunc" "filter")
296     '("gpointer" "user_data")
297   )
298 )
299
300 (define-function empathy_account_chooser_filter_is_connected
301   (c-name "empathy_account_chooser_filter_is_connected")
302   (return-type "gboolean")
303   (parameters
304     '("McAccount*" "account")
305     '("gpointer" "user_data")
306   )
307 )
308
309
310
311 ;; From empathy-accounts-dialog.h
312
313 (define-function empathy_accounts_dialog_show
314   (c-name "empathy_accounts_dialog_show")
315   (return-type "GtkWidget*")
316   (parameters
317     '("GtkWindow*" "parent")
318   )
319 )
320
321
322
323 ;; From empathy-account-widget.h
324
325 (define-function empathy_account_widget_handle_params
326   (c-name "empathy_account_widget_handle_params")
327   (return-type "none")
328   (parameters
329     '("McAccount*" "account")
330     '("GladeXML*" "glade")
331     '("const-gchar*" "first_widget_name")
332   )
333   (varargs #t)
334 )
335
336 (define-function emapthy_account_widget_add_forget_button
337   (c-name "emapthy_account_widget_add_forget_button")
338   (return-type "none")
339   (parameters
340     '("McAccount*" "account")
341     '("GladeXML*" "glade")
342     '("const-gchar*" "button")
343     '("const-gchar*" "entry")
344   )
345 )
346
347 (define-function empathy_account_widget_generic_new
348   (c-name "empathy_account_widget_generic_new")
349   (is-constructor-of "EmpathyAccountWidgetGeneric")
350   (return-type "GtkWidget*")
351   (parameters
352     '("McAccount*" "account")
353   )
354 )
355
356 (define-function empathy_account_widget_salut_new
357   (c-name "empathy_account_widget_salut_new")
358   (is-constructor-of "EmpathyAccountWidgetSalut")
359   (return-type "GtkWidget*")
360   (parameters
361     '("McAccount*" "account")
362   )
363 )
364
365 (define-function empathy_account_widget_msn_new
366   (c-name "empathy_account_widget_msn_new")
367   (is-constructor-of "EmpathyAccountWidgetMsn")
368   (return-type "GtkWidget*")
369   (parameters
370     '("McAccount*" "account")
371   )
372 )
373
374 (define-function empathy_account_widget_jabber_new
375   (c-name "empathy_account_widget_jabber_new")
376   (is-constructor-of "EmpathyAccountWidgetJabber")
377   (return-type "GtkWidget*")
378   (parameters
379     '("McAccount*" "account")
380   )
381 )
382
383
384
385 ;; From empathy-avatar-chooser.h
386
387 (define-function empathy_avatar_chooser_get_type
388   (c-name "empathy_avatar_chooser_get_type")
389   (return-type "GType")
390 )
391
392 (define-function empathy_avatar_chooser_new
393   (c-name "empathy_avatar_chooser_new")
394   (is-constructor-of "EmpathyAvatarChooser")
395   (return-type "GtkWidget*")
396 )
397
398 (define-method set
399   (of-object "EmpathyAvatarChooser")
400   (c-name "empathy_avatar_chooser_set")
401   (return-type "none")
402   (parameters
403     '("EmpathyAvatar*" "avatar")
404   )
405 )
406
407 (define-method get_image_data
408   (of-object "EmpathyAvatarChooser")
409   (c-name "empathy_avatar_chooser_get_image_data")
410   (return-type "none")
411   (parameters
412     '("const-gchar**" "data")
413     '("gsize*" "data_size")
414     '("const-gchar**" "mime_type")
415   )
416 )
417
418
419
420 ;; From empathy-avatar-image.h
421
422 (define-function empathy_avatar_image_get_type
423   (c-name "empathy_avatar_image_get_type")
424   (return-type "GType")
425 )
426
427 (define-function empathy_avatar_image_new
428   (c-name "empathy_avatar_image_new")
429   (is-constructor-of "EmpathyAvatarImage")
430   (return-type "GtkWidget*")
431 )
432
433 (define-method set
434   (of-object "EmpathyAvatarImage")
435   (c-name "empathy_avatar_image_set")
436   (return-type "none")
437   (parameters
438     '("EmpathyAvatar*" "avatar")
439   )
440 )
441
442
443
444 ;; From empathy-call-window.h
445
446 (define-function empathy_call_window_show
447   (c-name "empathy_call_window_show")
448   (return-type "GtkWidget*")
449   (parameters
450     '("EmpathyTpCall*" "call")
451   )
452 )
453
454
455
456 ;; From empathy-cell-renderer-activatable.h
457
458 (define-function empathy_cell_renderer_activatable_get_type
459   (c-name "empathy_cell_renderer_activatable_get_type")
460   (return-type "GType")
461 )
462
463 (define-function empathy_cell_renderer_activatable_new
464   (c-name "empathy_cell_renderer_activatable_new")
465   (is-constructor-of "EmpathyCellRendererActivatable")
466   (return-type "GtkCellRenderer*")
467 )
468
469
470
471 ;; From empathy-cell-renderer-expander.h
472
473 (define-function empathy_cell_renderer_expander_get_type
474   (c-name "empathy_cell_renderer_expander_get_type")
475   (return-type "GType")
476 )
477
478 (define-function empathy_cell_renderer_expander_new
479   (c-name "empathy_cell_renderer_expander_new")
480   (is-constructor-of "EmpathyCellRendererExpander")
481   (return-type "GtkCellRenderer*")
482 )
483
484
485
486 ;; From empathy-cell-renderer-text.h
487
488 (define-function empathy_cell_renderer_text_get_type
489   (c-name "empathy_cell_renderer_text_get_type")
490   (return-type "GType")
491 )
492
493 (define-function empathy_cell_renderer_text_new
494   (c-name "empathy_cell_renderer_text_new")
495   (is-constructor-of "EmpathyCellRendererText")
496   (return-type "GtkCellRenderer*")
497 )
498
499
500
501 ;; From empathy-chat.h
502
503 (define-function empathy_chat_get_type
504   (c-name "empathy_chat_get_type")
505   (return-type "GType")
506 )
507
508 (define-method get_view
509   (of-object "EmpathyChat")
510   (c-name "empathy_chat_get_view")
511   (return-type "EmpathyChatView*")
512 )
513
514 (define-method get_window
515   (of-object "EmpathyChat")
516   (c-name "empathy_chat_get_window")
517   (return-type "EmpathyChatWindow*")
518 )
519
520 (define-method set_window
521   (of-object "EmpathyChat")
522   (c-name "empathy_chat_set_window")
523   (return-type "none")
524   (parameters
525     '("EmpathyChatWindow*" "window")
526   )
527 )
528
529 (define-method present
530   (of-object "EmpathyChat")
531   (c-name "empathy_chat_present")
532   (return-type "none")
533 )
534
535 (define-method clear
536   (of-object "EmpathyChat")
537   (c-name "empathy_chat_clear")
538   (return-type "none")
539 )
540
541 (define-method scroll_down
542   (of-object "EmpathyChat")
543   (c-name "empathy_chat_scroll_down")
544   (return-type "none")
545 )
546
547 (define-method cut
548   (of-object "EmpathyChat")
549   (c-name "empathy_chat_cut")
550   (return-type "none")
551 )
552
553 (define-method copy
554   (of-object "EmpathyChat")
555   (c-name "empathy_chat_copy")
556   (return-type "none")
557 )
558
559 (define-method paste
560   (of-object "EmpathyChat")
561   (c-name "empathy_chat_paste")
562   (return-type "none")
563 )
564
565 (define-method get_name
566   (of-object "EmpathyChat")
567   (c-name "empathy_chat_get_name")
568   (return-type "const-gchar*")
569 )
570
571 (define-method get_tooltip
572   (of-object "EmpathyChat")
573   (c-name "empathy_chat_get_tooltip")
574   (return-type "gchar*")
575 )
576
577 (define-method get_status_icon_name
578   (of-object "EmpathyChat")
579   (c-name "empathy_chat_get_status_icon_name")
580   (return-type "const-gchar*")
581 )
582
583 (define-method get_widget
584   (of-object "EmpathyChat")
585   (c-name "empathy_chat_get_widget")
586   (return-type "GtkWidget*")
587 )
588
589 (define-method is_group_chat
590   (of-object "EmpathyChat")
591   (c-name "empathy_chat_is_group_chat")
592   (return-type "gboolean")
593 )
594
595 (define-method is_connected
596   (of-object "EmpathyChat")
597   (c-name "empathy_chat_is_connected")
598   (return-type "gboolean")
599 )
600
601 (define-method save_geometry
602   (of-object "EmpathyChat")
603   (c-name "empathy_chat_save_geometry")
604   (return-type "none")
605   (parameters
606     '("gint" "x")
607     '("gint" "y")
608     '("gint" "w")
609     '("gint" "h")
610   )
611 )
612
613 (define-method load_geometry
614   (of-object "EmpathyChat")
615   (c-name "empathy_chat_load_geometry")
616   (return-type "none")
617   (parameters
618     '("gint*" "x")
619     '("gint*" "y")
620     '("gint*" "w")
621     '("gint*" "h")
622   )
623 )
624
625 (define-method set_tp_chat
626   (of-object "EmpathyChat")
627   (c-name "empathy_chat_set_tp_chat")
628   (return-type "none")
629   (parameters
630     '("EmpathyTpChat*" "tp_chat")
631   )
632 )
633
634 (define-method get_id
635   (of-object "EmpathyChat")
636   (c-name "empathy_chat_get_id")
637   (return-type "const-gchar*")
638 )
639
640 (define-method get_account
641   (of-object "EmpathyChat")
642   (c-name "empathy_chat_get_account")
643   (return-type "McAccount*")
644 )
645
646 (define-function empathy_chat_get_is_command
647   (c-name "empathy_chat_get_is_command")
648   (return-type "gboolean")
649   (parameters
650     '("const-gchar*" "str")
651   )
652 )
653
654 (define-method correct_word
655   (of-object "EmpathyChat")
656   (c-name "empathy_chat_correct_word")
657   (return-type "none")
658   (parameters
659     '("GtkTextIter" "start")
660     '("GtkTextIter" "end")
661     '("const-gchar*" "new_word")
662   )
663 )
664
665 (define-method should_play_sound
666   (of-object "EmpathyChat")
667   (c-name "empathy_chat_should_play_sound")
668   (return-type "gboolean")
669 )
670
671 (define-function empathy_chat_should_highlight_nick
672   (c-name "empathy_chat_should_highlight_nick")
673   (return-type "gboolean")
674   (parameters
675     '("EmpathyMessage*" "message")
676   )
677 )
678
679
680
681 ;; From empathy-chatrooms-window.h
682
683 (define-function empathy_chatrooms_window_show
684   (c-name "empathy_chatrooms_window_show")
685   (return-type "none")
686   (parameters
687     '("GtkWindow*" "parent")
688   )
689 )
690
691
692
693 ;; From empathy-chat-view.h
694
695 (define-function empathy_chat_view_get_type
696   (c-name "empathy_chat_view_get_type")
697   (return-type "GType")
698 )
699
700 (define-function empathy_chat_view_new
701   (c-name "empathy_chat_view_new")
702   (is-constructor-of "EmpathyChatView")
703   (return-type "EmpathyChatView*")
704 )
705
706 (define-method append_message
707   (of-object "EmpathyChatView")
708   (c-name "empathy_chat_view_append_message")
709   (return-type "none")
710   (parameters
711     '("EmpathyMessage*" "msg")
712   )
713 )
714
715 (define-method append_event
716   (of-object "EmpathyChatView")
717   (c-name "empathy_chat_view_append_event")
718   (return-type "none")
719   (parameters
720     '("const-gchar*" "str")
721   )
722 )
723
724 (define-method append_button
725   (of-object "EmpathyChatView")
726   (c-name "empathy_chat_view_append_button")
727   (return-type "none")
728   (parameters
729     '("const-gchar*" "message")
730     '("GtkWidget*" "button1")
731     '("GtkWidget*" "button2")
732   )
733 )
734
735 (define-method set_margin
736   (of-object "EmpathyChatView")
737   (c-name "empathy_chat_view_set_margin")
738   (return-type "none")
739   (parameters
740     '("gint" "margin")
741   )
742 )
743
744 (define-method scroll
745   (of-object "EmpathyChatView")
746   (c-name "empathy_chat_view_scroll")
747   (return-type "none")
748   (parameters
749     '("gboolean" "allow_scrolling")
750   )
751 )
752
753 (define-method scroll_down
754   (of-object "EmpathyChatView")
755   (c-name "empathy_chat_view_scroll_down")
756   (return-type "none")
757 )
758
759 (define-method get_selection_bounds
760   (of-object "EmpathyChatView")
761   (c-name "empathy_chat_view_get_selection_bounds")
762   (return-type "gboolean")
763   (parameters
764     '("GtkTextIter*" "start")
765     '("GtkTextIter*" "end")
766   )
767 )
768
769 (define-method clear
770   (of-object "EmpathyChatView")
771   (c-name "empathy_chat_view_clear")
772   (return-type "none")
773 )
774
775 (define-method find_previous
776   (of-object "EmpathyChatView")
777   (c-name "empathy_chat_view_find_previous")
778   (return-type "gboolean")
779   (parameters
780     '("const-gchar*" "search_criteria")
781     '("gboolean" "new_search")
782   )
783 )
784
785 (define-method find_next
786   (of-object "EmpathyChatView")
787   (c-name "empathy_chat_view_find_next")
788   (return-type "gboolean")
789   (parameters
790     '("const-gchar*" "search_criteria")
791     '("gboolean" "new_search")
792   )
793 )
794
795 (define-method find_abilities
796   (of-object "EmpathyChatView")
797   (c-name "empathy_chat_view_find_abilities")
798   (return-type "none")
799   (parameters
800     '("const-gchar*" "search_criteria")
801     '("gboolean*" "can_do_previous")
802     '("gboolean*" "can_do_next")
803   )
804 )
805
806 (define-method highlight
807   (of-object "EmpathyChatView")
808   (c-name "empathy_chat_view_highlight")
809   (return-type "none")
810   (parameters
811     '("const-gchar*" "text")
812   )
813 )
814
815 (define-method copy_clipboard
816   (of-object "EmpathyChatView")
817   (c-name "empathy_chat_view_copy_clipboard")
818   (return-type "none")
819 )
820
821 (define-method get_theme
822   (of-object "EmpathyChatView")
823   (c-name "empathy_chat_view_get_theme")
824   (return-type "EmpathyTheme*")
825 )
826
827 (define-method set_theme
828   (of-object "EmpathyChatView")
829   (c-name "empathy_chat_view_set_theme")
830   (return-type "none")
831   (parameters
832     '("EmpathyTheme*" "theme")
833   )
834 )
835
836 (define-method set_margin
837   (of-object "EmpathyChatView")
838   (c-name "empathy_chat_view_set_margin")
839   (return-type "none")
840   (parameters
841     '("gint" "margin")
842   )
843 )
844
845 (define-function empathy_chat_view_get_smiley_menu
846   (c-name "empathy_chat_view_get_smiley_menu")
847   (return-type "GtkWidget*")
848   (parameters
849     '("GCallback" "callback")
850     '("gpointer" "user_data")
851   )
852 )
853
854 (define-method set_is_group_chat
855   (of-object "EmpathyChatView")
856   (c-name "empathy_chat_view_set_is_group_chat")
857   (return-type "none")
858   (parameters
859     '("gboolean" "is_group_chat")
860   )
861 )
862
863 (define-method get_last_timestamp
864   (of-object "EmpathyChatView")
865   (c-name "empathy_chat_view_get_last_timestamp")
866   (return-type "time_t")
867 )
868
869 (define-method set_last_timestamp
870   (of-object "EmpathyChatView")
871   (c-name "empathy_chat_view_set_last_timestamp")
872   (return-type "none")
873   (parameters
874     '("time_t" "timestamp")
875   )
876 )
877
878 (define-method get_last_block_type
879   (of-object "EmpathyChatView")
880   (c-name "empathy_chat_view_get_last_block_type")
881   (return-type "EmpathyChatViewBlock")
882 )
883
884 (define-method set_last_block_type
885   (of-object "EmpathyChatView")
886   (c-name "empathy_chat_view_set_last_block_type")
887   (return-type "none")
888   (parameters
889     '("EmpathyChatViewBlock" "block_type")
890   )
891 )
892
893 (define-method get_last_contact
894   (of-object "EmpathyChatView")
895   (c-name "empathy_chat_view_get_last_contact")
896   (return-type "EmpathyContact*")
897 )
898
899 (define-method set_last_contact
900   (of-object "EmpathyChatView")
901   (c-name "empathy_chat_view_set_last_contact")
902   (return-type "none")
903   (parameters
904     '("EmpathyContact*" "contact")
905   )
906 )
907
908 (define-function empathy_chat_view_get_avatar_pixbuf_with_cache
909   (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
910   (return-type "GdkPixbuf*")
911   (parameters
912     '("EmpathyContact*" "contact")
913   )
914 )
915
916
917
918 ;; From empathy-chat-window.h
919
920 (define-function empathy_chat_window_get_type
921   (c-name "empathy_chat_window_get_type")
922   (return-type "GType")
923 )
924
925 (define-function empathy_chat_window_get_default
926   (c-name "empathy_chat_window_get_default")
927   (return-type "EmpathyChatWindow*")
928 )
929
930 (define-function empathy_chat_window_new
931   (c-name "empathy_chat_window_new")
932   (is-constructor-of "EmpathyChatWindow")
933   (return-type "EmpathyChatWindow*")
934 )
935
936 (define-method get_dialog
937   (of-object "EmpathyChatWindow")
938   (c-name "empathy_chat_window_get_dialog")
939   (return-type "GtkWidget*")
940 )
941
942 (define-method add_chat
943   (of-object "EmpathyChatWindow")
944   (c-name "empathy_chat_window_add_chat")
945   (return-type "none")
946   (parameters
947     '("EmpathyChat*" "chat")
948   )
949 )
950
951 (define-method remove_chat
952   (of-object "EmpathyChatWindow")
953   (c-name "empathy_chat_window_remove_chat")
954   (return-type "none")
955   (parameters
956     '("EmpathyChat*" "chat")
957   )
958 )
959
960 (define-method move_chat
961   (of-object "EmpathyChatWindow")
962   (c-name "empathy_chat_window_move_chat")
963   (return-type "none")
964   (parameters
965     '("EmpathyChatWindow*" "new_window")
966     '("EmpathyChat*" "chat")
967   )
968 )
969
970 (define-method switch_to_chat
971   (of-object "EmpathyChatWindow")
972   (c-name "empathy_chat_window_switch_to_chat")
973   (return-type "none")
974   (parameters
975     '("EmpathyChat*" "chat")
976   )
977 )
978
979 (define-method has_focus
980   (of-object "EmpathyChatWindow")
981   (c-name "empathy_chat_window_has_focus")
982   (return-type "gboolean")
983 )
984
985 (define-function empathy_chat_window_find_chat
986   (c-name "empathy_chat_window_find_chat")
987   (return-type "EmpathyChat*")
988   (parameters
989     '("McAccount*" "account")
990     '("const-gchar*" "id")
991   )
992 )
993
994
995
996 ;; From empathy-conf.h
997
998 (define-function empathy_conf_get_type
999   (c-name "empathy_conf_get_type")
1000   (return-type "GType")
1001 )
1002
1003 (define-function empathy_conf_get
1004   (c-name "empathy_conf_get")
1005   (return-type "EmpathyConf*")
1006 )
1007
1008 (define-function empathy_conf_shutdown
1009   (c-name "empathy_conf_shutdown")
1010   (return-type "none")
1011 )
1012
1013 (define-method notify_add
1014   (of-object "EmpathyConf")
1015   (c-name "empathy_conf_notify_add")
1016   (return-type "guint")
1017   (parameters
1018     '("const-gchar*" "key")
1019     '("EmpathyConfNotifyFunc" "func")
1020     '("gpointer" "data")
1021   )
1022 )
1023
1024 (define-method notify_remove
1025   (of-object "EmpathyConf")
1026   (c-name "empathy_conf_notify_remove")
1027   (return-type "gboolean")
1028   (parameters
1029     '("guint" "id")
1030   )
1031 )
1032
1033 (define-method set_int
1034   (of-object "EmpathyConf")
1035   (c-name "empathy_conf_set_int")
1036   (return-type "gboolean")
1037   (parameters
1038     '("const-gchar*" "key")
1039     '("gint" "value")
1040   )
1041 )
1042
1043 (define-method get_int
1044   (of-object "EmpathyConf")
1045   (c-name "empathy_conf_get_int")
1046   (return-type "gboolean")
1047   (parameters
1048     '("const-gchar*" "key")
1049     '("gint*" "value")
1050   )
1051 )
1052
1053 (define-method set_bool
1054   (of-object "EmpathyConf")
1055   (c-name "empathy_conf_set_bool")
1056   (return-type "gboolean")
1057   (parameters
1058     '("const-gchar*" "key")
1059     '("gboolean" "value")
1060   )
1061 )
1062
1063 (define-method get_bool
1064   (of-object "EmpathyConf")
1065   (c-name "empathy_conf_get_bool")
1066   (return-type "gboolean")
1067   (parameters
1068     '("const-gchar*" "key")
1069     '("gboolean*" "value")
1070   )
1071 )
1072
1073 (define-method set_string
1074   (of-object "EmpathyConf")
1075   (c-name "empathy_conf_set_string")
1076   (return-type "gboolean")
1077   (parameters
1078     '("const-gchar*" "key")
1079     '("const-gchar*" "value")
1080   )
1081 )
1082
1083 (define-method get_string
1084   (of-object "EmpathyConf")
1085   (c-name "empathy_conf_get_string")
1086   (return-type "gboolean")
1087   (parameters
1088     '("const-gchar*" "key")
1089     '("gchar**" "value")
1090   )
1091 )
1092
1093 (define-method set_string_list
1094   (of-object "EmpathyConf")
1095   (c-name "empathy_conf_set_string_list")
1096   (return-type "gboolean")
1097   (parameters
1098     '("const-gchar*" "key")
1099     '("GSList*" "value")
1100   )
1101 )
1102
1103 (define-method get_string_list
1104   (of-object "EmpathyConf")
1105   (c-name "empathy_conf_get_string_list")
1106   (return-type "gboolean")
1107   (parameters
1108     '("const-gchar*" "key")
1109     '("GSList**" "value")
1110   )
1111 )
1112
1113
1114
1115 ;; From empathy-contact-dialogs.h
1116
1117 (define-function empathy_subscription_dialog_show
1118   (c-name "empathy_subscription_dialog_show")
1119   (return-type "none")
1120   (parameters
1121     '("EmpathyContact*" "contact")
1122     '("GtkWindow*" "parent")
1123   )
1124 )
1125
1126 (define-method information_dialog_show
1127   (of-object "EmpathyContact")
1128   (c-name "empathy_contact_information_dialog_show")
1129   (return-type "none")
1130   (parameters
1131     '("GtkWindow*" "parent")
1132     '("gboolean" "edit")
1133     '("gboolean" "is_user")
1134   )
1135 )
1136
1137 (define-function empathy_new_contact_dialog_show
1138   (c-name "empathy_new_contact_dialog_show")
1139   (return-type "none")
1140   (parameters
1141     '("GtkWindow*" "parent")
1142   )
1143 )
1144
1145
1146
1147 ;; From empathy-contact-list-store.h
1148
1149 (define-function empathy_contact_list_store_get_type
1150   (c-name "empathy_contact_list_store_get_type")
1151   (return-type "GType")
1152 )
1153
1154 (define-method store_new
1155   (of-object "EmpathyContactList")
1156   (c-name "empathy_contact_list_store_new")
1157   (return-type "EmpathyContactListStore*")
1158 )
1159
1160 (define-method get_list_iface
1161   (of-object "EmpathyContactListStore")
1162   (c-name "empathy_contact_list_store_get_list_iface")
1163   (return-type "EmpathyContactList*")
1164 )
1165
1166 (define-method get_show_offline
1167   (of-object "EmpathyContactListStore")
1168   (c-name "empathy_contact_list_store_get_show_offline")
1169   (return-type "gboolean")
1170 )
1171
1172 (define-method set_show_offline
1173   (of-object "EmpathyContactListStore")
1174   (c-name "empathy_contact_list_store_set_show_offline")
1175   (return-type "none")
1176   (parameters
1177     '("gboolean" "show_offline")
1178   )
1179 )
1180
1181 (define-method get_show_avatars
1182   (of-object "EmpathyContactListStore")
1183   (c-name "empathy_contact_list_store_get_show_avatars")
1184   (return-type "gboolean")
1185 )
1186
1187 (define-method set_show_avatars
1188   (of-object "EmpathyContactListStore")
1189   (c-name "empathy_contact_list_store_set_show_avatars")
1190   (return-type "none")
1191   (parameters
1192     '("gboolean" "show_avatars")
1193   )
1194 )
1195
1196 (define-method get_show_groups
1197   (of-object "EmpathyContactListStore")
1198   (c-name "empathy_contact_list_store_get_show_groups")
1199   (return-type "gboolean")
1200 )
1201
1202 (define-method set_show_groups
1203   (of-object "EmpathyContactListStore")
1204   (c-name "empathy_contact_list_store_set_show_groups")
1205   (return-type "none")
1206   (parameters
1207     '("gboolean" "show_groups")
1208   )
1209 )
1210
1211 (define-method get_is_compact
1212   (of-object "EmpathyContactListStore")
1213   (c-name "empathy_contact_list_store_get_is_compact")
1214   (return-type "gboolean")
1215 )
1216
1217 (define-method set_is_compact
1218   (of-object "EmpathyContactListStore")
1219   (c-name "empathy_contact_list_store_set_is_compact")
1220   (return-type "none")
1221   (parameters
1222     '("gboolean" "is_compact")
1223   )
1224 )
1225
1226 (define-method get_sort_criterium
1227   (of-object "EmpathyContactListStore")
1228   (c-name "empathy_contact_list_store_get_sort_criterium")
1229   (return-type "EmpathyContactListStoreSort")
1230 )
1231
1232 (define-method set_sort_criterium
1233   (of-object "EmpathyContactListStore")
1234   (c-name "empathy_contact_list_store_set_sort_criterium")
1235   (return-type "none")
1236   (parameters
1237     '("EmpathyContactListStoreSort" "sort_criterium")
1238   )
1239 )
1240
1241 (define-function empathy_contact_list_store_row_separator_func
1242   (c-name "empathy_contact_list_store_row_separator_func")
1243   (return-type "gboolean")
1244   (parameters
1245     '("GtkTreeModel*" "model")
1246     '("GtkTreeIter*" "iter")
1247     '("gpointer" "data")
1248   )
1249 )
1250
1251 (define-function empathy_contact_list_store_get_parent_group
1252   (c-name "empathy_contact_list_store_get_parent_group")
1253   (return-type "gchar*")
1254   (parameters
1255     '("GtkTreeModel*" "model")
1256     '("GtkTreePath*" "path")
1257     '("gboolean*" "path_is_group")
1258   )
1259 )
1260
1261 (define-function empathy_contact_list_store_search_equal_func
1262   (c-name "empathy_contact_list_store_search_equal_func")
1263   (return-type "gboolean")
1264   (parameters
1265     '("GtkTreeModel*" "model")
1266     '("gint" "column")
1267     '("const-gchar*" "key")
1268     '("GtkTreeIter*" "iter")
1269     '("gpointer" "search_data")
1270   )
1271 )
1272
1273
1274
1275 ;; From empathy-contact-list-view.h
1276
1277 (define-function empathy_contact_list_view_get_type
1278   (c-name "empathy_contact_list_view_get_type")
1279   (return-type "GType")
1280 )
1281
1282 (define-function empathy_contact_list_view_new
1283   (c-name "empathy_contact_list_view_new")
1284   (is-constructor-of "EmpathyContactListView")
1285   (return-type "EmpathyContactListView*")
1286   (parameters
1287     '("EmpathyContactListStore*" "store")
1288     '("EmpathyContactListFeatures" "features")
1289   )
1290 )
1291
1292 (define-method set_features
1293   (of-object "EmpathyContactListView")
1294   (c-name "empathy_contact_list_view_set_features")
1295   (return-type "none")
1296   (parameters
1297     '("EmpathyContactListFeatures" "features")
1298   )
1299 )
1300
1301 (define-method get_features
1302   (of-object "EmpathyContactListView")
1303   (c-name "empathy_contact_list_view_get_features")
1304   (return-type "EmpathyContactListFeatures")
1305 )
1306
1307 (define-method get_selected
1308   (of-object "EmpathyContactListView")
1309   (c-name "empathy_contact_list_view_get_selected")
1310   (return-type "EmpathyContact*")
1311 )
1312
1313 (define-method get_selected_group
1314   (of-object "EmpathyContactListView")
1315   (c-name "empathy_contact_list_view_get_selected_group")
1316   (return-type "gchar*")
1317 )
1318
1319 (define-method get_contact_menu
1320   (of-object "EmpathyContactListView")
1321   (c-name "empathy_contact_list_view_get_contact_menu")
1322   (return-type "GtkWidget*")
1323   (parameters
1324     '("EmpathyContact*" "contact")
1325   )
1326 )
1327
1328 (define-method get_group_menu
1329   (of-object "EmpathyContactListView")
1330   (c-name "empathy_contact_list_view_get_group_menu")
1331   (return-type "GtkWidget*")
1332 )
1333
1334
1335
1336 ;; From empathy-contact-widget.h
1337
1338 (define-method widget_new
1339   (of-object "EmpathyContact")
1340   (c-name "empathy_contact_widget_new")
1341   (return-type "GtkWidget*")
1342   (parameters
1343     '("EmpathyContactWidgetFlags" "flags")
1344   )
1345 )
1346
1347 (define-function empathy_contact_widget_get_contact
1348   (c-name "empathy_contact_widget_get_contact")
1349   (return-type "EmpathyContact*")
1350   (parameters
1351     '("GtkWidget*" "widget")
1352   )
1353 )
1354
1355 (define-function empathy_contact_widget_set_contact
1356   (c-name "empathy_contact_widget_set_contact")
1357   (return-type "none")
1358   (parameters
1359     '("GtkWidget*" "widget")
1360     '("EmpathyContact*" "contact")
1361   )
1362 )
1363
1364 (define-function empathy_contact_widget_set_account_filter
1365   (c-name "empathy_contact_widget_set_account_filter")
1366   (return-type "none")
1367   (parameters
1368     '("GtkWidget*" "widget")
1369     '("EmpathyAccountChooserFilterFunc" "filter")
1370     '("gpointer" "user_data")
1371   )
1372 )
1373
1374
1375
1376 ;; From empathy-geometry.h
1377
1378 (define-function empathy_geometry_save
1379   (c-name "empathy_geometry_save")
1380   (return-type "none")
1381   (parameters
1382     '("const-gchar*" "name")
1383     '("gint" "x")
1384     '("gint" "y")
1385     '("gint" "w")
1386     '("gint" "h")
1387   )
1388 )
1389
1390 (define-function empathy_geometry_load
1391   (c-name "empathy_geometry_load")
1392   (return-type "none")
1393   (parameters
1394     '("const-gchar*" "name")
1395     '("gint*" "x")
1396     '("gint*" "y")
1397     '("gint*" "w")
1398     '("gint*" "h")
1399   )
1400 )
1401
1402
1403
1404 ;; From empathy-group-chat.h
1405
1406 (define-function empathy_group_chat_get_type
1407   (c-name "empathy_group_chat_get_type")
1408   (return-type "GType")
1409 )
1410
1411 (define-function empathy_group_chat_new
1412   (c-name "empathy_group_chat_new")
1413   (is-constructor-of "EmpathyGroupChat")
1414   (return-type "EmpathyGroupChat*")
1415   (parameters
1416     '("EmpathyTpChatroom*" "tp_chat")
1417   )
1418 )
1419
1420 (define-method get_show_contacts
1421   (of-object "EmpathyGroupChat")
1422   (c-name "empathy_group_chat_get_show_contacts")
1423   (return-type "gboolean")
1424 )
1425
1426 (define-method set_show_contacts
1427   (of-object "EmpathyGroupChat")
1428   (c-name "empathy_group_chat_set_show_contacts")
1429   (return-type "none")
1430   (parameters
1431     '("gboolean" "show")
1432   )
1433 )
1434
1435 (define-method set_topic
1436   (of-object "EmpathyGroupChat")
1437   (c-name "empathy_group_chat_set_topic")
1438   (return-type "none")
1439 )
1440
1441
1442
1443 ;; From empathy-images.h
1444
1445
1446
1447 ;; From empathy-log-window.h
1448
1449 (define-function empathy_log_window_show
1450   (c-name "empathy_log_window_show")
1451   (return-type "GtkWidget*")
1452   (parameters
1453     '("McAccount*" "account")
1454     '("const-gchar*" "chat_id")
1455     '("gboolean" "chatroom")
1456     '("GtkWindow*" "parent")
1457   )
1458 )
1459
1460
1461
1462 ;; From empathy-main-window.h
1463
1464 (define-function empathy_main_window_show
1465   (c-name "empathy_main_window_show")
1466   (return-type "GtkWidget*")
1467 )
1468
1469
1470
1471 ;; From empathy-new-chatroom-dialog.h
1472
1473 (define-function empathy_new_chatroom_dialog_show
1474   (c-name "empathy_new_chatroom_dialog_show")
1475   (return-type "none")
1476   (parameters
1477     '("GtkWindow*" "parent")
1478   )
1479 )
1480
1481
1482
1483 ;; From empathy-new-message-dialog.h
1484
1485 (define-function empathy_new_message_dialog_show
1486   (c-name "empathy_new_message_dialog_show")
1487   (return-type "GtkWidget*")
1488   (parameters
1489     '("GtkWindow*" "parent")
1490   )
1491 )
1492
1493
1494
1495 ;; From empathy-preferences.h
1496
1497 (define-function empathy_preferences_show
1498   (c-name "empathy_preferences_show")
1499   (return-type "GtkWidget*")
1500   (parameters
1501     '("GtkWindow*" "parent")
1502   )
1503 )
1504
1505
1506
1507 ;; From empathy-presence-chooser.h
1508
1509 (define-function empathy_presence_chooser_get_type
1510   (c-name "empathy_presence_chooser_get_type")
1511   (return-type "GType")
1512 )
1513
1514 (define-function empathy_presence_chooser_new
1515   (c-name "empathy_presence_chooser_new")
1516   (is-constructor-of "EmpathyPresenceChooser")
1517   (return-type "GtkWidget*")
1518 )
1519
1520 (define-function empathy_presence_chooser_create_menu
1521   (c-name "empathy_presence_chooser_create_menu")
1522   (return-type "GtkWidget*")
1523 )
1524
1525
1526
1527 ;; From empathy-private-chat.h
1528
1529 (define-function empathy_private_chat_get_type
1530   (c-name "empathy_private_chat_get_type")
1531   (return-type "GType")
1532 )
1533
1534 (define-function empathy_private_chat_new
1535   (c-name "empathy_private_chat_new")
1536   (is-constructor-of "EmpathyPrivateChat")
1537   (return-type "EmpathyPrivateChat*")
1538   (parameters
1539     '("EmpathyTpChat*" "tp_chat")
1540   )
1541 )
1542
1543 (define-method get_contact
1544   (of-object "EmpathyPrivateChat")
1545   (c-name "empathy_private_chat_get_contact")
1546   (return-type "EmpathyContact*")
1547 )
1548
1549
1550
1551 ;; From empathy-profile-chooser.h
1552
1553 (define-function empathy_profile_chooser_new
1554   (c-name "empathy_profile_chooser_new")
1555   (is-constructor-of "EmpathyProfileChooser")
1556   (return-type "GtkWidget*")
1557 )
1558
1559 (define-function empathy_profile_chooser_get_selected
1560   (c-name "empathy_profile_chooser_get_selected")
1561   (return-type "McProfile*")
1562   (parameters
1563     '("GtkWidget*" "widget")
1564   )
1565 )
1566
1567 (define-function empathy_profile_chooser_n_profiles
1568   (c-name "empathy_profile_chooser_n_profiles")
1569   (return-type "gint")
1570   (parameters
1571     '("GtkWidget*" "widget")
1572   )
1573 )
1574
1575
1576
1577 ;; From empathy-smiley-manager.h
1578
1579 (define-function empathy_smiley_manager_get_type
1580   (c-name "empathy_smiley_manager_get_type")
1581   (return-type "GType")
1582 )
1583
1584 (define-function empathy_smiley_manager_new
1585   (c-name "empathy_smiley_manager_new")
1586   (is-constructor-of "EmpathySmileyManager")
1587   (return-type "EmpathySmileyManager*")
1588 )
1589
1590 (define-method load
1591   (of-object "EmpathySmileyManager")
1592   (c-name "empathy_smiley_manager_load")
1593   (return-type "none")
1594 )
1595
1596 (define-method add
1597   (of-object "EmpathySmileyManager")
1598   (c-name "empathy_smiley_manager_add")
1599   (return-type "none")
1600   (parameters
1601     '("const-gchar*" "icon_name")
1602     '("const-gchar*" "first_str")
1603   )
1604   (varargs #t)
1605 )
1606
1607 (define-method add_from_pixbuf
1608   (of-object "EmpathySmileyManager")
1609   (c-name "empathy_smiley_manager_add_from_pixbuf")
1610   (return-type "none")
1611   (parameters
1612     '("GdkPixbuf*" "smiley")
1613     '("const-gchar*" "first_str")
1614   )
1615   (varargs #t)
1616 )
1617
1618 (define-method get_all
1619   (of-object "EmpathySmileyManager")
1620   (c-name "empathy_smiley_manager_get_all")
1621   (return-type "GSList*")
1622 )
1623
1624 (define-method parse
1625   (of-object "EmpathySmileyManager")
1626   (c-name "empathy_smiley_manager_parse")
1627   (return-type "GSList*")
1628   (parameters
1629     '("const-gchar*" "text")
1630   )
1631 )
1632
1633 (define-method free
1634   (of-object "EmpathySmiley")
1635   (c-name "empathy_smiley_free")
1636   (return-type "none")
1637 )
1638
1639
1640
1641 ;; From empathy-spell-dialog.h
1642
1643 (define-function empathy_spell_dialog_show
1644   (c-name "empathy_spell_dialog_show")
1645   (return-type "none")
1646   (parameters
1647     '("EmpathyChat*" "chat")
1648     '("GtkTextIter" "start")
1649     '("GtkTextIter" "end")
1650     '("const-gchar*" "word")
1651   )
1652 )
1653
1654
1655
1656 ;; From empathy-spell.h
1657
1658 (define-function empathy_spell_supported
1659   (c-name "empathy_spell_supported")
1660   (return-type "gboolean")
1661 )
1662
1663 (define-function empathy_spell_get_language_name
1664   (c-name "empathy_spell_get_language_name")
1665   (return-type "const-gchar*")
1666   (parameters
1667     '("const-gchar*" "code")
1668   )
1669 )
1670
1671 (define-function empathy_spell_get_language_codes
1672   (c-name "empathy_spell_get_language_codes")
1673   (return-type "GList*")
1674 )
1675
1676 (define-function empathy_spell_free_language_codes
1677   (c-name "empathy_spell_free_language_codes")
1678   (return-type "none")
1679   (parameters
1680     '("GList*" "codes")
1681   )
1682 )
1683
1684 (define-function empathy_spell_check
1685   (c-name "empathy_spell_check")
1686   (return-type "gboolean")
1687   (parameters
1688     '("const-gchar*" "word")
1689   )
1690 )
1691
1692 (define-function empathy_spell_get_suggestions
1693   (c-name "empathy_spell_get_suggestions")
1694   (return-type "GList*")
1695   (parameters
1696     '("const-gchar*" "word")
1697   )
1698 )
1699
1700 (define-function empathy_spell_free_suggestions
1701   (c-name "empathy_spell_free_suggestions")
1702   (return-type "none")
1703   (parameters
1704     '("GList*" "suggestions")
1705   )
1706 )
1707
1708
1709
1710 ;; From empathy-status-icon.h
1711
1712 (define-function empathy_status_icon_get_type
1713   (c-name "empathy_status_icon_get_type")
1714   (return-type "GType")
1715 )
1716
1717 (define-function empathy_status_icon_new
1718   (c-name "empathy_status_icon_new")
1719   (is-constructor-of "EmpathyStatusIcon")
1720   (return-type "EmpathyStatusIcon*")
1721   (parameters
1722     '("GtkWindow*" "window")
1723   )
1724 )
1725
1726
1727
1728 ;; From empathy-theme-boxes.h
1729
1730 (define-function empathy_theme_boxes_get_type
1731   (c-name "empathy_theme_boxes_get_type")
1732   (return-type "GType")
1733 )
1734
1735
1736
1737 ;; From empathy-theme.h
1738
1739 (define-function empathy_theme_get_type
1740   (c-name "empathy_theme_get_type")
1741   (return-type "GType")
1742 )
1743
1744 (define-method update_view
1745   (of-object "EmpathyTheme")
1746   (c-name "empathy_theme_update_view")
1747   (return-type "none")
1748   (parameters
1749     '("EmpathyChatView*" "view")
1750   )
1751 )
1752
1753 (define-method append_message
1754   (of-object "EmpathyTheme")
1755   (c-name "empathy_theme_append_message")
1756   (return-type "none")
1757   (parameters
1758     '("EmpathyChatView*" "view")
1759     '("EmpathyMessage*" "msg")
1760   )
1761 )
1762
1763 (define-method append_text
1764   (of-object "EmpathyTheme")
1765   (c-name "empathy_theme_append_text")
1766   (return-type "none")
1767   (parameters
1768     '("EmpathyChatView*" "view")
1769     '("const-gchar*" "body")
1770     '("const-gchar*" "tag")
1771     '("const-gchar*" "link_tag")
1772   )
1773 )
1774
1775 (define-method append_spacing
1776   (of-object "EmpathyTheme")
1777   (c-name "empathy_theme_append_spacing")
1778   (return-type "none")
1779   (parameters
1780     '("EmpathyChatView*" "view")
1781   )
1782 )
1783
1784 (define-method append_event
1785   (of-object "EmpathyTheme")
1786   (c-name "empathy_theme_append_event")
1787   (return-type "none")
1788   (parameters
1789     '("EmpathyChatView*" "view")
1790     '("const-gchar*" "str")
1791   )
1792 )
1793
1794 (define-method append_timestamp
1795   (of-object "EmpathyTheme")
1796   (c-name "empathy_theme_append_timestamp")
1797   (return-type "none")
1798   (parameters
1799     '("EmpathyChatView*" "view")
1800     '("EmpathyMessage*" "message")
1801     '("gboolean" "show_date")
1802     '("gboolean" "show_time")
1803   )
1804 )
1805
1806 (define-method maybe_append_date_and_time
1807   (of-object "EmpathyTheme")
1808   (c-name "empathy_theme_maybe_append_date_and_time")
1809   (return-type "none")
1810   (parameters
1811     '("EmpathyChatView*" "view")
1812     '("EmpathyMessage*" "message")
1813   )
1814 )
1815
1816 (define-method get_show_avatars
1817   (of-object "EmpathyTheme")
1818   (c-name "empathy_theme_get_show_avatars")
1819   (return-type "gboolean")
1820 )
1821
1822 (define-method set_show_avatars
1823   (of-object "EmpathyTheme")
1824   (c-name "empathy_theme_set_show_avatars")
1825   (return-type "none")
1826   (parameters
1827     '("gboolean" "show")
1828   )
1829 )
1830
1831
1832
1833 ;; From empathy-theme-irc.h
1834
1835 (define-function empathy_theme_irc_get_type
1836   (c-name "empathy_theme_irc_get_type")
1837   (return-type "GType")
1838 )
1839
1840
1841
1842 ;; From empathy-theme-manager.h
1843
1844 (define-function empathy_theme_manager_get_type
1845   (c-name "empathy_theme_manager_get_type")
1846   (return-type "GType")
1847 )
1848
1849 (define-function empathy_theme_manager_get
1850   (c-name "empathy_theme_manager_get")
1851   (return-type "EmpathyThemeManager*")
1852 )
1853
1854 (define-function empathy_theme_manager_get_themes
1855   (c-name "empathy_theme_manager_get_themes")
1856   (return-type "const-gchar**")
1857 )
1858
1859 (define-method apply
1860   (of-object "EmpathyThemeManager")
1861   (c-name "empathy_theme_manager_apply")
1862   (return-type "none")
1863   (parameters
1864     '("EmpathyChatView*" "view")
1865     '("const-gchar*" "theme")
1866   )
1867 )
1868
1869 (define-method apply_saved
1870   (of-object "EmpathyThemeManager")
1871   (c-name "empathy_theme_manager_apply_saved")
1872   (return-type "none")
1873   (parameters
1874     '("EmpathyChatView*" "view")
1875   )
1876 )
1877
1878
1879
1880 ;; From empathy-ui-utils.h
1881
1882 (define-function empathy_glade_get_file_simple
1883   (c-name "empathy_glade_get_file_simple")
1884   (return-type "none")
1885   (parameters
1886     '("const-gchar*" "filename")
1887     '("const-gchar*" "root")
1888     '("const-gchar*" "domain")
1889     '("const-gchar*" "first_required_widget")
1890   )
1891   (varargs #t)
1892 )
1893
1894 (define-function empathy_glade_get_file
1895   (c-name "empathy_glade_get_file")
1896   (return-type "GladeXML*")
1897   (parameters
1898     '("const-gchar*" "filename")
1899     '("const-gchar*" "root")
1900     '("const-gchar*" "domain")
1901     '("const-gchar*" "first_required_widget")
1902   )
1903   (varargs #t)
1904 )
1905
1906 (define-function empathy_glade_connect
1907   (c-name "empathy_glade_connect")
1908   (return-type "none")
1909   (parameters
1910     '("GladeXML*" "gui")
1911     '("gpointer" "user_data")
1912     '("gchar*" "first_widget")
1913   )
1914   (varargs #t)
1915 )
1916
1917 (define-function empathy_glade_setup_size_group
1918   (c-name "empathy_glade_setup_size_group")
1919   (return-type "none")
1920   (parameters
1921     '("GladeXML*" "gui")
1922     '("GtkSizeGroupMode" "mode")
1923     '("gchar*" "first_widget")
1924   )
1925   (varargs #t)
1926 )
1927
1928 (define-function empathy_icon_name_from_account
1929   (c-name "empathy_icon_name_from_account")
1930   (return-type "const-gchar*")
1931   (parameters
1932     '("McAccount*" "account")
1933   )
1934 )
1935
1936 (define-function empathy_icon_name_for_presence
1937   (c-name "empathy_icon_name_for_presence")
1938   (return-type "const-gchar*")
1939   (parameters
1940     '("McPresence" "presence")
1941   )
1942 )
1943
1944 (define-function empathy_icon_name_for_contact
1945   (c-name "empathy_icon_name_for_contact")
1946   (return-type "const-gchar*")
1947   (parameters
1948     '("EmpathyContact*" "contact")
1949   )
1950 )
1951
1952 (define-function empathy_pixbuf_from_data
1953   (c-name "empathy_pixbuf_from_data")
1954   (return-type "GdkPixbuf*")
1955   (parameters
1956     '("gchar*" "data")
1957     '("gsize" "data_size")
1958   )
1959 )
1960
1961 (define-function empathy_pixbuf_from_avatar_scaled
1962   (c-name "empathy_pixbuf_from_avatar_scaled")
1963   (return-type "GdkPixbuf*")
1964   (parameters
1965     '("EmpathyAvatar*" "avatar")
1966     '("gint" "width")
1967     '("gint" "height")
1968   )
1969 )
1970
1971 (define-function empathy_pixbuf_avatar_from_contact_scaled
1972   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1973   (return-type "GdkPixbuf*")
1974   (parameters
1975     '("EmpathyContact*" "contact")
1976     '("gint" "width")
1977     '("gint" "height")
1978   )
1979 )
1980
1981 (define-function empathy_pixbuf_scale_down_if_necessary
1982   (c-name "empathy_pixbuf_scale_down_if_necessary")
1983   (return-type "GdkPixbuf*")
1984   (parameters
1985     '("GdkPixbuf*" "pixbuf")
1986     '("gint" "max_size")
1987   )
1988 )
1989
1990 (define-function empathy_pixbuf_from_icon_name
1991   (c-name "empathy_pixbuf_from_icon_name")
1992   (return-type "GdkPixbuf*")
1993   (parameters
1994     '("const-gchar*" "icon_name")
1995     '("GtkIconSize" "icon_size")
1996   )
1997 )
1998
1999 (define-function empathy_text_iter_forward_search
2000   (c-name "empathy_text_iter_forward_search")
2001   (return-type "gboolean")
2002   (parameters
2003     '("const-GtkTextIter*" "iter")
2004     '("const-gchar*" "str")
2005     '("GtkTextIter*" "match_start")
2006     '("GtkTextIter*" "match_end")
2007     '("const-GtkTextIter*" "limit")
2008   )
2009 )
2010
2011 (define-function empathy_text_iter_backward_search
2012   (c-name "empathy_text_iter_backward_search")
2013   (return-type "gboolean")
2014   (parameters
2015     '("const-GtkTextIter*" "iter")
2016     '("const-gchar*" "str")
2017     '("GtkTextIter*" "match_start")
2018     '("GtkTextIter*" "match_end")
2019     '("const-GtkTextIter*" "limit")
2020   )
2021 )
2022
2023 (define-function empathy_window_get_is_visible
2024   (c-name "empathy_window_get_is_visible")
2025   (return-type "gboolean")
2026   (parameters
2027     '("GtkWindow*" "window")
2028   )
2029 )
2030
2031 (define-function empathy_window_present
2032   (c-name "empathy_window_present")
2033   (return-type "none")
2034   (parameters
2035     '("GtkWindow*" "window")
2036     '("gboolean" "steal_focus")
2037   )
2038 )
2039
2040 (define-function empathy_window_iconify
2041   (c-name "empathy_window_iconify")
2042   (return-type "none")
2043   (parameters
2044     '("GtkWindow*" "window")
2045     '("GtkStatusIcon*" "status_icon")
2046   )
2047 )
2048
2049 (define-function empathy_get_toplevel_window
2050   (c-name "empathy_get_toplevel_window")
2051   (return-type "GtkWindow*")
2052   (parameters
2053     '("GtkWidget*" "widget")
2054   )
2055 )
2056
2057 (define-function empathy_url_show
2058   (c-name "empathy_url_show")
2059   (return-type "none")
2060   (parameters
2061     '("const-char*" "url")
2062   )
2063 )
2064
2065 (define-function empathy_toggle_button_set_state_quietly
2066   (c-name "empathy_toggle_button_set_state_quietly")
2067   (return-type "none")
2068   (parameters
2069     '("GtkWidget*" "widget")
2070     '("GCallback" "callback")
2071     '("gpointer" "user_data")
2072     '("gboolean" "active")
2073   )
2074 )
2075
2076 (define-function empathy_link_button_new
2077   (c-name "empathy_link_button_new")
2078   (is-constructor-of "EmpathyLinkButton")
2079   (return-type "GtkWidget*")
2080   (parameters
2081     '("const-gchar*" "url")
2082     '("const-gchar*" "title")
2083   )
2084 )
2085
2086 (define-function empathy_text_buffer_tag_set
2087   (c-name "empathy_text_buffer_tag_set")
2088   (return-type "GtkTextTag*")
2089   (parameters
2090     '("GtkTextBuffer*" "buffer")
2091     '("const-gchar*" "tag_name")
2092     '("const-gchar*" "first_property_name")
2093   )
2094   (varargs #t)
2095 )
2096