diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2008-09-28 22:25:23 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2008-09-28 22:25:23 +0000 |
| commit | acbb5af54bcbdcb2dc561954395cfa25f09fcb5c (patch) | |
| tree | 49bb2ae1547ead0d05475d8ac614f8d8bef2e632 /src/Fl.cxx | |
| parent | ffad932289d17877a506a51c5f2f32c743d747d8 (diff) | |
doxygen docs for some missing Fl_Group methods, updated Fl::focus().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index a77a653c0..12fece49d 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -712,14 +712,16 @@ static int send_handlers(int e) { Fl_Widget* fl_oldfocus; // kludge for Fl_Group... /** - Get or set the widget that will receive FL_KEYBOARD events. + Sets the widget that will receive FL_KEYBOARD events. - <P>If you change Fl::focus(), the previous widget and all + If you change Fl::focus(), the previous widget and all parents (that don't contain the new widget) are sent FL_UNFOCUS - events. Changing the focus does <I>not</I> send FL_FOCUS to - this or any widget, because sending FL_FOCUS is supposed to <I> - test</I> if the widget wants the focus (by it returning non-zero from + events. Changing the focus does \e not send FL_FOCUS to + this or any widget, because sending FL_FOCUS is supposed to + \e test if the widget wants the focus (by it returning non-zero from handle()). + + \sa Fl_Widget::take_focus() */ void Fl::focus(Fl_Widget *o) { if (o && !o->visible_focus()) return; |
