gnome-ui-init

Name

gnome-ui-init -- 

Synopsis



#define     LIBGNOMEUI_PARAM_CRASH_DIALOG
#define     LIBGNOMEUI_PARAM_DISPLAY
#define     LIBGNOMEUI_PARAM_DEFAULT_ICON
#define     LIBGNOMEUI_MODULE
const GnomeModuleInfo* libgnomeui_module_info_get
                                            (void);
#define     GNOME_GTK_MODULE
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);
#define     gnome_init                      (app_id,app_version,argc,argv)

Description

Details

LIBGNOMEUI_PARAM_CRASH_DIALOG

#define LIBGNOMEUI_PARAM_CRASH_DIALOG	"show-crash-dialog"


LIBGNOMEUI_PARAM_DISPLAY

#define LIBGNOMEUI_PARAM_DISPLAY	"display"


LIBGNOMEUI_PARAM_DEFAULT_ICON

#define LIBGNOMEUI_PARAM_DEFAULT_ICON	"default-icon"


LIBGNOMEUI_MODULE

#define LIBGNOMEUI_MODULE libgnomeui_module_info_get()


libgnomeui_module_info_get ()

const GnomeModuleInfo* libgnomeui_module_info_get
                                            (void);

Returns : 


GNOME_GTK_MODULE

#define GNOME_GTK_MODULE gnomeui_gtk_module_info_get()


gnome_gtk_module_info_get ()

const GnomeModuleInfo* gnome_gtk_module_info_get
                                            (void);

Returns : 


gnome_init_with_popt_table ()

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);

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

app_id : Application id.
app_version : Application version.
argc : argument count (for example argc as received by main)
argv : argument vector (for example argv as received by main)
options : poptOption table with options to parse
flags : popt flags.
return_ctx : if non-NULL, the popt context is returned here.
Returns : 


gnome_init()

#define     gnome_init(app_id,app_version,argc,argv)

app_id : 
app_version : 
argc : 
argv :