[Fxruby-users] FXTreeList as DND source
Status: Inactive
Brought to you by:
lyle
From: Dalibor S. <da...@in...> - 2003-10-03 16:42:31
|
On Fri, Oct 03, 2003 at 10:54:45AM -0500, Lyle Johnson wrote: > Yes, it is definitely possible to use a tree list (or most any other > widget) as a drag source for DND-aware applications. I apologize that > the DnD tutorial in the FXRuby User's Guide really only scratches the > surface of how to integrate DnD into applications, etc. -- this is a > known shortcoming. Thank you. I am looking forward to try your code. I think I will just copy it verbatim to my app ;-) May I have one more wish? Could you put down a short example of accessing either clipboard or the primary selection from a widget that does not have this capability by default. When I had no success with the DND I tried to put the data from FXTreeList to the clipboard. I looked at the FXText.cpp file for inspiration. However it seemed to me that FXTreeList could not acquire neither clipboard nor primary selection. I believe the mechanism is very similar to DND. Am I right? Thanks in advance Dalibor Sramek -- Dalibor Sramek http://www.insula.cz/dali | In the eyes of cats, dal...@in... | all things belong to cats. |