<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="ESourceComboBox">
<refmeta>
<refentrytitle role="top_of_page" id="ESourceComboBox.top_of_page">ESourceComboBox</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBEDATASERVERUI Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>ESourceComboBox</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="ESourceComboBox.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="ESourceComboBox-struct">ESourceComboBox</link>;
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="e-source-combo-box-new">e_source_combo_box_new</link>              (<link linkend="ESourceList">ESourceList</link> *source_list);
<link linkend="ESourceList">ESourceList</link>*        <link linkend="e-source-combo-box-get-source-list">e_source_combo_box_get_source_list</link>  (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box);
<link linkend="void">void</link>                <link linkend="e-source-combo-box-set-source-list">e_source_combo_box_set_source_list</link>  (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box,
                                                         <link linkend="ESourceList">ESourceList</link> *source_list);
<link linkend="ESource">ESource</link>*            <link linkend="e-source-combo-box-get-active">e_source_combo_box_get_active</link>       (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box);
<link linkend="void">void</link>                <link linkend="e-source-combo-box-set-active">e_source_combo_box_set_active</link>       (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box,
                                                         <link linkend="ESource">ESource</link> *source);
const <link linkend="gchar">gchar</link>*        <link linkend="e-source-combo-box-get-active-uid">e_source_combo_box_get_active_uid</link>   (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box);
<link linkend="void">void</link>                <link linkend="e-source-combo-box-set-active-uid">e_source_combo_box_set_active_uid</link>   (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box,
                                                         const <link linkend="gchar">gchar</link> *uid);
</synopsis>
</refsynopsisdiv>

<refsect1 id="ESourceComboBox.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
         +----<link linkend="GtkObject">GtkObject</link>
               +----<link linkend="GtkWidget">GtkWidget</link>
                     +----<link linkend="GtkContainer">GtkContainer</link>
                           +----<link linkend="GtkBin">GtkBin</link>
                                 +----<link linkend="GtkComboBox">GtkComboBox</link>
                                       +----ESourceComboBox
</synopsis>

</refsect1>



<refsect1 id="ESourceComboBox.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
ESourceComboBox implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link>,  <link linkend="GtkCellEditable">GtkCellEditable</link> and  <link linkend="GtkCellLayout">GtkCellLayout</link>.</para>

</refsect1>


<refsect1 id="ESourceComboBox.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
  &quot;<link linkend="ESourceComboBox--source-list">source-list</link>&quot;              <link linkend="ESourceList">ESourceList</link>*          : Read / Write
</synopsis>
</refsect1>



<refsect1 id="ESourceComboBox.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="ESourceComboBox.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="ESourceComboBox-struct" role="struct">
<title>ESourceComboBox</title>
<indexterm zone="ESourceComboBox-struct"><primary>ESourceComboBox</primary></indexterm><programlisting>typedef struct _ESourceComboBox ESourceComboBox;</programlisting>
<para>

</para></refsect2>
<refsect2 id="e-source-combo-box-new" role="function">
<title>e_source_combo_box_new ()</title>
<indexterm zone="e-source-combo-box-new"><primary>e_source_combo_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          e_source_combo_box_new              (<link linkend="ESourceList">ESourceList</link> *source_list);</programlisting>
<para>
Creates a new <link linkend="ESourceComboBox"><type>ESourceComboBox</type></link> widget that lets the user pick an <link linkend="ESource"><type>ESource</type></link>
from the provided <link linkend="ESourceList"><type>ESourceList</type></link>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source_list</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESourceList"><type>ESourceList</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="ESourceComboBox"><type>ESourceComboBox</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-combo-box-get-source-list" role="function">
<title>e_source_combo_box_get_source_list ()</title>
<indexterm zone="e-source-combo-box-get-source-list"><primary>e_source_combo_box_get_source_list</primary></indexterm><programlisting><link linkend="ESourceList">ESourceList</link>*        e_source_combo_box_get_source_list  (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box);</programlisting>
<para>
Returns the <link linkend="ESourceList"><type>ESourceList</type></link> which is acting as a data source for
<parameter>source_combo_box</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source_combo_box</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESourceComboBox"><type>ESourceComboBox</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> an <link linkend="ESourceList"><type>ESourceList</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-combo-box-set-source-list" role="function">
<title>e_source_combo_box_set_source_list ()</title>
<indexterm zone="e-source-combo-box-set-source-list"><primary>e_source_combo_box_set_source_list</primary></indexterm><programlisting><link linkend="void">void</link>                e_source_combo_box_set_source_list  (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box,
                                                         <link linkend="ESourceList">ESourceList</link> *source_list);</programlisting>
<para>
Sets the source list used by <parameter>source_combo_box</parameter> to be <parameter>source_list</parameter>.  This
causes the contents of <parameter>source_combo_box</parameter> to be regenerated.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source_combo_box</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESourceComboBox"><type>ESourceComboBox</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>source_list</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESourceList"><type>ESourceList</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-combo-box-get-active" role="function">
<title>e_source_combo_box_get_active ()</title>
<indexterm zone="e-source-combo-box-get-active"><primary>e_source_combo_box_get_active</primary></indexterm><programlisting><link linkend="ESource">ESource</link>*            e_source_combo_box_get_active       (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box);</programlisting>
<para>
Returns the <link linkend="ESource"><type>ESource</type></link> corresponding to the currently active item, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
if there is no active item.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source_combo_box</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESourceComboBox"><type>ESourceComboBox</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> an <link linkend="ESource"><type>ESource</type></link> or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-combo-box-set-active" role="function">
<title>e_source_combo_box_set_active ()</title>
<indexterm zone="e-source-combo-box-set-active"><primary>e_source_combo_box_set_active</primary></indexterm><programlisting><link linkend="void">void</link>                e_source_combo_box_set_active       (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box,
                                                         <link linkend="ESource">ESource</link> *source);</programlisting>
<para>
Sets the active item to the one corresponding to <parameter>source</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source_combo_box</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESourceComboBox"><type>ESourceComboBox</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>source</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESource"><type>ESource</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-combo-box-get-active-uid" role="function">
<title>e_source_combo_box_get_active_uid ()</title>
<indexterm zone="e-source-combo-box-get-active-uid"><primary>e_source_combo_box_get_active_uid</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>*        e_source_combo_box_get_active_uid   (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box);</programlisting>
<para>
Returns the unique ID of the <link linkend="ESource"><type>ESource</type></link> corresponding to the currently
active item, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if there is no active item.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source_combo_box</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESourceComboBox"><type>ESourceComboBox</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a unique ID string or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-combo-box-set-active-uid" role="function">
<title>e_source_combo_box_set_active_uid ()</title>
<indexterm zone="e-source-combo-box-set-active-uid"><primary>e_source_combo_box_set_active_uid</primary></indexterm><programlisting><link linkend="void">void</link>                e_source_combo_box_set_active_uid   (<link linkend="ESourceComboBox">ESourceComboBox</link> *source_combo_box,
                                                         const <link linkend="gchar">gchar</link> *uid);</programlisting>
<para>
Sets the active item to the one corresponding to <parameter>uid</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source_combo_box</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESourceComboBox"><type>ESourceComboBox</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uid</parameter>&nbsp;:</term>
<listitem><simpara> a unique ID of an <link linkend="ESource"><type>ESource</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 id="ESourceComboBox.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="ESourceComboBox--source-list"><title>The <literal>&quot;source-list&quot;</literal> property</title>
<indexterm zone="ESourceComboBox--source-list"><primary>ESourceComboBox:source-list</primary></indexterm><programlisting>  &quot;source-list&quot;              <link linkend="ESourceList">ESourceList</link>*          : Read / Write</programlisting>
<para>List of sources to choose from.</para></refsect2>

</refsect1>




</refentry>
