Is it possible to set_accels_for_action using "physical" key

Using gtk_application_set_accels_for_action, is it possible to define a “physical” key, equivalent of KeyboardEvent.code in the html/js world ?

What I mean is this what is mentioned in the following paragraph of this : KeyboardEvent: code property - Web APIs | MDN

The KeyboardEvent.code property represents a physical key on the keyboard
(as opposed to the character generated by pressing the key). In other words,
this property returns a value that isn’t altered by keyboard layout or the state
of the modifier keys.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.