## GimpEnumLabel GimpEnumLabel — A GtkLabel subclass that displays an enum value. |

## Synopsis

                        GimpEnumLabel;
    GtkWidget *         gimp_enum_label_new                 (GType enum_type,
                                                             gint value);
    void                gimp_enum_label_set_value           (GimpEnumLabel *label,
                                                             gint value);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkMisc
                               +----GtkLabel
                                     +----GimpEnumLabel

## Implemented Interfaces

GimpEnumLabel implements AtkImplementorIface and GtkBuildable.

## Properties

      "enum-type"                GType*                : Read / Write / Construct Only
      "enum-value"               gint                  : Write / Construct

## Description

A GtkLabel subclass that displays an enum value.

## Details

### GimpEnumLabel

    typedef struct _GimpEnumLabel GimpEnumLabel;

### gimp_enum_label_new ()

    GtkWidget *         gimp_enum_label_new                 (GType enum_type,
                                                             gint value);

`enum_type` : | the GType of an enum.
Returns : | a new GimpEnumLabel.

Since GIMP 2.4

### gimp_enum_label_set_value ()

    void                gimp_enum_label_set_value           (GimpEnumLabel *label,
                                                             gint value);

`label` : | a GimpEnumLabel

Since GIMP 2.4

## Property Details

### The `"enum-type"` property

      "enum-type"                GType*                : Read / Write / Construct Only

The GType of the enum.

Allowed values: void

Since GIMP 2.8

### The `"enum-value"` property

      "enum-value"               gint                  : Write / Construct

The value to display.

Default value: 0

Since GIMP 2.8