| Libgnomedb 4.0 Reference Manual |
|---|
GnomeDbProviderAuthEditor — Widget to display and edit authentication information associated to a database provider
struct GnomeDbProviderAuthEditor; struct GnomeDbProviderAuthEditorClass; struct 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);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GnomeDbProviderAuthEditor
GnomeDbProviderAuthEditor implements AtkImplementorIface, GtkBuildable and GtkOrientable.
"provider" gchararray : Read / Write
"changed" void user_function (GnomeDbProviderAuthEditor *dbproviderautheditor, gpointer user_data);
struct GnomeDbProviderAuthEditorClass {
GtkVBoxClass parent_class;
/* signals */
void (* changed) (GnomeDbProviderAuthEditor *auth);
};
GtkWidget* gnome_db_provider_auth_editor_new (const gchar *provider);
Creates a new GnomeDbProviderAuthEditor widget
| provider : | the provider to be used |
| Returns : |
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
| auth : | a GnomeDbProviderAuthEditor widget |
| provider : | the provider to be used |
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)
| auth : | a GnomeDbProviderAuthEditor widget |
| Returns : |
gchar* gnome_db_provider_auth_editor_get_auth (GnomeDbProviderAuthEditor *auth);
| auth : | |
| Returns : |
void gnome_db_provider_auth_editor_set_auth
(GnomeDbProviderAuthEditor *auth,
const gchar *auth_string);
| auth : | |
| auth_string : |
| "provider" (gchararray : Read / Write) |
void user_function (GnomeDbProviderAuthEditor *dbproviderautheditor, gpointer user_data);
| dbproviderautheditor : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
| << GnomeDbProviderSelector | GnomeDbProviderSpecEditor >> |