>> >> The main kicker with this now is that as the drag happens, the drag >> displays a tooltip with the contents of the drag displayed - but what >> I am dragging is a long text string full of cryptic information used >> to define the dragged entities, and it just looks very odd. >> >> I'm guess that my end users will not like that - is there any way to >> suppress that behaviour and not display the text content during the >> drag? > > Excellent. > I was so proud of showing graphically the dragged text! > I guess we could show this only when the dragging source is > an Fl_Input_, but Cocoa needs absolutely an image to display > during drag. What image do you suggest for "generic" drag operations ?
We could add an optional argument to Fl::dnd() that can point to any Fl_Image. If it is some magic value, FLTK will take a snapshot of the text and drag that (Fl_Input). If it is NULL, it'll simply drag some box, like it does in Carbon. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
