ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-tk
perl-tk
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved