| Libgnomedb 4.0 Reference Manual | ||||
|---|---|---|---|---|
GnomeDbProviderAuthEditorGnomeDbProviderAuthEditor — Widget to display and edit authentication information associated to a database provider |
Synopsis
GnomeDbProviderAuthEditor; GnomeDbProviderAuthEditorClass; GnomeDbProviderAuthEditorPrivate; GtkWidget* gnome_db_provider_auth_editor_new (const gchar *provider); void gnome_db_provider_auth_editor_set_provider (GnomeDbProviderAuthEditor *auth, const gchar *provider); gboolean gnome_db_provider_auth_editor_is_valid (GnomeDbProviderAuthEditor *auth); gchar* gnome_db_provider_auth_editor_get_auth (GnomeDbProviderAuthEditor *auth); void gnome_db_provider_auth_editor_set_auth (GnomeDbProviderAuthEditor *auth, const gchar *auth_string);
Object Hierarchy
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GnomeDbProviderAuthEditor
Details
GnomeDbProviderAuthEditorClass
typedef struct {
GtkVBoxClass parent_class;
/* signals */
void (* changed) (GnomeDbProviderAuthEditor *auth);
} GnomeDbProviderAuthEditorClass;
GnomeDbProviderAuthEditorPrivate
typedef struct _GnomeDbProviderAuthEditorPrivate GnomeDbProviderAuthEditorPrivate;
gnome_db_provider_auth_editor_new ()
GtkWidget* gnome_db_provider_auth_editor_new (const gchar *provider);
Creates a new GnomeDbProviderAuthEditor widget
|
the provider to be used |
Returns : |
gnome_db_provider_auth_editor_set_provider ()
void gnome_db_provider_auth_editor_set_provider
(GnomeDbProviderAuthEditor *auth,
const gchar *provider);
Updates the displayed fields in auth to represent the required
and possible arguments that a connection to a database through
provider would require
|
a GnomeDbProviderAuthEditor widget |
|
the provider to be used |
gnome_db_provider_auth_editor_is_valid ()
gboolean gnome_db_provider_auth_editor_is_valid (GnomeDbProviderAuthEditor *auth);
Tells if the current information displayed in auth reauthts the
provider's authifications (about non NULL values for example)
|
a GnomeDbProviderAuthEditor widget |
Returns : |
gnome_db_provider_auth_editor_get_auth ()
gchar* gnome_db_provider_auth_editor_get_auth (GnomeDbProviderAuthEditor *auth);
|
|
Returns : |
gnome_db_provider_auth_editor_set_auth ()
void gnome_db_provider_auth_editor_set_auth
(GnomeDbProviderAuthEditor *auth,
const gchar *auth_string);
|
|
|
Signal Details
The "changed" signal
void user_function (GnomeDbProviderAuthEditor *dbproviderautheditor, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
