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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice