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

Book HomeMastering Perl/TkSearch this book

17.12. Miscellaneous Image Methods

Here is a list of miscellaneous image methods:

$widget->Getimage(image_name)
Scans the images used by the MainWindow for an image, and @INC if the image is not already loaded, with the specified name and returns the Perl/Tk image reference. Search order is XPM, GIF, PPM, BMP, XBM. If an image is not located, the search continues with the built-in image names.

$widget->imageNames
Returns a list of image names used by the MainWindow. Currently, these names are the actual image references. (Not available as an image method.)

$widget->imageTypes
Returns a list of the image types currently used by the MainWindow, not the available image types. An image type appears in this list only if at least one instance has been created. (Not available as an image method.)



Library Navigation Links

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











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