46
46
<div class="refsynopsisdiv" title="Synopsis">
47
47
<a name="ESourceSelector.synopsis"></a><h2>Synopsis</h2>
48
48
<pre class="synopsis"> <a class="link" href="ESourceSelector.html#ESourceSelector-struct" title="ESourceSelector">ESourceSelector</a>;
49
<span class="returnvalue">GtkWidget</span> * <a class="link" href="ESourceSelector.html#e-source-selector-new" title="e_source_selector_new ()">e_source_selector_new</a> (<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> *list</code></em>);
50
<a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="returnvalue">ESourceList</span></a> * <a class="link" href="ESourceSelector.html#e-source-selector-get-source-list" title="e_source_selector_get_source_list ()">e_source_selector_get_source_list</a> (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);
49
<span class="returnvalue">GtkWidget</span> * <a class="link" href="ESourceSelector.html#e-source-selector-new" title="e_source_selector_new ()">e_source_selector_new</a> (<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> *list</code></em>);
50
<a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="returnvalue">ESourceList</span></a> * <a class="link" href="ESourceSelector.html#e-source-selector-get-source-list" title="e_source_selector_get_source_list ()">e_source_selector_get_source_list</a> (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);
51
51
<span class="returnvalue">void</span> <a class="link" href="ESourceSelector.html#e-source-selector-select-source" title="e_source_selector_select_source ()">e_source_selector_select_source</a> (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
52
<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
52
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
53
53
<span class="returnvalue">void</span> <a class="link" href="ESourceSelector.html#e-source-selector-unselect-source" title="e_source_selector_unselect_source ()">e_source_selector_unselect_source</a> (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
54
<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
54
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
55
55
<span class="returnvalue">void</span> <a class="link" href="ESourceSelector.html#e-source-selector-select-exclusive" title="e_source_selector_select_exclusive ()">e_source_selector_select_exclusive</a> (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
56
<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
56
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
57
57
<span class="returnvalue">gboolean</span> <a class="link" href="ESourceSelector.html#e-source-selector-source-is-selected" title="e_source_selector_source_is_selected ()">e_source_selector_source_is_selected</a>
58
58
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
59
<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
59
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
60
60
<span class="returnvalue">GSList</span> * <a class="link" href="ESourceSelector.html#e-source-selector-get-selection" title="e_source_selector_get_selection ()">e_source_selector_get_selection</a> (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);
61
61
<span class="returnvalue">void</span> <a class="link" href="ESourceSelector.html#e-source-selector-free-selection" title="e_source_selector_free_selection ()">e_source_selector_free_selection</a> (<em class="parameter"><code><span class="type">GSList</span> *list</code></em>);
62
62
<span class="returnvalue">void</span> <a class="link" href="ESourceSelector.html#e-source-selector-show-selection" title="e_source_selector_show_selection ()">e_source_selector_show_selection</a> (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
66
66
<em class="parameter"><code><span class="type">gboolean</span> state</code></em>);
67
67
<span class="returnvalue">void</span> <a class="link" href="ESourceSelector.html#e-source-selector-edit-primary-selection" title="e_source_selector_edit_primary_selection ()">e_source_selector_edit_primary_selection</a>
68
68
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);
69
<a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * <a class="link" href="ESourceSelector.html#e-source-selector-get-primary-selection" title="e_source_selector_get_primary_selection ()">e_source_selector_get_primary_selection</a>
69
<a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * <a class="link" href="ESourceSelector.html#e-source-selector-get-primary-selection" title="e_source_selector_get_primary_selection ()">e_source_selector_get_primary_selection</a>
70
70
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);
71
71
<span class="returnvalue">void</span> <a class="link" href="ESourceSelector.html#e-source-selector-set-primary-selection" title="e_source_selector_set_primary_selection ()">e_source_selector_set_primary_selection</a>
72
72
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
73
<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
74
<a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESourceGroup.html"><span class="returnvalue">ESourceGroup</span></a> * <a class="link" href="ESourceSelector.html#e-source-selector-get-primary-source-group" title="e_source_selector_get_primary_source_group ()">e_source_selector_get_primary_source_group</a>
73
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
74
<a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceGroup.html"><span class="returnvalue">ESourceGroup</span></a> * <a class="link" href="ESourceSelector.html#e-source-selector-get-primary-source-group" title="e_source_selector_get_primary_source_group ()">e_source_selector_get_primary_source_group</a>
75
75
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);
76
76
#define <a class="link" href="ESourceSelector.html#e-source-selector-peek-primary-selection" title="e_source_selector_peek_primary_selection">e_source_selector_peek_primary_selection</a>
77
<a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * <a class="link" href="ESourceSelector.html#e-source-selector-get-source-by-path" title="e_source_selector_get_source_by_path ()">e_source_selector_get_source_by_path</a>
77
<a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * <a class="link" href="ESourceSelector.html#e-source-selector-get-source-by-path" title="e_source_selector_get_source_by_path ()">e_source_selector_get_source_by_path</a>
78
78
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
79
79
<em class="parameter"><code><span class="type">GtkTreePath</span> *path</code></em>);
99
99
<div class="refsect1" title="Properties">
100
100
<a name="ESourceSelector.properties"></a><h2>Properties</h2>
101
101
<pre class="synopsis">
102
"<a class="link" href="ESourceSelector.html#ESourceSelector--primary-selection" title='The "primary-selection" property'>primary-selection</a>" <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a>* : Read / Write
103
"<a class="link" href="ESourceSelector.html#ESourceSelector--source-list" title='The "source-list" property'>source-list</a>" <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a>* : Read / Write / Construct Only
102
"<a class="link" href="ESourceSelector.html#ESourceSelector--primary-selection" title='The "primary-selection" property'>primary-selection</a>" <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a>* : Read / Write
103
"<a class="link" href="ESourceSelector.html#ESourceSelector--source-list" title='The "source-list" property'>source-list</a>" <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a>* : Read / Write / Construct Only
106
106
<div class="refsect1" title="Signals">
129
129
<div class="refsect2" title="e_source_selector_new ()">
130
130
<a name="e-source-selector-new"></a><h3>e_source_selector_new ()</h3>
131
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * e_source_selector_new (<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> *list</code></em>);</pre>
131
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * e_source_selector_new (<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> *list</code></em>);</pre>
133
133
Create a new view for <em class="parameter"><code>list</code></em>. The view will update automatically when <em class="parameter"><code>list</code></em>
153
153
<div class="refsect2" title="e_source_selector_get_source_list ()">
154
154
<a name="e-source-selector-get-source-list"></a><h3>e_source_selector_get_source_list ()</h3>
155
<pre class="programlisting"><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="returnvalue">ESourceList</span></a> * e_source_selector_get_source_list (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);</pre>
155
<pre class="programlisting"><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="returnvalue">ESourceList</span></a> * e_source_selector_get_source_list (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);</pre>
157
Returns the <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> that <em class="parameter"><code>selector</code></em> is rendering.
157
Returns the <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> that <em class="parameter"><code>selector</code></em> is rendering.
159
159
<div class="variablelist"><table border="0">
160
160
<col align="left" valign="top">
178
178
<div class="refsect2" title="e_source_selector_select_source ()">
179
179
<a name="e-source-selector-select-source"></a><h3>e_source_selector_select_source ()</h3>
180
180
<pre class="programlisting"><span class="returnvalue">void</span> e_source_selector_select_source (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
181
<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
181
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
183
183
Select <em class="parameter"><code>source</code></em> in <em class="parameter"><code>selector</code></em>.
202
202
<div class="refsect2" title="e_source_selector_unselect_source ()">
203
203
<a name="e-source-selector-unselect-source"></a><h3>e_source_selector_unselect_source ()</h3>
204
204
<pre class="programlisting"><span class="returnvalue">void</span> e_source_selector_unselect_source (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
205
<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
205
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
207
207
Unselect <em class="parameter"><code>source</code></em> in <em class="parameter"><code>selector</code></em>.
226
226
<div class="refsect2" title="e_source_selector_select_exclusive ()">
227
227
<a name="e-source-selector-select-exclusive"></a><h3>e_source_selector_select_exclusive ()</h3>
228
228
<pre class="programlisting"><span class="returnvalue">void</span> e_source_selector_select_exclusive (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
229
<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
229
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
231
231
Select <em class="parameter"><code>source</code></em> in <em class="parameter"><code>selector</code></em> and unselect all others.
252
252
<a name="e-source-selector-source-is-selected"></a><h3>e_source_selector_source_is_selected ()</h3>
253
253
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_source_selector_source_is_selected
254
254
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
255
<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
255
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
257
257
Check whether <em class="parameter"><code>source</code></em> is selected in <em class="parameter"><code>selector</code></em>.
413
413
<div class="refsect2" title="e_source_selector_get_primary_selection ()">
414
414
<a name="e-source-selector-get-primary-selection"></a><h3>e_source_selector_get_primary_selection ()</h3>
415
<pre class="programlisting"><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * e_source_selector_get_primary_selection
415
<pre class="programlisting"><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * e_source_selector_get_primary_selection
416
416
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);</pre>
418
418
Get the primary selected source. The primary selection is the one that is
441
441
<a name="e-source-selector-set-primary-selection"></a><h3>e_source_selector_set_primary_selection ()</h3>
442
442
<pre class="programlisting"><span class="returnvalue">void</span> e_source_selector_set_primary_selection
443
443
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
444
<em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
444
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
446
446
Set the primary selected source.
465
465
<div class="refsect2" title="e_source_selector_get_primary_source_group ()">
466
466
<a name="e-source-selector-get-primary-source-group"></a><h3>e_source_selector_get_primary_source_group ()</h3>
467
<pre class="programlisting"><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESourceGroup.html"><span class="returnvalue">ESourceGroup</span></a> * e_source_selector_get_primary_source_group
467
<pre class="programlisting"><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceGroup.html"><span class="returnvalue">ESourceGroup</span></a> * e_source_selector_get_primary_source_group
468
468
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);</pre>
470
470
Gets the primary source group associated with the selector.
508
508
<div class="refsect2" title="e_source_selector_get_source_by_path ()">
509
509
<a name="e-source-selector-get-source-by-path"></a><h3>e_source_selector_get_source_by_path ()</h3>
510
<pre class="programlisting"><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * e_source_selector_get_source_by_path
510
<pre class="programlisting"><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * e_source_selector_get_source_by_path
511
511
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
512
512
<em class="parameter"><code><span class="type">GtkTreePath</span> *path</code></em>);</pre>
514
Returns the <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> object at <em class="parameter"><code>path</code></em>, or <code class="literal">NULL</code> if <em class="parameter"><code>path</code></em> is invalid.
514
Returns the <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> object at <em class="parameter"><code>path</code></em>, or <code class="literal">NULL</code> if <em class="parameter"><code>path</code></em> is invalid.
516
516
<div class="variablelist"><table border="0">
517
517
<col align="left" valign="top">
530
530
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
531
<td> the <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> object at <em class="parameter"><code>path</code></em>, or <code class="literal">NULL</code>
531
<td> the <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> object at <em class="parameter"><code>path</code></em>, or <code class="literal">NULL</code>
541
541
<a name="ESourceSelector.property-details"></a><h2>Property Details</h2>
542
542
<div class="refsect2" title='The "primary-selection" property'>
543
543
<a name="ESourceSelector--primary-selection"></a><h3>The <code class="literal">"primary-selection"</code> property</h3>
544
<pre class="programlisting"> "primary-selection" <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a>* : Read / Write</pre>
544
<pre class="programlisting"> "primary-selection" <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a>* : Read / Write</pre>
548
548
<div class="refsect2" title='The "source-list" property'>
549
549
<a name="ESourceSelector--source-list"></a><h3>The <code class="literal">"source-list"</code> property</h3>
550
<pre class="programlisting"> "source-list" <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a>* : Read / Write / Construct Only</pre>
550
<pre class="programlisting"> "source-list" <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a>* : Read / Write / Construct Only</pre>
557
557
<a name="ESourceSelector-data-dropped"></a><h3>The <code class="literal">"data-dropped"</code> signal</h3>
558
558
<pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *esourceselector,
559
559
<span class="type">GtkSelectionData</span> *arg1,
560
<a href="/home/mbarnes/local/stable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *arg2,
560
<a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> *arg2,
561
561
<span class="type">GdkDragAction</span> arg3,
562
562
<span class="type">guint</span> arg4,
563
563
<span class="type">gpointer</span> user_data) : Run Last</pre>