Browse Source

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
pull/49/head
Greg Ercolano 11 years ago
parent
commit
3d8c3577cb
  1. 2
      documentation/src/events.dox

2
documentation/src/events.dox

@ -172,6 +172,8 @@ currently has focus. This is not necessarily the same widget @@ -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

Loading…
Cancel
Save