]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
0ba5ecbc1e292a66489ad4b7b55232b83fd5601f
[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 empathy_account_widget_add_forget_button
337   (c-name "empathy_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 (define-function empathy_account_widget_icq_new
384   (c-name "empathy_account_widget_icq_new")
385   (is-constructor-of "EmpathyAccountWidgetIcq")
386   (return-type "GtkWidget*")
387   (parameters
388     '("McAccount*" "account")
389   )
390 )
391
392 (define-function empathy_account_widget_yahoo_new
393   (c-name "empathy_account_widget_yahoo_new")
394   (is-constructor-of "EmpathyAccountWidgetYahoo")
395   (return-type "GtkWidget*")
396   (parameters
397     '("McAccount*" "account")
398   )
399 )
400
401
402
403 ;; From empathy-account-widget-irc.h
404
405 (define-function empathy_account_widget_irc_new
406   (c-name "empathy_account_widget_irc_new")
407   (is-constructor-of "EmpathyAccountWidgetIrc")
408   (return-type "GtkWidget*")
409   (parameters
410     '("McAccount*" "account")
411   )
412 )
413
414
415
416 ;; From empathy-avatar-chooser.h
417
418 (define-function empathy_avatar_chooser_get_type
419   (c-name "empathy_avatar_chooser_get_type")
420   (return-type "GType")
421 )
422
423 (define-function empathy_avatar_chooser_new
424   (c-name "empathy_avatar_chooser_new")
425   (is-constructor-of "EmpathyAvatarChooser")
426   (return-type "GtkWidget*")
427 )
428
429 (define-method set
430   (of-object "EmpathyAvatarChooser")
431   (c-name "empathy_avatar_chooser_set")
432   (return-type "none")
433   (parameters
434     '("EmpathyAvatar*" "avatar")
435   )
436 )
437
438 (define-method get_image_data
439   (of-object "EmpathyAvatarChooser")
440   (c-name "empathy_avatar_chooser_get_image_data")
441   (return-type "none")
442   (parameters
443     '("const-gchar**" "data")
444     '("gsize*" "data_size")
445     '("const-gchar**" "mime_type")
446   )
447 )
448
449
450
451 ;; From empathy-avatar-image.h
452
453 (define-function empathy_avatar_image_get_type
454   (c-name "empathy_avatar_image_get_type")
455   (return-type "GType")
456 )
457
458 (define-function empathy_avatar_image_new
459   (c-name "empathy_avatar_image_new")
460   (is-constructor-of "EmpathyAvatarImage")
461   (return-type "GtkWidget*")
462 )
463
464 (define-method set
465   (of-object "EmpathyAvatarImage")
466   (c-name "empathy_avatar_image_set")
467   (return-type "none")
468   (parameters
469     '("EmpathyAvatar*" "avatar")
470   )
471 )
472
473
474
475 ;; From empathy-call-window.h
476
477 (define-function empathy_call_window_new
478   (c-name "empathy_call_window_new")
479   (is-constructor-of "EmpathyCallWindow")
480   (return-type "GtkWidget*")
481   (parameters
482     '("EmpathyTpCall*" "call")
483   )
484 )
485
486
487
488 ;; From empathy-cell-renderer-activatable.h
489
490 (define-function empathy_cell_renderer_activatable_get_type
491   (c-name "empathy_cell_renderer_activatable_get_type")
492   (return-type "GType")
493 )
494
495 (define-function empathy_cell_renderer_activatable_new
496   (c-name "empathy_cell_renderer_activatable_new")
497   (is-constructor-of "EmpathyCellRendererActivatable")
498   (return-type "GtkCellRenderer*")
499 )
500
501
502
503 ;; From empathy-cell-renderer-expander.h
504
505 (define-function empathy_cell_renderer_expander_get_type
506   (c-name "empathy_cell_renderer_expander_get_type")
507   (return-type "GType")
508 )
509
510 (define-function empathy_cell_renderer_expander_new
511   (c-name "empathy_cell_renderer_expander_new")
512   (is-constructor-of "EmpathyCellRendererExpander")
513   (return-type "GtkCellRenderer*")
514 )
515
516
517
518 ;; From empathy-cell-renderer-text.h
519
520 (define-function empathy_cell_renderer_text_get_type
521   (c-name "empathy_cell_renderer_text_get_type")
522   (return-type "GType")
523 )
524
525 (define-function empathy_cell_renderer_text_new
526   (c-name "empathy_cell_renderer_text_new")
527   (is-constructor-of "EmpathyCellRendererText")
528   (return-type "GtkCellRenderer*")
529 )
530
531
532
533 ;; From empathy-chat.h
534
535 (define-function empathy_chat_get_type
536   (c-name "empathy_chat_get_type")
537   (return-type "GType")
538 )
539
540 (define-method get_view
541   (of-object "EmpathyChat")
542   (c-name "empathy_chat_get_view")
543   (return-type "EmpathyChatView*")
544 )
545
546 (define-method get_window
547   (of-object "EmpathyChat")
548   (c-name "empathy_chat_get_window")
549   (return-type "EmpathyChatWindow*")
550 )
551
552 (define-method set_window
553   (of-object "EmpathyChat")
554   (c-name "empathy_chat_set_window")
555   (return-type "none")
556   (parameters
557     '("EmpathyChatWindow*" "window")
558   )
559 )
560
561 (define-method present
562   (of-object "EmpathyChat")
563   (c-name "empathy_chat_present")
564   (return-type "none")
565 )
566
567 (define-method clear
568   (of-object "EmpathyChat")
569   (c-name "empathy_chat_clear")
570   (return-type "none")
571 )
572
573 (define-method scroll_down
574   (of-object "EmpathyChat")
575   (c-name "empathy_chat_scroll_down")
576   (return-type "none")
577 )
578
579 (define-method cut
580   (of-object "EmpathyChat")
581   (c-name "empathy_chat_cut")
582   (return-type "none")
583 )
584
585 (define-method copy
586   (of-object "EmpathyChat")
587   (c-name "empathy_chat_copy")
588   (return-type "none")
589 )
590
591 (define-method paste
592   (of-object "EmpathyChat")
593   (c-name "empathy_chat_paste")
594   (return-type "none")
595 )
596
597 (define-method get_name
598   (of-object "EmpathyChat")
599   (c-name "empathy_chat_get_name")
600   (return-type "const-gchar*")
601 )
602
603 (define-method get_tooltip
604   (of-object "EmpathyChat")
605   (c-name "empathy_chat_get_tooltip")
606   (return-type "gchar*")
607 )
608
609 (define-method get_status_icon_name
610   (of-object "EmpathyChat")
611   (c-name "empathy_chat_get_status_icon_name")
612   (return-type "const-gchar*")
613 )
614
615 (define-method get_widget
616   (of-object "EmpathyChat")
617   (c-name "empathy_chat_get_widget")
618   (return-type "GtkWidget*")
619 )
620
621 (define-method is_group_chat
622   (of-object "EmpathyChat")
623   (c-name "empathy_chat_is_group_chat")
624   (return-type "gboolean")
625 )
626
627 (define-method is_connected
628   (of-object "EmpathyChat")
629   (c-name "empathy_chat_is_connected")
630   (return-type "gboolean")
631 )
632
633 (define-method save_geometry
634   (of-object "EmpathyChat")
635   (c-name "empathy_chat_save_geometry")
636   (return-type "none")
637   (parameters
638     '("gint" "x")
639     '("gint" "y")
640     '("gint" "w")
641     '("gint" "h")
642   )
643 )
644
645 (define-method load_geometry
646   (of-object "EmpathyChat")
647   (c-name "empathy_chat_load_geometry")
648   (return-type "none")
649   (parameters
650     '("gint*" "x")
651     '("gint*" "y")
652     '("gint*" "w")
653     '("gint*" "h")
654   )
655 )
656
657 (define-method set_tp_chat
658   (of-object "EmpathyChat")
659   (c-name "empathy_chat_set_tp_chat")
660   (return-type "none")
661   (parameters
662     '("EmpathyTpChat*" "tp_chat")
663   )
664 )
665
666 (define-method get_id
667   (of-object "EmpathyChat")
668   (c-name "empathy_chat_get_id")
669   (return-type "const-gchar*")
670 )
671
672 (define-method get_account
673   (of-object "EmpathyChat")
674   (c-name "empathy_chat_get_account")
675   (return-type "McAccount*")
676 )
677
678 (define-function empathy_chat_get_is_command
679   (c-name "empathy_chat_get_is_command")
680   (return-type "gboolean")
681   (parameters
682     '("const-gchar*" "str")
683   )
684 )
685
686 (define-method correct_word
687   (of-object "EmpathyChat")
688   (c-name "empathy_chat_correct_word")
689   (return-type "none")
690   (parameters
691     '("GtkTextIter" "start")
692     '("GtkTextIter" "end")
693     '("const-gchar*" "new_word")
694   )
695 )
696
697 (define-method should_play_sound
698   (of-object "EmpathyChat")
699   (c-name "empathy_chat_should_play_sound")
700   (return-type "gboolean")
701 )
702
703 (define-function empathy_chat_should_highlight_nick
704   (c-name "empathy_chat_should_highlight_nick")
705   (return-type "gboolean")
706   (parameters
707     '("EmpathyMessage*" "message")
708   )
709 )
710
711
712
713 ;; From empathy-chatrooms-window.h
714
715 (define-function empathy_chatrooms_window_show
716   (c-name "empathy_chatrooms_window_show")
717   (return-type "none")
718   (parameters
719     '("GtkWindow*" "parent")
720   )
721 )
722
723
724
725 ;; From empathy-chat-view.h
726
727 (define-function empathy_chat_view_get_type
728   (c-name "empathy_chat_view_get_type")
729   (return-type "GType")
730 )
731
732 (define-function empathy_chat_view_new
733   (c-name "empathy_chat_view_new")
734   (is-constructor-of "EmpathyChatView")
735   (return-type "EmpathyChatView*")
736 )
737
738 (define-method append_message
739   (of-object "EmpathyChatView")
740   (c-name "empathy_chat_view_append_message")
741   (return-type "none")
742   (parameters
743     '("EmpathyMessage*" "msg")
744   )
745 )
746
747 (define-method append_event
748   (of-object "EmpathyChatView")
749   (c-name "empathy_chat_view_append_event")
750   (return-type "none")
751   (parameters
752     '("const-gchar*" "str")
753   )
754 )
755
756 (define-method append_button
757   (of-object "EmpathyChatView")
758   (c-name "empathy_chat_view_append_button")
759   (return-type "none")
760   (parameters
761     '("const-gchar*" "message")
762     '("GtkWidget*" "button1")
763     '("GtkWidget*" "button2")
764   )
765 )
766
767 (define-method set_margin
768   (of-object "EmpathyChatView")
769   (c-name "empathy_chat_view_set_margin")
770   (return-type "none")
771   (parameters
772     '("gint" "margin")
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_selection_bounds
792   (of-object "EmpathyChatView")
793   (c-name "empathy_chat_view_get_selection_bounds")
794   (return-type "gboolean")
795   (parameters
796     '("GtkTextIter*" "start")
797     '("GtkTextIter*" "end")
798   )
799 )
800
801 (define-method clear
802   (of-object "EmpathyChatView")
803   (c-name "empathy_chat_view_clear")
804   (return-type "none")
805 )
806
807 (define-method find_previous
808   (of-object "EmpathyChatView")
809   (c-name "empathy_chat_view_find_previous")
810   (return-type "gboolean")
811   (parameters
812     '("const-gchar*" "search_criteria")
813     '("gboolean" "new_search")
814   )
815 )
816
817 (define-method find_next
818   (of-object "EmpathyChatView")
819   (c-name "empathy_chat_view_find_next")
820   (return-type "gboolean")
821   (parameters
822     '("const-gchar*" "search_criteria")
823     '("gboolean" "new_search")
824   )
825 )
826
827 (define-method find_abilities
828   (of-object "EmpathyChatView")
829   (c-name "empathy_chat_view_find_abilities")
830   (return-type "none")
831   (parameters
832     '("const-gchar*" "search_criteria")
833     '("gboolean*" "can_do_previous")
834     '("gboolean*" "can_do_next")
835   )
836 )
837
838 (define-method highlight
839   (of-object "EmpathyChatView")
840   (c-name "empathy_chat_view_highlight")
841   (return-type "none")
842   (parameters
843     '("const-gchar*" "text")
844   )
845 )
846
847 (define-method copy_clipboard
848   (of-object "EmpathyChatView")
849   (c-name "empathy_chat_view_copy_clipboard")
850   (return-type "none")
851 )
852
853 (define-method get_theme
854   (of-object "EmpathyChatView")
855   (c-name "empathy_chat_view_get_theme")
856   (return-type "EmpathyTheme*")
857 )
858
859 (define-method set_theme
860   (of-object "EmpathyChatView")
861   (c-name "empathy_chat_view_set_theme")
862   (return-type "none")
863   (parameters
864     '("EmpathyTheme*" "theme")
865   )
866 )
867
868 (define-method set_margin
869   (of-object "EmpathyChatView")
870   (c-name "empathy_chat_view_set_margin")
871   (return-type "none")
872   (parameters
873     '("gint" "margin")
874   )
875 )
876
877 (define-function empathy_chat_view_get_smiley_menu
878   (c-name "empathy_chat_view_get_smiley_menu")
879   (return-type "GtkWidget*")
880   (parameters
881     '("GCallback" "callback")
882     '("gpointer" "user_data")
883   )
884 )
885
886 (define-method set_is_group_chat
887   (of-object "EmpathyChatView")
888   (c-name "empathy_chat_view_set_is_group_chat")
889   (return-type "none")
890   (parameters
891     '("gboolean" "is_group_chat")
892   )
893 )
894
895 (define-method get_last_timestamp
896   (of-object "EmpathyChatView")
897   (c-name "empathy_chat_view_get_last_timestamp")
898   (return-type "time_t")
899 )
900
901 (define-method set_last_timestamp
902   (of-object "EmpathyChatView")
903   (c-name "empathy_chat_view_set_last_timestamp")
904   (return-type "none")
905   (parameters
906     '("time_t" "timestamp")
907   )
908 )
909
910 (define-method get_last_block_type
911   (of-object "EmpathyChatView")
912   (c-name "empathy_chat_view_get_last_block_type")
913   (return-type "EmpathyChatViewBlock")
914 )
915
916 (define-method set_last_block_type
917   (of-object "EmpathyChatView")
918   (c-name "empathy_chat_view_set_last_block_type")
919   (return-type "none")
920   (parameters
921     '("EmpathyChatViewBlock" "block_type")
922   )
923 )
924
925 (define-method get_last_contact
926   (of-object "EmpathyChatView")
927   (c-name "empathy_chat_view_get_last_contact")
928   (return-type "EmpathyContact*")
929 )
930
931 (define-method set_last_contact
932   (of-object "EmpathyChatView")
933   (c-name "empathy_chat_view_set_last_contact")
934   (return-type "none")
935   (parameters
936     '("EmpathyContact*" "contact")
937   )
938 )
939
940 (define-function empathy_chat_view_get_avatar_pixbuf_with_cache
941   (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
942   (return-type "GdkPixbuf*")
943   (parameters
944     '("EmpathyContact*" "contact")
945   )
946 )
947
948
949
950 ;; From empathy-chat-window.h
951
952 (define-function empathy_chat_window_get_type
953   (c-name "empathy_chat_window_get_type")
954   (return-type "GType")
955 )
956
957 (define-function empathy_chat_window_get_default
958   (c-name "empathy_chat_window_get_default")
959   (return-type "EmpathyChatWindow*")
960 )
961
962 (define-function empathy_chat_window_new
963   (c-name "empathy_chat_window_new")
964   (is-constructor-of "EmpathyChatWindow")
965   (return-type "EmpathyChatWindow*")
966 )
967
968 (define-method get_dialog
969   (of-object "EmpathyChatWindow")
970   (c-name "empathy_chat_window_get_dialog")
971   (return-type "GtkWidget*")
972 )
973
974 (define-method add_chat
975   (of-object "EmpathyChatWindow")
976   (c-name "empathy_chat_window_add_chat")
977   (return-type "none")
978   (parameters
979     '("EmpathyChat*" "chat")
980   )
981 )
982
983 (define-method remove_chat
984   (of-object "EmpathyChatWindow")
985   (c-name "empathy_chat_window_remove_chat")
986   (return-type "none")
987   (parameters
988     '("EmpathyChat*" "chat")
989   )
990 )
991
992 (define-method move_chat
993   (of-object "EmpathyChatWindow")
994   (c-name "empathy_chat_window_move_chat")
995   (return-type "none")
996   (parameters
997     '("EmpathyChatWindow*" "new_window")
998     '("EmpathyChat*" "chat")
999   )
1000 )
1001
1002 (define-method switch_to_chat
1003   (of-object "EmpathyChatWindow")
1004   (c-name "empathy_chat_window_switch_to_chat")
1005   (return-type "none")
1006   (parameters
1007     '("EmpathyChat*" "chat")
1008   )
1009 )
1010
1011 (define-method has_focus
1012   (of-object "EmpathyChatWindow")
1013   (c-name "empathy_chat_window_has_focus")
1014   (return-type "gboolean")
1015 )
1016
1017 (define-function empathy_chat_window_find_chat
1018   (c-name "empathy_chat_window_find_chat")
1019   (return-type "EmpathyChat*")
1020   (parameters
1021     '("McAccount*" "account")
1022     '("const-gchar*" "id")
1023   )
1024 )
1025
1026
1027
1028 ;; From empathy-conf.h
1029
1030 (define-function empathy_conf_get_type
1031   (c-name "empathy_conf_get_type")
1032   (return-type "GType")
1033 )
1034
1035 (define-function empathy_conf_get
1036   (c-name "empathy_conf_get")
1037   (return-type "EmpathyConf*")
1038 )
1039
1040 (define-function empathy_conf_shutdown
1041   (c-name "empathy_conf_shutdown")
1042   (return-type "none")
1043 )
1044
1045 (define-method notify_add
1046   (of-object "EmpathyConf")
1047   (c-name "empathy_conf_notify_add")
1048   (return-type "guint")
1049   (parameters
1050     '("const-gchar*" "key")
1051     '("EmpathyConfNotifyFunc" "func")
1052     '("gpointer" "data")
1053   )
1054 )
1055
1056 (define-method notify_remove
1057   (of-object "EmpathyConf")
1058   (c-name "empathy_conf_notify_remove")
1059   (return-type "gboolean")
1060   (parameters
1061     '("guint" "id")
1062   )
1063 )
1064
1065 (define-method set_int
1066   (of-object "EmpathyConf")
1067   (c-name "empathy_conf_set_int")
1068   (return-type "gboolean")
1069   (parameters
1070     '("const-gchar*" "key")
1071     '("gint" "value")
1072   )
1073 )
1074
1075 (define-method get_int
1076   (of-object "EmpathyConf")
1077   (c-name "empathy_conf_get_int")
1078   (return-type "gboolean")
1079   (parameters
1080     '("const-gchar*" "key")
1081     '("gint*" "value")
1082   )
1083 )
1084
1085 (define-method set_bool
1086   (of-object "EmpathyConf")
1087   (c-name "empathy_conf_set_bool")
1088   (return-type "gboolean")
1089   (parameters
1090     '("const-gchar*" "key")
1091     '("gboolean" "value")
1092   )
1093 )
1094
1095 (define-method get_bool
1096   (of-object "EmpathyConf")
1097   (c-name "empathy_conf_get_bool")
1098   (return-type "gboolean")
1099   (parameters
1100     '("const-gchar*" "key")
1101     '("gboolean*" "value")
1102   )
1103 )
1104
1105 (define-method set_string
1106   (of-object "EmpathyConf")
1107   (c-name "empathy_conf_set_string")
1108   (return-type "gboolean")
1109   (parameters
1110     '("const-gchar*" "key")
1111     '("const-gchar*" "value")
1112   )
1113 )
1114
1115 (define-method get_string
1116   (of-object "EmpathyConf")
1117   (c-name "empathy_conf_get_string")
1118   (return-type "gboolean")
1119   (parameters
1120     '("const-gchar*" "key")
1121     '("gchar**" "value")
1122   )
1123 )
1124
1125 (define-method set_string_list
1126   (of-object "EmpathyConf")
1127   (c-name "empathy_conf_set_string_list")
1128   (return-type "gboolean")
1129   (parameters
1130     '("const-gchar*" "key")
1131     '("GSList*" "value")
1132   )
1133 )
1134
1135 (define-method get_string_list
1136   (of-object "EmpathyConf")
1137   (c-name "empathy_conf_get_string_list")
1138   (return-type "gboolean")
1139   (parameters
1140     '("const-gchar*" "key")
1141     '("GSList**" "value")
1142   )
1143 )
1144
1145
1146
1147 ;; From empathy-contact-dialogs.h
1148
1149 (define-function empathy_subscription_dialog_show
1150   (c-name "empathy_subscription_dialog_show")
1151   (return-type "none")
1152   (parameters
1153     '("EmpathyContact*" "contact")
1154     '("GtkWindow*" "parent")
1155   )
1156 )
1157
1158 (define-method information_dialog_show
1159   (of-object "EmpathyContact")
1160   (c-name "empathy_contact_information_dialog_show")
1161   (return-type "none")
1162   (parameters
1163     '("GtkWindow*" "parent")
1164     '("gboolean" "edit")
1165     '("gboolean" "is_user")
1166   )
1167 )
1168
1169 (define-function empathy_new_contact_dialog_show
1170   (c-name "empathy_new_contact_dialog_show")
1171   (return-type "none")
1172   (parameters
1173     '("GtkWindow*" "parent")
1174   )
1175 )
1176
1177
1178
1179 ;; From empathy-contact-list-store.h
1180
1181 (define-function empathy_contact_list_store_get_type
1182   (c-name "empathy_contact_list_store_get_type")
1183   (return-type "GType")
1184 )
1185
1186 (define-method store_new
1187   (of-object "EmpathyContactList")
1188   (c-name "empathy_contact_list_store_new")
1189   (return-type "EmpathyContactListStore*")
1190 )
1191
1192 (define-method get_list_iface
1193   (of-object "EmpathyContactListStore")
1194   (c-name "empathy_contact_list_store_get_list_iface")
1195   (return-type "EmpathyContactList*")
1196 )
1197
1198 (define-method get_show_offline
1199   (of-object "EmpathyContactListStore")
1200   (c-name "empathy_contact_list_store_get_show_offline")
1201   (return-type "gboolean")
1202 )
1203
1204 (define-method set_show_offline
1205   (of-object "EmpathyContactListStore")
1206   (c-name "empathy_contact_list_store_set_show_offline")
1207   (return-type "none")
1208   (parameters
1209     '("gboolean" "show_offline")
1210   )
1211 )
1212
1213 (define-method get_show_avatars
1214   (of-object "EmpathyContactListStore")
1215   (c-name "empathy_contact_list_store_get_show_avatars")
1216   (return-type "gboolean")
1217 )
1218
1219 (define-method set_show_avatars
1220   (of-object "EmpathyContactListStore")
1221   (c-name "empathy_contact_list_store_set_show_avatars")
1222   (return-type "none")
1223   (parameters
1224     '("gboolean" "show_avatars")
1225   )
1226 )
1227
1228 (define-method get_show_groups
1229   (of-object "EmpathyContactListStore")
1230   (c-name "empathy_contact_list_store_get_show_groups")
1231   (return-type "gboolean")
1232 )
1233
1234 (define-method set_show_groups
1235   (of-object "EmpathyContactListStore")
1236   (c-name "empathy_contact_list_store_set_show_groups")
1237   (return-type "none")
1238   (parameters
1239     '("gboolean" "show_groups")
1240   )
1241 )
1242
1243 (define-method get_is_compact
1244   (of-object "EmpathyContactListStore")
1245   (c-name "empathy_contact_list_store_get_is_compact")
1246   (return-type "gboolean")
1247 )
1248
1249 (define-method set_is_compact
1250   (of-object "EmpathyContactListStore")
1251   (c-name "empathy_contact_list_store_set_is_compact")
1252   (return-type "none")
1253   (parameters
1254     '("gboolean" "is_compact")
1255   )
1256 )
1257
1258 (define-method get_sort_criterium
1259   (of-object "EmpathyContactListStore")
1260   (c-name "empathy_contact_list_store_get_sort_criterium")
1261   (return-type "EmpathyContactListStoreSort")
1262 )
1263
1264 (define-method set_sort_criterium
1265   (of-object "EmpathyContactListStore")
1266   (c-name "empathy_contact_list_store_set_sort_criterium")
1267   (return-type "none")
1268   (parameters
1269     '("EmpathyContactListStoreSort" "sort_criterium")
1270   )
1271 )
1272
1273 (define-function empathy_contact_list_store_row_separator_func
1274   (c-name "empathy_contact_list_store_row_separator_func")
1275   (return-type "gboolean")
1276   (parameters
1277     '("GtkTreeModel*" "model")
1278     '("GtkTreeIter*" "iter")
1279     '("gpointer" "data")
1280   )
1281 )
1282
1283 (define-function empathy_contact_list_store_get_parent_group
1284   (c-name "empathy_contact_list_store_get_parent_group")
1285   (return-type "gchar*")
1286   (parameters
1287     '("GtkTreeModel*" "model")
1288     '("GtkTreePath*" "path")
1289     '("gboolean*" "path_is_group")
1290   )
1291 )
1292
1293 (define-function empathy_contact_list_store_search_equal_func
1294   (c-name "empathy_contact_list_store_search_equal_func")
1295   (return-type "gboolean")
1296   (parameters
1297     '("GtkTreeModel*" "model")
1298     '("gint" "column")
1299     '("const-gchar*" "key")
1300     '("GtkTreeIter*" "iter")
1301     '("gpointer" "search_data")
1302   )
1303 )
1304
1305
1306
1307 ;; From empathy-contact-list-view.h
1308
1309 (define-function empathy_contact_list_view_get_type
1310   (c-name "empathy_contact_list_view_get_type")
1311   (return-type "GType")
1312 )
1313
1314 (define-function empathy_contact_list_view_new
1315   (c-name "empathy_contact_list_view_new")
1316   (is-constructor-of "EmpathyContactListView")
1317   (return-type "EmpathyContactListView*")
1318   (parameters
1319     '("EmpathyContactListStore*" "store")
1320     '("EmpathyContactListFeatures" "features")
1321   )
1322 )
1323
1324 (define-method set_features
1325   (of-object "EmpathyContactListView")
1326   (c-name "empathy_contact_list_view_set_features")
1327   (return-type "none")
1328   (parameters
1329     '("EmpathyContactListFeatures" "features")
1330   )
1331 )
1332
1333 (define-method get_features
1334   (of-object "EmpathyContactListView")
1335   (c-name "empathy_contact_list_view_get_features")
1336   (return-type "EmpathyContactListFeatures")
1337 )
1338
1339 (define-method get_selected
1340   (of-object "EmpathyContactListView")
1341   (c-name "empathy_contact_list_view_get_selected")
1342   (return-type "EmpathyContact*")
1343 )
1344
1345 (define-method get_selected_group
1346   (of-object "EmpathyContactListView")
1347   (c-name "empathy_contact_list_view_get_selected_group")
1348   (return-type "gchar*")
1349 )
1350
1351 (define-method get_contact_menu
1352   (of-object "EmpathyContactListView")
1353   (c-name "empathy_contact_list_view_get_contact_menu")
1354   (return-type "GtkWidget*")
1355   (parameters
1356     '("EmpathyContact*" "contact")
1357   )
1358 )
1359
1360 (define-method get_group_menu
1361   (of-object "EmpathyContactListView")
1362   (c-name "empathy_contact_list_view_get_group_menu")
1363   (return-type "GtkWidget*")
1364 )
1365
1366
1367
1368 ;; From empathy-contact-widget.h
1369
1370 (define-method widget_new
1371   (of-object "EmpathyContact")
1372   (c-name "empathy_contact_widget_new")
1373   (return-type "GtkWidget*")
1374   (parameters
1375     '("EmpathyContactWidgetFlags" "flags")
1376   )
1377 )
1378
1379 (define-function empathy_contact_widget_get_contact
1380   (c-name "empathy_contact_widget_get_contact")
1381   (return-type "EmpathyContact*")
1382   (parameters
1383     '("GtkWidget*" "widget")
1384   )
1385 )
1386
1387 (define-function empathy_contact_widget_set_contact
1388   (c-name "empathy_contact_widget_set_contact")
1389   (return-type "none")
1390   (parameters
1391     '("GtkWidget*" "widget")
1392     '("EmpathyContact*" "contact")
1393   )
1394 )
1395
1396 (define-function empathy_contact_widget_set_account_filter
1397   (c-name "empathy_contact_widget_set_account_filter")
1398   (return-type "none")
1399   (parameters
1400     '("GtkWidget*" "widget")
1401     '("EmpathyAccountChooserFilterFunc" "filter")
1402     '("gpointer" "user_data")
1403   )
1404 )
1405
1406
1407
1408 ;; From empathy-geometry.h
1409
1410 (define-function empathy_geometry_save
1411   (c-name "empathy_geometry_save")
1412   (return-type "none")
1413   (parameters
1414     '("const-gchar*" "name")
1415     '("gint" "x")
1416     '("gint" "y")
1417     '("gint" "w")
1418     '("gint" "h")
1419   )
1420 )
1421
1422 (define-function empathy_geometry_load
1423   (c-name "empathy_geometry_load")
1424   (return-type "none")
1425   (parameters
1426     '("const-gchar*" "name")
1427     '("gint*" "x")
1428     '("gint*" "y")
1429     '("gint*" "w")
1430     '("gint*" "h")
1431   )
1432 )
1433
1434
1435
1436 ;; From empathy-group-chat.h
1437
1438 (define-function empathy_group_chat_get_type
1439   (c-name "empathy_group_chat_get_type")
1440   (return-type "GType")
1441 )
1442
1443 (define-function empathy_group_chat_new
1444   (c-name "empathy_group_chat_new")
1445   (is-constructor-of "EmpathyGroupChat")
1446   (return-type "EmpathyGroupChat*")
1447   (parameters
1448     '("EmpathyTpChatroom*" "tp_chat")
1449   )
1450 )
1451
1452 (define-method get_show_contacts
1453   (of-object "EmpathyGroupChat")
1454   (c-name "empathy_group_chat_get_show_contacts")
1455   (return-type "gboolean")
1456 )
1457
1458 (define-method set_show_contacts
1459   (of-object "EmpathyGroupChat")
1460   (c-name "empathy_group_chat_set_show_contacts")
1461   (return-type "none")
1462   (parameters
1463     '("gboolean" "show")
1464   )
1465 )
1466
1467 (define-method set_topic
1468   (of-object "EmpathyGroupChat")
1469   (c-name "empathy_group_chat_set_topic")
1470   (return-type "none")
1471 )
1472
1473
1474
1475 ;; From empathy-images.h
1476
1477
1478
1479 ;; From empathy-irc-network-dialog.h
1480
1481 (define-method dialog_show
1482   (of-object "EmpathyIrcNetwork")
1483   (c-name "empathy_irc_network_dialog_show")
1484   (return-type "GtkWidget*")
1485   (parameters
1486     '("GtkWidget*" "parent")
1487   )
1488 )
1489
1490
1491
1492 ;; From empathy-log-window.h
1493
1494 (define-function empathy_log_window_show
1495   (c-name "empathy_log_window_show")
1496   (return-type "GtkWidget*")
1497   (parameters
1498     '("McAccount*" "account")
1499     '("const-gchar*" "chat_id")
1500     '("gboolean" "chatroom")
1501     '("GtkWindow*" "parent")
1502   )
1503 )
1504
1505
1506
1507 ;; From empathy-main-window.h
1508
1509 (define-function empathy_main_window_show
1510   (c-name "empathy_main_window_show")
1511   (return-type "GtkWidget*")
1512 )
1513
1514
1515
1516 ;; From empathy-new-chatroom-dialog.h
1517
1518 (define-function empathy_new_chatroom_dialog_show
1519   (c-name "empathy_new_chatroom_dialog_show")
1520   (return-type "none")
1521   (parameters
1522     '("GtkWindow*" "parent")
1523   )
1524 )
1525
1526
1527
1528 ;; From empathy-new-message-dialog.h
1529
1530 (define-function empathy_new_message_dialog_show
1531   (c-name "empathy_new_message_dialog_show")
1532   (return-type "GtkWidget*")
1533   (parameters
1534     '("GtkWindow*" "parent")
1535   )
1536 )
1537
1538
1539
1540 ;; From empathy-preferences.h
1541
1542 (define-function empathy_preferences_show
1543   (c-name "empathy_preferences_show")
1544   (return-type "GtkWidget*")
1545   (parameters
1546     '("GtkWindow*" "parent")
1547   )
1548 )
1549
1550
1551
1552 ;; From empathy-presence-chooser.h
1553
1554 (define-function empathy_presence_chooser_get_type
1555   (c-name "empathy_presence_chooser_get_type")
1556   (return-type "GType")
1557 )
1558
1559 (define-function empathy_presence_chooser_new
1560   (c-name "empathy_presence_chooser_new")
1561   (is-constructor-of "EmpathyPresenceChooser")
1562   (return-type "GtkWidget*")
1563 )
1564
1565 (define-function empathy_presence_chooser_create_menu
1566   (c-name "empathy_presence_chooser_create_menu")
1567   (return-type "GtkWidget*")
1568 )
1569
1570
1571
1572 ;; From empathy-private-chat.h
1573
1574 (define-function empathy_private_chat_get_type
1575   (c-name "empathy_private_chat_get_type")
1576   (return-type "GType")
1577 )
1578
1579 (define-function empathy_private_chat_new
1580   (c-name "empathy_private_chat_new")
1581   (is-constructor-of "EmpathyPrivateChat")
1582   (return-type "EmpathyPrivateChat*")
1583   (parameters
1584     '("EmpathyTpChat*" "tp_chat")
1585   )
1586 )
1587
1588 (define-method get_contact
1589   (of-object "EmpathyPrivateChat")
1590   (c-name "empathy_private_chat_get_contact")
1591   (return-type "EmpathyContact*")
1592 )
1593
1594
1595
1596 ;; From empathy-profile-chooser.h
1597
1598 (define-function empathy_profile_chooser_new
1599   (c-name "empathy_profile_chooser_new")
1600   (is-constructor-of "EmpathyProfileChooser")
1601   (return-type "GtkWidget*")
1602 )
1603
1604 (define-function empathy_profile_chooser_get_selected
1605   (c-name "empathy_profile_chooser_get_selected")
1606   (return-type "McProfile*")
1607   (parameters
1608     '("GtkWidget*" "widget")
1609   )
1610 )
1611
1612 (define-function empathy_profile_chooser_n_profiles
1613   (c-name "empathy_profile_chooser_n_profiles")
1614   (return-type "gint")
1615   (parameters
1616     '("GtkWidget*" "widget")
1617   )
1618 )
1619
1620
1621
1622 ;; From empathy-smiley-manager.h
1623
1624 (define-function empathy_smiley_manager_get_type
1625   (c-name "empathy_smiley_manager_get_type")
1626   (return-type "GType")
1627 )
1628
1629 (define-function empathy_smiley_manager_new
1630   (c-name "empathy_smiley_manager_new")
1631   (is-constructor-of "EmpathySmileyManager")
1632   (return-type "EmpathySmileyManager*")
1633 )
1634
1635 (define-method load
1636   (of-object "EmpathySmileyManager")
1637   (c-name "empathy_smiley_manager_load")
1638   (return-type "none")
1639 )
1640
1641 (define-method add
1642   (of-object "EmpathySmileyManager")
1643   (c-name "empathy_smiley_manager_add")
1644   (return-type "none")
1645   (parameters
1646     '("const-gchar*" "icon_name")
1647     '("const-gchar*" "first_str")
1648   )
1649   (varargs #t)
1650 )
1651
1652 (define-method add_from_pixbuf
1653   (of-object "EmpathySmileyManager")
1654   (c-name "empathy_smiley_manager_add_from_pixbuf")
1655   (return-type "none")
1656   (parameters
1657     '("GdkPixbuf*" "smiley")
1658     '("const-gchar*" "first_str")
1659   )
1660   (varargs #t)
1661 )
1662
1663 (define-method get_all
1664   (of-object "EmpathySmileyManager")
1665   (c-name "empathy_smiley_manager_get_all")
1666   (return-type "GSList*")
1667 )
1668
1669 (define-method parse
1670   (of-object "EmpathySmileyManager")
1671   (c-name "empathy_smiley_manager_parse")
1672   (return-type "GSList*")
1673   (parameters
1674     '("const-gchar*" "text")
1675   )
1676 )
1677
1678 (define-method free
1679   (of-object "EmpathySmiley")
1680   (c-name "empathy_smiley_free")
1681   (return-type "none")
1682 )
1683
1684
1685
1686 ;; From empathy-spell-dialog.h
1687
1688 (define-function empathy_spell_dialog_show
1689   (c-name "empathy_spell_dialog_show")
1690   (return-type "none")
1691   (parameters
1692     '("EmpathyChat*" "chat")
1693     '("GtkTextIter" "start")
1694     '("GtkTextIter" "end")
1695     '("const-gchar*" "word")
1696   )
1697 )
1698
1699
1700
1701 ;; From empathy-spell.h
1702
1703 (define-function empathy_spell_supported
1704   (c-name "empathy_spell_supported")
1705   (return-type "gboolean")
1706 )
1707
1708 (define-function empathy_spell_get_language_name
1709   (c-name "empathy_spell_get_language_name")
1710   (return-type "const-gchar*")
1711   (parameters
1712     '("const-gchar*" "code")
1713   )
1714 )
1715
1716 (define-function empathy_spell_get_language_codes
1717   (c-name "empathy_spell_get_language_codes")
1718   (return-type "GList*")
1719 )
1720
1721 (define-function empathy_spell_free_language_codes
1722   (c-name "empathy_spell_free_language_codes")
1723   (return-type "none")
1724   (parameters
1725     '("GList*" "codes")
1726   )
1727 )
1728
1729 (define-function empathy_spell_check
1730   (c-name "empathy_spell_check")
1731   (return-type "gboolean")
1732   (parameters
1733     '("const-gchar*" "word")
1734   )
1735 )
1736
1737 (define-function empathy_spell_get_suggestions
1738   (c-name "empathy_spell_get_suggestions")
1739   (return-type "GList*")
1740   (parameters
1741     '("const-gchar*" "word")
1742   )
1743 )
1744
1745 (define-function empathy_spell_free_suggestions
1746   (c-name "empathy_spell_free_suggestions")
1747   (return-type "none")
1748   (parameters
1749     '("GList*" "suggestions")
1750   )
1751 )
1752
1753
1754
1755 ;; From empathy-status-icon.h
1756
1757 (define-function empathy_status_icon_get_type
1758   (c-name "empathy_status_icon_get_type")
1759   (return-type "GType")
1760 )
1761
1762 (define-function empathy_status_icon_new
1763   (c-name "empathy_status_icon_new")
1764   (is-constructor-of "EmpathyStatusIcon")
1765   (return-type "EmpathyStatusIcon*")
1766   (parameters
1767     '("GtkWindow*" "window")
1768   )
1769 )
1770
1771
1772
1773 ;; From empathy-theme-boxes.h
1774
1775 (define-function empathy_theme_boxes_get_type
1776   (c-name "empathy_theme_boxes_get_type")
1777   (return-type "GType")
1778 )
1779
1780
1781
1782 ;; From empathy-theme.h
1783
1784 (define-function empathy_theme_get_type
1785   (c-name "empathy_theme_get_type")
1786   (return-type "GType")
1787 )
1788
1789 (define-method update_view
1790   (of-object "EmpathyTheme")
1791   (c-name "empathy_theme_update_view")
1792   (return-type "none")
1793   (parameters
1794     '("EmpathyChatView*" "view")
1795   )
1796 )
1797
1798 (define-method append_message
1799   (of-object "EmpathyTheme")
1800   (c-name "empathy_theme_append_message")
1801   (return-type "none")
1802   (parameters
1803     '("EmpathyChatView*" "view")
1804     '("EmpathyMessage*" "msg")
1805   )
1806 )
1807
1808 (define-method append_text
1809   (of-object "EmpathyTheme")
1810   (c-name "empathy_theme_append_text")
1811   (return-type "none")
1812   (parameters
1813     '("EmpathyChatView*" "view")
1814     '("const-gchar*" "body")
1815     '("const-gchar*" "tag")
1816     '("const-gchar*" "link_tag")
1817   )
1818 )
1819
1820 (define-method append_spacing
1821   (of-object "EmpathyTheme")
1822   (c-name "empathy_theme_append_spacing")
1823   (return-type "none")
1824   (parameters
1825     '("EmpathyChatView*" "view")
1826   )
1827 )
1828
1829 (define-method append_event
1830   (of-object "EmpathyTheme")
1831   (c-name "empathy_theme_append_event")
1832   (return-type "none")
1833   (parameters
1834     '("EmpathyChatView*" "view")
1835     '("const-gchar*" "str")
1836   )
1837 )
1838
1839 (define-method append_timestamp
1840   (of-object "EmpathyTheme")
1841   (c-name "empathy_theme_append_timestamp")
1842   (return-type "none")
1843   (parameters
1844     '("EmpathyChatView*" "view")
1845     '("EmpathyMessage*" "message")
1846     '("gboolean" "show_date")
1847     '("gboolean" "show_time")
1848   )
1849 )
1850
1851 (define-method maybe_append_date_and_time
1852   (of-object "EmpathyTheme")
1853   (c-name "empathy_theme_maybe_append_date_and_time")
1854   (return-type "none")
1855   (parameters
1856     '("EmpathyChatView*" "view")
1857     '("EmpathyMessage*" "message")
1858   )
1859 )
1860
1861 (define-method get_show_avatars
1862   (of-object "EmpathyTheme")
1863   (c-name "empathy_theme_get_show_avatars")
1864   (return-type "gboolean")
1865 )
1866
1867 (define-method set_show_avatars
1868   (of-object "EmpathyTheme")
1869   (c-name "empathy_theme_set_show_avatars")
1870   (return-type "none")
1871   (parameters
1872     '("gboolean" "show")
1873   )
1874 )
1875
1876
1877
1878 ;; From empathy-theme-irc.h
1879
1880 (define-function empathy_theme_irc_get_type
1881   (c-name "empathy_theme_irc_get_type")
1882   (return-type "GType")
1883 )
1884
1885
1886
1887 ;; From empathy-theme-manager.h
1888
1889 (define-function empathy_theme_manager_get_type
1890   (c-name "empathy_theme_manager_get_type")
1891   (return-type "GType")
1892 )
1893
1894 (define-function empathy_theme_manager_get
1895   (c-name "empathy_theme_manager_get")
1896   (return-type "EmpathyThemeManager*")
1897 )
1898
1899 (define-function empathy_theme_manager_get_themes
1900   (c-name "empathy_theme_manager_get_themes")
1901   (return-type "const-gchar**")
1902 )
1903
1904 (define-method apply
1905   (of-object "EmpathyThemeManager")
1906   (c-name "empathy_theme_manager_apply")
1907   (return-type "none")
1908   (parameters
1909     '("EmpathyChatView*" "view")
1910     '("const-gchar*" "theme")
1911   )
1912 )
1913
1914 (define-method apply_saved
1915   (of-object "EmpathyThemeManager")
1916   (c-name "empathy_theme_manager_apply_saved")
1917   (return-type "none")
1918   (parameters
1919     '("EmpathyChatView*" "view")
1920   )
1921 )
1922
1923
1924
1925 ;; From empathy-ui-utils.h
1926
1927 (define-function empathy_glade_get_file_simple
1928   (c-name "empathy_glade_get_file_simple")
1929   (return-type "none")
1930   (parameters
1931     '("const-gchar*" "filename")
1932     '("const-gchar*" "root")
1933     '("const-gchar*" "domain")
1934     '("const-gchar*" "first_required_widget")
1935   )
1936   (varargs #t)
1937 )
1938
1939 (define-function empathy_glade_get_file
1940   (c-name "empathy_glade_get_file")
1941   (return-type "GladeXML*")
1942   (parameters
1943     '("const-gchar*" "filename")
1944     '("const-gchar*" "root")
1945     '("const-gchar*" "domain")
1946     '("const-gchar*" "first_required_widget")
1947   )
1948   (varargs #t)
1949 )
1950
1951 (define-function empathy_glade_connect
1952   (c-name "empathy_glade_connect")
1953   (return-type "none")
1954   (parameters
1955     '("GladeXML*" "gui")
1956     '("gpointer" "user_data")
1957     '("gchar*" "first_widget")
1958   )
1959   (varargs #t)
1960 )
1961
1962 (define-function empathy_glade_setup_size_group
1963   (c-name "empathy_glade_setup_size_group")
1964   (return-type "none")
1965   (parameters
1966     '("GladeXML*" "gui")
1967     '("GtkSizeGroupMode" "mode")
1968     '("gchar*" "first_widget")
1969   )
1970   (varargs #t)
1971 )
1972
1973 (define-function empathy_icon_name_from_account
1974   (c-name "empathy_icon_name_from_account")
1975   (return-type "const-gchar*")
1976   (parameters
1977     '("McAccount*" "account")
1978   )
1979 )
1980
1981 (define-function empathy_icon_name_for_presence
1982   (c-name "empathy_icon_name_for_presence")
1983   (return-type "const-gchar*")
1984   (parameters
1985     '("McPresence" "presence")
1986   )
1987 )
1988
1989 (define-function empathy_icon_name_for_contact
1990   (c-name "empathy_icon_name_for_contact")
1991   (return-type "const-gchar*")
1992   (parameters
1993     '("EmpathyContact*" "contact")
1994   )
1995 )
1996
1997 (define-function empathy_pixbuf_from_data
1998   (c-name "empathy_pixbuf_from_data")
1999   (return-type "GdkPixbuf*")
2000   (parameters
2001     '("gchar*" "data")
2002     '("gsize" "data_size")
2003   )
2004 )
2005
2006 (define-function empathy_pixbuf_from_avatar_scaled
2007   (c-name "empathy_pixbuf_from_avatar_scaled")
2008   (return-type "GdkPixbuf*")
2009   (parameters
2010     '("EmpathyAvatar*" "avatar")
2011     '("gint" "width")
2012     '("gint" "height")
2013   )
2014 )
2015
2016 (define-function empathy_pixbuf_avatar_from_contact_scaled
2017   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
2018   (return-type "GdkPixbuf*")
2019   (parameters
2020     '("EmpathyContact*" "contact")
2021     '("gint" "width")
2022     '("gint" "height")
2023   )
2024 )
2025
2026 (define-function empathy_pixbuf_scale_down_if_necessary
2027   (c-name "empathy_pixbuf_scale_down_if_necessary")
2028   (return-type "GdkPixbuf*")
2029   (parameters
2030     '("GdkPixbuf*" "pixbuf")
2031     '("gint" "max_size")
2032   )
2033 )
2034
2035 (define-function empathy_pixbuf_from_icon_name
2036   (c-name "empathy_pixbuf_from_icon_name")
2037   (return-type "GdkPixbuf*")
2038   (parameters
2039     '("const-gchar*" "icon_name")
2040     '("GtkIconSize" "icon_size")
2041   )
2042 )
2043
2044 (define-function empathy_text_iter_forward_search
2045   (c-name "empathy_text_iter_forward_search")
2046   (return-type "gboolean")
2047   (parameters
2048     '("const-GtkTextIter*" "iter")
2049     '("const-gchar*" "str")
2050     '("GtkTextIter*" "match_start")
2051     '("GtkTextIter*" "match_end")
2052     '("const-GtkTextIter*" "limit")
2053   )
2054 )
2055
2056 (define-function empathy_text_iter_backward_search
2057   (c-name "empathy_text_iter_backward_search")
2058   (return-type "gboolean")
2059   (parameters
2060     '("const-GtkTextIter*" "iter")
2061     '("const-gchar*" "str")
2062     '("GtkTextIter*" "match_start")
2063     '("GtkTextIter*" "match_end")
2064     '("const-GtkTextIter*" "limit")
2065   )
2066 )
2067
2068 (define-function empathy_window_get_is_visible
2069   (c-name "empathy_window_get_is_visible")
2070   (return-type "gboolean")
2071   (parameters
2072     '("GtkWindow*" "window")
2073   )
2074 )
2075
2076 (define-function empathy_window_present
2077   (c-name "empathy_window_present")
2078   (return-type "none")
2079   (parameters
2080     '("GtkWindow*" "window")
2081     '("gboolean" "steal_focus")
2082   )
2083 )
2084
2085 (define-function empathy_window_iconify
2086   (c-name "empathy_window_iconify")
2087   (return-type "none")
2088   (parameters
2089     '("GtkWindow*" "window")
2090     '("GtkStatusIcon*" "status_icon")
2091   )
2092 )
2093
2094 (define-function empathy_get_toplevel_window
2095   (c-name "empathy_get_toplevel_window")
2096   (return-type "GtkWindow*")
2097   (parameters
2098     '("GtkWidget*" "widget")
2099   )
2100 )
2101
2102 (define-function empathy_url_show
2103   (c-name "empathy_url_show")
2104   (return-type "none")
2105   (parameters
2106     '("const-char*" "url")
2107   )
2108 )
2109
2110 (define-function empathy_toggle_button_set_state_quietly
2111   (c-name "empathy_toggle_button_set_state_quietly")
2112   (return-type "none")
2113   (parameters
2114     '("GtkWidget*" "widget")
2115     '("GCallback" "callback")
2116     '("gpointer" "user_data")
2117     '("gboolean" "active")
2118   )
2119 )
2120
2121 (define-function empathy_link_button_new
2122   (c-name "empathy_link_button_new")
2123   (is-constructor-of "EmpathyLinkButton")
2124   (return-type "GtkWidget*")
2125   (parameters
2126     '("const-gchar*" "url")
2127     '("const-gchar*" "title")
2128   )
2129 )
2130
2131 (define-function empathy_text_buffer_tag_set
2132   (c-name "empathy_text_buffer_tag_set")
2133   (return-type "GtkTextTag*")
2134   (parameters
2135     '("GtkTextBuffer*" "buffer")
2136     '("const-gchar*" "tag_name")
2137     '("const-gchar*" "first_property_name")
2138   )
2139   (varargs #t)
2140 )
2141