home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Book HomeMastering Perl/TkSearch this book

10.13. Determining Coordinates

The coords method returns a list containing x and y coordinates:

($x, $y) = $scale->coords( );

The coordinates indicate the position in which the current value is located in the Scale. You can also pass in a value to locate:

($x, $y) = $scale->coords(value);


Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.











??????????????@Mail.ru