diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Tree.H | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H index 3768ab8e2..df3897080 100644 --- a/FL/Fl_Tree.H +++ b/FL/Fl_Tree.H @@ -63,6 +63,11 @@ /// The tree items may also contain other FLTK widgets, like buttons, input fields, /// or even "custom" widgets. /// +/// The callback() is invoked depending on the value of when(): +/// +/// - FL_WHEN_RELEASE -- callback invoked when left mouse button is released on an item +/// - FL_WHEN_CHANGED -- callback invoked when left mouse changes selection state +/// /// The simple way to define a tree: /// \code /// #include <FL/Fl_Tree.H> @@ -101,6 +106,8 @@ /// /// \image html tree-elements.png /// +/// \todo Needs handling of callbacks when items are procedurally select()ed +/// class Fl_Tree : public Fl_Group { Fl_Tree_Item *_root; // can be null! |
