2 ; object definitions ...
8 (gtype-id "RB_TYPE_PLUGIN")
15 (gtype-id "RB_TYPE_SHELL")
18 (define-object ShellPlayer
21 (c-name "RBShellPlayer")
22 (gtype-id "RB_TYPE_SHELL_PLAYER")
29 (gtype-id "RB_TYPE_SOURCE")
32 (define-object BrowserSource
35 (c-name "RBBrowserSource")
36 (gtype-id "RB_TYPE_BROWSER_SOURCE")
39 (define-object RemovableMediaSource
41 (parent "RBBrowserSource")
42 (c-name "RBRemovableMediaSource")
43 (gtype-id "RB_TYPE_REMOVABLE_MEDIA_SOURCE")
46 (define-object RemovableMediaManager
49 (c-name "RBRemovableMediaManager")
50 (gtype-id "RB_TYPE_REMOVABLE_MEDIA_MANAGER")
53 (define-object SourceList
55 (parent "GtkScrolledWindow")
56 (c-name "RBSourceList")
57 (gtype-id "RB_TYPE_SOURCELIST")
60 (define-object EntryView
62 (parent "GtkScrolledWindow")
63 (c-name "RBEntryView")
64 (gtype-id "RB_TYPE_ENTRY_VIEW")
67 (define-object PropertyView
69 (parent "GtkScrolledWindow")
70 (c-name "RBPropertyView")
71 (gtype-id "RB_TYPE_PROPERTY_VIEW")
74 (define-object LibraryBrowser
77 (c-name "RBLibraryBrowser")
78 (gtype-id "RB_TYPE_LIBRARY_BROWSER")
81 (define-object SongInfo
85 (gtype-id "RB_TYPE_SONG_INFO")
88 ;; Enumerations and flags ...
90 (define-enum ShellPlayerError
92 (c-name "RBShellPlayerError")
93 (gtype-id "RB_TYPE_SHELL_PLAYER_ERROR")
95 '("playlist-parse-error" "RB_SHELL_PLAYER_ERROR_PLAYLIST_PARSE_ERROR")
96 '("end-of-playlist" "RB_SHELL_PLAYER_ERROR_END_OF_PLAYLIST")
97 '("not-playing" "RB_SHELL_PLAYER_ERROR_NOT_PLAYING")
98 '("not-seekable" "RB_SHELL_PLAYER_ERROR_NOT_SEEKABLE")
102 (define-enum SourceEOFType
104 (c-name "RBSourceEOFType")
105 (gtype-id "RB_TYPE_SOURCE_EOF_TYPE")
107 '("error" "RB_SOURCE_EOF_ERROR")
108 '("stop" "RB_SOURCE_EOF_STOP")
109 '("retry" "RB_SOURCE_EOF_RETRY")
110 '("next" "RB_SOURCE_EOF_NEXT")
114 (define-enum SourceListGroup
116 (c-name "RBSourceListGroup")
117 (gtype-id "RB_TYPE_SOURCELIST_GROUP")
119 '("fixed" "RB_SOURCELIST_GROUP_FIXED")
120 '("persistant" "RB_SOURCELIST_GROUP_PERSISTANT")
121 '("removable" "RB_SOURCELIST_GROUP_REMOVABLE")
122 '("transient" "RB_SOURCELIST_GROUP_TRANSIENT")
126 (define-enum EntryViewColumn
128 (c-name "RBEntryViewColumn")
129 (gtype-id "RB_TYPE_ENTRY_VIEW_COLUMN")
131 '("track-number" "RB_ENTRY_VIEW_COL_TRACK_NUMBER")
132 '("title" "RB_ENTRY_VIEW_COL_TITLE")
133 '("artist" "RB_ENTRY_VIEW_COL_ARTIST")
134 '("album" "RB_ENTRY_VIEW_COL_ALBUM")
135 '("genre" "RB_ENTRY_VIEW_COL_GENRE")
136 '("duration" "RB_ENTRY_VIEW_COL_DURATION")
137 '("quality" "RB_ENTRY_VIEW_COL_QUALITY")
138 '("rating" "RB_ENTRY_VIEW_COL_RATING")
139 '("play-count" "RB_ENTRY_VIEW_COL_PLAY_COUNT")
140 '("year" "RB_ENTRY_VIEW_COL_YEAR")
141 '("last-played" "RB_ENTRY_VIEW_COL_LAST_PLAYED")
142 '("first-seen" "RB_ENTRY_VIEW_COL_FIRST_SEEN")
143 '("last-seen" "RB_ENTRY_VIEW_COL_LAST_SEEN")
144 '("location" "RB_ENTRY_VIEW_COL_LOCATION")
145 '("error" "RB_ENTRY_VIEW_COL_ERROR")
149 (define-enum EntryViewState
151 (c-name "RBEntryViewState")
152 (gtype-id "RB_TYPE_ENTRY_VIEW_STATE")
154 '("not-playing" "RB_ENTRY_VIEW_NOT_PLAYING")
155 '("playing" "RB_ENTRY_VIEW_PLAYING")
156 '("paused" "RB_ENTRY_VIEW_PAUSED")
160 (define-enum ShellUILocation
162 (c-name "RBShellUILocation")
163 (gtype-id "RB_TYPE_SHELL_UI_LOCATION")
165 '("sidebar" "RB_SHELL_UI_LOCATION_SIDEBAR")
166 '("main-top" "RB_SHELL_UI_LOCATION_MAIN_TOP")
167 '("main-bottom" "RB_SHELL_UI_LOCATION_MAIN_BOTTOM")
171 ;; From ../../plugins/rb-plugin.h
173 (define-function rb_plugin_get_type
174 (c-name "rb_plugin_get_type")
175 (return-type "GType")
178 (define-method activate
179 (of-object "RBPlugin")
180 (c-name "rb_plugin_activate")
183 '("RBShell*" "shell")
187 (define-method deactivate
188 (of-object "RBPlugin")
189 (c-name "rb_plugin_deactivate")
192 '("RBShell*" "shell")
196 (define-method is_configurable
197 (of-object "RBPlugin")
198 (c-name "rb_plugin_is_configurable")
199 (return-type "gboolean")
202 (define-method create_configure_dialog
203 (of-object "RBPlugin")
204 (c-name "rb_plugin_create_configure_dialog")
205 (return-type "GtkWidget*")
208 (define-method find_file
209 (of-object "RBPlugin")
210 (c-name "rb_plugin_find_file")
211 (return-type "char*")
213 '("const-char*" "file")
219 ;; From ../../shell/rb-shell.h
221 (define-function rb_shell_error_quark
222 (c-name "rb_shell_error_quark")
223 (return-type "GQuark")
226 (define-function rb_shell_get_type
227 (c-name "rb_shell_get_type")
228 (return-type "GType")
231 (define-method present
232 (of-object "RBShell")
233 (c-name "rb_shell_present")
234 (return-type "gboolean")
236 '("guint32" "timestamp")
237 '("GError**" "error")
241 (define-method guess_source_for_uri
242 (of-object "RBShell")
243 (c-name "rb_shell_guess_source_for_uri")
244 (return-type "RBSource*")
246 '("const-char*" "uri")
250 (define-method add_uri
251 (of-object "RBShell")
252 (c-name "rb_shell_add_uri")
253 (return-type "gboolean")
255 '("const-char*" "uri")
256 '("const-char*" "title")
257 '("const-char*" "genre")
258 '("GError**" "error")
262 (define-method load_uri
263 (of-object "RBShell")
264 (c-name "rb_shell_load_uri")
265 (return-type "gboolean")
267 '("const-char*" "uri")
269 '("GError**" "error")
273 (define-method get_player
274 (of-object "RBShell")
275 (c-name "rb_shell_get_player")
276 (return-type "GObject*")
279 (define-method get_playlist_manager
280 (of-object "RBShell")
281 (c-name "rb_shell_get_playlist_manager")
282 (return-type "GObject*")
284 (define-method get_ui_manager
285 (of-object "RBShell")
286 (c-name "rb_shell_get_ui_manager")
287 (return-type "GObject*")
290 (define-method toggle_visibility
291 (of-object "RBShell")
292 (c-name "rb_shell_toggle_visibility")
296 (define-method add_to_queue
297 (of-object "RBShell")
298 (c-name "rb_shell_add_to_queue")
299 (return-type "gboolean")
301 '("const-gchar*" "uri")
302 '("GError**" "error")
306 (define-method remove_from_queue
307 (of-object "RBShell")
308 (c-name "rb_shell_remove_from_queue")
309 (return-type "gboolean")
311 '("const-gchar*" "uri")
312 '("GError**" "error")
316 (define-method hidden_notify
317 (of-object "RBShell")
318 (c-name "rb_shell_hidden_notify")
322 '("const-char*" "primary")
323 '("GtkWidget*" "icon")
324 '("const-char*" "secondary")
328 (define-method register_entry_type_for_source
329 (of-object "RBShell")
330 (c-name "rb_shell_register_entry_type_for_source")
333 '("RBSource*" "source")
334 '("RhythmDBEntryType_*" "type")
338 (define-method get_party_mode
339 (of-object "RBShell")
340 (c-name "rb_shell_get_party_mode")
341 (return-type "gboolean")
344 (define-method append_source
345 (of-object "RBShell")
346 (c-name "rb_shell_append_source")
349 '("RBSource*" "source")
350 '("RBSource*" "parent" (null-ok) (default "NULL"))
354 ;; From ../../shell/rb-shell-player.h
356 (define-function rb_shell_player_error_quark
357 (c-name "rb_shell_player_error_quark")
358 (return-type "GQuark")
361 (define-function rb_shell_player_get_type
362 (c-name "rb_shell_player_get_type")
363 (return-type "GType")
366 (define-method set_selected_source
367 (of-object "RBShellPlayer")
368 (c-name "rb_shell_player_set_selected_source")
371 '("RBSource*" "player")
375 (define-method set_playing_source
376 (of-object "RBShellPlayer")
377 (c-name "rb_shell_player_set_playing_source")
380 '("RBSource*" "source")
384 (define-method get_playing_source
385 (of-object "RBShellPlayer")
386 (c-name "rb_shell_player_get_playing_source")
387 (return-type "RBSource*")
390 (define-method jump_to_current
391 (of-object "RBShellPlayer")
392 (c-name "rb_shell_player_jump_to_current")
396 (define-method play_entry
397 (of-object "RBShellPlayer")
398 (c-name "rb_shell_player_play_entry")
401 '("RhythmDBEntry*" "entry")
402 '("RBSource*" "source" (default "NULL"))
406 (define-method playpause
407 (of-object "RBShellPlayer")
408 (c-name "rb_shell_player_playpause")
409 (return-type "gboolean")
411 '("gboolean" "unused" (default "FALSE"))
412 '("GError**" "error")
417 (of-object "RBShellPlayer")
418 (c-name "rb_shell_player_play")
419 (return-type "gboolean")
421 '("GError**" "error")
426 (of-object "RBShellPlayer")
427 (c-name "rb_shell_player_pause")
428 (return-type "gboolean")
430 '("GError**" "error")
435 (of-object "RBShellPlayer")
436 (c-name "rb_shell_player_stop")
440 (define-method do_previous
441 (of-object "RBShellPlayer")
442 (c-name "rb_shell_player_do_previous")
443 (return-type "gboolean")
445 '("GError**" "error")
449 (define-method do_next
450 (of-object "RBShellPlayer")
451 (c-name "rb_shell_player_do_next")
452 (return-type "gboolean")
454 '("GError**" "error")
458 (define-method get_playing_time_string
459 (of-object "RBShellPlayer")
460 (c-name "rb_shell_player_get_playing_time_string")
461 (return-type "char*")
464 (define-method get_playing_time
465 (of-object "RBShellPlayer")
466 (c-name "rb_shell_player_get_playing_time")
467 (return-type "gboolean")
470 '("GError**" "error")
474 (define-method set_playing_time
475 (of-object "RBShellPlayer")
476 (c-name "rb_shell_player_set_playing_time")
477 (return-type "gboolean")
480 '("GError**" "error")
485 (of-object "RBShellPlayer")
486 (c-name "rb_shell_player_seek")
493 (define-method get_playing_song_duration
494 (of-object "RBShellPlayer")
495 (c-name "rb_shell_player_get_playing_song_duration")
499 (define-method get_playing
500 (of-object "RBShellPlayer")
501 (c-name "rb_shell_player_get_playing")
502 (return-type "gboolean")
504 '("gboolean*" "playing")
505 '("GError**" "error")
509 (define-method get_playing_path
510 (of-object "RBShellPlayer")
511 (c-name "rb_shell_player_get_playing_path")
512 (return-type "gboolean")
514 '("const-gchar**" "path")
515 '("GError**" "error")
519 (define-method set_playback_state
520 (of-object "RBShellPlayer")
521 (c-name "rb_shell_player_set_playback_state")
524 '("gboolean" "shuffle")
525 '("gboolean" "repeat")
529 (define-method get_playback_state
530 (of-object "RBShellPlayer")
531 (c-name "rb_shell_player_get_playback_state")
532 (return-type "gboolean")
534 '("gboolean*" "shuffle")
535 '("gboolean*" "repeat")
539 (define-method get_playing_entry
540 (of-object "RBShellPlayer")
541 (c-name "rb_shell_player_get_playing_entry")
542 (return-type "RhythmDBEntry*")
545 (define-method toggle_mute
546 (of-object "RBShellPlayer")
547 (c-name "rb_shell_player_toggle_mute")
551 (define-method set_volume
552 (of-object "RBShellPlayer")
553 (c-name "rb_shell_player_set_volume")
554 (return-type "gboolean")
556 '("gdouble" "volume")
557 '("GError**" "error")
561 (define-method get_volume
562 (of-object "RBShellPlayer")
563 (c-name "rb_shell_player_get_volume")
564 (return-type "gboolean")
566 '("gdouble*" "volume")
567 '("GError**" "error")
571 (define-method set_volume_relative
572 (of-object "RBShellPlayer")
573 (c-name "rb_shell_player_set_volume_relative")
574 (return-type "gboolean")
576 '("gdouble" "volume")
577 '("GError**" "error")
581 (define-method set_mute
582 (of-object "RBShellPlayer")
583 (c-name "rb_shell_player_set_mute")
584 (return-type "gboolean")
587 '("GError**" "error")
591 (define-method get_mute
592 (of-object "RBShellPlayer")
593 (c-name "rb_shell_player_get_mute")
594 (return-type "gboolean")
596 '("gboolean*" "mute")
597 '("GError**" "error")
601 ;; From ../../sources/rb-source.h
603 (define-function rb_source_get_type
604 (c-name "rb_source_get_type")
605 (return-type "GType")
609 (define-function rb_source_new
610 (is-constructor-of "RBSource")
611 (c-name "rb_browser_new")
612 (return-type "RBSource*")
614 '("name" (argname "name") (optional))
615 '("icon" (argname "icon") (optional))
616 '("query-model" (argname "query-model") (optional))
617 '("sourcelist-group" (argname "sourcelist-group") (optional))
621 (define-method notify_filter_changed
622 (of-object "RBSource")
623 (c-name "rb_source_notify_filter_changed")
627 (define-method notify_status_changed
628 (of-object "RBSource")
629 (c-name "rb_source_notify_status_changed")
633 (define-method update_play_statistics
634 (of-object "RBSource")
635 (c-name "rb_source_update_play_statistics")
639 '("RhythmDBEntry*" "entry")
643 (define-method set_pixbuf
644 (of-object "RBSource")
645 (c-name "rb_source_set_pixbuf")
648 '("GdkPixbuf*" "pixbuf")
652 (define-method get_status
653 (of-object "RBSource")
654 (c-name "rb_source_get_status")
658 '("char **" "progress_text")
659 '("float *" "progress")
663 (define-method can_browse
664 (of-object "RBSource")
665 (c-name "rb_source_can_browse")
666 (return-type "gboolean")
669 (define-method get_browser_key
670 (of-object "RBSource")
671 (c-name "rb_source_get_browser_key")
672 (return-type "const-char*")
675 (define-method browser_toggled
676 (of-object "RBSource")
677 (c-name "rb_source_browser_toggled")
680 '("gboolean" "enabled")
684 (define-method get_entry_view
685 (of-object "RBSource")
686 (c-name "rb_source_get_entry_view")
687 (return-type "RBEntryView*")
690 (define-method get_property_views
691 (of-object "RBSource")
692 (c-name "rb_source_get_property_views")
693 (return-type "GList*")
696 (define-method can_rename
697 (of-object "RBSource")
698 (c-name "rb_source_can_rename")
699 (return-type "gboolean")
702 (define-method can_search
703 (of-object "RBSource")
704 (c-name "rb_source_can_search")
705 (return-type "gboolean")
708 (define-method search
709 (of-object "RBSource")
710 (c-name "rb_source_search")
713 '("const-char*" "text")
717 (define-method reset_filters
718 (of-object "RBSource")
719 (c-name "rb_source_reset_filters")
723 (define-method can_cut
724 (of-object "RBSource")
725 (c-name "rb_source_can_cut")
726 (return-type "gboolean")
729 (define-method can_delete
730 (of-object "RBSource")
731 (c-name "rb_source_can_delete")
732 (return-type "gboolean")
735 (define-method can_move_to_trash
736 (of-object "RBSource")
737 (c-name "rb_source_can_move_to_trash")
738 (return-type "gboolean")
741 (define-method can_copy
742 (of-object "RBSource")
743 (c-name "rb_source_can_copy")
744 (return-type "gboolean")
747 (define-method can_paste
748 (of-object "RBSource")
749 (c-name "rb_source_can_paste")
750 (return-type "gboolean")
753 (define-method can_add_to_queue
754 (of-object "RBSource")
755 (c-name "rb_source_can_add_to_queue")
756 (return-type "gboolean")
760 (of-object "RBSource")
761 (c-name "rb_source_cut")
762 (return-type "GList*")
766 (of-object "RBSource")
767 (c-name "rb_source_copy")
768 (return-type "GList*")
772 (of-object "RBSource")
773 (c-name "rb_source_paste")
776 '("GList*" "entries")
780 (define-method delete
781 (of-object "RBSource")
782 (c-name "rb_source_delete")
786 (define-method add_to_queue
787 (of-object "RBSource")
788 (c-name "rb_source_add_to_queue")
791 '("RBSource*" "queue")
795 (define-method move_to_trash
796 (of-object "RBSource")
797 (c-name "rb_source_move_to_trash")
801 (define-method song_properties
802 (of-object "RBSource")
803 (c-name "rb_source_song_properties")
807 (define-method try_playlist
808 (of-object "RBSource")
809 (c-name "rb_source_try_playlist")
810 (return-type "gboolean")
813 (define-method can_pause
814 (of-object "RBSource")
815 (c-name "rb_source_can_pause")
816 (return-type "gboolean")
819 (define-method handle_eos
820 (of-object "RBSource")
821 (c-name "rb_source_handle_eos")
822 (return-type "RBSourceEOFType")
825 (define-method receive_drag
826 (of-object "RBSource")
827 (c-name "rb_source_receive_drag")
828 (return-type "gboolean")
830 '("GtkSelectionData*" "data")
834 (define-method show_popup
835 (of-object "RBSource")
836 (c-name "rb_source_show_popup")
837 (return-type "gboolean")
840 (define-method delete_thyself
841 (of-object "RBSource")
842 (c-name "rb_source_delete_thyself")
846 (define-method activate
847 (of-object "RBSource")
848 (c-name "rb_source_activate")
852 (define-method deactivate
853 (of-object "RBSource")
854 (c-name "rb_source_deactivate")
858 (define-method get_ui_actions
859 (of-object "RBSource")
860 (c-name "rb_source_get_ui_actions")
861 (return-type "GList*")
864 (define-method get_search_actions
865 (of-object "RBSource")
866 (c-name "rb_source_get_search_actions")
867 (return-type "GList*")
870 (define-method gather_selected_properties
871 (of-object "RBSource")
872 (c-name "rb_source_gather_selected_properties")
873 (return-type "GList*")
875 '("RhythmDBPropType" "prop")
879 (define-method show_source_popup
880 (of-object "RBSource")
881 (c-name "_rb_source_show_popup")
884 '("const-char*" "ui_path")
889 (define-virtual impl_get_status
890 (of-object "RBSource")
894 '("char **" "progress_text")
895 '("float *" "progress")
899 (define-virtual impl_can_browse
900 (of-object "RBSource")
901 (return-type "gboolean")
904 (define-virtual impl_get_browser_key
905 (of-object "RBSource")
906 (return-type "char*")
909 (define-virtual impl_browser_toggled
910 (of-object "RBSource")
913 '("gboolean" "visible")
917 (define-virtual impl_get_entry_view
918 (of-object "RBSource")
919 (return-type "RBEntryView*")
922 (define-virtual impl_get_property_views
923 (of-object "RBSource")
924 (return-type "GList*")
927 (define-virtual impl_can_rename
928 (of-object "RBSource")
929 (return-type "gboolean")
932 (define-virtual impl_can_search
933 (of-object "RBSource")
934 (return-type "gboolean")
937 (define-virtual impl_search
938 (of-object "RBSource")
941 '("const-char*" "text")
945 (define-virtual impl_reset_filters
946 (of-object "RBSource")
950 (define-virtual impl_can_cut
951 (of-object "RBSource")
952 (return-type "gboolean")
955 (define-virtual impl_can_copy
956 (of-object "RBSource")
957 (return-type "gboolean")
960 (define-virtual impl_can_paste
961 (of-object "RBSource")
962 (return-type "gboolean")
965 (define-virtual impl_can_delete
966 (of-object "RBSource")
967 (return-type "gboolean")
970 (define-virtual impl_can_move_to_trash
971 (of-object "RBSource")
972 (return-type "gboolean")
975 (define-virtual impl_can_add_to_queue
976 (of-object "RBSource")
977 (return-type "gboolean")
980 (define-virtual impl_cut
981 (of-object "RBSource")
982 (return-type "GList*")
985 (define-virtual impl_copy
986 (of-object "RBSource")
987 (return-type "GList*")
990 (define-virtual impl_paste
991 (of-object "RBSource")
994 '("GList*" "entries")
998 (define-virtual impl_delete
999 (of-object "RBSource")
1000 (return-type "none")
1003 (define-virtual impl_move_to_trash
1004 (of-object "RBSource")
1005 (return-type "none")
1008 (define-virtual impl_add_to_queue
1009 (of-object "RBSource")
1010 (return-type "none")
1012 '("RBSource*" "queue_source")
1016 (define-virtual impl_song_properties
1017 (of-object "RBSource")
1018 (return-type "none")
1021 (define-virtual impl_try_playlist
1022 (of-object "RBSource")
1023 (return-type "gboolean")
1026 (define-virtual impl_can_pause
1027 (of-object "RBSource")
1028 (return-type "gboolean")
1031 (define-virtual impl_handle_eos
1032 (of-object "RBSource")
1033 (return-type "RBSourceEOFType")
1036 (define-virtual impl_receive_drag
1037 (of-object "RBSource")
1038 (return-type "gboolean")
1040 '("GtkSelectionData*" "selection")
1044 (define-virtual impl_show_popup
1045 (of-object "RBSource")
1046 (return-type "gboolean")
1049 (define-virtual impl_delete_thyself
1050 (of-object "RBSource")
1051 (return-type "none")
1054 (define-virtual impl_activate
1055 (of-object "RBSource")
1056 (return-type "none")
1059 (define-virtual impl_deactivate
1060 (of-object "RBSource")
1061 (return-type "none")
1064 (define-virtual impl_get_ui_actions
1065 (of-object "RBSource")
1066 (return-type "GList*")
1069 (define-virtual impl_get_search_actions
1070 (of-object "RBSource")
1071 (return-type "GList*")
1075 ;; From ../../sources/rb-sourcelist.h
1077 (define-function rb_sourcelist_get_type
1078 (c-name "rb_sourcelist_get_type")
1079 (return-type "GType")
1082 (define-function sourcelist_new
1084 (c-name "rb_sourcelist_new")
1085 (is-constructor-of "RBSourcelist")
1086 (return-type "GtkWidget*")
1088 '("RBShell*" "shell")
1092 (define-method append
1093 (of-object "RBSourceList")
1094 (c-name "rb_sourcelist_append")
1095 (return-type "none")
1097 '("RBSource*" "source")
1098 '("RBSource*" "parent")
1102 (define-method add_widget
1103 (of-object "RBShell")
1104 (c-name "rb_shell_add_widget")
1105 (return-type "none")
1107 '("GtkWidget*" "widget")
1108 '("RBShellUILocation" "location")
1112 (define-method remove_widget
1113 (of-object "RBShell")
1114 (c-name "rb_shell_remove_widget")
1115 (return-type "none")
1117 '("GtkWidget*" "widget")
1118 '("RBShellUILocation" "location")
1122 (define-method set_playing_source
1123 (of-object "RBSourceList")
1124 (c-name "rb_sourcelist_set_playing_source")
1125 (return-type "none")
1127 '("RBSource*" "source")
1131 (define-method edit_source_name
1132 (of-object "RBSourceList")
1133 (c-name "rb_sourcelist_edit_source_name")
1134 (return-type "none")
1136 '("RBSource*" "source")
1140 (define-method remove
1141 (of-object "RBSourceList")
1142 (c-name "rb_sourcelist_remove")
1143 (return-type "none")
1145 '("RBSource*" "source")
1149 (define-method select
1150 (of-object "RBSourceList")
1151 (c-name "rb_sourcelist_select")
1152 (return-type "none")
1154 '("RBSource*" "source")
1159 ;; From ../../widgets/rb-entry-view.h
1161 (define-function rb_entry_view_get_type
1162 (c-name "rb_entry_view_get_type")
1163 (return-type "GType")
1166 (define-function entry_view_new
1168 (c-name "rb_entry_view_new")
1169 (is-constructor-of "RBEntryView")
1170 (return-type "RBEntryView*")
1173 '("GObject*" "shell_player")
1174 '("const-char*" "sort_key")
1175 '("gboolean" "drag_source")
1176 '("gboolean" "drag_dest")
1180 (define-method append_column
1181 (of-object "RBEntryView")
1182 (c-name "rb_entry_view_append_column")
1183 (return-type "none")
1185 '("RBEntryViewColumn" "coltype")
1186 '("gboolean" "always_visible")
1190 (define-method append_column_custom
1191 (of-object "RBEntryView")
1192 (c-name "rb_entry_view_append_column_custom")
1193 (return-type "none")
1195 '("GtkTreeViewColumn*" "column")
1196 '("const-char*" "title")
1197 '("const-char*" "key")
1198 '("GCompareDataFunc" "sort_func")
1199 '("RhythmDBPropType" "sort_propid")
1203 (define-method set_columns_clickable
1204 (of-object "RBEntryView")
1205 (c-name "rb_entry_view_set_columns_clickable")
1206 (return-type "none")
1208 '("gboolean" "clickable")
1212 (define-method set_model
1213 (of-object "RBEntryView")
1214 (c-name "rb_entry_view_set_model")
1215 (return-type "none")
1217 '("RhythmDBQueryModel*" "model")
1221 (define-method set_state
1222 (of-object "RBEntryView")
1223 (c-name "rb_entry_view_set_state")
1224 (return-type "none")
1226 '("RBEntryViewState" "state")
1230 (define-method have_selection
1231 (of-object "RBEntryView")
1232 (c-name "rb_entry_view_have_selection")
1233 (return-type "gboolean")
1236 (define-method have_complete_selection
1237 (of-object "RBEntryView")
1238 (c-name "rb_entry_view_have_complete_selection")
1239 (return-type "gboolean")
1242 (define-method get_selected_entries
1243 (of-object "RBEntryView")
1244 (c-name "rb_entry_view_get_selected_entries")
1245 (return-type "GList*")
1248 (define-method select_all
1249 (of-object "RBEntryView")
1250 (c-name "rb_entry_view_select_all")
1251 (return-type "none")
1254 (define-method select_none
1255 (of-object "RBEntryView")
1256 (c-name "rb_entry_view_select_none")
1257 (return-type "none")
1260 (define-method select_entry
1261 (of-object "RBEntryView")
1262 (c-name "rb_entry_view_select_entry")
1263 (return-type "none")
1265 '("RhythmDBEntry*" "entry")
1269 (define-method get_entry_contained
1270 (of-object "RBEntryView")
1271 (c-name "rb_entry_view_get_entry_contained")
1272 (return-type "gboolean")
1274 '("RhythmDBEntry*" "entry")
1278 (define-method get_entry_visible
1279 (of-object "RBEntryView")
1280 (c-name "rb_entry_view_get_entry_visible")
1281 (return-type "gboolean")
1283 '("RhythmDBEntry*" "entry")
1287 (define-method scroll_to_entry
1288 (of-object "RBEntryView")
1289 (c-name "rb_entry_view_scroll_to_entry")
1290 (return-type "none")
1292 '("RhythmDBEntry*" "entry")
1296 (define-method enable_drag_source
1297 (of-object "RBEntryView")
1298 (c-name "rb_entry_view_enable_drag_source")
1299 (return-type "none")
1301 '("const-GtkTargetEntry*" "targets")
1302 '("int" "n_targets")
1306 (define-method get_sorting_order
1307 (of-object "RBEntryView")
1308 (c-name "rb_entry_view_get_sorting_order")
1309 (return-type "none")
1311 '("const-char**" "column_name")
1312 '("gint*" "sort_order")
1316 (define-method set_sorting_order
1317 (of-object "RBEntryView")
1318 (c-name "rb_entry_view_set_sorting_order")
1319 (return-type "none")
1321 '("const-char*" "column_name")
1322 '("gint" "sort_order")
1326 (define-method get_sorting_type
1327 (of-object "RBEntryView")
1328 (c-name "rb_entry_view_get_sorting_type")
1329 (return-type "const-char*")
1332 (define-method set_sorting_type
1333 (of-object "RBEntryView")
1334 (c-name "rb_entry_view_set_sorting_type")
1335 (return-type "none")
1337 '("const-char*" "sorttype")
1341 (define-method set_fixed_column_width
1342 (of-object "RBEntryView")
1343 (c-name "rb_entry_view_set_fixed_column_width")
1344 (return-type "none")
1346 '("GtkTreeViewColumn*" "column")
1347 '("GtkCellRenderer*" "renderer")
1348 '("const-gchar**" "strings")
1352 (define-function rb_entry_view_get_time_date_column_sample
1353 (c-name "rb_entry_view_get_time_date_column_sample")
1354 (return-type "const-char*")
1357 (define-method resort_model
1358 (of-object "RBEntryView")
1359 (c-name "rb_entry_view_resort_model")
1360 (return-type "none")
1363 ;; From ../../widgets/rb-property-view.h
1365 (define-function rb_property_view_get_type
1366 (c-name "rb_property_view_get_type")
1367 (return-type "GType")
1370 (define-function property_view_new
1372 (c-name "rb_property_view_new")
1373 (is-constructor-of "RBPropertyView")
1374 (return-type "RBPropertyView*")
1378 '("const-char*" "title")
1382 (define-method append_column_custom
1383 (of-object "RBPropertyView")
1384 (c-name "rb_property_view_append_column_custom")
1385 (return-type "none")
1387 '("GtkTreeViewColumn*" "column")
1391 (define-method set_selection_mode
1392 (of-object "RBPropertyView")
1393 (c-name "rb_property_view_set_selection_mode")
1394 (return-type "none")
1396 '("GtkSelectionMode" "mode")
1400 (define-method reset
1401 (of-object "RBPropertyView")
1402 (c-name "rb_property_view_reset")
1403 (return-type "none")
1406 (define-method set_selection
1407 (of-object "RBPropertyView")
1408 (c-name "rb_property_view_set_selection")
1409 (return-type "none")
1411 '("const-GList*" "names")
1415 (define-method get_model
1416 (of-object "RBPropertyView")
1417 (c-name "rb_property_view_get_model")
1418 (return-type "RhythmDBPropertyModel*")
1421 (define-method set_model
1422 (of-object "RBPropertyView")
1423 (c-name "rb_property_view_set_model")
1424 (return-type "none")
1426 '("RhythmDBPropertyModel*" "model")
1430 (define-method get_num_properties
1431 (of-object "RBPropertyView")
1432 (c-name "rb_property_view_get_num_properties")
1433 (return-type "guint")
1436 (define-method set_search_func
1437 (of-object "RBPropertyView")
1438 (c-name "rb_property_view_set_search_func")
1439 (return-type "none")
1441 '("GtkTreeViewSearchEqualFunc" "func")
1442 '("gpointer" "func_data")
1443 '("GtkDestroyNotify" "notify")
1447 ;; From ../../widgets/rb-library-browser.h
1449 (define-function rb_library_browser_get_type
1450 (c-name "rb_library_browser_get_type")
1451 (return-type "GType")
1454 (define-function library_browser_new
1456 (c-name "rb_library_browser_new")
1457 (is-constructor-of "RBLibraryBrowser")
1458 (return-type "RBLibraryBrowser*")
1461 '("RhythmDBEntryType_*" "entry_type")
1465 (define-method set_model
1466 (of-object "RBLibraryBrowser")
1467 (c-name "rb_library_browser_set_model")
1468 (return-type "none")
1470 '("RhythmDBQueryModel*" "model")
1471 '("gboolean" "query_pending")
1475 (define-method reset
1476 (of-object "RBLibraryBrowser")
1477 (c-name "rb_library_browser_reset")
1478 (return-type "gboolean")
1481 (define-method construct_query
1482 (of-object "RBLibraryBrowser")
1483 (c-name "rb_library_browser_construct_query")
1484 (return-type "RhythmDBQuery*")
1487 (define-method get_property_views
1488 (of-object "RBLibraryBrowser")
1489 (c-name "rb_library_browser_get_property_views")
1490 (return-type "GList*")
1493 (define-method get_property_view
1494 (of-object "RBLibraryBrowser")
1495 (c-name "rb_library_browser_get_property_view")
1496 (return-type "RBPropertyView*")
1498 '("RhythmDBPropType" "type")
1502 (define-method has_selection
1503 (of-object "RBLibraryBrowser")
1504 (c-name "rb_library_browser_has_selection")
1505 (return-type "gboolean")
1508 (define-method set_selection
1509 (of-object "RBLibraryBrowser")
1510 (c-name "rb_library_browser_set_selection")
1511 (return-type "none")
1513 '("RhythmDBPropType" "type")
1519 ;; From ../../sources/rb-browser-source.h
1521 (define-function rb_browser_source_get_type
1522 (c-name "rb_browser_source_get_type")
1523 (return-type "GType")
1527 (define-function rb_browser_source_new
1528 (is-constructor-of "RBBrowserSource")
1529 (c-name "rb_browser_source_new")
1530 (return-type "RBBrowserSource*")
1532 '("entry-type" (argname "entry-type") (optional))
1533 '("sorting-key" (argname "sorting-key") (optional))
1536 '("name" (argname "name") (optional))
1537 '("icon" (argname "icon") (optional))
1538 '("query-model" (argname "query-model") (optional))
1539 '("sourcelist-group" (argname "sourcelist-group") (optional))
1543 (define-method get_paned_key
1544 (of-object "RBBrowserSource")
1545 (c-name "rb_browser_source_get_paned_key")
1546 (return-type "const-char*")
1549 (define-method has_drop_support
1550 (of-object "RBBrowserSource")
1551 (c-name "rb_browser_source_has_drop_support")
1552 (return-type "gboolean")
1555 (define-virtual impl_get_paned_key
1556 (of-object "RBBrowserSource")
1557 (return-type "const-char*")
1560 (define-virtual impl_has_drop_support
1561 (of-object "RBBrowserSource")
1562 (return-type "gboolean")
1565 (define-virtual impl_show_entry_popup
1566 (of-object "RBBrowserSource")
1567 (return-type "none")
1572 ;; From ../../sources/rb-removable-media-source.h
1574 (define-function rb_removable_media_source_get_type
1575 (c-name "rb_removable_media_source_get_type")
1576 (return-type "GType")
1580 ;; From ../../shell/rb-removable-media-manager.h
1582 (define-function rb_removable_media_manager_get_type
1583 (c-name "rb_removable_media_manager_get_type")
1584 (return-type "GType")
1588 (of-object "RBRemovableMediaManager")
1589 (c-name "rb_removable_media_manager_scan")
1590 (return-type "none")
1593 (define-method queue_transfer
1594 (of-object "RBRemovableMediaManager")
1595 (c-name "rb_removable_media_manager_queue_transfer")
1596 (return-type "none")
1598 '("RhythmDBEntry*" "entry")
1599 '("const-char*" "dest")
1600 '("const-char*" "mime_type")
1601 '("RBTranferCompleteCallback" "callback")
1602 '("gpointer" "userdata")
1607 ;; From ../../widgets/rb-song-info.h
1609 (define-function rb_song_info_get_type
1610 (c-name "rb_song_info_get_type")
1611 (return-type "GType")
1614 (define-function rb_song_info_new
1615 (c-name "rb_song_info_new")
1616 (is-constructor-of "RBSongInfo")
1617 (return-type "GtkWidget*")
1619 '("RBSource*" "source")
1620 '("RBEntryView*" "entry_view")
1624 (define-method append_page
1625 (of-object "RBSongInfo")
1626 (c-name "rb_song_info_append_page")
1627 (return-type "guint")
1629 '("const-char*" "title")
1630 '("GtkWidget*" "page")
1637 (define-function _debug
1639 (c-name "rb_debug_real")
1640 (return-type "none")
1642 '("const-char*" "function")
1643 '("const-char*" "file")
1645 '("gboolean" "newline")
1646 '("const-char*" "str")
1650 (define-function error_dialog
1652 (c-name "rb_error_dialog")
1653 (return-type "none")
1655 '("GtkWindow*" "window" (default "NULL"))
1656 '("const-char*" "title")
1657 '("const-char*" "message")