mirror of
https://github.com/fltk/fltk.git
synced 2026-05-22 15:22:34 +08:00
Strengthened doxygen docs for set_item_focus().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7722 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+4
-2
@@ -304,8 +304,10 @@ Fl_Tree_Item *Fl_Tree::next_visible_item(Fl_Tree_Item *item, int dir) {
|
||||
}
|
||||
}
|
||||
|
||||
/// Set the item currently in focus. Handles calling redraw()
|
||||
/// as needed to update the focus box.
|
||||
/// Set the item that currently should have keyboard focus.
|
||||
/// Handles calling redraw() to update the focus box (if its visible).
|
||||
///
|
||||
/// \param[in] item The item that should take focus. If NULL, none will have focus.
|
||||
///
|
||||
void Fl_Tree::set_item_focus(Fl_Tree_Item *item) {
|
||||
if ( _item_focus != item ) { // changed?
|
||||
|
||||
Reference in New Issue
Block a user