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