diff options
| author | Matthias Melcher <git@matthiasm.com> | 2021-12-17 19:37:34 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2021-12-17 19:48:59 +0100 |
| commit | 6d9df0763fcb5a60e229ce270352d57da2d88abb (patch) | |
| tree | 640d3ea1c215b66fb997804f65b106e4c7959023 /test | |
| parent | 55e5c74e9e6a31bc6b75b479546ff4e84b1c935a (diff) | |
GitHub #327: menu buttons will no longer grab arrow keys.
In Fluid, selecting a menu button, and selecting it again to make it
movable would also grab the text input focus, which would prevent
the enclosing window from using arrow key events to manipulate
the selected widget.
Diffstat (limited to 'test')
| -rw-r--r-- | test/preferences.fl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/preferences.fl b/test/preferences.fl index bdf46d0f8..b28e0c0ab 100644 --- a/test/preferences.fl +++ b/test/preferences.fl @@ -45,7 +45,7 @@ Function {} {open return_type int Fl_Window myWindow { label {My Preferences} callback closeWindowCB open - xywh {408 202 298 311} type Double hide + xywh {586 277 298 311} type Double visible } { Fl_Button {} { label Cancel @@ -62,7 +62,7 @@ Function {} {open return_type int xywh {20 30 115 225} box ENGRAVED_FRAME align 5 } { Fl_Input wAlarm { - label {Alarm at:} + label {Alarm at:} selected xywh {25 55 45 20} align 5 } Fl_Choice wAmPm {open @@ -268,8 +268,7 @@ Fl_Preferences app( Fl_Preferences::USER, project, application ); eat.get( "binFoo", (void*)&hex, 0, 0, sizeof( unsigned int ) ); void *data; eat.get( "binFoo2", data, 0, 0 ); - **/} {selected - } + **/} {} } Function {writePrefs()} {open return_type void |
