> I think you may have to post a minimal, compileable, example that
> manifests the bug, it is hard to tell from your description what is
> going on.
>
> That said, the FLU widget set aren't part of the core, so not many
> people (possibly nobody, now that Jason's not around here much anymore)
> know much about them, so if the problem is in there, it may be hard to
> resolve...
>
I found the solution for my problem, but don't really understand why it works.
From the following callback function for tree browser I deleted the case
FLU_WIDGET_CALLBACK and it works fine. But I don't see much difference in what
is happening.
void treeCallBack(Fl_Widget* o, void* v)
{
Flu_Tree_Browser *t = (Flu_Tree_Browser*)o;
int reason = t->callback_reason();
Flu_Tree_Browser::Node *n = t->callback_node();
BR_object* object = (BR_object*)n->user_data();
switch( reason )
{
case FLU_HILIGHTED:
printf( "%s hilighted\n", n->label() );
break;
case FLU_UNHILIGHTED:
printf( "%s unhilighted\n", n->label() );
break;
case FLU_SELECTED:
.....***...
/*case FLU_WIDGET_CALLBACK:
printf( "%s widget callback\n", n->label() );
break;*/
}
}
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk