diff options
| author | Greg Ercolano <erco@seriss.com> | 2017-05-04 22:24:01 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2017-05-04 22:24:01 +0000 |
| commit | 5769ac62102b4e51407d0754ecb12175849828af (patch) | |
| tree | ee328fec90d5c524086c73788289932ca5e3d485 /src | |
| parent | 139c5d9c2df9038f880dc9ec0fcfcfdcf38b158e (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Table.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
