[fltk.general] Fl_Tree callback

2012-02-20 Thread Geoffrey Mellar
Hello, i want a Fl_tree widget to call the callback function only if there is a double click. Because there is no FL_WHEN_DOUBLE_CLICK or something else I decided to use wid_waypoint_list.when(FL_WHEN_NEVER). With this option enabled, a callback should never happen. There is a handle function

Re: [fltk.general] Fl_Tree callback

2012-02-20 Thread Greg Ercolano
On 02/20/12 04:09, Geoffrey Mellar wrote: Hello, i want a Fl_tree widget to call the callback function only if there is a double click. Yes, there should really be an example that shows how to do this. If there was, this bug probably would have been caught. Because