![]() |
![]() |
![]() |
GNOME UI Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libgnomeui/libgnomeui.h> #define LIBGNOMEUI_MODULE #define LIBGNOMEUI_PARAM_CRASH_DIALOG #define LIBGNOMEUI_PARAM_DISPLAY #define LIBGNOMEUI_PARAM_DEFAULT_ICON int gnome_init_with_popt_table (const char *app_id
,const char *app_version
,int argc
,char **argv
,const struct poptOption *options
,int flags
,poptContext *return_ctx
); #define gnome_init (app_id, app_version, argc, argv) const GnomeModuleInfo * gnome_gtk_module_info_get (void
);
int gnome_init_with_popt_table (const char *app_id
,const char *app_version
,int argc
,char **argv
,const struct poptOption *options
,int flags
,poptContext *return_ctx
);
gnome_init_with_popt_table
is deprecated and should not be used in newly-written code.
Initializes the application. This sets up all of the GNOME internals and prepares them (imlib, gdk, session-management, triggers, sound, user preferences).
Unlike gnome_init, with gnome_init_with_popt_table you can provide a table of popt options (popt is the command line argument parsing library).
Deprecated, use gnome_program_init with the LIBGNOMEUI_MODULE.
|
Application id. |
|
Application version. |
|
argument count (for example argc as received by main) |
|
argument vector (for example argv as received by main) |
|
poptOption table with options to parse |
|
popt flags. |
|
if non-NULL, the popt context is returned here. |
Returns : |
0 (always) |
#define gnome_init(app_id,app_version,argc,argv)
gnome_init
is deprecated and should not be used in newly-written code.