Name
gimpui -- Common user interface functions. This header includes all other GIMP User
Interface Library headers.
Synopsis
void gimp_ui_init (const gchar *prog_name,
gboolean preview); |
Description
Common user interface functions. This header includes all other GIMP User
Interface Library headers.
Details
gimp_ui_init ()
void gimp_ui_init (const gchar *prog_name,
gboolean preview); |
This function initializes GTK+ with gtk_init(), instructs GDK not to
use X shared memory if The GIMP was invoked with the --no-xshm command
line option 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.
See Also
gtk_init(), gdk_set_use_xshm(), gdk_rgb_set_min_colors(),
gdk_rgb_set_install(), gdk_rgb_get_visual(), gdk_rgb_get_cmap(),
gtk_widget_set_default_visual(), gtk_widget_set_default_colormap(),
gtk_preview_set_gamma().