Alvin wrote: > Thanks for the confirmation. I will update my code to use add_idle(). > Right now I'm in the process of finshing two simply examples. (1) Loading > an image into a Fl_Box by using DND from a file browser. When the user > "drops" the file only the widget, a prompt will appear asking for > confirmation. (2) Moving widgets around in a Fl_Double_Window and dropping > them into and removing them from Fl_Groups. I coding is pretty much done, > but right now I'm trying to simplify them as much as possible. The 2nd > example doesn't really use DND, so I may omit that one.
I've completed the first HOW-TO and is available on the main fltk webpage. The direct link to the article is: http://www.fltk.org/articles.php?L770 I plan on writing two more HOW-TOs on this topic. The second would be Sending/Initiating DND (perhaps sending file path(s) to a file browser where the file browser would either copy or move the file). The third how-to I am think of is "Runtime Widget Adoption" (title is a work in progress :) ). I have a small demo that shows how one can drag a widget and it becomes a child of a Fl_Scroll. I am thinking this would be usefull mostly for dragging elements in an app from one Fl_Group (and its derivatives) to another. Perhaps even moving rows from Greg's Fl_Table_Row from one table to another? I welcome any comments or suggestions. Thanks for your help on this! -- Alvin _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

