46
46
<div class="refnamediv"><table width="100%"><tr>
48
48
<h2><span class="refentrytitle"><a name="RBPropertyView.top_of_page"></a>RBPropertyView</span></h2>
49
<p>RBPropertyView — a <a
50
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeView.html"
51
><span class="type">GtkTreeView</span></a> backed by a <a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel"><span class="type">RhythmDBPropertyModel</span></a></p>
49
<p>RBPropertyView — a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeView.html"><span class="type">GtkTreeView</span></a> backed by a <a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel"><span class="type">RhythmDBPropertyModel</span></a></p>
53
51
<td valign="top" align="right"></td>
54
52
</tr></table></div>
55
53
<div class="refsynopsisdiv" title="Synopsis">
56
54
<a name="RBPropertyView.synopsis"></a><h2>Synopsis</h2>
57
<pre class="synopsis">
58
<a class="link" href="RBPropertyView.html#RBPropertyView-struct" title="RBPropertyView">RBPropertyView</a>;
55
<pre class="synopsis"> <a class="link" href="RBPropertyView.html#RBPropertyView-struct" title="RBPropertyView">RBPropertyView</a>;
59
56
<a class="link" href="RBPropertyView.html#RBPropertyViewClass" title="RBPropertyViewClass">RBPropertyViewClass</a>;
60
<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> * <a class="link" href="RBPropertyView.html#rb-property-view-new" title="rb_property_view_new ()">rb_property_view_new</a> (<a class="link" href="RhythmDB.html" title="RhythmDB">RhythmDB</a> *db,
62
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
65
void <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>
66
(<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> *view,
68
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeViewColumn.html"
69
>GtkTreeViewColumn</a> *column);
70
void <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> (<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> *view,
72
href="http://library.gnome.org/devel/gtk/unstable/gtk-Standard-Enumerations.html#GtkSelectionMode"
73
>GtkSelectionMode</a> mode);
74
void <a class="link" href="RBPropertyView.html#rb-property-view-reset" title="rb_property_view_reset ()">rb_property_view_reset</a> (<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> *view);
75
void <a class="link" href="RBPropertyView.html#rb-property-view-set-selection" title="rb_property_view_set_selection ()">rb_property_view_set_selection</a> (<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> *view,
77
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
80
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
81
>GList</a> * <a class="link" href="RBPropertyView.html#rb-property-view-get-selection" title="rb_property_view_get_selection ()">rb_property_view_get_selection</a> (<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> *view);
82
<a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel">RhythmDBPropertyModel</a> * <a class="link" href="RBPropertyView.html#rb-property-view-get-model" title="rb_property_view_get_model ()">rb_property_view_get_model</a> (<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> *view);
83
void <a class="link" href="RBPropertyView.html#rb-property-view-set-model" title="rb_property_view_set_model ()">rb_property_view_set_model</a> (<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> *view,
84
<a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel">RhythmDBPropertyModel</a> *model);
86
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
87
>guint</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> (<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> *view);
88
void <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> (<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> *view,
90
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeView.html#GtkTreeViewSearchEqualFunc"
91
>GtkTreeViewSearchEqualFunc</a> func,
93
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
94
>gpointer</a> func_data,
96
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
97
>GDestroyNotify</a> notify);
57
<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> (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="returnvalue">RhythmDB</span></a> *db,
58
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> propid,
59
const <span class="returnvalue">char</span> *title);
60
<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>
61
(<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> *view,
62
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeViewColumn.html"><span class="returnvalue">GtkTreeViewColumn</span></a> *column);
63
<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> (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> *view,
64
<a href="http://library.gnome.org/devel/gtk/unstable/gtk-Standard-Enumerations.html#GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a> mode);
65
<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> (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> *view);
66
<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> (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> *view,
67
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *vals);
68
<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="RBPropertyView.html#rb-property-view-get-selection" title="rb_property_view_get_selection ()">rb_property_view_get_selection</a> (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> *view);
69
<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> (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> *view);
70
<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> (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> *view,
71
<a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel"><span class="returnvalue">RhythmDBPropertyModel</span></a> *model);
72
<a href="http://library.gnome.org/devel/glib/unstable/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> (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> *view);
73
<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> (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> *view,
74
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeView.html#GtkTreeViewSearchEqualFunc"><span class="returnvalue">GtkTreeViewSearchEqualFunc</span></a> func,
75
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> func_data,
76
<a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> notify);
100
79
<div class="refsect1" title="Object Hierarchy">
101
80
<a name="RBPropertyView.object-hierarchy"></a><h2>Object Hierarchy</h2>
102
81
<pre class="synopsis">
104
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
107
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
108
>GInitiallyUnowned</a>
110
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
113
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
116
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
119
href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"
122
href="http://library.gnome.org/devel/gtk/unstable/GtkScrolledWindow.html"
123
>GtkScrolledWindow</a>
82
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
83
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
84
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
85
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
86
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
87
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html">GtkBin</a>
88
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkScrolledWindow.html">GtkScrolledWindow</a>
124
89
+----RBPropertyView
128
93
<a name="RBPropertyView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
130
95
RBPropertyView implements
131
AtkImplementorIface and <a
132
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
133
>GtkBuildable</a>.</p>
96
AtkImplementorIface and <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
135
98
<div class="refsect1" title="Properties">
136
99
<a name="RBPropertyView.properties"></a><h2>Properties</h2>
137
100
<pre class="synopsis">
138
"<a class="link" href="RBPropertyView.html#RBPropertyView--db" title='The "db" property'>db</a>" <a class="link" href="RhythmDB.html" title="RhythmDB">RhythmDB</a>* : Read / Write / Construct Only
139
"<a class="link" href="RBPropertyView.html#RBPropertyView--draggable" title='The "draggable" property'>draggable</a>" <a
140
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
141
>gboolean</a> : Read / Write / Construct Only
142
"<a class="link" href="RBPropertyView.html#RBPropertyView--prop" title='The "prop" property'>prop</a>" <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType">RhythmDBPropType</a> : Read / Write / Construct Only
143
"<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">RhythmDBPropertyModel</a>* : Read / Write
144
"<a class="link" href="RBPropertyView.html#RBPropertyView--title" title='The "title" property'>title</a>" <a
145
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
146
>gchar</a>* : Read / Write / Construct Only
101
"<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
102
"<a class="link" href="RBPropertyView.html#RBPropertyView--draggable" title='The "draggable" property'>draggable</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only
103
"<a class="link" href="RBPropertyView.html#RBPropertyView--prop" title='The "prop" property'>prop</a>" <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> : Read / Write / Construct Only
104
"<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
105
"<a class="link" href="RBPropertyView.html#RBPropertyView--title" title='The "title" property'>title</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
149
108
<div class="refsect1" title="Signals">
449
362
<div class="refsect2" title="rb_property_view_set_search_func ()">
450
363
<a name="rb-property-view-set-search-func"></a><h3>rb_property_view_set_search_func ()</h3>
451
<pre class="programlisting">void rb_property_view_set_search_func (<a class="link" href="RBPropertyView.html" title="RBPropertyView">RBPropertyView</a> *view,
453
href="http://library.gnome.org/devel/gtk/unstable/GtkTreeView.html#GtkTreeViewSearchEqualFunc"
454
>GtkTreeViewSearchEqualFunc</a> func,
456
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
457
>gpointer</a> func_data,
459
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
460
>GDestroyNotify</a> notify);</pre>
364
<pre class="programlisting"><span class="returnvalue">void</span> rb_property_view_set_search_func (<a class="link" href="RBPropertyView.html" title="RBPropertyView"><span class="returnvalue">RBPropertyView</span></a> *view,
365
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeView.html#GtkTreeViewSearchEqualFunc"><span class="returnvalue">GtkTreeViewSearchEqualFunc</span></a> func,
366
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> func_data,
367
<a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> notify);</pre>
462
369
Sets the compare function for the interactive search capabilities.
463
370
The function must return FALSE when the search key string matches
464
371
the row it is passed.</p>
467
372
<div class="variablelist"><table border="0">
468
373
<col align="left" valign="top">
495
400
<a name="RBPropertyView.property-details"></a><h2>Property Details</h2>
496
401
<div class="refsect2" title='The "db" property'>
497
402
<a name="RBPropertyView--db"></a><h3>The <code class="literal">"db"</code> property</h3>
498
<pre class="programlisting"> "db" <a class="link" href="RhythmDB.html" title="RhythmDB">RhythmDB</a>* : Read / Write / Construct Only</pre>
403
<pre class="programlisting"> "db" <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>* : Read / Write / Construct Only</pre>
500
405
<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> instance</p>
505
408
<div class="refsect2" title='The "draggable" property'>
506
409
<a name="RBPropertyView--draggable"></a><h3>The <code class="literal">"draggable"</code> property</h3>
507
<pre class="programlisting"> "draggable" <a
508
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
509
>gboolean</a> : Read / Write / Construct Only</pre>
410
<pre class="programlisting"> "draggable" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only</pre>
511
412
Whether the property view acts as a data source for drag and drop operations.</p>
514
413
<p>Default value: TRUE</p>
517
416
<div class="refsect2" title='The "prop" property'>
518
417
<a name="RBPropertyView--prop"></a><h3>The <code class="literal">"prop"</code> property</h3>
519
<pre class="programlisting"> "prop" <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType">RhythmDBPropType</a> : Read / Write / Construct Only</pre>
418
<pre class="programlisting"> "prop" <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> : Read / Write / Construct Only</pre>
521
420
The property that is displayed in this view</p>
524
421
<p>Default value: RHYTHMDB_PROP_TYPE</p>
527
424
<div class="refsect2" title='The "property-model" property'>
528
425
<a name="RBPropertyView--property-model"></a><h3>The <code class="literal">"property-model"</code> property</h3>
529
<pre class="programlisting"> "property-model" <a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel">RhythmDBPropertyModel</a>* : Read / Write</pre>
426
<pre class="programlisting"> "property-model" <a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel"><span class="type">RhythmDBPropertyModel</span></a>* : Read / Write</pre>
531
428
The <span class="type">RhythmDBProperyModel</span> backing the view.</p>
536
431
<div class="refsect2" title='The "title" property'>
537
432
<a name="RBPropertyView--title"></a><h3>The <code class="literal">"title"</code> property</h3>
538
<pre class="programlisting"> "title" <a
539
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
540
>gchar</a>* : Read / Write / Construct Only</pre>
433
<pre class="programlisting"> "title" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
542
435
The title displayed in the header of the property view</p>
545
436
<p>Default value: ""</p>