Type Definition xkbcommon::xkb::LayoutIndex[][src]

type LayoutIndex = u32;

Index of a keyboard layout.

The layout index is a state component which detemines which keyboard layout active. These may be different alphabets, different key arrangements, etc.

Layout indices are consecutive. The first layout has index 0.

Each layout is not required to have a name, and the names are not guaranteed to be unique (though they are usually provided and unique). Therefore, it is not safe to use the name as a unique identifier for a layout. Layout names are case-sensitive.

Layouts are also called “groups” by XKB.