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.)
| | | 17.11. Tile and Transparent Images | | 17.13. Simple Photo Rotations |
Copyright © 2002 O'Reilly & Associates. All rights reserved.
|
|