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 11:32PM messages near this date
Re: example from Mastering Perl/Tk (correction) | RE: example from Mastering Perl/Tk (correction)
On Thu, 8 May 2003, Tim Harsch wrote:

>  That would explain why my debugger shows the results of $mw->toplevel(), as
>  being a blessed reference to Tk::MainWindow (instead of perhaps a
>  Tk::Toplevel ).
> 
>  But, you can have multiple MainWindow(s) per script, so MainWindow must be
>  more than just the first TopLevel in my program...

True. The only difference that I am aware of between MainWindow and
Toplevel is that MainWindow has no parent, and thus:

	$mw-> parent

returns undef. Of course, this is all documented in MainWindow.pod.

--Ala


-++**==--++**==--++**==--++**==--++**==--++**==--++**==
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
Thread:
Tim Harsch
Ala Qumsieh

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