How to capture a single key user input in the UI panel of the add-on?
The UILayout documentation mentions an event
parameter in the prop
method. If this is set to True
, there appears a single key input control in the UI Panel. But I am unable to capture the key pressed on this control.
Would appreciate any help.