GObject.flags_get_first_value
Description: Reference for GObject.flags_get_first_value

### Function

# GObjectflags_get_first_value

since: 2.0

#### Declaration

    GFlagsValue*
    g_flags_get_first_value (
      GFlagsClass* flags_class,
      guint value
    )

#### Description

Returns the first `GFlagsValue` which is set in `value`.

Available since: 2.0

#### Parameters

`flags_class`

  Type: `GFlagsClass`

  A `GFlagsClass`.

  The data is owned by the caller of the function.

`value`

  Type: `guint`

  The value.

#### Return value

Type: `GFlagsValue`

The first `GFlagsValue` which is set in `value`, or `NULL` if none is set.

The data is owned by the called function.
The return value can be `NULL`.