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
|