Pixmap(3pm) User Contributed Perl Documentation Pixmap(3pm)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.
SEE ALSO
Tk::Image
KEYWORDS
pixmap, image, tix
perl v5.14.2 2010-05-29 Pixmap(3pm)
Check Out this Related Man Page
Pixmap(3) 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.
SEE ALSO
Tk::Image
KEYWORDS
pixmap, image, tix
perl v5.16.3 2014-06-10 Pixmap(3)
Hi!
I´ve an application that runs in a Digital Tru64, exporting display to a Linux host.
That application blinks a icon (in XPM mode) when the severity mode changes.
When I put a backdrop(XPM, too) in that screen, the icons blink slowly. When I remove it, they turn to blink quickly.
I have... (3 Replies)
Hello. I need to draw many lines with multicolor (color is set by some pixmap (xpm)) on C++ with standart libs.
Horizontal lines are drawing succsessfully with GC and XSetTile. But non-horizontal - no good.
I rotate pixmap for all lines and then XSetTile for each line with own pixmap, but it's... (1 Reply)