GNOME-DB API reference | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
void gnome_db_init (const |
void gnome_db_init (const |
Initialize the GNOME-DB environment for client UI applications. This includes everything your application needs about GTK/GNOME/Bonobo, so you must avoid calling any of gtk_init, gnome_init*, or bonobo_init when using this function.
void gnome_db_main ( |
This function runs the GNOME-DB application making the call, thus entering in the event loop needed for GNOME-DB applications to interact with users. You can pass a pointer to a function to be called for creating the initial UI of your application. That function should have the form:
guint ui_create_func (void)
it should return 0 if all went ok, and any other value if there was any error. This is very important: if you return a non-zero value, the function will be called repeatedly until you do so.