Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Maximise or minimise Perl/Tk Main Window

by Anonymous Monk
on Aug 06, 2007 at 17:31 UTC ( #630863=note: print w/replies, xml ) Need Help??


in reply to Maximise or minimise Perl/Tk Main Window

I found a better way simply: $mw->iconify; # Minimize $mw->deiconify; # Restore $mw->state('withdrawn'); # Hide $mw->state('normal'); # Show
  • Comment on Re: Maximise or minimise Perl/Tk Main Window

Replies are listed 'Best First'.
Re^2: Maximise or minimise Perl/Tk Main Window
by glenn (Scribe) on Nov 04, 2013 at 18:07 UTC
    States: must be normal, iconic, withdrawn, or zoomed.
    $mainwindow->state('zoomed'); #maximize

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://630863]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2022-05-25 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (90 votes). Check out past polls.

    Notices?