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

<refnamediv>
<refname>GnomeDbServerOperation</refname><refpurpose>Allow to set the contents of a <link linkend="GdaServerOperation"><type>GdaServerOperation</type></link> object</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>

<synopsis>



struct      <link linkend="GnomeDbServerOperation-struct">GnomeDbServerOperation</link>;
struct      <link linkend="GnomeDbServerOperationClass">GnomeDbServerOperationClass</link>;
struct      <link linkend="GnomeDbServerOperationPriv">GnomeDbServerOperationPriv</link>;
<link linkend="GtkWidget">GtkWidget</link>*  <link linkend="gnome-db-server-operation-new">gnome_db_server_operation_new</link>   (<link linkend="GdaServerOperation">GdaServerOperation</link> *op);
<link linkend="GtkWidget">GtkWidget</link>*  <link linkend="gnome-db-server-operation-new-in-dialog">gnome_db_server_operation_new_in_dialog</link>
                                            (<link linkend="GdaServerOperation">GdaServerOperation</link> *op,
                                             <link linkend="GtkWindow">GtkWindow</link> *parent,
                                             const <link linkend="gchar">gchar</link> *title,
                                             const <link linkend="gchar">gchar</link> *header);

</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="GtkBox">GtkBox</link>
                                 +----<link linkend="GtkVBox">GtkVBox</link>
                                       +----GnomeDbServerOperation
</synopsis>

</refsect1>



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

</refsect1>


<refsect1>
<title>Properties</title>
<synopsis>

  &quot;<link linkend="GnomeDbServerOperation--opt-header">opt-header</link>&quot;           <link linkend="gboolean">gboolean</link>             : Read / Write / Construct
  &quot;<link linkend="GnomeDbServerOperation--server-operation">server-operation</link>&quot;     <link linkend="GdaServerOperation">GdaServerOperation</link>   : Read / Write / Construct Only
</synopsis>
</refsect1>



<refsect1>
<title>Description</title>
<para>
This widget is composed of multiple other data entry widgets corresponding to all
the parameters and values specified in the <link linkend="GdaServerOperation"><type>GdaServerOperation</type></link> given at construction time.
</para>
</refsect1>

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

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

	GtkVBoxClass                parent_class;
};
</programlisting>
<para>

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

</para></refsect2>
<refsect2>
<title><anchor id="gnome-db-server-operation-new"/>gnome_db_server_operation_new ()</title>
<indexterm><primary>gnome_db_server_operation_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*  gnome_db_server_operation_new   (<link linkend="GdaServerOperation">GdaServerOperation</link> *op);</programlisting>
<para>
Creates a new <link linkend="GnomeDbServerOperation"><type>GnomeDbServerOperation</type></link> widget using all the parameters provided in <parameter>paramlist</parameter>.
</para>
<para>
The global layout is rendered using a table (a <link linkend="GtkTable"><type>GtkTable</type></link>), and an entry is created for each
node of <parameter>paramlist</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>op</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the new widget
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-server-operation-new-in-dialog"/>gnome_db_server_operation_new_in_dialog ()</title>
<indexterm><primary>gnome_db_server_operation_new_in_dialog</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*  gnome_db_server_operation_new_in_dialog
                                            (<link linkend="GdaServerOperation">GdaServerOperation</link> *op,
                                             <link linkend="GtkWindow">GtkWindow</link> *parent,
                                             const <link linkend="gchar">gchar</link> *title,
                                             const <link linkend="gchar">gchar</link> *header);</programlisting>
<para>
Creates a new <link linkend="GnomeDbServerOperation"><type>GnomeDbServerOperation</type></link> widget in the same way as <link linkend="gnome-db-server-operation-new"><function>gnome_db_server_operation_new()</function></link>
and puts it into a <link linkend="GtkDialog"><type>GtkDialog</type></link> widget. The returned dialog has the "Ok" and "Cancel" buttons
which respectively return GTK_RESPONSE_ACCEPT and GTK_RESPONSE_REJECT.
</para>
<para>
The <link linkend="GnomeDbServerOperation"><type>GnomeDbServerOperation</type></link> widget is attached to the dialog using the user property
"form".</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>op</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GdaServerOperation"><type>GdaServerOperation</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>parent</parameter>&nbsp;:</term>
<listitem><simpara> the parent window for the new dialog, or <literal>NULL</literal>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>title</parameter>&nbsp;:</term>
<listitem><simpara> the title of the dialog window, or <literal>NULL</literal>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>header</parameter>&nbsp;:</term>
<listitem><simpara> a helper text displayed at the top of the dialog, or <literal>NULL</literal>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the new <link linkend="GtkDialog"><type>GtkDialog</type></link> widget
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1>
<title>Properties</title>
<variablelist>
<varlistentry><term><anchor id="GnomeDbServerOperation--opt-header"/>&quot;<literal>opt-header</literal>&quot; (<link linkend="gboolean">gboolean</link> : Read / Write / Construct)</term>
<listitem>
<para></para>
</listitem></varlistentry>
<varlistentry><term><anchor id="GnomeDbServerOperation--server-operation"/>&quot;<literal>server-operation</literal>&quot; (<link linkend="GdaServerOperation">GdaServerOperation</link> : Read / Write / Construct Only)</term>
<listitem>
<para></para>
</listitem></varlistentry>

</variablelist>
</refsect1>




</refentry>
