]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
Add python binding. Fixes bug #457660 (Michael Sheldon).
[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 CellRendererExpander
11   (in-module "Empathy")
12   (parent "GtkCellRenderer")
13   (c-name "EmpathyCellRendererExpander")
14   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_EXPANDER")
15 )
16
17 (define-object CellRendererText
18   (in-module "Empathy")
19   (parent "GtkCellRendererText")
20   (c-name "EmpathyCellRendererText")
21   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_TEXT")
22 )
23
24 (define-object Chat
25   (in-module "Empathy")
26   (parent "GObject")
27   (c-name "EmpathyChat")
28   (gtype-id "EMPATHY_TYPE_CHAT")
29 )
30
31 (define-object ChatView
32   (in-module "Empathy")
33   (parent "GtkTextView")
34   (c-name "EmpathyChatView")
35   (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
36 )
37
38 (define-object ChatWindow
39   (in-module "Empathy")
40   (parent "GObject")
41   (c-name "EmpathyChatWindow")
42   (gtype-id "EMPATHY_TYPE_CHAT_WINDOW")
43 )
44
45 (define-object ContactListStore
46   (in-module "Empathy")
47   (parent "GtkTreeStore")
48   (c-name "EmpathyContactListStore")
49   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
50 )
51
52 (define-object ContactListView
53   (in-module "Empathy")
54   (parent "GtkTreeView")
55   (c-name "EmpathyContactListView")
56   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
57 )
58
59 (define-object GroupChat
60   (in-module "Empathy")
61   (parent "EmpathyChat")
62   (c-name "EmpathyGroupChat")
63   (gtype-id "EMPATHY_TYPE_GROUP_CHAT")
64 )
65
66 (define-object PresenceChooser
67   (in-module "Empathy")
68   (parent "GtkToggleButton")
69   (c-name "EmpathyPresenceChooser")
70   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
71 )
72
73 (define-object PrivateChat
74   (in-module "Empathy")
75   (parent "EmpathyChat")
76   (c-name "EmpathyPrivateChat")
77   (gtype-id "EMPATHY_TYPE_PRIVATE_CHAT")
78 )
79
80 (define-object StatusIcon
81   (in-module "Empathy")
82   (parent "GObject")
83   (c-name "EmpathyStatusIcon")
84   (gtype-id "EMPATHY_TYPE_STATUS_ICON")
85 )
86
87 (define-object ThemeManager
88   (in-module "Empathy")
89   (parent "GObject")
90   (c-name "EmpathyThemeManager")
91   (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
92 )
93
94 (define-object Spinner
95   (in-module "Ephy")
96   (parent "GtkWidget")
97   (c-name "EphySpinner")
98   (gtype-id "EPHY_TYPE_SPINNER")
99 )
100
101 ;; Enumerations and flags ...
102
103 (define-enum Smiley
104   (in-module "Empathy")
105   (c-name "EmpathySmiley")
106   (gtype-id "EMPATHY_TYPE_SMILEY")
107   (values
108     '("normal" "EMPATHY_SMILEY_NORMAL")
109     '("wink" "EMPATHY_SMILEY_WINK")
110     '("bigeye" "EMPATHY_SMILEY_BIGEYE")
111     '("nose" "EMPATHY_SMILEY_NOSE")
112     '("cry" "EMPATHY_SMILEY_CRY")
113     '("sad" "EMPATHY_SMILEY_SAD")
114     '("sceptical" "EMPATHY_SMILEY_SCEPTICAL")
115     '("bigsmile" "EMPATHY_SMILEY_BIGSMILE")
116     '("indifferent" "EMPATHY_SMILEY_INDIFFERENT")
117     '("tounge" "EMPATHY_SMILEY_TOUNGE")
118     '("shocked" "EMPATHY_SMILEY_SHOCKED")
119     '("cool" "EMPATHY_SMILEY_COOL")
120     '("sorry" "EMPATHY_SMILEY_SORRY")
121     '("kiss" "EMPATHY_SMILEY_KISS")
122     '("shutup" "EMPATHY_SMILEY_SHUTUP")
123     '("yawn" "EMPATHY_SMILEY_YAWN")
124     '("confused" "EMPATHY_SMILEY_CONFUSED")
125     '("angel" "EMPATHY_SMILEY_ANGEL")
126     '("oooh" "EMPATHY_SMILEY_OOOH")
127     '("lookaway" "EMPATHY_SMILEY_LOOKAWAY")
128     '("blush" "EMPATHY_SMILEY_BLUSH")
129     '("coolbigsmile" "EMPATHY_SMILEY_COOLBIGSMILE")
130     '("angry" "EMPATHY_SMILEY_ANGRY")
131     '("boss" "EMPATHY_SMILEY_BOSS")
132     '("monkey" "EMPATHY_SMILEY_MONKEY")
133     '("silly" "EMPATHY_SMILEY_SILLY")
134     '("sick" "EMPATHY_SMILEY_SICK")
135     '("count" "EMPATHY_SMILEY_COUNT")
136   )
137 )
138
139 (define-enum ContactListStoreSort
140   (in-module "Empathy")
141   (c-name "EmpathyContactListStoreSort")
142   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
143   (values
144     '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
145     '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
146   )
147 )
148
149 (define-enum ContactListStoreCol
150   (in-module "Empathy")
151   (c-name "EmpathyContactListStoreCol")
152   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
153   (values
154     '("icon-status" "COL_ICON_STATUS")
155     '("pixbuf-avatar" "COL_PIXBUF_AVATAR")
156     '("pixbuf-avatar-visible" "COL_PIXBUF_AVATAR_VISIBLE")
157     '("name" "COL_NAME")
158     '("status" "COL_STATUS")
159     '("status-visible" "COL_STATUS_VISIBLE")
160     '("contact" "COL_CONTACT")
161     '("is-group" "COL_IS_GROUP")
162     '("is-active" "COL_IS_ACTIVE")
163     '("is-online" "COL_IS_ONLINE")
164     '("is-separator" "COL_IS_SEPARATOR")
165     '("count" "COL_COUNT")
166   )
167 )
168
169 (define-enum ContactWidgetType
170   (in-module "Empathy")
171   (c-name "EmpathyContactWidgetType")
172   (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_TYPE")
173   (values
174     '("show" "CONTACT_WIDGET_TYPE_SHOW")
175     '("edit" "CONTACT_WIDGET_TYPE_EDIT")
176     '("add" "CONTACT_WIDGET_TYPE_ADD")
177     '("subscription" "CONTACT_WIDGET_TYPE_SUBSCRIPTION")
178   )
179 )
180
181
182 ;; From empathy-about-dialog.h
183
184 (define-function empathy_about_dialog_new
185   (c-name "empathy_about_dialog_new")
186   (return-type "none")
187   (parameters
188     '("GtkWindow*" "parent")
189   )
190 )
191
192
193
194 ;; From empathy-account-chooser.h
195
196 (define-function empathy_account_chooser_get_type
197   (c-name "empathy_account_chooser_get_type")
198   (return-type "GType")
199 )
200
201 (define-function empathy_account_chooser_new
202   (c-name "empathy_account_chooser_new")
203   (is-constructor-of "EmpathyAccountChooser")
204   (return-type "GtkWidget*")
205 )
206
207 (define-method get_account
208   (of-object "EmpathyAccountChooser")
209   (c-name "empathy_account_chooser_get_account")
210   (return-type "McAccount*")
211 )
212
213 (define-method set_account
214   (of-object "EmpathyAccountChooser")
215   (c-name "empathy_account_chooser_set_account")
216   (return-type "gboolean")
217   (parameters
218     '("McAccount*" "account")
219   )
220 )
221
222 (define-method get_has_all_option
223   (of-object "EmpathyAccountChooser")
224   (c-name "empathy_account_chooser_get_has_all_option")
225   (return-type "gboolean")
226 )
227
228 (define-method set_has_all_option
229   (of-object "EmpathyAccountChooser")
230   (c-name "empathy_account_chooser_set_has_all_option")
231   (return-type "none")
232   (parameters
233     '("gboolean" "has_all_option")
234   )
235 )
236
237 (define-method set_filter
238   (of-object "EmpathyAccountChooser")
239   (c-name "empathy_account_chooser_set_filter")
240   (return-type "none")
241   (parameters
242     '("EmpathyAccountChooserFilterFunc" "filter")
243     '("gpointer" "user_data")
244   )
245 )
246
247 (define-function empathy_account_chooser_filter_is_connected
248   (c-name "empathy_account_chooser_filter_is_connected")
249   (return-type "gboolean")
250   (parameters
251     '("McAccount*" "account")
252     '("gpointer" "user_data")
253   )
254 )
255
256
257
258 ;; From empathy-accounts-dialog.h
259
260 (define-function empathy_accounts_dialog_show
261   (c-name "empathy_accounts_dialog_show")
262   (return-type "GtkWidget*")
263   (parameters
264     '("GtkWindow*" "parent")
265   )
266 )
267
268
269
270 ;; From empathy-account-widget-generic.h
271
272 (define-function empathy_account_widget_generic_new
273   (c-name "empathy_account_widget_generic_new")
274   (is-constructor-of "EmpathyAccountWidgetGeneric")
275   (return-type "GtkWidget*")
276   (parameters
277     '("McAccount*" "account")
278   )
279 )
280
281
282
283 ;; From empathy-account-widget-jabber.h
284
285 (define-function empathy_account_widget_jabber_new
286   (c-name "empathy_account_widget_jabber_new")
287   (is-constructor-of "EmpathyAccountWidgetJabber")
288   (return-type "GtkWidget*")
289   (parameters
290     '("McAccount*" "account")
291   )
292 )
293
294
295
296 ;; From empathy-account-widget-msn.h
297
298 (define-function empathy_account_widget_msn_new
299   (c-name "empathy_account_widget_msn_new")
300   (is-constructor-of "EmpathyAccountWidgetMsn")
301   (return-type "GtkWidget*")
302   (parameters
303     '("McAccount*" "account")
304   )
305 )
306
307
308
309 ;; From empathy-cell-renderer-expander.h
310
311 (define-function empathy_cell_renderer_expander_get_type
312   (c-name "empathy_cell_renderer_expander_get_type")
313   (return-type "GType")
314 )
315
316 (define-function empathy_cell_renderer_expander_new
317   (c-name "empathy_cell_renderer_expander_new")
318   (is-constructor-of "EmpathyCellRendererExpander")
319   (return-type "GtkCellRenderer*")
320 )
321
322
323
324 ;; From empathy-cell-renderer-text.h
325
326 (define-function empathy_cell_renderer_text_get_type
327   (c-name "empathy_cell_renderer_text_get_type")
328   (return-type "GType")
329 )
330
331 (define-function empathy_cell_renderer_text_new
332   (c-name "empathy_cell_renderer_text_new")
333   (is-constructor-of "EmpathyCellRendererText")
334   (return-type "GtkCellRenderer*")
335 )
336
337
338
339 ;; From empathy-chat.h
340
341 (define-function empathy_chat_get_type
342   (c-name "empathy_chat_get_type")
343   (return-type "GType")
344 )
345
346 (define-method get_view
347   (of-object "EmpathyChat")
348   (c-name "empathy_chat_get_view")
349   (return-type "EmpathyChatView*")
350 )
351
352 (define-method get_window
353   (of-object "EmpathyChat")
354   (c-name "empathy_chat_get_window")
355   (return-type "EmpathyChatWindow*")
356 )
357
358 (define-method set_window
359   (of-object "EmpathyChat")
360   (c-name "empathy_chat_set_window")
361   (return-type "none")
362   (parameters
363     '("EmpathyChatWindow*" "window")
364   )
365 )
366
367 (define-method present
368   (of-object "EmpathyChat")
369   (c-name "empathy_chat_present")
370   (return-type "none")
371 )
372
373 (define-method clear
374   (of-object "EmpathyChat")
375   (c-name "empathy_chat_clear")
376   (return-type "none")
377 )
378
379 (define-method scroll_down
380   (of-object "EmpathyChat")
381   (c-name "empathy_chat_scroll_down")
382   (return-type "none")
383 )
384
385 (define-method cut
386   (of-object "EmpathyChat")
387   (c-name "empathy_chat_cut")
388   (return-type "none")
389 )
390
391 (define-method copy
392   (of-object "EmpathyChat")
393   (c-name "empathy_chat_copy")
394   (return-type "none")
395 )
396
397 (define-method paste
398   (of-object "EmpathyChat")
399   (c-name "empathy_chat_paste")
400   (return-type "none")
401 )
402
403 (define-method get_name
404   (of-object "EmpathyChat")
405   (c-name "empathy_chat_get_name")
406   (return-type "const-gchar*")
407 )
408
409 (define-method get_tooltip
410   (of-object "EmpathyChat")
411   (c-name "empathy_chat_get_tooltip")
412   (return-type "gchar*")
413 )
414
415 (define-method get_status_icon_name
416   (of-object "EmpathyChat")
417   (c-name "empathy_chat_get_status_icon_name")
418   (return-type "const-gchar*")
419 )
420
421 (define-method get_widget
422   (of-object "EmpathyChat")
423   (c-name "empathy_chat_get_widget")
424   (return-type "GtkWidget*")
425 )
426
427 (define-method is_group_chat
428   (of-object "EmpathyChat")
429   (c-name "empathy_chat_is_group_chat")
430   (return-type "gboolean")
431 )
432
433 (define-method is_connected
434   (of-object "EmpathyChat")
435   (c-name "empathy_chat_is_connected")
436   (return-type "gboolean")
437 )
438
439 (define-method save_geometry
440   (of-object "EmpathyChat")
441   (c-name "empathy_chat_save_geometry")
442   (return-type "none")
443   (parameters
444     '("gint" "x")
445     '("gint" "y")
446     '("gint" "w")
447     '("gint" "h")
448   )
449 )
450
451 (define-method load_geometry
452   (of-object "EmpathyChat")
453   (c-name "empathy_chat_load_geometry")
454   (return-type "none")
455   (parameters
456     '("gint*" "x")
457     '("gint*" "y")
458     '("gint*" "w")
459     '("gint*" "h")
460   )
461 )
462
463 (define-method set_tp_chat
464   (of-object "EmpathyChat")
465   (c-name "empathy_chat_set_tp_chat")
466   (return-type "none")
467   (parameters
468     '("EmpathyTpChat*" "tp_chat")
469   )
470 )
471
472 (define-method get_id
473   (of-object "EmpathyChat")
474   (c-name "empathy_chat_get_id")
475   (return-type "const-gchar*")
476 )
477
478 (define-function empathy_chat_get_is_command
479   (c-name "empathy_chat_get_is_command")
480   (return-type "gboolean")
481   (parameters
482     '("const-gchar*" "str")
483   )
484 )
485
486 (define-method correct_word
487   (of-object "EmpathyChat")
488   (c-name "empathy_chat_correct_word")
489   (return-type "none")
490   (parameters
491     '("GtkTextIter" "start")
492     '("GtkTextIter" "end")
493     '("const-gchar*" "new_word")
494   )
495 )
496
497 (define-method should_play_sound
498   (of-object "EmpathyChat")
499   (c-name "empathy_chat_should_play_sound")
500   (return-type "gboolean")
501 )
502
503 (define-function empathy_chat_should_highlight_nick
504   (c-name "empathy_chat_should_highlight_nick")
505   (return-type "gboolean")
506   (parameters
507     '("EmpathyMessage*" "message")
508   )
509 )
510
511
512
513 ;; From empathy-chatrooms-window.h
514
515 (define-function empathy_chatrooms_window_show
516   (c-name "empathy_chatrooms_window_show")
517   (return-type "none")
518   (parameters
519     '("GtkWindow*" "parent")
520   )
521 )
522
523
524
525 ;; From empathy-chat-view.h
526
527 (define-function empathy_chat_view_get_type
528   (c-name "empathy_chat_view_get_type")
529   (return-type "GType")
530 )
531
532 (define-function empathy_chat_view_new
533   (c-name "empathy_chat_view_new")
534   (is-constructor-of "EmpathyChatView")
535   (return-type "EmpathyChatView*")
536 )
537
538 (define-method append_message
539   (of-object "EmpathyChatView")
540   (c-name "empathy_chat_view_append_message")
541   (return-type "none")
542   (parameters
543     '("EmpathyMessage*" "msg")
544   )
545 )
546
547 (define-method append_event
548   (of-object "EmpathyChatView")
549   (c-name "empathy_chat_view_append_event")
550   (return-type "none")
551   (parameters
552     '("const-gchar*" "str")
553   )
554 )
555
556 (define-method append_button
557   (of-object "EmpathyChatView")
558   (c-name "empathy_chat_view_append_button")
559   (return-type "none")
560   (parameters
561     '("const-gchar*" "message")
562     '("GtkWidget*" "button1")
563     '("GtkWidget*" "button2")
564   )
565 )
566
567 (define-method set_margin
568   (of-object "EmpathyChatView")
569   (c-name "empathy_chat_view_set_margin")
570   (return-type "none")
571   (parameters
572     '("gint" "margin")
573   )
574 )
575
576 (define-method scroll
577   (of-object "EmpathyChatView")
578   (c-name "empathy_chat_view_scroll")
579   (return-type "none")
580   (parameters
581     '("gboolean" "allow_scrolling")
582   )
583 )
584
585 (define-method scroll_down
586   (of-object "EmpathyChatView")
587   (c-name "empathy_chat_view_scroll_down")
588   (return-type "none")
589 )
590
591 (define-method get_selection_bounds
592   (of-object "EmpathyChatView")
593   (c-name "empathy_chat_view_get_selection_bounds")
594   (return-type "gboolean")
595   (parameters
596     '("GtkTextIter*" "start")
597     '("GtkTextIter*" "end")
598   )
599 )
600
601 (define-method clear
602   (of-object "EmpathyChatView")
603   (c-name "empathy_chat_view_clear")
604   (return-type "none")
605 )
606
607 (define-method find_previous
608   (of-object "EmpathyChatView")
609   (c-name "empathy_chat_view_find_previous")
610   (return-type "gboolean")
611   (parameters
612     '("const-gchar*" "search_criteria")
613     '("gboolean" "new_search")
614   )
615 )
616
617 (define-method find_next
618   (of-object "EmpathyChatView")
619   (c-name "empathy_chat_view_find_next")
620   (return-type "gboolean")
621   (parameters
622     '("const-gchar*" "search_criteria")
623     '("gboolean" "new_search")
624   )
625 )
626
627 (define-method find_abilities
628   (of-object "EmpathyChatView")
629   (c-name "empathy_chat_view_find_abilities")
630   (return-type "none")
631   (parameters
632     '("const-gchar*" "search_criteria")
633     '("gboolean*" "can_do_previous")
634     '("gboolean*" "can_do_next")
635   )
636 )
637
638 (define-method highlight
639   (of-object "EmpathyChatView")
640   (c-name "empathy_chat_view_highlight")
641   (return-type "none")
642   (parameters
643     '("const-gchar*" "text")
644   )
645 )
646
647 (define-method copy_clipboard
648   (of-object "EmpathyChatView")
649   (c-name "empathy_chat_view_copy_clipboard")
650   (return-type "none")
651 )
652
653 (define-method get_irc_style
654   (of-object "EmpathyChatView")
655   (c-name "empathy_chat_view_get_irc_style")
656   (return-type "gboolean")
657 )
658
659 (define-method set_irc_style
660   (of-object "EmpathyChatView")
661   (c-name "empathy_chat_view_set_irc_style")
662   (return-type "none")
663   (parameters
664     '("gboolean" "irc_style")
665   )
666 )
667
668 (define-method set_margin
669   (of-object "EmpathyChatView")
670   (c-name "empathy_chat_view_set_margin")
671   (return-type "none")
672   (parameters
673     '("gint" "margin")
674   )
675 )
676
677 (define-function empathy_chat_view_get_smiley_image
678   (c-name "empathy_chat_view_get_smiley_image")
679   (return-type "GdkPixbuf*")
680   (parameters
681     '("EmpathySmiley" "smiley")
682   )
683 )
684
685 (define-function empathy_chat_view_get_smiley_text
686   (c-name "empathy_chat_view_get_smiley_text")
687   (return-type "const-gchar*")
688   (parameters
689     '("EmpathySmiley" "smiley")
690   )
691 )
692
693 (define-function empathy_chat_view_get_smiley_menu
694   (c-name "empathy_chat_view_get_smiley_menu")
695   (return-type "GtkWidget*")
696   (parameters
697     '("GCallback" "callback")
698     '("gpointer" "user_data")
699     '("GtkTooltips*" "tooltips")
700   )
701 )
702
703 (define-method set_is_group_chat
704   (of-object "EmpathyChatView")
705   (c-name "empathy_chat_view_set_is_group_chat")
706   (return-type "none")
707   (parameters
708     '("gboolean" "is_group_chat")
709   )
710 )
711
712
713
714 ;; From empathy-chat-window.h
715
716 (define-function empathy_chat_window_get_type
717   (c-name "empathy_chat_window_get_type")
718   (return-type "GType")
719 )
720
721 (define-function empathy_chat_window_get_default
722   (c-name "empathy_chat_window_get_default")
723   (return-type "EmpathyChatWindow*")
724 )
725
726 (define-function empathy_chat_window_new
727   (c-name "empathy_chat_window_new")
728   (is-constructor-of "EmpathyChatWindow")
729   (return-type "EmpathyChatWindow*")
730 )
731
732 (define-method get_dialog
733   (of-object "EmpathyChatWindow")
734   (c-name "empathy_chat_window_get_dialog")
735   (return-type "GtkWidget*")
736 )
737
738 (define-method add_chat
739   (of-object "EmpathyChatWindow")
740   (c-name "empathy_chat_window_add_chat")
741   (return-type "none")
742   (parameters
743     '("EmpathyChat*" "chat")
744   )
745 )
746
747 (define-method remove_chat
748   (of-object "EmpathyChatWindow")
749   (c-name "empathy_chat_window_remove_chat")
750   (return-type "none")
751   (parameters
752     '("EmpathyChat*" "chat")
753   )
754 )
755
756 (define-method move_chat
757   (of-object "EmpathyChatWindow")
758   (c-name "empathy_chat_window_move_chat")
759   (return-type "none")
760   (parameters
761     '("EmpathyChatWindow*" "new_window")
762     '("EmpathyChat*" "chat")
763   )
764 )
765
766 (define-method switch_to_chat
767   (of-object "EmpathyChatWindow")
768   (c-name "empathy_chat_window_switch_to_chat")
769   (return-type "none")
770   (parameters
771     '("EmpathyChat*" "chat")
772   )
773 )
774
775 (define-method has_focus
776   (of-object "EmpathyChatWindow")
777   (c-name "empathy_chat_window_has_focus")
778   (return-type "gboolean")
779 )
780
781 (define-function empathy_chat_window_find_chat
782   (c-name "empathy_chat_window_find_chat")
783   (return-type "EmpathyChat*")
784   (parameters
785     '("McAccount*" "account")
786     '("const-gchar*" "id")
787   )
788 )
789
790
791
792 ;; From empathy-contact-dialogs.h
793
794 (define-function empathy_subscription_dialog_show
795   (c-name "empathy_subscription_dialog_show")
796   (return-type "none")
797   (parameters
798     '("EmpathyContact*" "contact")
799     '("GtkWindow*" "parent")
800   )
801 )
802
803 (define-method information_dialog_show
804   (of-object "EmpathyContact")
805   (c-name "empathy_contact_information_dialog_show")
806   (return-type "none")
807   (parameters
808     '("GtkWindow*" "parent")
809     '("gboolean" "edit")
810   )
811 )
812
813 (define-function empathy_new_contact_dialog_show
814   (c-name "empathy_new_contact_dialog_show")
815   (return-type "none")
816   (parameters
817     '("GtkWindow*" "parent")
818   )
819 )
820
821
822
823 ;; From empathy-contact-groups.h
824
825 (define-function empathy_contact_groups_get_all
826   (c-name "empathy_contact_groups_get_all")
827   (return-type "none")
828 )
829
830 (define-function empathy_contact_group_get_expanded
831   (c-name "empathy_contact_group_get_expanded")
832   (return-type "gboolean")
833   (parameters
834     '("const-gchar*" "group")
835   )
836 )
837
838 (define-function empathy_contact_group_set_expanded
839   (c-name "empathy_contact_group_set_expanded")
840   (return-type "none")
841   (parameters
842     '("const-gchar*" "group")
843     '("gboolean" "expanded")
844   )
845 )
846
847
848
849 ;; From empathy-contact-list-store.h
850
851 (define-function empathy_contact_list_store_get_type
852   (c-name "empathy_contact_list_store_get_type")
853   (return-type "GType")
854 )
855
856 (define-method store_new
857   (of-object "EmpathyContactList")
858   (c-name "empathy_contact_list_store_new")
859   (return-type "EmpathyContactListStore*")
860 )
861
862 (define-method get_list_iface
863   (of-object "EmpathyContactListStore")
864   (c-name "empathy_contact_list_store_get_list_iface")
865   (return-type "EmpathyContactList*")
866 )
867
868 (define-method get_show_offline
869   (of-object "EmpathyContactListStore")
870   (c-name "empathy_contact_list_store_get_show_offline")
871   (return-type "gboolean")
872 )
873
874 (define-method set_show_offline
875   (of-object "EmpathyContactListStore")
876   (c-name "empathy_contact_list_store_set_show_offline")
877   (return-type "none")
878   (parameters
879     '("gboolean" "show_offline")
880   )
881 )
882
883 (define-method get_show_avatars
884   (of-object "EmpathyContactListStore")
885   (c-name "empathy_contact_list_store_get_show_avatars")
886   (return-type "gboolean")
887 )
888
889 (define-method set_show_avatars
890   (of-object "EmpathyContactListStore")
891   (c-name "empathy_contact_list_store_set_show_avatars")
892   (return-type "none")
893   (parameters
894     '("gboolean" "show_avatars")
895   )
896 )
897
898 (define-method get_is_compact
899   (of-object "EmpathyContactListStore")
900   (c-name "empathy_contact_list_store_get_is_compact")
901   (return-type "gboolean")
902 )
903
904 (define-method set_is_compact
905   (of-object "EmpathyContactListStore")
906   (c-name "empathy_contact_list_store_set_is_compact")
907   (return-type "none")
908   (parameters
909     '("gboolean" "is_compact")
910   )
911 )
912
913 (define-method get_sort_criterium
914   (of-object "EmpathyContactListStore")
915   (c-name "empathy_contact_list_store_get_sort_criterium")
916   (return-type "EmpathyContactListStoreSort")
917 )
918
919 (define-method set_sort_criterium
920   (of-object "EmpathyContactListStore")
921   (c-name "empathy_contact_list_store_set_sort_criterium")
922   (return-type "none")
923   (parameters
924     '("EmpathyContactListStoreSort" "sort_criterium")
925   )
926 )
927
928 (define-function empathy_contact_list_store_row_separator_func
929   (c-name "empathy_contact_list_store_row_separator_func")
930   (return-type "gboolean")
931   (parameters
932     '("GtkTreeModel*" "model")
933     '("GtkTreeIter*" "iter")
934     '("gpointer" "data")
935   )
936 )
937
938 (define-function empathy_contact_list_store_get_parent_group
939   (c-name "empathy_contact_list_store_get_parent_group")
940   (return-type "gchar*")
941   (parameters
942     '("GtkTreeModel*" "model")
943     '("GtkTreePath*" "path")
944     '("gboolean*" "path_is_group")
945   )
946 )
947
948 (define-function empathy_contact_list_store_search_equal_func
949   (c-name "empathy_contact_list_store_search_equal_func")
950   (return-type "gboolean")
951   (parameters
952     '("GtkTreeModel*" "model")
953     '("gint" "column")
954     '("const-gchar*" "key")
955     '("GtkTreeIter*" "iter")
956     '("gpointer" "search_data")
957   )
958 )
959
960 (define-method set_contact_groups_func
961   (of-object "EmpathyContactListStore")
962   (c-name "empathy_contact_list_store_set_contact_groups_func")
963   (return-type "none")
964   (parameters
965     '("EmpathyContactGroupsFunc" "func")
966     '("gpointer" "user_data")
967   )
968 )
969
970 (define-method update_contact_groups
971   (of-object "EmpathyContactListStore")
972   (c-name "empathy_contact_list_store_update_contact_groups")
973   (return-type "none")
974   (parameters
975     '("EmpathyContact*" "contact")
976   )
977 )
978
979
980
981 ;; From empathy-contact-list-view.h
982
983 (define-function empathy_contact_list_view_get_type
984   (c-name "empathy_contact_list_view_get_type")
985   (return-type "GType")
986 )
987
988 (define-function empathy_contact_list_view_new
989   (c-name "empathy_contact_list_view_new")
990   (is-constructor-of "EmpathyContactListView")
991   (return-type "EmpathyContactListView*")
992   (parameters
993     '("EmpathyContactListStore*" "store")
994   )
995 )
996
997 (define-method get_selected
998   (of-object "EmpathyContactListView")
999   (c-name "empathy_contact_list_view_get_selected")
1000   (return-type "EmpathyContact*")
1001 )
1002
1003 (define-method get_selected_group
1004   (of-object "EmpathyContactListView")
1005   (c-name "empathy_contact_list_view_get_selected_group")
1006   (return-type "gchar*")
1007 )
1008
1009 (define-method get_contact_menu
1010   (of-object "EmpathyContactListView")
1011   (c-name "empathy_contact_list_view_get_contact_menu")
1012   (return-type "GtkWidget*")
1013   (parameters
1014     '("EmpathyContact*" "contact")
1015   )
1016 )
1017
1018 (define-method get_group_menu
1019   (of-object "EmpathyContactListView")
1020   (c-name "empathy_contact_list_view_get_group_menu")
1021   (return-type "GtkWidget*")
1022 )
1023
1024 (define-method set_filter
1025   (of-object "EmpathyContactListView")
1026   (c-name "empathy_contact_list_view_set_filter")
1027   (return-type "none")
1028   (parameters
1029     '("const-gchar*" "filter")
1030   )
1031 )
1032
1033 (define-method set_drag_received_func
1034   (of-object "EmpathyContactListView")
1035   (c-name "empathy_contact_list_view_set_drag_received_func")
1036   (return-type "none")
1037   (parameters
1038     '("EmpathyContactListViewDragReceivedFunc" "func")
1039     '("gpointer" "user_data")
1040   )
1041 )
1042
1043
1044
1045 ;; From empathy-contact-widget.h
1046
1047 (define-method widget_new
1048   (of-object "EmpathyContact")
1049   (c-name "empathy_contact_widget_new")
1050   (return-type "GtkWidget*")
1051   (parameters
1052     '("EmpathyContactWidgetType" "type")
1053   )
1054 )
1055
1056 (define-function empathy_contact_widget_get_contact
1057   (c-name "empathy_contact_widget_get_contact")
1058   (return-type "EmpathyContact*")
1059   (parameters
1060     '("GtkWidget*" "widget")
1061   )
1062 )
1063
1064
1065
1066 ;; From empathy-geometry.h
1067
1068 (define-function empathy_geometry_save
1069   (c-name "empathy_geometry_save")
1070   (return-type "none")
1071   (parameters
1072     '("const-gchar*" "name")
1073     '("gint" "x")
1074     '("gint" "y")
1075     '("gint" "w")
1076     '("gint" "h")
1077   )
1078 )
1079
1080 (define-function empathy_geometry_load
1081   (c-name "empathy_geometry_load")
1082   (return-type "none")
1083   (parameters
1084     '("const-gchar*" "name")
1085     '("gint*" "x")
1086     '("gint*" "y")
1087     '("gint*" "w")
1088     '("gint*" "h")
1089   )
1090 )
1091
1092
1093
1094 ;; From empathy-group-chat.h
1095
1096 (define-function empathy_group_chat_get_type
1097   (c-name "empathy_group_chat_get_type")
1098   (return-type "GType")
1099 )
1100
1101 (define-function empathy_group_chat_new
1102   (c-name "empathy_group_chat_new")
1103   (is-constructor-of "EmpathyGroupChat")
1104   (return-type "EmpathyGroupChat*")
1105   (parameters
1106     '("McAccount*" "account")
1107     '("TpChan*" "tp_chan")
1108   )
1109 )
1110
1111 (define-method get_show_contacts
1112   (of-object "EmpathyGroupChat")
1113   (c-name "empathy_group_chat_get_show_contacts")
1114   (return-type "gboolean")
1115 )
1116
1117 (define-method set_show_contacts
1118   (of-object "EmpathyGroupChat")
1119   (c-name "empathy_group_chat_set_show_contacts")
1120   (return-type "none")
1121   (parameters
1122     '("gboolean" "show")
1123   )
1124 )
1125
1126 (define-method set_topic
1127   (of-object "EmpathyGroupChat")
1128   (c-name "empathy_group_chat_set_topic")
1129   (return-type "none")
1130 )
1131
1132
1133
1134 ;; From empathy-images.h
1135
1136
1137
1138 ;; From empathy-log-window.h
1139
1140 (define-function empathy_log_window_show
1141   (c-name "empathy_log_window_show")
1142   (return-type "none")
1143   (parameters
1144     '("McAccount*" "account")
1145     '("const-gchar*" "chat_id")
1146     '("gboolean" "chatroom")
1147     '("GtkWindow*" "parent")
1148   )
1149 )
1150
1151
1152
1153 ;; From empathy-main-window.h
1154
1155 (define-function empathy_main_window_show
1156   (c-name "empathy_main_window_show")
1157   (return-type "GtkWidget*")
1158 )
1159
1160
1161
1162 ;; From empathy-new-chatroom-dialog.h
1163
1164 (define-function empathy_new_chatroom_dialog_show
1165   (c-name "empathy_new_chatroom_dialog_show")
1166   (return-type "none")
1167   (parameters
1168     '("GtkWindow*" "parent")
1169   )
1170 )
1171
1172
1173
1174 ;; From empathy-preferences.h
1175
1176 (define-function empathy_preferences_show
1177   (c-name "empathy_preferences_show")
1178   (return-type "GtkWidget*")
1179   (parameters
1180     '("GtkWindow*" "parent")
1181   )
1182 )
1183
1184
1185
1186 ;; From empathy-presence-chooser.h
1187
1188 (define-function empathy_presence_chooser_get_type
1189   (c-name "empathy_presence_chooser_get_type")
1190   (return-type "GType")
1191 )
1192
1193 (define-function empathy_presence_chooser_new
1194   (c-name "empathy_presence_chooser_new")
1195   (is-constructor-of "EmpathyPresenceChooser")
1196   (return-type "GtkWidget*")
1197 )
1198
1199 (define-function empathy_presence_chooser_create_menu
1200   (c-name "empathy_presence_chooser_create_menu")
1201   (return-type "GtkWidget*")
1202 )
1203
1204
1205
1206 ;; From empathy-private-chat.h
1207
1208 (define-function empathy_private_chat_get_type
1209   (c-name "empathy_private_chat_get_type")
1210   (return-type "GType")
1211 )
1212
1213 (define-function empathy_private_chat_new
1214   (c-name "empathy_private_chat_new")
1215   (is-constructor-of "EmpathyPrivateChat")
1216   (return-type "EmpathyPrivateChat*")
1217   (parameters
1218     '("McAccount*" "account")
1219     '("TpChan*" "tp_chan")
1220   )
1221 )
1222
1223 (define-function empathy_private_chat_new_with_contact
1224   (c-name "empathy_private_chat_new_with_contact")
1225   (return-type "EmpathyPrivateChat*")
1226   (parameters
1227     '("EmpathyContact*" "contact")
1228   )
1229 )
1230
1231 (define-method get_contact
1232   (of-object "EmpathyPrivateChat")
1233   (c-name "empathy_private_chat_get_contact")
1234   (return-type "EmpathyContact*")
1235 )
1236
1237
1238
1239 ;; From empathy-profile-chooser.h
1240
1241 (define-function empathy_profile_chooser_new
1242   (c-name "empathy_profile_chooser_new")
1243   (is-constructor-of "EmpathyProfileChooser")
1244   (return-type "GtkWidget*")
1245 )
1246
1247 (define-function empathy_profile_chooser_get_selected
1248   (c-name "empathy_profile_chooser_get_selected")
1249   (return-type "McProfile*")
1250   (parameters
1251     '("GtkWidget*" "widget")
1252   )
1253 )
1254
1255
1256
1257 ;; From empathy-spell-dialog.h
1258
1259 (define-function empathy_spell_dialog_show
1260   (c-name "empathy_spell_dialog_show")
1261   (return-type "none")
1262   (parameters
1263     '("EmpathyChat*" "chat")
1264     '("GtkTextIter" "start")
1265     '("GtkTextIter" "end")
1266     '("const-gchar*" "word")
1267   )
1268 )
1269
1270
1271
1272 ;; From empathy-spell.h
1273
1274 (define-function empathy_spell_supported
1275   (c-name "empathy_spell_supported")
1276   (return-type "gboolean")
1277 )
1278
1279 (define-function empathy_spell_get_language_name
1280   (c-name "empathy_spell_get_language_name")
1281   (return-type "const-gchar*")
1282   (parameters
1283     '("const-gchar*" "code")
1284   )
1285 )
1286
1287 (define-function empathy_spell_get_language_codes
1288   (c-name "empathy_spell_get_language_codes")
1289   (return-type "GList*")
1290 )
1291
1292 (define-function empathy_spell_free_language_codes
1293   (c-name "empathy_spell_free_language_codes")
1294   (return-type "none")
1295   (parameters
1296     '("GList*" "codes")
1297   )
1298 )
1299
1300 (define-function empathy_spell_check
1301   (c-name "empathy_spell_check")
1302   (return-type "gboolean")
1303   (parameters
1304     '("const-gchar*" "word")
1305   )
1306 )
1307
1308 (define-function empathy_spell_get_suggestions
1309   (c-name "empathy_spell_get_suggestions")
1310   (return-type "GList*")
1311   (parameters
1312     '("const-gchar*" "word")
1313   )
1314 )
1315
1316 (define-function empathy_spell_free_suggestions
1317   (c-name "empathy_spell_free_suggestions")
1318   (return-type "none")
1319   (parameters
1320     '("GList*" "suggestions")
1321   )
1322 )
1323
1324
1325
1326 ;; From empathy-status-icon.h
1327
1328 (define-function empathy_status_icon_get_type
1329   (c-name "empathy_status_icon_get_type")
1330   (return-type "GType")
1331 )
1332
1333 (define-function empathy_status_icon_new
1334   (c-name "empathy_status_icon_new")
1335   (is-constructor-of "EmpathyStatusIcon")
1336   (return-type "EmpathyStatusIcon*")
1337   (parameters
1338     '("GtkWindow*" "window")
1339   )
1340 )
1341
1342
1343
1344 ;; From empathy-status-presets.h
1345
1346 (define-function empathy_status_presets_get_all
1347   (c-name "empathy_status_presets_get_all")
1348   (return-type "none")
1349 )
1350
1351 (define-function empathy_status_presets_get
1352   (c-name "empathy_status_presets_get")
1353   (return-type "GList*")
1354   (parameters
1355     '("McPresence" "state")
1356     '("gint" "max_number")
1357   )
1358 )
1359
1360 (define-function empathy_status_presets_set_last
1361   (c-name "empathy_status_presets_set_last")
1362   (return-type "none")
1363   (parameters
1364     '("McPresence" "state")
1365     '("const-gchar*" "status")
1366   )
1367 )
1368
1369 (define-function empathy_status_presets_remove
1370   (c-name "empathy_status_presets_remove")
1371   (return-type "none")
1372   (parameters
1373     '("McPresence" "state")
1374     '("const-gchar*" "status")
1375   )
1376 )
1377
1378 (define-function empathy_status_presets_reset
1379   (c-name "empathy_status_presets_reset")
1380   (return-type "none")
1381 )
1382
1383 (define-function empathy_status_presets_get_default_state
1384   (c-name "empathy_status_presets_get_default_state")
1385   (return-type "McPresence")
1386 )
1387
1388 (define-function empathy_status_presets_get_default_status
1389   (c-name "empathy_status_presets_get_default_status")
1390   (return-type "const-gchar*")
1391 )
1392
1393 (define-function empathy_status_presets_set_default
1394   (c-name "empathy_status_presets_set_default")
1395   (return-type "none")
1396   (parameters
1397     '("McPresence" "state")
1398     '("const-gchar*" "status")
1399   )
1400 )
1401
1402 (define-function empathy_status_presets_clear_default
1403   (c-name "empathy_status_presets_clear_default")
1404   (return-type "none")
1405 )
1406
1407
1408
1409 ;; From empathy-theme-manager.h
1410
1411 (define-function empathy_theme_manager_get_type
1412   (c-name "empathy_theme_manager_get_type")
1413   (return-type "GType")
1414 )
1415
1416 (define-function empathy_theme_manager_get
1417   (c-name "empathy_theme_manager_get")
1418   (return-type "EmpathyThemeManager*")
1419 )
1420
1421 (define-function empathy_theme_manager_get_themes
1422   (c-name "empathy_theme_manager_get_themes")
1423   (return-type "const-gchar**")
1424 )
1425
1426 (define-method apply
1427   (of-object "EmpathyThemeManager")
1428   (c-name "empathy_theme_manager_apply")
1429   (return-type "none")
1430   (parameters
1431     '("EmpathyChatView*" "view")
1432     '("const-gchar*" "theme")
1433   )
1434 )
1435
1436 (define-method apply_saved
1437   (of-object "EmpathyThemeManager")
1438   (c-name "empathy_theme_manager_apply_saved")
1439   (return-type "none")
1440   (parameters
1441     '("EmpathyChatView*" "view")
1442   )
1443 )
1444
1445 (define-method update_show_avatars
1446   (of-object "EmpathyThemeManager")
1447   (c-name "empathy_theme_manager_update_show_avatars")
1448   (return-type "none")
1449   (parameters
1450     '("EmpathyChatView*" "view")
1451     '("gboolean" "show")
1452   )
1453 )
1454
1455
1456
1457 ;; From empathy-ui-utils.h
1458
1459 (define-function empathy_glade_get_file_simple
1460   (c-name "empathy_glade_get_file_simple")
1461   (return-type "none")
1462   (parameters
1463     '("const-gchar*" "filename")
1464     '("const-gchar*" "root")
1465     '("const-gchar*" "domain")
1466     '("const-gchar*" "first_required_widget")
1467   )
1468   (varargs #t)
1469 )
1470
1471 (define-function empathy_glade_get_file
1472   (c-name "empathy_glade_get_file")
1473   (return-type "GladeXML*")
1474   (parameters
1475     '("const-gchar*" "filename")
1476     '("const-gchar*" "root")
1477     '("const-gchar*" "domain")
1478     '("const-gchar*" "first_required_widget")
1479   )
1480   (varargs #t)
1481 )
1482
1483 (define-function empathy_glade_connect
1484   (c-name "empathy_glade_connect")
1485   (return-type "none")
1486   (parameters
1487     '("GladeXML*" "gui")
1488     '("gpointer" "user_data")
1489     '("gchar*" "first_widget")
1490   )
1491   (varargs #t)
1492 )
1493
1494 (define-function empathy_glade_setup_size_group
1495   (c-name "empathy_glade_setup_size_group")
1496   (return-type "none")
1497   (parameters
1498     '("GladeXML*" "gui")
1499     '("GtkSizeGroupMode" "mode")
1500     '("gchar*" "first_widget")
1501   )
1502   (varargs #t)
1503 )
1504
1505 (define-function empathy_pixbuf_from_icon_name
1506   (c-name "empathy_pixbuf_from_icon_name")
1507   (return-type "GdkPixbuf*")
1508   (parameters
1509     '("const-gchar*" "icon_name")
1510     '("GtkIconSize" "icon_size")
1511   )
1512 )
1513
1514 (define-function empathy_pixbuf_from_smiley
1515   (c-name "empathy_pixbuf_from_smiley")
1516   (return-type "GdkPixbuf*")
1517   (parameters
1518     '("EmpathySmiley" "type")
1519     '("GtkIconSize" "icon_size")
1520   )
1521 )
1522
1523 (define-function empathy_icon_name_from_account
1524   (c-name "empathy_icon_name_from_account")
1525   (return-type "const-gchar*")
1526   (parameters
1527     '("McAccount*" "account")
1528   )
1529 )
1530
1531 (define-function empathy_icon_name_for_presence_state
1532   (c-name "empathy_icon_name_for_presence_state")
1533   (return-type "const-gchar*")
1534   (parameters
1535     '("McPresence" "state")
1536   )
1537 )
1538
1539 (define-function empathy_icon_name_for_presence
1540   (c-name "empathy_icon_name_for_presence")
1541   (return-type "const-gchar*")
1542   (parameters
1543     '("EmpathyPresence*" "presence")
1544   )
1545 )
1546
1547 (define-function empathy_icon_name_for_contact
1548   (c-name "empathy_icon_name_for_contact")
1549   (return-type "const-gchar*")
1550   (parameters
1551     '("EmpathyContact*" "contact")
1552   )
1553 )
1554
1555 (define-function empathy_pixbuf_from_avatar_scaled
1556   (c-name "empathy_pixbuf_from_avatar_scaled")
1557   (return-type "GdkPixbuf*")
1558   (parameters
1559     '("EmpathyAvatar*" "avatar")
1560     '("gint" "width")
1561     '("gint" "height")
1562   )
1563 )
1564
1565 (define-function empathy_pixbuf_avatar_from_contact_scaled
1566   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1567   (return-type "GdkPixbuf*")
1568   (parameters
1569     '("EmpathyContact*" "contact")
1570     '("gint" "width")
1571     '("gint" "height")
1572   )
1573 )
1574
1575 (define-function empathy_text_iter_forward_search
1576   (c-name "empathy_text_iter_forward_search")
1577   (return-type "gboolean")
1578   (parameters
1579     '("const-GtkTextIter*" "iter")
1580     '("const-gchar*" "str")
1581     '("GtkTextIter*" "match_start")
1582     '("GtkTextIter*" "match_end")
1583     '("const-GtkTextIter*" "limit")
1584   )
1585 )
1586
1587 (define-function empathy_text_iter_backward_search
1588   (c-name "empathy_text_iter_backward_search")
1589   (return-type "gboolean")
1590   (parameters
1591     '("const-GtkTextIter*" "iter")
1592     '("const-gchar*" "str")
1593     '("GtkTextIter*" "match_start")
1594     '("GtkTextIter*" "match_end")
1595     '("const-GtkTextIter*" "limit")
1596   )
1597 )
1598
1599 (define-function empathy_window_get_is_visible
1600   (c-name "empathy_window_get_is_visible")
1601   (return-type "gboolean")
1602   (parameters
1603     '("GtkWindow*" "window")
1604   )
1605 )
1606
1607 (define-function empathy_window_present
1608   (c-name "empathy_window_present")
1609   (return-type "none")
1610   (parameters
1611     '("GtkWindow*" "window")
1612     '("gboolean" "steal_focus")
1613   )
1614 )
1615
1616 (define-function empathy_window_iconify
1617   (c-name "empathy_window_iconify")
1618   (return-type "none")
1619   (parameters
1620     '("GtkWindow*" "window")
1621     '("GtkStatusIcon*" "status_icon")
1622   )
1623 )
1624
1625 (define-function empathy_get_toplevel_window
1626   (c-name "empathy_get_toplevel_window")
1627   (return-type "GtkWindow*")
1628   (parameters
1629     '("GtkWidget*" "widget")
1630   )
1631 )
1632
1633 (define-function empathy_url_show
1634   (c-name "empathy_url_show")
1635   (return-type "none")
1636   (parameters
1637     '("const-char*" "url")
1638   )
1639 )
1640
1641 (define-function empathy_toggle_button_set_state_quietly
1642   (c-name "empathy_toggle_button_set_state_quietly")
1643   (return-type "none")
1644   (parameters
1645     '("GtkWidget*" "widget")
1646     '("GCallback" "callback")
1647     '("gpointer" "user_data")
1648     '("gboolean" "active")
1649   )
1650 )
1651
1652 (define-function empathy_link_button_new
1653   (c-name "empathy_link_button_new")
1654   (is-constructor-of "EmpathyLinkButton")
1655   (return-type "GtkWidget*")
1656   (parameters
1657     '("const-gchar*" "url")
1658     '("const-gchar*" "title")
1659   )
1660 )
1661
1662
1663
1664 ;; From ephy-spinner.h
1665
1666 (define-function ephy_spinner_get_type
1667   (c-name "ephy_spinner_get_type")
1668   (return-type "GType")
1669 )
1670
1671 (define-function ephy_spinner_new
1672   (c-name "ephy_spinner_new")
1673   (is-constructor-of "EphySpinner")
1674   (return-type "GtkWidget*")
1675 )
1676
1677 (define-method start
1678   (of-object "EphySpinner")
1679   (c-name "ephy_spinner_start")
1680   (return-type "none")
1681 )
1682
1683 (define-method stop
1684   (of-object "EphySpinner")
1685   (c-name "ephy_spinner_stop")
1686   (return-type "none")
1687 )
1688
1689 (define-method set_size
1690   (of-object "EphySpinner")
1691   (c-name "ephy_spinner_set_size")
1692   (return-type "none")
1693   (parameters
1694     '("GtkIconSize" "size")
1695   )
1696 )
1697
1698