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