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