get_active_layout_index
Description:
Retrieves the index of the active layout of the keyboard.
If there is no valid active layout for the `GdkDevice`, this function will return -1;
This is only relevant for keyboard devices.
Parameters:
this |
a `GdkDevice` |
Returns:
The layout index of the active layout or -1. |