Re: example from Mastering Perl/Tk (correction)
by Ala Qumsieh other posts by this author
May 8 2003 9:46PM messages near this date
Re: example from Mastering Perl/Tk
|
Re: example from Mastering Perl/Tk (correction)
On Thu, 8 May 2003, Tim Harsch wrote:
> This whole MainWindow, frame, TopLevel thing confuses me. I'm still not
> solid on what the real differences between them are...
Think of them this way.
Frame is the base widget. It is just an empty window with no
decorations. Toplevel is a frame with window decorations that
makes it visible to your desktop manager[*]. MainWindow is just a special
instance of Toplevel; it's simply the first Toplevel in your program.
--Ala
[*] There are cases when this is not true, for example when you set
overrideredirect(1), and when using -use() and -container().
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server. If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majordomo@lists.stanford.edu
|