Hans George wrote:
> I think I`m able to create the contextmenu, but I`m quite not sure how to
> implement the editing ability.
> Do I have to change my item into an input-widget after the user chose the
> "rename"-entry? Or is there an easier solution to make the label of my item
> editable?
Just pop a dialog window prompting for the new label..? e.g.
http://fltk.org/doc-2.0/html/fl_input.gif
Or yes, you could probably customize your widget so that
when the user is to change the label, you hide() the label
and replace it with Input, and then transitions back when
the user hits Enter (or maybe even moves the mouse out of
the widget).
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk