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