1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Perl Tk: MainWondow

Discussion in 'Perl' started by ungalnanban, Feb 25, 2010.

  1. ungalnanban

    ungalnanban New Member

    Joined:
    Feb 19, 2010
    Messages:
    45
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai
    Hi..

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

    Like packInfo();
     
    Last edited: Feb 25, 2010
  2. ungalnanban

    ungalnanban New Member

    Joined:
    Feb 19, 2010
    Messages:
    45
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai
    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.
     

Share This Page