]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
Add a property to have or not groups on EmpathyContactListStore
[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 ContactListStore
67   (in-module "Empathy")
68   (parent "GtkTreeStore")
69   (c-name "EmpathyContactListStore")
70   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
71 )
72
73 (define-object ContactListView
74   (in-module "Empathy")
75   (parent "GtkTreeView")
76   (c-name "EmpathyContactListView")
77   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
78 )
79
80 (define-object GroupChat
81   (in-module "Empathy")
82   (parent "EmpathyChat")
83   (c-name "EmpathyGroupChat")
84   (gtype-id "EMPATHY_TYPE_GROUP_CHAT")
85 )
86
87 (define-object PresenceChooser
88   (in-module "Empathy")
89   (parent "GtkToggleButton")
90   (c-name "EmpathyPresenceChooser")
91   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
92 )
93
94 (define-object PrivateChat
95   (in-module "Empathy")
96   (parent "EmpathyChat")
97   (c-name "EmpathyPrivateChat")
98   (gtype-id "EMPATHY_TYPE_PRIVATE_CHAT")
99 )
100
101 (define-object SmileyManager
102   (in-module "Empathy")
103   (parent "GObject")
104   (c-name "EmpathySmileyManager")
105   (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
106 )
107
108 (define-object StatusIcon
109   (in-module "Empathy")
110   (parent "GObject")
111   (c-name "EmpathyStatusIcon")
112   (gtype-id "EMPATHY_TYPE_STATUS_ICON")
113 )
114
115 (define-object Theme
116   (in-module "Empathy")
117   (parent "GObject")
118   (c-name "EmpathyTheme")
119   (gtype-id "EMPATHY_TYPE_THEME")
120 )
121
122 (define-object ThemeBoxes
123   (in-module "Empathy")
124   (parent "EmpathyTheme")
125   (c-name "EmpathyThemeBoxes")
126   (gtype-id "EMPATHY_TYPE_THEME_BOXES")
127 )
128
129 (define-object ThemeIrc
130   (in-module "Empathy")
131   (parent "EmpathyTheme")
132   (c-name "EmpathyThemeIrc")
133   (gtype-id "EMPATHY_TYPE_THEME_IRC")
134 )
135
136 (define-object ThemeManager
137   (in-module "Empathy")
138   (parent "GObject")
139   (c-name "EmpathyThemeManager")
140   (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
141 )
142
143 (define-object Spinner
144   (in-module "Ephy")
145   (parent "GtkWidget")
146   (c-name "EphySpinner")
147   (gtype-id "EPHY_TYPE_SPINNER")
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-contact-dialogs.h
987
988 (define-function empathy_subscription_dialog_show
989   (c-name "empathy_subscription_dialog_show")
990   (return-type "none")
991   (parameters
992     '("EmpathyContact*" "contact")
993     '("GtkWindow*" "parent")
994   )
995 )
996
997 (define-method information_dialog_show
998   (of-object "EmpathyContact")
999   (c-name "empathy_contact_information_dialog_show")
1000   (return-type "none")
1001   (parameters
1002     '("GtkWindow*" "parent")
1003     '("gboolean" "edit")
1004     '("gboolean" "is_user")
1005   )
1006 )
1007
1008 (define-function empathy_new_contact_dialog_show
1009   (c-name "empathy_new_contact_dialog_show")
1010   (return-type "none")
1011   (parameters
1012     '("GtkWindow*" "parent")
1013   )
1014 )
1015
1016
1017
1018 ;; From empathy-contact-groups.h
1019
1020 (define-function empathy_contact_groups_get_all
1021   (c-name "empathy_contact_groups_get_all")
1022   (return-type "none")
1023 )
1024
1025 (define-function empathy_contact_group_get_expanded
1026   (c-name "empathy_contact_group_get_expanded")
1027   (return-type "gboolean")
1028   (parameters
1029     '("const-gchar*" "group")
1030   )
1031 )
1032
1033 (define-function empathy_contact_group_set_expanded
1034   (c-name "empathy_contact_group_set_expanded")
1035   (return-type "none")
1036   (parameters
1037     '("const-gchar*" "group")
1038     '("gboolean" "expanded")
1039   )
1040 )
1041
1042
1043
1044 ;; From empathy-contact-list-store.h
1045
1046 (define-function empathy_contact_list_store_get_type
1047   (c-name "empathy_contact_list_store_get_type")
1048   (return-type "GType")
1049 )
1050
1051 (define-method store_new
1052   (of-object "EmpathyContactList")
1053   (c-name "empathy_contact_list_store_new")
1054   (return-type "EmpathyContactListStore*")
1055   (parameters
1056     '("gboolean" "show_groups")
1057   )
1058 )
1059
1060 (define-method get_list_iface
1061   (of-object "EmpathyContactListStore")
1062   (c-name "empathy_contact_list_store_get_list_iface")
1063   (return-type "EmpathyContactList*")
1064 )
1065
1066 (define-method get_show_offline
1067   (of-object "EmpathyContactListStore")
1068   (c-name "empathy_contact_list_store_get_show_offline")
1069   (return-type "gboolean")
1070 )
1071
1072 (define-method set_show_offline
1073   (of-object "EmpathyContactListStore")
1074   (c-name "empathy_contact_list_store_set_show_offline")
1075   (return-type "none")
1076   (parameters
1077     '("gboolean" "show_offline")
1078   )
1079 )
1080
1081 (define-method get_show_avatars
1082   (of-object "EmpathyContactListStore")
1083   (c-name "empathy_contact_list_store_get_show_avatars")
1084   (return-type "gboolean")
1085 )
1086
1087 (define-method set_show_avatars
1088   (of-object "EmpathyContactListStore")
1089   (c-name "empathy_contact_list_store_set_show_avatars")
1090   (return-type "none")
1091   (parameters
1092     '("gboolean" "show_avatars")
1093   )
1094 )
1095
1096 (define-method get_show_groups
1097   (of-object "EmpathyContactListStore")
1098   (c-name "empathy_contact_list_store_get_show_groups")
1099   (return-type "gboolean")
1100 )
1101
1102 (define-method set_show_groups
1103   (of-object "EmpathyContactListStore")
1104   (c-name "empathy_contact_list_store_set_show_groups")
1105   (return-type "none")
1106   (parameters
1107     '("gboolean" "show_groups")
1108   )
1109 )
1110
1111 (define-method get_is_compact
1112   (of-object "EmpathyContactListStore")
1113   (c-name "empathy_contact_list_store_get_is_compact")
1114   (return-type "gboolean")
1115 )
1116
1117 (define-method set_is_compact
1118   (of-object "EmpathyContactListStore")
1119   (c-name "empathy_contact_list_store_set_is_compact")
1120   (return-type "none")
1121   (parameters
1122     '("gboolean" "is_compact")
1123   )
1124 )
1125
1126 (define-method get_sort_criterium
1127   (of-object "EmpathyContactListStore")
1128   (c-name "empathy_contact_list_store_get_sort_criterium")
1129   (return-type "EmpathyContactListStoreSort")
1130 )
1131
1132 (define-method set_sort_criterium
1133   (of-object "EmpathyContactListStore")
1134   (c-name "empathy_contact_list_store_set_sort_criterium")
1135   (return-type "none")
1136   (parameters
1137     '("EmpathyContactListStoreSort" "sort_criterium")
1138   )
1139 )
1140
1141 (define-function empathy_contact_list_store_row_separator_func
1142   (c-name "empathy_contact_list_store_row_separator_func")
1143   (return-type "gboolean")
1144   (parameters
1145     '("GtkTreeModel*" "model")
1146     '("GtkTreeIter*" "iter")
1147     '("gpointer" "data")
1148   )
1149 )
1150
1151 (define-function empathy_contact_list_store_get_parent_group
1152   (c-name "empathy_contact_list_store_get_parent_group")
1153   (return-type "gchar*")
1154   (parameters
1155     '("GtkTreeModel*" "model")
1156     '("GtkTreePath*" "path")
1157     '("gboolean*" "path_is_group")
1158   )
1159 )
1160
1161 (define-function empathy_contact_list_store_search_equal_func
1162   (c-name "empathy_contact_list_store_search_equal_func")
1163   (return-type "gboolean")
1164   (parameters
1165     '("GtkTreeModel*" "model")
1166     '("gint" "column")
1167     '("const-gchar*" "key")
1168     '("GtkTreeIter*" "iter")
1169     '("gpointer" "search_data")
1170   )
1171 )
1172
1173
1174
1175 ;; From empathy-contact-list-view.h
1176
1177 (define-function empathy_contact_list_view_get_type
1178   (c-name "empathy_contact_list_view_get_type")
1179   (return-type "GType")
1180 )
1181
1182 (define-function empathy_contact_list_view_new
1183   (c-name "empathy_contact_list_view_new")
1184   (is-constructor-of "EmpathyContactListView")
1185   (return-type "EmpathyContactListView*")
1186   (parameters
1187     '("EmpathyContactListStore*" "store")
1188     '("EmpathyContactListFeatures" "features")
1189   )
1190 )
1191
1192 (define-method set_features
1193   (of-object "EmpathyContactListView")
1194   (c-name "empathy_contact_list_view_set_features")
1195   (return-type "none")
1196   (parameters
1197     '("EmpathyContactListFeatures" "features")
1198   )
1199 )
1200
1201 (define-method get_features
1202   (of-object "EmpathyContactListView")
1203   (c-name "empathy_contact_list_view_get_features")
1204   (return-type "EmpathyContactListFeatures")
1205 )
1206
1207 (define-method get_selected
1208   (of-object "EmpathyContactListView")
1209   (c-name "empathy_contact_list_view_get_selected")
1210   (return-type "EmpathyContact*")
1211 )
1212
1213 (define-method get_selected_group
1214   (of-object "EmpathyContactListView")
1215   (c-name "empathy_contact_list_view_get_selected_group")
1216   (return-type "gchar*")
1217 )
1218
1219 (define-method get_contact_menu
1220   (of-object "EmpathyContactListView")
1221   (c-name "empathy_contact_list_view_get_contact_menu")
1222   (return-type "GtkWidget*")
1223   (parameters
1224     '("EmpathyContact*" "contact")
1225   )
1226 )
1227
1228 (define-method get_group_menu
1229   (of-object "EmpathyContactListView")
1230   (c-name "empathy_contact_list_view_get_group_menu")
1231   (return-type "GtkWidget*")
1232 )
1233
1234
1235
1236 ;; From empathy-contact-widget.h
1237
1238 (define-method widget_new
1239   (of-object "EmpathyContact")
1240   (c-name "empathy_contact_widget_new")
1241   (return-type "GtkWidget*")
1242   (parameters
1243     '("EmpathyContactWidgetFlags" "flags")
1244   )
1245 )
1246
1247 (define-function empathy_contact_widget_get_contact
1248   (c-name "empathy_contact_widget_get_contact")
1249   (return-type "EmpathyContact*")
1250   (parameters
1251     '("GtkWidget*" "widget")
1252   )
1253 )
1254
1255 (define-function empathy_contact_widget_set_account_filter
1256   (c-name "empathy_contact_widget_set_account_filter")
1257   (return-type "none")
1258   (parameters
1259     '("GtkWidget*" "widget")
1260     '("EmpathyAccountChooserFilterFunc" "filter")
1261     '("gpointer" "user_data")
1262   )
1263 )
1264
1265
1266
1267 ;; From empathy-geometry.h
1268
1269 (define-function empathy_geometry_save
1270   (c-name "empathy_geometry_save")
1271   (return-type "none")
1272   (parameters
1273     '("const-gchar*" "name")
1274     '("gint" "x")
1275     '("gint" "y")
1276     '("gint" "w")
1277     '("gint" "h")
1278   )
1279 )
1280
1281 (define-function empathy_geometry_load
1282   (c-name "empathy_geometry_load")
1283   (return-type "none")
1284   (parameters
1285     '("const-gchar*" "name")
1286     '("gint*" "x")
1287     '("gint*" "y")
1288     '("gint*" "w")
1289     '("gint*" "h")
1290   )
1291 )
1292
1293
1294
1295 ;; From empathy-group-chat.h
1296
1297 (define-function empathy_group_chat_get_type
1298   (c-name "empathy_group_chat_get_type")
1299   (return-type "GType")
1300 )
1301
1302 (define-function empathy_group_chat_new
1303   (c-name "empathy_group_chat_new")
1304   (is-constructor-of "EmpathyGroupChat")
1305   (return-type "EmpathyGroupChat*")
1306   (parameters
1307     '("EmpathyTpChatroom*" "tp_chat")
1308   )
1309 )
1310
1311 (define-method get_show_contacts
1312   (of-object "EmpathyGroupChat")
1313   (c-name "empathy_group_chat_get_show_contacts")
1314   (return-type "gboolean")
1315 )
1316
1317 (define-method set_show_contacts
1318   (of-object "EmpathyGroupChat")
1319   (c-name "empathy_group_chat_set_show_contacts")
1320   (return-type "none")
1321   (parameters
1322     '("gboolean" "show")
1323   )
1324 )
1325
1326 (define-method set_topic
1327   (of-object "EmpathyGroupChat")
1328   (c-name "empathy_group_chat_set_topic")
1329   (return-type "none")
1330 )
1331
1332
1333
1334 ;; From empathy-gtk-enum-types.h
1335
1336 (define-function empathy_contact_widget_flags_get_type
1337   (c-name "empathy_contact_widget_flags_get_type")
1338   (return-type "GType")
1339 )
1340
1341 (define-function empathy_contact_list_store_sort_get_type
1342   (c-name "empathy_contact_list_store_sort_get_type")
1343   (return-type "GType")
1344 )
1345
1346 (define-function empathy_contact_list_store_col_get_type
1347   (c-name "empathy_contact_list_store_col_get_type")
1348   (return-type "GType")
1349 )
1350
1351 (define-function empathy_contact_list_features_get_type
1352   (c-name "empathy_contact_list_features_get_type")
1353   (return-type "GType")
1354 )
1355
1356 (define-function empathy_chat_view_block_get_type
1357   (c-name "empathy_chat_view_block_get_type")
1358   (return-type "GType")
1359 )
1360
1361
1362
1363 ;; From empathy-images.h
1364
1365
1366
1367 ;; From empathy-log-window.h
1368
1369 (define-function empathy_log_window_show
1370   (c-name "empathy_log_window_show")
1371   (return-type "GtkWidget*")
1372   (parameters
1373     '("McAccount*" "account")
1374     '("const-gchar*" "chat_id")
1375     '("gboolean" "chatroom")
1376     '("GtkWindow*" "parent")
1377   )
1378 )
1379
1380
1381
1382 ;; From empathy-main-window.h
1383
1384 (define-function empathy_main_window_show
1385   (c-name "empathy_main_window_show")
1386   (return-type "GtkWidget*")
1387 )
1388
1389
1390
1391 ;; From empathy-new-chatroom-dialog.h
1392
1393 (define-function empathy_new_chatroom_dialog_show
1394   (c-name "empathy_new_chatroom_dialog_show")
1395   (return-type "none")
1396   (parameters
1397     '("GtkWindow*" "parent")
1398   )
1399 )
1400
1401
1402
1403 ;; From empathy-new-message-dialog.h
1404
1405 (define-function empathy_new_message_dialog_show
1406   (c-name "empathy_new_message_dialog_show")
1407   (return-type "GtkWidget*")
1408   (parameters
1409     '("GtkWindow*" "parent")
1410   )
1411 )
1412
1413
1414
1415 ;; From empathy-preferences.h
1416
1417 (define-function empathy_preferences_show
1418   (c-name "empathy_preferences_show")
1419   (return-type "GtkWidget*")
1420   (parameters
1421     '("GtkWindow*" "parent")
1422   )
1423 )
1424
1425
1426
1427 ;; From empathy-presence-chooser.h
1428
1429 (define-function empathy_presence_chooser_get_type
1430   (c-name "empathy_presence_chooser_get_type")
1431   (return-type "GType")
1432 )
1433
1434 (define-function empathy_presence_chooser_new
1435   (c-name "empathy_presence_chooser_new")
1436   (is-constructor-of "EmpathyPresenceChooser")
1437   (return-type "GtkWidget*")
1438 )
1439
1440 (define-function empathy_presence_chooser_create_menu
1441   (c-name "empathy_presence_chooser_create_menu")
1442   (return-type "GtkWidget*")
1443 )
1444
1445
1446
1447 ;; From empathy-private-chat.h
1448
1449 (define-function empathy_private_chat_get_type
1450   (c-name "empathy_private_chat_get_type")
1451   (return-type "GType")
1452 )
1453
1454 (define-function empathy_private_chat_new
1455   (c-name "empathy_private_chat_new")
1456   (is-constructor-of "EmpathyPrivateChat")
1457   (return-type "EmpathyPrivateChat*")
1458   (parameters
1459     '("EmpathyTpChat*" "tp_chat")
1460   )
1461 )
1462
1463 (define-method get_contact
1464   (of-object "EmpathyPrivateChat")
1465   (c-name "empathy_private_chat_get_contact")
1466   (return-type "EmpathyContact*")
1467 )
1468
1469
1470
1471 ;; From empathy-profile-chooser.h
1472
1473 (define-function empathy_profile_chooser_new
1474   (c-name "empathy_profile_chooser_new")
1475   (is-constructor-of "EmpathyProfileChooser")
1476   (return-type "GtkWidget*")
1477 )
1478
1479 (define-function empathy_profile_chooser_get_selected
1480   (c-name "empathy_profile_chooser_get_selected")
1481   (return-type "McProfile*")
1482   (parameters
1483     '("GtkWidget*" "widget")
1484   )
1485 )
1486
1487 (define-function empathy_profile_chooser_n_profiles
1488   (c-name "empathy_profile_chooser_n_profiles")
1489   (return-type "gint")
1490   (parameters
1491     '("GtkWidget*" "widget")
1492   )
1493 )
1494
1495
1496
1497 ;; From empathy-smiley-manager.h
1498
1499 (define-function empathy_smiley_manager_get_type
1500   (c-name "empathy_smiley_manager_get_type")
1501   (return-type "GType")
1502 )
1503
1504 (define-function empathy_smiley_manager_new
1505   (c-name "empathy_smiley_manager_new")
1506   (is-constructor-of "EmpathySmileyManager")
1507   (return-type "EmpathySmileyManager*")
1508 )
1509
1510 (define-method load
1511   (of-object "EmpathySmileyManager")
1512   (c-name "empathy_smiley_manager_load")
1513   (return-type "none")
1514 )
1515
1516 (define-method add
1517   (of-object "EmpathySmileyManager")
1518   (c-name "empathy_smiley_manager_add")
1519   (return-type "none")
1520   (parameters
1521     '("const-gchar*" "icon_name")
1522     '("const-gchar*" "first_str")
1523   )
1524   (varargs #t)
1525 )
1526
1527 (define-method add_from_pixbuf
1528   (of-object "EmpathySmileyManager")
1529   (c-name "empathy_smiley_manager_add_from_pixbuf")
1530   (return-type "none")
1531   (parameters
1532     '("GdkPixbuf*" "smiley")
1533     '("const-gchar*" "first_str")
1534   )
1535   (varargs #t)
1536 )
1537
1538 (define-method get_all
1539   (of-object "EmpathySmileyManager")
1540   (c-name "empathy_smiley_manager_get_all")
1541   (return-type "GSList*")
1542 )
1543
1544 (define-method parse
1545   (of-object "EmpathySmileyManager")
1546   (c-name "empathy_smiley_manager_parse")
1547   (return-type "GSList*")
1548   (parameters
1549     '("const-gchar*" "text")
1550   )
1551 )
1552
1553 (define-method free
1554   (of-object "EmpathySmiley")
1555   (c-name "empathy_smiley_free")
1556   (return-type "none")
1557 )
1558
1559
1560
1561 ;; From empathy-spell-dialog.h
1562
1563 (define-function empathy_spell_dialog_show
1564   (c-name "empathy_spell_dialog_show")
1565   (return-type "none")
1566   (parameters
1567     '("EmpathyChat*" "chat")
1568     '("GtkTextIter" "start")
1569     '("GtkTextIter" "end")
1570     '("const-gchar*" "word")
1571   )
1572 )
1573
1574
1575
1576 ;; From empathy-spell.h
1577
1578 (define-function empathy_spell_supported
1579   (c-name "empathy_spell_supported")
1580   (return-type "gboolean")
1581 )
1582
1583 (define-function empathy_spell_get_language_name
1584   (c-name "empathy_spell_get_language_name")
1585   (return-type "const-gchar*")
1586   (parameters
1587     '("const-gchar*" "code")
1588   )
1589 )
1590
1591 (define-function empathy_spell_get_language_codes
1592   (c-name "empathy_spell_get_language_codes")
1593   (return-type "GList*")
1594 )
1595
1596 (define-function empathy_spell_free_language_codes
1597   (c-name "empathy_spell_free_language_codes")
1598   (return-type "none")
1599   (parameters
1600     '("GList*" "codes")
1601   )
1602 )
1603
1604 (define-function empathy_spell_check
1605   (c-name "empathy_spell_check")
1606   (return-type "gboolean")
1607   (parameters
1608     '("const-gchar*" "word")
1609   )
1610 )
1611
1612 (define-function empathy_spell_get_suggestions
1613   (c-name "empathy_spell_get_suggestions")
1614   (return-type "GList*")
1615   (parameters
1616     '("const-gchar*" "word")
1617   )
1618 )
1619
1620 (define-function empathy_spell_free_suggestions
1621   (c-name "empathy_spell_free_suggestions")
1622   (return-type "none")
1623   (parameters
1624     '("GList*" "suggestions")
1625   )
1626 )
1627
1628
1629
1630 ;; From empathy-status-icon.h
1631
1632 (define-function empathy_status_icon_get_type
1633   (c-name "empathy_status_icon_get_type")
1634   (return-type "GType")
1635 )
1636
1637 (define-function empathy_status_icon_new
1638   (c-name "empathy_status_icon_new")
1639   (is-constructor-of "EmpathyStatusIcon")
1640   (return-type "EmpathyStatusIcon*")
1641   (parameters
1642     '("GtkWindow*" "window")
1643   )
1644 )
1645
1646
1647
1648 ;; From empathy-status-presets.h
1649
1650 (define-function empathy_status_presets_get_all
1651   (c-name "empathy_status_presets_get_all")
1652   (return-type "none")
1653 )
1654
1655 (define-function empathy_status_presets_get
1656   (c-name "empathy_status_presets_get")
1657   (return-type "GList*")
1658   (parameters
1659     '("McPresence" "state")
1660     '("gint" "max_number")
1661   )
1662 )
1663
1664 (define-function empathy_status_presets_set_last
1665   (c-name "empathy_status_presets_set_last")
1666   (return-type "none")
1667   (parameters
1668     '("McPresence" "state")
1669     '("const-gchar*" "status")
1670   )
1671 )
1672
1673 (define-function empathy_status_presets_remove
1674   (c-name "empathy_status_presets_remove")
1675   (return-type "none")
1676   (parameters
1677     '("McPresence" "state")
1678     '("const-gchar*" "status")
1679   )
1680 )
1681
1682 (define-function empathy_status_presets_reset
1683   (c-name "empathy_status_presets_reset")
1684   (return-type "none")
1685 )
1686
1687 (define-function empathy_status_presets_get_default_state
1688   (c-name "empathy_status_presets_get_default_state")
1689   (return-type "McPresence")
1690 )
1691
1692 (define-function empathy_status_presets_get_default_status
1693   (c-name "empathy_status_presets_get_default_status")
1694   (return-type "const-gchar*")
1695 )
1696
1697 (define-function empathy_status_presets_set_default
1698   (c-name "empathy_status_presets_set_default")
1699   (return-type "none")
1700   (parameters
1701     '("McPresence" "state")
1702     '("const-gchar*" "status")
1703   )
1704 )
1705
1706 (define-function empathy_status_presets_clear_default
1707   (c-name "empathy_status_presets_clear_default")
1708   (return-type "none")
1709 )
1710
1711
1712
1713 ;; From empathy-theme-boxes.h
1714
1715 (define-function empathy_theme_boxes_get_type
1716   (c-name "empathy_theme_boxes_get_type")
1717   (return-type "GType")
1718 )
1719
1720
1721
1722 ;; From empathy-theme.h
1723
1724 (define-function empathy_theme_get_type
1725   (c-name "empathy_theme_get_type")
1726   (return-type "GType")
1727 )
1728
1729 (define-method update_view
1730   (of-object "EmpathyTheme")
1731   (c-name "empathy_theme_update_view")
1732   (return-type "none")
1733   (parameters
1734     '("EmpathyChatView*" "view")
1735   )
1736 )
1737
1738 (define-method append_message
1739   (of-object "EmpathyTheme")
1740   (c-name "empathy_theme_append_message")
1741   (return-type "none")
1742   (parameters
1743     '("EmpathyChatView*" "view")
1744     '("EmpathyMessage*" "msg")
1745   )
1746 )
1747
1748 (define-method append_text
1749   (of-object "EmpathyTheme")
1750   (c-name "empathy_theme_append_text")
1751   (return-type "none")
1752   (parameters
1753     '("EmpathyChatView*" "view")
1754     '("const-gchar*" "body")
1755     '("const-gchar*" "tag")
1756     '("const-gchar*" "link_tag")
1757   )
1758 )
1759
1760 (define-method append_spacing
1761   (of-object "EmpathyTheme")
1762   (c-name "empathy_theme_append_spacing")
1763   (return-type "none")
1764   (parameters
1765     '("EmpathyChatView*" "view")
1766   )
1767 )
1768
1769 (define-method append_event
1770   (of-object "EmpathyTheme")
1771   (c-name "empathy_theme_append_event")
1772   (return-type "none")
1773   (parameters
1774     '("EmpathyChatView*" "view")
1775     '("const-gchar*" "str")
1776   )
1777 )
1778
1779 (define-method append_timestamp
1780   (of-object "EmpathyTheme")
1781   (c-name "empathy_theme_append_timestamp")
1782   (return-type "none")
1783   (parameters
1784     '("EmpathyChatView*" "view")
1785     '("EmpathyMessage*" "message")
1786     '("gboolean" "show_date")
1787     '("gboolean" "show_time")
1788   )
1789 )
1790
1791 (define-method maybe_append_date_and_time
1792   (of-object "EmpathyTheme")
1793   (c-name "empathy_theme_maybe_append_date_and_time")
1794   (return-type "none")
1795   (parameters
1796     '("EmpathyChatView*" "view")
1797     '("EmpathyMessage*" "message")
1798   )
1799 )
1800
1801 (define-method get_show_avatars
1802   (of-object "EmpathyTheme")
1803   (c-name "empathy_theme_get_show_avatars")
1804   (return-type "gboolean")
1805 )
1806
1807 (define-method set_show_avatars
1808   (of-object "EmpathyTheme")
1809   (c-name "empathy_theme_set_show_avatars")
1810   (return-type "none")
1811   (parameters
1812     '("gboolean" "show")
1813   )
1814 )
1815
1816
1817
1818 ;; From empathy-theme-irc.h
1819
1820 (define-function empathy_theme_irc_get_type
1821   (c-name "empathy_theme_irc_get_type")
1822   (return-type "GType")
1823 )
1824
1825
1826
1827 ;; From empathy-theme-manager.h
1828
1829 (define-function empathy_theme_manager_get_type
1830   (c-name "empathy_theme_manager_get_type")
1831   (return-type "GType")
1832 )
1833
1834 (define-function empathy_theme_manager_get
1835   (c-name "empathy_theme_manager_get")
1836   (return-type "EmpathyThemeManager*")
1837 )
1838
1839 (define-function empathy_theme_manager_get_themes
1840   (c-name "empathy_theme_manager_get_themes")
1841   (return-type "const-gchar**")
1842 )
1843
1844 (define-method apply
1845   (of-object "EmpathyThemeManager")
1846   (c-name "empathy_theme_manager_apply")
1847   (return-type "none")
1848   (parameters
1849     '("EmpathyChatView*" "view")
1850     '("const-gchar*" "theme")
1851   )
1852 )
1853
1854 (define-method apply_saved
1855   (of-object "EmpathyThemeManager")
1856   (c-name "empathy_theme_manager_apply_saved")
1857   (return-type "none")
1858   (parameters
1859     '("EmpathyChatView*" "view")
1860   )
1861 )
1862
1863
1864
1865 ;; From empathy-ui-utils.h
1866
1867 (define-function empathy_glade_get_file_simple
1868   (c-name "empathy_glade_get_file_simple")
1869   (return-type "none")
1870   (parameters
1871     '("const-gchar*" "filename")
1872     '("const-gchar*" "root")
1873     '("const-gchar*" "domain")
1874     '("const-gchar*" "first_required_widget")
1875   )
1876   (varargs #t)
1877 )
1878
1879 (define-function empathy_glade_get_file
1880   (c-name "empathy_glade_get_file")
1881   (return-type "GladeXML*")
1882   (parameters
1883     '("const-gchar*" "filename")
1884     '("const-gchar*" "root")
1885     '("const-gchar*" "domain")
1886     '("const-gchar*" "first_required_widget")
1887   )
1888   (varargs #t)
1889 )
1890
1891 (define-function empathy_glade_connect
1892   (c-name "empathy_glade_connect")
1893   (return-type "none")
1894   (parameters
1895     '("GladeXML*" "gui")
1896     '("gpointer" "user_data")
1897     '("gchar*" "first_widget")
1898   )
1899   (varargs #t)
1900 )
1901
1902 (define-function empathy_glade_setup_size_group
1903   (c-name "empathy_glade_setup_size_group")
1904   (return-type "none")
1905   (parameters
1906     '("GladeXML*" "gui")
1907     '("GtkSizeGroupMode" "mode")
1908     '("gchar*" "first_widget")
1909   )
1910   (varargs #t)
1911 )
1912
1913 (define-function empathy_icon_name_from_account
1914   (c-name "empathy_icon_name_from_account")
1915   (return-type "const-gchar*")
1916   (parameters
1917     '("McAccount*" "account")
1918   )
1919 )
1920
1921 (define-function empathy_icon_name_for_presence_state
1922   (c-name "empathy_icon_name_for_presence_state")
1923   (return-type "const-gchar*")
1924   (parameters
1925     '("McPresence" "state")
1926   )
1927 )
1928
1929 (define-function empathy_icon_name_for_presence
1930   (c-name "empathy_icon_name_for_presence")
1931   (return-type "const-gchar*")
1932   (parameters
1933     '("EmpathyPresence*" "presence")
1934   )
1935 )
1936
1937 (define-function empathy_icon_name_for_contact
1938   (c-name "empathy_icon_name_for_contact")
1939   (return-type "const-gchar*")
1940   (parameters
1941     '("EmpathyContact*" "contact")
1942   )
1943 )
1944
1945 (define-function empathy_pixbuf_from_data
1946   (c-name "empathy_pixbuf_from_data")
1947   (return-type "GdkPixbuf*")
1948   (parameters
1949     '("gchar*" "data")
1950     '("gsize" "data_size")
1951   )
1952 )
1953
1954 (define-function empathy_pixbuf_from_avatar_scaled
1955   (c-name "empathy_pixbuf_from_avatar_scaled")
1956   (return-type "GdkPixbuf*")
1957   (parameters
1958     '("EmpathyAvatar*" "avatar")
1959     '("gint" "width")
1960     '("gint" "height")
1961   )
1962 )
1963
1964 (define-function empathy_pixbuf_avatar_from_contact_scaled
1965   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1966   (return-type "GdkPixbuf*")
1967   (parameters
1968     '("EmpathyContact*" "contact")
1969     '("gint" "width")
1970     '("gint" "height")
1971   )
1972 )
1973
1974 (define-function empathy_pixbuf_scale_down_if_necessary
1975   (c-name "empathy_pixbuf_scale_down_if_necessary")
1976   (return-type "GdkPixbuf*")
1977   (parameters
1978     '("GdkPixbuf*" "pixbuf")
1979     '("gint" "max_size")
1980   )
1981 )
1982
1983 (define-function empathy_pixbuf_from_icon_name
1984   (c-name "empathy_pixbuf_from_icon_name")
1985   (return-type "GdkPixbuf*")
1986   (parameters
1987     '("const-gchar*" "icon_name")
1988     '("GtkIconSize" "icon_size")
1989   )
1990 )
1991
1992 (define-function empathy_text_iter_forward_search
1993   (c-name "empathy_text_iter_forward_search")
1994   (return-type "gboolean")
1995   (parameters
1996     '("const-GtkTextIter*" "iter")
1997     '("const-gchar*" "str")
1998     '("GtkTextIter*" "match_start")
1999     '("GtkTextIter*" "match_end")
2000     '("const-GtkTextIter*" "limit")
2001   )
2002 )
2003
2004 (define-function empathy_text_iter_backward_search
2005   (c-name "empathy_text_iter_backward_search")
2006   (return-type "gboolean")
2007   (parameters
2008     '("const-GtkTextIter*" "iter")
2009     '("const-gchar*" "str")
2010     '("GtkTextIter*" "match_start")
2011     '("GtkTextIter*" "match_end")
2012     '("const-GtkTextIter*" "limit")
2013   )
2014 )
2015
2016 (define-function empathy_window_get_is_visible
2017   (c-name "empathy_window_get_is_visible")
2018   (return-type "gboolean")
2019   (parameters
2020     '("GtkWindow*" "window")
2021   )
2022 )
2023
2024 (define-function empathy_window_present
2025   (c-name "empathy_window_present")
2026   (return-type "none")
2027   (parameters
2028     '("GtkWindow*" "window")
2029     '("gboolean" "steal_focus")
2030   )
2031 )
2032
2033 (define-function empathy_window_iconify
2034   (c-name "empathy_window_iconify")
2035   (return-type "none")
2036   (parameters
2037     '("GtkWindow*" "window")
2038     '("GtkStatusIcon*" "status_icon")
2039   )
2040 )
2041
2042 (define-function empathy_get_toplevel_window
2043   (c-name "empathy_get_toplevel_window")
2044   (return-type "GtkWindow*")
2045   (parameters
2046     '("GtkWidget*" "widget")
2047   )
2048 )
2049
2050 (define-function empathy_url_show
2051   (c-name "empathy_url_show")
2052   (return-type "none")
2053   (parameters
2054     '("const-char*" "url")
2055   )
2056 )
2057
2058 (define-function empathy_toggle_button_set_state_quietly
2059   (c-name "empathy_toggle_button_set_state_quietly")
2060   (return-type "none")
2061   (parameters
2062     '("GtkWidget*" "widget")
2063     '("GCallback" "callback")
2064     '("gpointer" "user_data")
2065     '("gboolean" "active")
2066   )
2067 )
2068
2069 (define-function empathy_link_button_new
2070   (c-name "empathy_link_button_new")
2071   (is-constructor-of "EmpathyLinkButton")
2072   (return-type "GtkWidget*")
2073   (parameters
2074     '("const-gchar*" "url")
2075     '("const-gchar*" "title")
2076   )
2077 )
2078
2079 (define-function empathy_text_buffer_tag_set
2080   (c-name "empathy_text_buffer_tag_set")
2081   (return-type "GtkTextTag*")
2082   (parameters
2083     '("GtkTextBuffer*" "buffer")
2084     '("const-gchar*" "tag_name")
2085     '("const-gchar*" "first_property_name")
2086   )
2087   (varargs #t)
2088 )
2089
2090
2091
2092 ;; From ephy-spinner.h
2093
2094 (define-function ephy_spinner_get_type
2095   (c-name "ephy_spinner_get_type")
2096   (return-type "GType")
2097 )
2098
2099 (define-function ephy_spinner_new
2100   (c-name "ephy_spinner_new")
2101   (is-constructor-of "EphySpinner")
2102   (return-type "GtkWidget*")
2103 )
2104
2105 (define-method start
2106   (of-object "EphySpinner")
2107   (c-name "ephy_spinner_start")
2108   (return-type "none")
2109 )
2110
2111 (define-method stop
2112   (of-object "EphySpinner")
2113   (c-name "ephy_spinner_stop")
2114   (return-type "none")
2115 )
2116
2117 (define-method set_size
2118   (of-object "EphySpinner")
2119   (c-name "ephy_spinner_set_size")
2120   (return-type "none")
2121   (parameters
2122     '("GtkIconSize" "size")
2123   )
2124 )
2125
2126
2127
2128 ;; From stamp-empathy-gtk-enum-types.h
2129
2130