Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: preventing my MainWindow from resizing

by Rich36 (Chaplain)
on Aug 09, 2002 at 16:31 UTC ( #188964=note: print w/replies, xml ) Need Help??


in reply to preventing my MainWindow from resizing

In using the "resizable" method, the first value is the x value, the second the y. So you can control whether or not the user can resize horizontally, vertically, or both.

my $mw = MainWindow->new(-title => "No Resize"); $mw->resizable(0,0);

If you haven't already, I would highly suggest Mastering Perl/Tk- it's a very informative book and a great reference when build Perl/Tk apps. That's where I got that info from.


«Rich36»

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2021-04-12 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?