#10 Dragging and dropping widgets

open
nobody
None
5
2003-02-28
2003-02-28
No

I am using Guido 0.51
I have a problem when trying to use the extra widgets
for example TK:Dialog.When I add these to the widget
box and try to drag and
drop them on to theform it does not work. An error
message comes up saying:

Tk::Error: can't use placer on top-level window
".dialog1"; use wm command instead at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/Tk/Widget.pm
line 1034.
at
/usr/local/src/guido/bin/../lib/Guido/SourceFile/TkWidget/Basic.pm
line 409 Tk callback for place
Tk::DropSite::Apply at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/Tk/DropS
ite.pm line 66 Tk::DropSite::Drop at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/Tk/DropSi
te.pm line 75 Tk::DragDrop::Drop at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/Tk/DragDr
op.pm line 285
(command bound to event)

My perl TK is quite basic so I am unsure about what to do.

Gana

Discussion