~ubuntu-branches/ubuntu/lucid/rhythmbox/lucid

« back to all changes in this revision

Viewing changes to doc/reference/html/RBSource.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-29 10:12:48 UTC
  • mfrom: (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20100329101248-fu29j0q1s2dx8k99
Tags: 0.12.8-0ubuntu1
* New upstream version
* debian/patches/90_autoreconf.patch:
  - new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch06.html" title="Sources">
9
9
<link rel="prev" href="RBSourceSearchBasic.html" title="RBSourceSearchBasic">
10
10
<link rel="next" href="RBSourceListModel.html" title="RBSourceListModel">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="ch01.html" title="Backends">
14
14
<link rel="chapter" href="ch02.html" title="Lib">
29
29
</tr>
30
30
<tr><td colspan="5" class="shortcuts">
31
31
<a href="#RBSource.synopsis" class="shortcut">Top</a>
32
 
                 | 
33
 
                <a href="#RBSource.description" class="shortcut">Description</a>
34
 
                 | 
35
 
                <a href="#RBSource.object-hierarchy" class="shortcut">Object Hierarchy</a>
36
 
                 | 
37
 
                <a href="#RBSource.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
38
 
                 | 
39
 
                <a href="#RBSource.properties" class="shortcut">Properties</a>
40
 
                 | 
41
 
                <a href="#RBSource.signals" class="shortcut">Signals</a>
 
32
                   | 
 
33
                  <a href="#RBSource.description" class="shortcut">Description</a>
 
34
                   | 
 
35
                  <a href="#RBSource.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
36
                   | 
 
37
                  <a href="#RBSource.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
38
                   | 
 
39
                  <a href="#RBSource.properties" class="shortcut">Properties</a>
 
40
                   | 
 
41
                  <a href="#RBSource.signals" class="shortcut">Signals</a>
42
42
</td></tr>
43
43
</table>
44
44
<div class="refentry" title="RBSource">
52
52
</tr></table></div>
53
53
<div class="refsynopsisdiv" title="Synopsis">
54
54
<a name="RBSource.synopsis"></a><h2>Synopsis</h2>
55
 
<pre class="synopsis">
56
 
                    <a class="link" href="RBSource.html#RBSource-struct" title="RBSource">RBSource</a>;
 
55
<pre class="synopsis">                    <a class="link" href="RBSource.html#RBSource-struct" title="RBSource">RBSource</a>;
57
56
                    <a class="link" href="RBSource.html#RBSourceClass" title="RBSourceClass">RBSourceClass</a>;
58
57
enum                <a class="link" href="RBSource.html#RBSourceEOFType" title="enum RBSourceEOFType">RBSourceEOFType</a>;
59
 
#define             <a class="link" href="RBSource.html#RB-SOURCE-ICON-SIZE--CAPS" title="RB_SOURCE_ICON_SIZE">RB_SOURCE_ICON_SIZE</a>
60
 
void                <a class="link" href="RBSource.html#rb-source-notify-filter-changed" title="rb_source_notify_filter_changed ()">rb_source_notify_filter_changed</a>     (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
61
 
void                <a class="link" href="RBSource.html#rb-source-notify-status-changed" title="rb_source_notify_status_changed ()">rb_source_notify_status_changed</a>     (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
62
 
void                <a class="link" href="RBSource.html#rb-source-update-play-statistics" title="rb_source_update_play_statistics ()">rb_source_update_play_statistics</a>    (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
63
 
                                                         <a class="link" href="RhythmDB.html" title="RhythmDB">RhythmDB</a> *db,
64
 
                                                         <a class="link" href="RhythmDB.html#RhythmDBEntry" title="RhythmDBEntry">RhythmDBEntry</a> *entry);
65
 
void                <a class="link" href="RBSource.html#rb-source-set-pixbuf" title="rb_source_set_pixbuf ()">rb_source_set_pixbuf</a>                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
66
 
                                                         <a
67
 
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
68
 
>GdkPixbuf</a> *pixbuf);
69
 
void                <a class="link" href="RBSource.html#rb-source-get-status" title="rb_source_get_status ()">rb_source_get_status</a>                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
70
 
                                                         char **text,
71
 
                                                         char **progress_text,
72
 
                                                         float *progress);
73
 
<a
74
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
75
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-can-browse" title="rb_source_can_browse ()">rb_source_can_browse</a>                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
76
 
char *              <a class="link" href="RBSource.html#rb-source-get-browser-key" title="rb_source_get_browser_key ()">rb_source_get_browser_key</a>           (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
77
 
void                <a class="link" href="RBSource.html#rb-source-browser-toggled" title="rb_source_browser_toggled ()">rb_source_browser_toggled</a>           (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
78
 
                                                         <a
79
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
80
 
>gboolean</a> enabled);
81
 
<a class="link" href="RBEntryView.html" title="RBEntryView">RBEntryView</a> *       <a class="link" href="RBSource.html#rb-source-get-entry-view" title="rb_source_get_entry_view ()">rb_source_get_entry_view</a>            (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
82
 
<a
83
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
84
 
>GList</a> *             <a class="link" href="RBSource.html#rb-source-get-property-views" title="rb_source_get_property_views ()">rb_source_get_property_views</a>        (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
85
 
<a
86
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
87
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-can-rename" title="rb_source_can_rename ()">rb_source_can_rename</a>                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
88
 
void                <a class="link" href="RBSource.html#rb-source-search" title="rb_source_search ()">rb_source_search</a>                    (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
89
 
                                                         <a class="link" href="RBSourceSearch.html" title="RBSourceSearch">RBSourceSearch</a> *search,
90
 
                                                         const char *cur_text,
91
 
                                                         const char *new_text);
92
 
void                <a class="link" href="RBSource.html#rb-source-reset-filters" title="rb_source_reset_filters ()">rb_source_reset_filters</a>             (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
93
 
<a
94
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
95
 
>GtkWidget</a> *         <a class="link" href="RBSource.html#rb-source-get-config-widget" title="rb_source_get_config_widget ()">rb_source_get_config_widget</a>         (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
96
 
                                                         <a class="link" href="RBShellPreferences.html" title="RBShellPreferences">RBShellPreferences</a> *prefs);
97
 
<a
98
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
99
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-can-cut" title="rb_source_can_cut ()">rb_source_can_cut</a>                   (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
100
 
<a
101
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
102
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-can-delete" title="rb_source_can_delete ()">rb_source_can_delete</a>                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
103
 
<a
104
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
105
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-can-move-to-trash" title="rb_source_can_move_to_trash ()">rb_source_can_move_to_trash</a>         (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
106
 
<a
107
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
108
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-can-copy" title="rb_source_can_copy ()">rb_source_can_copy</a>                  (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
109
 
<a
110
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
111
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-can-paste" title="rb_source_can_paste ()">rb_source_can_paste</a>                 (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
112
 
<a
113
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
114
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-can-add-to-queue" title="rb_source_can_add_to_queue ()">rb_source_can_add_to_queue</a>          (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
115
 
<a
116
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
117
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-can-show-properties" title="rb_source_can_show_properties ()">rb_source_can_show_properties</a>       (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
118
 
<a
119
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
120
 
>GList</a> *             <a class="link" href="RBSource.html#rb-source-cut" title="rb_source_cut ()">rb_source_cut</a>                       (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
121
 
<a
122
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
123
 
>GList</a> *             <a class="link" href="RBSource.html#rb-source-copy" title="rb_source_copy ()">rb_source_copy</a>                      (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
124
 
void                <a class="link" href="RBSource.html#rb-source-paste" title="rb_source_paste ()">rb_source_paste</a>                     (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
125
 
                                                         <a
126
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
127
 
>GList</a> *entries);
128
 
void                <a class="link" href="RBSource.html#rb-source-delete" title="rb_source_delete ()">rb_source_delete</a>                    (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
129
 
void                <a class="link" href="RBSource.html#rb-source-add-to-queue" title="rb_source_add_to_queue ()">rb_source_add_to_queue</a>              (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
130
 
                                                         <a class="link" href="RBSource.html" title="RBSource">RBSource</a> *queue);
131
 
void                <a class="link" href="RBSource.html#rb-source-move-to-trash" title="rb_source_move_to_trash ()">rb_source_move_to_trash</a>             (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
132
 
void                <a class="link" href="RBSource.html#rb-source-song-properties" title="rb_source_song_properties ()">rb_source_song_properties</a>           (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
133
 
<a
134
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
135
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-try-playlist" title="rb_source_try_playlist ()">rb_source_try_playlist</a>              (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
136
 
<a
137
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
138
 
>guint</a>               <a class="link" href="RBSource.html#rb-source-want-uri" title="rb_source_want_uri ()">rb_source_want_uri</a>                  (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
139
 
                                                         const char *uri);
140
 
<a
141
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
142
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-uri-is-source" title="rb_source_uri_is_source ()">rb_source_uri_is_source</a>             (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
143
 
                                                         const char *uri);
144
 
<a
145
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
146
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-add-uri" title="rb_source_add_uri ()">rb_source_add_uri</a>                   (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
147
 
                                                         const char *uri,
148
 
                                                         const char *title,
149
 
                                                         const char *genre);
150
 
<a
151
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
152
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-can-pause" title="rb_source_can_pause ()">rb_source_can_pause</a>                 (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
153
 
<a class="link" href="RBSource.html#RBSourceEOFType" title="enum RBSourceEOFType">RBSourceEOFType</a>     <a class="link" href="RBSource.html#rb-source-handle-eos" title="rb_source_handle_eos ()">rb_source_handle_eos</a>                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
154
 
<a
155
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
156
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-receive-drag" title="rb_source_receive_drag ()">rb_source_receive_drag</a>              (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
157
 
                                                         <a
158
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#GtkSelectionData"
159
 
>GtkSelectionData</a> *data);
160
 
<a
161
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
162
 
>gboolean</a>            <a class="link" href="RBSource.html#rb-source-show-popup" title="rb_source_show_popup ()">rb_source_show_popup</a>                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
163
 
void                <a class="link" href="RBSource.html#rb-source-delete-thyself" title="rb_source_delete_thyself ()">rb_source_delete_thyself</a>            (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
164
 
void                <a class="link" href="RBSource.html#rb-source-activate" title="rb_source_activate ()">rb_source_activate</a>                  (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
165
 
void                <a class="link" href="RBSource.html#rb-source-deactivate" title="rb_source_deactivate ()">rb_source_deactivate</a>                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
166
 
<a
167
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
168
 
>GList</a> *             <a class="link" href="RBSource.html#rb-source-get-ui-actions" title="rb_source_get_ui_actions ()">rb_source_get_ui_actions</a>            (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
169
 
<a
170
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
171
 
>GList</a> *             <a class="link" href="RBSource.html#rb-source-get-search-actions" title="rb_source_get_search_actions ()">rb_source_get_search_actions</a>        (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);
172
 
<a
173
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
174
 
>GList</a> *             <a class="link" href="RBSource.html#rb-source-gather-selected-properties" title="rb_source_gather_selected_properties ()">rb_source_gather_selected_properties</a>
175
 
                                                        (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
176
 
                                                         <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType">RhythmDBPropType</a> prop);
177
 
void                <a class="link" href="RBSource.html#rb-source-set-hidden-when-empty" title="rb_source_set_hidden_when_empty ()">rb_source_set_hidden_when_empty</a>     (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
178
 
                                                         <a
179
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
180
 
>gboolean</a> hidden);
 
58
#define             <a class="link" href="RBSource.html#RB-SOURCE-ICON-SIZE:CAPS" title="RB_SOURCE_ICON_SIZE">RB_SOURCE_ICON_SIZE</a>
 
59
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-notify-filter-changed" title="rb_source_notify_filter_changed ()">rb_source_notify_filter_changed</a>     (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
60
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-notify-status-changed" title="rb_source_notify_status_changed ()">rb_source_notify_status_changed</a>     (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
61
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-update-play-statistics" title="rb_source_update_play_statistics ()">rb_source_update_play_statistics</a>    (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
62
                                                         <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="returnvalue">RhythmDB</span></a> *db,
 
63
                                                         <a class="link" href="RhythmDB.html#RhythmDBEntry" title="RhythmDBEntry"><span class="returnvalue">RhythmDBEntry</span></a> *entry);
 
64
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-set-pixbuf" title="rb_source_set_pixbuf ()">rb_source_set_pixbuf</a>                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
65
                                                         <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *pixbuf);
 
66
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-get-status" title="rb_source_get_status ()">rb_source_get_status</a>                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
67
                                                         <span class="returnvalue">char</span> **text,
 
68
                                                         <span class="returnvalue">char</span> **progress_text,
 
69
                                                         <span class="returnvalue">float</span> *progress);
 
70
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-can-browse" title="rb_source_can_browse ()">rb_source_can_browse</a>                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
71
<span class="returnvalue">char</span> *              <a class="link" href="RBSource.html#rb-source-get-browser-key" title="rb_source_get_browser_key ()">rb_source_get_browser_key</a>           (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
72
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-browser-toggled" title="rb_source_browser_toggled ()">rb_source_browser_toggled</a>           (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
73
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> enabled);
 
74
<a class="link" href="RBEntryView.html" title="RBEntryView"><span class="returnvalue">RBEntryView</span></a> *       <a class="link" href="RBSource.html#rb-source-get-entry-view" title="rb_source_get_entry_view ()">rb_source_get_entry_view</a>            (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
75
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="RBSource.html#rb-source-get-property-views" title="rb_source_get_property_views ()">rb_source_get_property_views</a>        (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
76
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-can-rename" title="rb_source_can_rename ()">rb_source_can_rename</a>                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
77
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-search" title="rb_source_search ()">rb_source_search</a>                    (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
78
                                                         <a class="link" href="RBSourceSearch.html" title="RBSourceSearch"><span class="returnvalue">RBSourceSearch</span></a> *search,
 
79
                                                         const <span class="returnvalue">char</span> *cur_text,
 
80
                                                         const <span class="returnvalue">char</span> *new_text);
 
81
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-reset-filters" title="rb_source_reset_filters ()">rb_source_reset_filters</a>             (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
82
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="RBSource.html#rb-source-get-config-widget" title="rb_source_get_config_widget ()">rb_source_get_config_widget</a>         (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
83
                                                         <a class="link" href="RBShellPreferences.html" title="RBShellPreferences"><span class="returnvalue">RBShellPreferences</span></a> *prefs);
 
84
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-can-cut" title="rb_source_can_cut ()">rb_source_can_cut</a>                   (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
85
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-can-delete" title="rb_source_can_delete ()">rb_source_can_delete</a>                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
86
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-can-move-to-trash" title="rb_source_can_move_to_trash ()">rb_source_can_move_to_trash</a>         (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
87
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-can-copy" title="rb_source_can_copy ()">rb_source_can_copy</a>                  (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
88
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-can-paste" title="rb_source_can_paste ()">rb_source_can_paste</a>                 (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
89
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-can-add-to-queue" title="rb_source_can_add_to_queue ()">rb_source_can_add_to_queue</a>          (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
90
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-can-show-properties" title="rb_source_can_show_properties ()">rb_source_can_show_properties</a>       (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
91
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="RBSource.html#rb-source-cut" title="rb_source_cut ()">rb_source_cut</a>                       (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
92
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="RBSource.html#rb-source-copy" title="rb_source_copy ()">rb_source_copy</a>                      (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
93
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-paste" title="rb_source_paste ()">rb_source_paste</a>                     (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
94
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *entries);
 
95
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-delete" title="rb_source_delete ()">rb_source_delete</a>                    (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
96
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-add-to-queue" title="rb_source_add_to_queue ()">rb_source_add_to_queue</a>              (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
97
                                                         <a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *queue);
 
98
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-move-to-trash" title="rb_source_move_to_trash ()">rb_source_move_to_trash</a>             (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
99
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-song-properties" title="rb_source_song_properties ()">rb_source_song_properties</a>           (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
100
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-try-playlist" title="rb_source_try_playlist ()">rb_source_try_playlist</a>              (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
101
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="RBSource.html#rb-source-want-uri" title="rb_source_want_uri ()">rb_source_want_uri</a>                  (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
102
                                                         const <span class="returnvalue">char</span> *uri);
 
103
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-uri-is-source" title="rb_source_uri_is_source ()">rb_source_uri_is_source</a>             (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
104
                                                         const <span class="returnvalue">char</span> *uri);
 
105
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-add-uri" title="rb_source_add_uri ()">rb_source_add_uri</a>                   (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
106
                                                         const <span class="returnvalue">char</span> *uri,
 
107
                                                         const <span class="returnvalue">char</span> *title,
 
108
                                                         const <span class="returnvalue">char</span> *genre);
 
109
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-can-pause" title="rb_source_can_pause ()">rb_source_can_pause</a>                 (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
110
<a class="link" href="RBSource.html#RBSourceEOFType" title="enum RBSourceEOFType"><span class="returnvalue">RBSourceEOFType</span></a>     <a class="link" href="RBSource.html#rb-source-handle-eos" title="rb_source_handle_eos ()">rb_source_handle_eos</a>                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
111
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-receive-drag" title="rb_source_receive_drag ()">rb_source_receive_drag</a>              (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
112
                                                         <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#GtkSelectionData"><span class="returnvalue">GtkSelectionData</span></a> *data);
 
113
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="RBSource.html#rb-source-show-popup" title="rb_source_show_popup ()">rb_source_show_popup</a>                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
114
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-delete-thyself" title="rb_source_delete_thyself ()">rb_source_delete_thyself</a>            (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
115
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-activate" title="rb_source_activate ()">rb_source_activate</a>                  (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
116
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-deactivate" title="rb_source_deactivate ()">rb_source_deactivate</a>                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
117
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="RBSource.html#rb-source-get-ui-actions" title="rb_source_get_ui_actions ()">rb_source_get_ui_actions</a>            (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
118
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="RBSource.html#rb-source-get-search-actions" title="rb_source_get_search_actions ()">rb_source_get_search_actions</a>        (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);
 
119
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="RBSource.html#rb-source-gather-selected-properties" title="rb_source_gather_selected_properties ()">rb_source_gather_selected_properties</a>
 
120
                                                        (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
121
                                                         <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="returnvalue">RhythmDBPropType</span></a> prop);
 
122
<span class="returnvalue">void</span>                <a class="link" href="RBSource.html#rb-source-set-hidden-when-empty" title="rb_source_set_hidden_when_empty ()">rb_source_set_hidden_when_empty</a>     (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
123
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> hidden);
181
124
</pre>
182
125
</div>
183
126
<div class="refsect1" title="Object Hierarchy">
184
127
<a name="RBSource.object-hierarchy"></a><h2>Object Hierarchy</h2>
185
128
<pre class="synopsis">
186
 
  <a
187
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
188
 
>GObject</a>
189
 
   +----<a
190
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
191
 
>GInitiallyUnowned</a>
192
 
         +----<a
193
 
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
194
 
>GtkObject</a>
195
 
               +----<a
196
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
197
 
>GtkWidget</a>
198
 
                     +----<a
199
 
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
200
 
>GtkContainer</a>
201
 
                           +----<a
202
 
href="http://library.gnome.org/devel/gtk/unstable/GtkBox.html"
203
 
>GtkBox</a>
204
 
                                 +----<a
205
 
href="http://library.gnome.org/devel/gtk/unstable/GtkHBox.html"
206
 
>GtkHBox</a>
 
129
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
130
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
131
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
 
132
               +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
 
133
                     +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
 
134
                           +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBox.html">GtkBox</a>
 
135
                                 +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkHBox.html">GtkHBox</a>
207
136
                                       +----RBSource
208
137
                                             +----<a class="link" href="RBPlaylistSource.html" title="RBPlaylistSource">RBPlaylistSource</a>
209
138
                                             +----<a class="link" href="RBBrowserSource.html" title="RBBrowserSource">RBBrowserSource</a>
216
145
<a name="RBSource.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
217
146
<p>
218
147
RBSource implements
219
 
 AtkImplementorIface,  <a
220
 
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
221
 
>GtkBuildable</a> and  <a
222
 
href="http://library.gnome.org/devel/gtk/unstable/gtk-Orientable.html#GtkOrientable"
223
 
>GtkOrientable</a>.</p>
 
148
 AtkImplementorIface,  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a> and  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Orientable.html#GtkOrientable">GtkOrientable</a>.</p>
224
149
</div>
225
150
<div class="refsect1" title="Properties">
226
151
<a name="RBSource.properties"></a><h2>Properties</h2>
227
152
<pre class="synopsis">
228
 
  "<a class="link" href="RBSource.html#RBSource--base-query-model" title='The "base-query-model" property'>base-query-model</a>"         <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel">RhythmDBQueryModel</a>*   : Read
229
 
  "<a class="link" href="RBSource.html#RBSource--entry-type" title='The "entry-type" property'>entry-type</a>"               <a class="link" href="RhythmDB.html#RhythmDBEntryType" title="RhythmDBEntryType">RhythmDBEntryType</a>*    : Read / Write / Construct Only
230
 
  "<a class="link" href="RBSource.html#RBSource--hidden-when-empty" title='The "hidden-when-empty" property'>hidden-when-empty</a>"        <a
231
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
232
 
>gboolean</a>              : Read / Write
233
 
  "<a class="link" href="RBSource.html#RBSource--icon" title='The "icon" property'>icon</a>"                     <a
234
 
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
235
 
>GdkPixbuf</a>*            : Read / Write
236
 
  "<a class="link" href="RBSource.html#RBSource--name" title='The "name" property'>name</a>"                     <a
237
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
238
 
>gchar</a>*                : Read / Write
239
 
  "<a class="link" href="RBSource.html#RBSource--play-order" title='The "play-order" property'>play-order</a>"               <a class="link" href="RBPlayOrder.html" title="RBPlayOrder">RBPlayOrder</a>*          : Read
240
 
  "<a class="link" href="RBSource.html#RBSource--plugin" title='The "plugin" property'>plugin</a>"                   <a class="link" href="RBPlugin.html" title="RBPlugin">RBPlugin</a>*             : Read / Write / Construct
241
 
  "<a class="link" href="RBSource.html#RBSource--query-model" title='The "query-model" property'>query-model</a>"              <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel">RhythmDBQueryModel</a>*   : Read / Write
242
 
  "<a class="link" href="RBSource.html#RBSource--search-type" title='The "search-type" property'>search-type</a>"              RBSourceSearchType    : Read / Write / Construct
243
 
  "<a class="link" href="RBSource.html#RBSource--shell" title='The "shell" property'>shell</a>"                    <a class="link" href="RBShell.html" title="RBShell">RBShell</a>*              : Read / Write / Construct Only
244
 
  "<a class="link" href="RBSource.html#RBSource--source-group" title='The "source-group" property'>source-group</a>"             <a class="link" href="rhythmbox-RBSourceGroup.html#RBSourceGroup" title="RBSourceGroup">RBSourceGroup</a>*        : Read / Write / Construct Only
245
 
  "<a class="link" href="RBSource.html#RBSource--ui-manager" title='The "ui-manager" property'>ui-manager</a>"               <a
246
 
href="http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html"
247
 
>GtkUIManager</a>*         : Read
248
 
  "<a class="link" href="RBSource.html#RBSource--visibility" title='The "visibility" property'>visibility</a>"               <a
249
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
250
 
>gboolean</a>              : Read / Write
 
153
  "<a class="link" href="RBSource.html#RBSource--base-query-model" title='The "base-query-model" property'>base-query-model</a>"         <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a>*   : Read
 
154
  "<a class="link" href="RBSource.html#RBSource--entry-type" title='The "entry-type" property'>entry-type</a>"               <a class="link" href="RhythmDB.html#RhythmDBEntryType" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a>*    : Read / Write / Construct Only
 
155
  "<a class="link" href="RBSource.html#RBSource--hidden-when-empty" title='The "hidden-when-empty" property'>hidden-when-empty</a>"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
156
  "<a class="link" href="RBSource.html#RBSource--icon" title='The "icon" property'>icon</a>"                     <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>*            : Read / Write
 
157
  "<a class="link" href="RBSource.html#RBSource--name" title='The "name" property'>name</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
 
158
  "<a class="link" href="RBSource.html#RBSource--play-order" title='The "play-order" property'>play-order</a>"               <a class="link" href="RBPlayOrder.html" title="RBPlayOrder"><span class="type">RBPlayOrder</span></a>*          : Read
 
159
  "<a class="link" href="RBSource.html#RBSource--plugin" title='The "plugin" property'>plugin</a>"                   <a class="link" href="RBPlugin.html" title="RBPlugin"><span class="type">RBPlugin</span></a>*             : Read / Write / Construct
 
160
  "<a class="link" href="RBSource.html#RBSource--query-model" title='The "query-model" property'>query-model</a>"              <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a>*   : Read / Write
 
161
  "<a class="link" href="RBSource.html#RBSource--search-type" title='The "search-type" property'>search-type</a>"              <span class="type">RBSourceSearchType</span>    : Read / Write / Construct
 
162
  "<a class="link" href="RBSource.html#RBSource--shell" title='The "shell" property'>shell</a>"                    <a class="link" href="RBShell.html" title="RBShell"><span class="type">RBShell</span></a>*              : Read / Write / Construct Only
 
163
  "<a class="link" href="RBSource.html#RBSource--source-group" title='The "source-group" property'>source-group</a>"             <a class="link" href="rhythmbox-RBSourceGroup.html#RBSourceGroup" title="RBSourceGroup"><span class="type">RBSourceGroup</span></a>*        : Read / Write / Construct Only
 
164
  "<a class="link" href="RBSource.html#RBSource--ui-manager" title='The "ui-manager" property'>ui-manager</a>"               <a href="http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html"><span class="type">GtkUIManager</span></a>*         : Read
 
165
  "<a class="link" href="RBSource.html#RBSource--visibility" title='The "visibility" property'>visibility</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
251
166
</pre>
252
167
</div>
253
168
<div class="refsect1" title="Signals">
277
192
which takes care of many aspects of implementing a source that represents a
278
193
removable device; and <a class="link" href="RBPlaylistSource.html" title="RBPlaylistSource"><span class="type">RBPlaylistSource</span></a>, which provides functionality for
279
194
playlist-like sources.</p>
280
 
<p>
281
 
</p>
282
195
</div>
283
196
<div class="refsect1" title="Details">
284
197
<a name="RBSource.details"></a><h2>Details</h2>
295
208
        GtkHBoxClass parent;
296
209
 
297
210
        /* signals */
298
 
        void (*status_changed)  (RBSource *source);
299
 
        void (*filter_changed)  (RBSource *source);
 
211
        void (*status_changed) (RBSource *source);
 
212
        void (*filter_changed) (RBSource *source);
300
213
        void (*deleted)         (RBSource *source);
301
 
        void (*artistalbum_changed)     (RBSource *source);
 
214
        void (*artistalbum_changed) (RBSource *source);
302
215
 
303
216
        /* methods */
304
 
        void            (*impl_get_status)      (RBSource *source, char **text, char **progress_text, float *progress);
305
 
 
306
 
        gboolean        (*impl_can_browse)      (RBSource *source);
307
 
        char *          (*impl_get_browser_key) (RBSource *source);
308
 
        void            (*impl_browser_toggled) (RBSource *source, gboolean enabled);
309
 
 
310
 
        RBEntryView *   (*impl_get_entry_view)  (RBSource *source);
311
 
        GList *         (*impl_get_property_views)      (RBSource *source);
312
 
 
313
 
        gboolean        (*impl_can_rename)      (RBSource *source);
 
217
        void            (*impl_get_status) (RBSource *source, char **text, char **progress_text, float *progress);
 
218
 
 
219
        gboolean (*impl_can_browse) (RBSource *source);
 
220
        char *          (*impl_get_browser_key) (RBSource *source);
 
221
        void            (*impl_browser_toggled) (RBSource *source, gboolean enabled);
 
222
 
 
223
        RBEntryView * (*impl_get_entry_view) (RBSource *source);
 
224
        GList *         (*impl_get_property_views) (RBSource *source);
 
225
 
 
226
        gboolean (*impl_can_rename) (RBSource *source);
314
227
 
315
228
        void            (*impl_search)          (RBSource *source, RBSourceSearch *search, const char *cur_text, const char *new_text);
316
 
        void            (*impl_reset_filters)   (RBSource *source);
317
 
        GtkWidget *     (*impl_get_config_widget)(RBSource *source, RBShellPreferences *prefs);
 
229
        void            (*impl_reset_filters) (RBSource *source);
 
230
        GtkWidget * (*impl_get_config_widget)(RBSource *source, RBShellPreferences *prefs);
318
231
 
319
 
        gboolean        (*impl_can_cut)         (RBSource *source);
320
 
        gboolean        (*impl_can_delete)      (RBSource *source);
321
 
        gboolean        (*impl_can_move_to_trash) (RBSource *source);
322
 
        gboolean        (*impl_can_copy)        (RBSource *source);
323
 
        gboolean        (*impl_can_paste)       (RBSource *source);
324
 
        gboolean        (*impl_can_add_to_queue)(RBSource *source);
 
232
        gboolean (*impl_can_cut)                (RBSource *source);
 
233
        gboolean (*impl_can_delete) (RBSource *source);
 
234
        gboolean (*impl_can_move_to_trash) (RBSource *source);
 
235
        gboolean (*impl_can_copy) (RBSource *source);
 
236
        gboolean (*impl_can_paste) (RBSource *source);
 
237
        gboolean (*impl_can_add_to_queue)(RBSource *source);
325
238
 
326
239
        GList *         (*impl_cut)             (RBSource *source);
327
240
        GList *         (*impl_copy)            (RBSource *source);
328
241
        void            (*impl_paste)           (RBSource *source, GList *entries);
329
242
        void            (*impl_delete)          (RBSource *source);
330
 
        void            (*impl_add_to_queue)    (RBSource *source, RBSource *queue);
331
 
        void            (*impl_move_to_trash)   (RBSource *source);
332
 
 
333
 
        void            (*impl_song_properties) (RBSource *source);
334
 
 
335
 
        gboolean        (*impl_try_playlist)    (RBSource *source);
336
 
        guint           (*impl_want_uri)        (RBSource *source, const char *uri);
337
 
        gboolean        (*impl_add_uri)         (RBSource *source, const char *uri, const char *title, const char *genre);
338
 
        gboolean        (*impl_uri_is_source)   (RBSource *source, const char *uri);
339
 
 
340
 
        gboolean        (*impl_can_pause)       (RBSource *source);
341
 
        RBSourceEOFType (*impl_handle_eos)      (RBSource *source);
342
 
 
343
 
        gboolean        (*impl_have_url)        (RBSource *source);
344
 
        gboolean        (*impl_receive_drag)    (RBSource *source, GtkSelectionData *data);
345
 
        gboolean        (*impl_show_popup)      (RBSource *source);
346
 
 
347
 
        void            (*impl_delete_thyself)  (RBSource *source);
348
 
        void            (*impl_activate)        (RBSource *source);
349
 
        void            (*impl_deactivate)      (RBSource *source);
350
 
        GList *         (*impl_get_ui_actions)  (RBSource *source);
 
243
        void            (*impl_add_to_queue) (RBSource *source, RBSource *queue);
 
244
        void            (*impl_move_to_trash) (RBSource *source);
 
245
 
 
246
        void            (*impl_song_properties) (RBSource *source);
 
247
 
 
248
        gboolean (*impl_try_playlist) (RBSource *source);
 
249
        guint           (*impl_want_uri) (RBSource *source, const char *uri);
 
250
        gboolean (*impl_add_uri)                (RBSource *source, const char *uri, const char *title, const char *genre);
 
251
        gboolean (*impl_uri_is_source) (RBSource *source, const char *uri);
 
252
 
 
253
        gboolean (*impl_can_pause) (RBSource *source);
 
254
        RBSourceEOFType (*impl_handle_eos) (RBSource *source);
 
255
 
 
256
        gboolean (*impl_have_url) (RBSource *source);
 
257
        gboolean (*impl_receive_drag) (RBSource *source, GtkSelectionData *data);
 
258
        gboolean (*impl_show_popup) (RBSource *source);
 
259
 
 
260
        void            (*impl_delete_thyself) (RBSource *source);
 
261
        void            (*impl_activate) (RBSource *source);
 
262
        void            (*impl_deactivate) (RBSource *source);
 
263
        GList *         (*impl_get_ui_actions) (RBSource *source);
351
264
        GList *         (*impl_get_search_actions) (RBSource *source);
352
265
        char *          (*impl_get_delete_action) (RBSource *source);
353
266
} RBSourceClass;
370
283
</div>
371
284
<hr>
372
285
<div class="refsect2" title="RB_SOURCE_ICON_SIZE">
373
 
<a name="RB-SOURCE-ICON-SIZE--CAPS"></a><h3>RB_SOURCE_ICON_SIZE</h3>
374
 
<pre class="programlisting">#define RB_SOURCE_ICON_SIZE GTK_ICON_SIZE_LARGE_TOOLBAR
 
286
<a name="RB-SOURCE-ICON-SIZE:CAPS"></a><h3>RB_SOURCE_ICON_SIZE</h3>
 
287
<pre class="programlisting">#define RB_SOURCE_ICON_SIZE GTK_ICON_SIZE_LARGE_TOOLBAR
375
288
</pre>
376
289
<p>
377
290
</p>
379
292
<hr>
380
293
<div class="refsect2" title="rb_source_notify_filter_changed ()">
381
294
<a name="rb-source-notify-filter-changed"></a><h3>rb_source_notify_filter_changed ()</h3>
382
 
<pre class="programlisting">void                rb_source_notify_filter_changed     (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
295
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_notify_filter_changed     (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
383
296
<p>
384
297
Source implementations call this when their filter state changes</p>
385
 
<p>
386
 
</p>
387
298
<div class="variablelist"><table border="0">
388
299
<col align="left" valign="top">
389
300
<tbody><tr>
396
307
<hr>
397
308
<div class="refsect2" title="rb_source_notify_status_changed ()">
398
309
<a name="rb-source-notify-status-changed"></a><h3>rb_source_notify_status_changed ()</h3>
399
 
<pre class="programlisting">void                rb_source_notify_status_changed     (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
310
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_notify_status_changed     (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
400
311
<p>
401
312
Source implementations call this when their status bar information
402
313
changes.</p>
403
 
<p>
404
 
</p>
405
314
<div class="variablelist"><table border="0">
406
315
<col align="left" valign="top">
407
316
<tbody><tr>
414
323
<hr>
415
324
<div class="refsect2" title="rb_source_update_play_statistics ()">
416
325
<a name="rb-source-update-play-statistics"></a><h3>rb_source_update_play_statistics ()</h3>
417
 
<pre class="programlisting">void                rb_source_update_play_statistics    (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
418
 
                                                         <a class="link" href="RhythmDB.html" title="RhythmDB">RhythmDB</a> *db,
419
 
                                                         <a class="link" href="RhythmDB.html#RhythmDBEntry" title="RhythmDBEntry">RhythmDBEntry</a> *entry);</pre>
 
326
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_update_play_statistics    (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
327
                                                         <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="returnvalue">RhythmDB</span></a> *db,
 
328
                                                         <a class="link" href="RhythmDB.html#RhythmDBEntry" title="RhythmDBEntry"><span class="returnvalue">RhythmDBEntry</span></a> *entry);</pre>
420
329
<p>
421
330
Updates play count and play time statistics for a database entry.
422
331
Sources containing entries that do not normally reach EOS should
423
332
call this for an entry when it is no longer being played.</p>
424
 
<p>
425
 
</p>
426
333
<div class="variablelist"><table border="0">
427
334
<col align="left" valign="top">
428
335
<tbody>
447
354
<hr>
448
355
<div class="refsect2" title="rb_source_set_pixbuf ()">
449
356
<a name="rb-source-set-pixbuf"></a><h3>rb_source_set_pixbuf ()</h3>
450
 
<pre class="programlisting">void                rb_source_set_pixbuf                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
451
 
                                                         <a
452
 
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
453
 
>GdkPixbuf</a> *pixbuf);</pre>
 
357
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_set_pixbuf                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
358
                                                         <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *pixbuf);</pre>
454
359
<p>
455
360
Sets the pixbuf for the source.</p>
456
 
<p>
457
 
</p>
458
361
<div class="variablelist"><table border="0">
459
362
<col align="left" valign="top">
460
363
<tbody>
474
377
<hr>
475
378
<div class="refsect2" title="rb_source_get_status ()">
476
379
<a name="rb-source-get-status"></a><h3>rb_source_get_status ()</h3>
477
 
<pre class="programlisting">void                rb_source_get_status                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
478
 
                                                         char **text,
479
 
                                                         char **progress_text,
480
 
                                                         float *progress);</pre>
 
380
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_get_status                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
381
                                                         <span class="returnvalue">char</span> **text,
 
382
                                                         <span class="returnvalue">char</span> **progress_text,
 
383
                                                         <span class="returnvalue">float</span> *progress);</pre>
481
384
<p>
482
385
Retrieves the details to display in the status bar for the source.
483
386
If the progress value returned is less than zero, the progress bar
484
387
will pulse.  If the progress value is greater than or equal to 1,
485
388
the progress bar will be hidden.</p>
486
 
<p>
487
 
</p>
488
389
<div class="variablelist"><table border="0">
489
390
<col align="left" valign="top">
490
391
<tbody>
514
415
<hr>
515
416
<div class="refsect2" title="rb_source_can_browse ()">
516
417
<a name="rb-source-can-browse"></a><h3>rb_source_can_browse ()</h3>
517
 
<pre class="programlisting"><a
518
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
519
 
>gboolean</a>            rb_source_can_browse                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
418
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_can_browse                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
520
419
<p>
521
420
Determines whether the source has a browser</p>
522
 
<p>
523
 
</p>
524
421
<div class="variablelist"><table border="0">
525
422
<col align="left" valign="top">
526
423
<tbody>
540
437
<hr>
541
438
<div class="refsect2" title="rb_source_get_browser_key ()">
542
439
<a name="rb-source-get-browser-key"></a><h3>rb_source_get_browser_key ()</h3>
543
 
<pre class="programlisting">char *              rb_source_get_browser_key           (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
440
<pre class="programlisting"><span class="returnvalue">char</span> *              rb_source_get_browser_key           (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
544
441
<p>
545
442
Gets the GConf key controlling browser visibility</p>
546
 
<p>
547
 
</p>
548
443
<div class="variablelist"><table border="0">
549
444
<col align="left" valign="top">
550
445
<tbody>
564
459
<hr>
565
460
<div class="refsect2" title="rb_source_browser_toggled ()">
566
461
<a name="rb-source-browser-toggled"></a><h3>rb_source_browser_toggled ()</h3>
567
 
<pre class="programlisting">void                rb_source_browser_toggled           (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
568
 
                                                         <a
569
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
570
 
>gboolean</a> enabled);</pre>
 
462
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_browser_toggled           (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
463
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> enabled);</pre>
571
464
<p>
572
465
Called when the visibility of the browser changes.</p>
573
 
<p>
574
 
</p>
575
466
<div class="variablelist"><table border="0">
576
467
<col align="left" valign="top">
577
468
<tbody>
591
482
<hr>
592
483
<div class="refsect2" title="rb_source_get_entry_view ()">
593
484
<a name="rb-source-get-entry-view"></a><h3>rb_source_get_entry_view ()</h3>
594
 
<pre class="programlisting"><a class="link" href="RBEntryView.html" title="RBEntryView">RBEntryView</a> *       rb_source_get_entry_view            (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
485
<pre class="programlisting"><a class="link" href="RBEntryView.html" title="RBEntryView"><span class="returnvalue">RBEntryView</span></a> *       rb_source_get_entry_view            (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
595
486
<p>
596
487
Returns the entry view widget for the source.</p>
597
 
<p>
598
 
</p>
599
488
<div class="variablelist"><table border="0">
600
489
<col align="left" valign="top">
601
490
<tbody>
615
504
<hr>
616
505
<div class="refsect2" title="rb_source_get_property_views ()">
617
506
<a name="rb-source-get-property-views"></a><h3>rb_source_get_property_views ()</h3>
618
 
<pre class="programlisting"><a
619
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
620
 
>GList</a> *             rb_source_get_property_views        (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
507
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             rb_source_get_property_views        (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
621
508
<p>
622
509
Returns a list containing the <a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> instances for the
623
510
source, if any.</p>
624
 
<p>
625
 
</p>
626
511
<div class="variablelist"><table border="0">
627
512
<col align="left" valign="top">
628
513
<tbody>
642
527
<hr>
643
528
<div class="refsect2" title="rb_source_can_rename ()">
644
529
<a name="rb-source-can-rename"></a><h3>rb_source_can_rename ()</h3>
645
 
<pre class="programlisting"><a
646
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
647
 
>gboolean</a>            rb_source_can_rename                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
530
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_can_rename                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
648
531
<p>
649
532
Determines whether the source can be renamed.</p>
650
 
<p>
651
 
</p>
652
533
<div class="variablelist"><table border="0">
653
534
<col align="left" valign="top">
654
535
<tbody>
668
549
<hr>
669
550
<div class="refsect2" title="rb_source_search ()">
670
551
<a name="rb-source-search"></a><h3>rb_source_search ()</h3>
671
 
<pre class="programlisting">void                rb_source_search                    (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
672
 
                                                         <a class="link" href="RBSourceSearch.html" title="RBSourceSearch">RBSourceSearch</a> *search,
673
 
                                                         const char *cur_text,
674
 
                                                         const char *new_text);</pre>
 
552
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_search                    (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
553
                                                         <a class="link" href="RBSourceSearch.html" title="RBSourceSearch"><span class="returnvalue">RBSourceSearch</span></a> *search,
 
554
                                                         const <span class="returnvalue">char</span> *cur_text,
 
555
                                                         const <span class="returnvalue">char</span> *new_text);</pre>
675
556
<p>
676
557
Updates the source with new search text.  The source
677
558
should recreate the database query that feeds into the
678
559
browser (if any).</p>
679
 
<p>
680
 
</p>
681
560
<div class="variablelist"><table border="0">
682
561
<col align="left" valign="top">
683
562
<tbody>
707
586
<hr>
708
587
<div class="refsect2" title="rb_source_reset_filters ()">
709
588
<a name="rb-source-reset-filters"></a><h3>rb_source_reset_filters ()</h3>
710
 
<pre class="programlisting">void                rb_source_reset_filters             (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
589
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_reset_filters             (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
711
590
<p>
712
591
Clears all filters (browser selections, etc.) in this source.</p>
713
 
<p>
714
 
</p>
715
592
<div class="variablelist"><table border="0">
716
593
<col align="left" valign="top">
717
594
<tbody><tr>
724
601
<hr>
725
602
<div class="refsect2" title="rb_source_get_config_widget ()">
726
603
<a name="rb-source-get-config-widget"></a><h3>rb_source_get_config_widget ()</h3>
727
 
<pre class="programlisting"><a
728
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
729
 
>GtkWidget</a> *         rb_source_get_config_widget         (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
730
 
                                                         <a class="link" href="RBShellPreferences.html" title="RBShellPreferences">RBShellPreferences</a> *prefs);</pre>
 
604
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         rb_source_get_config_widget         (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
605
                                                         <a class="link" href="RBShellPreferences.html" title="RBShellPreferences"><span class="returnvalue">RBShellPreferences</span></a> *prefs);</pre>
731
606
<p>
732
607
Source implementations can use this to return an optional
733
608
configuration widget. The widget will be displayed in a 
734
609
page in the preferences dialog.</p>
735
 
<p>
736
 
</p>
737
610
<div class="variablelist"><table border="0">
738
611
<col align="left" valign="top">
739
612
<tbody>
758
631
<hr>
759
632
<div class="refsect2" title="rb_source_can_cut ()">
760
633
<a name="rb-source-can-cut"></a><h3>rb_source_can_cut ()</h3>
761
 
<pre class="programlisting"><a
762
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
763
 
>gboolean</a>            rb_source_can_cut                   (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
634
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_can_cut                   (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
764
635
<p>
765
636
Determines whether the source supporst the typical cut
766
637
(as in cut-and-paste) operation.</p>
767
 
<p>
768
 
</p>
769
638
<div class="variablelist"><table border="0">
770
639
<col align="left" valign="top">
771
640
<tbody>
785
654
<hr>
786
655
<div class="refsect2" title="rb_source_can_delete ()">
787
656
<a name="rb-source-can-delete"></a><h3>rb_source_can_delete ()</h3>
788
 
<pre class="programlisting"><a
789
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
790
 
>gboolean</a>            rb_source_can_delete                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
657
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_can_delete                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
791
658
<p>
792
659
Determines whether the source allows the user to delete
793
660
a selected set of entries.</p>
794
 
<p>
795
 
</p>
796
661
<div class="variablelist"><table border="0">
797
662
<col align="left" valign="top">
798
663
<tbody>
812
677
<hr>
813
678
<div class="refsect2" title="rb_source_can_move_to_trash ()">
814
679
<a name="rb-source-can-move-to-trash"></a><h3>rb_source_can_move_to_trash ()</h3>
815
 
<pre class="programlisting"><a
816
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
817
 
>gboolean</a>            rb_source_can_move_to_trash         (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
680
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_can_move_to_trash         (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
818
681
<p>
819
682
Determines whether the source allows the user to trash
820
683
the files backing a selected set of entries.</p>
821
 
<p>
822
 
</p>
823
684
<div class="variablelist"><table border="0">
824
685
<col align="left" valign="top">
825
686
<tbody>
839
700
<hr>
840
701
<div class="refsect2" title="rb_source_can_copy ()">
841
702
<a name="rb-source-can-copy"></a><h3>rb_source_can_copy ()</h3>
842
 
<pre class="programlisting"><a
843
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
844
 
>gboolean</a>            rb_source_can_copy                  (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
703
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_can_copy                  (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
845
704
<p>
846
705
Determines whether the source supports the copy part
847
706
of a copy-and-paste operation.</p>
848
 
<p>
849
 
</p>
850
707
<div class="variablelist"><table border="0">
851
708
<col align="left" valign="top">
852
709
<tbody>
866
723
<hr>
867
724
<div class="refsect2" title="rb_source_can_paste ()">
868
725
<a name="rb-source-can-paste"></a><h3>rb_source_can_paste ()</h3>
869
 
<pre class="programlisting"><a
870
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
871
 
>gboolean</a>            rb_source_can_paste                 (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
726
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_can_paste                 (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
872
727
<p>
873
728
Determines whether the source supports paste operations.</p>
874
 
<p>
875
 
</p>
876
729
<div class="variablelist"><table border="0">
877
730
<col align="left" valign="top">
878
731
<tbody>
892
745
<hr>
893
746
<div class="refsect2" title="rb_source_can_add_to_queue ()">
894
747
<a name="rb-source-can-add-to-queue"></a><h3>rb_source_can_add_to_queue ()</h3>
895
 
<pre class="programlisting"><a
896
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
897
 
>gboolean</a>            rb_source_can_add_to_queue          (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
748
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_can_add_to_queue          (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
898
749
<p>
899
750
Determines whether the source can add the selected entries to
900
751
the play queue.</p>
901
 
<p>
902
 
</p>
903
752
<div class="variablelist"><table border="0">
904
753
<col align="left" valign="top">
905
754
<tbody>
919
768
<hr>
920
769
<div class="refsect2" title="rb_source_can_show_properties ()">
921
770
<a name="rb-source-can-show-properties"></a><h3>rb_source_can_show_properties ()</h3>
922
 
<pre class="programlisting"><a
923
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
924
 
>gboolean</a>            rb_source_can_show_properties       (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
771
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_can_show_properties       (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
925
772
<p>
926
773
Determines whether the source can display a properties
927
774
window for the currently selected entry (or set of entries)</p>
928
 
<p>
929
 
</p>
930
775
<div class="variablelist"><table border="0">
931
776
<col align="left" valign="top">
932
777
<tbody>
946
791
<hr>
947
792
<div class="refsect2" title="rb_source_cut ()">
948
793
<a name="rb-source-cut"></a><h3>rb_source_cut ()</h3>
949
 
<pre class="programlisting"><a
950
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
951
 
>GList</a> *             rb_source_cut                       (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
794
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             rb_source_cut                       (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
952
795
<p>
953
796
Removes the currently selected entries from the source and
954
797
returns them so they can be pasted into another source.</p>
955
 
<p>
956
 
</p>
957
798
<div class="variablelist"><table border="0">
958
799
<col align="left" valign="top">
959
800
<tbody>
974
815
<hr>
975
816
<div class="refsect2" title="rb_source_copy ()">
976
817
<a name="rb-source-copy"></a><h3>rb_source_copy ()</h3>
977
 
<pre class="programlisting"><a
978
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
979
 
>GList</a> *             rb_source_copy                      (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
818
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             rb_source_copy                      (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
980
819
<p>
981
820
Copies the selected entries to the clipboard.</p>
982
 
<p>
983
 
</p>
984
821
<div class="variablelist"><table border="0">
985
822
<col align="left" valign="top">
986
823
<tbody>
1001
838
<hr>
1002
839
<div class="refsect2" title="rb_source_paste ()">
1003
840
<a name="rb-source-paste"></a><h3>rb_source_paste ()</h3>
1004
 
<pre class="programlisting">void                rb_source_paste                     (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1005
 
                                                         <a
1006
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
1007
 
>GList</a> *entries);</pre>
 
841
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_paste                     (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
842
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *entries);</pre>
1008
843
<p>
1009
844
Adds a list of entries previously cut or copied from another
1010
845
source.</p>
1011
 
<p>
1012
 
</p>
1013
846
<div class="variablelist"><table border="0">
1014
847
<col align="left" valign="top">
1015
848
<tbody>
1029
862
<hr>
1030
863
<div class="refsect2" title="rb_source_delete ()">
1031
864
<a name="rb-source-delete"></a><h3>rb_source_delete ()</h3>
1032
 
<pre class="programlisting">void                rb_source_delete                    (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
865
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_delete                    (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1033
866
<p>
1034
867
Deletes the currently selected entries from the source.</p>
1035
 
<p>
1036
 
</p>
1037
868
<div class="variablelist"><table border="0">
1038
869
<col align="left" valign="top">
1039
870
<tbody><tr>
1046
877
<hr>
1047
878
<div class="refsect2" title="rb_source_add_to_queue ()">
1048
879
<a name="rb-source-add-to-queue"></a><h3>rb_source_add_to_queue ()</h3>
1049
 
<pre class="programlisting">void                rb_source_add_to_queue              (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1050
 
                                                         <a class="link" href="RBSource.html" title="RBSource">RBSource</a> *queue);</pre>
 
880
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_add_to_queue              (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
881
                                                         <a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *queue);</pre>
1051
882
<p>
1052
883
Adds the currently selected entries to the end of the
1053
884
play queue.</p>
1054
 
<p>
1055
 
</p>
1056
885
<div class="variablelist"><table border="0">
1057
886
<col align="left" valign="top">
1058
887
<tbody>
1072
901
<hr>
1073
902
<div class="refsect2" title="rb_source_move_to_trash ()">
1074
903
<a name="rb-source-move-to-trash"></a><h3>rb_source_move_to_trash ()</h3>
1075
 
<pre class="programlisting">void                rb_source_move_to_trash             (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
904
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_move_to_trash             (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1076
905
<p>
1077
906
Trashes the files backing the currently selected set of entries.
1078
907
In general, this should use <a class="link" href="RhythmDB.html#rhythmdb-entry-move-to-trash" title="rhythmdb_entry_move_to_trash ()"><span class="type">rhythmdb_entry_move_to_trash</span></a> to
1079
908
perform the actual trash operation.</p>
1080
 
<p>
1081
 
</p>
1082
909
<div class="variablelist"><table border="0">
1083
910
<col align="left" valign="top">
1084
911
<tbody><tr>
1091
918
<hr>
1092
919
<div class="refsect2" title="rb_source_song_properties ()">
1093
920
<a name="rb-source-song-properties"></a><h3>rb_source_song_properties ()</h3>
1094
 
<pre class="programlisting">void                rb_source_song_properties           (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
921
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_song_properties           (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1095
922
<p>
1096
923
Displays a properties window for the currently selected entries.</p>
1097
 
<p>
1098
 
</p>
1099
924
<div class="variablelist"><table border="0">
1100
925
<col align="left" valign="top">
1101
926
<tbody><tr>
1108
933
<hr>
1109
934
<div class="refsect2" title="rb_source_try_playlist ()">
1110
935
<a name="rb-source-try-playlist"></a><h3>rb_source_try_playlist ()</h3>
1111
 
<pre class="programlisting"><a
1112
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1113
 
>gboolean</a>            rb_source_try_playlist              (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
936
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_try_playlist              (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1114
937
<p>
1115
938
Determines whether playback URIs for entries in the source should
1116
939
be parsed as playlists rather than just played.</p>
1117
 
<p>
1118
 
</p>
1119
940
<div class="variablelist"><table border="0">
1120
941
<col align="left" valign="top">
1121
942
<tbody>
1135
956
<hr>
1136
957
<div class="refsect2" title="rb_source_want_uri ()">
1137
958
<a name="rb-source-want-uri"></a><h3>rb_source_want_uri ()</h3>
1138
 
<pre class="programlisting"><a
1139
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1140
 
>guint</a>               rb_source_want_uri                  (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1141
 
                                                         const char *uri);</pre>
 
959
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               rb_source_want_uri                  (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
960
                                                         const <span class="returnvalue">char</span> *uri);</pre>
1142
961
<p>
1143
962
Returns an indication of how much the source wants to handle
1144
963
the specified URI.  100 is the highest usual value, and should
1145
964
only be used when the URI can only be associated with this source.
1146
965
0 should be used when the URI does not match the source at all.</p>
1147
 
<p>
1148
 
</p>
1149
966
<div class="variablelist"><table border="0">
1150
967
<col align="left" valign="top">
1151
968
<tbody>
1171
988
<hr>
1172
989
<div class="refsect2" title="rb_source_uri_is_source ()">
1173
990
<a name="rb-source-uri-is-source"></a><h3>rb_source_uri_is_source ()</h3>
1174
 
<pre class="programlisting"><a
1175
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1176
 
>gboolean</a>            rb_source_uri_is_source             (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1177
 
                                                         const char *uri);</pre>
 
991
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_uri_is_source             (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
992
                                                         const <span class="returnvalue">char</span> *uri);</pre>
1178
993
<p>
1179
994
Checks if the URI matches the source itself.  A source
1180
995
should return TRUE here if the URI points to the device that
1181
996
the source represents, for example.</p>
1182
 
<p>
1183
 
</p>
1184
997
<div class="variablelist"><table border="0">
1185
998
<col align="left" valign="top">
1186
999
<tbody>
1205
1018
<hr>
1206
1019
<div class="refsect2" title="rb_source_add_uri ()">
1207
1020
<a name="rb-source-add-uri"></a><h3>rb_source_add_uri ()</h3>
1208
 
<pre class="programlisting"><a
1209
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1210
 
>gboolean</a>            rb_source_add_uri                   (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1211
 
                                                         const char *uri,
1212
 
                                                         const char *title,
1213
 
                                                         const char *genre);</pre>
 
1021
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_add_uri                   (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
1022
                                                         const <span class="returnvalue">char</span> *uri,
 
1023
                                                         const <span class="returnvalue">char</span> *title,
 
1024
                                                         const <span class="returnvalue">char</span> *genre);</pre>
1214
1025
<p>
1215
1026
Adds an entry corresponding to the URI to the source.  The
1216
1027
<em class="parameter"><code>title</code></em> and <em class="parameter"><code>genre</code></em> parameters are not really used.</p>
1217
 
<p>
1218
 
</p>
1219
1028
<div class="variablelist"><table border="0">
1220
1029
<col align="left" valign="top">
1221
1030
<tbody>
1250
1059
<hr>
1251
1060
<div class="refsect2" title="rb_source_can_pause ()">
1252
1061
<a name="rb-source-can-pause"></a><h3>rb_source_can_pause ()</h3>
1253
 
<pre class="programlisting"><a
1254
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1255
 
>gboolean</a>            rb_source_can_pause                 (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
1062
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_can_pause                 (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1256
1063
<p>
1257
1064
Determines whether playback of entries from the source can
1258
1065
be paused.</p>
1259
 
<p>
1260
 
</p>
1261
1066
<div class="variablelist"><table border="0">
1262
1067
<col align="left" valign="top">
1263
1068
<tbody>
1277
1082
<hr>
1278
1083
<div class="refsect2" title="rb_source_handle_eos ()">
1279
1084
<a name="rb-source-handle-eos"></a><h3>rb_source_handle_eos ()</h3>
1280
 
<pre class="programlisting"><a class="link" href="RBSource.html#RBSourceEOFType" title="enum RBSourceEOFType">RBSourceEOFType</a>     rb_source_handle_eos                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
1085
<pre class="programlisting"><a class="link" href="RBSource.html#RBSourceEOFType" title="enum RBSourceEOFType"><span class="returnvalue">RBSourceEOFType</span></a>     rb_source_handle_eos                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1281
1086
<p>
1282
1087
Determines how EOS events should be handled when playing entries
1283
1088
from the source.</p>
1284
 
<p>
1285
 
</p>
1286
1089
<div class="variablelist"><table border="0">
1287
1090
<col align="left" valign="top">
1288
1091
<tbody>
1302
1105
<hr>
1303
1106
<div class="refsect2" title="rb_source_receive_drag ()">
1304
1107
<a name="rb-source-receive-drag"></a><h3>rb_source_receive_drag ()</h3>
1305
 
<pre class="programlisting"><a
1306
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1307
 
>gboolean</a>            rb_source_receive_drag              (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1308
 
                                                         <a
1309
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#GtkSelectionData"
1310
 
>GtkSelectionData</a> *data);</pre>
 
1108
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_receive_drag              (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
1109
                                                         <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#GtkSelectionData"><span class="returnvalue">GtkSelectionData</span></a> *data);</pre>
1311
1110
<p>
1312
1111
This is called when the user drags something to the source.
1313
1112
Depending on the drag data type, the data might be a list of
1314
1113
<a class="link" href="RhythmDB.html#RhythmDBEntry" title="RhythmDBEntry"><span class="type">RhythmDBEntry</span></a> objects, a list of URIs, or a list of album
1315
1114
or artist or genre names.</p>
1316
 
<p>
1317
 
</p>
1318
1115
<div class="variablelist"><table border="0">
1319
1116
<col align="left" valign="top">
1320
1117
<tbody>
1339
1136
<hr>
1340
1137
<div class="refsect2" title="rb_source_show_popup ()">
1341
1138
<a name="rb-source-show-popup"></a><h3>rb_source_show_popup ()</h3>
1342
 
<pre class="programlisting"><a
1343
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1344
 
>gboolean</a>            rb_source_show_popup                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
1139
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_source_show_popup                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1345
1140
<p>
1346
1141
Called when the user performs an action (such as right-clicking)
1347
1142
that should result in a popup menu being displayed for the source.</p>
1348
 
<p>
1349
 
</p>
1350
1143
<div class="variablelist"><table border="0">
1351
1144
<col align="left" valign="top">
1352
1145
<tbody>
1366
1159
<hr>
1367
1160
<div class="refsect2" title="rb_source_delete_thyself ()">
1368
1161
<a name="rb-source-delete-thyself"></a><h3>rb_source_delete_thyself ()</h3>
1369
 
<pre class="programlisting">void                rb_source_delete_thyself            (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
1162
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_delete_thyself            (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1370
1163
<p>
1371
1164
This is called when the source should delete itself.
1372
1165
The 'deleted' signal will be emitted, which removes the source
1373
1166
from the source list.  This will not actually dispose of the
1374
1167
source object, so reference counting must still be handled
1375
1168
correctly.</p>
1376
 
<p>
1377
 
</p>
1378
1169
<div class="variablelist"><table border="0">
1379
1170
<col align="left" valign="top">
1380
1171
<tbody><tr>
1387
1178
<hr>
1388
1179
<div class="refsect2" title="rb_source_activate ()">
1389
1180
<a name="rb-source-activate"></a><h3>rb_source_activate ()</h3>
1390
 
<pre class="programlisting">void                rb_source_activate                  (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
1181
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_activate                  (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1391
1182
<p>
1392
1183
Called when the source is selected in the source list.</p>
1393
 
<p>
1394
 
</p>
1395
1184
<div class="variablelist"><table border="0">
1396
1185
<col align="left" valign="top">
1397
1186
<tbody><tr>
1404
1193
<hr>
1405
1194
<div class="refsect2" title="rb_source_deactivate ()">
1406
1195
<a name="rb-source-deactivate"></a><h3>rb_source_deactivate ()</h3>
1407
 
<pre class="programlisting">void                rb_source_deactivate                (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
1196
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_deactivate                (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1408
1197
<p>
1409
1198
Called when the source is deselected in the source list.</p>
1410
 
<p>
1411
 
</p>
1412
1199
<div class="variablelist"><table border="0">
1413
1200
<col align="left" valign="top">
1414
1201
<tbody><tr>
1421
1208
<hr>
1422
1209
<div class="refsect2" title="rb_source_get_ui_actions ()">
1423
1210
<a name="rb-source-get-ui-actions"></a><h3>rb_source_get_ui_actions ()</h3>
1424
 
<pre class="programlisting"><a
1425
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
1426
 
>GList</a> *             rb_source_get_ui_actions            (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
1211
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             rb_source_get_ui_actions            (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1427
1212
<p>
1428
1213
Returns a list of UI action names.  Items for
1429
1214
these actions will be added to the toolbar.</p>
1430
 
<p>
1431
 
</p>
1432
1215
<div class="variablelist"><table border="0">
1433
1216
<col align="left" valign="top">
1434
1217
<tbody>
1448
1231
<hr>
1449
1232
<div class="refsect2" title="rb_source_get_search_actions ()">
1450
1233
<a name="rb-source-get-search-actions"></a><h3>rb_source_get_search_actions ()</h3>
1451
 
<pre class="programlisting"><a
1452
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
1453
 
>GList</a> *             rb_source_get_search_actions        (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source);</pre>
 
1234
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             rb_source_get_search_actions        (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source);</pre>
1454
1235
<p>
1455
1236
Returns a list of UI action names. Buttons for these
1456
1237
actions will be added to the search bar.  The source
1457
1238
must identify the selected search action when constructing
1458
1239
a database query for searching</p>
1459
 
<p>
1460
 
</p>
1461
1240
<div class="variablelist"><table border="0">
1462
1241
<col align="left" valign="top">
1463
1242
<tbody>
1477
1256
<hr>
1478
1257
<div class="refsect2" title="rb_source_gather_selected_properties ()">
1479
1258
<a name="rb-source-gather-selected-properties"></a><h3>rb_source_gather_selected_properties ()</h3>
1480
 
<pre class="programlisting"><a
1481
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
1482
 
>GList</a> *             rb_source_gather_selected_properties
1483
 
                                                        (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1484
 
                                                         <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType">RhythmDBPropType</a> prop);</pre>
 
1259
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             rb_source_gather_selected_properties
 
1260
                                                        (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
1261
                                                         <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="returnvalue">RhythmDBPropType</span></a> prop);</pre>
1485
1262
<p>
1486
1263
Returns a list containing the values of the specified
1487
1264
property from the selected entries in the source.
1488
1265
This is used to implement the 'browse this artist' (etc.)
1489
1266
actions.</p>
1490
 
<p>
1491
 
</p>
1492
1267
<div class="variablelist"><table border="0">
1493
1268
<col align="left" valign="top">
1494
1269
<tbody>
1513
1288
<hr>
1514
1289
<div class="refsect2" title="rb_source_set_hidden_when_empty ()">
1515
1290
<a name="rb-source-set-hidden-when-empty"></a><h3>rb_source_set_hidden_when_empty ()</h3>
1516
 
<pre class="programlisting">void                rb_source_set_hidden_when_empty     (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1517
 
                                                         <a
1518
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1519
 
>gboolean</a> hidden);</pre>
 
1291
<pre class="programlisting"><span class="returnvalue">void</span>                rb_source_set_hidden_when_empty     (<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *source,
 
1292
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> hidden);</pre>
1520
1293
<p>
1521
1294
Enables or disables automatic hiding of the source when
1522
1295
there are no entries in it.</p>
1523
 
<p>
1524
 
</p>
1525
1296
<div class="variablelist"><table border="0">
1526
1297
<col align="left" valign="top">
1527
1298
<tbody>
1543
1314
<a name="RBSource.property-details"></a><h2>Property Details</h2>
1544
1315
<div class="refsect2" title='The "base-query-model" property'>
1545
1316
<a name="RBSource--base-query-model"></a><h3>The <code class="literal">"base-query-model"</code> property</h3>
1546
 
<pre class="programlisting">  "base-query-model"         <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel">RhythmDBQueryModel</a>*   : Read</pre>
 
1317
<pre class="programlisting">  "base-query-model"         <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a>*   : Read</pre>
1547
1318
<p>
1548
1319
The unfiltered query model for the source, containing all entries in the source.
1549
1320
Source classes should override this if they perform filtering based on the search
1550
1321
box or a browser.</p>
1551
 
<p>
1552
 
</p>
1553
1322
</div>
1554
1323
<hr>
1555
1324
<div class="refsect2" title='The "entry-type" property'>
1556
1325
<a name="RBSource--entry-type"></a><h3>The <code class="literal">"entry-type"</code> property</h3>
1557
 
<pre class="programlisting">  "entry-type"               <a class="link" href="RhythmDB.html#RhythmDBEntryType" title="RhythmDBEntryType">RhythmDBEntryType</a>*    : Read / Write / Construct Only</pre>
 
1326
<pre class="programlisting">  "entry-type"               <a class="link" href="RhythmDB.html#RhythmDBEntryType" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a>*    : Read / Write / Construct Only</pre>
1558
1327
<p>
1559
1328
Entry type for entries in this source.</p>
1560
 
<p>
1561
 
</p>
1562
1329
</div>
1563
1330
<hr>
1564
1331
<div class="refsect2" title='The "hidden-when-empty" property'>
1565
1332
<a name="RBSource--hidden-when-empty"></a><h3>The <code class="literal">"hidden-when-empty"</code> property</h3>
1566
 
<pre class="programlisting">  "hidden-when-empty"        <a
1567
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1568
 
>gboolean</a>              : Read / Write</pre>
 
1333
<pre class="programlisting">  "hidden-when-empty"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
1569
1334
<p>
1570
1335
If TRUE, the source will not be displayed in the source list
1571
1336
when it contains no entries.</p>
1572
 
<p>
1573
 
</p>
1574
1337
<p>Default value: FALSE</p>
1575
1338
</div>
1576
1339
<hr>
1577
1340
<div class="refsect2" title='The "icon" property'>
1578
1341
<a name="RBSource--icon"></a><h3>The <code class="literal">"icon"</code> property</h3>
1579
 
<pre class="programlisting">  "icon"                     <a
1580
 
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
1581
 
>GdkPixbuf</a>*            : Read / Write</pre>
 
1342
<pre class="programlisting">  "icon"                     <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>*            : Read / Write</pre>
1582
1343
<p>
1583
1344
Icon to display in the source list</p>
1584
 
<p>
1585
 
</p>
1586
1345
</div>
1587
1346
<hr>
1588
1347
<div class="refsect2" title='The "name" property'>
1589
1348
<a name="RBSource--name"></a><h3>The <code class="literal">"name"</code> property</h3>
1590
 
<pre class="programlisting">  "name"                     <a
1591
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
1592
 
>gchar</a>*                : Read / Write</pre>
 
1349
<pre class="programlisting">  "name"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
1593
1350
<p>
1594
1351
Source name as displayed in the source list</p>
1595
 
<p>
1596
 
</p>
1597
1352
<p>Default value: NULL</p>
1598
1353
</div>
1599
1354
<hr>
1600
1355
<div class="refsect2" title='The "play-order" property'>
1601
1356
<a name="RBSource--play-order"></a><h3>The <code class="literal">"play-order"</code> property</h3>
1602
 
<pre class="programlisting">  "play-order"               <a class="link" href="RBPlayOrder.html" title="RBPlayOrder">RBPlayOrder</a>*          : Read</pre>
 
1357
<pre class="programlisting">  "play-order"               <a class="link" href="RBPlayOrder.html" title="RBPlayOrder"><span class="type">RBPlayOrder</span></a>*          : Read</pre>
1603
1358
<p>
1604
1359
If the source provides its own play order, it can override this property.</p>
1605
 
<p>
1606
 
</p>
1607
1360
</div>
1608
1361
<hr>
1609
1362
<div class="refsect2" title='The "plugin" property'>
1610
1363
<a name="RBSource--plugin"></a><h3>The <code class="literal">"plugin"</code> property</h3>
1611
 
<pre class="programlisting">  "plugin"                   <a class="link" href="RBPlugin.html" title="RBPlugin">RBPlugin</a>*             : Read / Write / Construct</pre>
 
1364
<pre class="programlisting">  "plugin"                   <a class="link" href="RBPlugin.html" title="RBPlugin"><span class="type">RBPlugin</span></a>*             : Read / Write / Construct</pre>
1612
1365
<p>
1613
1366
The plugin that created this source.</p>
1614
 
<p>
1615
 
</p>
1616
1367
</div>
1617
1368
<hr>
1618
1369
<div class="refsect2" title='The "query-model" property'>
1619
1370
<a name="RBSource--query-model"></a><h3>The <code class="literal">"query-model"</code> property</h3>
1620
 
<pre class="programlisting">  "query-model"              <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel">RhythmDBQueryModel</a>*   : Read / Write</pre>
 
1371
<pre class="programlisting">  "query-model"              <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a>*   : Read / Write</pre>
1621
1372
<p>
1622
1373
The current query model for the source.  This is used in
1623
1374
various places, including the play order, to find the
1624
1375
set of entries within the source.</p>
1625
 
<p>
1626
 
</p>
1627
1376
</div>
1628
1377
<hr>
1629
1378
<div class="refsect2" title='The "search-type" property'>
1630
1379
<a name="RBSource--search-type"></a><h3>The <code class="literal">"search-type"</code> property</h3>
1631
 
<pre class="programlisting">  "search-type"              RBSourceSearchType    : Read / Write / Construct</pre>
 
1380
<pre class="programlisting">  "search-type"              <span class="type">RBSourceSearchType</span>    : Read / Write / Construct</pre>
1632
1381
<p>
1633
1382
The type of searching this source provides, as a RBSourceSearchType value.
1634
1383
This is used by the RBSourceHeader to modify the search box widget.</p>
1635
 
<p>
1636
 
</p>
1637
1384
<p>Default value: RB_SOURCE_SEARCH_NONE</p>
1638
1385
</div>
1639
1386
<hr>
1640
1387
<div class="refsect2" title='The "shell" property'>
1641
1388
<a name="RBSource--shell"></a><h3>The <code class="literal">"shell"</code> property</h3>
1642
 
<pre class="programlisting">  "shell"                    <a class="link" href="RBShell.html" title="RBShell">RBShell</a>*              : Read / Write / Construct Only</pre>
 
1389
<pre class="programlisting">  "shell"                    <a class="link" href="RBShell.html" title="RBShell"><span class="type">RBShell</span></a>*              : Read / Write / Construct Only</pre>
1643
1390
<p>
1644
1391
The rhythmbox shell object</p>
1645
 
<p>
1646
 
</p>
1647
1392
</div>
1648
1393
<hr>
1649
1394
<div class="refsect2" title='The "source-group" property'>
1650
1395
<a name="RBSource--source-group"></a><h3>The <code class="literal">"source-group"</code> property</h3>
1651
 
<pre class="programlisting">  "source-group"             <a class="link" href="rhythmbox-RBSourceGroup.html#RBSourceGroup" title="RBSourceGroup">RBSourceGroup</a>*        : Read / Write / Construct Only</pre>
 
1396
<pre class="programlisting">  "source-group"             <a class="link" href="rhythmbox-RBSourceGroup.html#RBSourceGroup" title="RBSourceGroup"><span class="type">RBSourceGroup</span></a>*        : Read / Write / Construct Only</pre>
1652
1397
<p>
1653
1398
Source group in which to display the source</p>
1654
 
<p>
1655
 
</p>
1656
1399
</div>
1657
1400
<hr>
1658
1401
<div class="refsect2" title='The "ui-manager" property'>
1659
1402
<a name="RBSource--ui-manager"></a><h3>The <code class="literal">"ui-manager"</code> property</h3>
1660
 
<pre class="programlisting">  "ui-manager"               <a
1661
 
href="http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html"
1662
 
>GtkUIManager</a>*         : Read</pre>
 
1403
<pre class="programlisting">  "ui-manager"               <a href="http://library.gnome.org/devel/gtk/unstable/GtkUIManager.html"><span class="type">GtkUIManager</span></a>*         : Read</pre>
1663
1404
<p>
1664
1405
The Gtk UIManager object</p>
1665
 
<p>
1666
 
</p>
1667
1406
</div>
1668
1407
<hr>
1669
1408
<div class="refsect2" title='The "visibility" property'>
1670
1409
<a name="RBSource--visibility"></a><h3>The <code class="literal">"visibility"</code> property</h3>
1671
 
<pre class="programlisting">  "visibility"               <a
1672
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
1673
 
>gboolean</a>              : Read / Write</pre>
 
1410
<pre class="programlisting">  "visibility"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
1674
1411
<p>
1675
1412
If FALSE, the source will not be displayed in the source list</p>
1676
 
<p>
1677
 
</p>
1678
1413
<p>Default value: TRUE</p>
1679
1414
</div>
1680
1415
</div>
1682
1417
<a name="RBSource.signal-details"></a><h2>Signal Details</h2>
1683
1418
<div class="refsect2" title='The "deleted" signal'>
1684
1419
<a name="RBSource-deleted"></a><h3>The <code class="literal">"deleted"</code> signal</h3>
1685
 
<pre class="programlisting">void                user_function                      (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1686
 
                                                        <a
1687
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1688
 
>gpointer</a>  user_data)      : Run Last</pre>
 
1420
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="RBSource.html" title="RBSource"><span class="type">RBSource</span></a> *source,
 
1421
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)      : Run Last</pre>
1689
1422
<p>
1690
1423
Emitted when the source is being deleted.</p>
1691
 
<p>
1692
 
</p>
1693
1424
<div class="variablelist"><table border="0">
1694
1425
<col align="left" valign="top">
1695
1426
<tbody>
1708
1439
<hr>
1709
1440
<div class="refsect2" title='The "filter-changed" signal'>
1710
1441
<a name="RBSource-filter-changed"></a><h3>The <code class="literal">"filter-changed"</code> signal</h3>
1711
 
<pre class="programlisting">void                user_function                      (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1712
 
                                                        <a
1713
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1714
 
>gpointer</a>  user_data)      : Run Last</pre>
 
1442
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="RBSource.html" title="RBSource"><span class="type">RBSource</span></a> *source,
 
1443
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)      : Run Last</pre>
1715
1444
<p>
1716
1445
Fires when the user changes the filter, either by changing the
1717
1446
contents of the search box or by selecting a different browser
1718
1447
entry.</p>
1719
 
<p>
1720
 
</p>
1721
1448
<div class="variablelist"><table border="0">
1722
1449
<col align="left" valign="top">
1723
1450
<tbody>
1736
1463
<hr>
1737
1464
<div class="refsect2" title='The "status-changed" signal'>
1738
1465
<a name="RBSource-status-changed"></a><h3>The <code class="literal">"status-changed"</code> signal</h3>
1739
 
<pre class="programlisting">void                user_function                      (<a class="link" href="RBSource.html" title="RBSource">RBSource</a> *source,
1740
 
                                                        <a
1741
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1742
 
>gpointer</a>  user_data)      : Run Last</pre>
 
1466
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="RBSource.html" title="RBSource"><span class="type">RBSource</span></a> *source,
 
1467
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)      : Run Last</pre>
1743
1468
<p>
1744
1469
Emitted when the source's status changes.</p>
1745
 
<p>
1746
 
</p>
1747
1470
<div class="variablelist"><table border="0">
1748
1471
<col align="left" valign="top">
1749
1472
<tbody>
1763
1486
</div>
1764
1487
<div class="footer">
1765
1488
<hr>
1766
 
          Generated by GTK-Doc V1.11</div>
 
1489
          Generated by GTK-Doc V1.13</div>
1767
1490
</body>
1768
 
</html>
 
1491
</html>
 
 
b'\\ No newline at end of file'