Skip to content

Commit

Permalink
Strengthened doxygen docs for set_item_focus().
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7722 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
erco77 committed Oct 12, 2010
1 parent 430bbb9 commit 0d6987a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Fl_Tree.cxx
Expand Up @@ -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?
Expand Down

0 comments on commit 0d6987a

Please sign in to comment.