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