Tk::Pixmap - Create color images from XPM files.
$widget->Pixmap?(name?,options?)?
User Contributed Perl Documentation Pixmap(3) NAME Tk::Pixmap - Create color images from XPM files. SYNOPSIS $widget->Pixmap?(name?,options?)? DESCRIPTION XPM is a popular X Window image file format for storing color icons. The Pixmap image type can be used to create color images using XPM files. Pixmaps support the following options: -data => string Specifies the contents of the source pixmap as a string. The string must adhere to the XPM file format (e.g., as generated by the pixmap(1) program). If both the -data and -file options are specified, the -data option takes precedence. Please note that the XPM file parsing code in the xpm library is somewhat fragile. The first line of the string must be "/* XPM */" or otherwise a segmatation fault will be caused. -file => name name gives the name of a file whose contents define the source pixmap. The file must adhere to the XPM file format (e.g., as generated by the pixmap(1) program). IMAGE METHODS When a pixmap image is created, Tk also creates a new object. This object supports the configure and cget methods described in Tk::options which can be used to enquire and modify the options described above. ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+----------------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+----------------------------+ |Availability | library/perl-5/perl-tk-532 | +---------------+----------------------------+ |Stability | Volatile | +---------------+----------------------------+ SEE ALSO Tk::Image KEYWORDS pixmap, image, tix NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-804.036.tar.gz. Further information about this software can be found on the open source community website at http://search.cpan.org/~srezic/Tk. perl v5.32.0 2013-11-15 Pixmap(3)