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

<refnamediv>
<refname>ESourceOptionMenu</refname>
<refpurpose></refpurpose>
</refnamediv>

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



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



<refsect1 id="ESourceOptionMenu.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<synopsis>
  &quot;<link linkend="ESourceOptionMenu-source-selected">source-selected</link>&quot;                                : Run Last
</synopsis>
</refsect1>


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

<refsect1 id="ESourceOptionMenu.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="ESourceOptionMenu-struct" role="struct">
<title>ESourceOptionMenu</title>
<indexterm zone="ESourceOptionMenu-struct" role="deprecated"><primary sortas="ESourceOptionMenu">ESourceOptionMenu</primary></indexterm><programlisting>typedef struct _ESourceOptionMenu ESourceOptionMenu;</programlisting>
<warning><para><literal>ESourceOptionMenu</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
</para></refsect2>
<refsect2 id="e-source-option-menu-new" role="function" condition="deprecated:">
<title>e_source_option_menu_new ()</title>
<indexterm zone="e-source-option-menu-new" role="deprecated"><primary sortas="e_source_option_menu_new">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>
<warning><para><literal>e_source_option_menu_new</literal> is deprecated and should not be used in newly-written code.</para></warning>
<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>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> A new <link linkend="ESourceOptionMenu"><type>ESourceOptionMenu</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-option-menu-peek-selected" role="function" condition="deprecated:">
<title>e_source_option_menu_peek_selected ()</title>
<indexterm zone="e-source-option-menu-peek-selected" role="deprecated"><primary sortas="e_source_option_menu_peek_selected">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>
<warning><para><literal>e_source_option_menu_peek_selected</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>menu</parameter>&#160;:</term>
<listitem><simpara> an <link linkend="ESourceOptionMenu"><type>ESourceOptionMenu</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</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 id="e-source-option-menu-select" role="function" condition="deprecated:">
<title>e_source_option_menu_select ()</title>
<indexterm zone="e-source-option-menu-select" role="deprecated"><primary sortas="e_source_option_menu_select">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>
<warning><para><literal>e_source_option_menu_select</literal> is deprecated and should not be used in newly-written code.</para></warning>
<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>&#160;:</term>
<listitem><simpara> an <link linkend="ESourceOptionMenu"><type>ESourceOptionMenu</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>source</parameter>&#160;:</term>
<listitem><simpara> an <link linkend="ESource"><type>ESource</type></link> to select
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

<refsect1 id="ESourceOptionMenu.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="ESourceOptionMenu-source-selected"><title>The <literal>&quot;source-selected&quot;</literal> signal</title>
<indexterm zone="ESourceOptionMenu-source-selected"><primary sortas="ESourceOptionMenu::source-selected">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>&#160;:</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg1</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>



</refentry>
