GnomeDbServerOperation

GnomeDbServerOperation — Allow to set the contents of a GdaServerOperation object

Synopsis

                    GnomeDbServerOperation;
                    GnomeDbServerOperationClass;
                    GnomeDbServerOperationPriv;
GtkWidget *         gnome_db_server_operation_new       (GdaServerOperation *op);
GtkWidget *         gnome_db_server_operation_new_in_dialog
                                                        (GdaServerOperation *op,
                                                         GtkWindow *parent,
                                                         const gchar *title,
                                                         const gchar *header);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkVBox
                                       +----GnomeDbServerOperation

Implemented Interfaces

GnomeDbServerOperation implements GtkBuildable, GtkOrientable and AtkImplementorIface.

Properties

  "opt-header"               gboolean              : Read / Write / Construct
  "server-operation"         GdaServerOperation*   : Read / Write / Construct Only

Description

This widget is composed of multiple other data entry widgets corresponding to all the parameters and values specified in the GdaServerOperation given at construction time.

Details

GnomeDbServerOperation

typedef struct _GnomeDbServerOperation GnomeDbServerOperation;


GnomeDbServerOperationClass

typedef struct {
	GtkVBoxClass                parent_class;
} GnomeDbServerOperationClass;


GnomeDbServerOperationPriv

typedef struct _GnomeDbServerOperationPriv GnomeDbServerOperationPriv;


gnome_db_server_operation_new ()

GtkWidget *         gnome_db_server_operation_new       (GdaServerOperation *op);

Creates a new GnomeDbServerOperation widget using all the parameters provided in paramlist.

The global layout is rendered using a table (a GtkTable), and an entry is created for each node of paramlist.

op :

Returns :

the new widget

gnome_db_server_operation_new_in_dialog ()

GtkWidget *         gnome_db_server_operation_new_in_dialog
                                                        (GdaServerOperation *op,
                                                         GtkWindow *parent,
                                                         const gchar *title,
                                                         const gchar *header);

Creates a new GnomeDbServerOperation widget in the same way as gnome_db_server_operation_new() and puts it into a GtkDialog widget. The returned dialog has the "Ok" and "Cancel" buttons which respectively return GTK_RESPONSE_ACCEPT and GTK_RESPONSE_REJECT.

The GnomeDbServerOperation widget is attached to the dialog using the user property "form".

op :

a GdaServerOperation object

parent :

the parent window for the new dialog, or NULL

title :

the title of the dialog window, or NULL

header :

a helper text displayed at the top of the dialog, or NULL

Returns :

the new GtkDialog widget

Property Details

The "opt-header" property

  "opt-header"               gboolean              : Read / Write / Construct

Default value: FALSE


The "server-operation" property

  "server-operation"         GdaServerOperation*   : Read / Write / Construct Only