<?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="ESourceOptionMenu">
<refmeta>
<refentrytitle role="top_of_page">ESourceOptionMenu</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBEDATASERVERUI Library</refmiscinfo>
</refmeta>

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

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

<synopsis>



            <link linkend="ESourceOptionMenu-struct">ESourceOptionMenu</link>;
<link linkend="GtkWidget">GtkWidget</link>*  <link linkend="e-source-option-menu-new">e_source_option_menu_new</link>        (<link linkend="ESourceList">ESourceList</link> *list);
<link linkend="ESource">ESource</link>*    <link linkend="e-source-option-menu-peek-selected">e_source_option_menu_peek_selected</link>
                                            (<link linkend="ESourceOptionMenu">ESourceOptionMenu</link> *menu);
<link linkend="void">void</link>        <link linkend="e-source-option-menu-select">e_source_option_menu_select</link>     (<link linkend="ESourceOptionMenu">ESourceOptionMenu</link> *menu,
                                             <link linkend="ESource">ESource</link> *source);


</synopsis>
</refsynopsisdiv>

<refsect1 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="GtkButton">GtkButton</link>
                                       +----<link linkend="GtkOptionMenu">GtkOptionMenu</link>
                                             +----ESourceOptionMenu
</synopsis>

</refsect1>



<refsect1 role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
ESourceOptionMenu implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>

</refsect1>



<refsect1 role="signal_proto">
<title role="signal_proto.title">Signals</title>
<synopsis>

&quot;<link linkend="ESourceOptionMenu-source-selected">source-selected</link>&quot;
            <link linkend="void">void</link>        user_function      (<link linkend="ESourceOptionMenu">ESourceOptionMenu</link> *esourceoptionmenu,
                                            <link linkend="gpointer">gpointer</link>           arg1,
                                            <link linkend="gpointer">gpointer</link>           user_data)              : Run last
</synopsis>
</refsect1>


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

</para>
</refsect1>

<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="ESourceOptionMenu-struct" role="struct"/>ESourceOptionMenu</title>
<indexterm><primary>ESourceOptionMenu</primary></indexterm><programlisting>typedef struct _ESourceOptionMenu ESourceOptionMenu;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="e-source-option-menu-new" role="function"/>e_source_option_menu_new ()</title>
<indexterm><primary>e_source_option_menu_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*  e_source_option_menu_new        (<link linkend="ESourceList">ESourceList</link> *list);</programlisting>
<para>
Creates a new <link linkend="ESourceOptionMenu"><type>ESourceOptionMenu</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>list</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A new <link linkend="ESourceOptionMenu"><type>ESourceOptionMenu</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="e-source-option-menu-peek-selected" role="function"/>e_source_option_menu_peek_selected ()</title>
<indexterm><primary>e_source_option_menu_peek_selected</primary></indexterm><programlisting><link linkend="ESource">ESource</link>*    e_source_option_menu_peek_selected
                                            (<link linkend="ESourceOptionMenu">ESourceOptionMenu</link> *menu);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>menu</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESourceOptionMenu"><type>ESourceOptionMenu</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The selected <link linkend="ESource"><type>ESource</type></link>, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if none was selected.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="e-source-option-menu-select" role="function"/>e_source_option_menu_select ()</title>
<indexterm><primary>e_source_option_menu_select</primary></indexterm><programlisting><link linkend="void">void</link>        e_source_option_menu_select     (<link linkend="ESourceOptionMenu">ESourceOptionMenu</link> *menu,
                                             <link linkend="ESource">ESource</link> *source);</programlisting>
<para>
Programmatically selects a source in <parameter>menu</parameter>. <parameter>source</parameter> must be present
in <parameter>menu</parameter>'s <link linkend="ESourceList"><type>ESourceList</type></link>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>menu</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESourceOptionMenu"><type>ESourceOptionMenu</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>source</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESource"><type>ESource</type></link> to select
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

<refsect1 role="signals">
<title role="signals.title">Signal Details</title>
<refsect2><title><anchor id="ESourceOptionMenu-source-selected"/>The &quot;source-selected&quot; signal</title>
<indexterm><primary>ESourceOptionMenu::source-selected</primary></indexterm><programlisting><link linkend="void">void</link>        user_function                  (<link linkend="ESourceOptionMenu">ESourceOptionMenu</link> *esourceoptionmenu,
                                            <link linkend="gpointer">gpointer</link>           arg1,
                                            <link linkend="gpointer">gpointer</link>           user_data)              : Run last</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>esourceoptionmenu</parameter>&nbsp;:</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg1</parameter>&nbsp;:</term>
<listitem><simpara>

</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>



</refentry>
