GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TK::PIXMAP (3)

.ds Aq ’

NAME

Tk::Pixmap - Create color images from XPM files.

CONTENTS

SYNOPSIS

$widget-><B>PixmapB>?(name?,options?)?

DESCRIPTION

XPM is a popular X Window image file format for storing color icons. The <B>PixmapB> image type can be used to create color images using XPM files.

Pixmaps support the following options:
<B>-dataB> => 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 <B>B>pixmap<B>(1)B> program). If both the <B>-dataB> and <B>-fileB> options are specified, the <B>-dataB> 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 "<B>/* XPMB> */" or otherwise a segmatation fault will be caused.
<B>-fileB> => 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 <B>B>pixmap<B>(1)B> program).

IMAGE METHODS

When a pixmap image is created, Tk also creates a new object. This object supports the <B>configureB> and <B>cgetB> 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
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PIXMAP (3) 2013-11-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.