]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
d9401f6db93bfe48162465859ac1ac4465efe369
[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 CellRendererExpander
11   (in-module "Empathy")
12   (parent "GtkCellRenderer")
13   (c-name "EmpathyCellRendererExpander")
14   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_EXPANDER")
15 )
16
17 (define-object CellRendererText
18   (in-module "Empathy")
19   (parent "GtkCellRendererText")
20   (c-name "EmpathyCellRendererText")
21   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_TEXT")
22 )
23
24 (define-object Chat
25   (in-module "Empathy")
26   (parent "GObject")
27   (c-name "EmpathyChat")
28   (gtype-id "EMPATHY_TYPE_CHAT")
29 )
30
31 (define-object ChatView
32   (in-module "Empathy")
33   (parent "GtkTextView")
34   (c-name "EmpathyChatView")
35   (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
36 )
37
38 (define-object ChatWindow
39   (in-module "Empathy")
40   (parent "GObject")
41   (c-name "EmpathyChatWindow")
42   (gtype-id "EMPATHY_TYPE_CHAT_WINDOW")
43 )
44
45 (define-object ContactListStore
46   (in-module "Empathy")
47   (parent "GtkTreeStore")
48   (c-name "EmpathyContactListStore")
49   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
50 )
51
52 (define-object ContactListView
53   (in-module "Empathy")
54   (parent "GtkTreeView")
55   (c-name "EmpathyContactListView")
56   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
57 )
58
59 (define-object GroupChat
60   (in-module "Empathy")
61   (parent "EmpathyChat")
62   (c-name "EmpathyGroupChat")
63   (gtype-id "EMPATHY_TYPE_GROUP_CHAT")
64 )
65
66 (define-object PresenceChooser
67   (in-module "Empathy")
68   (parent "GtkToggleButton")
69   (c-name "EmpathyPresenceChooser")
70   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
71 )
72
73 (define-object PrivateChat
74   (in-module "Empathy")
75   (parent "EmpathyChat")
76   (c-name "EmpathyPrivateChat")
77   (gtype-id "EMPATHY_TYPE_PRIVATE_CHAT")
78 )
79
80 (define-object SmileyManager
81   (in-module "Empathy")
82   (parent "GObject")
83   (c-name "EmpathySmileyManager")
84   (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
85 )
86
87 (define-object StatusIcon
88   (in-module "Empathy")
89   (parent "GObject")
90   (c-name "EmpathyStatusIcon")
91   (gtype-id "EMPATHY_TYPE_STATUS_ICON")
92 )
93
94 (define-object ThemeManager
95   (in-module "Empathy")
96   (parent "GObject")
97   (c-name "EmpathyThemeManager")
98   (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
99 )
100
101 (define-object Spinner
102   (in-module "Ephy")
103   (parent "GtkWidget")
104   (c-name "EphySpinner")
105   (gtype-id "EPHY_TYPE_SPINNER")
106 )
107
108 ;; Enumerations and flags ...
109
110 (define-enum ContactListStoreSort
111   (in-module "Empathy")
112   (c-name "EmpathyContactListStoreSort")
113   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
114   (values
115     '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
116     '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
117   )
118 )
119
120 (define-enum ContactListStoreCol
121   (in-module "Empathy")
122   (c-name "EmpathyContactListStoreCol")
123   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
124   (values
125     '("icon-status" "COL_ICON_STATUS")
126     '("pixbuf-avatar" "COL_PIXBUF_AVATAR")
127     '("pixbuf-avatar-visible" "COL_PIXBUF_AVATAR_VISIBLE")
128     '("name" "COL_NAME")
129     '("status" "COL_STATUS")
130     '("status-visible" "COL_STATUS_VISIBLE")
131     '("contact" "COL_CONTACT")
132     '("is-group" "COL_IS_GROUP")
133     '("is-active" "COL_IS_ACTIVE")
134     '("is-online" "COL_IS_ONLINE")
135     '("is-separator" "COL_IS_SEPARATOR")
136     '("count" "COL_COUNT")
137   )
138 )
139
140 (define-enum ContactWidgetType
141   (in-module "Empathy")
142   (c-name "EmpathyContactWidgetType")
143   (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_TYPE")
144   (values
145     '("show" "CONTACT_WIDGET_TYPE_SHOW")
146     '("edit" "CONTACT_WIDGET_TYPE_EDIT")
147     '("add" "CONTACT_WIDGET_TYPE_ADD")
148     '("subscription" "CONTACT_WIDGET_TYPE_SUBSCRIPTION")
149   )
150 )
151
152
153 ;; From empathy-about-dialog.h
154
155 (define-function empathy_about_dialog_new
156   (c-name "empathy_about_dialog_new")
157   (return-type "none")
158   (parameters
159     '("GtkWindow*" "parent")
160   )
161 )
162
163
164
165 ;; From empathy-account-chooser.h
166
167 (define-function empathy_account_chooser_get_type
168   (c-name "empathy_account_chooser_get_type")
169   (return-type "GType")
170 )
171
172 (define-function empathy_account_chooser_new
173   (c-name "empathy_account_chooser_new")
174   (is-constructor-of "EmpathyAccountChooser")
175   (return-type "GtkWidget*")
176 )
177
178 (define-method get_account
179   (of-object "EmpathyAccountChooser")
180   (c-name "empathy_account_chooser_get_account")
181   (return-type "McAccount*")
182 )
183
184 (define-method set_account
185   (of-object "EmpathyAccountChooser")
186   (c-name "empathy_account_chooser_set_account")
187   (return-type "gboolean")
188   (parameters
189     '("McAccount*" "account")
190   )
191 )
192
193 (define-method get_has_all_option
194   (of-object "EmpathyAccountChooser")
195   (c-name "empathy_account_chooser_get_has_all_option")
196   (return-type "gboolean")
197 )
198
199 (define-method set_has_all_option
200   (of-object "EmpathyAccountChooser")
201   (c-name "empathy_account_chooser_set_has_all_option")
202   (return-type "none")
203   (parameters
204     '("gboolean" "has_all_option")
205   )
206 )
207
208 (define-method set_filter
209   (of-object "EmpathyAccountChooser")
210   (c-name "empathy_account_chooser_set_filter")
211   (return-type "none")
212   (parameters
213     '("EmpathyAccountChooserFilterFunc" "filter")
214     '("gpointer" "user_data")
215   )
216 )
217
218 (define-function empathy_account_chooser_filter_is_connected
219   (c-name "empathy_account_chooser_filter_is_connected")
220   (return-type "gboolean")
221   (parameters
222     '("McAccount*" "account")
223     '("gpointer" "user_data")
224   )
225 )
226
227
228
229 ;; From empathy-accounts-dialog.h
230
231 (define-function empathy_accounts_dialog_show
232   (c-name "empathy_accounts_dialog_show")
233   (return-type "GtkWidget*")
234   (parameters
235     '("GtkWindow*" "parent")
236   )
237 )
238
239
240
241 ;; From empathy-account-widget-generic.h
242
243 (define-function empathy_account_widget_generic_new
244   (c-name "empathy_account_widget_generic_new")
245   (is-constructor-of "EmpathyAccountWidgetGeneric")
246   (return-type "GtkWidget*")
247   (parameters
248     '("McAccount*" "account")
249   )
250 )
251
252
253
254 ;; From empathy-account-widget-jabber.h
255
256 (define-function empathy_account_widget_jabber_new
257   (c-name "empathy_account_widget_jabber_new")
258   (is-constructor-of "EmpathyAccountWidgetJabber")
259   (return-type "GtkWidget*")
260   (parameters
261     '("McAccount*" "account")
262   )
263 )
264
265
266
267 ;; From empathy-account-widget-msn.h
268
269 (define-function empathy_account_widget_msn_new
270   (c-name "empathy_account_widget_msn_new")
271   (is-constructor-of "EmpathyAccountWidgetMsn")
272   (return-type "GtkWidget*")
273   (parameters
274     '("McAccount*" "account")
275   )
276 )
277
278
279
280 ;; From empathy-account-widget-salut.h
281
282 (define-function empathy_account_widget_salut_new
283   (c-name "empathy_account_widget_salut_new")
284   (is-constructor-of "EmpathyAccountWidgetSalut")
285   (return-type "GtkWidget*")
286   (parameters
287     '("McAccount*" "account")
288   )
289 )
290
291
292
293 ;; From empathy-cell-renderer-expander.h
294
295 (define-function empathy_cell_renderer_expander_get_type
296   (c-name "empathy_cell_renderer_expander_get_type")
297   (return-type "GType")
298 )
299
300 (define-function empathy_cell_renderer_expander_new
301   (c-name "empathy_cell_renderer_expander_new")
302   (is-constructor-of "EmpathyCellRendererExpander")
303   (return-type "GtkCellRenderer*")
304 )
305
306
307
308 ;; From empathy-cell-renderer-text.h
309
310 (define-function empathy_cell_renderer_text_get_type
311   (c-name "empathy_cell_renderer_text_get_type")
312   (return-type "GType")
313 )
314
315 (define-function empathy_cell_renderer_text_new
316   (c-name "empathy_cell_renderer_text_new")
317   (is-constructor-of "EmpathyCellRendererText")
318   (return-type "GtkCellRenderer*")
319 )
320
321
322
323 ;; From empathy-chat.h
324
325 (define-function empathy_chat_get_type
326   (c-name "empathy_chat_get_type")
327   (return-type "GType")
328 )
329
330 (define-method get_view
331   (of-object "EmpathyChat")
332   (c-name "empathy_chat_get_view")
333   (return-type "EmpathyChatView*")
334 )
335
336 (define-method get_window
337   (of-object "EmpathyChat")
338   (c-name "empathy_chat_get_window")
339   (return-type "EmpathyChatWindow*")
340 )
341
342 (define-method set_window
343   (of-object "EmpathyChat")
344   (c-name "empathy_chat_set_window")
345   (return-type "none")
346   (parameters
347     '("EmpathyChatWindow*" "window")
348   )
349 )
350
351 (define-method present
352   (of-object "EmpathyChat")
353   (c-name "empathy_chat_present")
354   (return-type "none")
355 )
356
357 (define-method clear
358   (of-object "EmpathyChat")
359   (c-name "empathy_chat_clear")
360   (return-type "none")
361 )
362
363 (define-method scroll_down
364   (of-object "EmpathyChat")
365   (c-name "empathy_chat_scroll_down")
366   (return-type "none")
367 )
368
369 (define-method cut
370   (of-object "EmpathyChat")
371   (c-name "empathy_chat_cut")
372   (return-type "none")
373 )
374
375 (define-method copy
376   (of-object "EmpathyChat")
377   (c-name "empathy_chat_copy")
378   (return-type "none")
379 )
380
381 (define-method paste
382   (of-object "EmpathyChat")
383   (c-name "empathy_chat_paste")
384   (return-type "none")
385 )
386
387 (define-method get_name
388   (of-object "EmpathyChat")
389   (c-name "empathy_chat_get_name")
390   (return-type "const-gchar*")
391 )
392
393 (define-method get_tooltip
394   (of-object "EmpathyChat")
395   (c-name "empathy_chat_get_tooltip")
396   (return-type "gchar*")
397 )
398
399 (define-method get_status_icon_name
400   (of-object "EmpathyChat")
401   (c-name "empathy_chat_get_status_icon_name")
402   (return-type "const-gchar*")
403 )
404
405 (define-method get_widget
406   (of-object "EmpathyChat")
407   (c-name "empathy_chat_get_widget")
408   (return-type "GtkWidget*")
409 )
410
411 (define-method is_group_chat
412   (of-object "EmpathyChat")
413   (c-name "empathy_chat_is_group_chat")
414   (return-type "gboolean")
415 )
416
417 (define-method is_connected
418   (of-object "EmpathyChat")
419   (c-name "empathy_chat_is_connected")
420   (return-type "gboolean")
421 )
422
423 (define-method save_geometry
424   (of-object "EmpathyChat")
425   (c-name "empathy_chat_save_geometry")
426   (return-type "none")
427   (parameters
428     '("gint" "x")
429     '("gint" "y")
430     '("gint" "w")
431     '("gint" "h")
432   )
433 )
434
435 (define-method load_geometry
436   (of-object "EmpathyChat")
437   (c-name "empathy_chat_load_geometry")
438   (return-type "none")
439   (parameters
440     '("gint*" "x")
441     '("gint*" "y")
442     '("gint*" "w")
443     '("gint*" "h")
444   )
445 )
446
447 (define-method set_tp_chat
448   (of-object "EmpathyChat")
449   (c-name "empathy_chat_set_tp_chat")
450   (return-type "none")
451   (parameters
452     '("EmpathyTpChat*" "tp_chat")
453   )
454 )
455
456 (define-method get_id
457   (of-object "EmpathyChat")
458   (c-name "empathy_chat_get_id")
459   (return-type "const-gchar*")
460 )
461
462 (define-function empathy_chat_get_is_command
463   (c-name "empathy_chat_get_is_command")
464   (return-type "gboolean")
465   (parameters
466     '("const-gchar*" "str")
467   )
468 )
469
470 (define-method correct_word
471   (of-object "EmpathyChat")
472   (c-name "empathy_chat_correct_word")
473   (return-type "none")
474   (parameters
475     '("GtkTextIter" "start")
476     '("GtkTextIter" "end")
477     '("const-gchar*" "new_word")
478   )
479 )
480
481 (define-method should_play_sound
482   (of-object "EmpathyChat")
483   (c-name "empathy_chat_should_play_sound")
484   (return-type "gboolean")
485 )
486
487 (define-function empathy_chat_should_highlight_nick
488   (c-name "empathy_chat_should_highlight_nick")
489   (return-type "gboolean")
490   (parameters
491     '("EmpathyMessage*" "message")
492   )
493 )
494
495
496
497 ;; From empathy-chatrooms-window.h
498
499 (define-function empathy_chatrooms_window_show
500   (c-name "empathy_chatrooms_window_show")
501   (return-type "none")
502   (parameters
503     '("GtkWindow*" "parent")
504   )
505 )
506
507
508
509 ;; From empathy-chat-view.h
510
511 (define-function empathy_chat_view_get_type
512   (c-name "empathy_chat_view_get_type")
513   (return-type "GType")
514 )
515
516 (define-function empathy_chat_view_new
517   (c-name "empathy_chat_view_new")
518   (is-constructor-of "EmpathyChatView")
519   (return-type "EmpathyChatView*")
520 )
521
522 (define-method append_message
523   (of-object "EmpathyChatView")
524   (c-name "empathy_chat_view_append_message")
525   (return-type "none")
526   (parameters
527     '("EmpathyMessage*" "msg")
528   )
529 )
530
531 (define-method append_event
532   (of-object "EmpathyChatView")
533   (c-name "empathy_chat_view_append_event")
534   (return-type "none")
535   (parameters
536     '("const-gchar*" "str")
537   )
538 )
539
540 (define-method append_button
541   (of-object "EmpathyChatView")
542   (c-name "empathy_chat_view_append_button")
543   (return-type "none")
544   (parameters
545     '("const-gchar*" "message")
546     '("GtkWidget*" "button1")
547     '("GtkWidget*" "button2")
548   )
549 )
550
551 (define-method set_margin
552   (of-object "EmpathyChatView")
553   (c-name "empathy_chat_view_set_margin")
554   (return-type "none")
555   (parameters
556     '("gint" "margin")
557   )
558 )
559
560 (define-method scroll
561   (of-object "EmpathyChatView")
562   (c-name "empathy_chat_view_scroll")
563   (return-type "none")
564   (parameters
565     '("gboolean" "allow_scrolling")
566   )
567 )
568
569 (define-method scroll_down
570   (of-object "EmpathyChatView")
571   (c-name "empathy_chat_view_scroll_down")
572   (return-type "none")
573 )
574
575 (define-method get_selection_bounds
576   (of-object "EmpathyChatView")
577   (c-name "empathy_chat_view_get_selection_bounds")
578   (return-type "gboolean")
579   (parameters
580     '("GtkTextIter*" "start")
581     '("GtkTextIter*" "end")
582   )
583 )
584
585 (define-method clear
586   (of-object "EmpathyChatView")
587   (c-name "empathy_chat_view_clear")
588   (return-type "none")
589 )
590
591 (define-method find_previous
592   (of-object "EmpathyChatView")
593   (c-name "empathy_chat_view_find_previous")
594   (return-type "gboolean")
595   (parameters
596     '("const-gchar*" "search_criteria")
597     '("gboolean" "new_search")
598   )
599 )
600
601 (define-method find_next
602   (of-object "EmpathyChatView")
603   (c-name "empathy_chat_view_find_next")
604   (return-type "gboolean")
605   (parameters
606     '("const-gchar*" "search_criteria")
607     '("gboolean" "new_search")
608   )
609 )
610
611 (define-method find_abilities
612   (of-object "EmpathyChatView")
613   (c-name "empathy_chat_view_find_abilities")
614   (return-type "none")
615   (parameters
616     '("const-gchar*" "search_criteria")
617     '("gboolean*" "can_do_previous")
618     '("gboolean*" "can_do_next")
619   )
620 )
621
622 (define-method highlight
623   (of-object "EmpathyChatView")
624   (c-name "empathy_chat_view_highlight")
625   (return-type "none")
626   (parameters
627     '("const-gchar*" "text")
628   )
629 )
630
631 (define-method copy_clipboard
632   (of-object "EmpathyChatView")
633   (c-name "empathy_chat_view_copy_clipboard")
634   (return-type "none")
635 )
636
637 (define-method set_margin
638   (of-object "EmpathyChatView")
639   (c-name "empathy_chat_view_set_margin")
640   (return-type "none")
641   (parameters
642     '("gint" "margin")
643   )
644 )
645
646 (define-function empathy_chat_view_get_smiley_menu
647   (c-name "empathy_chat_view_get_smiley_menu")
648   (return-type "GtkWidget*")
649   (parameters
650     '("GCallback" "callback")
651     '("gpointer" "user_data")
652     '("GtkTooltips*" "tooltips")
653   )
654 )
655
656 (define-method set_is_group_chat
657   (of-object "EmpathyChatView")
658   (c-name "empathy_chat_view_set_is_group_chat")
659   (return-type "none")
660   (parameters
661     '("gboolean" "is_group_chat")
662   )
663 )
664
665
666
667 ;; From empathy-chat-window.h
668
669 (define-function empathy_chat_window_get_type
670   (c-name "empathy_chat_window_get_type")
671   (return-type "GType")
672 )
673
674 (define-function empathy_chat_window_get_default
675   (c-name "empathy_chat_window_get_default")
676   (return-type "EmpathyChatWindow*")
677 )
678
679 (define-function empathy_chat_window_new
680   (c-name "empathy_chat_window_new")
681   (is-constructor-of "EmpathyChatWindow")
682   (return-type "EmpathyChatWindow*")
683 )
684
685 (define-method get_dialog
686   (of-object "EmpathyChatWindow")
687   (c-name "empathy_chat_window_get_dialog")
688   (return-type "GtkWidget*")
689 )
690
691 (define-method add_chat
692   (of-object "EmpathyChatWindow")
693   (c-name "empathy_chat_window_add_chat")
694   (return-type "none")
695   (parameters
696     '("EmpathyChat*" "chat")
697   )
698 )
699
700 (define-method remove_chat
701   (of-object "EmpathyChatWindow")
702   (c-name "empathy_chat_window_remove_chat")
703   (return-type "none")
704   (parameters
705     '("EmpathyChat*" "chat")
706   )
707 )
708
709 (define-method move_chat
710   (of-object "EmpathyChatWindow")
711   (c-name "empathy_chat_window_move_chat")
712   (return-type "none")
713   (parameters
714     '("EmpathyChatWindow*" "new_window")
715     '("EmpathyChat*" "chat")
716   )
717 )
718
719 (define-method switch_to_chat
720   (of-object "EmpathyChatWindow")
721   (c-name "empathy_chat_window_switch_to_chat")
722   (return-type "none")
723   (parameters
724     '("EmpathyChat*" "chat")
725   )
726 )
727
728 (define-method has_focus
729   (of-object "EmpathyChatWindow")
730   (c-name "empathy_chat_window_has_focus")
731   (return-type "gboolean")
732 )
733
734 (define-function empathy_chat_window_find_chat
735   (c-name "empathy_chat_window_find_chat")
736   (return-type "EmpathyChat*")
737   (parameters
738     '("McAccount*" "account")
739     '("const-gchar*" "id")
740   )
741 )
742
743
744
745 ;; From empathy-contact-dialogs.h
746
747 (define-function empathy_subscription_dialog_show
748   (c-name "empathy_subscription_dialog_show")
749   (return-type "none")
750   (parameters
751     '("EmpathyContact*" "contact")
752     '("GtkWindow*" "parent")
753   )
754 )
755
756 (define-method information_dialog_show
757   (of-object "EmpathyContact")
758   (c-name "empathy_contact_information_dialog_show")
759   (return-type "none")
760   (parameters
761     '("GtkWindow*" "parent")
762     '("gboolean" "edit")
763   )
764 )
765
766 (define-function empathy_new_contact_dialog_show
767   (c-name "empathy_new_contact_dialog_show")
768   (return-type "none")
769   (parameters
770     '("GtkWindow*" "parent")
771   )
772 )
773
774
775
776 ;; From empathy-contact-groups.h
777
778 (define-function empathy_contact_groups_get_all
779   (c-name "empathy_contact_groups_get_all")
780   (return-type "none")
781 )
782
783 (define-function empathy_contact_group_get_expanded
784   (c-name "empathy_contact_group_get_expanded")
785   (return-type "gboolean")
786   (parameters
787     '("const-gchar*" "group")
788   )
789 )
790
791 (define-function empathy_contact_group_set_expanded
792   (c-name "empathy_contact_group_set_expanded")
793   (return-type "none")
794   (parameters
795     '("const-gchar*" "group")
796     '("gboolean" "expanded")
797   )
798 )
799
800
801
802 ;; From empathy-contact-list-store.h
803
804 (define-function empathy_contact_list_store_get_type
805   (c-name "empathy_contact_list_store_get_type")
806   (return-type "GType")
807 )
808
809 (define-method store_new
810   (of-object "EmpathyContactList")
811   (c-name "empathy_contact_list_store_new")
812   (return-type "EmpathyContactListStore*")
813 )
814
815 (define-method get_list_iface
816   (of-object "EmpathyContactListStore")
817   (c-name "empathy_contact_list_store_get_list_iface")
818   (return-type "EmpathyContactList*")
819 )
820
821 (define-method get_show_offline
822   (of-object "EmpathyContactListStore")
823   (c-name "empathy_contact_list_store_get_show_offline")
824   (return-type "gboolean")
825 )
826
827 (define-method set_show_offline
828   (of-object "EmpathyContactListStore")
829   (c-name "empathy_contact_list_store_set_show_offline")
830   (return-type "none")
831   (parameters
832     '("gboolean" "show_offline")
833   )
834 )
835
836 (define-method get_show_avatars
837   (of-object "EmpathyContactListStore")
838   (c-name "empathy_contact_list_store_get_show_avatars")
839   (return-type "gboolean")
840 )
841
842 (define-method set_show_avatars
843   (of-object "EmpathyContactListStore")
844   (c-name "empathy_contact_list_store_set_show_avatars")
845   (return-type "none")
846   (parameters
847     '("gboolean" "show_avatars")
848   )
849 )
850
851 (define-method get_is_compact
852   (of-object "EmpathyContactListStore")
853   (c-name "empathy_contact_list_store_get_is_compact")
854   (return-type "gboolean")
855 )
856
857 (define-method set_is_compact
858   (of-object "EmpathyContactListStore")
859   (c-name "empathy_contact_list_store_set_is_compact")
860   (return-type "none")
861   (parameters
862     '("gboolean" "is_compact")
863   )
864 )
865
866 (define-method get_sort_criterium
867   (of-object "EmpathyContactListStore")
868   (c-name "empathy_contact_list_store_get_sort_criterium")
869   (return-type "EmpathyContactListStoreSort")
870 )
871
872 (define-method set_sort_criterium
873   (of-object "EmpathyContactListStore")
874   (c-name "empathy_contact_list_store_set_sort_criterium")
875   (return-type "none")
876   (parameters
877     '("EmpathyContactListStoreSort" "sort_criterium")
878   )
879 )
880
881 (define-function empathy_contact_list_store_row_separator_func
882   (c-name "empathy_contact_list_store_row_separator_func")
883   (return-type "gboolean")
884   (parameters
885     '("GtkTreeModel*" "model")
886     '("GtkTreeIter*" "iter")
887     '("gpointer" "data")
888   )
889 )
890
891 (define-function empathy_contact_list_store_get_parent_group
892   (c-name "empathy_contact_list_store_get_parent_group")
893   (return-type "gchar*")
894   (parameters
895     '("GtkTreeModel*" "model")
896     '("GtkTreePath*" "path")
897     '("gboolean*" "path_is_group")
898   )
899 )
900
901 (define-function empathy_contact_list_store_search_equal_func
902   (c-name "empathy_contact_list_store_search_equal_func")
903   (return-type "gboolean")
904   (parameters
905     '("GtkTreeModel*" "model")
906     '("gint" "column")
907     '("const-gchar*" "key")
908     '("GtkTreeIter*" "iter")
909     '("gpointer" "search_data")
910   )
911 )
912
913
914
915 ;; From empathy-contact-list-view.h
916
917 (define-function empathy_contact_list_view_get_type
918   (c-name "empathy_contact_list_view_get_type")
919   (return-type "GType")
920 )
921
922 (define-function empathy_contact_list_view_new
923   (c-name "empathy_contact_list_view_new")
924   (is-constructor-of "EmpathyContactListView")
925   (return-type "EmpathyContactListView*")
926   (parameters
927     '("EmpathyContactListStore*" "store")
928   )
929 )
930
931 (define-method get_selected
932   (of-object "EmpathyContactListView")
933   (c-name "empathy_contact_list_view_get_selected")
934   (return-type "EmpathyContact*")
935 )
936
937 (define-method get_selected_group
938   (of-object "EmpathyContactListView")
939   (c-name "empathy_contact_list_view_get_selected_group")
940   (return-type "gchar*")
941 )
942
943 (define-method get_contact_menu
944   (of-object "EmpathyContactListView")
945   (c-name "empathy_contact_list_view_get_contact_menu")
946   (return-type "GtkWidget*")
947   (parameters
948     '("EmpathyContact*" "contact")
949   )
950 )
951
952 (define-method get_group_menu
953   (of-object "EmpathyContactListView")
954   (c-name "empathy_contact_list_view_get_group_menu")
955   (return-type "GtkWidget*")
956 )
957
958
959
960 ;; From empathy-contact-widget.h
961
962 (define-method widget_new
963   (of-object "EmpathyContact")
964   (c-name "empathy_contact_widget_new")
965   (return-type "GtkWidget*")
966   (parameters
967     '("EmpathyContactWidgetType" "type")
968   )
969 )
970
971 (define-function empathy_contact_widget_get_contact
972   (c-name "empathy_contact_widget_get_contact")
973   (return-type "EmpathyContact*")
974   (parameters
975     '("GtkWidget*" "widget")
976   )
977 )
978
979
980
981 ;; From empathy-geometry.h
982
983 (define-function empathy_geometry_save
984   (c-name "empathy_geometry_save")
985   (return-type "none")
986   (parameters
987     '("const-gchar*" "name")
988     '("gint" "x")
989     '("gint" "y")
990     '("gint" "w")
991     '("gint" "h")
992   )
993 )
994
995 (define-function empathy_geometry_load
996   (c-name "empathy_geometry_load")
997   (return-type "none")
998   (parameters
999     '("const-gchar*" "name")
1000     '("gint*" "x")
1001     '("gint*" "y")
1002     '("gint*" "w")
1003     '("gint*" "h")
1004   )
1005 )
1006
1007
1008
1009 ;; From empathy-group-chat.h
1010
1011 (define-function empathy_group_chat_get_type
1012   (c-name "empathy_group_chat_get_type")
1013   (return-type "GType")
1014 )
1015
1016 (define-function empathy_group_chat_new
1017   (c-name "empathy_group_chat_new")
1018   (is-constructor-of "EmpathyGroupChat")
1019   (return-type "EmpathyGroupChat*")
1020   (parameters
1021     '("McAccount*" "account")
1022     '("TpChan*" "tp_chan")
1023   )
1024 )
1025
1026 (define-method get_show_contacts
1027   (of-object "EmpathyGroupChat")
1028   (c-name "empathy_group_chat_get_show_contacts")
1029   (return-type "gboolean")
1030 )
1031
1032 (define-method set_show_contacts
1033   (of-object "EmpathyGroupChat")
1034   (c-name "empathy_group_chat_set_show_contacts")
1035   (return-type "none")
1036   (parameters
1037     '("gboolean" "show")
1038   )
1039 )
1040
1041 (define-method set_topic
1042   (of-object "EmpathyGroupChat")
1043   (c-name "empathy_group_chat_set_topic")
1044   (return-type "none")
1045 )
1046
1047
1048
1049 ;; From empathy-images.h
1050
1051
1052
1053 ;; From empathy-log-window.h
1054
1055 (define-function empathy_log_window_show
1056   (c-name "empathy_log_window_show")
1057   (return-type "none")
1058   (parameters
1059     '("McAccount*" "account")
1060     '("const-gchar*" "chat_id")
1061     '("gboolean" "chatroom")
1062     '("GtkWindow*" "parent")
1063   )
1064 )
1065
1066
1067
1068 ;; From empathy-main-window.h
1069
1070 (define-function empathy_main_window_show
1071   (c-name "empathy_main_window_show")
1072   (return-type "GtkWidget*")
1073 )
1074
1075
1076
1077 ;; From empathy-new-chatroom-dialog.h
1078
1079 (define-function empathy_new_chatroom_dialog_show
1080   (c-name "empathy_new_chatroom_dialog_show")
1081   (return-type "none")
1082   (parameters
1083     '("GtkWindow*" "parent")
1084   )
1085 )
1086
1087
1088
1089 ;; From empathy-preferences.h
1090
1091 (define-function empathy_preferences_show
1092   (c-name "empathy_preferences_show")
1093   (return-type "GtkWidget*")
1094   (parameters
1095     '("GtkWindow*" "parent")
1096   )
1097 )
1098
1099
1100
1101 ;; From empathy-presence-chooser.h
1102
1103 (define-function empathy_presence_chooser_get_type
1104   (c-name "empathy_presence_chooser_get_type")
1105   (return-type "GType")
1106 )
1107
1108 (define-function empathy_presence_chooser_new
1109   (c-name "empathy_presence_chooser_new")
1110   (is-constructor-of "EmpathyPresenceChooser")
1111   (return-type "GtkWidget*")
1112 )
1113
1114 (define-function empathy_presence_chooser_create_menu
1115   (c-name "empathy_presence_chooser_create_menu")
1116   (return-type "GtkWidget*")
1117 )
1118
1119
1120
1121 ;; From empathy-private-chat.h
1122
1123 (define-function empathy_private_chat_get_type
1124   (c-name "empathy_private_chat_get_type")
1125   (return-type "GType")
1126 )
1127
1128 (define-function empathy_private_chat_new
1129   (c-name "empathy_private_chat_new")
1130   (is-constructor-of "EmpathyPrivateChat")
1131   (return-type "EmpathyPrivateChat*")
1132   (parameters
1133     '("McAccount*" "account")
1134     '("TpChan*" "tp_chan")
1135   )
1136 )
1137
1138 (define-method get_contact
1139   (of-object "EmpathyPrivateChat")
1140   (c-name "empathy_private_chat_get_contact")
1141   (return-type "EmpathyContact*")
1142 )
1143
1144
1145
1146 ;; From empathy-profile-chooser.h
1147
1148 (define-function empathy_profile_chooser_new
1149   (c-name "empathy_profile_chooser_new")
1150   (is-constructor-of "EmpathyProfileChooser")
1151   (return-type "GtkWidget*")
1152 )
1153
1154 (define-function empathy_profile_chooser_get_selected
1155   (c-name "empathy_profile_chooser_get_selected")
1156   (return-type "McProfile*")
1157   (parameters
1158     '("GtkWidget*" "widget")
1159   )
1160 )
1161
1162
1163
1164 ;; From empathy-smiley-manager.h
1165
1166 (define-function empathy_smiley_manager_get_type
1167   (c-name "empathy_smiley_manager_get_type")
1168   (return-type "GType")
1169 )
1170
1171 (define-function empathy_smiley_manager_new
1172   (c-name "empathy_smiley_manager_new")
1173   (is-constructor-of "EmpathySmileyManager")
1174   (return-type "EmpathySmileyManager*")
1175 )
1176
1177 (define-method load
1178   (of-object "EmpathySmileyManager")
1179   (c-name "empathy_smiley_manager_load")
1180   (return-type "none")
1181 )
1182
1183 (define-method add
1184   (of-object "EmpathySmileyManager")
1185   (c-name "empathy_smiley_manager_add")
1186   (return-type "none")
1187   (parameters
1188     '("const-gchar*" "icon_name")
1189     '("const-gchar*" "first_str")
1190   )
1191   (varargs #t)
1192 )
1193
1194 (define-method add_from_pixbuf
1195   (of-object "EmpathySmileyManager")
1196   (c-name "empathy_smiley_manager_add_from_pixbuf")
1197   (return-type "none")
1198   (parameters
1199     '("GdkPixbuf*" "smiley")
1200     '("const-gchar*" "first_str")
1201   )
1202   (varargs #t)
1203 )
1204
1205 (define-method get_all
1206   (of-object "EmpathySmileyManager")
1207   (c-name "empathy_smiley_manager_get_all")
1208   (return-type "GSList*")
1209 )
1210
1211 (define-method parse
1212   (of-object "EmpathySmileyManager")
1213   (c-name "empathy_smiley_manager_parse")
1214   (return-type "GSList*")
1215   (parameters
1216     '("const-gchar*" "text")
1217   )
1218 )
1219
1220 (define-method free
1221   (of-object "EmpathySmiley")
1222   (c-name "empathy_smiley_free")
1223   (return-type "none")
1224 )
1225
1226
1227
1228 ;; From empathy-spell-dialog.h
1229
1230 (define-function empathy_spell_dialog_show
1231   (c-name "empathy_spell_dialog_show")
1232   (return-type "none")
1233   (parameters
1234     '("EmpathyChat*" "chat")
1235     '("GtkTextIter" "start")
1236     '("GtkTextIter" "end")
1237     '("const-gchar*" "word")
1238   )
1239 )
1240
1241
1242
1243 ;; From empathy-spell.h
1244
1245 (define-function empathy_spell_supported
1246   (c-name "empathy_spell_supported")
1247   (return-type "gboolean")
1248 )
1249
1250 (define-function empathy_spell_get_language_name
1251   (c-name "empathy_spell_get_language_name")
1252   (return-type "const-gchar*")
1253   (parameters
1254     '("const-gchar*" "code")
1255   )
1256 )
1257
1258 (define-function empathy_spell_get_language_codes
1259   (c-name "empathy_spell_get_language_codes")
1260   (return-type "GList*")
1261 )
1262
1263 (define-function empathy_spell_free_language_codes
1264   (c-name "empathy_spell_free_language_codes")
1265   (return-type "none")
1266   (parameters
1267     '("GList*" "codes")
1268   )
1269 )
1270
1271 (define-function empathy_spell_check
1272   (c-name "empathy_spell_check")
1273   (return-type "gboolean")
1274   (parameters
1275     '("const-gchar*" "word")
1276   )
1277 )
1278
1279 (define-function empathy_spell_get_suggestions
1280   (c-name "empathy_spell_get_suggestions")
1281   (return-type "GList*")
1282   (parameters
1283     '("const-gchar*" "word")
1284   )
1285 )
1286
1287 (define-function empathy_spell_free_suggestions
1288   (c-name "empathy_spell_free_suggestions")
1289   (return-type "none")
1290   (parameters
1291     '("GList*" "suggestions")
1292   )
1293 )
1294
1295
1296
1297 ;; From empathy-status-icon.h
1298
1299 (define-function empathy_status_icon_get_type
1300   (c-name "empathy_status_icon_get_type")
1301   (return-type "GType")
1302 )
1303
1304 (define-function empathy_status_icon_new
1305   (c-name "empathy_status_icon_new")
1306   (is-constructor-of "EmpathyStatusIcon")
1307   (return-type "EmpathyStatusIcon*")
1308   (parameters
1309     '("GtkWindow*" "window")
1310   )
1311 )
1312
1313
1314
1315 ;; From empathy-status-presets.h
1316
1317 (define-function empathy_status_presets_get_all
1318   (c-name "empathy_status_presets_get_all")
1319   (return-type "none")
1320 )
1321
1322 (define-function empathy_status_presets_get
1323   (c-name "empathy_status_presets_get")
1324   (return-type "GList*")
1325   (parameters
1326     '("McPresence" "state")
1327     '("gint" "max_number")
1328   )
1329 )
1330
1331 (define-function empathy_status_presets_set_last
1332   (c-name "empathy_status_presets_set_last")
1333   (return-type "none")
1334   (parameters
1335     '("McPresence" "state")
1336     '("const-gchar*" "status")
1337   )
1338 )
1339
1340 (define-function empathy_status_presets_remove
1341   (c-name "empathy_status_presets_remove")
1342   (return-type "none")
1343   (parameters
1344     '("McPresence" "state")
1345     '("const-gchar*" "status")
1346   )
1347 )
1348
1349 (define-function empathy_status_presets_reset
1350   (c-name "empathy_status_presets_reset")
1351   (return-type "none")
1352 )
1353
1354 (define-function empathy_status_presets_get_default_state
1355   (c-name "empathy_status_presets_get_default_state")
1356   (return-type "McPresence")
1357 )
1358
1359 (define-function empathy_status_presets_get_default_status
1360   (c-name "empathy_status_presets_get_default_status")
1361   (return-type "const-gchar*")
1362 )
1363
1364 (define-function empathy_status_presets_set_default
1365   (c-name "empathy_status_presets_set_default")
1366   (return-type "none")
1367   (parameters
1368     '("McPresence" "state")
1369     '("const-gchar*" "status")
1370   )
1371 )
1372
1373 (define-function empathy_status_presets_clear_default
1374   (c-name "empathy_status_presets_clear_default")
1375   (return-type "none")
1376 )
1377
1378
1379
1380 ;; From empathy-theme-manager.h
1381
1382 (define-function empathy_theme_manager_get_type
1383   (c-name "empathy_theme_manager_get_type")
1384   (return-type "GType")
1385 )
1386
1387 (define-function empathy_theme_manager_get
1388   (c-name "empathy_theme_manager_get")
1389   (return-type "EmpathyThemeManager*")
1390 )
1391
1392 (define-function empathy_theme_manager_get_themes
1393   (c-name "empathy_theme_manager_get_themes")
1394   (return-type "const-gchar**")
1395 )
1396
1397 (define-method apply
1398   (of-object "EmpathyThemeManager")
1399   (c-name "empathy_theme_manager_apply")
1400   (return-type "none")
1401   (parameters
1402     '("EmpathyChatView*" "view")
1403     '("const-gchar*" "theme")
1404   )
1405 )
1406
1407 (define-method apply_saved
1408   (of-object "EmpathyThemeManager")
1409   (c-name "empathy_theme_manager_apply_saved")
1410   (return-type "none")
1411   (parameters
1412     '("EmpathyChatView*" "view")
1413   )
1414 )
1415
1416 (define-method update_show_avatars
1417   (of-object "EmpathyThemeManager")
1418   (c-name "empathy_theme_manager_update_show_avatars")
1419   (return-type "none")
1420   (parameters
1421     '("EmpathyChatView*" "view")
1422     '("gboolean" "show")
1423   )
1424 )
1425
1426
1427
1428 ;; From empathy-ui-utils.h
1429
1430 (define-function empathy_glade_get_file_simple
1431   (c-name "empathy_glade_get_file_simple")
1432   (return-type "none")
1433   (parameters
1434     '("const-gchar*" "filename")
1435     '("const-gchar*" "root")
1436     '("const-gchar*" "domain")
1437     '("const-gchar*" "first_required_widget")
1438   )
1439   (varargs #t)
1440 )
1441
1442 (define-function empathy_glade_get_file
1443   (c-name "empathy_glade_get_file")
1444   (return-type "GladeXML*")
1445   (parameters
1446     '("const-gchar*" "filename")
1447     '("const-gchar*" "root")
1448     '("const-gchar*" "domain")
1449     '("const-gchar*" "first_required_widget")
1450   )
1451   (varargs #t)
1452 )
1453
1454 (define-function empathy_glade_connect
1455   (c-name "empathy_glade_connect")
1456   (return-type "none")
1457   (parameters
1458     '("GladeXML*" "gui")
1459     '("gpointer" "user_data")
1460     '("gchar*" "first_widget")
1461   )
1462   (varargs #t)
1463 )
1464
1465 (define-function empathy_glade_setup_size_group
1466   (c-name "empathy_glade_setup_size_group")
1467   (return-type "none")
1468   (parameters
1469     '("GladeXML*" "gui")
1470     '("GtkSizeGroupMode" "mode")
1471     '("gchar*" "first_widget")
1472   )
1473   (varargs #t)
1474 )
1475
1476 (define-function empathy_pixbuf_from_icon_name
1477   (c-name "empathy_pixbuf_from_icon_name")
1478   (return-type "GdkPixbuf*")
1479   (parameters
1480     '("const-gchar*" "icon_name")
1481     '("GtkIconSize" "icon_size")
1482   )
1483 )
1484
1485 (define-function empathy_icon_name_from_account
1486   (c-name "empathy_icon_name_from_account")
1487   (return-type "const-gchar*")
1488   (parameters
1489     '("McAccount*" "account")
1490   )
1491 )
1492
1493 (define-function empathy_icon_name_for_presence_state
1494   (c-name "empathy_icon_name_for_presence_state")
1495   (return-type "const-gchar*")
1496   (parameters
1497     '("McPresence" "state")
1498   )
1499 )
1500
1501 (define-function empathy_icon_name_for_presence
1502   (c-name "empathy_icon_name_for_presence")
1503   (return-type "const-gchar*")
1504   (parameters
1505     '("EmpathyPresence*" "presence")
1506   )
1507 )
1508
1509 (define-function empathy_icon_name_for_contact
1510   (c-name "empathy_icon_name_for_contact")
1511   (return-type "const-gchar*")
1512   (parameters
1513     '("EmpathyContact*" "contact")
1514   )
1515 )
1516
1517 (define-function empathy_pixbuf_from_avatar_scaled
1518   (c-name "empathy_pixbuf_from_avatar_scaled")
1519   (return-type "GdkPixbuf*")
1520   (parameters
1521     '("EmpathyAvatar*" "avatar")
1522     '("gint" "width")
1523     '("gint" "height")
1524   )
1525 )
1526
1527 (define-function empathy_pixbuf_avatar_from_contact_scaled
1528   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1529   (return-type "GdkPixbuf*")
1530   (parameters
1531     '("EmpathyContact*" "contact")
1532     '("gint" "width")
1533     '("gint" "height")
1534   )
1535 )
1536
1537 (define-function empathy_text_iter_forward_search
1538   (c-name "empathy_text_iter_forward_search")
1539   (return-type "gboolean")
1540   (parameters
1541     '("const-GtkTextIter*" "iter")
1542     '("const-gchar*" "str")
1543     '("GtkTextIter*" "match_start")
1544     '("GtkTextIter*" "match_end")
1545     '("const-GtkTextIter*" "limit")
1546   )
1547 )
1548
1549 (define-function empathy_text_iter_backward_search
1550   (c-name "empathy_text_iter_backward_search")
1551   (return-type "gboolean")
1552   (parameters
1553     '("const-GtkTextIter*" "iter")
1554     '("const-gchar*" "str")
1555     '("GtkTextIter*" "match_start")
1556     '("GtkTextIter*" "match_end")
1557     '("const-GtkTextIter*" "limit")
1558   )
1559 )
1560
1561 (define-function empathy_window_get_is_visible
1562   (c-name "empathy_window_get_is_visible")
1563   (return-type "gboolean")
1564   (parameters
1565     '("GtkWindow*" "window")
1566   )
1567 )
1568
1569 (define-function empathy_window_present
1570   (c-name "empathy_window_present")
1571   (return-type "none")
1572   (parameters
1573     '("GtkWindow*" "window")
1574     '("gboolean" "steal_focus")
1575   )
1576 )
1577
1578 (define-function empathy_window_iconify
1579   (c-name "empathy_window_iconify")
1580   (return-type "none")
1581   (parameters
1582     '("GtkWindow*" "window")
1583     '("GtkStatusIcon*" "status_icon")
1584   )
1585 )
1586
1587 (define-function empathy_get_toplevel_window
1588   (c-name "empathy_get_toplevel_window")
1589   (return-type "GtkWindow*")
1590   (parameters
1591     '("GtkWidget*" "widget")
1592   )
1593 )
1594
1595 (define-function empathy_url_show
1596   (c-name "empathy_url_show")
1597   (return-type "none")
1598   (parameters
1599     '("const-char*" "url")
1600   )
1601 )
1602
1603 (define-function empathy_toggle_button_set_state_quietly
1604   (c-name "empathy_toggle_button_set_state_quietly")
1605   (return-type "none")
1606   (parameters
1607     '("GtkWidget*" "widget")
1608     '("GCallback" "callback")
1609     '("gpointer" "user_data")
1610     '("gboolean" "active")
1611   )
1612 )
1613
1614 (define-function empathy_link_button_new
1615   (c-name "empathy_link_button_new")
1616   (is-constructor-of "EmpathyLinkButton")
1617   (return-type "GtkWidget*")
1618   (parameters
1619     '("const-gchar*" "url")
1620     '("const-gchar*" "title")
1621   )
1622 )
1623
1624
1625
1626 ;; From ephy-spinner.h
1627
1628 (define-function ephy_spinner_get_type
1629   (c-name "ephy_spinner_get_type")
1630   (return-type "GType")
1631 )
1632
1633 (define-function ephy_spinner_new
1634   (c-name "ephy_spinner_new")
1635   (is-constructor-of "EphySpinner")
1636   (return-type "GtkWidget*")
1637 )
1638
1639 (define-method start
1640   (of-object "EphySpinner")
1641   (c-name "ephy_spinner_start")
1642   (return-type "none")
1643 )
1644
1645 (define-method stop
1646   (of-object "EphySpinner")
1647   (c-name "ephy_spinner_stop")
1648   (return-type "none")
1649 )
1650
1651 (define-method set_size
1652   (of-object "EphySpinner")
1653   (c-name "ephy_spinner_set_size")
1654   (return-type "none")
1655   (parameters
1656     '("GtkIconSize" "size")
1657   )
1658 )
1659
1660