Closed GoogleCodeExporter closed 9 years ago
Good idea. It would make a lot of code easier too. We should make sure that
every backend allows this. I know that Qt does.
I prefer 2 also, you can then do something like:
if vv.KEY_CONTROL in event.modifiers:
...
Original comment by almar.klein@gmail.com
on 16 Mar 2011 at 10:44
If there is a backend that doesn't support this, it could try to keep track of
the modifier state from the keydown and keyup signals. It wouldn't be any
worse than the current situation.
Original comment by rschr...@gmail.com
on 17 Mar 2011 at 2:45
Good point.
Original comment by almar.klein@gmail.com
on 17 Mar 2011 at 8:32
I've started work on this in the modifiers branch. It's working with GTK and
WX at the moment. I don't have Qt or FLTK installed, so it'd be easier if
someone else could get them working. I thought we should hold off on merging
until all are working.
Original comment by rschr...@gmail.com
on 18 Mar 2011 at 12:58
Implemented it for Qt and fltk. Wow, that was easy :)
Tested on some interactive apps of mine, and they still work (using the old
approach).
Original comment by almar.klein@gmail.com
on 21 Mar 2011 at 3:28
Original issue reported on code.google.com by
rschr...@gmail.com
on 16 Mar 2011 at 2:13