![]() |
![]() |
![]() |
GNOME Data Access 3.0 manual | ![]() |
---|---|---|---|---|
void gda_init (const gchar *app_id, const gchar *version, gint nargs, gchar *args[]); GdaDict* gda_get_default_dict (void); void gda_main_run (GdaInitFunc init_func, gpointer user_data); void gda_main_quit (void);
void gda_init (const gchar *app_id, const gchar *version, gint nargs, gchar *args[]);
Initializes the GDA library.
|
name of the program. |
|
revision number of the program. |
|
number of arguments, usually argc from main() .
|
|
list of arguments, usually argv from main() .
|
GdaDict* gda_get_default_dict (void);
Get the default dictionary.
Returns : |
a not NULL pointer to the default GdaDict dictionary
|
void gda_main_run (GdaInitFunc init_func, gpointer user_data);
Runs the GDA main loop, which is nothing more than the glib main loop, but with internally added stuff specific for applications using libgda.
You can specify a function to be called after everything has been correctly initialized (that is, for initializing your own stuff).
|
function to be called when everything has been initialized. |
|
data to be passed to the init function. |