48
48
<pre class="synopsis">struct <a class="link" href="RBPropertyView.html#RBPropertyView-struct" title="struct RBPropertyView">RBPropertyView</a>;
49
49
struct <a class="link" href="RBPropertyView.html#RBPropertyViewClass" title="struct RBPropertyViewClass">RBPropertyViewClass</a>;
50
50
<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> * <a class="link" href="RBPropertyView.html#rb-property-view-new" title="rb_property_view_new ()">rb_property_view_new</a> (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
51
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> propid</code></em>,
51
<em class="parameter"><code><span class="type">guint</span> propid</code></em>,
52
52
<em class="parameter"><code>const <span class="type">char</span> *title</code></em>);
53
53
<span class="returnvalue">void</span> <a class="link" href="RBPropertyView.html#rb-property-view-append-column-custom" title="rb_property_view_append_column_custom ()">rb_property_view_append_column_custom</a>
54
54
(<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>,
55
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html"><span class="type">GtkTreeViewColumn</span></a> *column</code></em>);
55
<em class="parameter"><code><span class="type">GtkTreeViewColumn</span> *column</code></em>);
56
56
<span class="returnvalue">void</span> <a class="link" href="RBPropertyView.html#rb-property-view-set-selection-mode" title="rb_property_view_set_selection_mode ()">rb_property_view_set_selection_mode</a> (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>,
57
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> mode</code></em>);
57
<em class="parameter"><code><span class="type">GtkSelectionMode</span> mode</code></em>);
58
58
<span class="returnvalue">void</span> <a class="link" href="RBPropertyView.html#rb-property-view-reset" title="rb_property_view_reset ()">rb_property_view_reset</a> (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>);
59
59
<span class="returnvalue">void</span> <a class="link" href="RBPropertyView.html#rb-property-view-set-selection" title="rb_property_view_set_selection ()">rb_property_view_set_selection</a> (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>,
60
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *vals</code></em>);
61
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="RBPropertyView.html#rb-property-view-get-selection" title="rb_property_view_get_selection ()">rb_property_view_get_selection</a> (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>);
60
<em class="parameter"><code>const <span class="type">GList</span> *vals</code></em>);
61
<span class="returnvalue">GList</span> * <a class="link" href="RBPropertyView.html#rb-property-view-get-selection" title="rb_property_view_get_selection ()">rb_property_view_get_selection</a> (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>);
62
62
<a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel"><span class="returnvalue">RhythmDBPropertyModel</span></a> * <a class="link" href="RBPropertyView.html#rb-property-view-get-model" title="rb_property_view_get_model ()">rb_property_view_get_model</a> (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>);
63
63
<span class="returnvalue">void</span> <a class="link" href="RBPropertyView.html#rb-property-view-set-model" title="rb_property_view_set_model ()">rb_property_view_set_model</a> (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>,
64
64
<em class="parameter"><code><a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel"><span class="type">RhythmDBPropertyModel</span></a> *model</code></em>);
65
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="RBPropertyView.html#rb-property-view-get-num-properties" title="rb_property_view_get_num_properties ()">rb_property_view_get_num_properties</a> (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>);
65
<span class="returnvalue">guint</span> <a class="link" href="RBPropertyView.html#rb-property-view-get-num-properties" title="rb_property_view_get_num_properties ()">rb_property_view_get_num_properties</a> (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>);
66
66
<span class="returnvalue">void</span> <a class="link" href="RBPropertyView.html#rb-property-view-set-search-func" title="rb_property_view_set_search_func ()">rb_property_view_set_search_func</a> (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>,
67
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html#GtkTreeViewSearchEqualFunc"><span class="type">GtkTreeViewSearchEqualFunc</span></a> func</code></em>,
68
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>,
69
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
67
<em class="parameter"><code><span class="type">GtkTreeViewSearchEqualFunc</span> func</code></em>,
68
<em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>,
69
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);
72
72
<div class="refsect1">
73
73
<a name="RBPropertyView.object-hierarchy"></a><h2>Object Hierarchy</h2>
74
74
<pre class="synopsis">
75
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
76
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
77
+----<a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html">GtkWidget</a>
78
+----<a href="/usr/share/gtk-doc/html/gtk3/GtkContainer.html">GtkContainer</a>
79
+----<a href="/usr/share/gtk-doc/html/gtk3/GtkBin.html">GtkBin</a>
80
+----<a href="/usr/share/gtk-doc/html/gtk3/GtkScrolledWindow.html">GtkScrolledWindow</a>
76
+----GInitiallyUnowned
80
+----GtkScrolledWindow
81
81
+----RBPropertyView
85
85
<a name="RBPropertyView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
87
87
RBPropertyView implements
88
AtkImplementorIface and <a href="/usr/share/gtk-doc/html/gtk3/GtkBuildable.html">GtkBuildable</a>.</p>
88
AtkImplementorIface and GtkBuildable.</p>
90
90
<div class="refsect1">
91
91
<a name="RBPropertyView.properties"></a><h2>Properties</h2>
92
92
<pre class="synopsis">
93
93
"<a class="link" href="RBPropertyView.html#RBPropertyView--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
94
"<a class="link" href="RBPropertyView.html#RBPropertyView--draggable" title='The "draggable" property'>draggable</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only
94
"<a class="link" href="RBPropertyView.html#RBPropertyView--draggable" title='The "draggable" property'>draggable</a>" <span class="type">gboolean</span> : Read / Write / Construct Only
95
95
"<a class="link" href="RBPropertyView.html#RBPropertyView--prop" title='The "prop" property'>prop</a>" <a class="link" href="RhythmDB.html#RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> : Read / Write / Construct Only
96
96
"<a class="link" href="RBPropertyView.html#RBPropertyView--property-model" title='The "property-model" property'>property-model</a>" <a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel"><span class="type">RhythmDBPropertyModel</span></a>* : Read / Write
97
"<a class="link" href="RBPropertyView.html#RBPropertyView--title" title='The "title" property'>title</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
97
"<a class="link" href="RBPropertyView.html#RBPropertyView--title" title='The "title" property'>title</a>" <span class="type">gchar</span>* : Read / Write / Construct Only
100
100
<div class="refsect1">
101
101
<a name="RBPropertyView.signals"></a><h2>Signals</h2>
102
102
<pre class="synopsis">
103
"<a class="link" href="RBPropertyView.html#RBPropertyView-properties-selected" title='The "properties-selected" signal'>properties-selected</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
104
"<a class="link" href="RBPropertyView.html#RBPropertyView-property-activated" title='The "property-activated" signal'>property-activated</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
105
"<a class="link" href="RBPropertyView.html#RBPropertyView-property-selected" title='The "property-selected" signal'>property-selected</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
106
"<a class="link" href="RBPropertyView.html#RBPropertyView-property-selection-reset" title='The "property-selection-reset" signal'>property-selection-reset</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
107
"<a class="link" href="RBPropertyView.html#RBPropertyView-show-popup" title='The "show-popup" signal'>show-popup</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
103
"<a class="link" href="RBPropertyView.html#RBPropertyView-properties-selected" title='The "properties-selected" signal'>properties-selected</a>" : <code class="literal">Run Last</code>
104
"<a class="link" href="RBPropertyView.html#RBPropertyView-property-activated" title='The "property-activated" signal'>property-activated</a>" : <code class="literal">Run Last</code>
105
"<a class="link" href="RBPropertyView.html#RBPropertyView-property-selected" title='The "property-selected" signal'>property-selected</a>" : <code class="literal">Run Last</code>
106
"<a class="link" href="RBPropertyView.html#RBPropertyView-property-selection-reset" title='The "property-selection-reset" signal'>property-selection-reset</a>" : <code class="literal">Run Last</code>
107
"<a class="link" href="RBPropertyView.html#RBPropertyView-show-popup" title='The "show-popup" signal'>show-popup</a>" : <code class="literal">Run Last</code>
110
110
<div class="refsect1">
111
111
<a name="RBPropertyView.description"></a><h2>Description</h2>
113
A simple <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> that displays the contents of a <a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel"><span class="type">RhythmDBPropertyModel</span></a>.
113
A simple <span class="type">GtkTreeView</span> that displays the contents of a <a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel"><span class="type">RhythmDBPropertyModel</span></a>.
114
114
The first row in the tree view displays the total number of properties and entries,
115
115
in the form "All 473 artists (6241)". Each subsequent row in the tree view
116
116
displays a property value and the number of entries from the <a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a>
149
149
<div class="refsect2">
150
150
<a name="rb-property-view-new"></a><h3>rb_property_view_new ()</h3>
151
151
<pre class="programlisting"><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> * rb_property_view_new (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
152
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> propid</code></em>,
152
<em class="parameter"><code><span class="type">guint</span> propid</code></em>,
153
153
<em class="parameter"><code>const <span class="type">char</span> *title</code></em>);</pre>
155
155
Creates a new <a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> displaying the specified property.
363
363
<div class="refsect2">
364
364
<a name="rb-property-view-set-search-func"></a><h3>rb_property_view_set_search_func ()</h3>
365
365
<pre class="programlisting"><span class="returnvalue">void</span> rb_property_view_set_search_func (<em class="parameter"><code><a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view</code></em>,
366
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html#GtkTreeViewSearchEqualFunc"><span class="type">GtkTreeViewSearchEqualFunc</span></a> func</code></em>,
367
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>,
368
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
366
<em class="parameter"><code><span class="type">GtkTreeViewSearchEqualFunc</span> func</code></em>,
367
<em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>,
368
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
370
370
Sets the compare function for the interactive search capabilities.
371
371
The function must return FALSE when the search key string matches
445
445
<div class="refsect2">
446
446
<a name="RBPropertyView-properties-selected"></a><h3>The <code class="literal">"properties-selected"</code> signal</h3>
447
447
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view,
448
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> properties,
449
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
448
<span class="type">gpointer</span> properties,
449
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
451
451
Emitted when the set of selected property values changes. This is only
452
452
emitted for multiple selection property views. For single-selection views,
475
475
<div class="refsect2">
476
476
<a name="RBPropertyView-property-activated"></a><h3>The <code class="literal">"property-activated"</code> signal</h3>
477
477
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view,
478
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name,
479
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
478
<span class="type">gchar</span> *name,
479
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
481
481
Emitted when a row in a property view is activated by double clicking.
503
503
<div class="refsect2">
504
504
<a name="RBPropertyView-property-selected"></a><h3>The <code class="literal">"property-selected"</code> signal</h3>
505
505
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="type">RBPropertyView</span></a> *view,
506
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name,
507
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
506
<span class="type">gchar</span> *name,
507
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
509
509
Emitted when an individual property value becomes selected. This is only
510
510
emitted for single-selection property views. For multiple-selection views,