## gimpenums

gimpenums

## Functions

void | gimp_enums_init ()
const gchar ** | gimp_enums_get_type_names ()

## Types and Values

enum | GimpBrushApplicationMode
enum | GimpConvertDitherType
enum | GimpHistogramChannel
enum | GimpLayerModeEffects

## Description

## Functions

### gimp_enums_init ()

    void
    gimp_enums_init (void);

This function makes sure all the enum types are registered with the GType system. This is intended for use by language bindings that need the symbols early, before gimp_main is run. It's not necessary for plug-ins to call this directly, because the normal plug-in initialization code will handle it implicitly.

Since: 2.4

### gimp_enums_get_type_names ()

    const gchar **
    gimp_enums_get_type_names (gint *n_type_names);

This function gives access to the list of enums registered by libgimp. The returned array is static and must not be modified.

#### Parameters

n_type_names | return location for the number of names |

#### Returns

an array with type names

Since: 2.2

## Types and Values

### enum GimpBrushApplicationMode

#### Members

GIMP_BRUSH_HARD |  |
GIMP_BRUSH_SOFT |  |

### enum GimpConvertDitherType

#### Members

GIMP_NO_DITHER |  |
GIMP_FS_DITHER |  |
GIMP_FSLOWBLEED_DITHER |  |
GIMP_FIXED_DITHER |  |

### enum GimpHistogramChannel

#### Members

GIMP_HISTOGRAM_VALUE |  |
GIMP_HISTOGRAM_RED |  |
GIMP_HISTOGRAM_GREEN |  |
GIMP_HISTOGRAM_BLUE |  |
GIMP_HISTOGRAM_ALPHA |  |
GIMP_HISTOGRAM_LUMINANCE |  |

### enum GimpLayerModeEffects

#### Members

GIMP_NORMAL_MODE |  |
GIMP_DISSOLVE_MODE |  |
GIMP_BEHIND_MODE |  |
GIMP_MULTIPLY_MODE |  |
GIMP_SCREEN_MODE |  |
GIMP_OVERLAY_MODE |  |
GIMP_DIFFERENCE_MODE |  |
GIMP_ADDITION_MODE |  |
GIMP_SUBTRACT_MODE |  |
GIMP_DARKEN_ONLY_MODE |  |
GIMP_LIGHTEN_ONLY_MODE |  |
GIMP_HUE_MODE |  |
GIMP_SATURATION_MODE |  |
GIMP_COLOR_MODE |  |
GIMP_VALUE_MODE |  |
GIMP_DIVIDE_MODE |  |
GIMP_DODGE_MODE |  |
GIMP_BURN_MODE |  |
GIMP_HARDLIGHT_MODE |  |
GIMP_SOFTLIGHT_MODE |  |
GIMP_GRAIN_EXTRACT_MODE |  |
GIMP_GRAIN_MERGE_MODE |  |
GIMP_COLOR_ERASE_MODE |  |
GIMP_NEW_OVERLAY_MODE |  |
GIMP_LCH_HUE_MODE |  |
GIMP_LCH_CHROMA_MODE |  |
GIMP_LCH_COLOR_MODE |  |
GIMP_LCH_LIGHTNESS_MODE |  |