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