Slick Dealer wrote:
> Guys,
> I'm a fltk/c newbie, so I'll really appreciate any suggestions of improvement 
> with the handle() function.
> I am trying to add keyboard up/down navigation to my simple Tree.

        Your code works for me.

        What it doesn't do is skip over items properly when parent
        items are closed. I have an offline version of Fl_Tree that
        does this, but haven't submitted it cause it breaks keynav
        for child FLTK widgets, which is where I got hung up.

        I think you can comment out the two #define's at the top of the code;
        those are already defined in Enumerations.H that gets included already.
        When I comment those out, your code builds OK.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to