From 5769ac62102b4e51407d0754ecb12175849828af Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Thu, 4 May 2017 22:24:01 +0000 Subject: Added Fl_Table docs for how to deselect. Issue raised by Mich Paw today on fltk.general. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12232 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Table.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Fl_Table.cxx b/src/Fl_Table.cxx index 918d40e7a..a51d8d058 100644 --- a/src/Fl_Table.cxx +++ b/src/Fl_Table.cxx @@ -1207,6 +1207,8 @@ void Fl_Table::get_selection(int& row_top, int& col_left, int& row_bot, int& col So for instance, set_selection(0,0,0,0) selects the top/left cell in the table. And set_selection(0,0,1,1) selects the four cells in rows 0 and 1, column 0 and 1. + To deselect all cells, use set_selection(-1,-1,-1,-1); + \param[in] row_top Top row of selection area \param[in] col_left Left column of selection area \param[in] row_bot Bottom row of selection area -- cgit v1.2.3