|  |  |  | GIMP Library Reference Manual |  | 
|---|---|---|---|---|
| gimpuigimpui — Common user interface functions. This header includes all other GIMP User Interface Library headers. | 
void gimp_ui_init (const gchar *prog_name, gboolean preview);
Common user interface functions. This header includes all other GIMP User Interface Library headers.
void        gimp_ui_init                    (const gchar *prog_name,
                                             gboolean preview);
This function initializes GTK+ with gtk_init() and initializes GDK's
image rendering subsystem (GdkRGB) to follow the GIMP main program's
colormap allocation/installation policy.
The GIMP's colormap policy can be determinded by the user with the
gimprc variables min_colors and install_cmap.
| prog_name: | The name of the plug-in which will be passed as argv[0] to gtk_init(). It's a convention to use the name of the
            executable and _not_ the PDB procedure name or something. | 
| preview: | This parameter is unused and exists for historical reasons only. |