]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
Update python binding to have EmpathyTpFile API.
[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 "GtkBin")
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 Conf
60   (in-module "Empathy")
61   (parent "GObject")
62   (c-name "EmpathyConf")
63   (gtype-id "EMPATHY_TYPE_CONF")
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 PresenceChooser
81   (in-module "Empathy")
82   (parent "GtkToggleButton")
83   (c-name "EmpathyPresenceChooser")
84   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
85 )
86
87 (define-object SmileyManager
88   (in-module "Empathy")
89   (parent "GObject")
90   (c-name "EmpathySmileyManager")
91   (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
92 )
93
94 (define-object Theme
95   (in-module "Empathy")
96   (parent "GObject")
97   (c-name "EmpathyTheme")
98   (gtype-id "EMPATHY_TYPE_THEME")
99 )
100
101 (define-object ThemeBoxes
102   (in-module "Empathy")
103   (parent "EmpathyTheme")
104   (c-name "EmpathyThemeBoxes")
105   (gtype-id "EMPATHY_TYPE_THEME_BOXES")
106 )
107
108 (define-object ThemeIrc
109   (in-module "Empathy")
110   (parent "EmpathyTheme")
111   (c-name "EmpathyThemeIrc")
112   (gtype-id "EMPATHY_TYPE_THEME_IRC")
113 )
114
115 (define-object ThemeManager
116   (in-module "Empathy")
117   (parent "GObject")
118   (c-name "EmpathyThemeManager")
119   (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
120 )
121
122 ;; Enumerations and flags ...
123
124 (define-enum ContactListStoreSort
125   (in-module "Empathy")
126   (c-name "EmpathyContactListStoreSort")
127   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
128   (values
129     '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
130     '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
131   )
132 )
133
134 (define-enum ContactListStoreCol
135   (in-module "Empathy")
136   (c-name "EmpathyContactListStoreCol")
137   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
138   (values
139     '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
140     '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
141     '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
142     '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
143     '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
144     '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
145     '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
146     '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
147     '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
148     '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
149     '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
150     '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
151     '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
152   )
153 )
154
155 (define-flags ContactListFeatureFlags
156   (in-module "Empathy")
157   (c-name "EmpathyContactListFeatureFlags")
158   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURE_FLAGS")
159   (values
160     '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
161     '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
162     '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
163     '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
164     '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
165     '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
166     '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
167     '("contact-tooltip" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP")
168     '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
169   )
170 )
171
172 (define-flags ContactFeatureFlags
173   (in-module "Empathy")
174   (c-name "EmpathyContactFeatureFlags")
175   (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
176   (values
177     '("none" "EMPATHY_CONTACT_FEATURE_NONE")
178     '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
179     '("call" "EMPATHY_CONTACT_FEATURE_CALL")
180     '("log" "EMPATHY_CONTACT_FEATURE_LOG")
181     '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
182     '("info" "EMPATHY_CONTACT_FEATURE_INFO")
183     '("all" "EMPATHY_CONTACT_FEATURE_ALL")
184   )
185 )
186
187 (define-flags ContactWidgetFlags
188   (in-module "Empathy")
189   (c-name "EmpathyContactWidgetFlags")
190   (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
191   (values
192     '("edit-none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
193     '("edit-alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
194     '("edit-avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
195     '("edit-account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
196     '("edit-id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
197     '("edit-groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
198     '("for-tooltip" "EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP")
199   )
200 )
201
202
203 ;; From empathy-account-chooser.h
204
205 (define-function account_chooser_get_type
206   (c-name "empathy_account_chooser_get_type")
207   (return-type "GType")
208 )
209
210 (define-function account_chooser_new
211   (c-name "empathy_account_chooser_new")
212   (is-constructor-of "EmpathyAccountChooser")
213   (return-type "GtkWidget*")
214 )
215
216 (define-method get_account
217   (of-object "EmpathyAccountChooser")
218   (c-name "empathy_account_chooser_get_account")
219   (return-type "McAccount*")
220 )
221
222 (define-method set_account
223   (of-object "EmpathyAccountChooser")
224   (c-name "empathy_account_chooser_set_account")
225   (return-type "gboolean")
226   (parameters
227     '("McAccount*" "account")
228   )
229 )
230
231 (define-method get_has_all_option
232   (of-object "EmpathyAccountChooser")
233   (c-name "empathy_account_chooser_get_has_all_option")
234   (return-type "gboolean")
235 )
236
237 (define-method set_has_all_option
238   (of-object "EmpathyAccountChooser")
239   (c-name "empathy_account_chooser_set_has_all_option")
240   (return-type "none")
241   (parameters
242     '("gboolean" "has_all_option")
243   )
244 )
245
246 (define-method set_filter
247   (of-object "EmpathyAccountChooser")
248   (c-name "empathy_account_chooser_set_filter")
249   (return-type "none")
250   (parameters
251     '("EmpathyAccountChooserFilterFunc" "filter")
252     '("gpointer" "user_data")
253   )
254 )
255
256 (define-function account_chooser_filter_is_connected
257   (c-name "empathy_account_chooser_filter_is_connected")
258   (return-type "gboolean")
259   (parameters
260     '("McAccount*" "account")
261     '("gpointer" "user_data")
262   )
263 )
264
265
266
267 ;; From empathy-account-widget.h
268
269 (define-function account_widget_handle_params
270   (c-name "empathy_account_widget_handle_params")
271   (return-type "none")
272   (parameters
273     '("McAccount*" "account")
274     '("GladeXML*" "glade")
275     '("const-gchar*" "first_widget_name")
276   )
277   (varargs #t)
278 )
279
280 (define-function account_widget_add_forget_button
281   (c-name "empathy_account_widget_add_forget_button")
282   (return-type "none")
283   (parameters
284     '("McAccount*" "account")
285     '("GladeXML*" "glade")
286     '("const-gchar*" "button")
287     '("const-gchar*" "entry")
288   )
289 )
290
291 (define-function account_widget_generic_new
292   (c-name "empathy_account_widget_generic_new")
293   (is-constructor-of "EmpathyAccountWidgetGeneric")
294   (return-type "GtkWidget*")
295   (parameters
296     '("McAccount*" "account")
297   )
298 )
299
300 (define-function account_widget_salut_new
301   (c-name "empathy_account_widget_salut_new")
302   (is-constructor-of "EmpathyAccountWidgetSalut")
303   (return-type "GtkWidget*")
304   (parameters
305     '("McAccount*" "account")
306   )
307 )
308
309 (define-function account_widget_msn_new
310   (c-name "empathy_account_widget_msn_new")
311   (is-constructor-of "EmpathyAccountWidgetMsn")
312   (return-type "GtkWidget*")
313   (parameters
314     '("McAccount*" "account")
315   )
316 )
317
318 (define-function account_widget_jabber_new
319   (c-name "empathy_account_widget_jabber_new")
320   (is-constructor-of "EmpathyAccountWidgetJabber")
321   (return-type "GtkWidget*")
322   (parameters
323     '("McAccount*" "account")
324   )
325 )
326
327 (define-function account_widget_icq_new
328   (c-name "empathy_account_widget_icq_new")
329   (is-constructor-of "EmpathyAccountWidgetIcq")
330   (return-type "GtkWidget*")
331   (parameters
332     '("McAccount*" "account")
333   )
334 )
335
336 (define-function account_widget_aim_new
337   (c-name "empathy_account_widget_aim_new")
338   (is-constructor-of "EmpathyAccountWidgetAim")
339   (return-type "GtkWidget*")
340   (parameters
341     '("McAccount*" "account")
342   )
343 )
344
345 (define-function account_widget_yahoo_new
346   (c-name "empathy_account_widget_yahoo_new")
347   (is-constructor-of "EmpathyAccountWidgetYahoo")
348   (return-type "GtkWidget*")
349   (parameters
350     '("McAccount*" "account")
351   )
352 )
353
354 (define-function account_widget_groupwise_new
355   (c-name "empathy_account_widget_groupwise_new")
356   (is-constructor-of "EmpathyAccountWidgetGroupwise")
357   (return-type "GtkWidget*")
358   (parameters
359     '("McAccount*" "account")
360   )
361 )
362
363
364
365 ;; From empathy-account-widget-irc.h
366
367 (define-function account_widget_irc_new
368   (c-name "empathy_account_widget_irc_new")
369   (is-constructor-of "EmpathyAccountWidgetIrc")
370   (return-type "GtkWidget*")
371   (parameters
372     '("McAccount*" "account")
373   )
374 )
375
376
377
378 ;; From empathy-account-widget-sip.h
379
380 (define-function account_widget_sip_new
381   (c-name "empathy_account_widget_sip_new")
382   (is-constructor-of "EmpathyAccountWidgetSip")
383   (return-type "GtkWidget*")
384   (parameters
385     '("McAccount*" "account")
386   )
387 )
388
389
390
391 ;; From empathy-avatar-chooser.h
392
393 (define-function avatar_chooser_get_type
394   (c-name "empathy_avatar_chooser_get_type")
395   (return-type "GType")
396 )
397
398 (define-function avatar_chooser_new
399   (c-name "empathy_avatar_chooser_new")
400   (is-constructor-of "EmpathyAvatarChooser")
401   (return-type "GtkWidget*")
402 )
403
404 (define-method set
405   (of-object "EmpathyAvatarChooser")
406   (c-name "empathy_avatar_chooser_set")
407   (return-type "none")
408   (parameters
409     '("EmpathyAvatar*" "avatar")
410   )
411 )
412
413 (define-method get_image_data
414   (of-object "EmpathyAvatarChooser")
415   (c-name "empathy_avatar_chooser_get_image_data")
416   (return-type "none")
417   (parameters
418     '("const-gchar**" "data")
419     '("gsize*" "data_size")
420     '("const-gchar**" "mime_type")
421   )
422 )
423
424
425
426 ;; From empathy-avatar-image.h
427
428 (define-function avatar_image_get_type
429   (c-name "empathy_avatar_image_get_type")
430   (return-type "GType")
431 )
432
433 (define-function avatar_image_new
434   (c-name "empathy_avatar_image_new")
435   (is-constructor-of "EmpathyAvatarImage")
436   (return-type "GtkWidget*")
437 )
438
439 (define-method set
440   (of-object "EmpathyAvatarImage")
441   (c-name "empathy_avatar_image_set")
442   (return-type "none")
443   (parameters
444     '("EmpathyAvatar*" "avatar")
445   )
446 )
447
448
449
450 ;; From empathy-cell-renderer-activatable.h
451
452 (define-function cell_renderer_activatable_get_type
453   (c-name "empathy_cell_renderer_activatable_get_type")
454   (return-type "GType")
455 )
456
457 (define-function cell_renderer_activatable_new
458   (c-name "empathy_cell_renderer_activatable_new")
459   (is-constructor-of "EmpathyCellRendererActivatable")
460   (return-type "GtkCellRenderer*")
461 )
462
463
464
465 ;; From empathy-cell-renderer-expander.h
466
467 (define-function cell_renderer_expander_get_type
468   (c-name "empathy_cell_renderer_expander_get_type")
469   (return-type "GType")
470 )
471
472 (define-function cell_renderer_expander_new
473   (c-name "empathy_cell_renderer_expander_new")
474   (is-constructor-of "EmpathyCellRendererExpander")
475   (return-type "GtkCellRenderer*")
476 )
477
478
479
480 ;; From empathy-cell-renderer-text.h
481
482 (define-function cell_renderer_text_get_type
483   (c-name "empathy_cell_renderer_text_get_type")
484   (return-type "GType")
485 )
486
487 (define-function cell_renderer_text_new
488   (c-name "empathy_cell_renderer_text_new")
489   (is-constructor-of "EmpathyCellRendererText")
490   (return-type "GtkCellRenderer*")
491 )
492
493
494
495 ;; From empathy-chat.h
496
497 (define-function chat_get_type
498   (c-name "empathy_chat_get_type")
499   (return-type "GType")
500 )
501
502 (define-function chat_new
503   (c-name "empathy_chat_new")
504   (is-constructor-of "EmpathyChat")
505   (return-type "EmpathyChat*")
506   (parameters
507     '("EmpathyTpChat*" "tp_chat")
508   )
509 )
510
511 (define-method get_tp_chat
512   (of-object "EmpathyChat")
513   (c-name "empathy_chat_get_tp_chat")
514   (return-type "EmpathyTpChat*")
515 )
516
517 (define-method set_tp_chat
518   (of-object "EmpathyChat")
519   (c-name "empathy_chat_set_tp_chat")
520   (return-type "none")
521   (parameters
522     '("EmpathyTpChat*" "tp_chat")
523   )
524 )
525
526 (define-method get_account
527   (of-object "EmpathyChat")
528   (c-name "empathy_chat_get_account")
529   (return-type "McAccount*")
530 )
531
532 (define-method get_id
533   (of-object "EmpathyChat")
534   (c-name "empathy_chat_get_id")
535   (return-type "const-gchar*")
536 )
537
538 (define-method get_name
539   (of-object "EmpathyChat")
540   (c-name "empathy_chat_get_name")
541   (return-type "const-gchar*")
542 )
543
544 (define-method get_subject
545   (of-object "EmpathyChat")
546   (c-name "empathy_chat_get_subject")
547   (return-type "const-gchar*")
548 )
549
550 (define-method get_remote_contact
551   (of-object "EmpathyChat")
552   (c-name "empathy_chat_get_remote_contact")
553   (return-type "EmpathyContact*")
554 )
555
556 (define-method get_members_count
557   (of-object "EmpathyChat")
558   (c-name "empathy_chat_get_members_count")
559   (return-type "guint")
560 )
561
562 (define-method get_contact_menu
563   (of-object "EmpathyChat")
564   (c-name "empathy_chat_get_contact_menu")
565   (return-type "GtkWidget*")
566 )
567
568 (define-method clear
569   (of-object "EmpathyChat")
570   (c-name "empathy_chat_clear")
571   (return-type "none")
572 )
573
574 (define-method scroll_down
575   (of-object "EmpathyChat")
576   (c-name "empathy_chat_scroll_down")
577   (return-type "none")
578 )
579
580 (define-method cut
581   (of-object "EmpathyChat")
582   (c-name "empathy_chat_cut")
583   (return-type "none")
584 )
585
586 (define-method copy
587   (of-object "EmpathyChat")
588   (c-name "empathy_chat_copy")
589   (return-type "none")
590 )
591
592 (define-method paste
593   (of-object "EmpathyChat")
594   (c-name "empathy_chat_paste")
595   (return-type "none")
596 )
597
598 (define-method correct_word
599   (of-object "EmpathyChat")
600   (c-name "empathy_chat_correct_word")
601   (return-type "none")
602   (parameters
603     '("GtkTextIter*" "start")
604     '("GtkTextIter*" "end")
605     '("const-gchar*" "new_word")
606   )
607 )
608
609 (define-method is_room
610   (of-object "EmpathyChat")
611   (c-name "empathy_chat_is_room")
612   (return-type "gboolean")
613 )
614
615
616
617 ;; From empathy-chat-view.h
618
619 (define-function chat_view_get_type
620   (c-name "empathy_chat_view_get_type")
621   (return-type "GType")
622 )
623
624 (define-function chat_view_new
625   (c-name "empathy_chat_view_new")
626   (is-constructor-of "EmpathyChatView")
627   (return-type "EmpathyChatView*")
628 )
629
630 (define-method append_message
631   (of-object "EmpathyChatView")
632   (c-name "empathy_chat_view_append_message")
633   (return-type "none")
634   (parameters
635     '("EmpathyMessage*" "msg")
636   )
637 )
638
639 (define-method append_event
640   (of-object "EmpathyChatView")
641   (c-name "empathy_chat_view_append_event")
642   (return-type "none")
643   (parameters
644     '("const-gchar*" "str")
645   )
646 )
647
648 (define-method append_button
649   (of-object "EmpathyChatView")
650   (c-name "empathy_chat_view_append_button")
651   (return-type "none")
652   (parameters
653     '("const-gchar*" "message")
654     '("GtkWidget*" "button1")
655     '("GtkWidget*" "button2")
656   )
657 )
658
659 (define-method scroll
660   (of-object "EmpathyChatView")
661   (c-name "empathy_chat_view_scroll")
662   (return-type "none")
663   (parameters
664     '("gboolean" "allow_scrolling")
665   )
666 )
667
668 (define-method scroll_down
669   (of-object "EmpathyChatView")
670   (c-name "empathy_chat_view_scroll_down")
671   (return-type "none")
672 )
673
674 (define-method get_selection_bounds
675   (of-object "EmpathyChatView")
676   (c-name "empathy_chat_view_get_selection_bounds")
677   (return-type "gboolean")
678   (parameters
679     '("GtkTextIter*" "start")
680     '("GtkTextIter*" "end")
681   )
682 )
683
684 (define-method clear
685   (of-object "EmpathyChatView")
686   (c-name "empathy_chat_view_clear")
687   (return-type "none")
688 )
689
690 (define-method find_previous
691   (of-object "EmpathyChatView")
692   (c-name "empathy_chat_view_find_previous")
693   (return-type "gboolean")
694   (parameters
695     '("const-gchar*" "search_criteria")
696     '("gboolean" "new_search")
697   )
698 )
699
700 (define-method find_next
701   (of-object "EmpathyChatView")
702   (c-name "empathy_chat_view_find_next")
703   (return-type "gboolean")
704   (parameters
705     '("const-gchar*" "search_criteria")
706     '("gboolean" "new_search")
707   )
708 )
709
710 (define-method find_abilities
711   (of-object "EmpathyChatView")
712   (c-name "empathy_chat_view_find_abilities")
713   (return-type "none")
714   (parameters
715     '("const-gchar*" "search_criteria")
716     '("gboolean*" "can_do_previous")
717     '("gboolean*" "can_do_next")
718   )
719 )
720
721 (define-method highlight
722   (of-object "EmpathyChatView")
723   (c-name "empathy_chat_view_highlight")
724   (return-type "none")
725   (parameters
726     '("const-gchar*" "text")
727   )
728 )
729
730 (define-method copy_clipboard
731   (of-object "EmpathyChatView")
732   (c-name "empathy_chat_view_copy_clipboard")
733   (return-type "none")
734 )
735
736 (define-method get_theme
737   (of-object "EmpathyChatView")
738   (c-name "empathy_chat_view_get_theme")
739   (return-type "EmpathyTheme*")
740 )
741
742 (define-method set_theme
743   (of-object "EmpathyChatView")
744   (c-name "empathy_chat_view_set_theme")
745   (return-type "none")
746   (parameters
747     '("EmpathyTheme*" "theme")
748   )
749 )
750
751 (define-method set_margin
752   (of-object "EmpathyChatView")
753   (c-name "empathy_chat_view_set_margin")
754   (return-type "none")
755   (parameters
756     '("gint" "margin")
757   )
758 )
759
760 (define-function chat_view_get_smiley_menu
761   (c-name "empathy_chat_view_get_smiley_menu")
762   (return-type "GtkWidget*")
763   (parameters
764     '("GCallback" "callback")
765     '("gpointer" "user_data")
766   )
767 )
768
769 (define-method get_last_timestamp
770   (of-object "EmpathyChatView")
771   (c-name "empathy_chat_view_get_last_timestamp")
772   (return-type "time_t")
773 )
774
775 (define-method set_last_timestamp
776   (of-object "EmpathyChatView")
777   (c-name "empathy_chat_view_set_last_timestamp")
778   (return-type "none")
779   (parameters
780     '("time_t" "timestamp")
781   )
782 )
783
784 (define-method get_last_contact
785   (of-object "EmpathyChatView")
786   (c-name "empathy_chat_view_get_last_contact")
787   (return-type "EmpathyContact*")
788 )
789
790 (define-function chat_view_get_avatar_pixbuf_with_cache
791   (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
792   (return-type "GdkPixbuf*")
793   (parameters
794     '("EmpathyContact*" "contact")
795   )
796 )
797
798
799
800 ;; From empathy-conf.h
801
802 (define-function conf_get_type
803   (c-name "empathy_conf_get_type")
804   (return-type "GType")
805 )
806
807 (define-function conf_get
808   (c-name "empathy_conf_get")
809   (return-type "EmpathyConf*")
810 )
811
812 (define-function conf_shutdown
813   (c-name "empathy_conf_shutdown")
814   (return-type "none")
815 )
816
817 (define-method notify_add
818   (of-object "EmpathyConf")
819   (c-name "empathy_conf_notify_add")
820   (return-type "guint")
821   (parameters
822     '("const-gchar*" "key")
823     '("EmpathyConfNotifyFunc" "func")
824     '("gpointer" "data")
825   )
826 )
827
828 (define-method notify_remove
829   (of-object "EmpathyConf")
830   (c-name "empathy_conf_notify_remove")
831   (return-type "gboolean")
832   (parameters
833     '("guint" "id")
834   )
835 )
836
837 (define-method set_int
838   (of-object "EmpathyConf")
839   (c-name "empathy_conf_set_int")
840   (return-type "gboolean")
841   (parameters
842     '("const-gchar*" "key")
843     '("gint" "value")
844   )
845 )
846
847 (define-method get_int
848   (of-object "EmpathyConf")
849   (c-name "empathy_conf_get_int")
850   (return-type "gboolean")
851   (parameters
852     '("const-gchar*" "key")
853     '("gint*" "value")
854   )
855 )
856
857 (define-method set_bool
858   (of-object "EmpathyConf")
859   (c-name "empathy_conf_set_bool")
860   (return-type "gboolean")
861   (parameters
862     '("const-gchar*" "key")
863     '("gboolean" "value")
864   )
865 )
866
867 (define-method get_bool
868   (of-object "EmpathyConf")
869   (c-name "empathy_conf_get_bool")
870   (return-type "gboolean")
871   (parameters
872     '("const-gchar*" "key")
873     '("gboolean*" "value")
874   )
875 )
876
877 (define-method set_string
878   (of-object "EmpathyConf")
879   (c-name "empathy_conf_set_string")
880   (return-type "gboolean")
881   (parameters
882     '("const-gchar*" "key")
883     '("const-gchar*" "value")
884   )
885 )
886
887 (define-method get_string
888   (of-object "EmpathyConf")
889   (c-name "empathy_conf_get_string")
890   (return-type "gboolean")
891   (parameters
892     '("const-gchar*" "key")
893     '("gchar**" "value")
894   )
895 )
896
897 (define-method set_string_list
898   (of-object "EmpathyConf")
899   (c-name "empathy_conf_set_string_list")
900   (return-type "gboolean")
901   (parameters
902     '("const-gchar*" "key")
903     '("GSList*" "value")
904   )
905 )
906
907 (define-method get_string_list
908   (of-object "EmpathyConf")
909   (c-name "empathy_conf_get_string_list")
910   (return-type "gboolean")
911   (parameters
912     '("const-gchar*" "key")
913     '("GSList**" "value")
914   )
915 )
916
917
918
919 ;; From empathy-contact-dialogs.h
920
921 (define-function subscription_dialog_show
922   (c-name "empathy_subscription_dialog_show")
923   (return-type "none")
924   (parameters
925     '("EmpathyContact*" "contact")
926     '("GtkWindow*" "parent")
927   )
928 )
929
930 (define-method information_dialog_show
931   (of-object "EmpathyContact")
932   (c-name "empathy_contact_information_dialog_show")
933   (return-type "none")
934   (parameters
935     '("GtkWindow*" "parent")
936     '("gboolean" "edit")
937     '("gboolean" "is_user")
938   )
939 )
940
941 (define-function new_contact_dialog_show
942   (c-name "empathy_new_contact_dialog_show")
943   (return-type "none")
944   (parameters
945     '("GtkWindow*" "parent")
946   )
947 )
948
949
950
951 ;; From empathy-contact-list-store.h
952
953 (define-function contact_list_store_get_type
954   (c-name "empathy_contact_list_store_get_type")
955   (return-type "GType")
956 )
957
958 (define-function empathy_contact_list_store_new
959   (is-constructor-of "EmpathyContactListStore")
960   (c-name "empathy_contact_list_store_new")
961   (return-type "EmpathyContactListStore*")
962   (parameters
963     '("EmpathyContactList*" "list_iface")
964   )
965 )
966
967 (define-method get_list_iface
968   (of-object "EmpathyContactListStore")
969   (c-name "empathy_contact_list_store_get_list_iface")
970   (return-type "EmpathyContactList*")
971 )
972
973 (define-method get_show_offline
974   (of-object "EmpathyContactListStore")
975   (c-name "empathy_contact_list_store_get_show_offline")
976   (return-type "gboolean")
977 )
978
979 (define-method set_show_offline
980   (of-object "EmpathyContactListStore")
981   (c-name "empathy_contact_list_store_set_show_offline")
982   (return-type "none")
983   (parameters
984     '("gboolean" "show_offline")
985   )
986 )
987
988 (define-method get_show_avatars
989   (of-object "EmpathyContactListStore")
990   (c-name "empathy_contact_list_store_get_show_avatars")
991   (return-type "gboolean")
992 )
993
994 (define-method set_show_avatars
995   (of-object "EmpathyContactListStore")
996   (c-name "empathy_contact_list_store_set_show_avatars")
997   (return-type "none")
998   (parameters
999     '("gboolean" "show_avatars")
1000   )
1001 )
1002
1003 (define-method get_show_groups
1004   (of-object "EmpathyContactListStore")
1005   (c-name "empathy_contact_list_store_get_show_groups")
1006   (return-type "gboolean")
1007 )
1008
1009 (define-method set_show_groups
1010   (of-object "EmpathyContactListStore")
1011   (c-name "empathy_contact_list_store_set_show_groups")
1012   (return-type "none")
1013   (parameters
1014     '("gboolean" "show_groups")
1015   )
1016 )
1017
1018 (define-method get_is_compact
1019   (of-object "EmpathyContactListStore")
1020   (c-name "empathy_contact_list_store_get_is_compact")
1021   (return-type "gboolean")
1022 )
1023
1024 (define-method set_is_compact
1025   (of-object "EmpathyContactListStore")
1026   (c-name "empathy_contact_list_store_set_is_compact")
1027   (return-type "none")
1028   (parameters
1029     '("gboolean" "is_compact")
1030   )
1031 )
1032
1033 (define-method get_sort_criterium
1034   (of-object "EmpathyContactListStore")
1035   (c-name "empathy_contact_list_store_get_sort_criterium")
1036   (return-type "EmpathyContactListStoreSort")
1037 )
1038
1039 (define-method set_sort_criterium
1040   (of-object "EmpathyContactListStore")
1041   (c-name "empathy_contact_list_store_set_sort_criterium")
1042   (return-type "none")
1043   (parameters
1044     '("EmpathyContactListStoreSort" "sort_criterium")
1045   )
1046 )
1047
1048 (define-function contact_list_store_row_separator_func
1049   (c-name "empathy_contact_list_store_row_separator_func")
1050   (return-type "gboolean")
1051   (parameters
1052     '("GtkTreeModel*" "model")
1053     '("GtkTreeIter*" "iter")
1054     '("gpointer" "data")
1055   )
1056 )
1057
1058 (define-function contact_list_store_get_parent_group
1059   (c-name "empathy_contact_list_store_get_parent_group")
1060   (return-type "gchar*")
1061   (parameters
1062     '("GtkTreeModel*" "model")
1063     '("GtkTreePath*" "path")
1064     '("gboolean*" "path_is_group")
1065   )
1066 )
1067
1068 (define-function contact_list_store_search_equal_func
1069   (c-name "empathy_contact_list_store_search_equal_func")
1070   (return-type "gboolean")
1071   (parameters
1072     '("GtkTreeModel*" "model")
1073     '("gint" "column")
1074     '("const-gchar*" "key")
1075     '("GtkTreeIter*" "iter")
1076     '("gpointer" "search_data")
1077   )
1078 )
1079
1080
1081
1082 ;; From empathy-contact-list-view.h
1083
1084 (define-function contact_list_view_get_type
1085   (c-name "empathy_contact_list_view_get_type")
1086   (return-type "GType")
1087 )
1088
1089 (define-function contact_list_view_new
1090   (c-name "empathy_contact_list_view_new")
1091   (is-constructor-of "EmpathyContactListView")
1092   (return-type "EmpathyContactListView*")
1093   (parameters
1094     '("EmpathyContactListStore*" "store")
1095     '("EmpathyContactListFeatureFlags" "list_features")
1096     '("EmpathyContactFeatureFlags" "contact_features")
1097   )
1098 )
1099
1100 (define-method get_selected
1101   (of-object "EmpathyContactListView")
1102   (c-name "empathy_contact_list_view_get_selected")
1103   (return-type "EmpathyContact*")
1104 )
1105
1106 (define-method get_selected_group
1107   (of-object "EmpathyContactListView")
1108   (c-name "empathy_contact_list_view_get_selected_group")
1109   (return-type "gchar*")
1110 )
1111
1112 (define-method get_contact_menu
1113   (of-object "EmpathyContactListView")
1114   (c-name "empathy_contact_list_view_get_contact_menu")
1115   (return-type "GtkWidget*")
1116 )
1117
1118 (define-method get_group_menu
1119   (of-object "EmpathyContactListView")
1120   (c-name "empathy_contact_list_view_get_group_menu")
1121   (return-type "GtkWidget*")
1122 )
1123
1124
1125
1126 ;; From empathy-contact-menu.h
1127
1128 (define-method menu_new
1129   (of-object "EmpathyContact")
1130   (c-name "empathy_contact_menu_new")
1131   (return-type "GtkWidget*")
1132   (parameters
1133     '("EmpathyContactFeatureFlags" "features")
1134   )
1135 )
1136
1137 (define-method chat_menu_item_new
1138   (of-object "EmpathyContact")
1139   (c-name "empathy_contact_chat_menu_item_new")
1140   (return-type "GtkWidget*")
1141 )
1142
1143 (define-method call_menu_item_new
1144   (of-object "EmpathyContact")
1145   (c-name "empathy_contact_call_menu_item_new")
1146   (return-type "GtkWidget*")
1147 )
1148
1149 (define-method log_menu_item_new
1150   (of-object "EmpathyContact")
1151   (c-name "empathy_contact_log_menu_item_new")
1152   (return-type "GtkWidget*")
1153 )
1154
1155 (define-method info_menu_item_new
1156   (of-object "EmpathyContact")
1157   (c-name "empathy_contact_info_menu_item_new")
1158   (return-type "GtkWidget*")
1159 )
1160
1161 (define-method edit_menu_item_new
1162   (of-object "EmpathyContact")
1163   (c-name "empathy_contact_edit_menu_item_new")
1164   (return-type "GtkWidget*")
1165 )
1166
1167 (define-method invite_menu_item_new
1168   (of-object "EmpathyContact")
1169   (c-name "empathy_contact_invite_menu_item_new")
1170   (return-type "GtkWidget*")
1171 )
1172
1173 (define-method file_transfer_menu_item_new
1174   (of-object "EmpathyContact")
1175   (c-name "empathy_contact_file_transfer_menu_item_new")
1176   (return-type "GtkWidget*")
1177 )
1178
1179
1180
1181 ;; From empathy-contact-widget.h
1182
1183 (define-method widget_new
1184   (of-object "EmpathyContact")
1185   (c-name "empathy_contact_widget_new")
1186   (return-type "GtkWidget*")
1187   (parameters
1188     '("EmpathyContactWidgetFlags" "flags")
1189   )
1190 )
1191
1192 (define-function contact_widget_get_contact
1193   (c-name "empathy_contact_widget_get_contact")
1194   (return-type "EmpathyContact*")
1195   (parameters
1196     '("GtkWidget*" "widget")
1197   )
1198 )
1199
1200 (define-function contact_widget_set_contact
1201   (c-name "empathy_contact_widget_set_contact")
1202   (return-type "none")
1203   (parameters
1204     '("GtkWidget*" "widget")
1205     '("EmpathyContact*" "contact")
1206   )
1207 )
1208
1209 (define-function contact_widget_set_account_filter
1210   (c-name "empathy_contact_widget_set_account_filter")
1211   (return-type "none")
1212   (parameters
1213     '("GtkWidget*" "widget")
1214     '("EmpathyAccountChooserFilterFunc" "filter")
1215     '("gpointer" "user_data")
1216   )
1217 )
1218
1219
1220
1221 ;; From empathy-geometry.h
1222
1223 (define-function geometry_save
1224   (c-name "empathy_geometry_save")
1225   (return-type "none")
1226   (parameters
1227     '("const-gchar*" "name")
1228     '("gint" "x")
1229     '("gint" "y")
1230     '("gint" "w")
1231     '("gint" "h")
1232   )
1233 )
1234
1235 (define-function geometry_load
1236   (c-name "empathy_geometry_load")
1237   (return-type "none")
1238   (parameters
1239     '("const-gchar*" "name")
1240     '("gint*" "x")
1241     '("gint*" "y")
1242     '("gint*" "w")
1243     '("gint*" "h")
1244   )
1245 )
1246
1247
1248
1249 ;; From empathy-images.h
1250
1251
1252
1253 ;; From empathy-irc-network-dialog.h
1254
1255 (define-method dialog_show
1256   (of-object "EmpathyIrcNetwork")
1257   (c-name "empathy_irc_network_dialog_show")
1258   (return-type "GtkWidget*")
1259   (parameters
1260     '("GtkWidget*" "parent")
1261   )
1262 )
1263
1264
1265
1266 ;; From empathy-log-window.h
1267
1268 (define-function log_window_show
1269   (c-name "empathy_log_window_show")
1270   (return-type "GtkWidget*")
1271   (parameters
1272     '("McAccount*" "account")
1273     '("const-gchar*" "chat_id")
1274     '("gboolean" "chatroom")
1275     '("GtkWindow*" "parent")
1276   )
1277 )
1278
1279
1280
1281 ;; From empathy-new-message-dialog.h
1282
1283 (define-function new_message_dialog_show
1284   (c-name "empathy_new_message_dialog_show")
1285   (return-type "GtkWidget*")
1286   (parameters
1287     '("GtkWindow*" "parent")
1288   )
1289 )
1290
1291
1292
1293 ;; From empathy-presence-chooser.h
1294
1295 (define-function presence_chooser_get_type
1296   (c-name "empathy_presence_chooser_get_type")
1297   (return-type "GType")
1298 )
1299
1300 (define-function presence_chooser_new
1301   (c-name "empathy_presence_chooser_new")
1302   (is-constructor-of "EmpathyPresenceChooser")
1303   (return-type "GtkWidget*")
1304 )
1305
1306 (define-function presence_chooser_create_menu
1307   (c-name "empathy_presence_chooser_create_menu")
1308   (return-type "GtkWidget*")
1309 )
1310
1311
1312
1313 ;; From empathy-profile-chooser.h
1314
1315 (define-function profile_chooser_new
1316   (c-name "empathy_profile_chooser_new")
1317   (is-constructor-of "EmpathyProfileChooser")
1318   (return-type "GtkWidget*")
1319 )
1320
1321 (define-function profile_chooser_get_selected
1322   (c-name "empathy_profile_chooser_get_selected")
1323   (return-type "McProfile*")
1324   (parameters
1325     '("GtkWidget*" "widget")
1326   )
1327 )
1328
1329 (define-function profile_chooser_n_profiles
1330   (c-name "empathy_profile_chooser_n_profiles")
1331   (return-type "gint")
1332   (parameters
1333     '("GtkWidget*" "widget")
1334   )
1335 )
1336
1337
1338
1339 ;; From empathy-smiley-manager.h
1340
1341 (define-function smiley_manager_get_type
1342   (c-name "empathy_smiley_manager_get_type")
1343   (return-type "GType")
1344 )
1345
1346 (define-function smiley_manager_new
1347   (c-name "empathy_smiley_manager_new")
1348   (is-constructor-of "EmpathySmileyManager")
1349   (return-type "EmpathySmileyManager*")
1350 )
1351
1352 (define-method load
1353   (of-object "EmpathySmileyManager")
1354   (c-name "empathy_smiley_manager_load")
1355   (return-type "none")
1356 )
1357
1358 (define-method add
1359   (of-object "EmpathySmileyManager")
1360   (c-name "empathy_smiley_manager_add")
1361   (return-type "none")
1362   (parameters
1363     '("const-gchar*" "icon_name")
1364     '("const-gchar*" "first_str")
1365   )
1366   (varargs #t)
1367 )
1368
1369 (define-method add_from_pixbuf
1370   (of-object "EmpathySmileyManager")
1371   (c-name "empathy_smiley_manager_add_from_pixbuf")
1372   (return-type "none")
1373   (parameters
1374     '("GdkPixbuf*" "smiley")
1375     '("const-gchar*" "first_str")
1376   )
1377   (varargs #t)
1378 )
1379
1380 (define-method get_all
1381   (of-object "EmpathySmileyManager")
1382   (c-name "empathy_smiley_manager_get_all")
1383   (return-type "GSList*")
1384 )
1385
1386 (define-method parse
1387   (of-object "EmpathySmileyManager")
1388   (c-name "empathy_smiley_manager_parse")
1389   (return-type "GSList*")
1390   (parameters
1391     '("const-gchar*" "text")
1392   )
1393 )
1394
1395 (define-method free
1396   (of-object "EmpathySmiley")
1397   (c-name "empathy_smiley_free")
1398   (return-type "none")
1399 )
1400
1401
1402
1403 ;; From empathy-spell.h
1404
1405 (define-function spell_supported
1406   (c-name "empathy_spell_supported")
1407   (return-type "gboolean")
1408 )
1409
1410 (define-function spell_get_language_name
1411   (c-name "empathy_spell_get_language_name")
1412   (return-type "const-gchar*")
1413   (parameters
1414     '("const-gchar*" "code")
1415   )
1416 )
1417
1418 (define-function spell_get_language_codes
1419   (c-name "empathy_spell_get_language_codes")
1420   (return-type "GList*")
1421 )
1422
1423 (define-function spell_free_language_codes
1424   (c-name "empathy_spell_free_language_codes")
1425   (return-type "none")
1426   (parameters
1427     '("GList*" "codes")
1428   )
1429 )
1430
1431 (define-function spell_check
1432   (c-name "empathy_spell_check")
1433   (return-type "gboolean")
1434   (parameters
1435     '("const-gchar*" "word")
1436   )
1437 )
1438
1439 (define-function spell_get_suggestions
1440   (c-name "empathy_spell_get_suggestions")
1441   (return-type "GList*")
1442   (parameters
1443     '("const-gchar*" "word")
1444   )
1445 )
1446
1447 (define-function spell_free_suggestions
1448   (c-name "empathy_spell_free_suggestions")
1449   (return-type "none")
1450   (parameters
1451     '("GList*" "suggestions")
1452   )
1453 )
1454
1455
1456
1457 ;; From empathy-spell-dialog.h
1458
1459 (define-function spell_dialog_show
1460   (c-name "empathy_spell_dialog_show")
1461   (return-type "none")
1462   (parameters
1463     '("EmpathyChat*" "chat")
1464     '("GtkTextIter*" "start")
1465     '("GtkTextIter*" "end")
1466     '("const-gchar*" "word")
1467   )
1468 )
1469
1470
1471
1472 ;; From empathy-theme-boxes.h
1473
1474 (define-function theme_boxes_get_type
1475   (c-name "empathy_theme_boxes_get_type")
1476   (return-type "GType")
1477 )
1478
1479
1480
1481 ;; From empathy-theme.h
1482
1483 (define-function theme_get_type
1484   (c-name "empathy_theme_get_type")
1485   (return-type "GType")
1486 )
1487
1488 (define-method update_view
1489   (of-object "EmpathyTheme")
1490   (c-name "empathy_theme_update_view")
1491   (return-type "none")
1492   (parameters
1493     '("EmpathyChatView*" "view")
1494   )
1495 )
1496
1497 (define-method append_message
1498   (of-object "EmpathyTheme")
1499   (c-name "empathy_theme_append_message")
1500   (return-type "none")
1501   (parameters
1502     '("EmpathyChatView*" "view")
1503     '("EmpathyMessage*" "msg")
1504   )
1505 )
1506
1507 (define-method append_text
1508   (of-object "EmpathyTheme")
1509   (c-name "empathy_theme_append_text")
1510   (return-type "none")
1511   (parameters
1512     '("EmpathyChatView*" "view")
1513     '("const-gchar*" "body")
1514     '("const-gchar*" "tag")
1515     '("const-gchar*" "link_tag")
1516   )
1517 )
1518
1519 (define-method append_spacing
1520   (of-object "EmpathyTheme")
1521   (c-name "empathy_theme_append_spacing")
1522   (return-type "none")
1523   (parameters
1524     '("EmpathyChatView*" "view")
1525   )
1526 )
1527
1528 (define-method append_event
1529   (of-object "EmpathyTheme")
1530   (c-name "empathy_theme_append_event")
1531   (return-type "none")
1532   (parameters
1533     '("EmpathyChatView*" "view")
1534     '("const-gchar*" "str")
1535   )
1536 )
1537
1538 (define-method append_timestamp
1539   (of-object "EmpathyTheme")
1540   (c-name "empathy_theme_append_timestamp")
1541   (return-type "none")
1542   (parameters
1543     '("EmpathyChatView*" "view")
1544     '("EmpathyMessage*" "message")
1545     '("gboolean" "show_date")
1546     '("gboolean" "show_time")
1547   )
1548 )
1549
1550 (define-method maybe_append_date_and_time
1551   (of-object "EmpathyTheme")
1552   (c-name "empathy_theme_maybe_append_date_and_time")
1553   (return-type "none")
1554   (parameters
1555     '("EmpathyChatView*" "view")
1556     '("EmpathyMessage*" "message")
1557   )
1558 )
1559
1560 (define-method get_show_avatars
1561   (of-object "EmpathyTheme")
1562   (c-name "empathy_theme_get_show_avatars")
1563   (return-type "gboolean")
1564 )
1565
1566 (define-method set_show_avatars
1567   (of-object "EmpathyTheme")
1568   (c-name "empathy_theme_set_show_avatars")
1569   (return-type "none")
1570   (parameters
1571     '("gboolean" "show")
1572   )
1573 )
1574
1575
1576
1577 ;; From empathy-theme-irc.h
1578
1579 (define-function theme_irc_get_type
1580   (c-name "empathy_theme_irc_get_type")
1581   (return-type "GType")
1582 )
1583
1584
1585
1586 ;; From empathy-theme-manager.h
1587
1588 (define-function theme_manager_get_type
1589   (c-name "empathy_theme_manager_get_type")
1590   (return-type "GType")
1591 )
1592
1593 (define-function theme_manager_get
1594   (c-name "empathy_theme_manager_get")
1595   (return-type "EmpathyThemeManager*")
1596 )
1597
1598 (define-function theme_manager_get_themes
1599   (c-name "empathy_theme_manager_get_themes")
1600   (return-type "const-gchar**")
1601 )
1602
1603 (define-method apply
1604   (of-object "EmpathyThemeManager")
1605   (c-name "empathy_theme_manager_apply")
1606   (return-type "none")
1607   (parameters
1608     '("EmpathyChatView*" "view")
1609     '("const-gchar*" "theme")
1610   )
1611 )
1612
1613 (define-method apply_saved
1614   (of-object "EmpathyThemeManager")
1615   (c-name "empathy_theme_manager_apply_saved")
1616   (return-type "none")
1617   (parameters
1618     '("EmpathyChatView*" "view")
1619   )
1620 )
1621
1622
1623
1624 ;; From empathy-ui-utils.h
1625
1626 (define-function glade_get_file_simple
1627   (c-name "empathy_glade_get_file_simple")
1628   (return-type "none")
1629   (parameters
1630     '("const-gchar*" "filename")
1631     '("const-gchar*" "root")
1632     '("const-gchar*" "domain")
1633     '("const-gchar*" "first_required_widget")
1634   )
1635   (varargs #t)
1636 )
1637
1638 (define-function glade_get_file
1639   (c-name "empathy_glade_get_file")
1640   (return-type "GladeXML*")
1641   (parameters
1642     '("const-gchar*" "filename")
1643     '("const-gchar*" "root")
1644     '("const-gchar*" "domain")
1645     '("const-gchar*" "first_required_widget")
1646   )
1647   (varargs #t)
1648 )
1649
1650 (define-function glade_connect
1651   (c-name "empathy_glade_connect")
1652   (return-type "none")
1653   (parameters
1654     '("GladeXML*" "gui")
1655     '("gpointer" "user_data")
1656     '("gchar*" "first_widget")
1657   )
1658   (varargs #t)
1659 )
1660
1661 (define-function glade_setup_size_group
1662   (c-name "empathy_glade_setup_size_group")
1663   (return-type "none")
1664   (parameters
1665     '("GladeXML*" "gui")
1666     '("GtkSizeGroupMode" "mode")
1667     '("gchar*" "first_widget")
1668   )
1669   (varargs #t)
1670 )
1671
1672 (define-function icon_name_from_account
1673   (c-name "empathy_icon_name_from_account")
1674   (return-type "const-gchar*")
1675   (parameters
1676     '("McAccount*" "account")
1677   )
1678 )
1679
1680 (define-function icon_name_for_presence
1681   (c-name "empathy_icon_name_for_presence")
1682   (return-type "const-gchar*")
1683   (parameters
1684     '("McPresence" "presence")
1685   )
1686 )
1687
1688 (define-function icon_name_for_contact
1689   (c-name "empathy_icon_name_for_contact")
1690   (return-type "const-gchar*")
1691   (parameters
1692     '("EmpathyContact*" "contact")
1693   )
1694 )
1695
1696 (define-function pixbuf_from_data
1697   (c-name "empathy_pixbuf_from_data")
1698   (return-type "GdkPixbuf*")
1699   (parameters
1700     '("gchar*" "data")
1701     '("gsize" "data_size")
1702   )
1703 )
1704
1705 (define-function pixbuf_from_data_and_mime
1706   (c-name "empathy_pixbuf_from_data_and_mime")
1707   (return-type "GdkPixbuf*")
1708   (parameters
1709     '("gchar*" "data")
1710     '("gsize" "data_size")
1711     '("gchar**" "mime_type")
1712   )
1713 )
1714
1715 (define-function pixbuf_from_avatar_scaled
1716   (c-name "empathy_pixbuf_from_avatar_scaled")
1717   (return-type "GdkPixbuf*")
1718   (parameters
1719     '("EmpathyAvatar*" "avatar")
1720     '("gint" "width")
1721     '("gint" "height")
1722   )
1723 )
1724
1725 (define-function pixbuf_avatar_from_contact_scaled
1726   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1727   (return-type "GdkPixbuf*")
1728   (parameters
1729     '("EmpathyContact*" "contact")
1730     '("gint" "width")
1731     '("gint" "height")
1732   )
1733 )
1734
1735 (define-function pixbuf_scale_down_if_necessary
1736   (c-name "empathy_pixbuf_scale_down_if_necessary")
1737   (return-type "GdkPixbuf*")
1738   (parameters
1739     '("GdkPixbuf*" "pixbuf")
1740     '("gint" "max_size")
1741   )
1742 )
1743
1744 (define-function pixbuf_from_icon_name
1745   (c-name "empathy_pixbuf_from_icon_name")
1746   (return-type "GdkPixbuf*")
1747   (parameters
1748     '("const-gchar*" "icon_name")
1749     '("GtkIconSize" "icon_size")
1750   )
1751 )
1752
1753 (define-function text_iter_forward_search
1754   (c-name "empathy_text_iter_forward_search")
1755   (return-type "gboolean")
1756   (parameters
1757     '("const-GtkTextIter*" "iter")
1758     '("const-gchar*" "str")
1759     '("GtkTextIter*" "match_start")
1760     '("GtkTextIter*" "match_end")
1761     '("const-GtkTextIter*" "limit")
1762   )
1763 )
1764
1765 (define-function text_iter_backward_search
1766   (c-name "empathy_text_iter_backward_search")
1767   (return-type "gboolean")
1768   (parameters
1769     '("const-GtkTextIter*" "iter")
1770     '("const-gchar*" "str")
1771     '("GtkTextIter*" "match_start")
1772     '("GtkTextIter*" "match_end")
1773     '("const-GtkTextIter*" "limit")
1774   )
1775 )
1776
1777 (define-function window_get_is_visible
1778   (c-name "empathy_window_get_is_visible")
1779   (return-type "gboolean")
1780   (parameters
1781     '("GtkWindow*" "window")
1782   )
1783 )
1784
1785 (define-function window_present
1786   (c-name "empathy_window_present")
1787   (return-type "none")
1788   (parameters
1789     '("GtkWindow*" "window")
1790     '("gboolean" "steal_focus")
1791   )
1792 )
1793
1794 (define-function window_iconify
1795   (c-name "empathy_window_iconify")
1796   (return-type "none")
1797   (parameters
1798     '("GtkWindow*" "window")
1799     '("GtkStatusIcon*" "status_icon")
1800   )
1801 )
1802
1803 (define-function get_toplevel_window
1804   (c-name "empathy_get_toplevel_window")
1805   (return-type "GtkWindow*")
1806   (parameters
1807     '("GtkWidget*" "widget")
1808   )
1809 )
1810
1811 (define-function url_show
1812   (c-name "empathy_url_show")
1813   (return-type "none")
1814   (parameters
1815     '("const-char*" "url")
1816   )
1817 )
1818
1819 (define-function toggle_button_set_state_quietly
1820   (c-name "empathy_toggle_button_set_state_quietly")
1821   (return-type "none")
1822   (parameters
1823     '("GtkWidget*" "widget")
1824     '("GCallback" "callback")
1825     '("gpointer" "user_data")
1826     '("gboolean" "active")
1827   )
1828 )
1829
1830 (define-function link_button_new
1831   (c-name "empathy_link_button_new")
1832   (is-constructor-of "EmpathyLinkButton")
1833   (return-type "GtkWidget*")
1834   (parameters
1835     '("const-gchar*" "url")
1836     '("const-gchar*" "title")
1837   )
1838 )
1839
1840 (define-function text_buffer_tag_set
1841   (c-name "empathy_text_buffer_tag_set")
1842   (return-type "GtkTextTag*")
1843   (parameters
1844     '("GtkTextBuffer*" "buffer")
1845     '("const-gchar*" "tag_name")
1846     '("const-gchar*" "first_property_name")
1847   )
1848   (varargs #t)
1849 )
1850
1851 (define-function send_file_with_file_chooser
1852   (c-name "empathy_send_file_with_file_chooser")
1853   (return-type "none")
1854   (parameters
1855     '("EmpathyContact*" "contact")
1856   )
1857 )
1858
1859