We need to add some details about repeating keys to the keyboard events docs.

Inserting this todo item to later be replaced with something more specific.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2014-03-10 14:28:27 +00:00
parent 1ce59d2caa
commit 3d8c3577cb

View File

@ -172,6 +172,8 @@ currently has focus. This is not necessarily the same widget
that received the corresponding \p FL_KEYDOWN event
because focus may have changed between events.
\todo Add details on how to detect repeating keys, since on some X servers a repeating key will generate both FL_KEYUP and FL_KEYDOWN, such that to tell if a key is held, you need Fl::event_key(int) to detect if the key is being held down during FL_KEYUP or not.
\subsection events_fl_shortcut FL_SHORTCUT
If the Fl::focus() widget is zero or ignores an \p FL_KEYBOARD event