![]() | ![]() | ![]() | Libgnomedb Reference Manual | ![]() |
---|
InitializationInitialization — Library initialization and main loop |
void gnome_db_init (const gchar *app_id, const gchar *version, gint nargs, gchar *args[]); void gnome_db_main_run (GdaInitFunc init_func, gpointer user_data); void gnome_db_main_quit (void); GnomeDbDict* gnome_db_get_default_dict (void);
void gnome_db_init (const gchar *app_id, const gchar *version, gint nargs, gchar *args[]);
Initialization of the libgnomedb library
app_id : | |
version : | |
nargs : | |
args : |
void gnome_db_main_run (GdaInitFunc init_func, gpointer user_data);
Runs the GNOME-DB main loop, which is nothing more than the Bonobo UI main loop, but with internally added stuff specific for applications using libgda/libgnomedb.
You can specify a function to be called after everything has been correctly initialized (that is, for initializing your own stuff).
init_func : | function to be called when everything has been initialized |
user_data : | data to be passed to the init function |
GnomeDbDict* gnome_db_get_default_dict (void);
Get the default dictionnary.
Returns : | a not NULL pointer to the default GnomeDbDict dictionnary |
<< Basic features | Configuration >> |