46
44
<td valign="top" align="right"></td>
47
45
</tr></table></div>
48
<div class="refsynopsisdiv" title="Synopsis">
46
<div class="refsynopsisdiv">
49
47
<a name="ESourceSelector.synopsis"></a><h2>Synopsis</h2>
50
<pre class="synopsis">
51
<a class="link" href="ESourceSelector.html#ESourceSelector-struct" title="ESourceSelector">ESourceSelector</a>;
53
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
54
>GtkWidget</a> * <a class="link" href="ESourceSelector.html#e-source-selector-new" title="e_source_selector_new ()">e_source_selector_new</a> (<a
55
href="/usr/share/gtk-doc/html/libedataserver/ESourceList.html"
56
>ESourceList</a> *list);
58
href="/usr/share/gtk-doc/html/libedataserver/ESourceList.html"
59
>ESourceList</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> (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);
60
void <a class="link" href="ESourceSelector.html#e-source-selector-select-source" title="e_source_selector_select_source ()">e_source_selector_select_source</a> (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
62
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
63
>ESource</a> *source);
64
void <a class="link" href="ESourceSelector.html#e-source-selector-unselect-source" title="e_source_selector_unselect_source ()">e_source_selector_unselect_source</a> (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
66
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
67
>ESource</a> *source);
69
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
70
>gboolean</a> <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>
71
(<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
73
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
74
>ESource</a> *source);
76
href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"
77
>GSList</a> * <a class="link" href="ESourceSelector.html#e-source-selector-get-selection" title="e_source_selector_get_selection ()">e_source_selector_get_selection</a> (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);
78
void <a class="link" href="ESourceSelector.html#e-source-selector-free-selection" title="e_source_selector_free_selection ()">e_source_selector_free_selection</a> (<a
79
href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"
81
void <a class="link" href="ESourceSelector.html#e-source-selector-show-selection" title="e_source_selector_show_selection ()">e_source_selector_show_selection</a> (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
83
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
86
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
87
>gboolean</a> <a class="link" href="ESourceSelector.html#e-source-selector-selection-shown" title="e_source_selector_selection_shown ()">e_source_selector_selection_shown</a> (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);
88
void <a class="link" href="ESourceSelector.html#e-source-selector-set-select-new" title="e_source_selector_set_select_new ()">e_source_selector_set_select_new</a> (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
90
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
92
void <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>
93
(<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);
95
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
96
>ESource</a> * <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>
97
(<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);
98
void <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>
99
(<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
101
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
102
>ESource</a> *source);
104
href="/usr/share/gtk-doc/html/libedataserver/ESourceGroup.html"
105
>ESourceGroup</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>
106
(<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);
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="../libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> *list</code></em>);
50
<a href="../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
<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="../libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
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="../libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
55
<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>
56
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
57
<em class="parameter"><code><a href="../libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
58
<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>);
59
<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>);
60
<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>,
61
<em class="parameter"><code><span class="type">gboolean</span> show</code></em>);
62
<span class="returnvalue">gboolean</span> <a class="link" href="ESourceSelector.html#e-source-selector-selection-shown" title="e_source_selector_selection_shown ()">e_source_selector_selection_shown</a> (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);
63
<span class="returnvalue">void</span> <a class="link" href="ESourceSelector.html#e-source-selector-set-select-new" title="e_source_selector_set_select_new ()">e_source_selector_set_select_new</a> (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
64
<em class="parameter"><code><span class="type">gboolean</span> state</code></em>);
65
<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>
66
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);
67
<a href="../libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * <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>
68
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);
69
<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>
70
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
71
<em class="parameter"><code><a href="../libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);
72
<a href="../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 class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);
109
<div class="refsect1" title="Object Hierarchy">
76
<div class="refsect1" lang="en">
110
77
<a name="ESourceSelector.object-hierarchy"></a><h2>Object Hierarchy</h2>
111
78
<pre class="synopsis">
113
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
116
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
117
>GInitiallyUnowned</a>
119
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
122
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
125
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
128
href="/usr/share/gtk-doc/html/gtk/GtkTreeView.html"
80
+----GInitiallyUnowned
130
85
+----ESourceSelector
133
<div class="refsect1" title="Implemented Interfaces">
88
<div class="refsect1" lang="en">
134
89
<a name="ESourceSelector.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
136
91
ESourceSelector implements
138
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
139
>GtkBuildable</a> and AtkImplementorIface.</p>
92
AtkImplementorIface and GtkBuildable.</p>
141
<div class="refsect1" title="Properties">
94
<div class="refsect1" lang="en">
142
95
<a name="ESourceSelector.properties"></a><h2>Properties</h2>
143
96
<pre class="synopsis">
144
"<a class="link" href="ESourceSelector.html#ESourceSelector--source-list" title='The "source-list" property'>source-list</a>" <a
145
href="/usr/share/gtk-doc/html/libedataserver/ESourceList.html"
146
>ESourceList</a>* : Read / Write / Construct Only
97
"<a class="link" href="ESourceSelector.html#ESourceSelector--source-list" title='The "source-list" property'>source-list</a>" <a href="../libedataserver/ESourceList.html"><span class="type">ESourceList</span></a>* : Read / Write / Construct Only
149
<div class="refsect1" title="Signals">
100
<div class="refsect1" lang="en">
150
101
<a name="ESourceSelector.signals"></a><h2>Signals</h2>
151
102
<pre class="synopsis">
152
103
"<a class="link" href="ESourceSelector.html#ESourceSelector-data-dropped" title='The "data-dropped" signal'>data-dropped</a>" : Run Last
155
106
"<a class="link" href="ESourceSelector.html#ESourceSelector-selection-changed" title='The "selection-changed" signal'>selection-changed</a>" : Run Last
158
<div class="refsect1" title="Description">
109
<div class="refsect1" lang="en">
159
110
<a name="ESourceSelector.description"></a><h2>Description</h2>
163
<div class="refsect1" title="Details">
114
<div class="refsect1" lang="en">
164
115
<a name="ESourceSelector.details"></a><h2>Details</h2>
165
<div class="refsect2" title="ESourceSelector">
116
<div class="refsect2" lang="en">
166
117
<a name="ESourceSelector-struct"></a><h3>ESourceSelector</h3>
167
118
<pre class="programlisting">typedef struct _ESourceSelector ESourceSelector;</pre>
172
<div class="refsect2" title="e_source_selector_new ()">
123
<div class="refsect2" lang="en">
173
124
<a name="e-source-selector-new"></a><h3>e_source_selector_new ()</h3>
174
<pre class="programlisting"><a
175
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
176
>GtkWidget</a> * e_source_selector_new (<a
177
href="/usr/share/gtk-doc/html/libedataserver/ESourceList.html"
178
>ESourceList</a> *list);</pre>
125
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * e_source_selector_new (<em class="parameter"><code><a href="../libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> *list</code></em>);</pre>
180
127
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>
184
129
<div class="variablelist"><table border="0">
185
130
<col align="left" valign="top">
188
133
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
201
<div class="refsect2" title="e_source_selector_get_source_list ()">
146
<div class="refsect2" lang="en">
202
147
<a name="e-source-selector-get-source-list"></a><h3>e_source_selector_get_source_list ()</h3>
203
<pre class="programlisting"><a
204
href="/usr/share/gtk-doc/html/libedataserver/ESourceList.html"
205
>ESourceList</a> * e_source_selector_get_source_list (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);</pre>
208
href="/usr/share/gtk-doc/html/libedataserver/ESourceList.html"
209
><span class="type">ESourceList</span></a> that <em class="parameter"><code>selector</code></em> is rendering.</p>
148
<pre class="programlisting"><a href="../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>
150
Returns the <a href="../libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> that <em class="parameter"><code>selector</code></em> is rendering.</p>
212
151
<div class="variablelist"><table border="0">
213
152
<col align="left" valign="top">
216
155
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
217
<td> an <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a>
156
<td>an <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a>
221
160
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
223
href="/usr/share/gtk-doc/html/libedataserver/ESourceList.html"
224
><span class="type">ESourceList</span></a>
161
<td> an <a href="../libedataserver/ESourceList.html"><span class="type">ESourceList</span></a>
231
<div class="refsect2" title="e_source_selector_select_source ()">
168
<div class="refsect2" lang="en">
232
169
<a name="e-source-selector-select-source"></a><h3>e_source_selector_select_source ()</h3>
233
<pre class="programlisting">void e_source_selector_select_source (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
235
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
236
>ESource</a> *source);</pre>
170
<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>,
171
<em class="parameter"><code><a href="../libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
238
173
Select <em class="parameter"><code>source</code></em> in <em class="parameter"><code>selector</code></em>.</p>
241
174
<div class="variablelist"><table border="0">
242
175
<col align="left" valign="top">
245
178
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
246
<td> An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
179
<td>An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
250
183
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
252
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
253
><span class="type">ESource</span></a>.
184
<td>An <a href="../libedataserver/ESource.html"><span class="type">ESource</span></a>.
260
<div class="refsect2" title="e_source_selector_unselect_source ()">
191
<div class="refsect2" lang="en">
261
192
<a name="e-source-selector-unselect-source"></a><h3>e_source_selector_unselect_source ()</h3>
262
<pre class="programlisting">void e_source_selector_unselect_source (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
264
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
265
>ESource</a> *source);</pre>
193
<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>,
194
<em class="parameter"><code><a href="../libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
267
196
Unselect <em class="parameter"><code>source</code></em> in <em class="parameter"><code>selector</code></em>.</p>
270
197
<div class="variablelist"><table border="0">
271
198
<col align="left" valign="top">
274
201
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
275
<td> An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
202
<td>An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
279
206
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
281
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
282
><span class="type">ESource</span></a>.
207
<td>An <a href="../libedataserver/ESource.html"><span class="type">ESource</span></a>.
289
<div class="refsect2" title="e_source_selector_source_is_selected ()">
214
<div class="refsect2" lang="en">
290
215
<a name="e-source-selector-source-is-selected"></a><h3>e_source_selector_source_is_selected ()</h3>
291
<pre class="programlisting"><a
292
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
293
>gboolean</a> e_source_selector_source_is_selected
294
(<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
296
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
297
>ESource</a> *source);</pre>
216
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_source_selector_source_is_selected
217
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
218
<em class="parameter"><code><a href="../libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
299
220
Check whether <em class="parameter"><code>source</code></em> is selected in <em class="parameter"><code>selector</code></em>.</p>
302
221
<div class="variablelist"><table border="0">
303
222
<col align="left" valign="top">
306
225
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
307
<td> An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
226
<td>An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
311
230
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
313
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
314
><span class="type">ESource</span></a>.
231
<td>An <a href="../libedataserver/ESource.html"><span class="type">ESource</span></a>.
318
235
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
320
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
321
><code class="literal">TRUE</code></a> if <em class="parameter"><code>source</code></em> is currently selected, <a
322
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
323
><code class="literal">FALSE</code></a> otherwise.
236
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>source</code></em> is currently selected, <code class="literal">FALSE</code> otherwise.
330
<div class="refsect2" title="e_source_selector_get_selection ()">
243
<div class="refsect2" lang="en">
331
244
<a name="e-source-selector-get-selection"></a><h3>e_source_selector_get_selection ()</h3>
332
<pre class="programlisting"><a
333
href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"
334
>GSList</a> * e_source_selector_get_selection (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);</pre>
245
<pre class="programlisting"><span class="returnvalue">GSList</span> * e_source_selector_get_selection (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);</pre>
336
247
Get the list of selected sources, i.e. those that were enabled through the
337
248
corresponding checkboxes in the tree.</p>
340
249
<div class="variablelist"><table border="0">
341
250
<col align="left" valign="top">
344
253
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
345
<td> an <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a>
254
<td>an <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a>
404
<div class="refsect2" title="e_source_selector_selection_shown ()">
307
<div class="refsect2" lang="en">
405
308
<a name="e-source-selector-selection-shown"></a><h3>e_source_selector_selection_shown ()</h3>
406
<pre class="programlisting"><a
407
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
408
>gboolean</a> e_source_selector_selection_shown (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);</pre>
309
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_source_selector_selection_shown (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);</pre>
410
311
Check whether the checkboxes in the ESourceSelector are being shown or not.</p>
413
312
<div class="variablelist"><table border="0">
414
313
<col align="left" valign="top">
417
316
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
418
<td> an <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a>
317
<td>an <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a>
422
321
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
424
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
425
><code class="literal">TRUE</code></a> if the checkboxes are shown, <a
426
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
427
><code class="literal">FALSE</code></a> otherwise.
322
<td> <code class="literal">TRUE</code> if the checkboxes are shown, <code class="literal">FALSE</code> otherwise.
434
<div class="refsect2" title="e_source_selector_set_select_new ()">
329
<div class="refsect2" lang="en">
435
330
<a name="e-source-selector-set-select-new"></a><h3>e_source_selector_set_select_new ()</h3>
436
<pre class="programlisting">void e_source_selector_set_select_new (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
438
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
439
>gboolean</a> state);</pre>
331
<pre class="programlisting"><span class="returnvalue">void</span> e_source_selector_set_select_new (<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
332
<em class="parameter"><code><span class="type">gboolean</span> state</code></em>);</pre>
441
334
Set whether or not to select new sources added to <em class="parameter"><code>selector</code></em>.</p>
444
335
<div class="variablelist"><table border="0">
445
336
<col align="left" valign="top">
448
339
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
449
<td> An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
340
<td>An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
453
344
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
461
<div class="refsect2" title="e_source_selector_edit_primary_selection ()">
352
<div class="refsect2" lang="en">
462
353
<a name="e-source-selector-edit-primary-selection"></a><h3>e_source_selector_edit_primary_selection ()</h3>
463
<pre class="programlisting">void e_source_selector_edit_primary_selection
464
(<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);</pre>
354
<pre class="programlisting"><span class="returnvalue">void</span> e_source_selector_edit_primary_selection
355
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);</pre>
466
357
Allows the user to rename the primary selected source by opening an
467
358
entry box directly in <em class="parameter"><code>selector</code></em>.</p>
470
359
<div class="variablelist"><table border="0">
471
360
<col align="left" valign="top">
473
362
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
474
<td> An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
363
<td>An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
480
<div class="refsect2" title="e_source_selector_peek_primary_selection ()">
369
<div class="refsect2" lang="en">
481
370
<a name="e-source-selector-peek-primary-selection"></a><h3>e_source_selector_peek_primary_selection ()</h3>
482
<pre class="programlisting"><a
483
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
484
>ESource</a> * e_source_selector_peek_primary_selection
485
(<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);</pre>
371
<pre class="programlisting"><a href="../libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * e_source_selector_peek_primary_selection
372
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);</pre>
487
374
Get the primary selected source. The primary selection is the one that is
488
highlighted through the normal <a
489
href="/usr/share/gtk-doc/html/gtk/GtkTreeView.html"
490
><span class="type">GtkTreeView</span></a> selection mechanism (as opposed
375
highlighted through the normal <span class="type">GtkTreeView</span> selection mechanism (as opposed
491
376
to the "normal" selection, which is the set of source whose checkboxes are
495
378
<div class="variablelist"><table border="0">
496
379
<col align="left" valign="top">
499
382
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
500
<td> An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
383
<td>An <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
512
<div class="refsect2" title="e_source_selector_set_primary_selection ()">
395
<div class="refsect2" lang="en">
513
396
<a name="e-source-selector-set-primary-selection"></a><h3>e_source_selector_set_primary_selection ()</h3>
514
<pre class="programlisting">void e_source_selector_set_primary_selection
515
(<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector,
517
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
518
>ESource</a> *source);</pre>
397
<pre class="programlisting"><span class="returnvalue">void</span> e_source_selector_set_primary_selection
398
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>,
399
<em class="parameter"><code><a href="../libedataserver/ESource.html"><span class="type">ESource</span></a> *source</code></em>);</pre>
520
401
Set the primary selected source.</p>
523
402
<div class="variablelist"><table border="0">
524
403
<col align="left" valign="top">
527
406
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
528
<td> an <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
407
<td>an <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> widget
532
411
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
534
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
535
><span class="type">ESource</span></a> to select
412
<td>an <a href="../libedataserver/ESource.html"><span class="type">ESource</span></a> to select
542
<div class="refsect2" title="e_source_selector_get_primary_source_group ()">
419
<div class="refsect2" lang="en">
543
420
<a name="e-source-selector-get-primary-source-group"></a><h3>e_source_selector_get_primary_source_group ()</h3>
544
<pre class="programlisting"><a
545
href="/usr/share/gtk-doc/html/libedataserver/ESourceGroup.html"
546
>ESourceGroup</a> * e_source_selector_get_primary_source_group
547
(<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *selector);</pre>
421
<pre class="programlisting"><a href="../libedataserver/ESourceGroup.html"><span class="returnvalue">ESourceGroup</span></a> * e_source_selector_get_primary_source_group
422
(<em class="parameter"><code><a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a> *selector</code></em>);</pre>
549
424
Gets the primary source group associated with the selector.</p>
552
425
<div class="variablelist"><table border="0">
553
426
<col align="left" valign="top">
556
429
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
557
<td> an <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a>
430
<td>an <a class="link" href="ESourceSelector.html" title="ESourceSelector"><span class="type">ESourceSelector</span></a>
569
<div class="refsect1" title="Property Details">
442
<div class="refsect1" lang="en">
570
443
<a name="ESourceSelector.property-details"></a><h2>Property Details</h2>
571
<div class="refsect2" title='The "source-list" property'>
444
<div class="refsect2" lang="en">
572
445
<a name="ESourceSelector--source-list"></a><h3>The <code class="literal">"source-list"</code> property</h3>
573
<pre class="programlisting"> "source-list" <a
574
href="/usr/share/gtk-doc/html/libedataserver/ESourceList.html"
575
>ESourceList</a>* : Read / Write / Construct Only</pre>
446
<pre class="programlisting"> "source-list" <a href="../libedataserver/ESourceList.html"><span class="type">ESourceList</span></a>* : Read / Write / Construct Only</pre>
579
<div class="refsect1" title="Signal Details">
450
<div class="refsect1" lang="en">
580
451
<a name="ESourceSelector.signal-details"></a><h2>Signal Details</h2>
581
<div class="refsect2" title='The "data-dropped" signal'>
452
<div class="refsect2" lang="en">
582
453
<a name="ESourceSelector-data-dropped"></a><h3>The <code class="literal">"data-dropped"</code> signal</h3>
583
<pre class="programlisting"><a
584
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
585
>gboolean</a> user_function (<a class="link" href="ESourceSelector.html" title="ESourceSelector">ESourceSelector</a> *esourceselector,
587
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#GtkSelectionData"
588
>GtkSelectionData</a> *arg1,
590
href="/usr/share/gtk-doc/html/libedataserver/ESource.html"
593
href="/usr/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html#GdkDragAction"
594
>GdkDragAction</a> arg3,
596
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
599
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
600
>gpointer</a> user_data) : Run Last</pre>
454
<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,
455
<span class="type">GtkSelectionData</span> *arg1,
456
<a href="../libedataserver/ESource.html"><span class="type">ESource</span></a> *arg2,
457
<span class="type">GdkDragAction</span> arg3,
458
<span class="type">guint</span> arg4,
459
<span class="type">gpointer</span> user_data) : Run Last</pre>
603
462
<div class="variablelist"><table border="0">