]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
a8412437f8de6afaf51ad909e65716e5dfa96005
[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_account_filter
1353   (c-name "empathy_contact_widget_set_account_filter")
1354   (return-type "none")
1355   (parameters
1356     '("GtkWidget*" "widget")
1357     '("EmpathyAccountChooserFilterFunc" "filter")
1358     '("gpointer" "user_data")
1359   )
1360 )
1361
1362
1363
1364 ;; From empathy-geometry.h
1365
1366 (define-function empathy_geometry_save
1367   (c-name "empathy_geometry_save")
1368   (return-type "none")
1369   (parameters
1370     '("const-gchar*" "name")
1371     '("gint" "x")
1372     '("gint" "y")
1373     '("gint" "w")
1374     '("gint" "h")
1375   )
1376 )
1377
1378 (define-function empathy_geometry_load
1379   (c-name "empathy_geometry_load")
1380   (return-type "none")
1381   (parameters
1382     '("const-gchar*" "name")
1383     '("gint*" "x")
1384     '("gint*" "y")
1385     '("gint*" "w")
1386     '("gint*" "h")
1387   )
1388 )
1389
1390
1391
1392 ;; From empathy-group-chat.h
1393
1394 (define-function empathy_group_chat_get_type
1395   (c-name "empathy_group_chat_get_type")
1396   (return-type "GType")
1397 )
1398
1399 (define-function empathy_group_chat_new
1400   (c-name "empathy_group_chat_new")
1401   (is-constructor-of "EmpathyGroupChat")
1402   (return-type "EmpathyGroupChat*")
1403   (parameters
1404     '("EmpathyTpChatroom*" "tp_chat")
1405   )
1406 )
1407
1408 (define-method get_show_contacts
1409   (of-object "EmpathyGroupChat")
1410   (c-name "empathy_group_chat_get_show_contacts")
1411   (return-type "gboolean")
1412 )
1413
1414 (define-method set_show_contacts
1415   (of-object "EmpathyGroupChat")
1416   (c-name "empathy_group_chat_set_show_contacts")
1417   (return-type "none")
1418   (parameters
1419     '("gboolean" "show")
1420   )
1421 )
1422
1423 (define-method set_topic
1424   (of-object "EmpathyGroupChat")
1425   (c-name "empathy_group_chat_set_topic")
1426   (return-type "none")
1427 )
1428
1429
1430
1431 ;; From empathy-images.h
1432
1433
1434
1435 ;; From empathy-log-window.h
1436
1437 (define-function empathy_log_window_show
1438   (c-name "empathy_log_window_show")
1439   (return-type "GtkWidget*")
1440   (parameters
1441     '("McAccount*" "account")
1442     '("const-gchar*" "chat_id")
1443     '("gboolean" "chatroom")
1444     '("GtkWindow*" "parent")
1445   )
1446 )
1447
1448
1449
1450 ;; From empathy-main-window.h
1451
1452 (define-function empathy_main_window_show
1453   (c-name "empathy_main_window_show")
1454   (return-type "GtkWidget*")
1455 )
1456
1457
1458
1459 ;; From empathy-new-chatroom-dialog.h
1460
1461 (define-function empathy_new_chatroom_dialog_show
1462   (c-name "empathy_new_chatroom_dialog_show")
1463   (return-type "none")
1464   (parameters
1465     '("GtkWindow*" "parent")
1466   )
1467 )
1468
1469
1470
1471 ;; From empathy-new-message-dialog.h
1472
1473 (define-function empathy_new_message_dialog_show
1474   (c-name "empathy_new_message_dialog_show")
1475   (return-type "GtkWidget*")
1476   (parameters
1477     '("GtkWindow*" "parent")
1478   )
1479 )
1480
1481
1482
1483 ;; From empathy-preferences.h
1484
1485 (define-function empathy_preferences_show
1486   (c-name "empathy_preferences_show")
1487   (return-type "GtkWidget*")
1488   (parameters
1489     '("GtkWindow*" "parent")
1490   )
1491 )
1492
1493
1494
1495 ;; From empathy-presence-chooser.h
1496
1497 (define-function empathy_presence_chooser_get_type
1498   (c-name "empathy_presence_chooser_get_type")
1499   (return-type "GType")
1500 )
1501
1502 (define-function empathy_presence_chooser_new
1503   (c-name "empathy_presence_chooser_new")
1504   (is-constructor-of "EmpathyPresenceChooser")
1505   (return-type "GtkWidget*")
1506 )
1507
1508 (define-function empathy_presence_chooser_create_menu
1509   (c-name "empathy_presence_chooser_create_menu")
1510   (return-type "GtkWidget*")
1511 )
1512
1513
1514
1515 ;; From empathy-private-chat.h
1516
1517 (define-function empathy_private_chat_get_type
1518   (c-name "empathy_private_chat_get_type")
1519   (return-type "GType")
1520 )
1521
1522 (define-function empathy_private_chat_new
1523   (c-name "empathy_private_chat_new")
1524   (is-constructor-of "EmpathyPrivateChat")
1525   (return-type "EmpathyPrivateChat*")
1526   (parameters
1527     '("EmpathyTpChat*" "tp_chat")
1528   )
1529 )
1530
1531 (define-method get_contact
1532   (of-object "EmpathyPrivateChat")
1533   (c-name "empathy_private_chat_get_contact")
1534   (return-type "EmpathyContact*")
1535 )
1536
1537
1538
1539 ;; From empathy-profile-chooser.h
1540
1541 (define-function empathy_profile_chooser_new
1542   (c-name "empathy_profile_chooser_new")
1543   (is-constructor-of "EmpathyProfileChooser")
1544   (return-type "GtkWidget*")
1545 )
1546
1547 (define-function empathy_profile_chooser_get_selected
1548   (c-name "empathy_profile_chooser_get_selected")
1549   (return-type "McProfile*")
1550   (parameters
1551     '("GtkWidget*" "widget")
1552   )
1553 )
1554
1555 (define-function empathy_profile_chooser_n_profiles
1556   (c-name "empathy_profile_chooser_n_profiles")
1557   (return-type "gint")
1558   (parameters
1559     '("GtkWidget*" "widget")
1560   )
1561 )
1562
1563
1564
1565 ;; From empathy-smiley-manager.h
1566
1567 (define-function empathy_smiley_manager_get_type
1568   (c-name "empathy_smiley_manager_get_type")
1569   (return-type "GType")
1570 )
1571
1572 (define-function empathy_smiley_manager_new
1573   (c-name "empathy_smiley_manager_new")
1574   (is-constructor-of "EmpathySmileyManager")
1575   (return-type "EmpathySmileyManager*")
1576 )
1577
1578 (define-method load
1579   (of-object "EmpathySmileyManager")
1580   (c-name "empathy_smiley_manager_load")
1581   (return-type "none")
1582 )
1583
1584 (define-method add
1585   (of-object "EmpathySmileyManager")
1586   (c-name "empathy_smiley_manager_add")
1587   (return-type "none")
1588   (parameters
1589     '("const-gchar*" "icon_name")
1590     '("const-gchar*" "first_str")
1591   )
1592   (varargs #t)
1593 )
1594
1595 (define-method add_from_pixbuf
1596   (of-object "EmpathySmileyManager")
1597   (c-name "empathy_smiley_manager_add_from_pixbuf")
1598   (return-type "none")
1599   (parameters
1600     '("GdkPixbuf*" "smiley")
1601     '("const-gchar*" "first_str")
1602   )
1603   (varargs #t)
1604 )
1605
1606 (define-method get_all
1607   (of-object "EmpathySmileyManager")
1608   (c-name "empathy_smiley_manager_get_all")
1609   (return-type "GSList*")
1610 )
1611
1612 (define-method parse
1613   (of-object "EmpathySmileyManager")
1614   (c-name "empathy_smiley_manager_parse")
1615   (return-type "GSList*")
1616   (parameters
1617     '("const-gchar*" "text")
1618   )
1619 )
1620
1621 (define-method free
1622   (of-object "EmpathySmiley")
1623   (c-name "empathy_smiley_free")
1624   (return-type "none")
1625 )
1626
1627
1628
1629 ;; From empathy-spell-dialog.h
1630
1631 (define-function empathy_spell_dialog_show
1632   (c-name "empathy_spell_dialog_show")
1633   (return-type "none")
1634   (parameters
1635     '("EmpathyChat*" "chat")
1636     '("GtkTextIter" "start")
1637     '("GtkTextIter" "end")
1638     '("const-gchar*" "word")
1639   )
1640 )
1641
1642
1643
1644 ;; From empathy-spell.h
1645
1646 (define-function empathy_spell_supported
1647   (c-name "empathy_spell_supported")
1648   (return-type "gboolean")
1649 )
1650
1651 (define-function empathy_spell_get_language_name
1652   (c-name "empathy_spell_get_language_name")
1653   (return-type "const-gchar*")
1654   (parameters
1655     '("const-gchar*" "code")
1656   )
1657 )
1658
1659 (define-function empathy_spell_get_language_codes
1660   (c-name "empathy_spell_get_language_codes")
1661   (return-type "GList*")
1662 )
1663
1664 (define-function empathy_spell_free_language_codes
1665   (c-name "empathy_spell_free_language_codes")
1666   (return-type "none")
1667   (parameters
1668     '("GList*" "codes")
1669   )
1670 )
1671
1672 (define-function empathy_spell_check
1673   (c-name "empathy_spell_check")
1674   (return-type "gboolean")
1675   (parameters
1676     '("const-gchar*" "word")
1677   )
1678 )
1679
1680 (define-function empathy_spell_get_suggestions
1681   (c-name "empathy_spell_get_suggestions")
1682   (return-type "GList*")
1683   (parameters
1684     '("const-gchar*" "word")
1685   )
1686 )
1687
1688 (define-function empathy_spell_free_suggestions
1689   (c-name "empathy_spell_free_suggestions")
1690   (return-type "none")
1691   (parameters
1692     '("GList*" "suggestions")
1693   )
1694 )
1695
1696
1697
1698 ;; From empathy-status-icon.h
1699
1700 (define-function empathy_status_icon_get_type
1701   (c-name "empathy_status_icon_get_type")
1702   (return-type "GType")
1703 )
1704
1705 (define-function empathy_status_icon_new
1706   (c-name "empathy_status_icon_new")
1707   (is-constructor-of "EmpathyStatusIcon")
1708   (return-type "EmpathyStatusIcon*")
1709   (parameters
1710     '("GtkWindow*" "window")
1711   )
1712 )
1713
1714
1715
1716 ;; From empathy-theme-boxes.h
1717
1718 (define-function empathy_theme_boxes_get_type
1719   (c-name "empathy_theme_boxes_get_type")
1720   (return-type "GType")
1721 )
1722
1723
1724
1725 ;; From empathy-theme.h
1726
1727 (define-function empathy_theme_get_type
1728   (c-name "empathy_theme_get_type")
1729   (return-type "GType")
1730 )
1731
1732 (define-method update_view
1733   (of-object "EmpathyTheme")
1734   (c-name "empathy_theme_update_view")
1735   (return-type "none")
1736   (parameters
1737     '("EmpathyChatView*" "view")
1738   )
1739 )
1740
1741 (define-method append_message
1742   (of-object "EmpathyTheme")
1743   (c-name "empathy_theme_append_message")
1744   (return-type "none")
1745   (parameters
1746     '("EmpathyChatView*" "view")
1747     '("EmpathyMessage*" "msg")
1748   )
1749 )
1750
1751 (define-method append_text
1752   (of-object "EmpathyTheme")
1753   (c-name "empathy_theme_append_text")
1754   (return-type "none")
1755   (parameters
1756     '("EmpathyChatView*" "view")
1757     '("const-gchar*" "body")
1758     '("const-gchar*" "tag")
1759     '("const-gchar*" "link_tag")
1760   )
1761 )
1762
1763 (define-method append_spacing
1764   (of-object "EmpathyTheme")
1765   (c-name "empathy_theme_append_spacing")
1766   (return-type "none")
1767   (parameters
1768     '("EmpathyChatView*" "view")
1769   )
1770 )
1771
1772 (define-method append_event
1773   (of-object "EmpathyTheme")
1774   (c-name "empathy_theme_append_event")
1775   (return-type "none")
1776   (parameters
1777     '("EmpathyChatView*" "view")
1778     '("const-gchar*" "str")
1779   )
1780 )
1781
1782 (define-method append_timestamp
1783   (of-object "EmpathyTheme")
1784   (c-name "empathy_theme_append_timestamp")
1785   (return-type "none")
1786   (parameters
1787     '("EmpathyChatView*" "view")
1788     '("EmpathyMessage*" "message")
1789     '("gboolean" "show_date")
1790     '("gboolean" "show_time")
1791   )
1792 )
1793
1794 (define-method maybe_append_date_and_time
1795   (of-object "EmpathyTheme")
1796   (c-name "empathy_theme_maybe_append_date_and_time")
1797   (return-type "none")
1798   (parameters
1799     '("EmpathyChatView*" "view")
1800     '("EmpathyMessage*" "message")
1801   )
1802 )
1803
1804 (define-method get_show_avatars
1805   (of-object "EmpathyTheme")
1806   (c-name "empathy_theme_get_show_avatars")
1807   (return-type "gboolean")
1808 )
1809
1810 (define-method set_show_avatars
1811   (of-object "EmpathyTheme")
1812   (c-name "empathy_theme_set_show_avatars")
1813   (return-type "none")
1814   (parameters
1815     '("gboolean" "show")
1816   )
1817 )
1818
1819
1820
1821 ;; From empathy-theme-irc.h
1822
1823 (define-function empathy_theme_irc_get_type
1824   (c-name "empathy_theme_irc_get_type")
1825   (return-type "GType")
1826 )
1827
1828
1829
1830 ;; From empathy-theme-manager.h
1831
1832 (define-function empathy_theme_manager_get_type
1833   (c-name "empathy_theme_manager_get_type")
1834   (return-type "GType")
1835 )
1836
1837 (define-function empathy_theme_manager_get
1838   (c-name "empathy_theme_manager_get")
1839   (return-type "EmpathyThemeManager*")
1840 )
1841
1842 (define-function empathy_theme_manager_get_themes
1843   (c-name "empathy_theme_manager_get_themes")
1844   (return-type "const-gchar**")
1845 )
1846
1847 (define-method apply
1848   (of-object "EmpathyThemeManager")
1849   (c-name "empathy_theme_manager_apply")
1850   (return-type "none")
1851   (parameters
1852     '("EmpathyChatView*" "view")
1853     '("const-gchar*" "theme")
1854   )
1855 )
1856
1857 (define-method apply_saved
1858   (of-object "EmpathyThemeManager")
1859   (c-name "empathy_theme_manager_apply_saved")
1860   (return-type "none")
1861   (parameters
1862     '("EmpathyChatView*" "view")
1863   )
1864 )
1865
1866
1867
1868 ;; From empathy-ui-utils.h
1869
1870 (define-function empathy_glade_get_file_simple
1871   (c-name "empathy_glade_get_file_simple")
1872   (return-type "none")
1873   (parameters
1874     '("const-gchar*" "filename")
1875     '("const-gchar*" "root")
1876     '("const-gchar*" "domain")
1877     '("const-gchar*" "first_required_widget")
1878   )
1879   (varargs #t)
1880 )
1881
1882 (define-function empathy_glade_get_file
1883   (c-name "empathy_glade_get_file")
1884   (return-type "GladeXML*")
1885   (parameters
1886     '("const-gchar*" "filename")
1887     '("const-gchar*" "root")
1888     '("const-gchar*" "domain")
1889     '("const-gchar*" "first_required_widget")
1890   )
1891   (varargs #t)
1892 )
1893
1894 (define-function empathy_glade_connect
1895   (c-name "empathy_glade_connect")
1896   (return-type "none")
1897   (parameters
1898     '("GladeXML*" "gui")
1899     '("gpointer" "user_data")
1900     '("gchar*" "first_widget")
1901   )
1902   (varargs #t)
1903 )
1904
1905 (define-function empathy_glade_setup_size_group
1906   (c-name "empathy_glade_setup_size_group")
1907   (return-type "none")
1908   (parameters
1909     '("GladeXML*" "gui")
1910     '("GtkSizeGroupMode" "mode")
1911     '("gchar*" "first_widget")
1912   )
1913   (varargs #t)
1914 )
1915
1916 (define-function empathy_icon_name_from_account
1917   (c-name "empathy_icon_name_from_account")
1918   (return-type "const-gchar*")
1919   (parameters
1920     '("McAccount*" "account")
1921   )
1922 )
1923
1924 (define-function empathy_icon_name_for_presence_state
1925   (c-name "empathy_icon_name_for_presence_state")
1926   (return-type "const-gchar*")
1927   (parameters
1928     '("McPresence" "state")
1929   )
1930 )
1931
1932 (define-function empathy_icon_name_for_presence
1933   (c-name "empathy_icon_name_for_presence")
1934   (return-type "const-gchar*")
1935   (parameters
1936     '("EmpathyPresence*" "presence")
1937   )
1938 )
1939
1940 (define-function empathy_icon_name_for_contact
1941   (c-name "empathy_icon_name_for_contact")
1942   (return-type "const-gchar*")
1943   (parameters
1944     '("EmpathyContact*" "contact")
1945   )
1946 )
1947
1948 (define-function empathy_pixbuf_from_data
1949   (c-name "empathy_pixbuf_from_data")
1950   (return-type "GdkPixbuf*")
1951   (parameters
1952     '("gchar*" "data")
1953     '("gsize" "data_size")
1954   )
1955 )
1956
1957 (define-function empathy_pixbuf_from_avatar_scaled
1958   (c-name "empathy_pixbuf_from_avatar_scaled")
1959   (return-type "GdkPixbuf*")
1960   (parameters
1961     '("EmpathyAvatar*" "avatar")
1962     '("gint" "width")
1963     '("gint" "height")
1964   )
1965 )
1966
1967 (define-function empathy_pixbuf_avatar_from_contact_scaled
1968   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1969   (return-type "GdkPixbuf*")
1970   (parameters
1971     '("EmpathyContact*" "contact")
1972     '("gint" "width")
1973     '("gint" "height")
1974   )
1975 )
1976
1977 (define-function empathy_pixbuf_scale_down_if_necessary
1978   (c-name "empathy_pixbuf_scale_down_if_necessary")
1979   (return-type "GdkPixbuf*")
1980   (parameters
1981     '("GdkPixbuf*" "pixbuf")
1982     '("gint" "max_size")
1983   )
1984 )
1985
1986 (define-function empathy_pixbuf_from_icon_name
1987   (c-name "empathy_pixbuf_from_icon_name")
1988   (return-type "GdkPixbuf*")
1989   (parameters
1990     '("const-gchar*" "icon_name")
1991     '("GtkIconSize" "icon_size")
1992   )
1993 )
1994
1995 (define-function empathy_text_iter_forward_search
1996   (c-name "empathy_text_iter_forward_search")
1997   (return-type "gboolean")
1998   (parameters
1999     '("const-GtkTextIter*" "iter")
2000     '("const-gchar*" "str")
2001     '("GtkTextIter*" "match_start")
2002     '("GtkTextIter*" "match_end")
2003     '("const-GtkTextIter*" "limit")
2004   )
2005 )
2006
2007 (define-function empathy_text_iter_backward_search
2008   (c-name "empathy_text_iter_backward_search")
2009   (return-type "gboolean")
2010   (parameters
2011     '("const-GtkTextIter*" "iter")
2012     '("const-gchar*" "str")
2013     '("GtkTextIter*" "match_start")
2014     '("GtkTextIter*" "match_end")
2015     '("const-GtkTextIter*" "limit")
2016   )
2017 )
2018
2019 (define-function empathy_window_get_is_visible
2020   (c-name "empathy_window_get_is_visible")
2021   (return-type "gboolean")
2022   (parameters
2023     '("GtkWindow*" "window")
2024   )
2025 )
2026
2027 (define-function empathy_window_present
2028   (c-name "empathy_window_present")
2029   (return-type "none")
2030   (parameters
2031     '("GtkWindow*" "window")
2032     '("gboolean" "steal_focus")
2033   )
2034 )
2035
2036 (define-function empathy_window_iconify
2037   (c-name "empathy_window_iconify")
2038   (return-type "none")
2039   (parameters
2040     '("GtkWindow*" "window")
2041     '("GtkStatusIcon*" "status_icon")
2042   )
2043 )
2044
2045 (define-function empathy_get_toplevel_window
2046   (c-name "empathy_get_toplevel_window")
2047   (return-type "GtkWindow*")
2048   (parameters
2049     '("GtkWidget*" "widget")
2050   )
2051 )
2052
2053 (define-function empathy_url_show
2054   (c-name "empathy_url_show")
2055   (return-type "none")
2056   (parameters
2057     '("const-char*" "url")
2058   )
2059 )
2060
2061 (define-function empathy_toggle_button_set_state_quietly
2062   (c-name "empathy_toggle_button_set_state_quietly")
2063   (return-type "none")
2064   (parameters
2065     '("GtkWidget*" "widget")
2066     '("GCallback" "callback")
2067     '("gpointer" "user_data")
2068     '("gboolean" "active")
2069   )
2070 )
2071
2072 (define-function empathy_link_button_new
2073   (c-name "empathy_link_button_new")
2074   (is-constructor-of "EmpathyLinkButton")
2075   (return-type "GtkWidget*")
2076   (parameters
2077     '("const-gchar*" "url")
2078     '("const-gchar*" "title")
2079   )
2080 )
2081
2082 (define-function empathy_text_buffer_tag_set
2083   (c-name "empathy_text_buffer_tag_set")
2084   (return-type "GtkTextTag*")
2085   (parameters
2086     '("GtkTextBuffer*" "buffer")
2087     '("const-gchar*" "tag_name")
2088     '("const-gchar*" "first_property_name")
2089   )
2090   (varargs #t)
2091 )
2092
2093
2094
2095 ;; From ephy-spinner.h
2096
2097 (define-function ephy_spinner_get_type
2098   (c-name "ephy_spinner_get_type")
2099   (return-type "GType")
2100 )
2101
2102 (define-function ephy_spinner_new
2103   (c-name "ephy_spinner_new")
2104   (is-constructor-of "EphySpinner")
2105   (return-type "GtkWidget*")
2106 )
2107
2108 (define-method start
2109   (of-object "EphySpinner")
2110   (c-name "ephy_spinner_start")
2111   (return-type "none")
2112 )
2113
2114 (define-method stop
2115   (of-object "EphySpinner")
2116   (c-name "ephy_spinner_stop")
2117   (return-type "none")
2118 )
2119
2120 (define-method set_size
2121   (of-object "EphySpinner")
2122   (c-name "ephy_spinner_set_size")
2123   (return-type "none")
2124   (parameters
2125     '("GtkIconSize" "size")
2126   )
2127 )
2128
2129