4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>ESourceComboBox</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
<link rel="home" href="index.html" title="Evolution-Data-Server Manual: Graphical Utilities (libedataserverui)">
8
8
<link rel="up" href="ch01.html" title="Evolution-Data-Server Manual: Graphical Utilities (libedataserverui)">
9
9
<link rel="prev" href="libedataserverui-e-passwords.html" title="e-passwords">
10
10
<link rel="next" href="ESourceSelector.html" title="ESourceSelector">
11
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
44
44
<div class="refsynopsisdiv">
45
45
<a name="ESourceComboBox.synopsis"></a><h2>Synopsis</h2>
46
46
<pre class="synopsis">struct <a class="link" href="ESourceComboBox.html#ESourceComboBox-struct" title="struct ESourceComboBox">ESourceComboBox</a>;
47
<span class="returnvalue">GtkWidget</span> * <a class="link" href="ESourceComboBox.html#e-source-combo-box-new" title="e_source_combo_box_new ()">e_source_combo_box_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> *source_list</code></em>);
48
<a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="returnvalue">ESourceList</span></a> * <a class="link" href="ESourceComboBox.html#e-source-combo-box-get-source-list" title="e_source_combo_box_get_source_list ()">e_source_combo_box_get_source_list</a> (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);
47
<span class="returnvalue">GtkWidget</span> * <a class="link" href="ESourceComboBox.html#e-source-combo-box-new" title="e_source_combo_box_new ()">e_source_combo_box_new</a> (<em class="parameter"><code><span class="type">ESourceList</span> *source_list</code></em>);
48
<span class="returnvalue">ESourceList</span> * <a class="link" href="ESourceComboBox.html#e-source-combo-box-get-source-list" title="e_source_combo_box_get_source_list ()">e_source_combo_box_get_source_list</a> (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);
49
49
<span class="returnvalue">void</span> <a class="link" href="ESourceComboBox.html#e-source-combo-box-set-source-list" title="e_source_combo_box_set_source_list ()">e_source_combo_box_set_source_list</a> (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>,
50
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> *source_list</code></em>);
51
<a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * <a class="link" href="ESourceComboBox.html#e-source-combo-box-get-active" title="e_source_combo_box_get_active ()">e_source_combo_box_get_active</a> (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);
50
<em class="parameter"><code><span class="type">ESourceList</span> *source_list</code></em>);
51
<span class="returnvalue">ESource</span> * <a class="link" href="ESourceComboBox.html#e-source-combo-box-get-active" title="e_source_combo_box_get_active ()">e_source_combo_box_get_active</a> (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);
52
52
<span class="returnvalue">void</span> <a class="link" href="ESourceComboBox.html#e-source-combo-box-set-active" title="e_source_combo_box_set_active ()">e_source_combo_box_set_active</a> (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>,
53
<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>);
54
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="ESourceComboBox.html#e-source-combo-box-get-active-uid" title="e_source_combo_box_get_active_uid ()">e_source_combo_box_get_active_uid</a> (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);
55
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="ESourceComboBox.html#e-source-combo-box-set-active-uid" title="e_source_combo_box_set_active_uid ()">e_source_combo_box_set_active_uid</a> (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>,
56
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>);
53
<em class="parameter"><code><span class="type">ESource</span> *source</code></em>);
54
const <span class="returnvalue">gchar</span> * <a class="link" href="ESourceComboBox.html#e-source-combo-box-get-active-uid" title="e_source_combo_box_get_active_uid ()">e_source_combo_box_get_active_uid</a> (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);
55
<span class="returnvalue">gboolean</span> <a class="link" href="ESourceComboBox.html#e-source-combo-box-set-active-uid" title="e_source_combo_box_set_active_uid ()">e_source_combo_box_set_active_uid</a> (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>,
56
<em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);
59
59
<div class="refsect1">
60
60
<a name="ESourceComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
61
61
<pre class="synopsis">
62
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
63
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
63
+----GInitiallyUnowned
96
96
<div class="refsect2">
97
97
<a name="e-source-combo-box-new"></a><h3>e_source_combo_box_new ()</h3>
98
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * e_source_combo_box_new (<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> *source_list</code></em>);</pre>
98
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * e_source_combo_box_new (<em class="parameter"><code><span class="type">ESourceList</span> *source_list</code></em>);</pre>
100
Creates a new <a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> widget that lets the user pick an <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a>
101
from the provided <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a>.
100
Creates a new <a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> widget that lets the user pick an <span class="type">ESource</span>
101
from the provided <span class="type">ESourceList</span>.
103
103
<div class="variablelist"><table border="0">
104
104
<col align="left" valign="top">
107
107
<td><p><span class="term"><em class="parameter"><code>source_list</code></em> :</span></p></td>
108
<td>an <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a>
108
<td>an <span class="type">ESourceList</span>
121
121
<div class="refsect2">
122
122
<a name="e-source-combo-box-get-source-list"></a><h3>e_source_combo_box_get_source_list ()</h3>
123
<pre class="programlisting"><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="returnvalue">ESourceList</span></a> * e_source_combo_box_get_source_list (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);</pre>
123
<pre class="programlisting"><span class="returnvalue">ESourceList</span> * e_source_combo_box_get_source_list (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);</pre>
125
Returns the <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> which is acting as a data source for
125
Returns the <span class="type">ESourceList</span> which is acting as a data source for
126
126
<em class="parameter"><code>combo_box</code></em>.
128
128
<div class="variablelist"><table border="0">
146
146
<div class="refsect2">
147
147
<a name="e-source-combo-box-set-source-list"></a><h3>e_source_combo_box_set_source_list ()</h3>
148
148
<pre class="programlisting"><span class="returnvalue">void</span> e_source_combo_box_set_source_list (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>,
149
<em class="parameter"><code><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESourceList.html"><span class="type">ESourceList</span></a> *source_list</code></em>);</pre>
149
<em class="parameter"><code><span class="type">ESourceList</span> *source_list</code></em>);</pre>
151
151
Sets the source list used by <em class="parameter"><code>source_combo_box</code></em> to be <em class="parameter"><code>source_list</code></em>. This
152
152
causes the contents of <em class="parameter"><code>source_combo_box</code></em> to be regenerated.
172
172
<div class="refsect2">
173
173
<a name="e-source-combo-box-get-active"></a><h3>e_source_combo_box_get_active ()</h3>
174
<pre class="programlisting"><a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="returnvalue">ESource</span></a> * e_source_combo_box_get_active (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);</pre>
174
<pre class="programlisting"><span class="returnvalue">ESource</span> * e_source_combo_box_get_active (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);</pre>
176
Returns the <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> corresponding to the currently active item, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
176
Returns the <span class="type">ESource</span> corresponding to the currently active item, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
177
177
if there is no active item.
179
179
<div class="variablelist"><table border="0">
197
197
<div class="refsect2">
198
198
<a name="e-source-combo-box-set-active"></a><h3>e_source_combo_box_set_active ()</h3>
199
199
<pre class="programlisting"><span class="returnvalue">void</span> e_source_combo_box_set_active (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>,
200
<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>
200
<em class="parameter"><code><span class="type">ESource</span> *source</code></em>);</pre>
202
202
Sets the active item to the one corresponding to <em class="parameter"><code>source</code></em>.
222
222
<div class="refsect2">
223
223
<a name="e-source-combo-box-get-active-uid"></a><h3>e_source_combo_box_get_active_uid ()</h3>
224
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * e_source_combo_box_get_active_uid (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);</pre>
224
<pre class="programlisting">const <span class="returnvalue">gchar</span> * e_source_combo_box_get_active_uid (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>);</pre>
226
Returns the unique ID of the <a href="/home/mbarnes/local/unstable/share/gtk-doc/html/libedataserver/ESource.html"><span class="type">ESource</span></a> corresponding to the currently
227
active item, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no active item.
226
Returns the unique ID of the <span class="type">ESource</span> corresponding to the currently
227
active item, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if there is no active item.
229
229
<div class="variablelist"><table border="0">
230
230
<col align="left" valign="top">
247
247
<div class="refsect2">
248
248
<a name="e-source-combo-box-set-active-uid"></a><h3>e_source_combo_box_set_active_uid ()</h3>
249
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> e_source_combo_box_set_active_uid (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>,
250
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>);</pre>
249
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_source_combo_box_set_active_uid (<em class="parameter"><code><a class="link" href="ESourceComboBox.html" title="ESourceComboBox"><span class="type">ESourceComboBox</span></a> *combo_box</code></em>,
250
<em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);</pre>
252
252
Sets the active item to the one corresponding to <em class="parameter"><code>uid</code></em>.
278
278
<a name="ESourceComboBox.property-details"></a><h2>Property Details</h2>
279
279
<div class="refsect2">
280
280
<a name="ESourceComboBox--source-list"></a><h3>The <code class="literal">"source-list"</code> property</h3>
281
<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</pre>
281
<pre class="programlisting"> "source-list" <span class="type">ESourceList</span>* : Read / Write</pre>
282
282
<p>List of sources to choose from.</p>
286
286
<div class="footer">
288
Generated by GTK-Doc V1.17</div>
288
Generated by GTK-Doc V1.18</div>
b'\\ No newline at end of file'