## Init

Init — Initialisation of applications

## Synopsis

    gboolean    gpe_application_init            (int *argc,
                                                 char **argv[]);
    void        gpe_saved_args                  (gint *argc,
                                                 gchar **argv[]);

## Description

Functions used for application initialisation.

## Details

### gpe_application_init ()

    gboolean    gpe_application_init            (int *argc,
                                                 char **argv[]);

Initialise a GPE application. This function is called on startup of a GPE application. It replaces `gtk_init()` which is used in normal GTK applications.

`argc` : | argument count passed to `main()`
`argv` : | argument array passed to `main()`
Returns : | TRUE on success, FALSE on failure

### gpe_saved_args ()

    void        gpe_saved_args                  (gint *argc,
                                                 gchar **argv[]);

Returns the arguments passed to `gpe_application_init()`. The returned values are pointers to the data stored by `gpe_application_init()`, don't modify them if you don't exactly know what are you doing.

`argc` : | Filled with number of arguments in argv.
`argv` : | Argument vector.

## See Also

Used by: Any GPE application.