|
|
Thanks !
Your hint to "find_clicked" made my day !
Best regards Håvard
fredag 26. februar 2021 kl. 15:26:17 UTC+1 skrev lifeatt...@gmail.com:
>item is however not pointing to the item which I clicked.
I'm just looking at the FL_Tree handle() code. To find the active item, it calls:
Fl_Tree_Item *item = _root->find_clicked(_prefs, 0);
_root and _prefs look like they won't be accessible so you'll need to use the accessor methods.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/a0e34373-1e1c-4016-aeb3-3a471aa72e13n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |