Top |
void
gdaui_init (void
);
Initialization of the libgda-ui library, must be called before any usage of the library.
Note 1: gtk_init()
is not called by this function and should also
be called (see Note 2 about the importance of the calling order)
Note 2: unless you call setlocale()
first in your program, calling gtk_init()
before gdaui_init()
will ensure that all information loaded from config files will
be loaded in the correct locale (as gtk_init()
calls setlocale()
).
Note 3: this funtion also calls gda_init()
so it should not be called
again
Since: 4.2
const gchar *
gdaui_get_default_path (void
);
Get the default path used when saving a file, or when showing a GtkFileChooser file chooser.
When the application starts, the default path will be the same as the onde returned by
g_get_current_dir()
.
Since: 4.2.9
void
gdaui_set_default_path (const gchar *path
);
Define the default path used when saving a file, or when showing a GtkFileChooser file chooser.
Since: 4.2.9