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