Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Perl (http://www.go4expert.com/forums/perl/)
-   -   Perl Tk: MainWondow (http://www.go4expert.com/forums/perl-tk-mainwondow-t21104/)

ungalnanban 25Feb2010 15:38

Perl Tk: MainWondow
 
Hi..

In Perl Tk
How can I get the MainWindow information as a hash or array ?

Like packInfo();

ungalnanban 27Feb2010 10:08

Re: Perl Tk: MainWondow
 
I got It..

This is the Way..

Code:

  my $title = $mw->title;
  my $width = $mw->width;
  my $height =  $mw->height;

Note $mw is object of MainWindow.

Thanks.


All times are GMT +5.5. The time now is 03:48.