51
51
<div class="refsynopsisdiv" title="Synopsis">
52
52
<a name="RBLibraryBrowser.synopsis"></a><h2>Synopsis</h2>
53
53
<pre class="synopsis">
55
54
#include <rb-library-browser.h>
57
56
<a class="link" href="RBLibraryBrowser.html#RBLibraryBrowser-struct" title="RBLibraryBrowser">RBLibraryBrowser</a>;
58
57
<a class="link" href="RBLibraryBrowser.html#RBLibraryBrowserClass" title="RBLibraryBrowserClass">RBLibraryBrowserClass</a>;
59
<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> * <a class="link" href="RBLibraryBrowser.html#rb-library-browser-new" title="rb_library_browser_new ()">rb_library_browser_new</a> (<a class="link" href="RhythmDB.html" title="RhythmDB">RhythmDB</a> *db,
60
<a class="link" href="RhythmDB.html#RhythmDBEntryType" title="RhythmDBEntryType">RhythmDBEntryType</a> entry_type);
61
void <a class="link" href="RBLibraryBrowser.html#rb-library-browser-set-model" title="rb_library_browser_set_model ()">rb_library_browser_set_model</a> (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> *widget,
62
<a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel">RhythmDBQueryModel</a> *model,
64
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
65
>gboolean</a> query_pending);
67
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
68
>gboolean</a> <a class="link" href="RBLibraryBrowser.html#rb-library-browser-reset" title="rb_library_browser_reset ()">rb_library_browser_reset</a> (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> *widget);
69
<a class="link" href="RhythmDB.html#RhythmDBQuery" title="RhythmDBQuery">RhythmDBQuery</a>* <a class="link" href="RBLibraryBrowser.html#rb-library-browser-construct-query" title="rb_library_browser_construct_query ()">rb_library_browser_construct_query</a> (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> *widget);
71
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
72
>GList</a>* <a class="link" href="RBLibraryBrowser.html#rb-library-browser-get-property-views" title="rb_library_browser_get_property_views ()">rb_library_browser_get_property_views</a>
73
(<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> *widget);
74
<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a>* <a class="link" href="RBLibraryBrowser.html#rb-library-browser-get-property-view" title="rb_library_browser_get_property_view ()">rb_library_browser_get_property_view</a>
75
(<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> *widget,
76
<a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType">RhythmDBPropType</a> type);
78
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
79
>gboolean</a> <a class="link" href="RBLibraryBrowser.html#rb-library-browser-has-selection" title="rb_library_browser_has_selection ()">rb_library_browser_has_selection</a> (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> *widget);
80
void <a class="link" href="RBLibraryBrowser.html#rb-library-browser-set-selection" title="rb_library_browser_set_selection ()">rb_library_browser_set_selection</a> (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> *widget,
81
<a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType">RhythmDBPropType</a> type,
83
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
84
>GList</a> *selection);
58
<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> * <a class="link" href="RBLibraryBrowser.html#rb-library-browser-new" title="rb_library_browser_new ()">rb_library_browser_new</a> (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="returnvalue">RhythmDB</span></a> *db,
59
<a class="link" href="RhythmDB.html#RhythmDBEntryType" title="RhythmDBEntryType"><span class="returnvalue">RhythmDBEntryType</span></a> entry_type);
60
<span class="returnvalue">void</span> <a class="link" href="RBLibraryBrowser.html#rb-library-browser-set-model" title="rb_library_browser_set_model ()">rb_library_browser_set_model</a> (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> *widget,
61
<a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="returnvalue">RhythmDBQueryModel</span></a> *model,
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> query_pending);
63
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="RBLibraryBrowser.html#rb-library-browser-reset" title="rb_library_browser_reset ()">rb_library_browser_reset</a> (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> *widget);
64
<a class="link" href="RhythmDB.html#RhythmDBQuery" title="RhythmDBQuery"><span class="returnvalue">RhythmDBQuery</span></a>* <a class="link" href="RBLibraryBrowser.html#rb-library-browser-construct-query" title="rb_library_browser_construct_query ()">rb_library_browser_construct_query</a> (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> *widget);
65
<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="RBLibraryBrowser.html#rb-library-browser-get-property-views" title="rb_library_browser_get_property_views ()">rb_library_browser_get_property_views</a>
66
(<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> *widget);
67
<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a>* <a class="link" href="RBLibraryBrowser.html#rb-library-browser-get-property-view" title="rb_library_browser_get_property_view ()">rb_library_browser_get_property_view</a>
68
(<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> *widget,
69
<a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="returnvalue">RhythmDBPropType</span></a> type);
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="RBLibraryBrowser.html#rb-library-browser-has-selection" title="rb_library_browser_has_selection ()">rb_library_browser_has_selection</a> (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> *widget);
71
<span class="returnvalue">void</span> <a class="link" href="RBLibraryBrowser.html#rb-library-browser-set-selection" title="rb_library_browser_set_selection ()">rb_library_browser_set_selection</a> (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> *widget,
72
<a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="returnvalue">RhythmDBPropType</span></a> type,
73
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *selection);
87
76
<div class="refsect1" title="Object Hierarchy">
88
77
<a name="RBLibraryBrowser.object-hierarchy"></a><h2>Object Hierarchy</h2>
89
78
<pre class="synopsis">
91
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
94
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
95
>GInitiallyUnowned</a>
97
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
100
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
103
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
106
href="http://library.gnome.org/devel/gtk/unstable/GtkBox.html"
109
href="http://library.gnome.org/devel/gtk/unstable/GtkHBox.html"
79
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
80
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
81
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
82
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
83
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
84
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBox.html">GtkBox</a>
85
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkHBox.html">GtkHBox</a>
111
86
+----RBLibraryBrowser
115
90
<a name="RBLibraryBrowser.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
117
92
RBLibraryBrowser implements
118
AtkImplementorIface, <a
119
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
120
>GtkBuildable</a> and <a
121
href="http://library.gnome.org/devel/gtk/unstable/gtk-Orientable.html#GtkOrientable"
122
>GtkOrientable</a>.</p>
93
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>
124
95
<div class="refsect1" title="Properties">
125
96
<a name="RBLibraryBrowser.properties"></a><h2>Properties</h2>
126
97
<pre class="synopsis">
127
"<a class="link" href="RBLibraryBrowser.html#RBLibraryBrowser--db" title='The "db" property'>db</a>" <a class="link" href="RhythmDB.html" title="RhythmDB">RhythmDB</a>* : Read / Write / Construct Only
128
"<a class="link" href="RBLibraryBrowser.html#RBLibraryBrowser--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
129
"<a class="link" href="RBLibraryBrowser.html#RBLibraryBrowser--input-model" title='The "input-model" property'>input-model</a>" <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel">RhythmDBQueryModel</a>* : Read
130
"<a class="link" href="RBLibraryBrowser.html#RBLibraryBrowser--output-model" title='The "output-model" property'>output-model</a>" <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel">RhythmDBQueryModel</a>* : Read
98
"<a class="link" href="RBLibraryBrowser.html#RBLibraryBrowser--db" title='The "db" property'>db</a>" <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>* : Read / Write / Construct Only
99
"<a class="link" href="RBLibraryBrowser.html#RBLibraryBrowser--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
100
"<a class="link" href="RBLibraryBrowser.html#RBLibraryBrowser--input-model" title='The "input-model" property'>input-model</a>" <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a>* : Read
101
"<a class="link" href="RBLibraryBrowser.html#RBLibraryBrowser--output-model" title='The "output-model" property'>output-model</a>" <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a>* : Read
133
104
<div class="refsect1" title="Description">
204
171
<div class="refsect2" title="rb_library_browser_set_model ()">
205
172
<a name="rb-library-browser-set-model"></a><h3>rb_library_browser_set_model ()</h3>
206
<pre class="programlisting">void rb_library_browser_set_model (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> *widget,
207
<a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel">RhythmDBQueryModel</a> *model,
209
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
210
>gboolean</a> query_pending);</pre>
173
<pre class="programlisting"><span class="returnvalue">void</span> rb_library_browser_set_model (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> *widget,
174
<a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="returnvalue">RhythmDBQueryModel</span></a> *model,
175
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> query_pending);</pre>
212
177
Specifies a new input query model for the browser.
213
178
This should be the query model constructed from the
214
179
current search text, or the basic query model for the
215
180
source if there is no search text.</p>
218
181
<div class="variablelist"><table border="0">
219
182
<col align="left" valign="top">
319
272
<div class="refsect2" title="rb_library_browser_get_property_view ()">
320
273
<a name="rb-library-browser-get-property-view"></a><h3>rb_library_browser_get_property_view ()</h3>
321
<pre class="programlisting"><a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a>* rb_library_browser_get_property_view
322
(<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> *widget,
323
<a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType">RhythmDBPropType</a> type);</pre>
274
<pre class="programlisting"><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a>* rb_library_browser_get_property_view
275
(<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> *widget,
276
<a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="returnvalue">RhythmDBPropType</span></a> type);</pre>
325
278
Retrieves the property view widget for the specified property,
326
279
if there is one.</p>
329
280
<div class="variablelist"><table border="0">
330
281
<col align="left" valign="top">
377
324
<div class="refsect2" title="rb_library_browser_set_selection ()">
378
325
<a name="rb-library-browser-set-selection"></a><h3>rb_library_browser_set_selection ()</h3>
379
<pre class="programlisting">void rb_library_browser_set_selection (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser">RBLibraryBrowser</a> *widget,
380
<a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType">RhythmDBPropType</a> type,
382
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
383
>GList</a> *selection);</pre>
326
<pre class="programlisting"><span class="returnvalue">void</span> rb_library_browser_set_selection (<a class="link" href="RBLibraryBrowser.html" title="RBLibraryBrowser"><span class="returnvalue">RBLibraryBrowser</span></a> *widget,
327
<a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="returnvalue">RhythmDBPropType</span></a> type,
328
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *selection);</pre>
385
330
Replaces any current selection for the specified property.</p>
388
331
<div class="variablelist"><table border="0">
389
332
<col align="left" valign="top">
411
354
<a name="RBLibraryBrowser.property-details"></a><h2>Property Details</h2>
412
355
<div class="refsect2" title='The "db" property'>
413
356
<a name="RBLibraryBrowser--db"></a><h3>The <code class="literal">"db"</code> property</h3>
414
<pre class="programlisting"> "db" <a class="link" href="RhythmDB.html" title="RhythmDB">RhythmDB</a>* : Read / Write / Construct Only</pre>
357
<pre class="programlisting"> "db" <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>* : Read / Write / Construct Only</pre>
416
359
<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> instance</p>
421
362
<div class="refsect2" title='The "entry-type" property'>
422
363
<a name="RBLibraryBrowser--entry-type"></a><h3>The <code class="literal">"entry-type"</code> property</h3>
423
<pre class="programlisting"> "entry-type" <a class="link" href="RhythmDB.html#RhythmDBEntryType" title="RhythmDBEntryType">RhythmDBEntryType</a>* : Read / Write / Construct Only</pre>
364
<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>
425
366
The type of entries to use in the browser.</p>
430
369
<div class="refsect2" title='The "input-model" property'>
431
370
<a name="RBLibraryBrowser--input-model"></a><h3>The <code class="literal">"input-model"</code> property</h3>
432
<pre class="programlisting"> "input-model" <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel">RhythmDBQueryModel</a>* : Read</pre>
371
<pre class="programlisting"> "input-model" <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a>* : Read</pre>
434
373
This <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a> defines the set of entries that
435
374
the browser filters. This property is not writeable.
436
375
To set a new input query model, use
437
376
<a class="link" href="RBLibraryBrowser.html#rb-library-browser-set-model" title="rb_library_browser_set_model ()"><span class="type">rb_library_browser_set_model</span></a>.</p>
442
379
<div class="refsect2" title='The "output-model" property'>
443
380
<a name="RBLibraryBrowser--output-model"></a><h3>The <code class="literal">"output-model"</code> property</h3>
444
<pre class="programlisting"> "output-model" <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel">RhythmDBQueryModel</a>* : Read</pre>
381
<pre class="programlisting"> "output-model" <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a>* : Read</pre>
446
383
This <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a> contains the filtered set of
447
384
entries. It is a subset of the entries contained in the