The New PerlTk.org - Making your Perl/Tk app look better
www.mamboteam.com
The New PerlTk.org  
Home
Thursday, 24 July 2014
 
 
Main Menu
Home
Perl/Tk Widgets
Articles
Scripts
Useful Tips
Links
Contact Us
Search
FAQs
Login Form
Username

Password

Remember me
Forgotten your password?
No account yet? Create one
Making your Perl/Tk app look better PDF Print E-mail
Written by Ala Qumsieh   
The default look of Perl/Tk on *nix systems isn't very pretty. I find that single-pixel borders look much better than the default 2-pixel borders. To achieve this, simply add the following line:
$MW->optionAdd('*BorderWidth' => 1);
right after you create your MainWindow. The optionAdd() method can be extremely useful to alter the look of your app very easily. Read more about it here:
perldoc Tk::option
Write Comment (1 Comments)
Next >
 
Top! Top!