Positioning a widget

"Henry Merryweather" <[email protected]>
Newsgroups gmane.comp.lang.perl.tk
Message-ID <001d01c5cda6$b00fd520$0300a8c0@eveshampc>
I want to place a widget at a particular position on the screen.  Using
Mastering Perl Tk I used iconposition as below (although the text sort
of hinted, with its reference to X Windows, that it was for UNIX only).
I am using Perl/Tk on Windows XP.
 
            $toplevel{$basic_gui}->iconposition(10,10);
            $toplevel{$basic_gui}->stayOnTop();
 
However, it did not seem to have any effect (the widget is a dialog
box).
 
Should this have worked?  If not is there a way of forcing a widget to
be at a particular position?
 
Best regards
 
Henry Merryweather
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.