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

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

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

<synopsis>



            <link linkend="EComponentListener-struct">EComponentListener</link>;
<link linkend="EComponentListener">EComponentListener</link>* <link linkend="e-component-listener-new">e_component_listener_new</link>
                                            (<link linkend="Bonobo-Unknown">Bonobo_Unknown</link> comp);
<link linkend="Bonobo-Unknown">Bonobo_Unknown</link> <link linkend="e-component-listener-get-component">e_component_listener_get_component</link>
                                            (<link linkend="EComponentListener">EComponentListener</link> *cl);
<link linkend="void">void</link>        <link linkend="e-component-listener-set-component">e_component_listener_set_component</link>
                                            (<link linkend="EComponentListener">EComponentListener</link> *cl,
                                             <link linkend="Bonobo-Unknown">Bonobo_Unknown</link> comp);


</synopsis>
</refsynopsisdiv>

<refsect1 role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>

  <link linkend="GObject">GObject</link>
   +----EComponentListener
</synopsis>

</refsect1>






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

&quot;<link linkend="EComponentListener-component-died">component-died</link>&quot;
            <link linkend="void">void</link>        user_function      (<link linkend="EComponentListener">EComponentListener</link> *ecomponentlistener,
                                            <link linkend="gpointer">gpointer</link>            user_data)               : Run first
</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="EComponentListener-struct" role="struct"/>EComponentListener</title>
<indexterm><primary>EComponentListener</primary></indexterm><programlisting>typedef struct _EComponentListener EComponentListener;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="e-component-listener-new" role="function"/>e_component_listener_new ()</title>
<indexterm><primary>e_component_listener_new</primary></indexterm><programlisting><link linkend="EComponentListener">EComponentListener</link>* e_component_listener_new
                                            (<link linkend="Bonobo-Unknown">Bonobo_Unknown</link> comp);</programlisting>
<para>
Create a new <link linkend="EComponentListener"><type>EComponentListener</type></link> object, which allows to listen
for a given component and get notified when that component dies.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>comp</parameter>&nbsp;:</term>
<listitem><simpara> Component to listen for.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a component listener object.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="e-component-listener-get-component" role="function"/>e_component_listener_get_component ()</title>
<indexterm><primary>e_component_listener_get_component</primary></indexterm><programlisting><link linkend="Bonobo-Unknown">Bonobo_Unknown</link> e_component_listener_get_component
                                            (<link linkend="EComponentListener">EComponentListener</link> *cl);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>cl</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="e-component-listener-set-component" role="function"/>e_component_listener_set_component ()</title>
<indexterm><primary>e_component_listener_set_component</primary></indexterm><programlisting><link linkend="void">void</link>        e_component_listener_set_component
                                            (<link linkend="EComponentListener">EComponentListener</link> *cl,
                                             <link linkend="Bonobo-Unknown">Bonobo_Unknown</link> comp);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>cl</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>comp</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

<refsect1 role="signals">
<title role="signals.title">Signal Details</title>
<refsect2><title><anchor id="EComponentListener-component-died"/>The &quot;component-died&quot; signal</title>
<indexterm><primary>EComponentListener::component-died</primary></indexterm><programlisting><link linkend="void">void</link>        user_function                  (<link linkend="EComponentListener">EComponentListener</link> *ecomponentlistener,
                                            <link linkend="gpointer">gpointer</link>            user_data)               : Run first</programlisting>
<para>

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

</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>
