St.Widget.set_keynav_flags

### Method

# St Widgetset_keynav_flags

#### Declaration [src]

    void
    st_widget_set_keynav_flags (
      StWidget* widget,
      StKeynavFlags flags
    )

#### Description [src]

Gets the `StKeynavFlags` that this widget will use as the root of a `StFocusManager` group. These flags affect the behavior of keyboard navigation.

Sets property | `St.Widget:keynav-flags`

#### Parameters

`flags`

  Type: `StKeynavFlags`

  The keynav flags.