Gdk.Device.num_lock_state – gtk4 Reference Manual
num_lock_state
Description:
public
bool
num_lock_state
{
get
; }
Whether Num Lock is on.
This is only relevant for keyboard devices.
2022 vala-language.org