Add focus and keyboard control to native/qt spinbox

This commit is contained in:
Lukas Jung 2022-03-02 10:28:42 +01:00 committed by Lukas Jung
parent 103b069dde
commit c15b0e1486
4 changed files with 54 additions and 9 deletions

View file

@ -459,9 +459,12 @@ export NativeSpinBox := _ {
property <length> width;
property <length> height;
property <bool> enabled: true;
property <bool> has-focus: native_output;
property <int> value: native_output;
property <int> minimum;
property <int> maximum: 100;
callback key_pressed(KeyEvent) -> EventResult;
callback key_released(KeyEvent) -> EventResult;
//-is_internal
}