For Programmers: Free Programming Magazines  


Home > Archive > Tcl > March 2004 > drag and drop - how?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author drag and drop - how?
sb

2004-03-28, 10:35 pm

Is it possible to drag and drop at all in Tcl/Tk? (I have version 8.3
if it matters). Specifically, I want to have several listboxes, and I
want to drag items from one listbox to another. Is this possible? If
yes, how (I read the docs and it seems like it isn't possible).
Georgios Petasis

2004-03-28, 10:35 pm

Please see http://wiki.tcl.tk/571.
Of course the best bet is tkdnd :-)

George

"sb" <spam_bait101@yahoo.com> wrote in message
news:221dd125.0403272333.534dc31@posting.google.com...
> Is it possible to drag and drop at all in Tcl/Tk? (I have version 8.3
> if it matters). Specifically, I want to have several listboxes, and I
> want to drag items from one listbox to another. Is this possible? If
> yes, how (I read the docs and it seems like it isn't possible).



Bryan Oakley

2004-03-28, 10:35 pm

sb wrote:

> Is it possible to drag and drop at all in Tcl/Tk? (I have version 8.3
> if it matters). Specifically, I want to have several listboxes, and I
> want to drag items from one listbox to another. Is this possible? If
> yes, how (I read the docs and it seems like it isn't possible).


Read here for a complete example: http://wiki.tcl.tk/416 . The example
uses labels but it's simple to use canvases, listboxes or any other type
of widget.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com