<refentry id="GnomeDbDsnAssistant">
<refmeta>
<refentrytitle>GnomeDbDsnAssistant</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGNOMEDB-4.0 Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GnomeDbDsnAssistant</refname><refpurpose>an assistant to create a new datasource</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>

<synopsis>



struct      <link linkend="GnomeDbDsnAssistant-struct">GnomeDbDsnAssistant</link>;
struct      <link linkend="GnomeDbDsnAssistantClass">GnomeDbDsnAssistantClass</link>;
struct      <link linkend="GnomeDbDsnAssistantPrivate">GnomeDbDsnAssistantPrivate</link>;
<link linkend="GtkWidget">GtkWidget</link>*  <link linkend="gnome-db-dsn-assistant-new">gnome_db_dsn_assistant_new</link>      (void);
const <link linkend="GdaDsnInfo">GdaDsnInfo</link>* <link linkend="gnome-db-dsn-assistant-get-dsn">gnome_db_dsn_assistant_get_dsn</link>
                                            (<link linkend="GnomeDbDsnAssistant">GnomeDbDsnAssistant</link> *assistant);

</synopsis>
</refsynopsisdiv>

<refsect1>
<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="GtkWindow">GtkWindow</link>
                                       +----<link linkend="GtkAssistant">GtkAssistant</link>
                                             +----GnomeDbDsnAssistant
</synopsis>

</refsect1>



<refsect1>
<title>Implemented Interfaces</title>
<para>
GnomeDbDsnAssistant implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link> and  <link linkend="GtkBuildable">GtkBuildable</link>.</para>

</refsect1>



<refsect1>
<title>Signal Prototypes</title>
<synopsis>

&quot;<link linkend="GnomeDbDsnAssistant-finished">finished</link>&quot;  <link linkend="void">void</link>        user_function      (<link linkend="GnomeDbDsnAssistant">GnomeDbDsnAssistant</link> *dbdsnassistant,
                                            <link linkend="gboolean">gboolean</link> arg1,
                                            <link linkend="gpointer">gpointer</link> user_data);
</synopsis>
</refsect1>


<refsect1>
<title>Description</title>
<para>
The <link linkend="GnomeDbDsnAssistant"><type>GnomeDbDsnAssistant</type></link> widget provides an easy way for
users to declare new data sources. If the selected provider
for the data source supports it, then a new database can be created
if the user needs it.
</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="GnomeDbDsnAssistant-struct"/>struct GnomeDbDsnAssistant</title>
<indexterm><primary>GnomeDbDsnAssistant</primary></indexterm><programlisting>struct GnomeDbDsnAssistant;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="GnomeDbDsnAssistantClass"/>struct GnomeDbDsnAssistantClass</title>
<indexterm><primary>GnomeDbDsnAssistantClass</primary></indexterm><programlisting>struct GnomeDbDsnAssistantClass {

	GtkAssistantClass           parent_class;

	void                     (* finished) (GnomeDbDsnAssistant *assistant, gboolean error);
};
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="GnomeDbDsnAssistantPrivate"/>struct GnomeDbDsnAssistantPrivate</title>
<indexterm><primary>GnomeDbDsnAssistantPrivate</primary></indexterm><programlisting>struct GnomeDbDsnAssistantPrivate;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-db-dsn-assistant-new"/>gnome_db_dsn_assistant_new ()</title>
<indexterm><primary>gnome_db_dsn_assistant_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*  gnome_db_dsn_assistant_new      (void);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-dsn-assistant-get-dsn"/>gnome_db_dsn_assistant_get_dsn ()</title>
<indexterm><primary>gnome_db_dsn_assistant_get_dsn</primary></indexterm><programlisting>const <link linkend="GdaDsnInfo">GdaDsnInfo</link>* gnome_db_dsn_assistant_get_dsn
                                            (<link linkend="GnomeDbDsnAssistant">GnomeDbDsnAssistant</link> *assistant);</programlisting>
<para>
</para>
<para>

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

</refsect1>

<refsect1>
<title>Signals</title>
<refsect2><title><anchor id="GnomeDbDsnAssistant-finished"/>The &quot;finished&quot; signal</title>
<programlisting><link linkend="void">void</link>        user_function                  (<link linkend="GnomeDbDsnAssistant">GnomeDbDsnAssistant</link> *dbdsnassistant,
                                            <link linkend="gboolean">gboolean</link> arg1,
                                            <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>dbdsnassistant</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>


<refsect1>
<title>See Also</title>
<para>
The <link linkend="GnomeDbDsnEditor"><type>GnomeDbDsnEditor</type></link> to edit a complete DSN definition.
</para>
</refsect1>

</refentry>
