Skip to Main Content
Learning Perl/Tk
book

Learning Perl/Tk

by Nancy Walsh
January 1999
Beginner content levelBeginner
373 pages
9h 43m
English
O'Reilly Media, Inc.
Content preview from Learning Perl/Tk

10.8. Changing the Size of the Scale

You can change the size of the scale by using the -length and -width options. You can also change the size of the button displayed in the slider widget; to do so, use the -sliderlength option. It takes a value specified in screen units and will change the length of the slider button. See Figure 10.4.

$mw->Scale(-sliderlength => 100); # make the button 100 pixels.
Figure 10.4. Different -sliderlength values
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Perl/Tk

Mastering Perl/Tk

Stephen Lidie, Nancy Walsh

Publisher Resources

ISBN: 1565923146Supplemental ContentCatalog PageErrata