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